]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
(Rob Bearman) invoke CopyFile correctly.
[lyx.git] / src / ChangeLog
1 2005-05-07  André Pönitz  <poenitz@gmx.net>
2
3         * cursor.[Ch] (leaveInset): new function
4
5 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6
7         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
8
9 2005-05-04  Angus Leeming  <leeming@lyx.org>
10
11         * lyxfunc.C (getStatus): disable the spell checker dialog if
12         none of USE_[AIP]SPELL are defined.
13
14 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
15
16         * tabular.C (setWidthOfCell): remove obsolete comment
17
18 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
19
20         * paragraph.C (bibitem):
21         * buffer_funcs.C (setCounter):
22         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
23
24 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
25
26         * text3.C (getStatus): immediately return after setOnOff        
27
28         * rowpainter.C: fix drawing of appendix start
29
30 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
31
32         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
33         SwitchBetweenClasses and remove the unused return value.
34         Handle character styles, too
35
36 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
37
38         * factory.C (createInset): handle undefined character styles
39
40 2005-05-02  Angus Leeming  <leeming@lyx.org>
41
42         * buffer.C: protect the #include of utime.h with a preprocessor
43         guard.
44
45 2005-05-02  Angus Leeming  <leeming@lyx.org>
46
47         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
48         function so that suto-saving works, albeit in a blocking manner.
49
50         * Makefile.am: make compilation of the client sub directory, of
51         apsellC, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
52         on conditionals set at configure time.
53
54         * SpellBase.[Ch]: no longer an abstract base class. Instead,
55         it can be compiled in its own right but has no-op functionality.
56
57         * aspell.C, pspell.C: remove preprocessor guards. The files should
58         be compiled only if the necessary functionality exists.
59
60         * lyxserver.C, lyxsocket.C: disable on Windows.
61
62 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
63
64         * text.C (leftMargin): Fix the parindent use bug (1764)
65         by dirty trick
66
67 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
68
69         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
70         argument.
71
72 2005-04-25  Angus Leeming  <leeming@lyx.org>
73
74         * Bidi.[Ch]:
75         * coordcache.[Ch]:
76         * ispell.C:
77         * lyxserver.C:
78         * mover.C:
79         * pch.h:
80         include <config.h> in .C files, not .h ones.
81         add licence blurb.
82         protect headers inside preprocessor guards.
83
84 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
85
86         * FuncStatus.h (StatusCodes): document
87
88 2005-04-21  André Pönitz  <poenitz@gmx.net>
89
90         * FuncStatus.h (enabled, onoff): document
91
92 2005-04-19  Angus Leeming  <leeming@lyx.org>
93
94         * BufferView_pimpl.C (cursorToggle): no longer test whether
95         any child processes have been reaped before calling
96         handleCompletedProcesses().
97
98 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
99
100         * text3.C (dispatch): fix, finally fix, the language problem in
101         new lyxtexts, without disabling on-the-fly font changes (Helge's
102         bug report)
103
104 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
105
106         * text3.C (dispatch): set cursor on double/triple click events
107         (bug 1811)
108
109 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
110
111         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
112         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
113
114         * rowpainter.C (paintFirst): simplify the code a little bit. In
115         particular, remove the test for secnumdepth.
116         * text.C (setHeightOfRow): only allocate space for chapter number
117         when updateCounters provided an actual label, instead of looking
118         at secnumdepth directly.
119
120         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
121
122         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
123         paragraphs when secnumdepth is large enough or, for environments,
124         when they are not the first in a sequence.
125
126 2005-04-17  Angus Leeming  <leeming@lyx.org>
127
128         * buffer.C (makeLaTeXFile): replace code to manipulate a path
129         containing space and '~' characters with a call to latex_path().
130
131 2005-04-17  Angus Leeming  <leeming@lyx.org>
132
133         * converter.C (convert): protect all args of convertDefault.sh
134         script with quotes.
135
136 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
137
138         * text3.C (dispatch): change the layout to "Caption" after inserting
139         a float.
140
141 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
142
143         * text3.C (dispatch): fix language problem in newly created
144         textinsets (and main text) in non-english docs
145
146 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
147
148         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
149         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
150         * text3.C (getStatus): disable LFUN_INSET_MODIFY
151
152 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
153
154         * lyxtext.h:
155         * text.C (metrics):
156         * text2.C (getFont):
157         * rowpainter.C (getFont): Fix metrics bug introduced by inset
158         fonts fix
159
160 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
161
162         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
163         output of \item arguments without trailing text.
164
165 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
166
167         * FontIterator.C (operator*): avoid a copy of the font.
168
169 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
170
171         * rowpainter.C (getFont): fix language bug from previous fix
172
173 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
174
175         * rowpainter.C (RowPainter, getFont): fix font inside inset
176         (bugs 1766, 1809)
177
178 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
179
180         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
181         preventing inserted font, deco, delim insets jumping to start of
182         surrounding inset.
183
184 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
185
186         * lyxfunc.C (dispatch): translate message before sending it to the
187         minibuffer.
188
189 2005-03-29  Angus Leeming  <leeming@lyx.org>
190
191         * lyx_main.C (priv_exec): call os::internal_path on each file passed
192         to LyX on the command line.
193
194 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
195
196         * vc-backend.C: use QuoteName to protect file names wherever
197         necessary.
198
199 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
200
201         * buffer.[Ch]:
202         * BranchList.h: fix bugs 1844,1845: document settings don't
203         stick
204
205 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
206
207         * lyxrc.C (setDefaults, read, output, getDescription): add support
208         for tex_allows_spaces.
209
210         * exporter.C (Export): allows files in directory containing spaces
211         if tex_allows_spaces is true.
212
213         * buffer.C (makeLaTeXFile): if the document path contains spaces,
214         output it in double quotes.
215
216 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
217
218         * rowpainter.C: use default text height for drawing change tracker
219         strikeout lines.
220
221 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
222
223         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
224
225 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
226
227         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
228         directory is missing.
229
230 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
231
232         * text2.C: fixed the fix, extended to other case.
233
234 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
235
236         * text2.C: fix for cursor up/down stuck in math [bug 1792]
237
238 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
239
240         * text2.C (cursorUp): get rid of a crash
241         * text.C (x2pos): add an assert
242
243 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
244
245         * lyxfunc.C (getStatus): fix warning when assertions are disabled
246
247         * text3.C:
248         * lyxfunc.C:
249         * dociterator.C: include <boost/current_function.hpp>, which is
250         needed when assertions are disabled.
251
252 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
253
254         * text2.C: fix for stuck cursor when traversing two
255         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
256
257 2005-02-25  Andreas Vox  <avox@arcor.de>
258
259         * output_docbook.C (makeParagraph): suppress trailing newline
260         after a run of paragraphs
261
262 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
263
264         * paragraph.C: fix for confused change tracker when pasting
265         text that begins with a lineseparator. [bug 1827]
266         (setChange(0, Change::INSERTED);)
267
268         * paragraph_funcs.C: fix for lost changes on triple-paste
269         in change tracking mode [bug 1827] (par.setChange()).
270
271 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
272
273         * text2.C (updateCounters, setCounter, expandLabel): move to
274         buffer_funcs.
275
276         * buffer_funcs.C (updateCounters): turn into a free standing
277         function and add a buffer parameter. Remove dead code for tracking
278         labelstring change.
279         (setCounter): change into a free-standing function which gets a
280         dociterator as argument. Use this iterator to fix captions in a
281         simple way. When no float is found above the caption, use the
282         labelstring of the caption layout as default.
283
284         * text.C (breakParagraph, backspace):
285         * text2.C (init, setLayout, changeDepth):
286         * text3.C (dispatch):
287         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
288         updateCounters.
289
290         * dociterator.C (forwardPar): make it much faster by calling
291         forwardPos() only when really necessary.
292
293         * output_docbook.C (makeCommand): adapt to expandLabel move.
294
295         * cursor.C: remove unused variable
296
297 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
298
299         * paragraph_funcs.C: fix crash when pasting insets in change
300         tracking mode [bug 1277] (honour change type in moveItem).
301
302 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
303
304         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
305
306 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
307
308         * BufferView.C (setCursor): change to use a DocIterator.
309         (gotoLabel): use BufferView::setCursor (other part of bug 781).
310         (putSelectionAt): adapt to BufferView::setCursor change.
311
312         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
313         moved here from LyXText and rewritten to use proper cursor
314         methods. Fixes bug 1787, 616 and 835.
315
316         * BufferView_pimpl.C (restorePosition): set the cursor correctly
317         when inside an inset (part of bug 781).
318         (dispatch): adapt to change of BufferView::setCursor.
319         (getStatus, dispatch): handle LFUN_GOTOERROR,
320         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
321
322         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
323         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
324         * text3.C (gotoNextInset, gotoInset): removed.
325
326 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
329
330 2005-02-15  Angus Leeming  <leeming@lyx.org>
331
332         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
333         can be used meaningfully in a comparison.
334
335 2005-02-13  André Pönitz  <poenitz@gmx.net>
336
337         * bufferview_funcs.C (coordOffset): improve cursor drawing
338
339 2005-02-13  André Pönitz  <poenitz@gmx.net>
340
341         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
342         * Cursor.C (dispatch): use fixIfBroken
343         * lyxfunc.C (getStatus): use fixIfBroken
344
345 2005-02-15  Angus Leeming  <leeming@lyx.org>
346
347         * lyx_main.C (error_handler):
348         * lyxfunc.C:
349         * lyxrc.C (setDefaults):
350         s/GetEnv/getEnv/.
351         #include "environment.h".
352
353         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
354
355 2005-02-15  Angus Leeming  <leeming@lyx.org>
356
357         * lyxserver.C (startPipe): squash MSVC warning "local variable
358         'fd' used without having been initialized".
359
360 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
361
362         * BufferView_pimpl.C: revert accidental commit.
363
364 2005-02-14  André Pönitz  <poenitz@gmx.net>
365
366         * dociterator.[Ch]: new member forwardPosNoDescent(),
367         which doesn't enter nested insets.
368         * text2.C (setFont): use forwardPosNoDescent() instead
369         of ForwardPos() (fixes crash on font change).
370
371 2005-02-13  Angus Leeming  <leeming@lyx.org>
372
373         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
374         only if lyxrc.path_prefix is not empty.
375
376 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
377
378         * bufferparams.C (readGraphicsDriver): prevent crash
379
380 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
381
382         * text2.C (setCounter): check for inInset() == 0
383
384 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
385
386         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
387         but use update() to get correct screen display; use convert
388         instead of istringstream.
389         (getStatus): handle LFUN_GOTO_PARAGRAPH
390
391         * lyxfunc.C (dispatch, getStatus): do not handle
392         LFUN_GOTO_PARAGRAPH here.
393
394 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
395
396         * text3.C (dispatch): size() -> depth()
397
398         * text2.C: remove some debug output
399
400         * paragraph.C: ws changes only
401
402         * lyxfunc.C (getStatus): size() -> depth()
403
404         * dociterator.h (clear, push_back, pop_back, internalData,
405         operator[], resize, empty): new functions
406         Make StableDocIterator and operator== be friends. Don't inherit
407         from std::vector use a privat class variable slices_ instead.
408         Modify to fit.
409
410         * dociterator.C: update because of not inheriting from std::vector
411         anymore. Call explictly to slices_ instead. Use depth() instead of
412         size() and top() instead of back()
413
414         * cursor.C: chagne size() -> depth and back() -> top(). Also
415         remove some direct operator[](i) calls in favour of foo[i]
416         (getFont): remove some dead code
417
418         * bufferview_funcs.C (coordOffset): size() -> depth()
419
420         * buffer.C: ws changes only
421
422         * CutAndPaste.C (eraseSelection): back() -> top()
423
424         * BufferView_pimpl.C (selectionRequested): back() -> top()
425
426         * BufferView.C (setCursor): size() -> depth()
427
428 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
429
430         * text3.C (cursorPrevious): return true if depm changed something
431         (cursorNext): ditto
432         (dispatch): rename sl to oldTopSlice, remove moving use the new
433         NoUpdate func attrib instead. Make sure that needsUpdate is set
434         for function that have NoUpdate, but where depm might have changed
435         the buffer anyway.
436
437         * text2.C (cursorLeft): make us return true if depm changed
438         something
439         (cursorRight): ditto
440         (cursorUpParagraph): ditto
441         (curosrDownParagraph): ditto
442         (cursorUp, cursorDown): ditto, make sure to read comments in code
443         (deleteEmptyParagraphMechanism): remove an assert, also return
444         true if just a single char was deleted.
445
446         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
447         cursor that we modify, to avoid modifying an active cursor before
448         we call setCursor. This allows depm to run. Also return true if
449         depm deleted something.
450
451         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
452         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
453         cursorDownParagraph, cursorPrevious and cursorNext, return true if
454         something was changed in the buffer because of them (ie. depm run)
455
456         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
457         debug messages. Make update by default be false. Make sure that
458         the result of update is retained throught several calls down to
459         dispatch.
460
461         * LyXAction.h: add a new func_attrib: NoUpdate
462
463         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
464         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
465         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
466         and LFUN_WORDLEFT
467         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
468
469 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
472         bv_->owner(), bv_->buffer() by direct references to the private
473         members.
474         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
475         (getStatus): isSavedPosition() is in BufferView::Pimpl.
476         (fitCursor): center() is in BufferView::Pimpl.
477         (getStatus, trackChanges, dispatch): no need for a temporary buf
478         variable
479         (fitCursor, workAreaDispatch): use workarea().workheight()
480
481 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
482
483         * CutAndPaste.C (pasteSelectionHelper): fix a crash
484
485 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
486
487         * buffer.C: format up to 241.
488         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
489         break if pasting into ERT
490         * lyxfunc.C (getStatus): suppress mathpanel and
491         LFUN_DIALOG_SHOW_NEW_INSET in ERT
492
493 2005-02-01  Angus Leeming  <leeming@lyx.org>
494
495         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
496
497 2005-02-01  Angus Leeming  <leeming@lyx.org>
498
499         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
500         calling fs::is_directory().
501
502 2005-01-31  Angus Leeming  <leeming@lyx.org>
503
504         * lyx_main.C (priv_exec): specify explicitly the relative location
505         of the top level build directory when run in-place.
506
507 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
508
509         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
510         LyXText containing the cursor, not the top-level one.
511
512         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
513         true.
514         (insertStringAsLines): rename par to pit; use temporary variable
515         par to hold a Paragraph; do not store par.layout() in a variable,
516         since the pointer may die when breaking paragraphs; pass pars to
517         breakParagraph() instead of Buffer::paragraphs().
518
519 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
520
521         * lyxlex_pimpl.h: #include <fstream>.
522
523         * BufferView.[Ch] (getLyXText): add a const version.
524
525         * BufferView_pimpl.C: add debug aids.
526
527         * RowList_fwd.h:
528         * buffer.h:
529         * lyxrow.h:
530         * paragraph_funcs.h: add commentary explaining what the class does.
531
532
533         * coordcache.[Ch]: add lots of commentary.
534         (startUpdating, doneUpdating): debug aids.
535         (arrays, insets, parPos, getParPos): accessors to private data.
536
537         * cursor_slice.[Ch] (text): add a const version.
538         * dociterator.[Ch] (text, innerText): add const versions.
539
540         * lyxtext.h (breakParagraph): change the keep_layout arg to a
541         bool.
542
543         * paragraph.C (getRow, pos2ros): add asserts.
544
545         * paragraph.h: add commentary. Lots of.
546
547         * paragraph.[Ch] (metrucs, draw): removed.
548
549         * cursor.C:
550         * rowpainter.[Ch]: const-correct changes.
551
552         * text.C: various obvious clean-ups. Removal of ancient cruft.
553         Bug fixes, even.
554
555 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
556
557         * vc-backend.C (find_file): rewrite to use boost.filesystem
558         (scanMaster): ditto
559
560         * main.C (main): set default name check for boost.filesystem to
561         no check
562
563         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
564         (open): ditto
565         (doImport): ditto
566         (actOnUpdatedPrefs): ditto
567
568         * lyx_main.C (init): rewrite to use boost.filesystem
569         (queryUserLyXDir): ditto
570
571         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
572         (getContentsOfAsciiFile): ditto
573
574         * lastfiles.C (readFile): rewrite to use boost.filesystem
575
576         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
577
578         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
579         (loadLyXFile): ditto
580
581         * buffer.C (Buffer): adjust for destroydir
582         (getLogName): rewrite to use boost.filesystem
583         (setFileName): ditto
584         (save): use fs::copy_file (from fs_extras)
585
586         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
587
588         * LaTeX.C (run): rewrite to use boost.filesystem
589         (scanAuxFiles): ditto
590         (handleFoundFile): ditto
591
592 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
593
594         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
595
596         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
597
598 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
599
600         * lyxlayout.[Ch]: change some vars from float to double
601
602         * buffer.C (readFile): make a local var const
603
604         * Several files: use convert<> instead of atoi,strToXXX and friends
605
606 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
607
608         * LaTeXFeatures.[Ch]: Add a static list packages_ that
609         holds the contents of packages.lst. New functions getAvailable
610         and isAvailable to parse and check that list, resp.
611
612         * LyXAction.C:
613         * lfuns.h:
614         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
615
616         * bufferparams.[Ch]: new param output_changes.
617
618         * Buffer.C: increase file format to 240.
619         Use output_changes and isVailable.
620
621         * changes.[Ch]:
622         * paragraph.C:
623         * paragraph_pimpl.C: Use output_changes and isVailable.
624
625 2005-01-23  Angus Leeming  <leeming@lyx.org>
626
627         * output_latex.C: #include "insetbibitem.h", rather than
628         forward declare function bibitemWidest.
629
630 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
631
632         * lyx_main.C (init): make it compile on the Mac.
633
634 2005-01-20  Angus Leeming  <leeming@lyx.org>
635
636         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
637         (setLyXMisc): (char string literal) != (char string literal) is
638         performing a comparison on the addresses. Convert one operand
639         explicitly to string to guarantee expected behaviour.
640         From MSVC warning.
641
642 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
643
644         * buffer.C:
645         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
646
647         * output_plaintext.C: remove unneeded #include gzstream.h.
648
649 2005-01-20  Angus Leeming  <leeming@lyx.org>
650
651         * SpellBase.h: rename some of the elements of the Result enum.
652
653         * aspell_local.h:
654         * ispell.h:
655         * pspell.h:
656         * aspell.C (check):
657         * ispell.C (check):
658         * pspell.C (check): ditto
659
660 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
661
662         * buffer.C: add #include <fstream>.
663
664         * lyx_main.C (init): Compile fix.
665
666         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
667
668 2005-01-20  Angus Leeming  <leeming@lyx.org>
669
670         * mover.h: change commentary to reflect the changed meaning of
671         the $$s placeholder.
672
673 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
674
675         * output_linuxdoc.C (linuxdocParagraphs): silence warning
676
677         * lyxfind.C (MatchString::operator()): remove bogus semicolon
678
679 2005-01-20  Angus Leeming  <leeming@lyx.org>
680
681         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
682         printing diagnostic data by not dereferecing an iterator past the
683         end.
684
685 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
686
687         * buffer.C (readHeader): use "&&" rather than "and".
688
689         * lyxserver.h (inPipeName, outPipeName): make these const.
690
691 2005-01-19  Angus Leeming  <leeming@lyx.org>
692
693         * lyx_main.C (error_handler, init): protect SIGHUP with
694         #ifdef SIGHUP guards.
695
696 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
697
698         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
699
700 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
701
702         * text.C (setHeightOfRow): add a margin at the top and bottom of
703         the document (bug 1761)
704
705 2005-01-17  Angus Leeming  <leeming@lyx.org>
706
707         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
708         with "python ". Workaround for a brain-dead Windows.
709
710 2005-01-16  Angus Leeming  <leeming@lyx.org>
711
712         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
713         for MacOSX and Windows to use prependEnvPath.
714         Strip out the hard-coded block to add elements to the PATH for
715         MacOSX and replace it with a call to prependEnvPath using the
716         contents of LyXRC::path_prefix.
717         (queryUserLyXDir): strip out the code to run reconfigure, instead
718         returning a boolean indicating the necessity to do so.
719         (reconfigureUserLyXDir): contains the code to reconfigure the
720         user support directory. Is now called after the various LyXRC data
721         files have been read.
722
723         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
724
725 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
726
727         * converter.[Ch] (convert): take a new parameter try_default. Use
728         a default converter (imagemagick) if try_default is true.
729
730 2005-01-13  Angus Leeming  <leeming@lyx.org>
731
732         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
733         os::cygwin_path_fix.
734         (write): output LyXRC::cygwin_path_fix as necessary.
735
736 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
737
738         * lyxrc.h:
739         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
740
741 2005-01-12  Angus Leeming  <leeming@lyx.org>
742
743         * lyx_main.C (init): set the PATH variable to include the
744         directory containing the LyX binary when running on Mac or Windows.
745
746 2005-01-12  Angus Leeming  <leeming@lyx.org>
747
748         * lyx_main.C (init): remove cruft that purports to set the locale
749         dir. It doesn't and is not needed anyway.
750
751 2005-01-10  Angus Leeming  <leeming@lyx.org>
752
753         * Makefile.am: remove the lyx_main.C special casing.
754
755         * BufferView_pimpl.C:
756         * bufferlist.C:
757         * exporter.C:
758         * lyx_cb.C:
759         * lyx_main.C:
760         * lyxfunc.C:
761         * messages.C: use support/package.h to provide the paths to the
762         various directories used by LyX.
763
764 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
765
766         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
767         layout if pasting into an empty paragraph)
768
769 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
770
771         * tex-accent.C: add <string>
772
773 2005-01-06  José Matos  <jamatos@lyx.org>
774
775         * ParagraphParameters.C (write): put every parameter in its own line.
776         * paragraph.C (write): reduce number of consecutive empty lines exported.
777         * buffer.C (LYX_FORMAT): increase file format to 239.
778
779 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
780
781         * everywhere: change support/tostr.h -> support/convert.h
782
783         * tabular.C: make all write_attributes templates, tostr -> convert
784
785         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
786         (emptyTag): and -> &&, and fix type for ret from getChar
787         (getFirstWord): fix type for ret from getChar
788         (onlyText): and -> &&
789         (simpleDocBookOnePar): and not -> && !, fix type for ret from
790         getChar
791
792         * toc.C (goTo, action):
793         * text3.C (dispatch):
794         * text.C (currentState):
795         * tex-accent.C (DoAccent):
796         * sgml.C:
797         * lyxrc.C:
798         * lyxfunc.C (menuNew):
799         * lyxfinc.C (replace):
800         * counters.C (laberItem):
801         * bufferview_funcs.C (font2string):
802         * bufferparams.C (writeFile):
803         * buffer.C (readFile):
804         * Spacing.C (set):
805         * MenuBackend.C: tostr -> convert
806
807         * LaTeX.C (runMessage): fix format
808         (scanAuxFiles): tostr -> convert
809
810         * BufferView_pimpl.C (savePosition): fix format
811         (restorePosition): ditto
812         (dispatch): ditto
813
814 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
815
816         * Spacing.[Ch]: New method getValueAsString().
817
818         * Spacing.[Ch]:
819         * bufferparams.C:
820         * ParagraphParameters.C:
821         * lyxlayout.C:
822         * text.C:
823         * text3.C: store/read spacing value as string.
824
825         * rowpainter.C: change float value (spacing_val) to double.
826
827         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
828         broken custom document spacing).
829
830 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
831
832         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
833         namespace, also more use of temp references and const
834
835         * cursor.[Ch] (getStatus): move to lyxfunc.C
836
837         * bufferparams.C: reformat slightly
838
839         * bufferview_funcs.C (font2string): constify arg
840
841         * changes.C:
842         * converter.C:
843         * counters.C:
844         * bufferlist.C:
845         * buffer_funcs.C: (many funcs): constify arg on function
846         definitions, also make more local vars const, also add ASSERTS on
847         pointer args.
848
849         * buffer.C (LYX_FORMAT): put const in correct place
850         (many funcs): constify arg on function definitions, also make
851         more local vars const
852
853         * aspell_local.h: remove "struct" from typdef setup
854
855         * aspell.C (check): make word_ok const
856         (nextMiss): simplify slightly
857         (error): ditto
858
859 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
860
861         * lyxrc.[Ch]: store all float values as strings.
862         use int (not float) for lyxrc.dpi.
863
864 2005-01-04  Angus Leeming  <leeming@lyx.org>
865
866         * lyx_cb.C (Reconfigure):
867         * lyx_main.C (queryUserLyXDir):
868         to run the <system_lyxdir>/configure correctly on Windows, prefix
869         the path to the script with "sh " when generating the string that
870         is passed to system().
871
872 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
873
874         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
875
876 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
877
878         * lyxlength.C (asLatexString): get rid of setprecision
879
880 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
881
882         * text2.C (setLayout): remove unused variable endpit.
883         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
884
885         * paragraph.C (onlyText): remove unused variable style.
886
887         * cursor.C (bruteFind): remove unused variables beg and end.
888
889         * Makefile.am (dist_noinset_DATA): not needed anymore
890
891         * cheaders/*: remove.
892
893 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
894
895         * text3.C: fix LFUN_MATH_MODE.
896
897 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
898
899         * buffer_funcs.C (countWords): new function. Counts words between
900         two iterators.
901
902         * BufferView_pimpl.C (getStatus, dispatch): handle
903         LFUN_WORDS_COUNT.
904
905         * LyXAction.C (init):
906         * lfuns.h: add LFUN_WORDS_COUNT.
907
908 2004-12-19  Angus Leeming  <leeming@lyx.org>
909
910         * buffer.C (save): s/slashify_path/internal_path/.
911
912 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
913
914         * lyxfind.C (findChange): do not search for end of pars, because
915         the change tracker cannot handle this (fixes bug 1719).
916
917 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
918
919         * paragraph.[Ch] (autoBreakRows): remove
920
921         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
922
923         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
924         avoid using the paragraph one
925
926         * text2.C (LyXText, insertStringAsLines): adjust
927
928 2004-12-16  Angus Leeming  <leeming@lyx.org>
929
930         * bufferlist.C:
931         * lyx_main.C:
932         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
933
934 2004-12-14  Angus Leeming  <leeming@lyx.org>
935
936         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
937
938         * bufferlist.C (emergencyWrite):
939         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
940         GetEnvPath("HOME").
941
942 2004-12-14  Angus Leeming  <leeming@lyx.org>
943
944         * main.C: (main): no longer pass pointers to os::init.
945
946 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
947
948         * undo.C (textUndoOrRedo): simplify logic, fix a crash
949         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
950
951 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
952
953         * lyxfunc.C:
954         * text3.C: remove selection_possible global flag
955
956 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
957
958         * text2.C (getSelectionSpan): remove
959         (changeDepth, changeDepthAllowed): adjust
960
961 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
962
963         * Makefile.am (BOOST_LIBS): use boost variables
964
965 2004-12-03  José Matos  <jamatos@lyx.org>
966
967         * buffer.C: format up to 238.
968
969 2004-12-03  José Matos  <jamatos@lyx.org>
970
971         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
972
973 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
974
975         * cursor.C (goUpDown): remove call to idxUpDown2
976
977 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
978
979         * tabular.[Ch]: use size_t-like types for cell, row and column
980         indices
981
982 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
983
984         * lyxfunc.C (getStatus): do not lose previous information when
985         calling BufferView::getStatus; do not set a default "Command
986         disabled" message at the beginning, but just before returning.
987
988 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
989
990         * cursor.h (getStatus): add better comment from src/cursor.C
991
992 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
993
994         * text3.C (getStatus): return false when the lfun is not handled
995
996 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
997
998         * broken_headers.h: remove
999
1000         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1001
1002 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1003
1004         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1005         offset_ref accessors
1006
1007         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1008         top_y_, merge fitcursor with update
1009         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1010         coord scheme
1011         (metrics): introduce
1012         (workAreaDispatch): adapt to new coord scheme
1013         (redoCurrentBuffer): remove
1014
1015         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1016
1017         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1018         CurStatus enum.
1019
1020         * coordcache.[Ch]: add paragraph cache and helpers
1021
1022         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1023         adjust everywhere
1024
1025         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1026         (targetX, setTargetX): introduce
1027
1028         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1029         baseline -> ascent, as the rest of lyx
1030
1031         * lyxtext.h: remove redoParagraphs, updateParPositions,
1032         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1033         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1034         have ascent/descent (ascent is ascent of first par)
1035
1036         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1037         step of BufferView
1038
1039         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1040
1041         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1042
1043         * pariterator.C: fix infinite loop introduced in par->pit renaming
1044
1045         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1046         in insets and LyXText, draw two off-screen paragraphs using
1047         NullPainter, and adapt to new coord scheme
1048
1049         * text.C:
1050         * text2.C:
1051         * text3.C: adapt lfun handlers to the new coord scheme, which
1052         means: there's only guaranteed coord information for onscreen pars
1053         plus one above and one below. This implies that one can do search
1054         from y coordinates in the range [-1,workHeight]
1055
1056 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1057
1058         * rename a lot of InsetOld to InsetBase
1059
1060 2004-11-25  Angus Leeming  <leeming@lyx.org>
1061
1062         * BufferView_pimpl.C:
1063         * lyx_cb.C:
1064         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1065
1066 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1067
1068         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1069         call BufferView::getStatus if LCursor::getStatus did nothing
1070         (setStatusMessage, getStatusMessage): removed.
1071
1072         * FuncStatus.C (message): new methods. Used to provide an error
1073         message indicating why a command is disabled.
1074         (clear, |=, FuncStatus): update for message.
1075
1076 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1077
1078         * lyxfunc.C (dispatch): always call sendDispatchMessage
1079
1080 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1081
1082         * BufferView.C:
1083         * BufferView_pimpl.C:
1084         * CutAndPaste.C:
1085         * FontIterator.C:
1086         * buffer.C:
1087         * cursor.C:
1088         * cursor_slice.[Ch]:
1089         * dociterator.[Ch]:
1090         * lyxfind.C:
1091         * paragraph_funcs.C:
1092         * pariterator.C:
1093         * rowpainter.C:
1094         * text.C:
1095         * text2.C:
1096         * text3.C:
1097         * undo.C: par->pit renaming
1098
1099 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1100
1101         * tabular.C (cellstruct): use initialization, store a shared_ptr
1102         to insettext instead of the insettext directly, adjust to fit.
1103         (operator=):  new function
1104         (swap): new function
1105         (rowstruct): use initialization
1106         (columnstruct): use initialization
1107         (ltType): use initialization
1108
1109
1110         * lyxlength.h (swap): new function
1111
1112         * LColor.[Ch] (operator=): use the common semantics
1113
1114 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1115
1116         * lyxfind.C (findNextChange): update the bufferview after setting
1117         the selection.
1118
1119 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1120
1121         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1122         number of InsetOptArgs has already been inserted.
1123
1124         * output_latex.C (latexOptArgInsets): new method. This outputs all
1125         the optarg insets, up to the limit defined in the layout file.
1126         (optArgInset): removed
1127         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1128
1129 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1130
1131         * paragraph.C (isLetter): remove special spellchecker-related
1132         code; return true also for digits
1133         (isWord, isKomma): remove
1134
1135         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1136         * lyxfind.C (MatchString()): use isLetter instead of isWord
1137
1138 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1139
1140         * pariterator.h (operatir=): comment out un-implemented member
1141         function.
1142
1143         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1144         static cast.
1145
1146 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1147
1148         * lyxfont.h: include LColor.h to satisfy concept checks.
1149
1150 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1151
1152         * pariterator.h: add typdefs for value_type, difference_type,
1153         pointer and reference to satisfy concept checks. Also add default
1154         constructor for same reason.
1155
1156         * pariterator.C (operator++): add post-increment operator to
1157         satisfy concept checks.
1158
1159         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1160         checks.
1161
1162         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1163
1164         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1165         checks. Also rename base_type to BaseType to follow naming
1166         standard better.
1167
1168         * FloatList.h: include Floating.h to satisfy concept checks.
1169
1170 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1171
1172         * lyxfunc.C (getStatus): when the origin of the request is menu or
1173         toolbar, and the LyXView does not have focus, do as if there was
1174         no buffer (bug 1720)
1175
1176         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1177         FuncRequest to individual entries of LFUN_SEQUENCE
1178
1179 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1180
1181         * output_latex.C (TeXOnePar): override runparams.moving_arg
1182         according to the needprotect value of the current paragraph (bug
1183         1739)
1184
1185         * paragraph.C (simpleTeXOnePar): no need to override
1186         runparams.moving_args here
1187
1188 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1189
1190         * vspace.C: fix off-by-one-error, related to fix #1682
1191
1192 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1193
1194         * lengthcommon.C: a more general fix for bug 1682
1195
1196 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1197
1198         * text.C (backspace): fix crash
1199
1200 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1201
1202         * format.[Ch] (getFormatFromFile): new method
1203         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1204
1205 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1206
1207         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1208
1209 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1210
1211         * lyxfunc.C (dispatch): remove the verbose argument
1212         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1213         instead
1214
1215         * kbmap.C (defkey): set the origin of func to KEYBOARD
1216
1217         * MenuBackend.C (MenuItem):
1218         * ToolbarBackend.C (add): set the origin of func to UI
1219
1220         * funcrequest.[Ch]: add origin member, which indicates which part
1221         of LyX requests an action
1222
1223 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1224
1225         * converter.C (move): don't lie in the error message
1226         * converter.h (isReachable, move): document
1227
1228 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1229
1230         * buffer.C: remove unused using lyx::support::atoi
1231         * paragraph_funcs.C: ditto
1232
1233 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1234
1235         * bufferlist.C (exists): use bind and equal_to instead of
1236         compare_memfun
1237         (getBuffer): ditto
1238         * lyxtextclasslist.C (NumberOfClass): ditto
1239
1240         * cursor.C (insert): use for_each instead of explicit for loop
1241
1242         * bufferlist.C (getFileNames): use std::transform and
1243         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1244
1245         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1246         for loop
1247
1248         * buffer.C (changeLanguage): use for_each instead of explicit for
1249         loop
1250         (hasParWithID): implement using getParFromID
1251
1252         * LaTeXFeatures.C: ws change only
1253
1254         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1255         to cleanup a bit.
1256
1257         * BufferView_pimpl.C (trackChanges): use for_each instead of
1258         expilicit for loop
1259
1260 2004-11-04  André Pönitz  <poenitz@gmx.net>
1261
1262         * undo.h:
1263         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1264
1265         * dociterator.C (asDocIterator): use hard assert again.
1266
1267 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1268
1269         * lyxlength.C (asLatexString): rewrite so that it does not use
1270         snprintf anymore
1271
1272 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1273
1274         * text3.C (specialChar, dispatch): make sure cursor moves to the
1275         right after inserting an inset
1276
1277 2004-11-02  José Matos  <jamatos@lyx.org>
1278
1279         * output_docbook.C (docbook):
1280         * paragraph.C (getID):
1281         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1282         garantee that the output is always legal.
1283
1284         * tabular.C (docbook):
1285         * outputprams.[Ch]: remove mixed contents.
1286
1287 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1288
1289         * text2.C (setCounter): prevent endless loop
1290
1291 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1292
1293         * exporter.C (copyFile): use the mover instead of support::copy()
1294         * exporter.C (Export): pass format and latex name to copyFile()
1295         * exporter.h (addExternalFile): document
1296         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1297
1298 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1299
1300         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1301
1302 2004-10-30  José Matos  <jamatos@lyx.org>
1303
1304         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1305         text and no inset or font change. This allows to use CDATA
1306         sections just for the whole paragraph.
1307
1308 2004-10-30  José Matos  <jamatos@lyx.org>
1309
1310         * paragraph.C (getFirstWord): remove unused variable.
1311
1312 2004-10-30  José Matos  <jamatos@lyx.org>
1313
1314         * paragraph.C (getFirstWord): the content should always be escaped
1315         there.
1316         (simpleDocBookOnePar):
1317         * output_docbook.C (makeEnvironment): replace reference to CDATA
1318         to style pass_thru.
1319
1320 2004-10-30  José Matos  <jamatos@lyx.org>
1321
1322         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1323
1324 2004-10-30  José Matos  <jamatos@lyx.org>
1325
1326         * output_docbook.C (makeParagraphs):
1327         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1328         standard paragraph has only a given type of content drop the wrapper.
1329
1330 2004-10-29  José Matos  <jamatos@lyx.org>
1331
1332         * output_docbook.C (makeEnvironment):
1333         * sgml.C (openTag):
1334         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1335
1336 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1337
1338         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1339         (cleanID): sanitize any id.
1340
1341 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1342
1343         * buffer.C, lyxlex_pimpl.C:
1344         * lyxlex_pimpl.C (setFile):
1345         s/getExtFromContents/getFormatFromContents/
1346
1347 2004-10-28  José Matos  <jamatos@lyx.org>
1348
1349         * output_docbook.C (makeEnvironment): move id to broadest possible
1350         scope.
1351
1352         * sgml.C (openTag): apply substitution of <> for all attributes.
1353
1354 2004-10-28  José Matos  <jamatos@lyx.org>
1355
1356         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1357         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1358         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1359
1360         * sgml.[Ch]: new version for open and closeTag for paragraph and
1361         for strings. Now they handle the ids of paragraphs.
1362
1363 2004-10-26  Angus Leeming  <leeming@lyx.org>
1364
1365         * Makefile.am: add mover.[Ch].
1366
1367         * converter.C (convert, move): use the new Movers to move external
1368         files to the temp directory.
1369
1370         * lyx_main.C (init): ensure that the global system_movers data
1371         is initialised.
1372
1373         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1374         preferences file.
1375
1376         * mover.[Ch]: new files, defining a Mover as a utility to move an
1377         external file between directories and, if necessary, manipulate this
1378         file using a helper script.
1379
1380 2004-10-25  José Matos  <jamatos@lyx.org>
1381
1382         * output_docbook.C (makeCommand): merge two if's that tested the
1383         same condition.
1384
1385 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1386
1387         * sgml.C (escapeString): fix warning in a better way
1388
1389 2004-10-25  José Matos  <jamatos@lyx.org>
1390
1391         * sgml.C (escapeString): import the require boosts header file for
1392         tie, and avoid a signed unsigned comparison.
1393
1394 2004-10-25  José Matos  <jamatos@lyx.org>
1395
1396         * sgml.h: add #include <string>
1397
1398 2004-10-25  José Matos  <jamatos@lyx.org>
1399
1400         * sgml.[Ch] (escapeString): new function to escape all the string.
1401
1402 2004-10-24  José Matos  <jamatos@lyx.org>
1403
1404         * paragraph.[Ch] (getFirstWord): new function to get the first
1405         word. Useful for description.
1406         (simpleDocBookOnePar): remove depth argument, add another that
1407         says where to start the paragraph.
1408
1409         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1410         use the new functions to fix cleanly the support for descriptions.
1411
1412 2004-10-24  José Matos  <jamatos@lyx.org>
1413
1414         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1415         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1416         * output_linuxdoc.C (linuxdocParagraphs):
1417         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1418         add buffer as argument.
1419
1420 2004-10-24  José Matos  <jamatos@lyx.org>
1421
1422         * output_docbook.C (makeEnvironment, searchEnvironment): place
1423         CDATA inside paragraphs and fix scope for listitems.
1424
1425 2004-10-24  José Matos  <jamatos@lyx.org>
1426
1427         * output_docbook.C: remove using statement for stack.
1428
1429 2004-10-23  José Matos  <jamatos@lyx.org>
1430
1431         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1432         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1433         docbook. The new scheme is recursive and makes use of iterators, the
1434         same as latex export works.
1435         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1436         directly with the paragraph contents. This code was moved up to
1437         output_docbook.C (docbookParagraphs).
1438         * sgml.C (openTag, closeTag): removed unneeded newlines.
1439         (closeEnvTags) removed.
1440
1441 2004-10-23  André Pönitz  <poenitz@gmx.net>
1442
1443         * undo.C (textUndoOrRedo):
1444         * dociterator.C (asDocIterator): work around crash
1445
1446         * cursor.C (getStatus): replace ASSERT by more verbose error message
1447           and manual correction of the problem. Should increase stability
1448           while providing more sensible information.
1449
1450 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1451
1452         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1453
1454         * bufferlist.C (previous, next): new methods
1455
1456         * lfuns.h:
1457         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1458
1459 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1460
1461         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1462         entities to preamble.
1463
1464 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1465
1466         * messages.C (Pimpl): strip off translation context information
1467
1468 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1469
1470         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1471         the cursor is correct (bug 1694)
1472
1473 2004-10-13  José Matos  <jamatos@lyx.org>
1474
1475         * output_docbook.C (docbookParagraphs): fix closing tags in the
1476         end of the document.
1477
1478 2004-10-09  José Matos  <jamatos@lyx.org>
1479
1480         * buffer.C: format up to 237.
1481         * bufferparams.C (write): use tostr to convert booleans to strings.
1482
1483 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1484
1485         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1486
1487 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1488
1489         * LaTeX.C: implement use of babel language in xindy.
1490
1491 2004-10-05  José Matos  <jamatos@lyx.org>
1492
1493         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1494         Add new translators to help reading and writing the lyx file.
1495
1496 2004-10-05  José Matos  <jamatos@lyx.org>
1497
1498         * ParagraphParameters.C (read):
1499         * text.C (readParToken): replace nexToken by more appropriate lex
1500         methods.
1501
1502 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1503
1504         * LaTeX.C (runMakeIndex):
1505         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1506         (usually 'makeindex') configurable.
1507
1508         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1509         with a variable rather than with a number.
1510
1511 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1512
1513         * output_latex.C (TeXOnePar): make sure font setting is the first
1514         thing that gets output (and the last at the end). Should fix bug
1515         1404.
1516
1517 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1518
1519         * pch.h: use proper signal include
1520
1521         * LaTeX.h: Use preferred calling of Boost.Signal
1522         * buffer.h: ditto
1523
1524 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1525
1526         * pch.h: dont include <boost/function/function0.hpp>
1527
1528         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1529
1530         * paragraph_pimpl.h: remove usage of ShareContainer
1531
1532         * paragraph_pimpl.C: remove initialization of ShareContainer.
1533
1534 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1535
1536         Fix bug #1666
1537
1538         * BufferView.C (putSelectionAt): change the semantics when
1539         backwards == true: now, this just swaps cursor and anchor wrt the
1540         forward case
1541
1542         * BufferView.h (putSelectionAt): add some documentation
1543
1544         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1545         make sure backwardChar is done at least once (to avoid getting
1546         stuck)
1547         (findNextChange): use putSelectionAt in the forward direction
1548         (operator()): use Paragraph::isWord
1549
1550 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1551
1552         * Spacing.C (set): c_str fix
1553
1554 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1555
1556         * lyx_cb.C (Reconfigure): quote the name of configure script in
1557         case it contains spaces
1558
1559 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1560
1561         * client: new dir
1562
1563         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1564         (BOOST_LIBS): use top_buildir when looking for the file
1565
1566 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1567
1568         * pch.h: do not use include boost/format.hpp, multiple symbols
1569                 will result (gcc bug)
1570
1571
1572 2004-08-23  José Matos  <jamatos@lyx.org>
1573
1574         * bufferparams.C (readToken): fix reading of the author field.
1575
1576 2004-08-20  José Matos  <jamatos@lyx.org>
1577
1578         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1579
1580 2004-08-20  José Matos  <jamatos@lyx.org>
1581
1582         * lyxlex.[Ch] (findToken): remove function.
1583
1584         * ParagraphParameters.C (findToken):
1585         * bufferparams.C (findToken): replace call for previous function
1586         with local copy. This local function has one more argument, the
1587         read string argument.
1588
1589 2004-08-16  José Matos  <jamatos@lyx.org>
1590
1591         * ParagraphParameters.C (write):
1592         * Spacing.C (writeFile):
1593         * bufferparams.C (writeLaTeX):
1594         * lyx_cb.C (Reconfigure):
1595         * paragraph.C (write):
1596         * tabular.C (write): remove unnecessary space at end of line.
1597
1598
1599 2004-08-16  José Matos  <jamatos@lyx.org>
1600
1601         * text.C (readParagraph): remove debug message.
1602
1603 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1604
1605         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1606         crash
1607
1608         * output_plaintext.C (asciiParagraph): set depth correctly
1609
1610         * outputparams.h: add member depth
1611
1612         * paragraph_funcs.C (ownerPar): remove.
1613
1614         * text2.C (setCounter): remove first_pit; comment out some
1615         non-working code that uses ownerPar
1616
1617         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1618         uses ownerPar
1619
1620 2004-08-16  José Matos  <jamatos@lyx.org>
1621
1622         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1623         For the same level of importance use the same chanel to report problems.
1624         (read): add code to deal with \begin_body and \end_body.
1625
1626
1627 2004-08-15  José Matos  <jamatos@lyx.org>
1628
1629         * lyxlex.C (getString): fix comment, buffer::readBody is now
1630         buffer:readDocument.
1631
1632         * tex-strings.C (string_papersize): Default -> default,
1633         Custom -> custom, for consistency with other options.
1634
1635 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1636
1637         * pch.h: new file
1638
1639         * Makefile.am: support pch
1640
1641 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1642
1643         * text.C (readParToken): remove the static LyXFont variable and
1644         pass it as a parameter instead. This fixes a nasty bug where an
1645         inset will be inserted with a bad font in some situations
1646         (readParagraph): adapt
1647
1648         * text2.C (setCounter): reduce number of calls to pars_[pit]
1649
1650         * text.C (singleWidth): add an assert, fix a test
1651
1652         * rowpainter.C (paintText): reduce number of calls to singleWidth
1653
1654         * paragraph.C (isHfill):
1655         (isNewline): ws only
1656
1657 2004-08-14  André Pönitz  <poenitz@gmx.net>
1658
1659         * text.C:
1660         * text2.C:
1661         * rowpainter.C:
1662         * lyxtext.h (several functions): use a Paragraph & argument
1663         instead of par_type
1664
1665 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1666
1667         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1668
1669         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1670
1671         * text.C (singleWidth): remove useless test
1672
1673 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1674
1675         * tabular.h: remove bogus comments
1676
1677         * tabular.C (getDescentOfRow):
1678         (isPartOfMultiColumn): add assertions
1679
1680         * lyxlength.C (inPixels): remove #warning
1681
1682 2004-08-14  André Pönitz  <poenitz@gmx.net>
1683
1684         * paragraph.h: inline getChar()
1685
1686         * BufferView.h: remove unused declarations
1687
1688 2004-08-14  José Matos  <jamatos@lyx.org>
1689
1690         * Buffer.[Ch] (readDocument): new name for old readBody.
1691         * Buffer.C: new file format, new keywords: \begin_document,
1692         \begin_header, \begin_body, \end_body.
1693
1694         * bufferparams.C (readToken): replace all calls to lex.nextToken
1695         by lex.next(). Do the same to eatLine except where really needed.
1696
1697         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1698         line when writing to the lyx file.
1699
1700         * output_plaintext.C (asciiParagraph): fix Bibliography style
1701         handling.
1702
1703         * text.C (read): fix end of file handling.
1704
1705 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1706
1707         * MenuBackend.C (Menu::operator[]): new method to access
1708         individual menu items
1709         (Menu::hasFunc): new method. search for an item that corresponds
1710         to a given func
1711         (MenuBackend::specialMenu): new method
1712         (MenuBackend::expand): if a special menu has been set, skip
1713         entries whose func() appears in this menu
1714
1715 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1716
1717         * text3.C: use Debug::DEBUG a bit more
1718
1719         * text.C (leftMargin): try to simplify a tiny bit change var x to
1720         l_margin. Dont output the wide margins always.
1721         (rightMargin): no margin in inner texts
1722
1723         * rowpainter.h (nestMargin): new func
1724         (changebarMargin): new func
1725         (rightMargin): new func
1726
1727         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1728         now functions.
1729         (paintLast): ditto
1730
1731         * factory.C (createInset): modify setDrawFrame
1732
1733         * cursor.C: use Debug::DEBUG a bit more
1734
1735 2004-08-14  André Pönitz  <poenitz@gmx.net>
1736
1737         * coordcache.[Ch]:
1738         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1739         cache for all insets in (at least partially) visible (top-level)
1740         paragraphs.
1741
1742         * BufferView_pimpl.C: reset external coord cache before every update.
1743         This means the coord cache only contains valid entries.
1744
1745 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1746
1747         bug 1096
1748         * BufferView_pimpl.C (getInsetByCode): move function out of class
1749         and change in to a template in anon namespace. Also fix to do what
1750         suits us better.
1751
1752 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1753
1754         bug 1305
1755         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1756         of char
1757         (breakParagraph): rename par to par_offset and use a local
1758         reference. Add code to keep the language over a rebreak.
1759         (breakParagraphConservative): rename par to par_offset, use a
1760         local reference
1761         (mergeParagraph): ditto
1762         (outerHook): ditto
1763         (isFirstInSequence): ditto
1764         (outerFont): rename pit to par_offset
1765
1766         * paragraph.C: ws change
1767         * paragraph.h: ditto
1768         * text3.C: ditto
1769         * text.C: ditto
1770
1771 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1772
1773         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1774         treatment for ']'
1775
1776         * paragraph.C (simpleTeXOnePar): when we have a \item with
1777         optional argument, enclose the argument with curly brackets (in
1778         case it contains a closing square bracket)
1779
1780         * text2.C (editXY):
1781         * text2.C (editXY):
1782         * text3.C (checkInsetHit): constify
1783
1784 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1785
1786         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1787         documents (bug 1629)
1788
1789 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1790
1791         Fix toggling of collapsable insets with the mouse (bug 1558)
1792
1793         * lyxfunc.C (dispatch): adapt to LCursor changes
1794
1795         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1796         make sure that dispatch is not invoked twice
1797
1798         * cursor.C (needsUpdate): new method
1799         (dispatch): return void
1800         (result): new method, to access the DispatchResult of the cursor.
1801
1802 2004-08-13  José Matos  <jamatos@lyx.org>
1803
1804         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1805
1806 2004-08-13  André Pönitz  <poenitz@gmx.net>
1807
1808         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1809
1810         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1811           multiple cells
1812
1813 2004-08-12  André Pönitz  <poenitz@gmx.net>
1814
1815         * text3.C: take out the 'cursor right' form insertInset and only
1816         do it in those places when it is really needed. Fixes crash on
1817         C-m...
1818
1819 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1820
1821         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1822
1823         * BufferView_pimpl.C (setBuffer): initialize the current font of
1824         the underlying LyXText
1825
1826 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1827
1828         * kbsequence.C (print): use UI native formatting for menu
1829         shortcuts
1830
1831         * text.C (insertChar): call Paragraph::insertChar with a font
1832         argument (cosmetic)
1833
1834         * paragraph.C (insertInset, insertChar): the version that takes a
1835         LyXFont argument is now a wrapper around the other one (the
1836         opposite used to be true).
1837
1838         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1839         argument. Font setting is done in Paragraph now.
1840
1841 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1842
1843         * outputparams.h: add new members intitle and lang.
1844
1845         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1846         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1847
1848 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1849
1850         * text3.C (dispatch): remove special handling of button 4 and 5,
1851         it is now taken care of in the frontend code.
1852
1853 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1854
1855         * Spacing.h: add <string> (STLPort compile fix)
1856
1857 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1858
1859         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1860
1861 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1862
1863         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1864         to bool.
1865
1866         * converter.C (showMessage): inherit from unary_function, make
1867         operator() const.
1868
1869         * buffer.C (writeFile): initialize retval
1870
1871         * InsetList.h: rename private variable list to list_
1872         * InsetList.[Ch]: adjust accordingly.
1873
1874 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1875
1876         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1877         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1878         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1879         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1880         * ParagraphParameters.C, LaTeXFeatures.C: replace
1881         "support/std_sstream.h" with <sstream>
1882
1883 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1884
1885         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1886         * lyxsocket.C (LyXServerSocket): ditto
1887         (serverCallback): ditto
1888
1889 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1890
1891         * LaTeXFeatures.C: check release date when loading jurabib.
1892
1893 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1894
1895         * lyxserver.C (startPipe): call register_socket_callback
1896         (endPipe): call unregister_socket_callback
1897
1898 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1899
1900         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1901         (LyXServerSocket): register the callback
1902         (LyXServerSocket): unregister the callback
1903         (fd): delete function
1904         (serverCallback): improve error checking and setup the callbacks.
1905         (dataCallback): change arg to fd.
1906         (writeln): new func (copied fro the client socket) used for server
1907         write to client.
1908         (LyXDataSocket): simplify
1909         (~LyXDataSocket): close ann unregiser callback
1910         (server): delete function
1911         (fd): delete function
1912         (readln): small changes, improve some std::string usage
1913         (writeln): constify a bit
1914
1915 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1916
1917         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1918         Qt frontend
1919
1920 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1921
1922         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1923         after it has been populated
1924
1925 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1926
1927         * text2.C (insertInset): move cursor when inserting inset.
1928
1929 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1930
1931         * kbmap.C (findbindings): a couple of new methods. returns a
1932         container of kb_sequence objects. The real work is done by the
1933         private recursive version
1934         (printbindings): uses findbindings to print out a bracketed list
1935         of bindings (renamed from findbinding).
1936
1937         * MenuBackend.C (binding): use kb_keymap::findbindings
1938
1939         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1940
1941 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1942
1943         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1944
1945 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1946
1947         * paragraph.C (isWord): return true on insets that report
1948         isLetter().
1949
1950         * text.C (getWord): use Paragraph::isWord to decide what is in a
1951         word and what is not; fix bug 1609.
1952
1953 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1954
1955         * tex-strings.C: add "none" to string_paperpackages[], fixes
1956         off-by-one-error in the paperpackage selection.
1957
1958         * lyxlex.[Ch]:
1959         * tex-strings.[Ch]: char const * string[n]
1960         -> char const * const string[]
1961
1962 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1963
1964         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1965         command, return early.
1966
1967 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1968
1969         * debug.h: add DEBUG to enum and fix size of ANY.
1970
1971         * debug.C: add support for Debug::DEBUG
1972         (showTags): cast errorTags.level to unsigned int
1973
1974         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1975         (redoCurrentBuffer): ditto
1976         (updateScrollbar): ditto
1977         * cursor.C (dispatch): ditto
1978         * text2.C (setLayout): ditto
1979         (setFont): ditto
1980         (updateCounters): ditto
1981         (editXY): ditto
1982         (deleteEmptyParagraphMechanism): ditto
1983
1984 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1985
1986         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1987         annotations to cleanup the Makefile slightly.
1988
1989 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1990
1991         * lyxrc.C: do not set user_email to a default value but use empty
1992         instead. The entry used to be translated, which does not work
1993         since at the point where lyxrc is constructed there is no
1994         translation service available
1995
1996         * messages.C (getLocaleDir): remove and use directly
1997         lyx_localedir() instead
1998
1999 2004-06-02  Angus Leeming  <leeming@lyx.org>
2000
2001         Fix crash caused by dereferencing null pointer 'exportdata' in
2002         OutputParams by creating a new ExportData variable on the heap,
2003         storing it in a boost::shared_ptr.
2004         The crash was triggered when generating an Instant Preview
2005         of an external inset.
2006
2007         * Makefile.am: add outputparams.C
2008
2009         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2010         (c-tor): allocate memory to it.
2011
2012         * exporter.C (c-tor): associated changes.
2013
2014 2004-06-01  Angus Leeming  <leeming@lyx.org>
2015
2016         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2017         contains data before calling isInset(0). (Bug 1513.)
2018
2019 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2020
2021         * exporter.C (checkOverwrite): new method
2022         * exporter.C (copyFile): new method
2023         * exporter.C (Export): copy referenced files to the document dir
2024         * exporter.[Ch]: new class ExportedFile
2025         * exporter.[Ch]: new class ExportData. Contains currently the
2026         names of referenced external files
2027         * outputparams.h: add exportdata member.
2028
2029 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2030
2031         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2032         version.C-tmp
2033
2034 2004-05-19  Angus Leeming  <leeming@lyx.org>
2035
2036         * LaTeXFeatures.C:
2037         * ToolbarBackend.C:
2038         * bufferparams.C:
2039         * lyxfunc.C: small changes due to the introduction of namespace
2040         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2041
2042 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2043
2044         * text3.C (dispatch): supress update when only moving the cursor
2045         * cursor.C (selHandle): remove commented code
2046
2047 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2048
2049         * paragraph.C (startTeXParParams): correct column count
2050         * CutAndPaste.C (pasteSelection): remove const_cast
2051         * output_docbook.C (docbookParagraphs): remove const_cast
2052         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2053         const_cast and return ParagraphList::const_iterator
2054         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2055         * output_plaintext.C (writeFileAscii): remove const_cast
2056         * paragraph.[Ch] (simpleTeXOnePar): make const
2057         * paragraph_funcs.C (outerPar): use const iterators
2058         * paragraph_pimpl.C (validate): use const iterators
2059         * text.C (setHeightOfRow): use const iterators
2060
2061 2004-05-17  Angus Leeming  <leeming@lyx.org>
2062
2063         * lfuns.h:
2064         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2065
2066         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2067         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2068         if the citation engine has changed.
2069
2070 2004-05-14  José Matos  <jamatos@lyx.org>
2071
2072         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2073         if the textclass does not provide it. Have it different for sgml and
2074         xml.
2075         support the language of document.
2076         * output_docbook.C (docbookParagraphs):
2077         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2078         first anchor as the id of the paragraph, remove special case code.
2079         * sgml.C (escapeChar): escape only < & >.
2080
2081 2004-05-14  Angus Leeming  <leeming@lyx.org>
2082
2083         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2084         dependencies on src/frontends/controllers/biblio.h. Define a
2085         CiteEngine_enum wrapper class to enable the enum to be forward
2086         declared.
2087
2088 2004-05-12  Angus Leeming  <leeming@lyx.org>
2089
2090         * buffer.C: up LYX_FORMAT to 234.
2091         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2092         use_numerical_citations with a single biblio::CiteEngine cite_engine
2093         variable.
2094         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2095
2096 2004-05-13  José Matos  <jamatos@lyx.org>
2097
2098         * converter.h:
2099         * converter.C (Converter, readFlags): add xml member.
2100         * outputparams.h: add XML flavor.
2101         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2102
2103 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2104
2105         * lyxfunc.C (dispatch):
2106         (getStatus): fix handling of LFUN_SEQUENCE
2107
2108 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2109
2110         * debug.C (showLevel): do not forget the end-of-line marker
2111
2112 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2113
2114         * kbmap.C (read): do not stop parsing a bind file when an error
2115         occurs (bug 1575)
2116
2117 2004-04-29  Angus Leeming  <leeming@lyx.org>
2118
2119         * cursor.C:
2120         * factory.C:
2121         * pariterator.C:
2122         * text2.C: wrap a bunch of #warning statements
2123         inside #ifdef WITH_WARNINGS blocks.
2124
2125 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2126
2127         * buffer.C: increment format to 233.
2128
2129 2004-04-28  Angus Leeming  <leeming@lyx.org>
2130
2131         * BufferView_pimpl.C:
2132         * lyxfunc.C:
2133         * text3.C:
2134         s/updateToolbar()/updateToolbars()/
2135         s/Toolbar.h/Toolbars.h/
2136
2137 2004-04-28  Angus Leeming  <leeming@lyx.org>
2138
2139         * BufferView.[Ch] (c-tor):
2140         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2141         No longer passes these data to the WorkArea generator.
2142
2143 2004-04-28  Angus Leeming  <leeming@lyx.org>
2144
2145         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2146
2147 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2148
2149         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2150
2151 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2152
2153         * output_latex.C (TeXEnvironment): make sure that there is a line
2154         break before \end{foo} for the last paragraph of a document
2155         (TeXOnePar): if the paragraph is at the end of the document (or
2156         inset) and the language has to be reset, then make sure that the
2157         line break is _before_ the language command, not after (fixes bug
2158         1225); also make sure that the language reset command is the first
2159         thing after the paragraph (to ensure proper nesting of
2160         environments and thus fix bug 1404)
2161
2162 2004-04-21  John Levon  <levon@movementarian.org>
2163
2164         * ToolbarBackend.h:
2165         * ToolbarBackend.C: make "name" be a programmatic name
2166         and a gui_name field.
2167
2168         * lyxfunc.C: display the minibuffer on M-x
2169
2170 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2171
2172         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2173         (bug 1526)
2174
2175 2004-04-19  Angus Leeming  <leeming@lyx.org>
2176
2177         * BufferView_pimpl.C (setBuffer): changed preview interface.
2178
2179         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2180         possible values.
2181
2182 2004-04-19  John Levon  <levon@movementarian.org>
2183
2184         * BufferView_pimpl.C:
2185         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2186
2187 2004-04-05  Angus Leeming  <leeming@lyx.org>
2188
2189         * text.C (redoParagraphs): add call to updateCounters(), thereby
2190         fixing the missing "Figure #:" label from the caption of a
2191         figure float.
2192
2193 2004-04-13  Angus Leeming  <leeming@lyx.org>
2194
2195         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2196         cursor is clicked out of an inset.
2197
2198 2004-04-13  Angus Leeming  <leeming@lyx.org>
2199
2200         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2201         than an InsetOld one.
2202
2203 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2204
2205         * format.[Ch]: add editor to Format
2206         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2207         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2208
2209 2004-04-08  André Pönitz  <poenitz@gmx.net>
2210
2211         * metricsinfo.h: remove PainterInfo::width member
2212
2213 2004-04-08  Angus Leeming  <leeming@lyx.org>
2214
2215         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2216         "\providecommand" rather than "\newcommand", thereby preventing
2217         clashes with packages that define "\boldsymbol" themselves.
2218         Eg, beamer.
2219
2220 2004-04-08  Angus Leeming  <leeming@lyx.org>
2221
2222         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2223         thereby squashing an unnecessary warning.
2224
2225 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2226
2227         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2228         setBuffer()
2229
2230 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2231
2232         * BufferView.C (setCursor): call redoParagraph (some insets could
2233         have been opened)
2234         (putSelectionAt): remove the 'double update' trick
2235
2236         * BufferView_pimpl.C (fitCursor): call refreshPar
2237         (workAreaDispatch): remove an uneeded update call
2238         (dispatch): remove some manual update calls
2239
2240         * cursor.[Ch]: remove cached_y_, updatePos
2241         (selHandle): set noUpdate when appropriate
2242
2243         * lyxfunc.C (dispatch): track if we need an update
2244
2245         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2246
2247         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2248         (paintSelection): cheap optimization, do not call cursorX when not
2249         needed
2250         (paintPars): change signature
2251         (refreshPar): add
2252         (paintText): adjust
2253         (paintTextInset): adjust
2254
2255         * text.C: adjust
2256
2257 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2258
2259         * lengthcommon.C: compilation fix: remove explicit array size from
2260         unit_name[] and friends
2261
2262 2004-04-05  Angus Leeming  <leeming@lyx.org>
2263
2264         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2265
2266         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2267         present only for the preferences dialog.
2268         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2269
2270 2004-04-05  Angus Leeming  <leeming@lyx.org>
2271
2272         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2273         to enable the frontends to export changes to lyxrc correctly.
2274
2275         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2276
2277 2004-04-07  André Pönitz  <poenitz@gmx.net>
2278
2279         * cursor.[Ch] (selClear, adjust): remove math
2280
2281         * cursor_slice.C: more agressive assert
2282
2283         * lyxfunc.C:
2284         * BufferView_pimpl.C: rework mouse event dispatch
2285
2286         * dociterator.C:
2287         * paragraph.C:
2288         * text2.C:
2289         * text3.C: adjust
2290
2291 2004-04-05  André Pönitz  <poenitz@gmx.net>
2292
2293         * cursor.[Ch] (valign, halign...): remove unneeded functions
2294
2295 2004-04-05  Angus Leeming  <leeming@lyx.org>
2296
2297         * lyxlength.[Ch] (unit_name et al.): const-correct.
2298
2299 2004-04-05  Angus Leeming  <leeming@lyx.org>
2300
2301         * BufferView_pimpl.C:
2302         * buffer.C:
2303         * counters.C:
2304         * cursor.C:
2305         * lyxfunc.C
2306         * paragraph.C:
2307         * pariterator.C:
2308         * text.C:
2309         * text2.C:
2310         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2311
2312 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2313
2314         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2315
2316 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2317
2318         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2319         * BufferView_pimpl.[Ch] (getStatus)
2320         * BufferView.[Ch] (getStatus): add
2321         * lyxfunc.C (getStatus): move lfuns handled in
2322         BufferView::dispatch to te function above
2323         * Cursor.C (setSelection): set selection() = true
2324
2325 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2326
2327         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2328
2329 2004-03-31  Angus Leeming  <leeming@lyx.org>
2330
2331         * lyxfunc.C (dispatch): Fall through to the generic
2332         Dialogs::show("preamble").
2333
2334 2004-03-31  Angus Leeming  <leeming@lyx.org>
2335
2336         * lyxfunc.C (dispatch): Fall through to the generic
2337         Dialogs::show("spellchecker").
2338
2339 2004-03-31  Angus Leeming  <leeming@lyx.org>
2340
2341         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2342         preferences dialog.
2343
2344 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2345
2346         * BufferView.C
2347         * cursor.[Ch]
2348         * dociterator.[Ch]:
2349         * insetiterator.[Ch]:
2350         * lyxfind.C:
2351         * lyxfunc.C:
2352         * pariterator.[Ch]:
2353         * text2.C:
2354         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2355
2356 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2357
2358         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2359         insets where we are putting the cursor.
2360
2361 2004-03-31  Angus Leeming  <leeming@lyx.org>
2362
2363         * lfuns.h:
2364         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2365
2366         * lyxrc.[Ch] (read, write): overloaded member functions taking
2367         a std::[io]stream arguments.
2368
2369         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2370
2371 2004-03-31  Angus Leeming  <leeming@lyx.org>
2372
2373         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2374         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2375
2376         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2377         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2378
2379 2004-03-31  Angus Leeming  <leeming@lyx.org>
2380
2381         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2382         the LFUN_ALL_INSETS_TOGGLE code.
2383
2384 2004-03-30  Angus Leeming  <leeming@lyx.org>
2385
2386         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2387         has died. Fall through to the generic Dialogs::show("document").
2388
2389 2004-03-30  Angus Leeming  <leeming@lyx.org>
2390
2391         * lfuns.h:
2392         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2393         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2394
2395         * lyxfunc.C (getStatus, dispatch): define the actions for these
2396         lfuns. Little more than a cut and pste job from ControlDocument.C
2397
2398         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2399
2400 2004-03-30  Angus Leeming  <leeming@lyx.org>
2401
2402         * lfuns.h:
2403         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2404         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2405
2406         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2407         open/closed state of ollapsable insets. Usage:
2408
2409         all-inset-toggle <state> <name>, where
2410         <state> == "open" || "closed" || "toggle" and
2411         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2412
2413         * lyxtext.h, text2.C (toggleInset): removed.
2414
2415         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2416         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2417         now passes LFUN_INSET_TOGGLE to the found inset.
2418
2419         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2420         is now invoked as "all-insets-toggle toggle branch".
2421
2422 2004-03-30  Angus Leeming  <leeming@lyx.org>
2423
2424         * dociterator.C:
2425         * insetiterator.C:
2426         * pariterator.[Ch]: added/corrected header blurb.
2427
2428 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2429
2430         * dociterator.[Ch]: add an inset_ member
2431         (backwardPos): implemented
2432         (backwardPos, forwardPos): use inset_ when the stack is empty.
2433         (doc_iterator_begin, doc_iterator_end): implemented
2434         * pariterator.[Ch]: adjust, add begin, end
2435         * insetiterator.[Ch]: adjust, add begin, end
2436         * cursor.C:
2437         * document.C:
2438         * BufferView.C:
2439         * BufferView_pimpl.C:
2440         * CutAndPaste.C: adjust
2441
2442 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2443
2444         * buffer.C: increment file format to 232.
2445         * LaTeXFeatures.C: add bibtopic package.
2446         * bufferparams.[Ch]: param \use_bibtopic.
2447
2448         * lyxrc.[Ch]: add lyxrc bibtex_command
2449         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2450
2451         * buffer.C: increment file format to 231.
2452
2453 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2454
2455         * dociterator.C: implement forwardPar
2456         * iterators.[Ch]: remove, replaced by
2457         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2458         * BufferView.C:
2459         * BufferView_pimpl.C:
2460         * CutAndPaste.C:
2461         * buffer.C:
2462         * bufferview_funcs.C:
2463         * cursor.C:
2464         * lyxfind.C
2465         * lyxfunc.C
2466         * paragraph_funcs.C
2467         * toc.C:
2468         * Makefile.am: adjust
2469
2470 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2471
2472         * CutAndPaste.C (pasteSelection): fix 2 crashes
2473         (eraseSelection): fix a crash
2474         * paragraph_funcs.C: remove a warning
2475
2476 2004-03-28  Angus Leeming  <leeming@lyx.org>
2477
2478         * lfuns.h:
2479         * LyXAction.C (init): new LFUN_PRINT.
2480
2481         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2482
2483 2004-03-27  Angus Leeming  <leeming@lyx.org>
2484
2485         * lfuns.h:
2486         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2487
2488         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2489
2490 2004-03-27  Angus Leeming  <leeming@lyx.org>
2491
2492         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2493         insetlist always contains non-null pointers to insets.
2494
2495 2004-03-26  Angus Leeming  <leeming@lyx.org>
2496
2497         * src/BufferView_pimpl.C:
2498         * src/CutAndPaste.C:
2499         * src/buffer.C:
2500         * src/iterators.C:
2501         * src/output_plaintext.C:
2502         * src/outputparams.h:
2503         * src/paragraph_funcs.C:
2504         * src/rowpainter.C:
2505         * src/text.C:
2506         * src/text2.C:
2507         * src/frontends/controllers/ControlErrorList.C:
2508         * src/frontends/gtk/FileDialogPrivate.C:
2509         * src/frontends/gtk/GPainter.C:
2510         * src/frontends/gtk/GToolbar.C:
2511         * src/frontends/qt2/QRef.C:
2512         * src/mathed/math_scriptinset.C: squash compiler warnings.
2513
2514 2004-03-26  Angus Leeming  <leeming@lyx.org>
2515
2516         * ispell.C (LaunchIspell::start):
2517         * lyx_cb.C (AutoSaveBuffer::start):
2518         invoke run(DontWait) rather than runNonBlocking().
2519
2520 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2521
2522         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2523
2524 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2525
2526         * kbsequence.C (print): adjust
2527
2528         * kbmap.C (printKeySym): rename and change signature
2529         (printKey): use LyXKeySym::print()
2530
2531 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2532
2533         * undo.C: add using std::advance to compile for stlport
2534
2535 2004-03-24  Angus Leeming  <leeming@lyx.org>
2536
2537         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2538         it leads to a crash when no buffer is present.
2539
2540 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2541             Martin Vermeer  <martin.vermeer@hut.fi>
2542
2543         * lyxfunc.C (dispatch):
2544         * bufferparams.C (readToken): use the new LColor::setColor
2545
2546         * LColor.[Ch] (setColor): new version that takes two strings as
2547         argument and creates a new color entry if necessary
2548
2549 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2550
2551         * buffer.C (makeLaTeXFile): if the main latex file that is
2552         processed is usually a subdocument of some master, then pretend
2553         for a while that it is actually the master
2554
2555 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2556
2557         * buffer.C (getLabelList):
2558         (getBibkeyList): use getMasterBuffer()
2559         (getMasterBuffer): new method. Returns the main document in the
2560         case where one is using included documents.
2561
2562 2004-03-25  André Pönitz  <poenitz@gmx.net>
2563
2564         * Makefile.am:
2565         * iterators.[Ch]:
2566         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2567
2568         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2569
2570         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2571         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2572
2573         * ParameterStruct.h: merge with ParagraphParameters
2574
2575         * lyxtext.h: remove LyXText::parOffset() and getPar()
2576
2577         * text3.C: Remove all 'manual' update calls. We do now one per user
2578         interaction which is completely sufficient.
2579
2580         * Bidi.C:
2581         * BufferView.[Ch]:
2582         * BufferView_pimpl.C:
2583         * FontIterator.[Ch]:
2584         * MenuBackend.C:
2585         * ParagraphParameters.[Ch]:
2586         * buffer.C:
2587         * buffer.h:
2588         * bufferlist.C:
2589         * cursor.[Ch]:
2590         * cursor_slice.[Ch]:
2591         * dociterator.[Ch]:
2592         * errorlist.[Ch]:
2593         * factory.C:
2594         * lfuns.h:
2595         * lyxfind.C:
2596         * lyxfunc.C:
2597         * output_docbook.[Ch]:
2598         * output_latex.[Ch]:
2599         * output_linuxdoc.[Ch]:
2600         * output_plaintext.[Ch]:
2601         * paragraph.[Ch]:
2602         * paragraph_funcs.[Ch]:
2603         * paragraph_pimpl.[Ch]:
2604         * rowpainter.C:
2605         * tabular.[Ch]:
2606         * text.C:
2607         * text2.C:
2608         * toc.C:
2609         * undo.[Ch]: adjust
2610
2611         * frontends/controllers/ControlDocument.C:
2612         * frontends/controllers/ControlErrorList.C:
2613         * frontends/controllers/ControlSpellchecker.C:
2614         * insets/inset.C:
2615         * insets/inset.h:
2616         * insets/insetbase.h:
2617         * insets/insetbibitem.C:
2618         * insets/insetbox.C:
2619         * insets/insetbranch.C:
2620         * insets/insetcaption.C:
2621         * insets/insetcharstyle.C:
2622         * insets/insetcharstyle.h:
2623         * insets/insetcollapsable.C:
2624         * insets/insetcollapsable.h:
2625         * insets/insetert.C:
2626         * insets/insetfloat.C:
2627         * insets/insetfoot.C:
2628         * insets/insetmarginal.C:
2629         * insets/insetnote.C:
2630         * insets/insetoptarg.C:
2631         * insets/insettabular.C:
2632         * insets/insettext.C:
2633         * insets/insettext.h:
2634         * insets/insetwrap.C:
2635         * mathed/math_mboxinset.C:
2636         * mathed/math_nestinset.C:
2637         * mathed/math_scriptinset.C:
2638         * mathed/math_scriptinset.h:
2639         * support/types.h:
2640
2641 2004-03-24  Angus Leeming  <leeming@lyx.org>
2642
2643         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2644         deal with any child processes that have finished but are waiting to
2645         communicate this fact to the rest of LyX.
2646
2647 2004-03-24  Angus Leeming  <leeming@lyx.org>
2648
2649         64-bit compile fixes.
2650
2651         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2652         (c-tor): pass lyx::pos_types rather than ints.
2653
2654         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2655         lyx::pos_type.
2656
2657         * text.C (Delete): compile fix.
2658         (getPar): ensure that function declaration is the same as that in
2659         the header file.
2660
2661 2004-03-23  Angus Leeming  <leeming@lyx.org>
2662
2663         * ispell.C (LaunchIspell):
2664         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2665         a boost::shred_ptr rather than a std::auto_ptr.
2666
2667 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2668
2669         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2670         handle LFUN_FILE_INSERT_*
2671
2672         * lyxrc.C (setDefaults, getDescription, output, read):
2673         * lyxrc.h: remove ps_command
2674
2675 2004-03-22  Angus Leeming  <leeming@lyx.org>
2676
2677         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2678         Ensure that error_handler is processed once only and that all data
2679         is saved before attempting to output any warning messages.
2680
2681         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2682
2683 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2684
2685         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2686
2687 2004-03-19  André Pönitz  <poenitz@gmx.net>
2688
2689         * cursor.[Ch] (reset): take main text inset as argument
2690
2691         * BufferView: adjust
2692         * BufferView_pimpl.C: adjust
2693
2694         * paragraph.[Ch]: fix completely broken operator=()
2695
2696 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2697
2698         * LColor.C (getFromLyXName): make sure that the color name is used
2699         as lowercase.
2700
2701 2004-03-17  Angus Leeming  <leeming@lyx.org>
2702
2703         * lfuns.h:
2704         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2705
2706         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2707         dialog and to kill a forked process.
2708
2709 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2710
2711         * text2.C (setCursorFromCoordinates): fix font problem
2712
2713 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2714
2715         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2716         bogus "rebuild cursor" code
2717
2718 2004-03-11  André Pönitz  <poenitz@gmx.net>
2719
2720         * buffer.[Ch]: use InsetText instead of LyXText as container for
2721         the main lyx text.
2722
2723         * dociterator.[Ch]: drop the BufferView * member which is not needed
2724         anymore after the change to buffer.C
2725
2726         * paragraph_funcs.C:
2727         * text.C:
2728         * text2.C:
2729         * BufferView.[Ch]:
2730         * BufferView_pimpl.[Ch]:
2731         * cursor.[Ch]:
2732         * cursor_slice.[Ch]: adjust
2733
2734         * text3.C: fix bug in mathDispatch
2735
2736 2004-03-08  André Pönitz  <poenitz@gmx.net>
2737
2738         * undo.[Ch]: use 'StableDocumentIterator' as base for
2739         the Undo struct.
2740
2741 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2742
2743         * LaTeXFeatures.C:
2744         * bufferparams.[Ch]: add jurabib support and param.
2745
2746         * LaTeX.C: add FIXME/comment.
2747
2748 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2749
2750         * buffer.C: increment file format to 230.
2751
2752 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2753
2754         * cursor.C (dispatch): avoid infinite loops
2755
2756 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2757
2758         * rowpainter.C (paintSelection): fix x coordinates
2759
2760 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2761
2762         * text.C (rowBreakPoint): fix breaking before displayed insets
2763
2764 2004-03-01  André Pönitz  <poenitz@gmx.net>
2765
2766         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2767
2768         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2769
2770         * Makefile.am:
2771         * BufferView.C:
2772         * BufferView_pimpl.C:
2773         * buffer.C:
2774         * lyxfind.C:
2775         * lyxfunc.C:
2776         * text.C:
2777         * text2.C:
2778         * text3.C: adjust
2779
2780 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2781
2782         * lyxtext.h:
2783         * text.C:
2784         * text2.C:
2785         * rowpainter.C:
2786         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2787         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2788
2789 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2790
2791         * Bidi.[Ch] (computeTables): const correctness
2792         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2793         fill_hfill, fill_label_hfill and x from Row
2794         * lyxtext.h: prepareToPrint returns a RowMetrics
2795         * rowPainter.C: adjust
2796         * text.C (prepareToPrint): use width, not textWidth. adjust
2797         (redoParagraphInternal, cursorX): adjust
2798         * text2.C (getColumnNearX): adjust
2799         (init): put a default value to the top LyXText::width
2800
2801 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2802
2803         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2804
2805 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2806
2807         * lyxtext.h: add FontIterator class
2808
2809         * text.C (FontIterator, operator*, operator->, operator++): add
2810         (rowBreakPoint, setRowWidth): adjust (fixing a
2811         rebreaking bug)
2812
2813 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2814
2815         * BufferView_pimpl.C (workAreaDispatch): allow also
2816         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2817
2818 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2819
2820         * text.C (rowBreakPoint): fix a bug showing with very large insets
2821
2822 2004-02-25  André Pönitz  <poenitz@gmx.net>
2823
2824         * text3.C:
2825         * cursor.[Ch]: move some mathed specific code to mathed
2826
2827 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2828
2829         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2830         use_tempdir in preferences
2831         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2832         tempfile creation
2833         * lyx_main.C: ensure that tempdir is valid
2834         * lyxlex.h: correct typo
2835         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2836         * paragraph.[Ch] (isMultiLingual): make const
2837         * cursor.[Ch] (openable): make const
2838
2839 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2840
2841         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2842
2843 2004-02-20  André Pönitz  <poenitz@gmx.net>
2844
2845         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2846
2847         * cursor.[Ch]: prepare for localized getStatus()
2848
2849         * lyxtext.h:
2850         * tabular.C:
2851         * text.C:
2852         * text2.C:
2853         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2854
2855 2004-02-20  André Pönitz  <poenitz@gmx.net>
2856
2857         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2858
2859 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2860
2861         * text2.C (setCursorFromCoordinates): switch to absolute coords
2862         (cursorUp): adjust
2863         (cursorDown): adjust
2864         * text3.C (dispatch): adjust
2865
2866 2004-02-16  André Pönitz  <poenitz@gmx.net>
2867
2868         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2869           insets/ChangeLog)
2870
2871         * cursor_slice.[Ch]: remove unneeded acessor function
2872
2873         * lyxtext.h: rename rtl() to isRTL()
2874
2875         * rowpainter.C:
2876         * tabular.C:
2877         * text.C:
2878         * text2.C:
2879         * text3.C: adjust
2880
2881 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2882
2883         * rowpainter.C (paintSelection): coord fix
2884
2885 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2886
2887         * Spacing.C: compile fix
2888
2889 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2890
2891         * cursor.C (dispatch): restore current_ before returning
2892
2893 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2894
2895         * text2.C (cursorUp, cursorDown): fix coords
2896         (moveUp): fix crash
2897
2898 2004-02-12  André Pönitz  <poenitz@gmx.net>
2899
2900         * lyxtext.h:
2901         * text.C:
2902         * text2.C:
2903         * text3.C: add LCursor & parameter to most cursor movement functions
2904           remove usage of LyXText::cursorRow() and cursorPar()
2905
2906         * cursor.[Ch]: add textRow() needed members
2907
2908         * BufferView.C:
2909         * BufferView_pimpl.C:
2910         * paragraph.[Ch]:
2911         * BufferView.C:
2912         * BufferView_pimpl.C: adjust
2913
2914 2004-02-11  André Pönitz  <poenitz@gmx.net>
2915
2916         * lyxfunc.C:
2917         * BufferView.[Ch]:
2918         * BufferView_pimpl.C: shift undo/redo handling
2919
2920         * cursor.[Ch]: fix mathed crash
2921
2922         * lyxfind.C:
2923         * lyxtext.h: move selectionAsText to LCursor
2924
2925         * output_latex.C:
2926         * paragraph.C:
2927         * text.C:
2928         * text2.C:
2929         * text3.C: adjust
2930
2931         * rowpainter.C: fix excessive drawing
2932
2933 2004-02-06  André Pönitz  <poenitz@gmx.net>
2934
2935         * BufferView.[Ch]:
2936         * BufferView_pimpl.[Ch]:
2937         * text3.C: move some text specific LFUN handling
2938
2939 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2940
2941         * text3.C (checkInsetHit): adjust coords
2942         * text2.C (getColumnNearX): adjust coords
2943         (edit): adjust coords
2944         * text.C (getRowNearY): add two asserts
2945
2946 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2947
2948         * converter.C:
2949         * format.C: add using std::distance to compile on gcc 2.95/stlport
2950
2951 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2952
2953         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2954
2955 2004-02-04  André Pönitz  <poenitz@gmx.net>
2956
2957         * BufferView.[Ch] (insertInset):
2958         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2959
2960         * text2.C:
2961         * text3.C: adjust
2962
2963 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2964
2965         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2966         on the default clause of the switch
2967         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2968         wasn't catched by LCursor::dispatch
2969
2970 2004-02-03  André Pönitz  <poenitz@gmx.net>
2971
2972         * BufferView.C:
2973         * cursor.[Ch]: some additional asserts
2974
2975         * undo.[Ch]: remove LyXText dependency in interface
2976
2977         * lyxfunc.C: adjust
2978
2979         * lyxtext.h (firstPar, lastPar): remove dead functions
2980
2981         * text.C:
2982         * text2.C:
2983         * text3.C:
2984         * paragraph.[Ch]: adjust
2985
2986 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2987
2988         * lyxfind.C (find): fix argument order in call to ::find
2989
2990 2004-02-02  André Pönitz  <poenitz@gmx.net>
2991
2992         * cursor.[Ch]: remove direct access to anchor
2993
2994         * text.C: remove findText() hack
2995
2996 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2997
2998         * iterators.[Ch] (lockPath): remove in favour of...
2999         * BufferView.[Ch] (setCursor): this addition
3000         * BufferView.C (putSelectionAt): adjust
3001         * undo.C (performUndoOrRedo): adjust
3002         * lyxfunc.C (dispatch): adjust
3003
3004 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3005
3006         * iterators.C (lockPath): add a missing slice
3007         * undo.C (performUndoOrRedo): remove redundant positioning code
3008
3009 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3010
3011         * vc-backend.C (scanMaster): ";" -> ';'
3012
3013 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3014
3015         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3016         std::binary_function
3017
3018         * lyxtextclass.C (compare_name): rename to...
3019         (LayoutNamesEqual): ...this
3020
3021         * lyxlex_pimpl.C (compare_tags): inherit from
3022         std::binary_function, put back into anon namespace
3023
3024         * lyxfind.C (MatchString): inherig from std::binary_function
3025         (findChange): use empty() istead of !size()
3026
3027         * format.C (FormatNamesEqual): new functor
3028         (getFormat): use it
3029         (getNumber): use it
3030         (add): use it
3031         (erase): use it
3032         (setViewer): use it
3033
3034         * converter.C (compare_Converter): rename to...
3035         (ConverterEqual): ...this, and fixup a bit.
3036         (getConverter): use it, and make function const
3037         (getNumber): use it, and make function const
3038         (add): use it
3039         (erase): use it:
3040
3041         * bufferlist.C: add using boost::bind
3042
3043         * MenuBackend.C (MenuNamesEqual): new functor
3044         (hasMenu): use it, and make function const
3045         (hasSubmenu): use nested bind to get rid of compare_memfun.
3046
3047 2004-01-30  André Pönitz  <poenitz@gmx.net>
3048
3049         * BufferView_pimpl.C:
3050         * cursor.C:
3051         * cursor.h:
3052         * cursor_slice.[Ch]:
3053         * lyxfunc.C:
3054         * lyxtext.h:
3055         * paragraph_funcs.C:
3056         * paragraph_funcs.h:
3057         * rowpainter.C:
3058         * text.C:
3059         * text2.C:
3060         * text3.C: move some of the edit(x,y) handling to the insets
3061         some coordinate changes.
3062
3063 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3064
3065         * text.C: add using statements for std::advance and std::distance
3066
3067         * paragraph.C: add using statement for std::distance
3068
3069         * lyxfind.C: add using statement for std::advance
3070
3071         * cursor.C (region): remove std:: from swap
3072         (openable): use nucleus in stead of operator->
3073
3074         * BufferView.C: add using statements for std::distance and std::swap
3075
3076 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3077
3078         * iterators.C: Remove the pimple, move the needed structures to
3079         the header file. Create accessor for the positions stack.
3080         (asPosIterator): remove function
3081
3082         * PosIterator.C (PosIterator): move constructors to top of file
3083         (PosIterator): reimplement the constructor taking a ParIterator in
3084         terms of setFrom.
3085         (setFrom): new function
3086         (operator!=): inline it
3087
3088 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3089
3090         * lyxfind.C (replaceAll): use std::advance
3091
3092         * iterators.h: inherit from std::iterator.
3093
3094         * PosIterator.C (advance, distance): remove
3095         * PosIterator.h: interit from std::iterator.
3096
3097 2004-01-26  André Pönitz  <poenitz@gmx.net>
3098
3099         * BufferView.[Ch]:
3100         * BufferView_pimpl.[Ch]:
3101         * InsetList.[Ch]:
3102         * PosIterator.[Ch]:
3103         * buffer.h:
3104         * bufferview_funcs.C:
3105         * cursor.[Ch]:
3106         * cursor_slice.h:
3107         * factory.[Ch]:
3108         * iterators.[Ch]:
3109         * lyxfind.C:
3110         * lyxfunc.C:
3111         * lyxtext.h:
3112         * output_docbook.C:
3113         * output_latex.C:
3114         * output_linuxdoc.C:
3115         * output_plaintext.C:
3116         * paragraph.[Ch]:
3117         * paragraph_funcs.[Ch]:
3118         * paragraph_pimpl.[Ch]:
3119         * rowpainter.C:
3120         * tabular.C:
3121         * tabular.h:
3122         * text.C:
3123         * text2.C:
3124         * text3.C: more IU:  dumps most of the rest of the mathcursor
3125     implementation into cursor.[Ch]; "globalize" a bit of it.
3126
3127 2004-01-25  Angus Leeming  <leeming@lyx.org>
3128
3129         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3130
3131 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3132
3133         * LaTeXFeatures.h: add nice_ and nice() const
3134         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3135
3136 2004-01-20  André Pönitz  <poenitz@gmx.net>
3137
3138         * BufferView.[Ch]:
3139         * BufferView_pimpl.C:
3140         * PosIterator.C:
3141         * bufferview_funcs.C:
3142         * cursor.[Ch]:
3143         * cursor_slice.[Ch]:
3144         * factory.C:
3145         * iterators.C:
3146         * lyx_cb.C:
3147         * lyxfind.C:
3148         * lyxfunc.C:
3149         * lyxtext.h:
3150         * rowpainter.C:
3151         * text.C:
3152         * text2.C:
3153         * text3.C:
3154         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3155           LCursor and mathcursor parts to LCursor and InsetBase.
3156
3157 2004-01-15  André Pönitz  <poenitz@gmx.net>
3158
3159         * cursor_slice.[Ch]: add a few covienience functions
3160
3161         * funcrequest.[Ch]: remove BufferView * member
3162
3163         * BufferView_pimpl.C:
3164         * cursor.C:
3165         * factory.[Ch]:
3166         * lyxfind.[Ch]:
3167         * lyxfunc.C:
3168         * lyxtext.h:
3169         * text3.C:
3170         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3171
3172 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3173
3174         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3175         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3176
3177 2004-01-13  André Pönitz  <poenitz@gmx.net>
3178
3179         * textcursor.[Ch]:
3180         * lyxtext.h: hide cursor and selection anchor behind accessor function
3181
3182         * BufferView.C:
3183         * BufferView_pimpl.[Ch]:
3184         * PosIterator.C:
3185         * bufferview_funcs.C:
3186         * cursor.h:
3187         * lyxfind.C:
3188         * lyxfunc.C:
3189         * text.C:
3190         * text2.C:
3191         * text3.C:
3192         * undo.C: adjust
3193
3194         * cursor.h:
3195         * cursor_slice.[Ch]: some integer type changes for inset unification
3196
3197         * lyxcursor.[hC]: remove, it's CursorSlice now.
3198
3199         * Makefile.am:
3200         * BufferView_pimpl.[Ch]:
3201         * bufferview_funcs.C:
3202         * cursor_slice.C:
3203         * lyxtext.h:
3204         * text.C:
3205         * text2.C:
3206         * text3.C:
3207         * textcursor.[Ch]: adjust
3208
3209 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3210
3211         * text2.C (undoSpan): add and use
3212         * text.C (breakParagraph): use undoSpan (fix bug 578)
3213         * lyxtext.h: adjust
3214
3215 2004-01-08  Angus Leeming  <leeming@lyx.org>
3216
3217         * BufferView_pimpl.C (MenuInsertLyXFile):
3218         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3219         * lyxfunc.C (menuNew, open, doImport):
3220         FileFilterList change to the FileDialog open and save functions.
3221
3222 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3223
3224         * ShareContainer.h: make isEqual and isUnique adaptable
3225
3226         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3227
3228 2004-01-07  Angus Leeming  <leeming@lyx.org>
3229
3230         * LyXAction.C:
3231         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3232
3233         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3234
3235         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3236         functions replacing find, replace and replaceAll.
3237
3238         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3239         LFUN_WORDFIND(FORWARD|BACKWARD).
3240
3241 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3242
3243         * text.C (breakParagraph): remove an outdated #warning
3244
3245 2004-01-07  André Pönitz  <poenitz@gmx.net>
3246
3247         * lyxfind.C: somewhat clearer logic
3248
3249         * text.C: prevent crash in cursorX on unitialized row cache
3250
3251 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3252
3253         * lyxcursor.[Ch] (operator>): add
3254         * textcursor.C (selStart, selEnd): use std::min and std::max
3255
3256 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3257
3258         * Chktex.C: include boost/format.hpp
3259
3260 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3261
3262         * InsetList.C: replace functor MathcIt with adaptable functor
3263         InsetTablePosLess
3264         (insetIterator): modify accordingly
3265
3266         * BranchList.h: move the BranchNamesEqual functor here from...
3267         * BranchList.C: ... to here
3268
3269         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3270         SameName and match.
3271         (add): replace a finding loop with std::find_if.
3272
3273 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3274
3275         * output_docbook.C: moving LatexParam functionality into
3276         .layout files
3277
3278 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3279
3280         * buffer.C: increment format to 229.
3281
3282 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3283
3284         * LaTeXFeatures.C:
3285         * lyx_sty.[Ch]: remove minipageindent_def
3286
3287         * LyXAction.C:
3288         * factory.C:
3289         * lfuns.h:
3290         * lyxfunc.C:
3291         * text3.C: remove LFUN_INSET_MINIPAGE
3292
3293 2003-12-28  Angus Leeming  <leeming@lyx.org>
3294
3295         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3296
3297 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3298
3299         * text2.C (setParagraph): fix off-by-one crash
3300
3301 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3302
3303         * output_docbook.C: header stuff for AGU
3304
3305 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3306
3307         * text2.C (redoCursor): remove
3308         * text.C:
3309         * text3.C:
3310         * BufferView_pimpl.C: remove calls to redoCursor and
3311         setCursor(cursor.par(), cursor.pos()) all around
3312
3313 2003-12-15  Angus Leeming  <leeming@lyx.org>
3314
3315         * buffer.C: up the format to 228.
3316
3317 2003-12-15  André Pönitz  <poenitz@gmx.net>
3318
3319         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3320         slices
3321
3322         * Makefile.am:
3323
3324         * BufferView_pimpl.C:
3325         * cursor.[Ch]:
3326         * lyxcursor.[Ch]:
3327         * rowpainter.[Ch]:
3328         * lyxtext.h:
3329         * text.C:
3330         * text2.C:
3331         * text3.C: adjust
3332
3333 2003-12-15  Angus Leeming  <leeming@lyx.org>
3334
3335         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3336         than getFromGUIName to manipulate the color.
3337
3338 2003-12-14  Angus Leeming  <leeming@lyx.org>
3339
3340         * BranchList.[Ch]: minimize the API.
3341         (Branch::getBranch, getColor): now return a 'const &'.
3342         (Branch::setSelected) now returns a bool set to true if the
3343         selection status changes.
3344         (BranchList::clear, size, getColor, setColor, setSelected,
3345         allBranches, allSelected, separator): removed.
3346         (BranchList::find): new functions, returning the Branch with
3347         the given name.
3348         (BranchList::add, remove): return a bool indicating that
3349         the operation was successful.
3350
3351         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3352         new InsetBranch::isBranchSlected member function.
3353
3354         * LColor.[Ch]: mimimize the API.
3355         (fill): renamed as addColor and made private.
3356         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3357         versions of these functions taking a string arg have been removed.
3358
3359         * bufferparams.C (readToken):
3360         * lyxfunc.C (dispatch):
3361         * lyxrc.C (read): changes due to the altered BranchList and
3362         LColor APIs.
3363
3364         * factory.C (createInset, readInset): changes due to altered
3365         InsetBranch c-tor.
3366
3367 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3368
3369         * factory.C:
3370         * lyxfunc.C: remove insetminipage. "minipage-insert"
3371         now produces a frameless minipage box inset.
3372
3373 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3374
3375         * textcursor.[Ch] (selStart,selEnd): add new methods
3376         remove selection::start, end, use LyXCursor::operator<
3377         * lyxcursor.[Ch] (operator<): add
3378         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3379         * BufferView.[Ch] (unsetXSel): add
3380         * text2.C (clearSelection): use unsetXSel,adjust
3381         * text.C: adjust
3382         * text3.C: adjust
3383         * rowpainter.C: adjust
3384         * bufferview_funcs.C (put_selection_at): adjust
3385
3386 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3387
3388         * BufferView_pimpl.C: small coord. correction
3389
3390 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3391
3392         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3393         dragging over the splash screen.
3394
3395 2003-12-11  Angus Leeming  <leeming@lyx.org>
3396
3397         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3398         as it is now handled in LyXText::dispatch.
3399
3400         * text3.C (doInsertInset): remove a level of nesting.
3401
3402 2003-12-11  Angus Leeming  <leeming@lyx.org>
3403
3404         * factory.C (createInset): changes due to the changed interface to
3405         InsetCommandMailer::string2params.
3406
3407 2003-12-10  Angus Leeming  <leeming@lyx.org>
3408
3409         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3410         'dialog-show-new-inset <inset name>'
3411
3412 2003-12-10  Angus Leeming  <leeming@lyx.org>
3413
3414         * buffer.C: up the format to 227.
3415
3416         * factory.C: the box inset is now identified simply by 'Box'.
3417
3418 2003-12-10  Angus Leeming  <leeming@lyx.org>
3419
3420         * buffer.C: up the format to 226.
3421
3422         * factory.C: the note inset is now identified simply by 'Note'.
3423
3424 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3425
3426         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3427         when a pit is enough. Standarize a couple of loops.
3428
3429 2003-12-05  Angus Leeming  <leeming@lyx.org>
3430
3431         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3432         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3433         data to the re-worked "log" dialog.
3434
3435 2003-12-03  André Pönitz  <poenitz@gmx.net>
3436
3437         * PosIterator.C:
3438         * iterators.C:
3439         * lyxtext.h:
3440         * output_latex.C:
3441         * paragraph_funcs.C:
3442         * text.C:
3443         * text2.C: use Inset::getText instead of Inset::getParagraph
3444
3445 2003-12-03  André Pönitz  <poenitz@gmx.net>
3446
3447         * buffer.[Ch]:
3448         * lyxtext.h:
3449         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3450         InsetText::read() as LyXText::read()
3451
3452 2003-12-02  Angus Leeming  <leeming@lyx.org>
3453
3454         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3455         type. Add a comment in the implementation that the function uses
3456         the stream's bad() function rather than fail() as the std::streams
3457         would do.
3458
3459 2003-12-02  André Pönitz  <poenitz@gmx.net>
3460
3461         * lyxlex.[Ch]: make interface more similar to std::stream
3462
3463         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3464
3465 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3466
3467         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3468
3469 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3470
3471         * vspace.[Ch]: remove VSpace::NONE
3472
3473 2003-12-01  André Pönitz  <poenitz@gmx.net>
3474
3475         * buffer.[Ch]:
3476         * lyxtext.h: move ParagraphList member to LyXText
3477         rename LyXText::ownerParagraphs to LyXText::paragraph
3478
3479         * CutAndPaste.C:
3480         * bufferview_funcs.C:
3481         * iterators.[Ch]:
3482         * lyx_cb.C:
3483         * paragraph.C:
3484         * rowpainter.C:
3485         * tabular.C:
3486         * text.C:
3487         * text2.C:
3488         * text3.C: adjust
3489
3490         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3491
3492         * undo.C: fix cursor positioning
3493
3494 2003-12-01  John Levon  <levon@movementarian.org>
3495
3496         * BufferView_pimpl.C: fix a crash on exit with
3497         a buffer open
3498
3499 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3500
3501         * BranchList.C: fix setSelected() method.
3502
3503 2003-11-28  André Pönitz  <poenitz@gmx.net>
3504
3505         * ParagraphParameters.[Ch]:
3506         * ParameterStruct.h: remove space above/below from Paragraph to
3507          InsetVSpace
3508
3509         * BufferView_pimpl.C:
3510         * factory.C:
3511         * lyxfunc.C:
3512         * lyxtext.h:
3513         * output_latex.C:
3514         * paragraph.C:
3515         * paragraph_funcs.C:
3516         * rowpainter.[Ch]:
3517         * text.C:
3518         * text2.C:
3519         * text3.C: adjust
3520
3521 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3522
3523         * factory.C: Syntax change for CharStyles
3524
3525 2003-11-28  André Pönitz  <poenitz@gmx.net>
3526
3527         * BufferView.[Ch]:
3528         * BufferView.[Ch]:
3529         * buffer.[Ch]:
3530         * buffer.[Ch]: move LyXText member
3531
3532 2003-11-28  André Pönitz  <poenitz@gmx.net>
3533
3534         * BufferView.[Ch]: make LyXText * text a private member
3535
3536         * BufferView_pimpl.C:
3537         * cursor.C:
3538         * iterators.C:
3539         * lyx_cb.C:
3540         * lyxfind.C:
3541         * lyxtext.h:
3542         * rowpainter.[Ch]:
3543         * text.C:
3544         * text2.C:
3545         * undo.C: adjust
3546
3547         * output_plaintext.C: cleanup
3548
3549 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3550
3551         * buffer.C:
3552         * lyxtextclass.[Ch]: parametrize SGML document header
3553
3554 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3555
3556         * converter.[Ch]:
3557         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3558         getFlavor().
3559
3560 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3561
3562         * text2.C (setFont): rework using PosIterator (no more recursive)
3563         (setCharFont): no more needed
3564         (setLayout): no more selection cursors fiddling (done by redoCursor)
3565         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3566         destroy remaining ones)
3567
3568 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3569
3570         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3571         * lyxtext.h: ditto
3572         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3573         selection cursors
3574         * lyxfunc.C: adjust
3575         * text3.C: adjust + re-allow multi par depth changes
3576         * textcursor.C: simplify a bit
3577
3578 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3579
3580         * src/buffer.C:
3581         * src/lyxlayout.C:
3582         * src/lyxlayout.h:
3583         * src/lyxtext.h:
3584         * src/output_docbook.C:
3585         * src/output_latex.C:
3586         * src/paragraph.C:
3587         * src/paragraph.h:
3588         * src/sgml.C:
3589         * src/sgml.h:
3590         * src/text2.C: Introducing a number of tags parametrizing various
3591         XML formats that we may want to support
3592
3593 2003-11-25  André Pönitz  <poenitz@gmx.net>
3594
3595         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3596
3597         * lyxtext.h (leftMargin/rightMargin): simplify interface
3598
3599         * rowpainter.C:
3600         * text.C:
3601         * text2.C:
3602         * text3.C: adjust
3603
3604 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3605
3606         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3607         master file to any child files. Fixes bug 546.
3608
3609 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3610
3611         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3612
3613 2003-11-24  André Pönitz  <poenitz@gmx.net>
3614
3615         * rowpainter.C: simplification
3616
3617         * text2.C (updateCounters): remove call to redoParagraph on
3618         changed labels as this is far too expensive.
3619
3620 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3621
3622         * converter.C (convert): fix a crash: this function gets
3623         called with buffer == 0 from importer code.
3624
3625 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3626
3627         * text3.C (cursorPrevious): make sure that we do not compare
3628         iterators form different containers.
3629         (cursorNext): ditto
3630
3631         * rowpainter.C (paintSelection): make sure that we do not compare
3632         iterators from different containers.
3633
3634         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3635         iterators from different ParagraphList containers.
3636         [NEXT] ditto
3637
3638         * text2.C (LyXText): change order of initialization slightly
3639         (operator=): new function. copy all variables except cache_par_
3640         (moveUp): make sure that we do not compare iterators from
3641         different ParagraphList constainers.
3642         (moveDown): ditto
3643
3644         * text.C (firstPar): new function
3645         (lastPar): new function
3646         (endPar): new function
3647
3648         * lyxtext.h: move things around and group public functions, public
3649         variables, private functions, private variables
3650
3651 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3652
3653         * factory.C: change call to InsetERT constructor to avoid
3654         additional invocation of method status
3655         * text2.C (toggleInset): remove redundant update() call
3656         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3657         instead of a Bufferview pointer
3658
3659 2003-11-21  André Pönitz  <poenitz@gmx.net>
3660
3661         * rowpainter.C: simplification
3662
3663 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3664
3665         * text3.C (dispatch): make possible to extend a word/row selection
3666         with the mouse
3667
3668 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3669
3670         * lyxtext.h: x0_,y0_ -> xo_,yo_
3671         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3672         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3673         * rowpainter.C (paintRows): paint full paragraphs
3674
3675 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3676
3677         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3678         screen coordinates)
3679
3680 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3681
3682         * lyxtext.h: add x0_, y0_
3683         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3684         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3685
3686 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3687
3688         * text2.C (setCursorIntern): move the x_target update here *
3689         * text3.C: change some bv() to true/false in calls to
3690         cursorUp/Down/Right/Left
3691         * cursor.C: use helper function.
3692
3693 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3694
3695         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3696         * paragraph_funcs.[Ch]: correct comment
3697         * rowpainter.C: do not paint selections away from bv->cursor()
3698         Fix a long standing selection painting bug.
3699         * text3.C: generalize mouse-selection code to LyXTexts other that
3700         top one
3701         * textcursor.C: do not use y coords if we can use par offsets
3702
3703 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3704
3705         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3706         cursor position after e.g. inset insert)
3707
3708 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3709
3710         * lyxfind.C (replace): adjust to locking removal + some
3711         code simplification
3712
3713 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3714
3715         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3716         of the path
3717
3718 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3719
3720         * lyxlayout.[Ch]:
3721         * output_docbook.C: XML sanitation: new layout
3722         parameters InnerTag and CommandDepth
3723
3724 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3725
3726         * BufferView_pimpl.C:
3727         * factory.C:
3728         * text3.C: Fix the insertion and modification of button-style
3729         insets
3730
3731 2003-11-13  André Pönitz  <poenitz@gmx.net>
3732
3733         * InsetList.[Ch]: remove deleteLyXText
3734
3735         * paragraph.[Ch]: cache beginOfBody position
3736
3737         * Bidi.C:
3738         * text.C:
3739         * text2.C:
3740         * text3.C: remove superfluous update() calls
3741
3742         * vspace.C: cleanup
3743
3744 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3745
3746         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3747         * BufferView.C (fitLockedInsetCursor): remove
3748         * cursor.[Ch] (getDim): add
3749         * text.C (getRowNearY): add faster version
3750         * text3.C: remove some update calls
3751
3752 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3753
3754         * LaTeXFeatures.C:
3755         * LyXAction.C:
3756         * MenuBackend.C:
3757         * MenuBackend.h:
3758         * dispatchresult.h:
3759         * factory.C:
3760         * lfuns.h:
3761         * lyxfunc.C:
3762         * lyxtextclass.C:
3763         * lyxtextclass.h:
3764         * text3.C: The Character Style /XML short element patch.
3765
3766 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3767
3768         * text3.C:
3769         * factory.C: Small step to solving 'unable to insert some insets'
3770         problem
3771
3772 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3773
3774         * cursor.[Ch] (updatePos): new function for updating the y
3775         position of the tip inset
3776         * bufferview_funcs.C (put_selection_at):
3777         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3778
3779 2003-11-11  André Pönitz  <poenitz@gmx.net>
3780
3781         * text.C: remove big comment on invalid Paragraph pointers as it is
3782         not valid anymore
3783
3784 2003-11-11  André Pönitz  <poenitz@gmx.net>
3785
3786         * text_funcs.[Ch]: merge with ...
3787
3788         * text.C: ... this
3789
3790         * lyxtext.h:
3791         * text2.C:
3792         * text3.C: adjust
3793
3794         * Makefile.am: remove text_funcs.[Ch]
3795
3796 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3797
3798         * cursor.C (getPos): return absolute cached y coord
3799
3800         * BufferView_pimpl.C (fitCursor): new simplistic code
3801         (workAreaDispatch): add a fitCursor call
3802
3803 2003-11-10  André Pönitz  <poenitz@gmx.net>
3804
3805         * BufferView.[Ch]:
3806         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3807
3808 2003-11-10  André Pönitz  <poenitz@gmx.net>
3809
3810         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3811         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3812         indicate that the cursor needs to leave an inset
3813
3814         * lyxtext.h: remove inset locking
3815
3816         * cursor.[Ch]: re-implement functionality provided by inset locking
3817
3818         * BufferView.[Ch]:
3819         * BufferView_pimpl.[Ch]:
3820         * LyXAction.C:
3821         * bufferview_funcs.[Ch]:
3822         * factory.C:
3823         * funcrequest.[Ch]:
3824         * iterators.C:
3825         * lyx_cb.C:
3826         * lyxfind.C:
3827         * lyxfunc.C:
3828         * text.C:
3829         * text2.C:
3830         * text3.C:
3831         * undo.C: adjust
3832
3833 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3834
3835         * PosIterator.[Ch]: replace the stack with a vector, add inset
3836         accesor
3837         * iterators.[C]: adjust
3838
3839 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3840
3841         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3842         replaced
3843         * paragraph_funcs.C (readParToken): put the correct id in the
3844         error item, not the id of the top paragraph
3845
3846 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3847
3848         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3849         * bufferview_funcs.C (put_selection_at): use the above
3850
3851 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3852
3853         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3854
3855 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3856
3857         * output_linuxdoc.h:
3858         * output_plaintext.h:
3859         * output.h:
3860         * output_docbook.h: add #include statements
3861
3862 2003-11-05  José Matos  <jamatos@lyx.org>
3863
3864         * output_docbook.[Ch]:
3865         * output_latex.[Ch]:
3866         * output_linuxdoc.[Ch]:
3867         * output_plaintext.[Ch]: New files for output formats.
3868         * output.[Ch]: New file for helper functions.
3869
3870         * buffer.[Ch]:
3871         * paragraph_funcs.[Ch]: output functions moved to new files.
3872
3873         * outputparams.h: rename of latexrunparams.h
3874
3875         * LaTeX.[Ch]:
3876         * buffer.[Ch]:
3877         * bufferlist.[Ch]:
3878         * converter.[Ch]:
3879         * exporter.C:
3880         * paragraph.[Ch]:
3881         * paragraph_funcs.[Ch]:
3882         * paragraph_pimpl.[Ch]:
3883         * tabular.[Ch]: rename ascii to plaintext
3884         and LatexRunParams to OutputParams.
3885
3886 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3887
3888         * iterators.[Ch] (text): require bv argument
3889         * undo.C (recordUndo):
3890         * lyxfunc.C (dispatch):
3891         * bufferview_funcs.C (put_selection_at): adjust
3892
3893 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3894
3895         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3896
3897 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3898
3899         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3900         nestings
3901
3902 2003-11-04  André Pönitz  <poenitz@gmx.net>
3903
3904         * cursor.[Ch]: restructure
3905
3906         * BufferView.[Ch]:
3907         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3908
3909         * iterators.[Ch] (asCursor): remove
3910
3911         * lfuns.h: remove LFUN_INSET_EDIT
3912
3913         * lyxfunc.C:
3914         * tabular.C:
3915         * text.C:
3916         * text2.C:
3917         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3918
3919 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3920
3921         * lyxfind.[Ch]: complete overhaul
3922         * BufferView_pimpl.C:
3923         * lyxfunc.C: adjust
3924         * paragraph.[Ch] (insert): add
3925
3926 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3927
3928         * BufferView.[Ch]:
3929         * lyxtext.h:
3930         * text.C: remove dead spellcheck code
3931
3932 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * dispatchresult.h: add a val setter
3935
3936         * cursor.C (dispatch): use a tempvar for data_[i]
3937
3938 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3939
3940         * PosIterator.[Ch]: compile fix
3941
3942 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3943
3944         * text.C (cursorPar): deactivate the cursor cache
3945
3946 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3947
3948         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3949
3950 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3951
3952         * text3.C (dispatch): adjust for new DisptchResult semantics.
3953
3954         * lyxfunc.C (dispatch): handle update when return from
3955         Cursor::dispatch, adjust for new DispatchResult semantics.
3956
3957         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3958         DispatchResult(true) mean to not update. Add class functions for
3959         setting dispatched and update, as well as reading.
3960
3961         * cursor.C (dispatch): don't handle update here
3962
3963 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3964
3965         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3966         * trans_mgr.C: adjust
3967
3968         * paragraph_funcs.C (readParToken): exception safety
3969
3970         * lyxvc.h: store the vcs pointer in a scoped_ptr
3971         * lyxvc.C: adjust
3972
3973         * lyxsocket.C (serverCallback): exception safety
3974
3975         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3976
3977         * ispell.C (clone): make it return a auto_ptr
3978
3979         * factory.C (createInset): exception safety
3980         (readInset): exception safety
3981
3982         * bufferlist.C (newBuffer): exception safety
3983
3984         * Thesaurus.C (Thesaurus): use initialization for aik_
3985
3986         * MenuBackend.C (expandToc): exception safety.
3987
3988 2003-11-03  André Pönitz  <poenitz@gmx.net>
3989
3990         * buffer.C:
3991         * buffer.h:
3992         * bufferview_funcs.C: remove getInsetFromId()
3993
3994         * lyxcursor.[Ch]:
3995         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3996
3997         * lyxfunc.C:
3998         * text2.C:
3999         * text3.C: adjust
4000
4001 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4002
4003         * PosIterator.C (distance, advance): new
4004         * bufferview_funcs.[Ch] (put_selection_at): new
4005         * iterators.[Ch] (lockPath): new
4006
4007 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4008
4009         * iterators.[Ch] (asPosIterator): added
4010         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4011         * PosIterator.[Ch]: added
4012
4013 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4014
4015         * text3.C:
4016         * lyxfunc.C:
4017         * cursor.C (dispatch):
4018         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4019
4020         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4021         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4022         contructor, add a class function dispatched. Remove operator>=
4023
4024 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4025
4026         * debug.C: only use the default constructor for debugstream
4027         (lyxerr) here.
4028
4029         * main.C (main): include debug.h and setup the lyxerr streambuf
4030         here.
4031
4032 2003-10-31  José Matos  <jamatos@lyx.org>
4033
4034         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4035
4036         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4037         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4038         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4039         * paragraph_pimpl.C (simpleTeXSpecialC):
4040         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4041         add LatexRunParams argument.
4042
4043         * exporter.C (Export): change call accordingly.
4044
4045         * latexrunparams.h: add new member to take care of the other backends.
4046 2003-10-30  José Matos  <jamatos@lyx.org>
4047
4048         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4049         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4050         factorise code for paragraph output.
4051         * buffer.[Ch]:
4052         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4053         move functions.
4054
4055 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4056
4057         * text3.C (dispatch):
4058         * lyxfunc.C (dispatch):
4059         * cursor.C (dispatch):
4060         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4061
4062         * dispatchresult.h: make the dispatch_result_t ctor explicit
4063
4064 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4065
4066         * sgml.[Ch]:
4067         * buffer.C: small refactoring of docbook stuff
4068
4069 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4070
4071         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4072         meaning.
4073
4074 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4075
4076         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4077         operator dispatch_result_t, and operators for == != and >=
4078
4079         * cursor.C (dispatch): adjust for operator dispatch_result_t
4080         removal. comment out call to update
4081
4082         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4083
4084 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4085
4086         * text3.C:
4087         * text2.C:
4088         * text.C:
4089         * lyxtext.h:
4090         * lyxfunc.C:
4091         * cursor.C:
4092         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4093         (dispatch):
4094
4095         * dispatchresult.h: new file, DispatchResult broken out of
4096         insets/insetbase.h
4097
4098         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4099
4100 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4101
4102         * text.C (rowBreakPoint): put a hack inside #if 0
4103
4104 2003-10-28  André Pönitz  <poenitz@gmx.net>
4105
4106         * lyxtext.h:
4107         * metricsinfo.C:
4108         * paragraph_funcs.C:
4109         * rowpainter.C:
4110         * text.C:
4111         * text2.C: general cleanup (lots of small stuff)
4112
4113 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4114
4115         * text2.C (cursorEnd): simple fix to the "end key goes to one
4116         before the end on last row" bug
4117
4118 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4119
4120         * text.C (backspace): fix the "zombie characters"
4121
4122 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4123
4124         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4125
4126 2003-10-27  André Pönitz  <poenitz@gmx.net>
4127
4128         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4129
4130         * factory.C: handle new InsetPagebreak, InsetLine
4131
4132         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4133         and move handling into new InsetPagebreak, InsetLine
4134
4135         * BufferView_pimpl.C:
4136         * LyXAction.C:
4137         * ParagraphParameters.C:
4138         * ParameterStruct.h:
4139         * lyxfunc.C:
4140         * lyxtext.h:
4141         * paragraph.C:
4142         * paragraph.h:
4143         * paragraph_funcs.C:
4144         * paragraph_pimpl.C:
4145         * rowpainter.C:
4146         * text.C:
4147         * text2.C:
4148         * text3.C: adjust
4149
4150 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4151
4152         * text.C:
4153         * lyxrow_funcs.[Ch]:
4154         * Bidi.C:
4155         * paragraph.C:
4156         * lyxtext.h:
4157         * rowpainter.C:
4158         * text2.C:
4159         * text3.C: remove lastPos uses in favour of Row::endpos
4160
4161 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4162
4163         * undo.C (performUndoOrRedo): fix two crashes by setting a
4164         cursor by hand and reordering some calls. Use bv->lockInset instead
4165         of inset->edit because the latter loses cursor information
4166
4167 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4168
4169         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4170         by Martin
4171         (rowBreakPoint): fix width. change point to point + 1.
4172         Add a missing check.
4173
4174 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4175
4176         * MenuBackend.C:
4177         * lyxfunc.C: fix (at least partly) the problems
4178         with the Nav menu and headers inside branch insets
4179         reported by Kayvan
4180
4181 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4182
4183         * paragraph.C (getChar): add strong asserts
4184
4185         * lyxrow_funcs.C (lastPos): remove hideous hack
4186
4187         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4188         (fill): adjust to that (avoid an infinite loop)
4189
4190 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4191
4192         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4193
4194 2003-10-23  André Pönitz  <poenitz@gmx.net>
4195
4196         * RowList_fwd.h: change list<> to vector<> to gain speed
4197         after suggestion from Alfredo
4198
4199 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4200
4201         * lyxtext.h: move the bidi stuff from here...
4202         * text.C: and here
4203         * text2.C: and here
4204         * Bidi.[Ch]: ... to here
4205
4206 2003-10-23  André Pönitz  <poenitz@gmx.net>
4207
4208         * lyxtext.h:
4209         * text.C (isLastRow, isFirstRow): new functions
4210
4211         * paragraph.h: new width cache member
4212
4213         * rowpainter.C: replace RowList::iterator with Row & where possible
4214
4215         * lyxfunc.C: replace several view()->text with a single call
4216
4217         * toc.C: fix 'unused' warning
4218
4219 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4220
4221         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4222         when woring with stream::pos_type
4223         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4224
4225 2003-10-22  André Pönitz  <poenitz@gmx.net>
4226
4227         * lyxtext.h:
4228         * text.C: use Row & instead of RowList::iterator
4229
4230         * lyxrow.h: rename end() to endpos()
4231
4232         * rowpainter.C:
4233         * text.C:
4234         * text2.C: adjust
4235
4236 2003-10-22  Angus Leeming  <leeming@lyx.org>
4237
4238         * buffer.[Ch] (fully_loaded): new member function, returning true
4239         only when the file has been loaded fully.
4240         Used to prevent the premature generation of previews and by the
4241         citation inset to prevent computation of the natbib-style label.
4242
4243         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4244         templates are all set up.
4245
4246         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4247
4248 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4249
4250         * text.C: fixed an "oops" in the "is a bit silly"
4251         bug fix
4252
4253 2003-10-21  André Pönitz  <poenitz@gmx.net>
4254
4255         * FuncStatus.[Ch]: small stuff, whitespace
4256
4257         * lyxfont.[Ch]: operator<<() for debug reasons
4258
4259         * lyxfunc.C:
4260         * lyxrow_funcs.C:
4261         * lyxtext.h: whitespace, spelling
4262
4263         * paragraph.C: naming of variables
4264
4265         * text.C:
4266         * text2.C: small stuff
4267
4268
4269 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4270
4271         * text.C: (1) finish off the inset display() work;
4272         (2) fix the "is a bit silly" bug (accessing char
4273         past end of par).
4274
4275 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4276
4277         * text.C: re-introduce display() for insets, fixing the
4278         various bugs (stretch of line above, math inset
4279         positioning, ...)
4280
4281 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4282
4283         * text.C (rightMargin): remove spurious semicolon
4284
4285         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4286         1415)
4287
4288 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4289
4290         * text3.C: fix one crash due to wrong cursor def
4291
4292 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4293
4294         * vc-backend.C (scanMaster): make the regex static
4295
4296         * LaTeX.C (scanAuxFile): make the regexs static
4297
4298         * text3.C (doInsertInset, dispatch, dispatch):
4299         * text2.C (cursorUp, cursorDown):
4300         * text.C (selectNextWordToSpellcheck):
4301         * BufferView_pimpl.C (dispatch):
4302         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4303
4304 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4305
4306         * lyxsocket.C: include <cerrno>
4307
4308 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * lyxfunc.C (dispatch): remove textcache stuff
4311
4312         * bufferlist.C (release): remove textcache stuff
4313         (closeAll): ditto
4314
4315         * TextCache.C: delete file
4316         * TextCache.h: delete file
4317
4318         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4319
4320         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4321         delete of the bv_->text.
4322         (resizeCurrentBuffer): remove texcache stuff
4323         (workAreaResize): ditto
4324
4325 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4326
4327         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4328         action.
4329
4330 2003-10-16  André Pönitz  <poenitz@gmx.net>
4331
4332         * lyxrow.[Ch]:
4333         * paragraph.h:
4334         * rowpainter.C:
4335         * text.C:
4336         * text2.C:
4337         * text3.C: speed up by storing y positions per paragraph plus per-row
4338         offset instead of having a 'full' y position in the row.
4339
4340 2003-10-15  André Pönitz  <poenitz@gmx.net>
4341
4342         * iterators.[Ch]:
4343         * iterators.[Ch]:
4344         * undo.[Ch]: make undo aware of inner insets
4345
4346 2003-10-14  Angus Leeming  <leeming@lyx.org>
4347
4348         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4349         static member functions LyX::ref() and LyX::cref.
4350         (lastfiles): new accessor functions for the new lastfiles_ member var.
4351         (addLyXView, views_): add a new LyXView to the list of views_.
4352         (updateInset): loop over all LyXViews to call their own updateInset
4353         member function, returning a pointer to the Buffer owning the inset.
4354
4355         * BufferView_pimpl.C (loadLyXFile):
4356         * MenuBackend.C (expandLastfiles):
4357         * bufferlist.C (MenuWrite, QuitLyX):
4358         lastfiles is no longer a global variable.
4359         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4360
4361         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4362         static function. Access through LyX::cref().emergencyCleanup().
4363
4364 2003-10-14  André Pönitz  <poenitz@gmx.net>
4365
4366         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4367
4368         * undo.[Ch]: restoring part of 'undo in insets'
4369
4370         * Makefile.am:
4371         * undo_funcs.[Ch]: merge with undo.[Ch]
4372
4373         * tabular.C: small cleansing stuff
4374
4375 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4376
4377         * paragraph_funcs.C (readParToken): report unknown insets as error
4378         boxes. Use the outer paragraph as location (also for unknown
4379         tokens).
4380
4381         * factory.C (readInset): do not abort on reading an unknown inset.
4382         Eat it and return 0.
4383
4384 2003-10-13  Angus Leeming  <leeming@lyx.org>
4385
4386         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4387
4388         * lyxrc.C: displayTranslator is now a function,
4389         declared in GraphicsTypes.h.
4390
4391 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4392
4393         * format.C: new placeholder $$a to pass the socket address.
4394
4395         * bufferlist.[Ch]: new function getBufferFromTmp.
4396
4397         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4398           files in the temporary dir.
4399
4400 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4401
4402         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4403
4404         * Makefile.am: add lyxsocket.[Ch].
4405
4406         * lyx_main.C (error_handler): handle SIGPIPE.
4407
4408 2003-10-13  André Pönitz  <poenitz@gmx.net>
4409
4410         * BufferView_pimpl.C:
4411         * lyxtext.h:
4412         * text.C:
4413         * text2.C:
4414         * text3.C:
4415         * undo_funcs.[Ch]: use paroffset_type instead of
4416           ParagraphList::iterators to prevent multiple conversion
4417           (and get a more robust interface)
4418
4419 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4420
4421         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4422         * lyxtext.h: ditto
4423         * text3.C (dispatch): ditto
4424
4425 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4426
4427         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4428         move the onlyfile, use onlyfile instead of foundfile in a couple
4429         of places.
4430
4431         * DepTable.C (update): flush the error stream a bit more
4432
4433 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4434
4435         * lyxserver.C (callback): adjust
4436
4437         * lyxfunc.C (getStatus): add a missing brace in commented code
4438         (ensureBufferClean): reindent
4439         (dispatch): delete version taking a string
4440
4441 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4442
4443         * LaTeX.C (deplog): move found file handlig from here...
4444         (handleFoundFile): .. to new function here.
4445         (deplog): make sure to discover several files mentioned on the
4446         same log line.
4447
4448 2003-10-10  André Pönitz  <poenitz@gmx.net>
4449
4450         * lyxfunc.C:
4451         * lyxtext.h:
4452         * tabular.C:
4453         * text.C:
4454         * text2.C:
4455         * text3.C: fix some of the tabular crashes
4456
4457 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4458
4459         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4460
4461         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4462
4463 2003-10-09  André Pönitz  <poenitz@gmx.net>
4464
4465         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4466
4467         * BufferView.C:
4468         * BufferView_pimpl.C:
4469         * bufferview_funcs.C:
4470         * lyx_cb.C:
4471         * lyxcursor.C:
4472         * lyxfind.C:
4473         * lyxfunc.C:
4474         * lyxtext.h:
4475         * text.C:
4476         * text2.C:
4477         * text3.C:
4478         * text_funcs.[Ch]:
4479         * textcursor.[Ch]:
4480         * undo_funcs.C: adjust
4481
4482 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4483
4484         * text2.C (incrementItemDepth): new function, use a backtracking
4485         algorithm to discover the correct item depth.
4486         (resetEnumCounterIfNeeded): new function, use a backtracking
4487         algorithm to discover if counter reset is needed.
4488         (setCounter): use them. Simplify a bit. Add different labels for
4489         different item depths for itemize.
4490
4491         * paragraph.C (Paragraph): remove initialization of enumdepth
4492         (operator=): ditto
4493
4494         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4495         enumerate and itemize. Change the type of itemdepth to signed char.
4496
4497 2003-10-08  André Pönitz  <poenitz@gmx.net>
4498
4499         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4500           thing assignable.
4501         * text.C:
4502         * text2.C: adjust
4503
4504         * tabular.[Ch]: fix crash after 'row-insert'
4505
4506 2003-10-08  Angus Leeming  <leeming@lyx.org>
4507
4508         Fix doxygen warnings.
4509
4510         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4511         Remove CutAndPaste:: prefix from header file declaration.
4512
4513         * LColor.h (fill): remove LColor:: prefix from declaration.
4514
4515         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4516         use lyx::depth_type rather than Paragraph::depth_type so that
4517         header file and .C file match.
4518
4519         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4520
4521         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4522         * aspell.C: \file aspell_local.C -> \file aspell.C
4523         * gettext.C: \file gettext.C -> \file src/gettext.C
4524         * gettext.h: \file gettext.h -> \file src/gettext.h
4525         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4526         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4527         * text.C: \file text.C -> \file src/text.C
4528
4529         * toc.C: move comment so that doxygen is not confused.
4530
4531 2003-10-07  Angus Leeming  <leeming@lyx.org>
4532
4533         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4534
4535 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4536
4537         * aspell.C:
4538         * aspell_local.h: add forgotten std::string's.
4539
4540 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4541
4542         * LaTeXFeatures.C:
4543         * LyXAction.C:
4544         * factory.C:
4545         * lfuns.h:
4546         * lyxfunc.C:
4547         * text3.C: The Box patch. Fancybox support, minipage, parbox
4548
4549 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4550
4551         * CutAndPaste.h:
4552         * DepTable.h:
4553         * FloatList.h:
4554         * LaTeXFeatures.h:
4555         * ParagraphParameters.h:
4556         * TextCache.h:
4557         * Thesaurus.h:
4558         * bufferlist.h:
4559         * exporter.h:
4560         * importer.h:
4561         * lastfiles.h:
4562         * lyxfind.h:
4563         * lyxfont.h:
4564         * lyxlex.h:
4565         * lyxtextclasslist.h:
4566         * messages.h:
4567         * paragraph.h:
4568         * paragraph_pimpl.C:
4569         * textcursor.h: add <string> and other small fixes to make Lars'
4570         std::string patch compile with STLport.
4571
4572 2003-10-06  Angus Leeming  <leeming@lyx.org>
4573
4574         * LColor.h: Add missing #include <string>.
4575
4576 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4577
4578         * All most all file in all subdirs: Make <string> be the prefered
4579         way of getting to std::string, add using declarations.
4580
4581 2003-10-06  André Pönitz  <poenitz@gmx.net>
4582
4583         * metricsinfo.C: initialize LyXFont before changing attribute.
4584         (fixes the 'math in \emph is upright' bug)
4585
4586 2003-10-06  André Pönitz  <poenitz@gmx.net>
4587
4588         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4589
4590 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4591
4592         * graph.C:
4593         * paragraph_pimpl.C: Small fixes to build using STLport
4594
4595 2003-10-02  André Pönitz  <poenitz@gmx.net>
4596
4597         * lyxfunc.C:
4598         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4599
4600 2003-10-01  André Pönitz  <poenitz@gmx.net>
4601
4602         * factory.C: assert early
4603
4604 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4605
4606         * lyx_main.C: remove the global debug object
4607
4608         * debug.h: adjust for new debugstream
4609
4610         * debug.C: adjust for new debugstream and keep the global debug
4611         object here.
4612
4613 2003-09-22  Angus Leeming  <leeming@lyx.org>
4614
4615         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4616         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4617         an incomplete class LyXFont.
4618
4619 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4620
4621         * factory.C: bug fix in branches
4622
4623 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4624
4625         * lyxfunc.C (processKeySym): adjust
4626         (dispatch): adjust
4627         (dispatch): change arg name from ev to func, adjust
4628         (sendDispatchMessage): ditto
4629
4630         * lyx_main.C (defaultKeyBindings): adjust keybindings
4631         (deadKeyBindings): ditto
4632
4633         * kbsequence.C (addkey): return a FuncRequest
4634
4635         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4636
4637         * kbmap.C (bind): take a FuncRequest as arg, adjust
4638         (read): adjust
4639         (lookup): adjust
4640         (defkey): change to take a FuncRequest as arg, adjust
4641         (findbinding): take a FuncRequest as arg, adjust.
4642
4643         * funcrequest.h (operator=): added
4644
4645         * funcrequest.C (FuncRequest): default kb_action changed from
4646         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4647
4648         * buffer.C (dispatch): simplify
4649         (dispatch): adjust to take a FuncRequest as arg, adjust
4650
4651         * boost.C (assertion_failed): change assertion message slightly
4652
4653         * ToolbarBackend.C (read): simplify
4654
4655         * MenuBackend.C (binding): adjust call to findbinding, add a
4656         message if no binding is found.
4657         (read): simplify
4658         (expandToc): correct by adding a empty FuncRequest
4659
4660         * LyXAction.C: include <boost/assert.hpp>
4661         (isPseudoAction): delete function
4662         (LookupFunc): change name to...
4663         (lookupFunc): this. change return type to FuncRequest.
4664         (getActionName): take kb_action as arg, simplify
4665         (funcHasFlag): add an assert, simplify.
4666
4667 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4668
4669         * toc.C (action): return a FuncRequest, simplify
4670
4671         * lyxfunc.C (processKeySym): adjust
4672         (getStatus): delete version that takes an int.
4673         (getStatus): adjust
4674         (dispatch): delete version that takes action as int
4675         (dispatch): adjust
4676         (sendDispatchMessage): simplify and adjust
4677
4678         * funcrequest.C (getArg): take unsigned int as arg
4679
4680         * ToolbarBackend.C (read): adjust
4681         (add): delete version that takes func as a string.
4682         (getIton): take a FuncRequest as arg
4683
4684         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4685         action.
4686
4687         * MenuBackend.C (MenuItem): add a new construct that only takes a
4688         Kind, simplify the constructor use for submenus.
4689         (add): adjust
4690         (expandLastfiles): adjust
4691         (expandDocuments): adjust
4692         (expandFormats): adjust
4693         (expandFloatListInsert): adjust
4694         (expandFloatInsert): adjust
4695         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4696
4697         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4698         Remove class variables lyx_pseudo_map and lyx_arg_map
4699
4700         * LyXAction.C (searchActionArg): delete function
4701         (getPseudoAction): delete function
4702         (retrieveActionArg): delete function
4703         (LookupFunc): make it return kb_action, simplify.
4704         (getActionName): simplify
4705
4706         * factory.C (createInset): fix new bug
4707
4708 2003-09-19  Angus Leeming  <leeming@lyx.org>
4709
4710         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4711         masterFilename_ parameter in the include inset.
4712
4713         * factory.C (createInset): changes due to the changes to InsetInclude.
4714
4715 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4716
4717         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4718
4719 2003-09-18  Angus Leeming  <leeming@lyx.org>
4720
4721         * buffer.C:
4722         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4723         Inset::fillWithBibKeys.
4724         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4725
4726 2003-09-18  Angus Leeming  <leeming@lyx.org>
4727
4728         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4729         variables.
4730         (ctor): pass and store a 'Buffer const &'
4731         (buffer): new member function.
4732
4733         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4734         '*this' to the LaTeXFeatures ctor.
4735
4736 2003-09-18  Angus Leeming  <leeming@lyx.org>
4737
4738         * LColor.h:
4739         * lyxfont.C:
4740         * lyxfont.h:
4741         * lyxtext.h:
4742         * text.C: rename EnumLColor as LColor_color.
4743
4744 2003-09-18  Angus Leeming  <leeming@lyx.org>
4745
4746         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4747         remove #include "insets/insetbase.h" from cursor.h.
4748
4749 2003-09-18  Angus Leeming  <leeming@lyx.org>
4750
4751         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4752         InsetOld_code to remove #include "inset.h".
4753
4754         * iterators.C: add #include "insets/inset.h"
4755
4756 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4757
4758         * BufferView.C: remove more locking stuff that apparently doesn't
4759         do anything sensible.
4760
4761 2003-09-16  André Pönitz  <poenitz@gmx.net>
4762
4763         * paragraph.[Ch]:
4764         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4765           performance boost.
4766
4767 2003-09-16  Angus Leeming  <leeming@lyx.org>
4768
4769         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4770
4771         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4772         arg/return type.
4773
4774         * paragraph.h: remove #include "lyxfont.h". Forward declare
4775         LyXFont_size.
4776
4777 2003-09-16  Angus Leeming  <leeming@lyx.org>
4778
4779         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4780         of support/textutils.h.
4781         (isWord): move the contents of support/textutils.h's IsWordChar here.
4782
4783         * buffer.C:
4784         * lyxfind.C:
4785         * rowpainter.C:
4786         * text.C:
4787         * text2.C: add #include "paragraph.h".
4788
4789         * rowpainter.C:
4790         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4791
4792 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * main.C:
4795         * lyx_main.C:
4796         * lyx_cb.C:
4797         * buffer.C:
4798         * LaTeX.C: use namespace alias for lyx::support::os
4799
4800 2003-09-16  Angus Leeming  <leeming@lyx.org>
4801
4802         * bufferparams.C:
4803         * bufferview_funcs.C:
4804         * factory.C:
4805         * lyxfunc.C:
4806         * paragraph_pimpl.C:
4807         * rowpainter.C:
4808         * text.C: add #include "LColor.h".
4809
4810 2003-09-16  Angus Leeming  <leeming@lyx.org>
4811
4812         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4813         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4814         return LyXFont &.
4815         Store the FontBits::color variable as an int rather than as an
4816         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4817         file.
4818
4819         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4820         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4821         string calls together.
4822
4823         * lyxrc.C: add #include "LColor.h".
4824
4825 2003-09-15  Angus Leeming  <leeming@lyx.org>
4826
4827         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4828         a cow_ptr.
4829
4830 2003-09-15  Angus Leeming  <leeming@lyx.org>
4831
4832         * LColor.h: add an EnumLColor wrapper for LColor::color.
4833
4834         * lyxfont.[Ch] (color, setColor, realColor):
4835         * lyxtext.h, text.C (backgroundColor):
4836         pass EnumLColor args to/from the functions, rather than LColor::color
4837         ones.
4838
4839         * lyxfont.h:
4840         * lyxtext.h: forward declare EnumLColor.
4841
4842         * lyx_main.C: add #include "LColor.h".
4843
4844 2003-09-15  Angus Leeming  <leeming@lyx.org>
4845
4846         * .cvsignore: add lyx-gtk.
4847
4848 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * Chktex.C
4851         * LaTeX.C
4852         * LaTeXFeatures.C
4853         * ParagraphParameters.C
4854         * Spacing.C
4855         * buffer.C
4856         * bufferparams.C
4857         * bufferview_funcs.C
4858         * chset.C
4859         * counters.C
4860         * funcrequest.C
4861         * lyxfont.C
4862         * lyxgluelength.C
4863         * lyxlength.C
4864         * paragraph.C
4865         * paragraph_funcs.C
4866         * text3.C
4867         * vc-backend.C: remove usage of STRCONV
4868
4869 2003-09-15  Angus Leeming  <leeming@lyx.org>
4870
4871         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4872         explicitly define the color passed to the painter.
4873
4874 2003-09-15  Angus Leeming  <leeming@lyx.org>
4875
4876         * bufferparams.C (BufferParams): reorder member initializers to avoid
4877         compiler warning.
4878
4879 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4880
4881         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4882         * text.C (updateRowPositions): remove an unusual nop
4883
4884 2003-09-12  André Pönitz  <poenitz@gmx.net>
4885
4886         * BufferView_pimpl.C:
4887         * Bullet.C:
4888         * layout.h:
4889         * lyxfunc.C:
4890         * lyxlayout.[Ch]:
4891         * lyxtextclass.C:
4892         * rowpainter.C:
4893         * text.C:
4894         * text2.C:
4895         * Counters.[Ch]: finish the 'automatic counters' job
4896
4897 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4898
4899         * aspell.C: include <boost/assert.cpp> (compile fix)
4900
4901 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4902
4903         * boost.C (assertion_failed): use lyx::support::abort instead of
4904         assert.
4905
4906 2003-09-10  Angus Leeming  <leeming@lyx.org>
4907
4908         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4909         with their _fwd progeny.
4910
4911 2003-09-09  Angus Leeming  <leeming@lyx.org>
4912
4913         134 files throughtout the source tree: replace 'using namespace abc;'
4914         directives with the appropriate 'using abc::xyz;' declarations.
4915
4916 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4917
4918         * boost.C (emergencyCleanup): moved here from LAssert.c
4919         (assertion_failed): new function, called by BOOST_ASSERT
4920
4921         * several files: change Assert to BOOST_ASSERT
4922
4923 2003-09-09  Angus Leeming  <leeming@lyx.org>
4924
4925         * buffer.[Ch]: Add an Impl class and move Buffer's member
4926         variables into it. As a result move several header files out of
4927         buffer.h.
4928
4929         Add header files to lots of .C files all over the tree as a result.
4930
4931 2003-09-09  Angus Leeming  <leeming@lyx.org>
4932
4933         * buffer.[Ch]: make Buffer's member variables private. Add
4934         accessor functions.
4935
4936         Lots of changes all over the tree as a result.
4937
4938 2003-09-08  Angus Leeming  <leeming@lyx.org>
4939
4940         * graph.C: #include <config.h>.
4941
4942 2003-09-08  Angus Leeming  <leeming@lyx.org>
4943
4944         * BranchList.C:
4945         * BufferView.C:
4946         * BufferView_pimpl.C:
4947         * CutAndPaste.C:
4948         * DepTable.C:
4949         * LaTeX.C:
4950         * LaTeXFeatures.C:
4951         * LyXAction.C:
4952         * MenuBackend.C:
4953         * TextCache.C:
4954         * aspell.C:
4955         * buffer.C:
4956         * bufferlist.C:
4957         * changes.C:
4958         * chset.C:
4959         * converter.C:
4960         * counters.C:
4961         * debug.C:
4962         * graph.C:
4963         * ispell.C:
4964         * lyx_cb.C:
4965         * lyxfind.C:
4966         * lyxfunc.C:
4967         * lyxlex_pimpl.C:
4968         * lyxrc.C:
4969         * lyxrow.C:
4970         * paragraph.C:
4971         * rowpainter.C:
4972         * texrow.C:
4973         * text.C:
4974         * text2.C:
4975         * toc.C: remove redundant using directives.
4976
4977 2003-09-07  Angus Leeming  <leeming@lyx.org>
4978
4979         * LaTeXFeatures.h: remove #include "support/types.h".
4980         * ToolbarBackend.h: remove #include <algorithm>.
4981         * changes.h: remove #include <ctime>.
4982         * debug.h: remove #include <iosfwd>.
4983         * graph.h: remove #include "support/std_string.h".
4984         * lyx_main.h: remove #include <csignal>.
4985         * lyxlex_pimpl.h: remove #include <fstream>.
4986         * sgml.h: remove #include <algorithm>, <utility>.
4987         * toc.h: remove #include "support/std_ostream.h".
4988         Add #include <iosfwd>.
4989
4990 2003-09-07  Angus Leeming  <leeming@lyx.org>
4991
4992         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4993
4994         * converter.h: forward declare LatexRunParams.
4995         * encoding.h: remove #include "lyxrc.h".
4996         * lyxtext.h: remove #include "LColor.h".
4997         * lyxtextclass.h: remove #include "support/types.h".
4998         * trans.h: remove #include "tex-accent.h".
4999         * trans_mgr.h: remove #include "tex-accent.h".
5000         * insets/inset.h: remove #include "support/types.h", <vector>.
5001         * insets/insetcollapsable.h: remove #include "LColor.h".
5002         * insets/insetinclude.h: remove #include "dimension.h".
5003         * insets/insetlatexaccent.h: remove #include "dimension.h".
5004         * insets/insetoptarg.h:: remove #include "insettext.h".
5005         * insets/insettext.h: remove #include "dimension.h",
5006         <boost/shared_ptr.hpp>
5007
5008         * insets/renderers.h: add #include "dimension.h".
5009         * insets/updatableinset.h: add #include "support/types.h".
5010
5011         * many .C files: Associated changes.
5012
5013 2003-09-06  Angus Leeming  <leeming@lyx.org>
5014
5015         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5016         one, inside testInvariant.
5017
5018         * PrinterParams.C: new file.
5019         * PrinterParams.[Ch]: move the function bodies out of line.
5020
5021 2003-09-06  Angus Leeming  <leeming@lyx.org>
5022
5023         * ParagraphParameters.h: forward declare ParameterStruct rather than
5024         including its header file.
5025         (depth): moved out-of-line.
5026
5027 2003-09-06  Angus Leeming  <leeming@lyx.org>
5028
5029         * BufferView_pimpl.h:
5030         * kbmap.h:
5031         * kbsequence.h:
5032         * lyxfunc.h: forward declare LyXKeySym rather than
5033         #include "frontends/LyXKeySym.h".
5034
5035         * BufferView_pimpl.C:
5036         * kbmap.C:
5037         * kbsequence.C:
5038         * lyxfunc.C: associated changes.
5039
5040 2003-09-06  Angus Leeming  <leeming@lyx.org>
5041
5042         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5043         As a result, can remove the #include "insets/inset.h" from BufferView.h
5044
5045 2003-09-06  Angus Leeming  <leeming@lyx.org>
5046
5047         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5048         As a result, can remove the #include "insets/inset.h" from BufferView.h
5049
5050 2003-09-06  Angus Leeming  <leeming@lyx.org>
5051
5052         * buffer_funcs.C:
5053         * buffer.h:
5054         * bufferlist.C:
5055         * BufferView.C:
5056         * bufferview_funcs.C:
5057         * BufferView_pimpl.C:
5058         * CutAndPaste.C:
5059         * lyx_cb.C:
5060         * lyxfunc.C:
5061         * paragraph.h:
5062         * ParagraphParameters.C:
5063         * tabular.C:
5064         * text3.C:
5065         * toc.C:
5066         * undo_funcs.C:
5067         * frontends/controllers/ControlDocument.C:
5068         * insets/insetcaption.C: rearrange the #includes into some sort of
5069         coherent order.
5070
5071         * buffer.h: remove #includes ErrorList.h, undo.h
5072
5073 2003-09-06  Angus Leeming  <leeming@lyx.org>
5074
5075         * support/types.h: add a 'depth_type' typedef, used to store the
5076         nesting depth of a paragraph.
5077
5078         * paragraph.h:
5079         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5080         defining explicitly.
5081
5082         * buffer.h:
5083         * paragraph_funcs.h:
5084         * ParagraphParameters.h:
5085         * sgml.h: use lyx::depth_type rather than Paragraph or
5086         ParameterStruct's depth_type.
5087
5088         * buffer.h
5089         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5090
5091         * BufferView.C:
5092         * BufferView_pimpl.C:
5093         * CutAndPaste.C:
5094         * ParagraphParameters.C:
5095         * buffer_funcs.C:
5096         * bufferlist.C:
5097         * bufferview_funcs.C:
5098         * lyx_cb.C:
5099         * lyxfunc.C:
5100         * tabular.C:
5101         * text3.C:
5102         * toc.C:
5103         * undo_funcs.C:
5104         * frontends/LyXView.C:
5105         * frontends/controllers/ControlDocument.C:
5106         * frontends/controllers/ControlErrorList.C:
5107         * insets/insetbibitem.C:
5108         * insets/insetbranch.C:
5109         * insets/insetcaption.C:
5110         * insets/insetcollapsable.C:
5111         * insets/insetenv.C:
5112         * insets/insetert.C:
5113         * insets/insetfloat.C:
5114         * insets/insetfoot.C:
5115         * insets/insetfootlike.C:
5116         * insets/insetnewline.C:
5117         * insets/insetquotes.C:
5118         * insets/insettabular.C:
5119         * insets/insettext.C:
5120         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5121
5122         * frontends/controllers/ControlChanges.C: #include "changes.h".
5123
5124 2003-09-06  Angus Leeming  <leeming@lyx.org>
5125
5126         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5127         than #including paragraph.h.
5128
5129         * ParagraphList.h:
5130         * RowList.h: deleted. Superfluous.
5131
5132         * CutAndPaste.h:
5133         * iterators.h:
5134         * lyxcursor.h:
5135         * lyxtext.h:
5136         * text_funcs.h:
5137         * undo.h:
5138         * undo_funcs.h:
5139         * insets/inset.h:
5140         * insets/insettext.h: use ParagraphList_fwd.h rather than
5141         ParagraphList.h.
5142
5143         * paragraph.h: don't forward declare ParagraphList.
5144
5145         * buffer.h:
5146         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5147         rather than ParagraphList.h. paragraph.h is still needed for the
5148         Paragraph::depth_type parameters.
5149
5150         * textcursor.h: enable it to compile stand-alone in light of the
5151         above changes.
5152
5153         * bufferview_funcs.C:
5154         * iterators.C:
5155         * lyxfunc.C:
5156         * lyxrow_funcs.C:
5157         * paragraph.C:
5158         * rowpainter.C:
5159         * text.C:
5160         * text2.C:
5161         * text3.C:
5162         * text_funcs.C:
5163         * textcursor.C:
5164         * undo.C:
5165         * frontends/controllers/ControlParagraph.C:
5166         * frontends/controllers/ControlTabular.C:
5167         * insets/insetmarginal.C:
5168         * insets/insetminipage.C:
5169         * insets/insetnote.C:
5170         * insets/insetoptarg.C: add header files needed to compile again.
5171
5172 2003-09-06  Angus Leeming  <leeming@lyx.org>
5173
5174         * RowList_fwd.h: new file, forward-declaring Row rather than
5175         #including lyxrow.h.
5176
5177         * lyxrow_funcs.h:
5178         * lyxtext.h:
5179         * paragraph.h:
5180         * insets/insettext.h: use it instead of RowList.h
5181
5182         * bufferview_funcs.C:
5183         * lyxfunc.C:
5184         * lyxrow_funcs.C:
5185         * paragraph.C:
5186         * rowpainter.C:
5187         * text.C:
5188         * text2.C:
5189         * text3.C: #include "RowList.h".
5190
5191 2003-09-05  Angus Leeming  <leeming@lyx.org>
5192
5193         * factory.C (createInset):
5194         * vspace.C (c-tor): replace sscanf call with an istringstream.
5195         * ispell.C: re-add missing HP/UX headers.
5196         * lyxserver.C: re-add missing  os2 headers.
5197
5198 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5199
5200         * BranchList.C:
5201         * graph.C:
5202         * ispell.C:
5203         * lastfiles.C:
5204         * lyx_cb.C:
5205         * lyxserver.C:
5206         * texrow.C:
5207         * text3.C: re-add missing system headers, needed for 2.95.2.
5208
5209 2003-09-05  Angus Leeming  <leeming@lyx.org>
5210
5211         Changes most place everywhere due to the removal of using directives
5212         from support/std_sstream.h.
5213
5214 2003-09-05  Angus Leeming  <leeming@lyx.org>
5215
5216         Replace LString.h with support/std_string.h,
5217         Lsstream.h with support/std_sstream.h,
5218         support/LIstream.h with support/std_istream.h,
5219         support/LOstream.h with support/std_ostream.h.
5220
5221         Changes resulting throughout the tree.
5222
5223 2003-09-05  Angus Leeming  <leeming@lyx.org>
5224
5225         * sgml.h: ensure that the header file can be compiled stand-alone.
5226         * *.C: strip out redundant #includes. (320 in total.)
5227
5228 2003-09-04  Angus Leeming  <leeming@lyx.org>
5229
5230         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5231         here (from getPackages).
5232
5233         * debug.[Ch]: add a new EXTERNAL tag.
5234
5235 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5236
5237         * text2.C (cursorEnd): simplify
5238         (setCursor): adjust
5239         (getColumnNearX): adjust
5240
5241         * text.C (computeBidiTables): adjust
5242         (fill): adjust
5243
5244         * rowpainter.C (paintChars): adjust
5245         (paintSelection): adjust
5246         (paintChangeBar): adjust
5247         (paintText): adjust
5248
5249         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5250         lastPos instead.
5251         (numberOfSeparators): adjust
5252
5253 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5254
5255         * LyXAction.C:
5256         * box.[Ch]:
5257         * lfuns.h:
5258         * lyxfunc.C:
5259         * text3.C: Restricts the mouse click functionality
5260         of insets like bibtex, include, toc and floatlist to the visible
5261         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5262         up the dialogs. Cursor has to be in front of the inset (i.e.
5263         start of row) for this to function.
5264
5265 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5266
5267         * bufferview_funcs.C (currentState): output row information
5268
5269 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5270
5271         * bufferview_funcs.C (currentState): output paragraph position
5272
5273 2003-09-04  Angus Leeming  <leeming@lyx.org>
5274
5275         * FloatList.h: move out #include "Floating.h".
5276         * LaTeX.h: move out #include "DepTable.h".
5277         * LyXAction.h: move out #include "funcrequest.h".
5278         * buffer.h: move out #include "author.h", "iterators.h".
5279         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5280         * lyx_main.h: move out #include "errorlist.h".
5281         * lyxfunc.h: move out #include "FuncStatus.h".
5282         * lyxtext: move out #include "lyxcursor.h".
5283         * paragraph_pimpl.h: move out #include "counters.h".
5284
5285 2003-09-03  Angus Leeming  <leeming@lyx.org>
5286
5287         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5288         preamble_snippets list, enabling us to add snippets to the preamble
5289         only if the snippet was not there already.
5290
5291 2003-09-04  Angus Leeming  <leeming@lyx.org>
5292
5293         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5294
5295 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5296
5297         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5298         update
5299
5300 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5301
5302         * BranchList.C: point fix, earlier forgotten
5303
5304 2003-09-02  Angus Leeming  <leeming@lyx.org>
5305
5306         * box.C (contains): renamed from 'contained' after a fantastic
5307         amount of hot air.
5308
5309 2003-09-02  John Levon  <levon@movementarian.org>
5310
5311         * BufferView.C:
5312         * lyxcursor.h:
5313         * lyxcursor.C:
5314         * lyxfunc.C:
5315         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5316
5317 2003-09-02  John Levon  <levon@movementarian.org>
5318
5319         * text2.C: simplification of cursorEnd(), including partial
5320         fix for bug 1376
5321
5322 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5323
5324         * buffer.C (readFile): add a space
5325
5326 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5327
5328         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5329
5330 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5331
5332         * buffer.C (readFile): new function, take a filename and a
5333         ParagraphList::iterator
5334         (readFile): adjust
5335         (readFile): adjust, make it private. don't use setStream, make
5336         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5337         always contain the filename.
5338
5339         * BufferView.C (insertLyXFile): simplify and make it work for
5340         gzipped files.
5341
5342 2003-08-30  John Levon  <levon@movementarian.org>
5343
5344         * Makefile.am: fix dist (from Kayvan)
5345
5346 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5347
5348         * most files: change to use const Buffer refs
5349
5350 2003-08-27  André Pönitz  <poenitz@gmx.net>
5351
5352         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5353         on top of ownerPar().
5354
5355 2003-08-27  John Levon  <levon@movementarian.org>
5356
5357         * funcrequest.C: properly initialise POD members
5358
5359 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5360
5361         * lyxtext.h (top_y): move top_y from here
5362         * text.C:
5363         * text2.C:
5364         * text3.C:
5365         * BufferView.[Ch]:
5366         * BufferView_pimpl.[Ch]: to here
5367         * frontends/screen.C:
5368         * insets/insettabular.C:
5369         * insets/insettext.C: adjust
5370         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5371
5372 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5373
5374         * BufferView.[Ch]:
5375         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5376
5377 2003-08-26  André Pönitz  <poenitz@gmx.net>
5378
5379         * paragraph_func.[Ch] (outerPar): new function
5380
5381         * paragraph.C:
5382         * paragraph_funcs.C:
5383         * paragraph_funcs.h:
5384         * paragraph_pimpl.C:
5385         * text2.C: remove Inset::par_owner
5386
5387 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5388
5389         * lyxrow_funcs.C:
5390         * lyxtext.h:
5391         * text.C:
5392         * text2.C: eliminates the needFullRow/display() stuff
5393         altogether, putting the logic in metrics/draw in the insets.
5394
5395 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5396
5397         * text2.C (redoParagraphInternal, redoParagraphs):
5398         * text.C (redoParagraph): add a call to updateRowPositions at the
5399         end of each 'metrics-like' call. Remove all others.
5400         (getRow): remove the 'y-computing' version.
5401         (getRowNearY): do not compute nor return the real y. Solve the
5402         'y < 0' problem and simplify.
5403
5404 2003-08-22  Angus Leeming  <leeming@lyx.org>
5405
5406         * *.[Ch]: clean-up of licence and author blurbs.
5407         Also move config.h out of a few .h files and into a few .C files.
5408
5409 2003-08-22  André Pönitz  <poenitz@gmx.net>
5410
5411         * lyxrow.[Ch]: add x_ and *fill_ members
5412
5413         * lyxtext.h:
5414         * text.C:
5415         * rowpainter.C:
5416         * text2.C: adjust/remove prepareToPrint() calls
5417
5418 2003-08-22  André Pönitz  <poenitz@gmx.net>
5419
5420         * lyxrow.[Ch]: add  end_ member
5421
5422         * lyxrow_funcs.C: use LyXRow::end_
5423
5424         * lyxtext.h (singleWidth): add LyXFont parameter
5425
5426         * rowpainter.C:
5427         * text2.C: adjust LyXText::singleWidth() calls
5428
5429         * text.C (redoParagraph): simplify row breaking logic
5430
5431
5432 2003-08-19  André Pönitz  <poenitz@gmx.net>
5433
5434         * funcrequest.C: initialize button_ member
5435
5436         * text3.C:
5437         * rowpainter.[Ch]: interface consolidation
5438
5439 2003-08-18  André Pönitz  <poenitz@gmx.net>
5440
5441         * BufferView.C:
5442         * BufferView_pimpl.C:
5443         * lyxfind.C:
5444         * paragraph_funcs.C:
5445         * rowpainter.C:
5446         * text3.C: remove LyXScreen::draw() and fitCursor calls
5447
5448         * BranchList.h: remove spurious semicolons
5449
5450         * MenuBackend.C: fix branchlist related crash
5451
5452 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5453
5454         * BranchList.[Ch]:
5455         * InsetList.[Ch]:
5456         * LColor.[Ch]:
5457         * LyXAction.C:
5458         * Makefile.am:
5459         * MenuBackend.[Ch]:
5460         * bufferparams.[Ch]:
5461         * factory.C:
5462         * lfuns.h:
5463         * lyxfunc.C:
5464         * text3.C: implements the 'branch inset'
5465         idea. This allows the output of various versions of a document
5466         from a single source version, selectively outputing or suppressing
5467         output of parts of the text.
5468         This implementation contains a 'branch list editor' in a separate
5469         tab of the document settings dialog. Branches are user definable
5470         and have a "display colour" to distinguish them on-screen.
5471
5472         ColorHandler was somewhat cleaned up.
5473         (1) make possible a dynamically growing LColor list by allowing
5474         the graphic context cache to grow along (vector);
5475         (2) eliminate an IMHO unnecessary step in colour allocation.
5476
5477 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5478
5479         * BufferView_pimpl.C: compile fix
5480
5481 2003-08-15  André Pönitz  <poenitz@gmx.net>
5482
5483         * rowpainter.C: remove extra metrics calls
5484
5485         * lyxtext.h: merge the two constructors into a single one,
5486           pass reference to owner's par list
5487
5488         * BufferView_pimpl.C:
5489         * text.C:
5490         * text2.C: adjust
5491
5492 2003-08-15  André Pönitz  <poenitz@gmx.net>
5493
5494         * lyxrow_funcs.[Ch]:
5495         * lyxtext.h:
5496         * paragraph.h:
5497         * paragraph_funcs.C:
5498         * rowpainter.C:
5499         * text.C:
5500         * text2.C:
5501         * text3.C:
5502         * text_funcs.C: split LyXText::rowlist_ into individual
5503         Paragraph::rows_ chunks
5504
5505         * BufferView.[Ch]:
5506         * BufferView_pimpl.[Ch]:
5507         * lyxfind.C:
5508         * lyxtext.h:
5509         * text3.C: remove toggleSelection()
5510
5511 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5512
5513         * bufferlist.C: beautify two alerts (shorter text of buttons)
5514         * buffer.C: Remove redundant ' ' from message
5515         * tabular.h:
5516         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5517         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5518         rename VALIGN_CENTER to VALIGN_MIDDLE
5519
5520 2003-08-11  André Pönitz  <poenitz@gmx.net>
5521
5522         * lyxtext.h (getPar):
5523         * text.C: new function
5524
5525 2003-08-11  André Pönitz  <poenitz@gmx.net>
5526
5527         * Makefile.am:
5528         * tracer.[Ch]: remove unneeded files
5529
5530         * InsetList.[Ch]: remove resizeInsetsLyXText()
5531
5532         * lyxtext.h:
5533         * text.C:
5534         * text2.C:
5535         * text3.C: merge insertParagraphs() and appendParagraph()
5536         remove breakAgain(), update()
5537
5538         * BufferView_pimpl.[Ch]:
5539         * bufferview_funcs.[Ch]:
5540         * lyxfunc.C:
5541         * paragraph.[Ch]:
5542         * rowpainter.C:
5543         * tabular.C: adjust after text & InsetList changes.
5544
5545 2003-08-08  André Pönitz  <poenitz@gmx.net>
5546
5547         * text.C (insertChar, backspace): replace rowlist fiddling
5548         with rebreak of full par
5549
5550         * lyxtext.h:
5551         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5552         checkParagraph, updateInset): removed
5553
5554 2003-08-07  André Pönitz  <poenitz@gmx.net>
5555
5556         * paragraph.C:
5557         * text3.C: merge some LFUN handlers, remove dead code
5558
5559 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5560
5561         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5562
5563 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5564
5565         * text2.C (DEPM): fix part of bug 1255 and 1256
5566
5567 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5568
5569         * BufferView_pimpl.C (workAreaDispatch): change to use
5570         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5571         that are no mouse related.
5572
5573 2003-08-05  André Pönitz  <poenitz@gmx.net>
5574
5575         * BufferView.[Ch]:
5576         * BufferView_pimpl.[Ch]:
5577         * bufferview_funcs.C:
5578         * text2.C:
5579         * text3.C: rip out "deep update"
5580
5581         * textcursor.[Ch] (last_sel_cursor): remove unused member
5582
5583 2003-08-04  André Pönitz  <poenitz@gmx.net>
5584
5585         * BufferView.[Ch]:
5586         * BufferView_pimpl.[Ch]:
5587         * ParagraphParameters.C:
5588         * bufferview_funcs.C:
5589         * lyx_cb.C:
5590         * lyxfind.C:
5591         * lyxfunc.C:
5592         * text.C:
5593         * text2.C:
5594         * text3.C: replace "complicated" BufferView::update(...) calls with
5595         simpler ones.
5596
5597         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5598
5599 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5600
5601         * Makefile.am (lyx_SOURCES): add paper.h
5602
5603 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5604
5605         * Makefile.am: move things around so that both lyx-qt and
5606         lyx-xforms can be built (according to --with-frontend). Then lyx
5607         is a symbolic link to lyx-[firstfrontend]
5608
5609 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5610
5611         * Always use std::endl with lyxerr
5612
5613 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5614
5615         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5616
5617 2003-08-01  André Pönitz  <poenitz@gmx.net>
5618
5619         * BufferView.[Ch]:
5620         * BufferView_pimpl.[Ch]:
5621         * lyxfunc.C:
5622         * text3.C: merge BufferView::repaint() and BufferView::update()
5623
5624 2003-08-01  José Matos  <jamatos@lyx.org>
5625
5626         * buffer.[Ch]: file_format is no longer a buffer data element.
5627
5628 2003-08-01  André Pönitz  <poenitz@gmx.net>
5629
5630         * BufferView.C:
5631         * lyxtext.h:
5632         * text.C:
5633         * text2.C: make redoParagraph more independent of current cursor
5634
5635         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5636         * text.C:
5637         * text2.C: remove unneeded members
5638
5639 2003-07-30  André Pönitz  <poenitz@gmx.net>
5640
5641         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5642
5643         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5644           create a single function...
5645
5646         * paragraph_funcs.C (moveItem): ... here.
5647
5648         * text.C:
5649           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5650
5651 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5652
5653         * LColor.[Ch]: Add comment and greyedout logical colors.
5654
5655 2003-07-30  André Pönitz  <poenitz@gmx.net>
5656
5657         * tabular.C: don't use Assert too heavily. This crashes where it
5658           shouldn't
5659
5660 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5661
5662         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5663         is disabled (bug 1232)
5664
5665 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5666
5667         * factory.C: limited 'arg' scope
5668
5669 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5670
5671         * factory.C: fixed Note submenu issues
5672
5673 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5674
5675         * factory.C: submenu for Note/Comment/Greyedout
5676
5677 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5678
5679         * lyx_main.C (LyX):
5680         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5681
5682 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5683
5684         * LaTeXFeatures.C:
5685         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5686         greyedout. Patch provided by Jürgen Spitzmüller.
5687
5688 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5689
5690         * kbmap.C (read): fix error message when reading bind files
5691
5692 2003-07-29  Angus Leeming  <leeming@lyx.org>
5693
5694         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5695         certainly does not do what it purports to do. I am doing it, and
5696         us, a favour by killing it.
5697
5698 2003-07-28  José Matos  <jamatos@lyx.org>
5699
5700         * buffer.C (readBody, do_writeFile):
5701         * paragraph.C(readParagraph): \end_document replaces \the_end.
5702
5703 2003-07-29  André Pönitz  <poenitz@gmx.net>
5704
5705         * BufferView.[Ch]:
5706         * BufferView_pimpl.[Ch]:
5707         * lyxfunc.C:
5708         * text2.C:
5709         * text3.C:
5710         * textcursor.[Ch]: remove toggleToggle & Co
5711
5712 2003-07-28  José Matos  <jamatos@fep.up.pt>
5713
5714         * buffer.C (readParagraph):
5715         * params_func (readParToken, readParagraph):
5716         * paragraph.C (write): \layout -> \begin_layout.
5717
5718 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5719
5720         * lyxlex_pimpl.C (setFile): clean up slightly.
5721
5722         * bufferparams.h: add compressed var
5723
5724         * buffer_funcs.C (readFile): adjust for LyXLex change
5725         (newFile): ditto + simplify
5726
5727         * buffer.C (writeFile): handle writing of compressed files
5728
5729         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5730         Check if the file is compressed and set a bufferparm if so.
5731
5732         * Makefile.am (lyx_LDADD): remove explicit -lz
5733
5734 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5735
5736         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5737         makeDocBookFile): put the real LyX version in the first line of
5738         the file
5739
5740         * version.h:
5741         * version.C.in: remove lyx_docversion
5742
5743         * tabular.C (write_attribute): add a template-based version to
5744         write enums properly
5745
5746 2003-07-28  André Pönitz  <poenitz@gmx.net>
5747
5748         * lyxtext.h:
5749         * text.C:
5750         * text2.C:
5751         * text3.C: use doubles again for x-coordinates. They are needed.
5752
5753 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5754
5755         * messages.C (getLocaleDir): use lyx_localedir()
5756
5757         * lyxlex_pimpl.C (setFile): compress stuff
5758
5759         * buffer.C (writeFile): add some compression stuff
5760         (do_writeFile): new func, dont call expliti close... will this
5761         breake anything?
5762
5763         * Makefile.am (lyx_LDADD): add -lz
5764
5765 2003-07-28  José Matos  <jamatos@fep.up.pt>
5766
5767         * buffer.C: increment file format.
5768         * paragraph_funcs (readParagraph, readParToken):
5769         * paragraph.C (readParagraph): add \end_layout.
5770
5771 2003-07-27  Angus Leeming  <leeming@lyx.org>
5772
5773         * Makefile.am: remove special casing for configure-time setting of
5774         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5775
5776         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5777         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5778
5779 2003-07-26  André Pönitz  <poenitz@gmx.net>
5780
5781         * paragraph_func.[Ch]:
5782         * paragraph.C (realizeFont): inline it whereever it is used
5783
5784         * rowpainter.C:
5785         * text.C:
5786         * text2.C:
5787         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5788
5789
5790 2003-07-26  André Pönitz  <poenitz@gmx.net>
5791
5792         *       lyxtext.h:
5793         * text.C:
5794         * text2.C: get rid of LyXText::need_break_row
5795
5796 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5797
5798         * toc.[Ch]: put namespace toc inside namespace lyx
5799
5800         * MenuBackend.C (expandToc2): adjust for lyx::toc
5801         (expandToc): ditto
5802
5803         * lyxfunc.C (dispatch): adjust for lyx::find
5804
5805         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5806         lyx::find instead. Reorganize a bit.
5807         (LyXReplace): rename to replace
5808         (LyXFind): rename to find
5809
5810         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5811         (dispatch): ditto
5812
5813 2003-07-26  André Pönitz  <poenitz@gmx.net>
5814
5815         * text.C (setHeightOfRow): restrict scope of temporary variable
5816
5817         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5818           code (never has been used?)
5819
5820 2003-07-27  Asger Alstrup  <alstrup@local>
5821
5822         * text.C (fill): Optimise algorithm to exploit that we can reuse
5823         the LyXFont for many characters.
5824         (setHeightOfRow): Same thing.
5825         (rowBreakPoint): Same thing.
5826
5827 2003-07-26  Asger Alstrup  <alstrup@local>
5828
5829         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5830
5831         * text.C (singleWidth): Spurious font copying in hot-spot
5832         singleWidth avoided. Reorder tests for arabic for efficiency.
5833
5834         * text.C (fill): handle empty paragraphs better.
5835
5836 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5837
5838         * ispell.C:
5839         * encoding.h: add includes
5840
5841         * lyxrc.C: remove reading of bind files
5842
5843         * lyx_main.C (init): setup bindings and menus only if we have a
5844         gui.
5845
5846         * kbmap.C (read): new method. Do the actual reading of bind
5847         files.
5848
5849         * converter.C (dvipdfm_options):
5850         * bufferparams.C:
5851         * lyxrc.C (read):
5852         (output): adapt PAPER_* enums.
5853
5854         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5855
5856         * bufferparams.h: remove paper-related enums from there
5857
5858         * paper.h: New file. A trivial header file to hold paper-related
5859         enums. It should later expand to contain many paper-related
5860         horrors access.
5861
5862         * lyxrc.C: declare extern displayTranslator
5863
5864 2003-07-27  José Matos  <jamatos@fep.up.pt>
5865
5866         * tabular.[Ch] (linuxdoc): add support for tables and figures
5867         (linuxdoc).
5868
5869 2003-07-27  José Matos  <jamatos@fep.up.pt>
5870
5871         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5872         consistency in both functions.
5873         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5874
5875 2003-07-26  Asger Alstrup  <alstrup@local>
5876
5877         * rowpainter.C (paintRows): Change algorithm to work directly on
5878         the insets rather than asking every character in the document
5879         whether its an inset.
5880
5881 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5882
5883         * buffer.C (openFileWrite): factorize some code
5884
5885 2003-07-26  Angus Leeming  <leeming@lyx.org>
5886
5887         * lyx_cb.C:
5888         * lyx_main.[Ch]: replace occurances of system_tempdir with
5889         os::getTmpDir().
5890
5891 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5892
5893         * rename Inset to InsetOld
5894
5895 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5896
5897         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5898         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5899         which I think is a bit clearer. EDIT is gone, since it was
5900         premature optimisation, and broken for mathed anyway.
5901         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5902         with cursor positioning in insets as well (math insets still do not
5903         work, but that's a different story anyway.) It mysteriously
5904         crashes sometimes with undo in the first paragraph, but I'm fairly
5905         confident that this is a compiler bug.
5906
5907 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5908
5909         * paragraph.C (Paragraph): adjust for new clone return type
5910         (operator==): ditto
5911         (copyIntoMinibuffer): ditto
5912
5913 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5914
5915         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5916         by not having a special case, and always doing a full rebreak of
5917         the document after undo.
5918
5919 2003-07-23  Angus Leeming  <leeming@lyx.org>
5920
5921         * factory.C (createInset): InsetExternal::setParams now takes a
5922         Buffer const * arg.
5923
5924 2003-07-23  Angus Leeming  <leeming@lyx.org>
5925
5926         * factory.C (createInset): changed interface to the external and
5927         graphics mailers' string2params functions.
5928
5929 2003-07-23  Angus Leeming  <leeming@lyx.org>
5930
5931         * factory.C (createInset): pass a
5932         Buffer const * parameter to InsetExternalMailer's string2params.
5933
5934 2003-07-22  John Levon  <levon@movementarian.org>
5935
5936         * Thesaurus.h: include the right aiksaurus header
5937
5938 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5939
5940         * MenuBackend.C (expand): check menu shortcuts unconditionally
5941
5942 2003-07-21  Angus Leeming  <leeming@lyx.org>
5943
5944         * factory.C (createInset): pass a
5945         buffer_path parameter to InsetGraphicsMailer's string2params.
5946
5947 2003-07-21  Angus Leeming  <leeming@lyx.org>
5948
5949         * BufferView_pimpl.C (buffer):
5950         * buffer.C (d-tor):
5951         * lyx_main.C (LyX):
5952         * lyxfunc.C (dispatch):
5953         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5954         rather than the grfx shortcut.
5955
5956 2003-07-21  André Pönitz  <poenitz@gmx.net>
5957
5958         * rowpainter.C: remove unused variables
5959
5960         * tabular_funcs.C:
5961         * tabular_funcs.h: move to tabular.C
5962         * Makefile.am: adjust
5963
5964         * tabular.[Ch]: basic optical cleaning
5965
5966         * author.h: pass references, not values
5967
5968 2003-07-18  André Pönitz  <poenitz@gmx.net>
5969
5970         * lyxtext.h:
5971         * metricsinfo.C:
5972         * metricsinfo.h:
5973         * rowpainter.C:
5974         * text.C:
5975         * text2.C:
5976         * text3.C: two-phase drawing for InsetText and InsetTabular
5977         some float -> int changes.
5978
5979 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5980
5981         * lyx_main.C: fix the fix
5982
5983 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5984
5985         * lyx_main.C: fix a crash in batch mode if no files specified
5986         * converter.C: ws
5987
5988 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5989
5990         * format.[Ch] (papersize): moved to BufferParams
5991         * converter.[Ch] (dvips_options): moved to BufferParams
5992         (dvipdfm_options): moved to anon namespace
5993         * bufferparams.[Ch]: added above functions.
5994
5995 2003-07-17  André Pönitz  <poenitz@gmx.net>
5996
5997         * lyxtext.h:
5998         * rowpainter.C:
5999         * text2.C: don't call inset->update() anymore
6000
6001         * metricsinfo.[Ch]: add convenience constructor
6002
6003 2003-07-16  André Pönitz  <poenitz@gmx.net>
6004
6005         * lyxcursor.[Ch]:
6006         * lyxfunc.[Ch]:
6007         * text.C:
6008         * text2.C: replace the LyXCursor::irow_ member with
6009          on-demand computation of the value
6010
6011 2003-07-16  John Levon  <levon@movementarian.org>
6012
6013         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6014
6015 2003-07-15  André Pönitz  <poenitz@gmx.net>
6016
6017         * text.C:
6018         * text2.C: remove no more needed refresh_row
6019
6020 2003-07-15  André Pönitz  <poenitz@gmx.net>
6021
6022         * lyxtext.h:
6023         * rowpainter.C:
6024         * text2.C:
6025         * text3.C: refresh_status tristate -> need_update bool
6026
6027 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6028
6029         * lyxtext.h (init): remove reinit argument (act as if always true)
6030         * text2.C: adjust to that
6031
6032 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6033
6034         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6035         * text3.C: use it to delete selections in some cases
6036         (bugs 441, 673, 702, 954).
6037
6038 2003-07-14  André Pönitz  <poenitz@gmx.net>
6039
6040         * rowpainter.[Ch]: reduce interface
6041
6042 2003-07-14  André Pönitz  <poenitz@gmx.net>
6043
6044         * BufferView_pimpl.C:
6045         * text2.C: adjust after removing unused BufferView * argument
6046
6047 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6048
6049         * text2.C (init): fix a crash fired on resize
6050
6051 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6052
6053         * buffer.[Ch]: added new closing signal
6054         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6055         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6056         BufferView::Pimpl via the closing the signal
6057
6058 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6059
6060         * buffer.[Ch]: take out all bv-related from buffer
6061         * BufferView.C:
6062         * BufferView_pimpl.[Ch]: connect to new signals
6063         * CutAndPaste.C: removed useless asserts
6064         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6065         * lyxvc.[Ch]:
6066         * vc-backend.[Ch]:
6067         * lyxfunc.C: moved view-related funciontality from vc here
6068         * paragraph.C: removed outdated comments
6069         * text.C: ws
6070
6071 2003-07-10  André Pönitz  <poenitz@gmx.net>
6072
6073         * BufferView_pimpl.C:
6074         * tabular.h:
6075         * tabular_funcs.C:
6076         * text.C:
6077         * text2.C: remove InsetText::InnerCache, clean up consequences
6078
6079 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6080
6081         * ispell.C: fix two typos in error messages
6082
6083 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6084
6085         * Extend Note inset to other forms of annotation like Comment
6086         and Greyedout. Right button click gives dialog.
6087
6088         Files modified or added (+):
6089
6090         * insetnote.[Ch]
6091         * FormNote.[Ch]      +
6092         * ControlNote.[Ch]   +
6093         * form_note.fd       +
6094         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6095         frontends/controllers
6096         * xforms/Dialogs.C
6097         * factory.C
6098
6099 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6100
6101         * aspell.C: add missing namespace lyx::support
6102
6103 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6104
6105         * BufferView.[Ch] (newFile): Add
6106         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6107         * LaTeX.[Ch] (message): added this signal and use it
6108         * buffer.[Ch] (busy, message): added these signals and use them
6109         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6110         * converter.C:
6111         * exporter.C:
6112         * format.C:
6113         * importer.C: use buffer signals instead of direct bv calling
6114         * lyx_cb.[Ch] (ShowMessage): removed
6115         * lyx_main.C:
6116         * lyxfunc.C:
6117         * paragraph_funcs.C:
6118         * text2.C: use buffer signals
6119
6120 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6121
6122         * introduce namespace lyx::graphics
6123
6124 2003-07-02  André Pönitz  <poenitz@gmx.net>
6125
6126         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6127
6128 2003-07-01  André Pönitz  <poenitz@gmx.net>
6129
6130         * text.C:
6131         * text2.C:
6132         * text3.C:
6133         * text_funcs.[Ch]:
6134         * textcursor.h:
6135         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6136           text*.C to text_func.C
6137
6138 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6139
6140         * introduce namespace lyx::support
6141
6142 2003-06-30  André Pönitz  <poenitz@gmx.net>
6143
6144         * Chktex.C:
6145         * funcrequest.C:
6146         * lyxtext.h:
6147         * text.C: re-enable --with-included-string
6148
6149 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * textcursor.C: add <config.h>
6152
6153         * text.C (getWord): remove const from word_location arg
6154
6155         * lyxvc.C (getLogFile): fix const type order
6156
6157         * lyxtext.h: remove const from word_location arg, add arg name
6158
6159         * lyxlayout.h: currect type on labeltype.
6160
6161         * importer.C: correct \file
6162
6163         * converter.C (intToFormat): use std:: on ret val, ws changes
6164
6165         * bufferlist.h: correct \file
6166
6167         * buffer.C (makeLinuxDocFile): fix const type order
6168         (makeDocBookFile): ditto
6169         (fillWithBibKeys): use std:: on stdlib args.
6170
6171         * CutAndPaste.C: fix authors.
6172         (availableSelections): use std:: on return vector
6173
6174 2003-06-27  André Pönitz  <poenitz@gmx.net>
6175
6176         * BufferView_pimpl.C:
6177         * bufferview_funcs.C:
6178         * lyxcursor.C:
6179         * lyxcursor.h:
6180         * lyxfunc.C:
6181         * lyxtext.h:
6182         * rowpainter.C:
6183         * text.C:
6184         * text2.C:
6185         * text3.C: remove LyXCursor::row_ member
6186
6187         * lyxtext.h:
6188         * text.C: rename fullRebreak() to partialRebreak() and implement
6189           a fullRebreak() that really bereks fully
6190
6191         * textcursor.h: new struct for cursor-related data
6192
6193 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6194
6195         * lyx_main.C (LyX): get full path of document loaded on the
6196         command line
6197
6198 2003-06-26  André Pönitz  <poenitz@gmx.net>
6199
6200         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6201           remove unused/broken operator>,<,>=.
6202
6203         *       text.C: remove only use of broken operator<= in an Assert().
6204
6205 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6206
6207         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6208         moved errorlist_.clear to showErrorList
6209
6210 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6211
6212         * converter.C (scanLog, runLaTeX):
6213         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6214         move the bv->showErrorList call to the callers
6215         * lyxfunc.C: i.e. here...
6216         * text2.C: and here
6217         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6218         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6219         namespace, the second to...
6220         * buffer_funcs (BufferFormat, parseErrors): added
6221         * errorlist.C (ErrorList(TeXErrors const &)): removed
6222
6223 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6224
6225         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6226
6227 2003-06-24  "Garst R. Reese" <reese@isn.net>
6228
6229         * debug.C: fix typo
6230
6231 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6232
6233         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6234
6235         * version.C.in: change docversion to 1.4
6236
6237 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6238
6239         * buffer.C: fix a bug just introduced
6240
6241 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6242
6243         * buffer.[Ch]: added the parseError signal and use it, removed
6244         sgmlError
6245         * BufferView.[Ch] (addError): moved to ...
6246         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6247         to the Buffer::parseError signal to catch (guess what) parse errors
6248         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6249
6250 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6251
6252         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6253         ability to create a buffer and to return an existing one from
6254         the list. Moved these functions to...
6255         * buffer_funcs.[Ch]: added
6256         * BufferView.[Ch] (loadLyXFile): added
6257         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6258         job removed from bufferlist::loadLyXFile.
6259         * buffer.C (setReadOnly): make it work without view
6260         (i.e added an if (users))
6261
6262 2003-06-19  Angus Leeming  <leeming@lyx.org>
6263
6264         * lfuns.h:
6265         * LyXAction.C (init):
6266         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6267         with LFUN_DIALOG_SHOW <name> <data>.
6268
6269 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6270
6271         * CutAndPaste.C (availableSelections): small compilation fix for
6272         ancient (gcc 2.9x) compilers
6273
6274 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6275
6276         * text3.C (cursorNext): add tmp var
6277
6278         * text2.C (updateCounters): for function calling out of for clause
6279         (replaceSelectionWithString): ditto
6280         (insertStringAsParagraphs): ditto
6281         (getColumnNearX): add tmp var
6282         (setCursorFromCoordinates): add tmp var
6283         (cursorDownParagraph): add tmp var
6284         (deleteEmptyParagraphMechanism): add tmp var
6285
6286         * text.C (insertChar): add tmp var
6287
6288         * rowpainter.C (paintDepthBar): add tmp var
6289
6290         * CutAndPaste.C (availableSelections): potentially check all
6291         paragraphs in a cut to fill the shown strings.
6292
6293 2003-06-18  André Pönitz  <poenitz@gmx.net>
6294
6295         * kbmap.[Ch]: use vector<> instead of list<>
6296
6297 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6298
6299         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6300         pasteSelection with index
6301
6302         * text2.C (pasteSelection): modify, call pasteSelection with index
6303
6304         * paragraph.C (asString): reimplement version with no interval to
6305         call the one with interval.
6306
6307         * lyxtext.h: add index arg to pasteSelection
6308
6309         * MenuBackend.C (MenuItem): handle PasteRecent
6310         (Menu::read::Menutags): add md_pasterecent
6311         (read): handle it
6312         (expandPasteRecent): new function
6313         (expand): use it
6314
6315         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6316
6317         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6318         the limited stack
6319         (availableSelections): new function
6320
6321 2003-06-17  Angus Leeming  <leeming@lyx.org>
6322
6323         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6324
6325 2003-06-17  Angus Leeming  <leeming@lyx.org>
6326
6327         * lfuns.h:
6328         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6329
6330         * lyxfunc.C (dispatch): invoke it.
6331
6332 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6333
6334         * iterators.C (operator++, ParPosition): reintroduce some
6335         const_cast for the benefit of older compilers.
6336
6337 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6338
6339         * text3.C (dispatch): do not modify clipboard when doing
6340         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6341         LFUN_DELETE_SKIP on a selection selection
6342
6343 2003-06-16  André Pönitz  <poenitz@gmx.net>
6344
6345         * BufferView.C:
6346         * buffer.C:
6347         * buffer.h:
6348         * paragraph.C:
6349         * tabular.[Ch]: IU of clone() and getLabelList();
6350
6351 2003-06-13  André Pönitz  <poenitz@gmx.net>
6352
6353         * tabular.h: compactification
6354
6355 2003-06-12  André Pönitz  <poenitz@gmx.net>
6356
6357         * tabular.C:
6358         * tabular.h:
6359         * tabular_funcs.h: some renaming plus whitespace
6360
6361 2003-06-12  André Pönitz  <poenitz@gmx.net>
6362
6363         * BufferView.C:
6364         * BufferView_pimpl.C:
6365         * CutAndPaste.C:
6366         * buffer.C:
6367         * iterators.[Ch]:
6368         * lyxfunc.C:
6369         * text.C:
6370         * toc.C: Return a Paragraph & for ParIterator::operator*()
6371
6372 2003-06-11  John Levon  <levon@movementarian.org>
6373
6374         * lyx_main.C:
6375         * ToolbarBackend.h:
6376         * ToolbarBackend.C: add "Toolbars" section and
6377         put the flags there
6378
6379 2003-06-10  Angus Leeming  <leeming@lyx.org>
6380
6381         * lfuns.h:
6382         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6383
6384         * lyxfunc.C (dispatch): invoke it.
6385
6386 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6387
6388         * main.C: protect <ios> with HAVE_IOS
6389         (main): protect sync_with_stdio with HAVE_IOS
6390
6391 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6392
6393         * text2.C (cutSelection): adjust
6394         (pasteSelection): adjust
6395
6396         * messages.C: handle get of empty string
6397
6398         * main.C (main): use sync_with_stdio(false)
6399
6400         * lyxfunc.C (dispatch): adjust
6401
6402         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6403         (WriteAs): remove unneeded BufferView arg.
6404
6405         * bufferparams.h: use correct types on papersize, papersize2 and
6406         paperpackage.
6407
6408         * bufferparams.C (readToken): adjust for type
6409         (writeLaTeX): add missing cases to switch.
6410
6411         * bufferlist.C (quitWriteBuffer): adjust
6412         (close): adjust
6413
6414         * buffer.C (asciiParagraph): remove some commented code.
6415
6416         * CutAndPaste.C: remove current_view extern variable.
6417         (cutSelection): add BufferParams arg.
6418         (eraseSelection): add BufferParams arg.
6419         (pasteSelection): add Buffer const & arg
6420
6421 2003-06-07  John Levon  <levon@movementarian.org>
6422
6423         * buffer.C:
6424         * paragraph_funcs.C:
6425         * paragraph_pimpl.C:
6426         * text.C:
6427         * text2.C:
6428         * paragraph.h:
6429         * paragraph.C: allow InsetERT to freely space lines,
6430         and some consolidation of code
6431
6432 2003-06-06  José Matos  <jamatos@fep.up.pt>
6433
6434         * buffer.C (makeDocBookFile): fix bug #821
6435
6436 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6437
6438         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6439
6440 2003-06-04  Angus Leeming  <leeming@lyx.org>
6441
6442         * buffer.C: bump format to 224.
6443
6444 2003-06-05  André Pönitz  <poenitz@gmx.net>
6445
6446         * text2.C (redoParagraphs): remove two const_cast<>
6447
6448 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6449
6450         * ParagraphList.h: remove last remnants of NO_STD_LIST
6451
6452 2003-06-03  Angus Leeming  <leeming@lyx.org>
6453
6454         * factory.C (createInset): small change to the way InsetExternal's params
6455         are set.
6456
6457 2003-06-04  André Pönitz  <poenitz@gmx.net>
6458
6459         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6460
6461         * paragraph_pimpl.h:
6462         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6463
6464         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6465
6466         * undo_funcs.C: make some simple cases of undo work again
6467
6468 2003-06-03  John Levon  <levon@movementarian.org>
6469
6470         * ispell.C: HPUX doesn't have sys/select.h
6471         (from Albert Chin)
6472
6473 2003-06-03  John Levon  <levon@movementarian.org>
6474
6475         * CutAndPaste.C: update tabular and include inset
6476         buffer references
6477
6478         * buffer.h:
6479         * paragraph.h:
6480         * paragraph.C: remove owningBuffer(), don't pass Buffer
6481         to clone()
6482
6483         * factory.C: insetGraphicsParams changed
6484
6485 2003-06-02  John Levon  <levon@movementarian.org>
6486
6487         * LyXAction.C:
6488         * factory.C:
6489         * lfuns.h:
6490         * lyxfunc.C:
6491         * text3.C: remove insetparent
6492
6493 2003-06-02  John Levon  <levon@movementarian.org>
6494
6495         * buffer.h:
6496         * buffer.C: fix inset_iterator.end(), move out of line
6497         (bug 1149)
6498
6499 2003-06-01  John Levon  <levon@movementarian.org>
6500
6501         * text3.C: use a proper cut/paste when doing inset
6502         insert (from Jürgen Spitzmüller)
6503
6504 2003-06-01  John Levon  <levon@movementarian.org>
6505
6506         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6507
6508 2003-05-30  André Pönitz  <poenitz@gmx.net>
6509
6510         * rowpainter.C: unify second drawing phase
6511
6512 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6513
6514         * trans_mgr.C: remove one case of current_view
6515
6516         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6517
6518         * paragraph_funcs.h: remove paragraph.h include
6519
6520         * paragraph.h: delete NO_STD_LIST stuff
6521
6522         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6523
6524         * buffer.h: remove paragraph.h include
6525
6526         * ParagraphList.C: delete file
6527
6528         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6529
6530         * toc.C (getTocList): adjust
6531
6532         * paragraph_pimpl.C (validate): adjust
6533
6534         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6535
6536         * paragraph.C (Paragraph): adjust
6537         (getPositionOfInset): use const_iterator, adjust
6538         (bibitem): use const_iterator, adjust
6539         (setInsetOwner): adjust
6540
6541         * iterators.C (operator++): adjust
6542
6543         * InsetList.[Ch]: Replace selfmade iterator with standard
6544         vector::iterator also introduce const_iterator. Remove getPos,
6545         getInset and setInset from InsetTable. Adjust accordingly.
6546
6547         * BufferView.C (lockInset): adjust
6548         (ChangeInsets): adjust
6549
6550         * tabular.[Ch]: delete commented same_id functions
6551
6552 2003-05-28  John Levon  <levon@movementarian.org>
6553
6554         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6555
6556 2003-05-28  André Pönitz  <poenitz@gmx.net>
6557
6558         * metricsinfo.[Ch]: remove 'fullredraw' member
6559
6560 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6561
6562         * lyxtextclass.C (operator): remove caching.
6563
6564 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6565
6566         * text3.C: adjust
6567
6568         * text2.C (cursorBottom): adjust
6569         (setCounter): use ParagraphList::find, adjust
6570
6571         * text.C (workWidth): use ParagraphList::find, adjust
6572
6573         * lyxcursor.C (LyXCursor): adjust
6574
6575         * buffer.C (inset_iterator): adjust
6576
6577         * ParagraphList.h: make iterator(value_type) private, make
6578         ParagraphList a friend of iterator.
6579
6580         * ParagraphList.C (find): new function
6581
6582         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6583
6584 2003-05-27  André Pönitz  <poenitz@gmx.net>
6585
6586         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6587
6588 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6589
6590         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6591
6592 2003-05-26  John Levon  <levon@movementarian.org>
6593
6594         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6595
6596 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6597
6598         * remove same_id from function signatures, adjust.
6599
6600 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6601
6602         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6603
6604         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6605
6606         * paragraph.C (Paragraph): get rid of same_ids parameter
6607
6608         * ParagraphList.C (insert): adjust
6609         (push_back): adjust
6610
6611 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6612
6613         * paragraph_funcs.C (breakParagraph): adjust
6614         (breakParagraphConservative): adjust
6615
6616         * buffer.C (readParagraph): adjust
6617
6618         * ParagraphList.C (insert): take a reference instead of a pointer
6619         (insert): adjust
6620
6621         * paragraph.[Ch] (id): new function
6622
6623         * bufferlist.C (newFile): adjust
6624
6625         * ParagraphList.C (ParagraphList): adjust
6626         (assign): adjust
6627         (push_back): take a reference instead of a pointer.
6628
6629         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6630
6631         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6632         instead.
6633
6634         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6635         set else use old code.
6636
6637         * ParagraphList.C: remove all NO_NEXT code and only compile this
6638         code of NO_STD_LIST is set.
6639
6640 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6641
6642         * BufferView_pimpl.C:
6643         * TextCache.C:
6644         * TextCache.h:
6645         * bufferlist.C:
6646         * errorlist.h:
6647         * format.C:
6648         * format.h:
6649         * graph.C:
6650         * lyxfunc.C:
6651         * lyxrc.C:
6652         * graphics/GraphicsConverter.C:
6653         * graphics/PreviewLoader.C: header adjustment
6654
6655 2003-05-23  Angus Leeming  <leeming@lyx.org>
6656
6657         * LaTeXFeatures.[Ch] (useBabel): new method.
6658         * bufferparams.C (writeLaTeX): use it.
6659
6660 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6661
6662         * ParagraphList.h (set): remove unused function.
6663
6664 2003-05-23  André Pönitz  <poenitz@gmx.net>
6665
6666         * BufferView.C:
6667         * BufferView_pimpl.C:
6668         * buffer.C:
6669         * buffer.h:
6670         * lyxfunc.C:
6671         * undo_funcs.C: setUndo reworked
6672
6673         * iterators.[Ch]: add access to topmost ParagraphList
6674
6675         * lyxtext.[Ch] (workWidth): add a const
6676
6677 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6678
6679         * texrow.[Ch] (increasePos): remove function
6680         * exporter.C (export): removed unused var and outdated comment
6681
6682 2003-05-23  Angus Leeming  <leeming@lyx.org>
6683
6684         * latexrunparams.h: rename fragile as moving_arg.
6685         * paragraph.C (simpleTeXOnePar): ditto.
6686         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6687
6688 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6689
6690         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6691         (createUndo): ditto
6692         (textUndoOrRedo): comment out a currently unused var.
6693
6694         * paragraph.h (NO_NEXT): enable NO_NEXT
6695
6696         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6697
6698         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6699
6700         * exporter.C (Export): adjust for removeAutoInsets removal.
6701
6702         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6703
6704         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6705
6706         * BufferView.[Ch] (removeAutoInsets): delete function
6707
6708 2003-05-22  Angus Leeming  <leeming@lyx.org>
6709
6710         * latexrunparams.h: add a free_spacing variable.
6711
6712         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6713         to pass moving_arg, as the data is stored in runparams.fragile.
6714
6715         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6716         to Inset::latexOptional or to simpleTeXOnePar.
6717
6718         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6719         free_spacing arg to Inset::latexOptional.
6720
6721         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6722         free_spacing arg.
6723
6724 2003-05-22  Angus Leeming  <leeming@lyx.org>
6725
6726         * latexrunparams.h: add fragile and use_babel variables.
6727
6728         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6729         * buffer.C (makeLaTeXFile): store this returned value in
6730         runparams.use_babel, thus passing it to the inset::latex methods.
6731
6732         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6733         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6734
6735         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6736         longer has a fragile arg, as it is stored in runparams.fragile.
6737
6738         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6739         moving_arg parameter as the data is stored in runparams.fragile.
6740
6741         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6742         a fragile parameter as the data is stored in runparams.fragile.
6743
6744 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6745
6746         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6747
6748 2003-05-22  Angus Leeming  <leeming@lyx.org>
6749
6750         * latexrunparams.h: add a 'bool nice' which defaults to false.
6751
6752         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6753         now encapsulated within runparams.
6754
6755         * bufferlist.C (updateIncludedTeXfiles):
6756         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6757
6758 2003-05-22  Angus Leeming  <leeming@lyx.org>
6759
6760         * latexrunparams.h: new file containing struct LatexRunParams.
6761         * Makefile.am: add new file.
6762
6763         * LaTeX.[Ch] (c-tor, run):
6764         * buffer.[Ch] (makeLaTeXFile):
6765         * bufferlist.[Ch] (updateIncludedTeXfiles):
6766         * converter.C (convert, scanLog):
6767         * converter.[Ch] (runLaTeX):
6768         * exporter.C (Export):
6769         * paragraph.[Ch] (simpleTeXOnePar):
6770         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6771         * paragraph_funcs.[Ch] (latexParagraphs):
6772         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6773         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6774         pass around a LatexRunParams parameter.
6775
6776 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6777
6778         * paragraph.[Ch]: remove unused constructor
6779
6780         * ParagraphList.C (erase): new function, taking two iterators
6781
6782 2003-05-22  André Pönitz  <poenitz@gmx.net>
6783
6784         * undo_funcs.C: remove duplicated code
6785
6786         * iterator.[Ch]: operator=
6787
6788 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6789
6790         * tabular.C (SetMultiColumn): ws changes
6791
6792         * rowpainter.C (paintFirst): get rid of a ->previous
6793
6794         * lyx_cb.C (getPossibleLabel): parlist simplification
6795
6796         * BufferView.C (ChangeInsets): simplify slightly.
6797
6798 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6799
6800         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6801         * lfuns.h: new LFUN_SPACE
6802         * lyxfunc.C: protected space has a new lfun
6803         * paragraph_funcs.C: read new space insets
6804         * text3.C:
6805         * factory.C: handle new space insets
6806
6807 2003-05-22  André Pönitz  <poenitz@gmx.net>
6808
6809         * BufferView.C:
6810         * BufferView_pimpl.C:
6811         * buffer.[Ch]:
6812         * lyxfunc.C:
6813         * undo_funcs.C: return a ParIterator from getParFromID.
6814
6815         * iterators.[Ch]: add two const's
6816
6817 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6818
6819         * toc.C (getTocList): adjust
6820
6821         * iterators.[Ch]: rework for parlist
6822
6823         * buffer.C (par_iterator_begin): adjust
6824         (par_iterator_end): adjust
6825
6826         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6827
6828         * BufferView.C (removeAutoInsets): adjust
6829         (ChangeInsets): adjust
6830
6831 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6832
6833         * text.C (top_y): fix bug 1110
6834
6835 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6836
6837         * errorlist.[Ch]: added
6838         * buffer.C:
6839         * BufferView.[Ch]:
6840         * BufferView_pimpl.C:
6841         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6842         instead
6843
6844 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6845
6846         * Makefile.am: ensure that lyx is relinked upon changes to the
6847         various "convenience" libs.
6848
6849 2003-05-20  Angus Leeming  <leeming@lyx.org>
6850
6851         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6852         files are compiled in alphabetical order again.
6853
6854         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6855
6856 2003-05-19  Angus Leeming  <leeming@lyx.org>
6857
6858         * gettext.[Ch]: remove "char const * _(char const *)".
6859
6860 2003-05-19  André Pönitz  <poenitz@gmx.net>
6861
6862         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6863
6864         * Makefile.am:
6865         * BufferView.C:
6866         * DepTable.h:
6867         * LaTeXFeatures.C:
6868         * buffer.C:
6869         * lyxfont.C:
6870         * lyxlex.h:
6871         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6872
6873 2003-05-19  André Pönitz  <poenitz@gmx.net>
6874
6875         * buffer.C:
6876         * lyxlayout.[Ch]:
6877         * lyxtextclass.[Ch]:
6878         * paragraph.C:
6879         * paragraph_funcs.[Ch]:
6880         * text2.C:
6881         * text3.C: more insetenv work
6882
6883 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6884
6885         * ParagraphParameters.C (params2string): small bug fixed
6886
6887 2003-05-16  André Pönitz  <poenitz@gmx.net>
6888
6889         * debug.C:
6890         * bufferview_funcs.C: patch from Kornel Benko to prevent
6891           crash when _(...) is called twice in a statement
6892
6893 2003-05-16  André Pönitz  <poenitz@gmx.net>
6894
6895         * BufferView.C:
6896         * lyxfunc.C:
6897         * text.C:
6898         * text2.C:
6899         * text3.C:
6900         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6901
6902 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6903
6904         * lyx_main.C (init): remove spurious static_cast
6905
6906 2003-05-14  André Pönitz  <poenitz@gmx.net>
6907
6908         * BufferView.C: fix format string
6909
6910 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6911
6912         * BufferView.[Ch] (insertErrors): removed
6913         * BufferView.[Ch] (showErrorList): added
6914         * buffer.C (runChkTeX):
6915         * converter.C (scanLog): call showErrorList instead of inserterrors
6916
6917 2003-05-13  André Pönitz  <poenitz@gmx.net>
6918
6919         * BufferView_pimpl.C:
6920         * buffer.C:
6921         * bufferview_func.C:
6922         * MenuBackend.C:
6923         * lyxfunc.C:
6924         * lyxrc.C:
6925         * tex-accent.C:
6926         * text3.C:
6927         * toc.C:
6928         * tabular_funcs.h: tostr() from its own header
6929
6930         * ParagraphParameters.C:
6931         * ToolbarBackend.C:
6932         * bufferparams.C:
6933         * format.C:
6934         * lyxlex_pimpl.C:
6935         * text3.C: STRCONV()
6936
6937 2003-05-12  André Pönitz  <poenitz@gmx.net>
6938
6939         * BufferView.C:
6940         * BufferView_pimpl.C:
6941         * CutAndPaste.C:
6942         * LaTeX.C:
6943         * LaTeXFeatures.C:
6944         * ParagraphParameters.C:
6945         * buffer.C:
6946         * bufferlist.C:
6947         * bufferparams.C:
6948         * bufferview_funcs.C:
6949         * converter.C:
6950         * counters.C:
6951         * debug.C:
6952         * exporter.C:
6953         * format.C:
6954         * importer.C:
6955         * lyx_cb.C:
6956         * lyx_main.C:
6957         * lyxfont.C:
6958         * lyxfunc.C:
6959         * lyxvc.C:
6960         * paragraph.C:
6961         * paragraph_funcs.C:
6962         * tabular.C:
6963         * tabular_funcs.C:
6964         * text2.C:
6965         * text3.C:  boost::format -> bformat  all over the place
6966
6967
6968 2003-05-09  André Pönitz  <poenitz@gmx.net>
6969
6970         * LColor.[Ch]: Pimpl the #include <map> away
6971
6972 2003-05-09  John Levon  <levon@movementarian.org>
6973
6974         * bufferlist.C: never remove emergency saves
6975
6976 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6977
6978         * Makefile.am: better lib building
6979
6980 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6981
6982         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6983         instead.
6984         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6985         (simpleTeXSpecialChars): adjust
6986         (simpleTeXSpecialChars): adjust
6987         * paragraph.C (simpleTeXOnePar): adjust
6988         * buffer.C (makeLaTeXFile): adjust
6989
6990         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6991
6992         * text2.C (changeDepth): parlist cleanup
6993         (getColumnNearX): ditto
6994
6995         * rowpainter.C (getLabelFont): parlist cleanup
6996
6997         * bufferlist.C (newFile): parlist cleanup
6998
6999         * CutAndPaste.C (eraseSelection): parlist cleanup
7000
7001         * BufferView_pimpl.C (trackChanges): parlist cleanup
7002         (dispatch): ditto
7003
7004         * BufferView.C (lockInset): parlist cleanup.
7005         (ChangeInsets): ditto
7006
7007 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7008
7009         * CutAndPaste.h: Update file header.
7010
7011         * CutAndPaste.C: Update file header.
7012         Store the parts cut out of the Document in a limited_stack.
7013         (copySelection): adjust
7014         (pasteSelection): new function, takes the index in the limited stack.
7015         (nrOfParagraphs): adjust
7016         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7017         simplify error inset insertion.
7018         (checkPastePossible): adjust
7019
7020 2003-05-06  John Levon  <levon@movementarian.org>
7021
7022         * text2.C: don't cast wrap inset to float
7023
7024 2003-05-05  André Pönitz  <poenitz@gmx.net>
7025
7026         * iterator.C:
7027         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7028
7029         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7030           few naked Paragraph *.
7031
7032 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7033
7034         * bufferparams.C: Output warning if a document with missing
7035         TeX document class is loaded
7036         * exporter.C: Disable TeX exports if the document class is missing
7037         * lyxtextclass.C:
7038         * lyxtextclass.h:
7039         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7040         isTeXClassAvailable()
7041
7042 2003-05-03  John Levon  <levon@movementarian.org>
7043
7044         * BufferView.h:
7045         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7046         explicit cursor show/hide
7047
7048         * BufferView_pimpl.h:
7049         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7050         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7051
7052         * lyxfunc.C: hide cursor before dispatching.
7053
7054         * lyx_cb.C:
7055         * lyxfind.C:
7056         * text.C:
7057         * text3.C: remove explicit cursor hides
7058
7059 2003-05-02  André Pönitz  <poenitz@gmx.net>
7060
7061         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7062
7063         * undo_funcs.C:
7064         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7065           linked lists
7066
7067         * text2.C: tiny whitespace
7068
7069 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * undo_funcs.C: almost only ws changes.
7072
7073         * ParagraphList.C (splice): just return if pl is empty.
7074
7075 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7076
7077         * ParagraphList.C (splice): new function.
7078
7079         * CutAndPaste.C (pasteSelection): use it
7080
7081 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7082
7083         * CutAndPaste.C (pasteSelection): remove the last next and
7084         previous from this file.
7085
7086 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7087
7088         * CutAndPaste.C (pasteSelection): more clean up, user proper
7089         ParagraphList functions for pasteing.
7090
7091         * ParagraphList.C (insert): new function, three arg insert
7092
7093 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7094
7095         * ParagraphList.C (insert): new function, three arg insert
7096
7097         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7098         not on paragraphs.
7099
7100 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7101
7102         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7103
7104 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7105
7106         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7107
7108 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7109
7110         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7111         (copySelection): clean up a bit.
7112         (pasteSelection): use make_pair
7113
7114         * ParagraphList.C (ParagraphList): implement copy constructor
7115         (operator=): implement, base on copy constructor.
7116         (assign): new func
7117
7118         * paragraph.C (erase): return a bool
7119
7120         * paragraph_pimpl.C (erasePos): remove function, move contents...
7121         (erase): ... here. Return a bool.
7122         (erase): call erase instead of erasePos.
7123
7124 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7125
7126         * ParagraphList.h: define PitPosPair
7127         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7128         ParagraphList, fix a bug on pasting multiple pars
7129         * text2.C: change interface to C&P
7130
7131 2003-04-30  André Pönitz  <poenitz@gmx.net>
7132
7133         * undo_func.C: revert part of yesterday's patch 2
7134
7135 2003-04-30  John Levon  <levon@movementarian.org>
7136
7137         * LColor.C: s/tabular/table/
7138
7139 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7140
7141         * text3.C (dispatch): do not convert iterator -> pointer
7142         * undo_funcs.C (setCursorParUndo): ditto
7143         * text_funcs.C (transposeChars): ditto
7144
7145         * text2.C (setLayout): ws changes only
7146
7147         * text.C (breakParagraph): do not convert iterator -> pointer
7148         (insertChar): ditto
7149         (acceptChange): ditto
7150         (rejectChange): ditto
7151         (changeCase): ditto
7152         (Delete): ditto
7153         (backspace): ditto
7154
7155         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7156         pointer
7157
7158 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7159
7160         * text3.C (gotoInset): YABG (yet another bad getChar)
7161
7162 2003-04-29  André Pönitz  <poenitz@gmx.net>
7163
7164         * paragraph.h: make operator= private unimplemented as long as
7165           it is unusable
7166
7167         * ParagraphList.C: whitespace
7168
7169         * paragraph.[Ch]:
7170         * paragraph_pimpl.[Ch]:
7171         * paragraph_funcs.C:
7172         * CutAndPaste.C:
7173         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7174
7175         * text2.C:
7176           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7177
7178 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7179
7180         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7181         * paragraph.[Ch] (erase):
7182         * paragraph_pimpl.[Ch] (erase): change return type and value
7183         * text2.C (cutSelection): some rework
7184
7185 2003-04-28  John Levon  <levon@movementarian.org>
7186
7187         * bufferlist.C: changes for unsaved changes dialog
7188
7189 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7190
7191         * bufferlist.C (newFile): set language (messages_) for new
7192         documents also.
7193
7194         * buffer.C (readFile): ws changes only.
7195
7196 2003-04-28  André Pönitz  <poenitz@gmx.net>
7197
7198         * undo_funcs.C:
7199         * lyxfunc.C:
7200         * buffer.[Ch]:
7201         * BufferView_pimpl.C:
7202         * BufferView.C: getParFromID related ParagraphList::iterator changes
7203
7204 2003-04-28  André Pönitz  <poenitz@gmx.net>
7205
7206         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7207           Changes
7208
7209 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7210
7211         * messages.C: remove one more localedir class variable.
7212
7213 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7214
7215         * messages.C (getLocaleDir): singleton generation function
7216         (Pimpl): use it.
7217         (Messages): add a default constructor.
7218
7219         * main.C (main): do not setup localedir here, do not call
7220         gettext_init.
7221
7222         * gettext.C (_): use it.
7223         (gettext_init): delete funciton
7224
7225 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7226
7227         * gettext.C (getLyXMessages): new singleton generating function.
7228
7229         * buffer.C (updateDocLang): adjust
7230
7231         * Makefile.am (messages.o): add target
7232         (main.o): remove target
7233
7234 2003-04-27  John Levon  <levon@movementarian.org>
7235
7236         * bufferlist.C:
7237         * lyx_cb.C:
7238         * lyxfunc.C:
7239         * lyxvc.C: specify cancel button in Alert::prompt
7240
7241 2003-04-26  John Levon  <levon@movementarian.org>
7242
7243         * text3.C:
7244         * lyxfunc.C:
7245         * lfuns.h:
7246         * LyXAction.C: add LFUN_INSET_SETTINGS
7247
7248         * lyxfunc.C: don't enable tabular-feature when there's
7249         just any locking inset
7250
7251 2003-04-26  John Levon  <levon@movementarian.org>
7252
7253         * bufferlist.C: re-add Cancel to buffer close question
7254
7255         * lyxfunc.C: fix import UI a bit
7256
7257 2003-04-25  John Levon  <levon@movementarian.org>
7258
7259         * gettext.C: remove the broken asserts for now
7260
7261 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7262
7263         * messages.C: make case where setlocale cannot comply work better.
7264
7265         * buffer.C (updateDocLang): new function
7266         (changeLanguage): use it
7267         (readFile): use it
7268
7269         * text2.C (setCounter): use B_ a bit.
7270
7271         * lyxlayout.C (Read): be sure to trim the label strings.
7272
7273         * messages.C (Messages): fix typo in comment
7274
7275         * buffer.C (readFile): set message_ after file is loaded.
7276         (makeDocBookFile): remove double return
7277         (changeLanguage): reset message_ upon language change.
7278         (B_): new func, use this to get translated buffer strings.
7279
7280         * main.C: add myself and Jean Marc as authors.
7281
7282 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7283
7284         * messages.[hC]: pimplify Messages, and three different pimpls to be
7285         used in different circumstances.
7286
7287         * gettext.[Ch]: change for use with new message code.
7288
7289 2003-04-24 André Pönitz <poenitz@gmx.net>
7290
7291         * factory.C: support for eqref
7292
7293 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7294
7295         * messages.[Ch]: add missing char
7296
7297         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7298
7299         * messages.[Ch]: New files
7300
7301 2003-04-18  John Levon  <levon@movementarian.org>
7302
7303         * BufferView.h:
7304         * BufferView.C:
7305         * BufferView_pimpl.C:
7306         * lfuns.h:
7307         * LyXAction.C:
7308         * lyxtext.h:
7309         * text2.C: remove layout-copy/paste (bug 778)
7310
7311 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7312
7313         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7314
7315 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7316
7317         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7318         if they succeed. Act accordingly.
7319
7320 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7321
7322         * text2.C (setCharFont): adjust
7323         (setCounter): adjust
7324         (insertStringAsLines): adjust
7325
7326         * text.C (leftMargin): adjust
7327         (setHeightOfRow): adjust
7328
7329         * rowpainter.C (paintFirst): adjust
7330         (paintLast): adjust
7331
7332         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7333         (outerHook): ditto
7334         (isFirstInSequence): ditto
7335         (getEndLabel): ditto
7336         (outerFont): adjust
7337
7338         * paragraph.C (getParLanguage): comment out some hard stuff.
7339
7340         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7341         (sgmlError): ditto
7342         (simpleDocBookOnePar): ditto
7343         (makeDocBookFile): use ParagraphList::iterator
7344
7345         * CutAndPaste.C (pasteSelection): adjust
7346
7347 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * text2.C (getFont): adjust
7350         (getLayoutFont): adjust
7351         (getLabelFont): adjust
7352
7353         * paragraph_funcs.C (TeXOnePar): adjust
7354
7355         * buffer.C (simpleLinuxDocOnePar): adjust
7356         (simpleDocBookOnePar): adjust
7357
7358         * CutAndPaste.C (pasteSelection): adjust
7359
7360         * BufferView.C (getEncoding): adjust
7361
7362         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7363
7364 2003-04-16  John Levon  <levon@movementarian.org>
7365
7366         * lyxfind.C: use parlist stuff for search/changes
7367
7368 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7369
7370         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7371
7372         * text2.C (deleteEmptyParagraphMechanism): adjust
7373
7374         * text2.[Ch] (ownerParagraph): delete func (both of them
7375
7376 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7377
7378         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7379
7380 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7381
7382         * ParagraphList.C: prepare for NO_NEXT
7383
7384 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7385
7386         * text2.C (getFont): adjust
7387         (getLayoutFont): adjust
7388         (getLabelFont): adjust
7389
7390         * paragraph.C (getFont): adjust
7391         (getLabelFont): adjust
7392         (getLayoutFont): adjust
7393
7394         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7395
7396 2003-04-15  John Levon  <levon@movementarian.org>
7397
7398         From Angus Leeming
7399
7400         * lyx_main.C: handle Include in .ui files
7401
7402 2003-04-15  John Levon  <levon@movementarian.org>
7403
7404         * MenuBackend.C: make the doc files length shorter
7405
7406         * ToolbarBackend.h:
7407         * ToolbarBackend.C: handle toolbar placement flags,
7408         Minibuffer
7409
7410 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7411
7412         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7413         adjust
7414
7415         * paragraph_funcs.C (TeXOnePar): adjust
7416
7417         * paragraph.C (getLabelFont): add outerfont arg, adjust
7418         (getLayoutFont): ditto
7419         (simpleTeXOnePar): adjust
7420
7421         * paragraph_pimpl.C (realizeFont): delete func
7422
7423 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7424
7425         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7426         row argument, constify cur argument.
7427
7428 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7429
7430         * text2.C (getFont): adjust
7431         (getLayoutFont): adjust
7432         (getLabelFont): adjust
7433
7434         * paragraph_funcs.C (TeXOnePar): adjust
7435         (outerFont): new func...
7436         (realizeFont): ...moved out from here, changed this to facilitate
7437         transition
7438
7439         * paragraph.C (getFont): take outerfont as arg, adjust
7440         (simpleTeXOnePar): add outerfont arg, adjust
7441
7442         * buffer.C (simpleLinuxDocOnePar): adjust
7443         (simpleDocBookOnePar): adjust
7444
7445         * CutAndPaste.C (pasteSelection): adjust
7446
7447         * BufferView.C (getEncoding): adjust
7448
7449 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7450
7451         * text2.C (setCharFont): adjust
7452         (setCounter): adjust
7453
7454         * text.C (leftMargin): adjust
7455         (setHeightOfRow): adjust
7456
7457         * rowpainter.C (paintFirst): adjust
7458         (paintLast): adjust
7459
7460         * paragraph_pimpl.C (realizeFont): adjust
7461
7462         * paragraph.C (isFirstInSequence): move from here...
7463         * paragraph_funcs.C (isFirstInSequence): ...to here
7464
7465         * paragraph.C (outerHook): move from here...
7466         * paragraph_funcs.C (outerHook): ...to here
7467
7468         * paragraph.C (depthHook): move from here...
7469         * paragraph_funcs.C (depthHook): ...to here
7470
7471         * paragraph.C (getEndLabel): move from here...
7472         * paragraph_funcs.C (getEndLabel): ...to here
7473
7474         * text2.C (realizeFont): move from here...
7475         * paragraph_funcs.C (realizeFont): ...to here
7476
7477 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7478
7479         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7480
7481 2003-04-14  Angus Leeming  <leeming@lyx.org>
7482
7483         * LColor.[Ch]: scrap LColor mathcursor.
7484
7485 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7486
7487         * lyxlex.[Ch] (text): delete function
7488         * trans.C (Load): adjust
7489         * paragraph_funcs.C (readParToken): adjust
7490
7491 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7492
7493         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7494         vector<char> instead of a char[].
7495
7496         * lyxlex_pimpl.C (getString): adjust
7497         (next): adjust
7498         (lex): use getString
7499         (eatLine): adjust
7500         (nextToken): adjust
7501
7502         * lyxlex.C (text): use pimpl_->getString()
7503         (getBool): ditto
7504         (findToken): ditto
7505
7506 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7507
7508         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7509         (makeFontEntriesLayoutSpecific): temp var for par.size()
7510         (setLayout): temp var for ownerParagraphs().end()
7511         (fullRebreak): temp var for rows().end()
7512         (selectionAsString): temp var for boost::next(startpit), realize
7513         that the while really is a regular for loop.
7514         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7515         setCursor in one place.
7516         (setParagraph): temp vr for ownerParagraphs().end()
7517         (updateCounters): make the while loop a for loop
7518         (cutSelection): temp var for ownerParagraphs().end()
7519         (updateInset): make the do {} while() a regular for loop
7520         (getCursorX): use temp vars
7521         (setCurrentFont): use temp vars
7522         (getColumnNearX): use temp vars
7523
7524 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7525
7526         * text.C (transformChar): use temp var for getChar
7527         (computeBidiTables): use temp var for row->par()
7528         (fill): move temp vars for row->par() and pit->layout() earlier in
7529         the function.
7530         (labelFill): use temp var for row->par()
7531         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7532         asc and desc, realize that pit never changes and that firstpit is
7533         just a duplicate and not needed. Exchange rit->par() with pit in a
7534         lot of places.
7535         (breakAgain): use a temp var for boost::next(rit)
7536         (breakAgainOneRow): ditto
7537         (breakParagraph): use a temp var for rows().begin()
7538         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7539         (cursorRightOneWord): use temp var for cursor.par() and
7540         cursor.pos(), remove usage of tmpcursor.
7541         (cursorLeftOneWord): use temp var for cursor.par() and
7542         cursor.pos() only set cur at end of function.
7543
7544 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7545
7546         * text.C, text2.C: exchange all usage of Paragraph::next with
7547         boost::next(ParagraphList::iterator)
7548
7549         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7550
7551         * text2.C (cursorTop): simplify implementation
7552         (cursorBottom): ditto
7553         (setParagraph): use ParagraphList::iterator
7554         (setCurrentFont): adjust
7555         (getColumnNearX): adjust
7556         (cursorRight): adjust
7557         (cursorLeft): remove usage of Paragraph::previous
7558         (cursorUpParagraph): ditto
7559         (deleteEmptyParagraphMechanism): slight cleanup
7560
7561         * text.C (isBoundary): take a Paragraph const & instead of a
7562         pointer as arg.
7563         (addressBreakPoint): ditto
7564         (leftMargin): remove usage of Paragraph::previous.
7565         (setHeightOfRow): ditto
7566         (cursorLeftOneWord): ditto
7567         (selectNextWordToSpellcheck): ditto
7568         (Delete): ditto
7569         (backspace): ditto
7570         (breakParagraph): remove one usage of Paragraph::next
7571         (redoParagraph): ditto
7572         (acceptChange): ditto
7573         (insertChar): adjust
7574         (rowBreakPoint): adjust
7575
7576         * bufferview_funcs.C (toggleAndShow): adjust
7577
7578 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7579
7580         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7581         methods to access it.
7582         * lyxtext.h:
7583         * text.C: Added updateRowPositions to compute all row positions.
7584         Make top_y and getRowNearY() to use the cached y position
7585
7586 2003-04-11  John Levon  <levon@movementarian.org>
7587
7588         * text.C (rowBreakPoint): reintroduce the labelEnd
7589         checks, code copied from the row fill stuff. Deep voodoo.
7590
7591         * text.C (fill): add a comment and debugging for the
7592         next poor soul.
7593
7594 2003-04-11  John Levon  <levon@movementarian.org>
7595
7596         * text.C: make sure fullrow insets get wrapped to the next line,
7597         even when they're in a manual label
7598
7599 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7600
7601         * text2.C (insertParagraph): make it take ParagraphList::iterator
7602         as arg.
7603         (setLayout): make it return ParagraphList::iterator
7604         (redoParagraphs): ditto
7605         (setCounter): ditto
7606         (checkParagraph): ditto
7607
7608         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7609
7610         * text2.C: adjust several funcs.
7611         (realizeFont): take a ParagraphList::iterator as arg.
7612         (getLayoutFont): ditto
7613         (getLabelFont): ditto
7614         (setCharFont): ditto
7615
7616         * text.C: adjust several funcs.
7617
7618 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7619
7620         * text.C (selectNextWordToSpellcheck): don't accidentally
7621         skip insets
7622
7623 2003-04-10  John Levon  <levon@movementarian.org>
7624
7625         * ToolbarBackend.C (getIcon): special handling for
7626         LFUN_MATH_DELIM
7627
7628 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7629
7630         * text2.C (cursorRight): a getChar assert fixed
7631
7632 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7633
7634         * text2.C (getFont): change to take a ParagraphList::iterator
7635         instead of Paragraph*
7636         Adjust several functions.
7637
7638         * text.C (transformChar): change to take a ParagraphList::iterator
7639         instead of Paragraph*
7640         (singleWidth): ditto
7641         Adjust several functions.
7642
7643         * rowpainter.C: adjust several functions
7644         * rowpainter.h:store a ParagraphList::iterator and not a
7645         Paragraph&.
7646
7647
7648 2003-04-09  John Levon  <levon@movementarian.org>
7649
7650         * lyxfunc.C:
7651         * lfuns.h:
7652         * LyXAction.h:
7653         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7654         and the "help" bits as well
7655
7656 2003-04-09  John Levon  <levon@movementarian.org>
7657
7658         * ToolbarBackend.h:
7659         * ToolbarBackend.C: allow multiple toolbars
7660
7661 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7662
7663         * undo_funcs.C (setCursorParUndo): adjust
7664
7665         * text_funcs.C (transposeChars): adjust
7666
7667         * text3.C (gotoNextInset): adjust
7668         (dispatch): adjust
7669
7670         * text2.C (setLayout): adjust
7671         (changeDepth): adjust
7672         (setFont): adjust
7673         (redoParagraphs): adjust
7674         (selectionAsString): adjust
7675         (setParagraph): adjust
7676         (insertInset): adjust
7677         (cutSelection): adjust
7678         (copySelection): adjust
7679         (pasteSelection): adjust
7680         (insertStringAsLines): adjust
7681         (updateInset): adjust
7682         (setCursor): change to take a ParagraphList::iterator parameter
7683         (setCursorIntern): change to take a ParagraphList::iterator parameter
7684         (setCurrentFont): adjust
7685         (cursorLeft): adjust
7686         (cursorRight): adjust
7687         (deleteEmptyParagraphMechanism): adjust
7688
7689         * text.C (breakParagraph): adjust
7690         (insertChar): adjust
7691         (acceptChange): adjust
7692         (rejectChange): adjust
7693         (selectNextWordToSpellcheck): adjust
7694         (changeCase): adjust
7695         (Delete): adjust
7696         (backspace): adjust
7697
7698         * lyxfind.C (SearchForward): adjust
7699         (SearchBackward): adjust
7700         (nextChange): adjust
7701
7702         * lyxcursor.C (par): adjust
7703
7704         * lyxcursor.h: store a ParagraphList::iterator instead of a
7705         Paragraph*
7706
7707         * lyx_cb.C (getPossibleLabel): adjust
7708
7709         * bufferview_funcs.C (toggleAndShow): adjust
7710
7711         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7712         (dispatch): adjust
7713
7714         * BufferView.C (removeAutoInsets): adjust
7715         (lockedInsetStoreUndo): adjust
7716
7717 2003-04-09  John Levon  <levon@movementarian.org>
7718
7719         * ToolbarBackend.C: try icon without argument
7720         if with argument fails
7721
7722 2003-04-08  John Levon  <levon@movementarian.org>
7723
7724         * ToolbarBackend.h:
7725         * ToolbarBackend.C: add getIcon(), handle tooltip,
7726         and change from "Icon" to "Item".
7727
7728 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7729
7730         * BufferView.C (lockInset): another bad getchar crunched
7731
7732 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7733
7734         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7735         again)
7736
7737 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7738
7739         * lyxfind.C (searchForward, searchBackwards): bug 782
7740
7741 2003-04-07  John Levon  <levon@movementarian.org>
7742
7743         * paragraph.C: remove dead comment
7744
7745         * text.C: remove troublesome depth-fiddling code
7746         in leftMargin() and rightMargin() (bug 1017)
7747
7748         * text.C: fix breaking of rows in nested lists
7749         (bug 1004)
7750
7751         * text2.C (updateCounters): fix up depth values
7752         (bug 1013)
7753
7754 2003-04-07  John Levon  <levon@movementarian.org>
7755
7756         * BufferView_pimpl.C: clear message when doc finishes resizing,
7757         and after a mouse event
7758
7759         * lyxfunc.C: clear message after exiting inset
7760
7761 2003-04-07  John Levon  <levon@movementarian.org>
7762
7763         * bufferview_funcs.C: show math status not outside
7764         status in the statusbar
7765
7766 2003-04-07  John Levon  <levon@movementarian.org>
7767
7768         * lyxfunc.C: note status changed after a depth change
7769
7770 2003-04-04  Angus Leeming  <leeming@lyx.org>
7771
7772         * LaTeX.h: move AuxInfo operator==, != out of line.
7773         Remove LaTeX virtual destructor; nothing derives from it.
7774         Move operator()() out of public area and rename it startscript().
7775         Change protected for private.
7776
7777 2003-04-04  Angus Leeming  <leeming@lyx.org>
7778
7779         * lyxfunc.C:
7780         * text2.C: remove unneeded #includes.
7781
7782 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7783
7784         * text2.C (dEPM): fix the heigth of the next row
7785
7786 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7787
7788         * text.C: squashed an invalid getChar requester + some ws changes
7789
7790 2003-04-03  John Levon  <levon@movementarian.org>
7791
7792         * bufferview_funcs.h:
7793         * bufferview_funcs.C:
7794         * lyxfunc.C:
7795         * lyxtext.h:
7796         * text2.C: make getStatus work for the env depth lfuns
7797
7798 2003-04-03  John Levon  <levon@movementarian.org>
7799
7800         * bufferview_funcs.h:
7801         * bufferview_funcs.C:
7802         * lyxfunc.C:
7803         * lyxtext.h:
7804         * text2.C: parlistize decDepth(), by merging it with incDepth()
7805
7806 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7807
7808         * lyxrow.h: store a ParagraphList::iterator instead of a
7809         Paragraph* and adjust other class functions to suit.
7810
7811         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7812         above.
7813
7814 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7815
7816         * text2.C (setCursor): do not anchor to cursor row for the time being
7817
7818 2003-04-02  John Levon  <levon@movementarian.org>
7819
7820         * LyXAction.C:
7821         * lfuns.h:
7822         * lyx_main.C:
7823         * lyxtext.h:
7824         * text.C:
7825         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7826
7827 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7828
7829         * paragraph.h: make ParagraphList and ParagraphList::iterator
7830         friends of Paragraph.
7831
7832         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7833
7834         * ParagraphList.C: Use the private next_ and previous_ from
7835         Paragraph.
7836
7837 2003-04-01  John Levon  <levon@movementarian.org>
7838
7839         * ToolbarBackend.h:
7840         * ToolbarBackend.C:
7841         * Makefile.am: rename, remove defaults gunk
7842
7843         * MenuBackend.h:
7844         * MenuBackend.C: remove defaults gunk
7845
7846         * Languages.h:
7847         * Languages.C: remove defaults gunk
7848
7849         * lyx_main.h:
7850         * lyx_main.C: error out if files couldn't be found.
7851
7852 2003-04-02  John Levon  <levon@movementarian.org>
7853
7854         * text2.C: make incDepth() use parlist
7855
7856 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7857
7858         * undo_funcs.C (firstUndoParagraph): adjust
7859
7860         * text3.C (gotoInset): adjust
7861         (dispatch): adjust, and rewrite loop.
7862
7863         * text2.C (init): adjust, and rewrite loop.
7864         (redoParagraphs): adjust
7865         (updateInset): adjust, and rewrite loop.
7866         (deleteEmptyParagraphMechanism): adjust
7867
7868         * tabular.C (LyXTabular): adjust
7869         (SetMultiColumn): adjust
7870         (TeXRow): adjust
7871
7872         * lyxtext.[Ch] (ownerParagraph): delete function
7873         (ownerParagraphs): new function returns a ParagraphList.
7874
7875         * BufferView.C (removeAutoInsets): adjust
7876         (insertErrors): adjust
7877         (setCursorFromRow): adjust
7878
7879 2003-04-01  Angus Leeming  <leeming@lyx.org>
7880
7881         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7882         in the frontends.
7883
7884 2003-04-02  John Levon  <levon@movementarian.org>
7885
7886         * lyxtext.h:
7887         * text.C:
7888         * Makefile.am:
7889         * text_funcs.h:
7890         * text_funcs.C: make transposeChars a free function
7891
7892         * lyxrow_funcs.C: remove wrong comment
7893
7894 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7895
7896         * lyxtext.h: adjust
7897         * rowpainter.C: adjust
7898         * text.C: adjust
7899         * text2.C: adjust
7900         * text3.C: adjust
7901
7902         * lyxrow_funcs. [Ch]: new files
7903
7904         * lyxrow.[Ch]: remove next and previous pointers
7905         (next,previous): remove accessor functions
7906         (isParEnd): move to lyxrow_funcs
7907         (lastPos): move to lyxrow_funcs
7908         (nextRowIsAllInset): move to lyxrow_funcs
7909         (lastPrintablePos): move to lyxrow_funcs
7910         (numberOfSeparators): move to lyxrow_funcs
7911         (numberOfHfills): move to lyxrow_funcs
7912         (numberOfLabelHfills): move to lyxrow_funcs
7913         (hfillExpansion): move to lyxrow_funcs
7914
7915         * lyxfunc.C: adjust
7916
7917         * bufferview_funcs.C (toggleAndShow): adjust
7918
7919         * RowList.h: Remove class RowList from file leave just a
7920         std::list<Row>.
7921
7922         * RowList.C: delete file
7923
7924         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7925         and lyxrow_funcs.h
7926
7927 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7928
7929         * text3.C (cursorPrevious): adjust
7930         (cursorNext): adjust
7931         (dispatch): adjust
7932
7933         * text2.C (redoHeightOfParagraph): adjust
7934         (redoDrawingOfParagraph): adjust
7935         (setCursor): adjust
7936
7937         * text.C (breakParagraph): adjust
7938         (insertChar): adjust
7939         (backspace): adjust
7940
7941         * rowpainter.C (RowPainter): adjust
7942         (leftMargin): simplify and adjust
7943         (most rowpainter functions): adjust.
7944
7945         * rowpainter.h: store the row as RowList::iterator not as Row*
7946
7947         * lyxcursor.C (row): taka RowList::iterator as arg
7948         (irow): ditto
7949
7950         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7951         of Row*.
7952
7953 2003-04-01  Angus Leeming  <leeming@lyx.org>
7954
7955         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7956         stuff like bool Bool.
7957
7958 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7959
7960         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7961         rewrite a loop
7962
7963 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7964
7965         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7966         RowList::iterator.
7967
7968         * lyxtext.h (rows): drop one version and leve a const variant that
7969         returns a RowList::iterator.
7970
7971 2003-03-31  Angus Leeming  <leeming@lyx.org>
7972
7973         * text.C (fill): ensure that the signature is the same as that in the
7974         header file.
7975
7976 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7977
7978         * text2.C (redoParagraphs): adjust
7979         (updateCounters): adjust
7980         (checkParagraph): adjust
7981         (getColumnNearX): adjust and reformat a bit.
7982
7983         * text.C (top_y): adjust
7984         (workWidth): adjust
7985         (leftMargin): adjust
7986         (prepareToPrint): adjust
7987         (getRow): adjust
7988         (getRowNearY): adjust
7989
7990         * lyxtext.h: make rowlist_ mutable.
7991
7992         * RowList.h: add const_iterator
7993         * RowList.C: adjust for RowList::const_iterator.
7994
7995         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7996         adjust.
7997
7998 2003-03-31  John Levon  <levon@movementarian.org>
7999
8000         * lyxrc.h:
8001         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8002
8003         * lyx_main.C: set default fonts from using lyx_gui funcs
8004
8005         * exporter.C: pdf_mode moved from lyxrc
8006
8007         * lyx_cb.C:
8008         * lyxfunc.C: changes from above
8009
8010 2003-03-31  John Levon  <levon@movementarian.org>
8011
8012         * lyx_main.C: fix to the last fix
8013
8014 2003-03-31  John Levon  <levon@movementarian.org>
8015
8016         * bufferlist.C: "Load original" -> "Load Original"
8017
8018         * converter.C:
8019         * exporter.C:
8020         * importer.C:
8021         * lyx_main.C:
8022         * format.C: more Alert cleanups
8023
8024 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8025
8026         * text2.C (removeParagraph): make it take a RowList::iterator as
8027         arg, adjust.
8028         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8029         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8030
8031         * text.C (anchor_row): make it take a RowList::iterator as arg,
8032         adjust.
8033         (computeBidiTables): make it take a const reference to Row instead
8034         of Row pointer, adjust.
8035         (leftMargin): make it take a RowList::iterator as arg, adjust.
8036         (rowBreakPoint): adjust
8037         (breakAgainOneRow): make it take a RowList::iterator as arg,
8038         adjust.
8039         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8040
8041         * bufferview_funcs.C (toggleAndShow): adjust
8042
8043 2003-03-30  John Levon  <levon@movementarian.org>
8044
8045         * Makefile.am:
8046         * BoostFormat.h:
8047         * boost-inst.C: moved to support
8048
8049         * several files: changes as a result
8050
8051 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8052
8053         * text2.C (LyXText): adjust.
8054         (init): adjust
8055         (removeRow): make it take a RowList::iterator as arg, adjust.
8056         (fullRebreak): adjust
8057         (deleteEmptyParagraphMechanism): adjust
8058         (clearPaint): adjust
8059         (postPaint): adjust
8060
8061         * text.C (top_y): adjust
8062         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8063         (breakAgain): make it take a RowList::iterator as arg, adjust.
8064         (breakParagraph): adjust
8065         (insertChar): adjust
8066         (backspace): adjust
8067
8068         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8069         need_break_row, and refresh_row.
8070
8071         * text3.C (dispatch): adjust
8072
8073         * text2.C (checkParagraph): adjust
8074         (setCursor): adjust
8075         (setCursorFromCoordinates): adjust
8076
8077         * text.C (top_y): adjust
8078         (workWidth): adjust
8079         (getRow): make it return a RowList::iterator, adjust
8080         (getRowNearY): make it return a RowList::iterator, adjust
8081
8082         * text2.C (init): adjust
8083         (insertRow): remove function
8084         (insertParagraph): adjust
8085         (redoParagraphs): adjust
8086         (fullRebreak): adjust
8087         (updateCounters): adjust
8088
8089         * text.C (top_y): rewrite to use RowList iterators.
8090         (top_y): adjust
8091         (setHeightOfRow): rewrite to sue RowList iterators.
8092         (appendParagraph): adjust
8093         (breakAgain): adjust
8094         (breakAgainOneRow): adjust
8095         (breakParagraph): adjust
8096         (getRow): adjust
8097         (getRowNearY): adjust, and remove commented code.
8098
8099         * lyxtext.h (firstRow): delete function
8100         (lastRow): delete function
8101         (rows): new function (const and non-const versions.)
8102         (insertRow): delete function
8103
8104         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8105
8106 2003-03-29  John Levon  <levon@movementarian.org>
8107
8108         * BufferView_pimpl.C: always update scrollbar top
8109         because pasting text when we're anchored could mean we
8110         miss an update altogether
8111
8112 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8113
8114         * text2.C (init): use rowlist_.end() and not 0.
8115         (insertRow): change to take a RowList::iterator as arg, adjust
8116         for this.
8117         (insertParagraph): change to take a RowList::iterator as arg,
8118         adjust for this.
8119         (redoParagraphs): remove some debug msgs.
8120
8121         * text.C (appendParagraph): change to take a RowList::iterator
8122         arg, adjust for this.
8123         (breakAgain): add an assert
8124         (breakAgainOneRow): ditto
8125
8126 2003-03-29  John Levon  <levon@movementarian.org>
8127
8128         * text2.C: do not clear selection after inc/decDepth
8129         (bug 550)
8130
8131 2003-03-29  John Levon  <levon@movementarian.org>
8132
8133         * BufferView.C:
8134         * buffer.C: fix broken strerrors according to Lars
8135
8136 2003-03-29  John Levon  <levon@movementarian.org>
8137
8138         * converters.C: more Alert cleanups
8139
8140 2003-03-29  John Levon  <levon@movementarian.org>
8141
8142         * bufferview_funcs.C: remove pointless Alert
8143
8144         * buffer.C: fix confusing error message when
8145         a template is chmoded 000
8146
8147 2003-03-29  John Levon  <levon@movementarian.org>
8148
8149         * BufferView.C:
8150         * BufferView.h:
8151         * BufferView_pimpl.C: Alert fixes
8152
8153         * Makefile.am:
8154         * tabular.C:
8155         * tabular-old.C: remove unused table compat reading
8156
8157 2003-03-29  John Levon  <levon@movementarian.org>
8158
8159         * BufferView.C:
8160         * buffer.C:
8161         * lyx_cb.h:
8162         * lyx_cb.C: more Alert cleanups
8163
8164         * lyxfunc.C: don't allow chktex if not latex document
8165
8166 2003-03-29  John Levon  <levon@movementarian.org>
8167
8168         * lyx_cb.C:
8169         * BufferView.C:
8170         * buffer.C: warnings pushed down from support/,
8171         kill err_alert
8172
8173 2003-03-29  John Levon  <levon@movementarian.org>
8174
8175         * lyxfunc.C: safety check for C-r (revert)
8176
8177 2003-03-29  John Levon  <levon@movementarian.org>
8178
8179         * bufferlist.h:
8180         * bufferlist.C: several UI fixes using Alert::prompt.
8181         Fix the pointless looping quit code. Fix stupid revert
8182         behaviour (bug 938)
8183
8184         * lyxvc.h:
8185         * lyxvc.C:
8186         * lyx_cb.C: use Alert::prompt
8187
8188         * lyx_main.C: remove a silly question
8189
8190         * lyxfunc.C: remove a couple of silly questions,
8191         use Alert::prompt
8192
8193 2003-03-28  John Levon  <levon@movementarian.org>
8194
8195         * text2.C: fix bug 974 (End on empty par)
8196
8197 2003-03-28  John Levon  <levon@movementarian.org>
8198
8199         * BufferView_pimpl.C:
8200         * LyXAction.C:
8201         * lfuns.h: remove do-nothing math greek lfuns
8202
8203 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8204
8205         * lyxgluelength.h (isValidGlueLength): add default arg on
8206         parameter 2. Remove default arg from friend in class.
8207
8208         * lyxlength.h (isValidLength): add default arg on parameter 2.
8209         Remove default arg from friend in class.
8210
8211         * text2.C (LyXText): adjust, initialize refresh_row.
8212         (init): adjust
8213         (removeRow): adjust
8214         (insertRow): adjust
8215         (insertParagraph): adjst
8216         (redoParagraphs): adjust
8217         (fullRebreak): adjust
8218         (updateCounters): adjust
8219         (deleteEmptyParagraphMechanism): first attempt at fixing a
8220         crashing bug.
8221
8222         * text.C (top_y): adjust
8223         (setHeightOfRow): adjust
8224         (getRow): adjust
8225         (getRowNearY): adjust
8226
8227         * lyxtext.h: include RowList.h
8228         (~LyXText): not needed anymore, deleted.
8229         (firstRow): modify for RowList
8230         (lastRow): new function
8231         Delete firstrow and lastrow class variables, add a Rowlist
8232         rowlist_ class variable.
8233
8234         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8235         paragraph is empty.
8236
8237         * RowList.C (insert): fix case where it == begin().
8238
8239 2003-03-26  Angus Leeming  <leeming@lyx.org>
8240
8241         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8242         the thesaurus dialog.
8243
8244 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8247
8248         * RowList.[Ch]: new files
8249
8250         * ParagraphList.C (erase): handle the case where it == begin
8251         correctly.
8252
8253 2003-03-25  John Levon  <levon@movementarian.org>
8254
8255         * Makefile.am:
8256         * aspell_local.h:
8257         * aspell.C: add new aspell support
8258
8259         * lyxrc.h:
8260         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8261         have it accessible.
8262
8263 2003-03-25  Angus Leeming  <leeming@lyx.org>
8264
8265         * lfuns.h:
8266         * LyXAction.C (init): new LFUN_INSET_INSERT.
8267
8268         * BufferView_pimpl.C (dispatch): split out part of the
8269         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8270
8271         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8272         LFUN_INSET_APPLY.
8273
8274 2003-03-25  Angus Leeming  <leeming@lyx.org>
8275
8276         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8277
8278 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8279
8280         * text2.C:
8281         * text3.C: remove useless row->height(0)
8282
8283 2003-03-25  John Levon  <levon@movementarian.org>
8284
8285         * lyxtext.h:
8286         * text2.C:
8287         * text3.C: rename the refreshing stuff to better names
8288
8289 2003-03-24  John Levon  <levon@movementarian.org>
8290
8291         * BufferView_pimpl.h:
8292         * BufferView_pimpl.C: update layout choice on a mouse
8293         press/release
8294
8295 2003-03-23  John Levon  <levon@movementarian.org>
8296
8297         * Makefile.am: fix commandtags.h reference
8298
8299 2003-03-22  John Levon  <levon@movementarian.org>
8300
8301         * BufferView_pimpl.C:
8302         * lyxtext.h:
8303         * rowpainter.C:
8304         * rowpainter.h:
8305         * text.C:
8306         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8307
8308 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8309
8310         * lyxtext.h:
8311         * text.C: take the rtl methods out of line
8312
8313 2003-03-21 André Pönitz <poenitz@gmx.net>
8314
8315         * metricsinfo.[Ch]: new files containing structures to be passed around
8316         during the two-phase-drawing...
8317
8318 2003-03-21 André Pönitz <poenitz@gmx.net>
8319
8320         * lyxtextclass.C: read 'environment' tag.
8321
8322 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8323
8324         * text2.C (removeRow): fix bug 964
8325
8326 2003-03-20  John Levon  <levon@movementarian.org>
8327
8328         * rowpainter.C:
8329         * text.C:
8330         * text2.C: paint cleanups. Inset::update() dropped font
8331         parameter
8332
8333 2003-03-19  John Levon  <levon@movementarian.org>
8334
8335         * lyxfunc.C: only fitcursor/markDirty if available()
8336
8337 2003-03-19  John Levon  <levon@movementarian.org>
8338
8339         * commandtags.h: rename to ...
8340
8341         * lfuns.h: ... this, and renumber / cleanup
8342
8343 2003-03-19  John Levon  <levon@movementarian.org>
8344
8345         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8346         fit the cursor after an lfun
8347
8348         * BufferView.h:
8349         * BufferView.C:
8350         * BufferView_pimpl.h:
8351         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8352
8353         * LyXAction.C: layout-character should have ReadOnly
8354
8355         * ParagraphParameters.C:
8356         * buffer.C:
8357         * bufferview_funcs.C:
8358         * lyx_cb.C:
8359         * lyxfind.C:
8360         * lyxtext.h:
8361         * text.C:
8362         * text2.C:
8363         * text3.C:
8364         * undo_funcs.C: changes from above
8365
8366 2003-03-18  John Levon  <levon@movementarian.org>
8367
8368         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8369         remove it from update()
8370
8371         * lyxfunc.C: update layout choice after an lfun
8372
8373         * text3.C: remove extra updateLayoutChoice()s
8374
8375 2003-03-18  John Levon  <levon@movementarian.org>
8376
8377         * text.C: top_y change means full repaint, fix
8378         a drawing bug with cursor movement
8379
8380 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8381
8382         * lyxtext.h:
8383         * text.C:
8384         * text2.C: anchor row on setCursor
8385
8386 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8387
8388         * lyxtext.h: remove almost all mutable keywords
8389         * text.C:
8390         * text2.C:
8391         * text3.C: remove const keywords accordingly
8392
8393 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8394
8395         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8396         anon namespace
8397         (TeXEnvironment): ditto
8398         (TeXOnePar): ditto
8399
8400 2003-03-17  John Levon  <levon@movementarian.org>
8401
8402         * text.C (rowBreakPoint): remove attempt to fix displayed
8403         math insets inside a manual label
8404
8405 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8406
8407         * lyxtext.h: remove BufferView* as first arg from almost all class
8408         functions.
8409         * other files: adjust.
8410
8411 2003-03-17  John Levon  <levon@movementarian.org>
8412
8413         * lyxtext.h:
8414         * undo_funcs.C:
8415         * text2.C: more paint cleanups
8416
8417         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8418
8419         * rowpainter.h:
8420         * rowpainter.C: remove "smart" background painting code
8421
8422 2003-03-16  John Levon  <levon@movementarian.org>
8423
8424         * lyxtext.h:
8425         * text.C:
8426         * text2.C:
8427         * text3.C: add helper functions for setting refresh_row/y
8428
8429 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8430
8431         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8432         newline inset which *can* get inserted in the pass_thru layouts.
8433         This is primarily for literate documents.
8434
8435 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8436
8437         * buffer.C: increment LYX_FORMAT to 223
8438
8439 2003-03-14 André Pönitz <poenitz@gmx.net>
8440
8441         * textclass.h: prepare for environment handling, ws changes
8442         * lyxlayout.C: read latexheader and latexfooter tags
8443
8444 2003-03-14  John Levon  <levon@movementarian.org>
8445
8446         * text2.C: rewrite ::status() a bit
8447
8448 2003-03-13  John Levon  <levon@movementarian.org>
8449
8450         * lyxtext.h: add some docs
8451
8452 2003-03-13  John Levon  <levon@movementarian.org>
8453
8454         * lyxtext.h:
8455         * text.C:
8456         * text2.C:
8457         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8458
8459 2003-03-13  John Levon  <levon@movementarian.org>
8460
8461         * text3.C: fix appendix redrawing
8462
8463 2003-03-13  John Levon  <levon@movementarian.org>
8464
8465         * text.C (setHeightOfRow):
8466         * rowpainter.h:
8467         * rowpainter.C: make appendix mark have the text
8468           "Appendix" so the user knows what it is
8469
8470         * LColor.h:
8471         * LColor.C: s/appendixline/appendix/ from above
8472
8473 2003-03-13  John Levon  <levon@movementarian.org>
8474
8475         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8476
8477         * text.C: fix a getChar(pos) bug properly
8478
8479 2003-03-13  Angus Leeming  <leeming@lyx.org>
8480
8481         * commandtags.h:
8482         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8483         Probably only temporary. Let's see how things pan out.
8484
8485         * BufferView.C (unlockInset):
8486         * BufferView_pimpl.C (fitCursor):
8487         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8488
8489         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8490         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8491
8492         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8493         new functions that convert ParagraphParameters to and from a string.
8494
8495         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8496         BufferView::Pimpl's dispatch.
8497         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8498
8499 2003-03-13 André Pönitz <poenitz@gmx.net>
8500
8501         * lyxfunc.C:
8502         * text3.C:
8503         * factory.C: make it aware of InsetEnv
8504
8505 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8506
8507         * text2.C (setCursor): never ask for one past last
8508         (setCursor): add some debugging messages.
8509
8510         * text.C (singleWidth): never ask for one past last
8511         (singleWidth): ditto
8512         (leftMargin): ditto
8513         (rightMargin): ditto
8514         (rowBreakPoint): ditto
8515         (setHeightOfRow): ditto
8516         (prepareToPrint): ditto
8517
8518         * rowpainter.C (paintBackground): never ask for one past last
8519         (paintText): never ask for one past last
8520
8521         * paragraph_pimpl.C (getChar): make the assert stricter, never
8522         allow the one past last pos to be taken
8523
8524         * paragraph.C (getChar): ws changes only
8525
8526         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8527         (numberOfSeparators): ditto
8528         (numberOfHfills): ditto
8529
8530 2003-03-12  John Levon  <levon@movementarian.org>
8531
8532         * author.h:
8533         * author.C:
8534         * bufferparams.h:
8535         * bufferparams.C:
8536         * paragraph_funcs.C: fix per-buffer authorlists
8537
8538 2003-03-12  John Levon  <levon@movementarian.org>
8539
8540         * text.C: fix newline in right address
8541
8542 2003-03-12  Angus Leeming  <leeming@lyx.org>
8543
8544         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8545         duplicate those in LyXFunc::dispatch.
8546
8547         * commandtags.h:
8548         * LyXAction.C:
8549         * ToolbarDefaults.C:
8550         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8551         Add LFUN_FONTFREE_UPDATE.
8552
8553         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8554         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8555
8556         * bufferview_func.[Ch]: several new functions to facilliate
8557         transfer of data to and from the character dialog.
8558
8559 2003-03-12  John Levon  <levon@movementarian.org>
8560
8561         * buffer.C:
8562         * paragraph.h:
8563         * paragraph.C:
8564         * paragraph_funcs.C:
8565         * paragraph_pimpl.C:
8566         * sgml.C:
8567         * tabular.C:
8568         * text.C:
8569         * text3.C: remove META_NEWLINE in favour of an inset
8570
8571         * rowpainter.h:
8572         * rowpainter.C: remove paintNewline (done by inset)
8573
8574 2003-03-12  John Levon  <levon@movementarian.org>
8575
8576         * paragraph_pimpl.C: complain about bad getChar()s
8577         for a while at least
8578
8579 2003-03-12  John Levon  <levon@movementarian.org>
8580
8581         * buffer.h:
8582         * buffer.C: move paragraph read into a separate function,
8583         a little renaming to reflect that.
8584
8585         * bufferparams.h:
8586         * bufferparams.C: remove the author_ids map, not necessary now
8587
8588         * factory.h:
8589         * factory.C: moved Buffer::readInset to here
8590
8591         * paragraph_funcs.h:
8592         * paragraph_funcs.C: readParagraph free function moved from
8593         buffer.C
8594
8595         * tabular.C: name change
8596
8597 2003-03-12  John Levon  <levon@movementarian.org>
8598
8599         * buffer.C:
8600         * ParagraphParameters.C: move par params input to
8601         a read() method
8602
8603         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8604         behave like a normal read from the stream wrt reading
8605         a line vs. a \\token
8606
8607 2003-03-12  John Levon  <levon@movementarian.org>
8608
8609         * paragraph.C:
8610         * ParagraphParameters.h:
8611         * ParagraphParameters.C: move output code to a
8612         ::write() method
8613
8614 2003-03-12  John Levon  <levon@movementarian.org>
8615
8616         * BufferView.C (insertLyXFile):
8617         * buffer.h:
8618         * buffer.C:
8619         * tabular.C: use a parlist iterator for creating the
8620           document.
8621
8622 2003-03-12  John Levon  <levon@movementarian.org>
8623
8624         * buffer.C: make current_change static local not
8625           static file-scope
8626
8627 2003-03-12  John Levon  <levon@movementarian.org>
8628
8629         * buffer.C: fix insertStringAsLines for change tracking
8630
8631 2003-03-12  John Levon  <levon@movementarian.org>
8632
8633         * BufferView.C:
8634         * tabular.C:
8635         * buffer.h:
8636         * buffer.C:
8637         * bufferparams.h:
8638         * bufferparams.C: move author list into params. Rename some
8639           functions. Move the header reading into a separate token
8640           loop. Move the header token reading into BufferParams.
8641
8642 2003-03-12  John Levon  <levon@movementarian.org>
8643
8644         * changes.C: put debug inside lyxerr.debugging() checks
8645
8646 2003-03-11 André Pönitz <poenitz@gmx.net>
8647
8648         * factory.C: make it aware of InsetHFill
8649
8650 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8651
8652         * buffer.C (latexParagraphs): move function from here...
8653         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8654         args.
8655
8656 2003-03-10  Angus Leeming  <leeming@lyx.org>
8657
8658         * LyXAction.C (init): fix bug in poplating array with multiple entries
8659         with the same LFUN (spotted by JMarc).
8660
8661 2003-03-10  John Levon  <levon@movementarian.org>
8662
8663         * text.C:
8664         * text2.C: move getColumnNearX() near its
8665         only call site
8666
8667 2003-03-10  John Levon  <levon@movementarian.org>
8668
8669         * text.C: fix break before a minipage
8670
8671 2003-03-10  John Levon  <levon@movementarian.org>
8672
8673         * text.C: fix the last commit
8674
8675 2003-03-09  John Levon  <levon@movementarian.org>
8676
8677         * lyxtext.h:
8678         * text.C:
8679         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8680         bug 365 (don't break before insets unless needed). Don't
8681         return a value > last under any circumstances.
8682
8683 2003-03-09  Angus Leeming  <leeming@lyx.org>
8684
8685         * BufferView_pimpl.C (trackChanges, dispatch): call
8686         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8687
8688 2003-03-09  Angus Leeming  <leeming@lyx.org>
8689
8690         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8691         than Dialogs::showAboutlyx().
8692
8693 2003-03-09  Angus Leeming  <leeming@lyx.org>
8694
8695         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8696         than Dialogs::showTabularCreate().
8697
8698 2003-03-09  John Levon  <levon@movementarian.org>
8699
8700         * lyxtext.h:
8701         * text.C:
8702         * text2.C: 3rd arg to nextBreakPoint was always the same.
8703           Use references.
8704
8705 2003-03-08  John Levon  <levon@movementarian.org>
8706
8707         * lyxrow.C:
8708         * paragraph.C:
8709         * paragraph.h:
8710         * rowpainter.C:
8711         * text.C:
8712         * text2.C: Remove the "main" bit from the "main body"
8713           notion.
8714
8715 2003-03-08  John Levon  <levon@movementarian.org>
8716
8717         * text.C (leftMargin): The left margin of an empty
8718         manual label paragraph should not include the label width
8719         string length.
8720
8721         * text.C (prepareToPrint): don't attempt to measure hfills
8722         for empty manual label paragraphs - the answer should be 0
8723
8724 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8725
8726         * CutAndPaste.C: remove commented code and reindent.
8727
8728 2003-03-08  John Levon  <levon@movementarian.org>
8729
8730         * lyxfunc.h:
8731         * lyxfunc.C: move reloadBuffer()
8732
8733         * BufferView.h:
8734         * BufferView.C: to here
8735
8736         * lyxvc.C: add comment
8737
8738         * vc-backend.h:
8739         * vc-backend.C: call bv->reload() to avoid
8740           getStatus() check on MENURELOAD
8741
8742 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8743
8744         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8745         to an old format .dep file.
8746
8747 2003-03-07  Angus Leeming  <leeming@lyx.org>
8748
8749         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8750         when the LFUN_MOUSE_RELEASE should have been handled by
8751         inset->localDispatch.
8752
8753 2003-03-07  Angus Leeming  <leeming@lyx.org>
8754
8755         * BufferView_pimpl.C (dispatch):
8756         * LyXAction.C (init):
8757         * ToolbarDefaults.C (init):
8758         * commandtags.h:
8759         * lyxfunc.C (getStatus):
8760         remove LFUN_INSET_GRAPHICS.
8761
8762         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8763
8764 2003-03-07  Angus Leeming  <leeming@lyx.org>
8765
8766         * commandtags.h:
8767         * LyXAction.C (init):
8768         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8769
8770         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8771
8772         * commandtags.h:
8773         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8774
8775         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8776         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8777
8778 2003-03-07  Angus Leeming  <leeming@lyx.org>
8779
8780         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8781         remove "ert".
8782
8783 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8784
8785         * ParagraphList.C (front): new function
8786         (back): implement
8787
8788 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8789
8790         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8791         and top_row_offset_. removed var first_y.
8792         * text.C (top_y):
8793         * text2.C (LyXText, removeRow):
8794         * text3.C:
8795         * BufferView_pimpl.C:
8796         use these methods instead of using first_y
8797
8798 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8799
8800         * text2.C (pasteSelection): adjust for checkPastePossible
8801
8802         * CutAndPaste.C: remove Paragraph * buf and replace with
8803         ParagraphList paragraphs.
8804         (DeleteBuffer): delete
8805         (cutSelection): change the tc type to textclass_type
8806         (copySelection): change the tc type to textclass_type
8807         (copySelection): adjust for ParagraphList
8808         (pasteSelection): change the tc type to textclass_type
8809         (pasteSelection): adjust for Paragraphlist
8810         (nrOfParagraphs): simplify for ParagraphList
8811         (checkPastePossible): simplify for ParagraphList
8812         (checkPastePossible): remove unused arg
8813
8814         * ParagraphList.C (insert): handle the case where there are no
8815         paragraphs yet.
8816
8817         * CutAndPaste.h: make CutAndPaste a namespace.
8818
8819         * text3.C (dispatch): adjust
8820
8821         * text.C (breakParagraph): add a ParagraphList as arg
8822
8823         * paragraph_funcs.C (breakParagraph): change to take a
8824         BufferParams and a ParagraphList as args.
8825         (breakParagraphConservative): ditto
8826         (mergeParagraph): ditto
8827         (TeXDeeper): add a ParagraphList arg
8828         (TeXEnvironment): ditto
8829         (TeXOnePar): ditto
8830
8831         * buffer.C (readLyXformat2): adjust
8832         (insertStringAsLines): adjust
8833         (latexParagraphs): adjust
8834
8835         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8836         (cutSelection): adjust
8837         (pasteSelection): adjust
8838
8839         * BufferView_pimpl.C (insertInset): adjust
8840
8841 2003-03-05  Angus Leeming  <leeming@lyx.org>
8842
8843         * commandtags.h:
8844         * LyXAction.C (init):
8845         * BufferView_pimpl.C (dispatch):
8846         * lyxfunc.C (getStatus):
8847         remove LFUN_CHILD_INSERT.
8848
8849         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8850
8851 2003-03-05  Angus Leeming  <leeming@lyx.org>
8852
8853         * commandtags.h:
8854         * LyXAction.C (init):
8855         * src/factory.C (createInset):
8856         * lyxfunc.C (getStatus):
8857         * text3.C (dispatch):
8858         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8859
8860         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8861
8862 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8863
8864         * ParagraphList.C (insert): handle insert right before end()
8865         (erase): fix cases where it can be first or last paragraph.
8866
8867 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8868
8869         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8870         Paragraph::next and Paragraph::previous
8871         (TeXOnePar): ditto
8872
8873         * text.C (breakParagraph): adjust
8874
8875         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8876         BufferParams& as arg.
8877         (breakParagraph): use ParagraphList::insert
8878         (breakParagraphConservative): take a Buffer* instead of a
8879         BufferParams& as arg.
8880         (breakParagraphConservative): use ParagraphList::insert.
8881
8882         * buffer.C (insertStringAsLines): un-const it
8883         (insertStringAsLines): adjust
8884
8885         * ParagraphList.C (insert): new function
8886
8887         * CutAndPaste.C (pasteSelection): adjust
8888
8889         * text.C (backspace): adjust
8890
8891         * tabular.C (SetMultiColumn): adjust
8892
8893         * CutAndPaste.C (cutSelection): adjust
8894         (pasteSelection): adjust
8895
8896         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8897         Buffer const * as arg
8898
8899         * ParagraphList.C (erase): new function
8900         * paragraph_funcs.C (mergeParagraph): use it
8901         (mergeParagraph): make it take a Buffer* instead of a
8902         BufferParams* as arg
8903
8904         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8905         as arg
8906         (breakParagraphConservative): ditto
8907
8908         * paragraph.h: remove the breakParagraph friend
8909
8910         * paragraph.C (eraseIntern): new function
8911         (setChange): new function
8912
8913         * paragraph_funcs.C (mergeParagraph): make it take a
8914         ParagraphList::iterator instead of a Paragraph *, adjust
8915         accordingly.
8916
8917         * paragraph.h: move an #endif so that the change tracking stuff
8918         also works in the NO_NEXT case.
8919
8920 2003-03-04  Angus Leeming  <leeming@lyx.org>
8921
8922         * commandtags.h:
8923         * LyXAction.C: new LFUN_INSET_MODIFY.
8924
8925         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8926         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8927
8928 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8929
8930         * several files: ws changes only
8931
8932         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8933         (TeXEnvironment): ditto
8934         (TeXDeeper): ditto
8935
8936         * buffer.C (makeLaTeXFile): adjust
8937         (latexParagraphs): make it take ParagraphList::iterator as args
8938
8939 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8940
8941         * buffer.C (latexParagraphs): adjust
8942
8943         * paragraph.C (TeXOnePar): move function...
8944         (optArgInset): move function...
8945         (TeXEnvironment): move function...
8946         * paragraph_pimpl.C (TeXDeeper): move function...
8947         * paragraph_funcs.C: ...here
8948
8949         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8950
8951 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8952
8953         * buffer.C (readInset): remove compability code for old Figure and
8954         InsetInfo insets
8955
8956 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8957
8958         * buffer.C: ws changes
8959         (readInset):
8960
8961         * BufferView_pimpl.C: ditto
8962         * author.C: ditto
8963         * buffer.h: ditto
8964         * bufferlist.h: ditto
8965         * changes.h: ditto
8966         * lyxfunc.C: ditto
8967
8968 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8969
8970         * converter.[Ch]: split into itself +
8971         * graph.[Ch]
8972         * format.[Ch]
8973         * Makefile.am: += graph.[Ch] + format.[Ch]
8974         * MenuBackend.C
8975         * buffer.C
8976         * exporter.C
8977         * importer.C
8978         * lyx_main.C
8979         * lyxfunc.C
8980         * lyxrc.C: added #include "format.h"
8981
8982 2003-02-27  Angus Leeming  <leeming@lyx.org>
8983
8984         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8985           a label.
8986
8987         * factory.C (createInset): add "label" to the factory.
8988
8989         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8990           string and do no more.
8991
8992 2003-02-27  Angus Leeming  <leeming@lyx.org>
8993
8994         * commandtags.h:
8995         * LyXAction.C (init):
8996         * factory.C (createInset):
8997         * BufferView_pimpl.C (dispatch):
8998           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8999
9000         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9001
9002         * lyxfunc.C (dispatch):
9003         * text3.C (dispatch): pass name to params2string.
9004
9005 2003-02-26  Angus Leeming  <leeming@lyx.org>
9006
9007         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9008           blocks together.
9009           Rearrange the ~includes. Strip out the unnecessary ones.
9010
9011         * factory.C (createInset): reformat.
9012           create new insets for the various LFUN_XYZ_APPLY lfuns.
9013
9014 2003-02-26  John Levon  <levon@movementarian.org>
9015
9016         * lyxrow.h:
9017         * lyxrow.C: add isParStart,isParEnd helpers
9018
9019         * paragraph.h: make isInserted/DeletedText take refs
9020
9021         * paragraph_funcs.h:
9022         * paragraph_funcs.C: remove #if 0'd code
9023
9024         * lyxtext.h:
9025         * text3.C:
9026         * text2.C:
9027         * text.C: use lyxrow helpers above.
9028           Move draw and paint routines to RowPainter.
9029           Make several methods use refs not pointers.
9030           Make backgroundColor() const.
9031           Add markChangeInDraw(), isInInset().
9032           Merge changeRegionCase into changeCase.
9033           Make workWidth() shouldn't-happen code into an Assert.
9034
9035         * rowpainter.h:
9036         * rowpainter.C: new class for painting a row.
9037
9038         * vspace.h:
9039         * vspace.C: make inPixels take a ref
9040
9041 2003-02-26  Angus Leeming  <leeming@lyx.org>
9042
9043         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9044         LFUN_REF_APPLY.
9045
9046 2003-02-25  John Levon  <levon@movementarian.org>
9047
9048         * ispell.C: give the forked command a more accurate name
9049
9050 2003-02-22  John Levon  <levon@movementarian.org>
9051
9052         * toc.h:
9053         * toc.C: make TocItem store an id not a Paragraph *
9054           (bug #913)
9055
9056 2003-02-21  Angus Leeming  <leeming@lyx.org>
9057
9058         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9059           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9060           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9061           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9062           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9063           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9064
9065         * BufferView_pimpl.C (dispatch):
9066         * LyXAction.C (init):
9067         * factory.C (createInset):
9068         * lyxfunc.C (getStatus, dispatch):
9069         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9070
9071 2003-02-21  Angus Leeming  <leeming@lyx.org>
9072
9073         * BufferView_pimpl.C (MenuInsertLyXFile):
9074         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9075         * lyxfunc.C (menuNew, open, doImport):
9076           no longer pass a LyXView & to fileDlg.
9077
9078 2003-02-21  Angus Leeming  <leeming@lyx.org>
9079
9080         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9081         * LyXAction.C: change, BIBKEY to BIBITEM.
9082         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9083         Change InsetBibKey to InsetBibitem.
9084         Change BIBKEY_CODE to BIBITEM_CODE.
9085         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9086         * factory.C: replace insetbib.h with insetbibitem.h.
9087         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9088         * paragraph.C: replace insetbib.h with insetbibitem.h.
9089         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9090         Change bibkey() to bibitem().
9091         * text.C: remove insetbib.h.
9092         * text2.C: replace insetbib.h with insetbibitem.h.
9093         change bibkey() to bibitem().
9094         * text3.C: remove insetbib.h.
9095         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9096
9097 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9098
9099         * lyxrc.C (output): enclose user email in quotes (in case there are
9100         several words)
9101
9102 2003-02-18  John Levon  <levon@movementarian.org>
9103
9104         * buffer.h: add std::
9105
9106 2003-02-17  John Levon  <levon@movementarian.org>
9107
9108         * SpellBase.h:
9109         * ispell.h:
9110         * ispell.C:
9111         * pspell.h:
9112         * pspell.C: reworking. Especially in ispell, a large
9113           number of clean ups and bug fixes.
9114
9115         * lyxfunc.C: fix revert to behave sensibly
9116
9117 2003-02-17 André Pönitz <poenitz@gmx.net>
9118
9119         * LyXAction.C:
9120         * commandtags.h: new LFUN_INSERT_BIBKEY
9121
9122         * layout.h:
9123         * lyxlayout.C:
9124         * buffer.C:
9125         * factory.C:
9126         * text.C:
9127         * text2.C:
9128         * text3.C:
9129         * paragraph.[Ch]:
9130         * paragraph_func.C: remove special bibkey handling
9131
9132 2003-02-17  John Levon  <levon@movementarian.org>
9133
9134         * text.C (Delete): fix case where delete at the end of
9135           the very first paragraph would not merge the pars
9136
9137 2003-02-17  John Levon  <levon@movementarian.org>
9138
9139         * lyxrow.C: fix lastPrintablePos()
9140
9141 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9142
9143         * bufferparams.C (writeLaTeX): add a std:here
9144
9145         * buffer.C: and remove a using directive there
9146
9147 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9148
9149         * buffer.C (makeLaTeXFile): move the code that generates the
9150           preamble...
9151
9152         * bufferparams.C (writeLaTeX): ... in this new method
9153
9154         * LaTeXFeatures.C (getEncodingSet): make const
9155           (getLanguages): make const
9156
9157         * MenuBackend.C (binding): returns the binding associated to this
9158           action
9159           (add): sets the status of each item by calling getStatus. Adds
9160           some intelligence.
9161           (read): add support for OptSubMenu
9162           (expand): remove extra separator at the end of expanded menu
9163
9164 2003-02-15  John Levon  <levon@movementarian.org>
9165
9166         * BufferView.C:
9167         * BufferView_pimpl.C:
9168         * bufferlist.h:
9169         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9170           inset code that had no actual effect. Remove unneeded status
9171           code.
9172
9173 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9174
9175         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9176           in preamble
9177
9178 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9179
9180         * text.C (drawLengthMarker): also draw an arrow marker for
9181           symbolic lengths (medskip...)
9182
9183 2003-02-14  John Levon  <levon@movementarian.org>
9184
9185         * tabular.h:
9186         * tabular.C: better method names
9187
9188 2003-02-14  John Levon  <levon@movementarian.org>
9189
9190         * BufferView_pimpl.C:
9191         * bufferlist.C:
9192         * buffer.C:
9193         * converter.C:
9194         * lyx_cb.C:
9195         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9196           it's a more accurate name. Remove some pointless uses.
9197
9198 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9199
9200         * text2.C (LyXText): change order of initilizers to shut off
9201           warnings
9202
9203 2003-02-14  John Levon  <levon@movementarian.org>
9204
9205         * buffer.C: use ParIterator for getParFromID()
9206
9207         * paragraph.h:
9208         * paragraph.C:
9209         * paragraph_pimpl.h:
9210         * paragraph_pimpl.C: remove unused getParFromID()
9211
9212 2003-02-14  John Levon  <levon@movementarian.org>
9213
9214         * buffer.C: remove some very old #if 0'd parse code
9215
9216 2003-02-13  John Levon  <levon@movementarian.org>
9217
9218         * text.h:
9219         * text.C:
9220         * text2.C: move hfillExpansion(), numberOfSeparators(),
9221           rowLast(), rowLastPrintable(), numberofHfills(),
9222           numberOfLabelHfills() ...
9223
9224         * lyxrow.h:
9225         * lyxrow.C: ... to member functions here.
9226
9227         * paragraph.h:
9228         * paragraph.C:
9229         * lyxtext.h:
9230         * text.C: remove LyXText::beginningOfMainBody(), and call
9231           p->beginningOfMainBody() directly. Move the check for
9232           LABEL_MANUAL into the latter.
9233
9234         * text.h:
9235         * text.C:
9236         * text2.C:
9237         * vspace.C:
9238         * BufferView.h:
9239         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9240
9241         * text.h:
9242         * text.C:
9243         * text2.C:
9244         * text3.C:
9245         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9246           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9247
9248 2003-02-13  John Levon  <levon@movementarian.org>
9249
9250         * CutAndPaste.C: remove debug
9251
9252 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9253
9254         * paragraph.C (asString): remove two unused variables
9255
9256         * lyxtextclass.C (readTitleType):
9257           (Read):
9258           (LyXTextClass): handle new members titletype_ and titlename_
9259
9260         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9261
9262 2003-02-09  John Levon  <levon@movementarian.org>
9263
9264         * buffer.h:
9265         * buffer.C: replace hand-coded list with a map for the dep clean
9266
9267 2003-02-08  John Levon  <levon@movementarian.org>
9268
9269         * LaTeX.C: consolidate code into showRunMessage() helper
9270
9271 2003-02-08  John Levon  <levon@movementarian.org>
9272
9273         * lyxfind.C:
9274         * lyxtext.h:
9275         * text2.C:
9276         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9277           and pass the size in explicitly
9278
9279         * BufferView_pimpl.h:
9280         * BufferView_pimpl.C:
9281         * BufferView.h:
9282         * BufferView.C: add getCurrentChange()
9283
9284         * BufferView_pimpl.h:
9285         * BufferView_pimpl.C: handle change lfuns
9286
9287         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9288           for changes. Mark pasted paragraphs as new.
9289
9290         * support/lyxtime.h:
9291         * support/lyxtime.C:
9292         * DepTable.C: abstract time_t as lyx::time_type
9293
9294         * LColor.h:
9295         * LColor.C: add colours for new text, deleted text, changebars
9296
9297         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9298           package use "usenames" option.
9299
9300         * commandtags.h:
9301         * lyxfunc.C:
9302         * LyXAction.C: add change lfuns
9303
9304         * Makefile.am:
9305         * author.h:
9306         * author.C: author handling
9307
9308         * buffer.h:
9309         * buffer.C: add a per-buffer author list, with first entry as
9310           current author. Handle new .lyx tokens for change tracking. Output
9311           author list to .lyx file. Output dvipost stuff to .tex preamble.
9312           Bump lyx format to 222.
9313
9314         * bufferlist.h:
9315         * bufferlist.C: add setCurrentAuthor() to reset current author details
9316           in all buffers.
9317
9318         * bufferparams.h:
9319         * bufferparams.C: add param for tracking
9320
9321         * bufferview_funcs.C: output change info in minibuffer
9322
9323         * Makefile.am:
9324         * changes.h:
9325         * changes.C: add change-tracking structure
9326
9327         * debug.h:
9328         * debug.C: add CHANGES debug flag
9329
9330         * lyxfind.h:
9331         * lyxfind.C: add code for finding the next change piece
9332
9333         * lyxrc.h:
9334         * lyxrc.C: add user_name and user_email
9335
9336         * lyxrow.h:
9337         * lyxrow.C: add a metric for the top of the text line
9338
9339         * lyxtext.h:
9340         * text.C: implement accept/rejectChange()
9341
9342         * lyxtext.h:
9343         * text.C: paint changebars. Paint new/deleted text in the chosen
9344         colours. Strike through deleted text.
9345
9346         * paragraph.h:
9347         * paragraph.C:
9348         * paragraph_pimpl.h:
9349         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9350           in the current change to the insert functions. Rework erase to
9351           mark text as deleted, adding an eraseIntern() and a range-based
9352           erase(). Implement per-paragraph change lookup and
9353           accept/reject.
9354
9355         * paragraph_funcs.C: Fixup paste for change tracking.
9356
9357         * tabular.C: mark added row/columns as new.
9358
9359         * text.C: fix rowLast() to never return -1. Don't allow
9360           spellchecking of deleted text. Track transpose changes. Don't
9361           allow paragraph break or merge where appropriate.
9362
9363         * text2.C: leave cursor at end of selection after a cut.
9364
9365 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9366
9367         * text.C (getLengthMarkerHeight):
9368         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9369         visible on screen too.
9370
9371 2003-02-07  John Levon  <levon@movementarian.org>
9372
9373         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9374
9375 2003-02-05  Angus Leeming  <leeming@lyx.org>
9376
9377         * lyxserver.C (read_ready): revert my patch of 11 September last year
9378         as it sends PC cpu through the roof. Presumably this means that
9379         the lyxserver will no longer run on an Alpha...
9380
9381 2003-01-30  Angus Leeming  <leeming@lyx.org>
9382
9383         * factory.C (createInset): create an InsetCommandParam of type "index"
9384         and use it to 'do the right thing'.
9385
9386         * text2.C (getStringToIndex): ensure that cursor position is always
9387         reset to the reset_cursor position.
9388
9389 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9390
9391         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9392         disabled.
9393
9394 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9395
9396         * bufferview.C:
9397         * lyxcb.C:
9398         * lyxfunc.C: Output messages with identical spelling, punctuation,
9399         and spaces
9400
9401 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9402
9403         * MenuBackend.C (expandFormats): List only viewable export formats
9404         in "View" menu
9405
9406         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9407         message
9408
9409         * lyxfunc.C (getStatus): Make sure that formats other than
9410         "fax" can also be disabled
9411
9412 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9413
9414         * text3.C (dispatch): put the lfuns that insert insets in 3
9415         groups, and call doInsertInset with appropriate arguments.
9416         (doInsertInset): new function, that creates an inset and inserts
9417         it according to some boolean parameters.
9418
9419 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9420
9421         * buffer.C (readFile): remember to pass on 'par' when calling
9422         readFile recursively.
9423
9424 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9425
9426         * MenuBackend.C (expandFormats): add "..." to import formats.
9427
9428 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9429
9430         * paragraph.C (asString): Remove XForms RTL hacks.
9431
9432 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9433         * buffer.C: fix typo
9434
9435 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9436
9437         * Makefile.am (LIBS): delete var
9438         (lyx_LDADD): add @LIBS@ here instead.
9439
9440 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9441
9442         * Clarify the meaning of "wheel mouse jump"
9443
9444 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9445
9446         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9447         tabular in a float
9448
9449 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9450
9451         * importer.C (Loaders): do not preallocate 3 elements in the
9452         vector, since one ends up with 6 elements otherwise
9453
9454 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9455
9456         * DepTable.C (write): write the file name as last element of the
9457         .dep file (because it may contain spaces)
9458         (read): read info in the right order
9459
9460 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9461
9462         * paragraph_pimpl.C (simpleTeXBlanks):
9463         (simpleTeXSpecialChars):
9464         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9465
9466         * tabular.C (latex): add some missing case statements. Reindent.
9467
9468         * MenuBackend.C (expandToc): remove unused variable.
9469
9470 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9471
9472         * LColor.C:
9473         * LaTeX.C:
9474         * LyXAction.C:
9475         * MenuBackend.C:
9476         * buffer.C:
9477         * exporter.C:
9478         * lyxfunc.C:
9479         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9480         and the like.
9481
9482 2003-01-05  John Levon  <levon@movementarian.org>
9483
9484         * BufferView.h:
9485         * BufferView.C: add getEncoding()
9486
9487         * kbsequence.h:
9488         * kbsequence.C: do not store last keypress
9489
9490         * lyxfunc.h:
9491         * lyxfunc.C: store last keypress here instead. Pass encoding
9492           to getISOEncoded()
9493
9494 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9495
9496         * lyx_main.C (init): remove annoying error message when following
9497         symbolic links (bug #780)
9498
9499 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9500
9501         * text.C (insertChar):
9502         * lyxrc.C (getDescription): remove extra spaces
9503
9504 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9505
9506         * lyxrc.C (getDescription): remove extra spaces
9507
9508 2002-12-20  John Levon  <levon@movementarian.org>
9509
9510         * text3.C: hack fix for page up/down across tall rows
9511
9512 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9513
9514         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9515         not been invoked
9516
9517 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9518
9519         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9520         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9521         thesaurus is not compiled in
9522
9523 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9524
9525         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9526
9527 2002-12-16  Angus Leeming  <leeming@lyx.org>
9528
9529         * lyxrc.[Ch]:
9530         * lyx_main.C (init): remove override_x_deadkeys stuff.
9531
9532 2002-12-12  John Levon  <levon@movementarian.org>
9533
9534         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9535           insert. Only remove shift modifier under strict
9536           circumstances.
9537
9538 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9539
9540         * MenuBackend.C (expandToc): fix crash.
9541
9542 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9543
9544         * MenuBackend.C (expandToc): gettext on float names.
9545
9546 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9547
9548         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9549         implement bool empty() [bug 490]
9550
9551 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9552
9553         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9554
9555 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9556
9557         * several files: ws changes
9558
9559 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9560
9561         * text2.C (setCounter): clean up a bit, use boost.format.
9562         (updateCounters): initialize par upon declaration.
9563
9564         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9565         if the layout exists. We do not just store the layout any more.
9566         (SwitchLayoutsBetweenClasses): use boost.format
9567
9568 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9569
9570         * converter.C (convert): if from and to files are the same, use a
9571         temporary files as intermediary
9572
9573 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9574
9575         * commandtags.h:
9576         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9577
9578 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9579
9580         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9581
9582 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9583
9584         * tabular.C (asciiPrintCell): use string(size, char) instead of
9585         explicit loop.
9586
9587         * sgml.C (openTag): fix order of arguments to string constructor
9588         (closeTag): ditto
9589
9590         * lyxfunc.C (dispatch): use boost.format
9591
9592         * lots of files: change "c" -> 'c'
9593
9594 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9595
9596         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9597
9598 2002-11-25  Angus Leeming  <leeming@lyx.org>
9599
9600         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9601
9602         * lyx_main.C (init): compile fix.
9603
9604 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9605
9606         * lyx_cb.C (start): boost.formatify
9607         do not include <iostream>
9608
9609         * lengthcommon.C: ws only
9610
9611         * boost-inst.C,BoostFormat.h: add more explict instantations
9612
9613 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9614
9615         * lots of files: handle USE_BOOST_FORMAT
9616
9617 2002-11-21  John Levon  <levon@movementarian.org>
9618
9619         * pspell.C: fix compile
9620
9621 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9622
9623         * lyxfunc.C (dispatch): use boost::format
9624         (open): ditto
9625         (doImport): ditto
9626
9627         * lyxfont.C (stateText): use boost::format
9628
9629         * lyx_main.C (LyX): use boost::format
9630         (init): ditto
9631         (queryUserLyXDir): ditto
9632         (readRcFile): ditto
9633         (parse_dbg): ditto
9634         (typedef boost::function): use the recommened syntax.
9635
9636         * importer.C (Import): use boost::format
9637
9638         * debug.C (showLevel): use boost::format
9639
9640         * converter.C (view): use boost::format
9641         (convert): ditto
9642         (move): ditto
9643         (scanLog): ditto
9644
9645         * bufferview_funcs.C (currentState): use boost::format
9646
9647         * bufferlist.C (emergencyWrite): use boost::format
9648
9649         * buffer.C (readLyXformat2): use boost::format
9650         (parseSingleLyXformat2Token): ditto
9651
9652         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9653
9654         * LaTeX.C (run): use boost::format
9655
9656         * Chktex.C (scanLogFile): use boost::format
9657
9658         * BufferView_pimpl.C (savePosition): use boost::format
9659         (restorePosition): ditto
9660         (MenuInsertLyXFile): ditto
9661
9662         * BoostFormat.h: help file for explicit instation.
9663
9664 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9665
9666         * tabular.C (latex): Support for block alignment in fixed width
9667         columns.
9668
9669 2002-11-17  John Levon  <levon@movementarian.org>
9670
9671         * BufferView_pimpl.C:
9672         * lyx_cb.C:
9673         * lyxfunc.C: split filedialog into open/save
9674
9675 2002-11-08  Juergen Vigna  <jug@sad.it>
9676
9677         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9678         by my last patch (hopefully).
9679
9680 2002-11-08  John Levon  <levon@movementarian.org>
9681
9682         * iterators.h:
9683         * iterators.C:
9684         * buffer.h:
9685         * buffer.C:
9686         * paragraph.h:
9687         * paragraph.C:
9688         * toc.h:
9689         * toc.C: ParConstIterator, and use it (from Lars)
9690
9691 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9692
9693         * lyxtextclass.[Ch]: revise and add doxygen comments
9694
9695 2002-11-07  John Levon  <levon@movementarian.org>
9696
9697         * text.C: fix progress value for spellchecker
9698
9699         * toc.C: fix navigate menu for insetwrap inside minipage
9700
9701         * paragraph_funcs.C: added FIXME for suspect code
9702
9703 2002-11-07  John Levon  <levon@movementarian.org>
9704
9705         * BufferView_pimpl.C: fix redrawing of insets
9706           on buffer switch
9707
9708 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9709
9710         * text2.C (updateCounters): fix bug 668
9711
9712 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9713
9714         * text3.C (dispatch): Do not make the buffer dirty when moving the
9715         cursor.
9716
9717 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9718
9719         * vc-backend.C: STRCONV
9720         (scanMaster): ditto
9721
9722         * text2.C (setCounter): STRCONV
9723
9724         * paragraph.C (asString): STRCONV
9725
9726         * lyxlength.C (asString): STRCONV
9727         (asLatexString): ditto
9728
9729         * lyxgluelength.C (asString): STRCONV
9730         (asLatexString): ditto
9731
9732         * lyxfunc.C (dispatch): STRCONV
9733         (open): ditto
9734
9735         * lyxfont.C (stateText): STRCONV
9736
9737         * importer.C (Import): STRCONV
9738
9739         * counters.C (labelItem): STRCONV
9740         (numberLabel): ditto
9741         (numberLabel): remove unused ostringstream o
9742
9743         * chset.C: STRCONV
9744         (loadFile): ditto
9745
9746         * bufferview_funcs.C (currentState): STRCONV
9747
9748         * buffer.C (readFile): STRCONV
9749         (asciiParagraph): ditto
9750         (makeLaTeXFile): ditto
9751
9752         * Spacing.C (writeEnvirBegin): STRCONV
9753
9754         * LaTeXFeatures.C (getLanguages): STRCONV
9755         (getPackages): ditto
9756         (getMacros): ditto
9757         (getBabelOptions): ditto
9758         (getTClassPreamble): ditto
9759         (getLyXSGMLEntities): ditto
9760         (getIncludedFiles): ditto
9761
9762         * LaTeX.C: STRCONV
9763         (run): ditto
9764         (scanAuxFile): ditto
9765         (deplog): ditto
9766
9767         * LString.h: add the STRCONV macros
9768
9769         * BufferView_pimpl.C (savePosition): STRCONV
9770         (restorePosition): ditto
9771         (MenuInsertLyXFile): ditto
9772
9773         * vc-backend.C (scanMaster): change from submatch[...] to
9774         submatch.str(...)
9775
9776         * funcrequest.C: include config.h
9777
9778         * factory.C: include config.h
9779
9780         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9781
9782         * box.C: include config.h
9783
9784         * LaTeX.C (scanAuxFile): change from submatch[...] to
9785         submatch.str(...)
9786         (deplog): ditto
9787
9788 2002-10-25  Angus Leeming  <leeming@lyx.org>
9789
9790         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9791
9792         * ispell.[Ch] (setError): new method.
9793         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9794         Use setError() insetead of goto END.
9795
9796         * lyx_cb.C (AutoSave): move out child process into new class
9797         AutoSaveBuffer.
9798
9799 2002-10-30  John Levon  <levon@movementarian.org>
9800
9801         * text3.C: make start appendix undoable
9802
9803 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9804
9805         * lyxlength.C (inPixels): Fix returned value.
9806
9807         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9808         environment.
9809
9810 2002-10-24  Angus Leeming  <leeming@lyx.org>
9811
9812         * lyxgluelength.h: no need to forward declare BufferParams
9813         or BufferView, so don't.
9814
9815 2002-10-21  John Levon  <levon@movementarian.org>
9816
9817         * BufferView.C: menuUndo ->undo, redo
9818
9819         * BufferView.h: document, remove dead, make some methods private
9820
9821         * paragraph_funcs.h:
9822         * paragraph_funcs.C:
9823         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9824
9825         * buffer.h:
9826         * buffer.C:
9827         * sgml.h:
9828         * sgml.C: move sgml open/close tag into sgml.C
9829
9830         * bufferview_funcs.h: unused prototype
9831
9832         * lyxfunc.h:
9833         * lyxfunc.C: remove unused
9834
9835         * lyxtext.h:
9836         * text.C: remove unused
9837
9838 2002-10-21  John Levon  <levon@movementarian.org>
9839
9840         * BufferView.h:
9841         * BufferView.C:
9842         * BufferView_pimpl.h:
9843         * BufferView_pimpl.C: fix mouse wheel handling based on
9844           patch from Darren Freeman
9845
9846 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9847
9848         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9849
9850 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9851
9852         * lyxlength.C (inPixels): Fix hanfling of negative length.
9853         Fix LyXLength::MU case.
9854
9855 2002-10-16  John Levon  <levon@movementarian.org>
9856
9857         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9858
9859 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9860
9861         * converter.C (view): add support for $$i (file name) and $$p
9862         (file path) for the viewer command. If $$i is not specified, then
9863         it is appended to the command (for compatibility with old syntax)
9864
9865 2002-10-14  Juergen Vigna  <jug@sad.it>
9866
9867         * undo_funcs.C (textHandleUndo): alter the order in which the
9868         new undopar is added to the LyXText, as we have to set first
9869         the right prev/next and then add it as otherwise the rebuild of
9870         LyXText is not correct. Also reset the cursor to the right paragraph,
9871         with this IMO we could remove the hack in "redoParagraphs()".
9872
9873 2002-10-09  Angus Leeming  <leeming@lyx.org>
9874
9875         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9876         to turn off an optimisation if a new inset is to be inserted.
9877
9878 2002-10-11 André Pönitz <poenitz@gmx.net>
9879
9880         * lyxtext.h: make some functions public to allow access
9881         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9882
9883 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9884
9885         * text3.C (dispatch): when changing layout, avoid an infinite loop
9886         [bug #652]
9887
9888 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9889
9890         * lyxrc.C (read): treat a viewer or converter command of "none" as
9891         if it were empty.
9892
9893         * MenuBackend.C (expandFormats): for an update, also allow the
9894         formats that are not viewable
9895
9896         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9897         script if it is newer than the lyxrc.defaults in user directory
9898
9899 2002-10-07 André Pönitz <poenitz@gmx.net>
9900
9901         * text.C: Vitaly Lipatov's small i18n fix
9902
9903 2002-09-25  Angus Leeming  <leeming@lyx.org>
9904
9905         * ispell.h: doxygen fix.
9906
9907 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9908
9909         * buffer.h (readFile): Add a new argument to the method, to allow
9910         reading of old-format templates.
9911
9912 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9913
9914         * toc.C (getTocList): Get TOC from InsetWrap.
9915
9916 2002-09-16  John Levon  <levon@movementarian.org>
9917
9918         * lyxfunc.C: check tabular for cut/copy too
9919
9920 2002-09-12  John Levon  <levon@movementarian.org>
9921
9922         * LyXAction.C: tidy
9923
9924         * factory.h:
9925         * factory.C: add header
9926
9927         * paragraph_funcs.h:
9928         * paragraph_funcs.C: cleanup
9929
9930 2002-09-11  John Levon  <levon@movementarian.org>
9931
9932         * PrinterParams.h: odd/even default to true
9933
9934 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9935
9936         * PrinterParams.h: update printer parameters for new xforms dialog
9937
9938 2002-09-11  Angus Leeming  <leeming@lyx.org>
9939
9940         * lyxserver.C (read_ready): re-write to make it more transparent
9941         and to make it work in coherent fashion under Tru64 Unix.
9942
9943 2002-09-11  André Pönitz <poenitz@gmx.net>
9944
9945         * commandtags.h:
9946         * LyXAction.C:
9947         * text3.C: implement LFUN_WORDSEL
9948
9949 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9950
9951         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9952         make floatlist_ a boost::shared_ptr<FloatList>
9953
9954         * lyxtextclass.C: include FloatList.h
9955         (LyXTextClass): initialize floatlist_
9956         (TextClassTags): add TC_NOFLOAT
9957         (Read): match "nofloat" to TC_NOFLOAT and use it.
9958         (readFloat): modify call to floatlist_
9959         (floats): ditto
9960         (floats): ditto
9961
9962         * FloatList.[Ch] (FloatList): remove commented out float
9963         initialization.
9964         (erase): new function
9965
9966 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9967
9968         * MenuBackend.C (expandToc): fix crash when there is no document
9969         open
9970
9971 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9972
9973         * many files: Add insetwrap.
9974
9975 2002-09-09  John Levon  <levon@movementarian.org>
9976
9977         * text2.C: remove confusing and awkward depth wraparound
9978
9979 2002-09-09  John Levon  <levon@movementarian.org>
9980
9981         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9982
9983         * buffer.h:
9984         * buffer.C: remove getIncludeonlyList()
9985
9986         * paragraph.C:
9987         * lyxfunc.C: remove headers
9988
9989 2002-09-09  Juergen Vigna  <jug@sad.it>
9990
9991         * text.C (getColumnNearX): fix form Michael this is most
9992         probably a cut&paste bug.
9993
9994 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9995
9996         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9997
9998         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9999         references, ws changes.
10000
10001         * text2.C (init): update counters after init
10002         (insertParagraph): no need to set counter on idividual paragraphs.
10003         (setCounter): access the counters object in the textclass object
10004         on in the buffer object.
10005         (updateCounters): ditto
10006
10007         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10008         shared_ptr<Counters> to avoid loading counters.h in all
10009         compilation units.
10010         (LyXTextClass): initialize ctrs_
10011         (TextClassTags): add TC_COUNTER, and ...
10012         (Read): use it here.
10013         (CounterTags): new tags
10014         (readCounter): new function
10015         (counters): new funtion
10016         (defaultLayoutName): return a const reference
10017
10018         * counters.C (Counters): remove contructor
10019         (newCounter): remove a couple of unneeded statements.
10020         (newCounter): simplify a bit.
10021         (numberLabel): some small formatting changes.
10022
10023         * buffer.[Ch]: remove all traces of counters, move the Counters
10024         object to the LyXTextClass.
10025
10026 2002-09-06  Alain Castera  <castera@in2p3.fr>
10027
10028         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10029         package to set the horizontal alignment on fixed width columns.
10030
10031         * lyx_sty.C:
10032         * lyx_sty.h: added tabularnewline macro def.
10033
10034         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10035
10036 2002-09-06  John Levon  <levon@movementarian.org>
10037
10038         * LyXAction.C: tooltips for sub/superscript
10039
10040         * MenuBackend.C: a bit more verbose
10041
10042         * lyxfunc.C: tiny clean
10043
10044         * undo_funcs.C: document undo_frozen
10045
10046 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10047
10048         * counters.C (Counters): add missing algorithm counter.
10049
10050         * text2.C (setCounter): lookup the counter with layouts latexname
10051         instead of by section number.
10052         (setCounter): use a hackish way to lookup the correct enum
10053         counter.
10054         a float name->type change
10055         reset enum couners with counter name directly instead of depth value.
10056
10057         * counters.C (Counters): remove the push_backs, change to use the
10058         float type not the float name.
10059         (labelItem): remove unused string, float name->type change
10060
10061         * counters.h: don't include vector, loose the enums and sects vectors
10062
10063 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10064
10065         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10066         (Read): add float->TC_FLOAT to textclassTags
10067         (Read): and handle it in the switch
10068         (readFloat): new function
10069
10070         * FloatList.C (FloatList): comment out the hardcoded float
10071         definitions.
10072
10073         * lyxlayout.h: ws change.
10074
10075 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10076
10077         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10078
10079 2002-09-03  Angus Leeming  <leeming@lyx.org>
10080
10081         * BufferView_pimpl.h: qualified name is not allowed in member
10082         declaration: WorkArea & Pimpl::workarea() const;
10083
10084         * factory.C: added using std::endl directive.
10085
10086         * text3.C: added using std::find and std::vector directives.
10087
10088 2002-08-29  André Pönitz <poenitz@gmx.net>
10089
10090         * lyxtext.h:
10091         * text2.C: remove unused member number_of_rows
10092
10093         * Makefile.am:
10094         * BufferView2.C: remove file, move contents to...
10095         * BufferView.C: ... here
10096
10097         * BufferView_pimpl.C:
10098         * factory.C: move more inset creation to factory
10099
10100         * vspace.C: avoid direct usage of LyXText, ws changes
10101
10102         * BufferView.[Ch]:
10103                 don't provide direct access to WorkArea, use two simple
10104                 acessors haveSelction() and workHeight() instead
10105
10106
10107 2002-08-29  John Levon  <levon@movementarian.org>
10108
10109         * BufferView_pimpl.C (dispatch): do not continue when
10110           no buffer
10111
10112 2002-08-28  André Pönitz <poenitz@gmx.net>
10113
10114         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10115
10116         * BufferView.h:
10117         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10118
10119 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10120
10121         * buffer.C: increment LYX_FORMAT to 221
10122
10123         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10124         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10125
10126         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10127
10128         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10129
10130 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10131
10132         * factory.C (createInset): use LyXTextClass::floats
10133
10134         * MenuBackend.C (expandFloatListInsert):
10135         (expandFloatInsert):
10136         (expandToc):
10137
10138         * text2.C (setCounter):
10139
10140         * LaTeXFeatures.C (useFloat):
10141         (getFloatDefinitions):
10142
10143         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10144
10145         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10146         floatlist_, with accessor floats().
10147
10148         * FloatList.h: remove global FloatList
10149
10150 2002-08-26  André Pönitz <poenitz@gmx.net>
10151
10152         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10153
10154         * BufferView.h:
10155         * BufferView2.C:
10156         * BufferView_pimpl.C:
10157         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10158
10159 2002-08-25  John Levon  <levon@movementarian.org>
10160
10161         * LyXAction.C: fix margin note description
10162
10163 2002-08-24  John Levon  <levon@movementarian.org>
10164
10165         * buffer.C:
10166         * bufferlist.C:
10167         * bufferview_funcs.C:
10168         * lyxfont.C:
10169         * undo_funcs.C: cleanups
10170
10171         * lyxfunc.C: disable CUT/COPY when no selection
10172
10173 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10174
10175         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10176         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10177
10178         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10179         Add backward compatibility to "mono", "gray" and "no".
10180
10181 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10182
10183         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10184         (and file_format >= 200).
10185
10186 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10187
10188         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10189
10190 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10191
10192         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10193
10194 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10195
10196         * BufferView_pimpl.C:
10197         * LyXAction.C:
10198         * buffer.C:
10199         * commandtags.h:
10200         * lyxfunc.C:
10201         * paragraph.[Ch]:
10202         * text2.C:
10203         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10204         inset and code to make it  work with the paragraph code. The inset
10205         can be anywhere in the paragraph, but will only do the expected
10206         thing in LaTeX if the layout file contains the parameter line
10207                         OptionalArgs    1
10208         (or more generally, a nonzero value) for that layout.
10209
10210 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10211
10212         * paragraph.h: remove the declaration of undefined counters class
10213         function.
10214
10215 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10216
10217         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10218         Dr. Richard Hawkins.
10219
10220 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10221
10222         * paragraph_funcs.h: remove some unneeded includes
10223
10224         * text.C (backspace): pasteParagraph now in global scipe
10225
10226         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10227         (pasteSelection): ditto
10228
10229         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10230         * paragraph_funcs.C (pasteParagraph): ... here
10231
10232 2002-08-20  André Pönitz <poenitz@gmx.net>
10233
10234         * commandtags.h: new LFUNs for swapping/copying table row/colums
10235
10236         * LyXAction.C:
10237         * lyxfunc.C: support for new lfuns
10238
10239 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10240
10241         * tabular.C:
10242         * buffer.[Ch]: remove NO_COMPABILITY stuff
10243
10244 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10245
10246         * boost.C (throw_exception): new file, with helper function for
10247         boost compiled without exceptions.
10248
10249         * paragraph.h:
10250         * lyxlength.C:
10251         * buffer.C:
10252         * ParameterStruct.h:
10253         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10254
10255         * bufferlist.C (emergencyWriteAll): use boost bind
10256
10257         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10258
10259         * text.C: include paragraph_funcs.h
10260         (breakParagraph): breakParagraph is now in global scope
10261
10262         * paragraph_funcs.[Ch]: new files
10263
10264         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10265         global scope
10266
10267         * buffer.C: include paragraph_funcs.h
10268         (insertStringAsLines): breakParagraph is now in global scope
10269
10270         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10271         paragraph_funcs.C
10272
10273         * CutAndPaste.C: include paragraph_funcs.h
10274         (cutSelection): breakParagraphConservative is now in global scope
10275         (pasteSelection): ditto
10276
10277         * buffer.h: declare oprator== and operator!= for
10278         Buffer::inset_iterator
10279
10280         * bufferlist.C (emergencyWrite): don't use fmt(...)
10281
10282         * text3.C: add using std::endl
10283
10284         * BufferView.C (moveCursorUpdate): remove default arg
10285
10286 2002-08-20  André Pönitz <poenitz@gmx.net>
10287
10288         * buffer.[Ch]: move inline functions to .C
10289
10290         * BufferView2.C:
10291         * BufferView_pimpl.C:
10292         * text.C:
10293         * buffer.[Ch]: use improved inset_iterator
10294
10295         * buffer.C:
10296         * paragraph.[Ch]: write one paragraph at a time
10297
10298 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10299
10300         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10301         style if style is not specified.
10302
10303 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10304
10305         * text2.C (setCounter): when searching for right label for a
10306         caption, make sure to recurse to parent insets (so that a caption
10307         in a minipage in a figure float works) (bug #568)
10308
10309 2002-08-20  André Pönitz <poenitz@gmx.net>
10310
10311         * text3.C: new file for LyXText::dispatch() and helpers
10312
10313         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10314
10315         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10316
10317 2002-08-19  André Pönitz <poenitz@gmx.net>
10318
10319         * lyxtext.h:
10320         * text.C: new LyXText::dispatch()
10321
10322         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10323
10324 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10325
10326         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10327
10328         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10329         Hebrew text.
10330
10331 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10332
10333         * Makefile.am: use $(variables) instead of @substitutions@
10334
10335 2002-08-15  André Pönitz <poenitz@gmx.net>
10336
10337         * lyxfunc.C:
10338         * BufferView_pimpl.C: streamlining mathed <-> outer world
10339         interaction
10340
10341         * commandtags.h:
10342         * LyXAction.C: remove unused LFUN_MATH
10343
10344 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10345
10346         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10347
10348 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10349
10350         * paragraph.C (Paragraph): reformat a bit
10351         (cutIntoMinibuffer): use builtin InsetList function instad of
10352         doing it manually.
10353         (getInset): ditto
10354
10355         * buffer.C: include boost/bind.hpp, add using std::for_each
10356         (writeFileAscii): use ParagraphList iterators
10357         (validate): use for_each for validate traversal of paragraphs
10358         (getBibkeyList): use ParagraphList iterators
10359         (resizeInsets): use for_each to resizeInsetsLyXText for all
10360         paragraphs.
10361         (getParFromID): use ParagraphList iterators
10362
10363         * BufferView2.C (lockInset): use paragraph list and iterators
10364
10365 2002-08-14  John Levon  <levon@movementarian.org>
10366
10367         * lyxserver.C: remove spurious xforms include
10368
10369 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10370
10371         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10372
10373 2002-08-13  André Pönitz <poenitz@gmx.net>
10374
10375         * LyXAction.[Ch]:
10376         * lyxfunc.C: further cleaning
10377
10378 2002-08-13  André Pönitz <poenitz@gmx.net>
10379
10380         * funcrequest.h: new constructor
10381
10382         * funcrequest.C: move stuff here from .h
10383
10384         * Makefile.am:
10385         * BufferView_pimpl.C:
10386         * LyXAction.C:
10387         * toc.C:
10388         * lyxfunc.C: subsequent changes
10389
10390         * lyxfunc.h: new view() member function
10391
10392         * lyxfunc.C: subsequent changes
10393
10394 2002-08-13  Angus Leeming  <leeming@lyx.org>
10395
10396         * BufferView2.C:
10397         * BufferView_pimpl.C:
10398         * buffer.C:
10399         * converter.C:
10400         * importer.C:
10401         * lyxfunc.C:
10402         * lyxvc.C:
10403         * toc.C:
10404         * vc-backend.C:
10405         changes due to the changed LyXView interface that now returns references
10406         to member variables not pointers.
10407
10408 2002-08-13  Angus Leeming  <leeming@lyx.org>
10409
10410         * WordLangTuple (word, lang_code): return references to strings,
10411         not strings.
10412
10413         * BufferView.h:
10414         * SpellBase.h:
10415         * lyxtext.h: forward-declare WordLangTuple.
10416
10417         * BufferView2.C:
10418         * ispell.C:
10419         * pspell.C:
10420         * text.C: #include "WordLangTuple.h".
10421
10422         * lyxtext.h:
10423         * text.C: (selectNextWordToSpellcheck): constify return type.
10424
10425 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10426
10427         * buffer.C:
10428         * buffer.h:
10429         * lyxtext.h:
10430         * paragraph.C:
10431         * paragraph_pimpl.h:
10432         * text.C:
10433         * text2.C:
10434         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10435         suggested by Angus.
10436         Made updateCounter always count from start of buffer, and removed
10437         second argument (par).
10438         Reverted floats number display to '#'. Perhaps I'll try again when the
10439         code base is sanitized a bit.
10440
10441 2002-08-12  Angus Leeming  <leeming@lyx.org>
10442
10443         * buffer.[Ch] (getLabelList): constify.
10444
10445 2002-08-07  André Pönitz <poenitz@gmx.net>
10446
10447         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10448
10449         * funcrequest.h: extension to keep mouse (x,y) position
10450
10451 2002-08-12  Juergen Vigna  <jug@sad.it>
10452
10453         * BufferView2.C (insertErrors): forbid undo when inserting error
10454         insets.
10455
10456         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10457
10458 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10459
10460         * ParagraphList.[Ch]: new files
10461
10462         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10463
10464         * BufferView2.C (lockInset): ParagraphList changes
10465         * toc.C: ditto
10466         * text2.C: ditto
10467         * bufferlist.C: ditto
10468         * buffer.h: ditto
10469         * buffer.C: ditto
10470
10471 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10472
10473         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10474         unused class variable counter_,
10475
10476         * paragraph.[Ch] (getFirstCounter): delete unused function
10477
10478         * counters.C: include LAssert.h
10479         (reset): add a new function with no arg, change other version to
10480         not have def. arg and to not allow empty arg.
10481
10482         * text2.C (setCounter): remove empty arg from call to Counters::reset
10483
10484 2002-08-11  John Levon  <levon@movementarian.org>
10485
10486         * Makefile.am: add WordLangTuple.h
10487
10488 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10489
10490         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10491         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10492
10493         * insets/insettext.C: InsetList changes
10494
10495         * graphics/GraphicsSupport.C (operator()): InsetList changes
10496
10497         * toc.C (getTocList): InsetList changes
10498
10499         * paragraph_pimpl.[Ch]: InsetList changes
10500
10501         * paragraph.[Ch]: InsetList changes
10502
10503         * buffer.C (inset_iterator): InsetList changes
10504         (setParagraph): ditto
10505         * buffer.h (inset_iterator): ditto
10506         * iterators.C (operator++): ditto
10507         * iterators.h: ditto
10508
10509         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10510
10511         * InsetList.[Ch]: new files, most InsetList handling moved out of
10512         paragraph.C.
10513
10514         * BufferView2.C (removeAutoInsets): InsetList changes
10515         (lockInset): ditto
10516         (ChangeInsets): ditto
10517
10518 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10519
10520         * paragraph_pimpl.h (empty): new function
10521
10522         * paragraph.[Ch] (empty): new function
10523
10524         * other files: use the new Paragraph::empty function
10525
10526 2002-08-09  John Levon  <levon@movementarian.org>
10527
10528         * lyxtext.h: remove unused refresh_height
10529
10530 2002-08-09  John Levon  <levon@movementarian.org>
10531
10532         * Makefile.am:
10533         * sgml.h:
10534         * sgml.C:
10535         * buffer.C:
10536         * paragraph.h:
10537         * paragraph.C: move sgml char escaping out of paragraph
10538
10539         * paragraph.h:
10540         * paragraph.C: remove id setter
10541
10542         * buffer.C:
10543         * paragraph.C:
10544         * paragraph_pimpl.C: remove dead tex_code_break_column
10545
10546         * bufferview_funcs.C: small cleanup
10547
10548         * lyxfunc.C: remove dead proto
10549
10550         * lyxtext.h: make some stuff private. Remove some dead stuff.
10551
10552         * lyxgluelength.C: make as[LyX]String() readable
10553
10554 2002-08-08  John Levon  <levon@movementarian.org>
10555
10556         * LyXAction.h:
10557         * LyXAction.C:
10558         * MenuBackend.C:
10559         * ToolbarDefaults.C:
10560         * lyxfunc.C:
10561         * lyxrc.C:
10562         * toc.C: lyxaction cleanup
10563
10564 2002-08-08  John Levon  <levon@movementarian.org>
10565
10566         * BufferView2.C: small cleanup
10567
10568         * lyxfind.h:
10569         * lyxfind.C: move unnecessary header into the .C
10570
10571 2002-08-08  John Levon  <levon@movementarian.org>
10572
10573         * funcrequest.h: just tedious nonsense
10574
10575         * lyx_main.h:
10576         * lyx_main.C: cleanups
10577
10578         * buffer.C:
10579         * vspace.C: remove dead header lyx_main.h
10580
10581 2002-08-07  Angus Leeming  <leeming@lyx.org>
10582
10583         * Paragraph.[Ch]:
10584         * paragraph_pimpl.h:
10585         Forward declare class Counters in paragraph.h by moving the ctrs member
10586         variable into Paragraph::Pimpl.
10587         (counters): new method, returning a reference to pimpl_->ctrs.
10588
10589         * text2.C: ensuing changes.
10590
10591 2002-08-07  John Levon  <levon@movementarian.org>
10592
10593         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10594
10595         * BufferView_pimpl.C: announce X selection on double/triple
10596           click
10597
10598         * lyx_main.C: use correct bool in batch dispatch
10599
10600         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10601
10602 2002-08-07  André Pönitz <poenitz@gmx.net>
10603
10604         * funcrequest.h: new class to wrap a kb_action and its argument
10605
10606         * BufferView.[Ch]:
10607         * BufferView_pimpl[Ch]:
10608         * LaTeX.C:
10609         * LyXAction.[Ch]:
10610         * lyxfunc.[Ch]:
10611         * lyxrc.C: subsequent changes
10612
10613
10614 2002-08-07  John Levon  <levon@movementarian.org>
10615
10616         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10617           document options change.
10618
10619 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10620
10621         * counters.[Ch]
10622         * text2.C
10623         * paragraph.[Ch]
10624         * makefile.am: move counters functionality over from
10625         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10626
10627 2002-08-06  John Levon  <levon@movementarian.org>
10628
10629         * WordLangTuple.h: new file for word + language code tuple
10630
10631         * SpellBase.h:
10632         * pspell.h:
10633         * pspell.C:
10634         * ispell.h:
10635         * ispell.C:
10636         * lyxtext.h:
10637         * text.C:
10638         * text2.C:
10639         * BufferView.h:
10640         * BufferView2.C: use WordLangTuple
10641
10642         * layout.h:
10643         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10644
10645 2002-08-06  John Levon  <levon@movementarian.org>
10646
10647         * lyx_main.C: fix cmdline batch handling
10648
10649 2002-08-06  André Pönitz <poenitz@gmx.net>
10650
10651         * lyxrc.C: set default for show_banner to true
10652
10653 2002-08-06  John Levon  <levon@movementarian.org>
10654
10655         * pspell.C: fix a crash, and allow new aspell to work
10656
10657 2002-08-06  John Levon  <levon@movementarian.org>
10658
10659         * lyxfunc.C:
10660         * kbmap.C: small cleanup
10661
10662         * vspace.h:
10663         * vspace.C: add const
10664
10665 2002-08-05  John Levon  <levon@movementarian.org>
10666
10667         * LyXAction.C: back to tabular-insert
10668
10669 2002-08-04  John Levon  <levon@movementarian.org>
10670
10671         * BufferView.h:
10672         * BufferView.C: cosmetic change
10673
10674         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10675
10676         * bufferlist.C:
10677         * buffer.h:
10678         * buffer.C:
10679         * lyxcb.h:
10680         * lyxcb.C:
10681         * lyxserver.C:
10682         * lyxvc.C:
10683         * vc-backend.C:
10684         * BufferView2.C: purge all "Lyx" not "LyX" strings
10685
10686         * lyxcursor.h:
10687         * lyxcursor.C: attempt to add some documentation
10688
10689         * lyxfunc.C:
10690         * commandtags.h:
10691         * LyXAction.C:
10692         * ToolbarDefaults.C:
10693         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10694           merge with LFUN_TABULAR_INSERT
10695
10696         * Makefile.am:
10697         * SpellBase.h:
10698         * ispell.h:
10699         * ispell.C:
10700         * pspell.h:
10701         * pspell.C: split up i/pspell implementations into separate
10702           files, many cleanups
10703
10704         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10705
10706         * text2.C: some cleanup
10707
10708         * lyxfunc.C: don't check for isp_command == "none" any more, it
10709           didn't make any sense
10710
10711 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10712
10713         * counters.[Ch]
10714         * text2.C
10715         * paragraph.[Ch]
10716         * makefile.am: move counters functionality over
10717         from text2.C/paragraph.[Ch] to counters.[Ch], and
10718         make proper C++.
10719 2002-08-02  John Levon  <levon@movementarian.org>
10720
10721         * buffer.C: s/lyxconvert/lyx2lyx/
10722
10723 2002-08-02  Angus Leeming  <leeming@lyx.org>
10724
10725         * lyxlex.C: revert John's change as it breaks reading of the user
10726         preamble.
10727
10728 2002-08-02  Angus Leeming  <leeming@lyx.org>
10729
10730         * importer.C (Import):
10731         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10732         changes due to LyXView::view() now returning a boost::shared_ptr.
10733
10734 2002-08-02  John Levon  <levon@movementarian.org>
10735
10736         * lyxlex.C: small cleanup
10737
10738 2002-08-02  John Levon  <levon@movementarian.org>
10739
10740         * text2.C (status): small cleanup, no logic change
10741
10742 2002-08-01  John Levon  <levon@movementarian.org>
10743
10744         * buffer.h:
10745         * buffer.C (writeFile): don't output alerts, caller
10746           handles this
10747
10748         * bufferlist.C:
10749         * lyx_cb.C: from above
10750
10751         * lyxfunc.C: allow to open non-existent files
10752
10753 2002-07-31  John Levon  <levon@movementarian.org>
10754
10755         * lyxserver.C: don't let incidental errors get
10756           in the way (errno)
10757
10758 2002-07-30  John Levon  <levon@movementarian.org>
10759
10760         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10761
10762 2002-07-30  John Levon  <levon@movementarian.org>
10763
10764         * lyxserver.h:
10765         * lyxserver.C: remove I/O callback too
10766
10767 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10768
10769         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10770         log.
10771
10772 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10773
10774         * many files: strip,frontStrip -> trim,ltrim,rtrim
10775
10776 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10777
10778         * PrinterParams.h: remove extern containsOnly, and include
10779         support/lstrings.h instead.
10780
10781         * LaTeX.C (scanAuxFile): modify because of strip changes
10782         (deplog): ditto
10783         * buffer.C (makeLaTeXFile): ditto
10784         * bufferparams.C (writeFile): ditt
10785         * lyxfont.C (stateText): ditto
10786         * lyxserver.C (read_ready): ditto
10787         * vc-backend.C (scanMaster): ditto
10788
10789         * BufferView_pimpl.h: ws changes
10790
10791         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10792
10793 2002-07-26  André Pönitz <poenitz@gmx.net>
10794
10795         * kb_sequence.C: remove unnedred usings
10796
10797 2002-07-26  Juergen Vigna  <jug@sad.it>
10798
10799         * lyxfind.C (LyXReplace): we have to check better if the returned
10800         text is not of theLockingInset()->getLockingInset().
10801
10802 2002-07-25  Juergen Vigna  <jug@sad.it>
10803
10804         * lyxfind.C (LyXReplace): don't replace if we don't get the
10805         right LyXText.
10806
10807         * undo_funcs.C (createUndo): remove debugging code.
10808
10809 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10810
10811         * buffer.C (parseSingleLyXformat2Token): Use default placement
10812         when reading old floats.
10813
10814         * FloatList.C (FloatList): Change the default placement of figure
10815         and tables to "tbp".
10816
10817 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10818
10819         * MenuBackend.C: using std::max
10820
10821 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10822
10823         * MenuBackend.C (expandToc):
10824         (expandToc2): code moved from xforms menu frontend. It is now
10825         generic and TOCs are transparent to menu frontends.
10826
10827 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10828
10829         * toc.C (getTocList): protect against buf=0
10830
10831         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10832         Menu as first parameter. Now, this calls itself recursively to
10833         expand a whole tree (this will be useful for TOC handling)
10834         (expandFloatInsert): remove 'wide' version of floats
10835
10836         * MenuBackend.h (submenuname): returns the name of the submenu.
10837         (submenu): returns the submenu itself, provided it has been
10838         created by MenuBackend::expand
10839
10840 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10841
10842         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10843         insets which have noFontChange == true. (bug #172)
10844
10845 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10846
10847         * BufferView_pimpl.C: add connection objects and use them...
10848         (Pimpl): here.
10849
10850 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10851
10852         * MenuBackend.C (expandLastfiles):
10853         (expandDocuments):
10854         (expandFormats):
10855         (expandFloatListInsert):
10856         (expandFloatInsert):
10857         (expand): split expand in parts
10858
10859 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10860
10861         * lyx_gui.C: use lyx_gui::exit()
10862
10863 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10864
10865         * LyXAction.C: show the failing pseudo action
10866
10867 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10868
10869         * buffer.C (readFile): Run the lyxconvert script in order to read
10870         old files.
10871
10872 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10873
10874         * LyXAction.C:
10875         * commandtags.h:
10876         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10877
10878 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10879
10880         * LyXAction.C:
10881         * commandtags.h:
10882         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10883
10884 2002-07-22  Herbert Voss  <voss@lyx.org>
10885
10886         * lengthcommon.C:
10887         * lyxlength.[Ch]: add support for the vertical lengths
10888
10889 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10890
10891         * toc.[Ch]: std:: fixes
10892
10893 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10894
10895         * lyxrc.C: do not include lyx_main.h
10896
10897         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10898         for layouts
10899
10900         * lyxrc.C:
10901         * encoding.C:
10902         * bufferlist.C:
10903         * BufferView2.C: include "lyxlex.h"
10904
10905         * tabular.h:
10906         * bufferparams.h: do not #include "lyxlex.h"
10907
10908         * lyxtextclasslist.C (Add): remove method
10909         (classlist): renamed to classlist_
10910
10911         * paragraph_pimpl.C:
10912         * paragraph.C:
10913         * text2.C:
10914         * CutAndPaste.C:
10915         * bufferview_funcs.C:
10916         * bufferlist.C:
10917         * text.C:
10918         * LaTeXFeatures.C:
10919         * buffer.C:
10920         * toc.C (getTocList): use BufferParams::getLyXTextClass
10921
10922         * toc.C (getTocList): use InsetFloat::addToToc
10923
10924         * toc.[Ch]: new files, containing helper functions to handle table
10925         of contents
10926
10927         * lyxfunc.C (dispatch): no need to remove spaces around command
10928         given as a string
10929         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10930         first command of the sequence; it is not very clever, but I do not
10931         have a better idea, actually
10932
10933         * LyXAction.C (LookupFunc): make sure to remove space at the
10934         beginning and end of the command
10935
10936 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10937
10938         * MenuBackend.C (getMenubar): new method: return the menubar of
10939         this menu set
10940         (read): treat differently reading of menu and menubar (in
10941         particular, the menubar has no name now)
10942         (Menu::menubar): remove
10943
10944         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10945         saving is finished
10946
10947 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10948
10949         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10950         a bibitem inset in a RTL paragraph.
10951
10952 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10953
10954         * paragraph_pimpl.C: constify
10955
10956         * BufferView_pimpl.C:
10957         * LaTeX.C:
10958         * lyxfunc.C: fix dispatch in a nicer way
10959
10960 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10961
10962         * lyxfunc.C (dispatch):
10963         * BufferView_pimpl.C:
10964         * BufferView_pimpl.h:
10965         * BufferView.C:
10966         * BufferView.h: rename Dispatch() to dispatch()
10967
10968         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10969
10970         * lyxlayout.C (Read): honor DependsOn tag
10971
10972         * lyxlayout.[Ch] (depends_on): new method
10973
10974         * version.C.in: update lyx_docversion
10975
10976         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10977
10978         * paragraph.C (validate): remove from here...
10979         * paragraph_pimpl.C (validate): ... and move here
10980         (isTextAt): make it const
10981
10982         * buffer.C (getLists): ws cleanup
10983
10984 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10985
10986         * language.C (read): Use iso8859-1 encoding in latex_lang
10987         (this prevents LyX from crashing when using iso10646-1 encoding).
10988
10989 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10990
10991         * text2.C (toggleInset): if cursor is inside an inset, close the
10992         inset and leave cursor _after_ it
10993
10994 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10995
10996         * lyxfunc.C: move minibuffer completion handling out of here
10997
10998 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10999
11000         * BufferView_pimpl.C:
11001         * LaTeX.C: fix dispatch calls
11002
11003 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11004
11005         * text.C (drawChars): Fix Arabic text rendering.
11006
11007 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11008
11009         * LyXAction.C:
11010         * commandtags.h:
11011         * lyxfunc.C: remove message-push/pop
11012
11013         * lyxserver.C:
11014         * lyxfunc.h:
11015         * lyxfunc.C: rationalise some code by removing verboseDispatch
11016           in favour of a bool argument to dispatch()
11017
11018 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11019
11020         * lyx_main.C (init): make sure to read symlinks as absolute paths
11021
11022 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11023
11024         * lyxfunc.h:
11025         * lyxfunc.C: no need for commandshortcut to be a member
11026
11027 2002-07-15  André Pönitz <poenitz@gmx.net>
11028
11029         * converter.C: add support for $$s (scripts from lib/scripts dir)
11030         * lyx_main.C: white space
11031
11032 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11033
11034         * bufferlist.C:
11035         * lyxrc.h:
11036         * lyxrc.C: remove second exit confirmation
11037
11038 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11039
11040         * BufferView.h:
11041         * BufferView.C:
11042         * BufferView2.C:
11043         * BufferView_pimpl.h:
11044         * BufferView_pimpl.C:
11045         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11046
11047 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11048
11049         * MenuBackend.C (expand): add numeric shortcuts to document menu
11050
11051         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11052
11053 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11054
11055         * lyxfont.C (setLyXFamily):
11056         (setLyXSeries):
11057         (setLyXShape):
11058         (setLyXSize):
11059         (setLyXMisc):
11060         (lyxRead):
11061         * debug.C (value):
11062         * buffer.C (asciiParagraph): use ascii_lowercase
11063
11064 2002-07-15  Mike Fabian  <mfabian@suse.de>
11065
11066         * lyxlex_pimpl.C (search_kw):
11067         * lyxlex.C (getLongString):
11068         * converter.h (operator<):
11069         * converter.C (operator<):
11070         * buffer.C (parseSingleLyXformat2Token):
11071         (asciiParagraph):
11072         * ToolbarDefaults.C (read):
11073         * MenuBackend.C (checkShortcuts):
11074         (read):
11075         * LColor.C (getFromGUIName):
11076         (getFromLyXName): use the compare_ascii_no_case instead of
11077         compare_no_case, because in turkish, 'i' is not the lowercase
11078         version of 'I', and thus turkish locale breaks parsing of tags.
11079
11080 2002-07-16  Angus Leeming  <leeming@lyx.org>
11081
11082         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11083         now takes a Buffer const & argument.
11084
11085 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11086
11087         * BufferView.C (resize): check there's a buffer to resize
11088
11089 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11090
11091         * lyxfunc.C: remove dead code
11092
11093         * lyxserver.h:
11094         * lyxserver.C: use lyx_guii::set_read_callback
11095
11096 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11097
11098         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11099         an inset in a RTL paragraph.
11100
11101 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11102
11103         * lyxfunc.C: repaint after a font size update
11104
11105 2002-07-15  André Pönitz <poenitz@gmx.net>
11106
11107         * lyxlength.C: inBP should be able to return negative values
11108
11109 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11110
11111         * lyxfunc.C: use lyx_gui::update_fonts()
11112
11113 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * lyxfunc.C: use lyx_gui::update_color()
11116
11117 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11118
11119         * bufferlist.C:
11120         * lyxfunc.h:
11121         * lyxfunc.C:
11122         * lyxrc.h:
11123         * lyxrc.C: remove file->new asks for name option, and let
11124           buffer-new take an argument
11125
11126 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11127
11128         * BufferView_pimpl.C: remove unneeded extra repaint()
11129
11130 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11131
11132         * LyXAction.C: allow command-sequence with NoBuffer
11133
11134         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11135
11136 2002-07-10  Angus Leeming  <leeming@lyx.org>
11137
11138         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11139
11140 2002-07-09  Angus Leeming  <leeming@lyx.org>
11141
11142         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11143
11144 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11145
11146         * lengthcommon.h: whitespace
11147
11148         * lyxfunc.C: update scrollbar after goto paragraph
11149
11150         * lyxtext.h: factor out page break drawing, and fix it so
11151           page break/added space paints as selected nicely
11152
11153 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11154
11155         * BufferView_pimpl.C: add FIXMEs, clean up a little
11156
11157 2002-07-09  André Pönitz <poenitz@gmx.net>
11158
11159         * lyxfont.[Ch]: support for wasy symbols
11160
11161 2002-07-08  André Pönitz <poenitz@gmx.net>
11162
11163         * BufferView_pimpl.C: apply John's patch for #93.
11164
11165 2002-07-05  Angus Leeming  <leeming@lyx.org>
11166
11167         * BufferView_pimpl.C (buffer): generate previews if desired.
11168
11169         * LColor.h: add "preview" to the color enum.
11170
11171         * LColor.C (LColor): add a corresponding entry to the items array.
11172
11173         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11174         with this buffer.
11175
11176 2002-07-05  Angus Leeming  <leeming@lyx.org>
11177
11178         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11179         The body of the code is now in the method that is passed an ostream &
11180         rather than a file name.
11181         Pass an additional only_preamble parameter, useful for the forthcoming
11182         preview stuff.
11183
11184 2002-07-03  André Pönitz <poenitz@gmx.net>
11185
11186         * lyxfunc.C: simplify getStatus() a bit for math stuff
11187
11188 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11189
11190         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11191
11192 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11193
11194         * text.C (changeRegionCase): do not change case of all the
11195         document when region ends at paragraph end (bug #461)
11196
11197 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11198
11199         * paragraph.C (startTeXParParams):
11200         (endTeXParParams): add \protect when necessary
11201
11202 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11203
11204         * BufferView_pimpl.C (workAreaExpose): remove warning
11205
11206 2002-06-27  Angus Leeming  <leeming@lyx.org>
11207
11208         * Makefile.am: add lyxlayout_ptr_fwd.h.
11209
11210 2002-06-26  André Pönitz <poenitz@gmx.net>
11211
11212         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11213
11214 2002-06-25  Angus Leeming  <leeming@lyx.org>
11215
11216         * lyxfunc.C (dispatch): Comment out the call to
11217         grfx::GCache::changeDisplay. The method no longer exists now that the
11218         pixmap generation part of the graphics loader has been moved into
11219         InsetGraphics.
11220
11221 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11222
11223         * text2.C: layout as layout
11224
11225         * text.C: layout as layout
11226
11227         * tabular.C (OldFormatRead): layout as layout
11228
11229         * paragraph_pimpl.C (TeXDeeper): layout as layout
11230         (realizeFont): layout as layout
11231
11232         * paragraph.C (writeFile): layout as layout
11233         (validate): layout as layout
11234         (getFont): layout as layout
11235         (getLabelFont): layout as layout
11236         (getLayoutFont): layout as layout
11237         (breakParagraph): layout as layout
11238         (stripLeadingSpaces): layout as layout
11239         (getEndLabel): layout as layout
11240         (getMaxDepthAfter): layout as layout
11241         (applyLayout): layout as layout
11242         (TeXOnePar): layout as layout
11243         (simpleTeXOnePar): layout as layout
11244         (TeXEnvironment): layout as layout
11245         (layout): layout as layout
11246         (layout): layout as layout
11247
11248         * lyxtextclass.C (compare_name): new functor to work with
11249         shared_ptr, layout as layout
11250         (Read): layout as layout
11251         (hasLayout): layout as layout
11252         (operator): layout as layout
11253         (delete_layout): layout as layout
11254         (defaultLayout): layout as layout
11255
11256         * lyxlayout_ptr_fwd.h: new file
11257
11258         * lyxlayout.C (Read): layout as layout
11259
11260         * lyx_cb.C (MenuInsertLabel): layout as layout
11261
11262         * bufferlist.C (newFile): layout as layout
11263
11264         * buffer.C (readLyXformat2): layout as layout
11265         (parseSingleLyXformat2Token): layout as layout
11266         (insertStringAsLines): layout as layout
11267         (asciiParagraph): layout as layout
11268         (latexParagraphs): layout as layout
11269         (makeLinuxDocFile): layout as layout
11270         (simpleLinuxDocOnePar): layout as layout
11271         (makeDocBookFile): layout as layout
11272         (simpleDocBookOnePar): layout as layout
11273         (getLists): layout as layout
11274
11275         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11276
11277         * CutAndPaste.C (cutSelection): layout as layout
11278         (pasteSelection): layout as layout
11279         (SwitchLayoutsBetweenClasses): layout as layout
11280
11281         * BufferView_pimpl.C (Dispatch): layout as layout
11282         (smartQuote): layout as layout
11283
11284         * BufferView2.C (unlockInset): layout as layout
11285
11286 2002-06-24  André Pönitz <poenitz@gmx.net>
11287
11288         * lyxfunc.C: fix #487
11289
11290 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11291
11292         * lyxrc.h:
11293         * lyxrc.C:
11294         * lyxfunc.C: remove display_shortcuts, show_banner
11295
11296 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11297
11298         * Buffer_pimpl.C: oops, update on resize
11299
11300 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11301
11302         * buffer.C:
11303         * converter.C:
11304         * exporter.C:
11305         * lyxfunc.C:
11306         * BufferView.h:
11307         * BufferView.C: use repaint()
11308
11309         * BufferView_pimpl.h:
11310         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11311           as it's a clearer description. Remove superfluous
11312           redraws.
11313
11314 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11315
11316         * text.C: fix bug 488. Not ideal, but getting
11317           getWord() to work properly for the insets that
11318           matter is more difficult ...
11319
11320 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11321
11322         * BufferView_pimpl.C:
11323         * LyXAction.C:
11324         * commandtags.h:
11325         * lyxfunc.C: remove the six million index lyxfuncs to just
11326           one, and DTRT (bug 458)
11327
11328 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11329
11330         * BufferView.h:
11331         * BufferView.C:
11332         * BufferView_pimpl.h:
11333         * BufferView_pimpl.C: clean up resize() stuff,
11334           and unnecessary updateScreen()s
11335
11336 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11337
11338         * BufferView.h:
11339         * BufferView.C:
11340         * BufferView_pimpl.h:
11341         * BufferView_pimpl.C:
11342         * lyxfind.h:
11343         * lyxfind.C:
11344         * minibuffer.C: remove focus management of workarea,
11345           not needed. Use screen's greyOut()
11346
11347 2002-06-17  Herbert Voss  <voss@lyx.org>
11348
11349         * converter.C: (convert) do not post a message, when converting
11350         fails, let the calling function decide what to do in this case
11351
11352 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11353
11354         * lyxfunc.C: tidy up a little
11355
11356 2002-06-16    <alstrup@diku.dk>
11357
11358         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11359         Got rid of FORMS_H_LOCATION include. Now we are
11360         GUII.
11361
11362 2002-06-15  LyX Development team  <lyx@rilke>
11363
11364         * buffer.[Ch] (sgmlOpenTag):
11365         (sgmlCloseTag): Added support for avoiding pernicious mixed
11366         content. Return number of lines written.
11367
11368         (makeLinuxDocFile):
11369         (makeDocBookFile): Fixed calls to sgml*Tag.
11370         Simple white space clean.
11371
11372         (simpleDocBookOnePar): Simple white space clean.
11373
11374         * tabular.[Ch] (docBook): Renamed to docbook and got another
11375         argument to related with the pernicious mixed content.
11376
11377         (docbookRow): Fixed calls for docbook inset method.
11378
11379 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11380
11381         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11382         so it's X11 independent.
11383
11384         * kb*.[Ch]: ditto.
11385
11386         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11387
11388 2002-06-15  Lyx Development team  <lyx@electronia>
11389
11390         * intl.h: Renamed getTrans to getTransManager.
11391
11392 2002-06-14  Angus Leeming  <leeming@lyx.org>
11393
11394         * Makefile.am: nuke forgotten stl_string_fwd.h.
11395
11396 2002-06-12  Angus Leeming  <leeming@lyx.org>
11397
11398         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11399
11400 2002-06-13  Angus Leeming  <leeming@lyx.org>
11401
11402         * LaTeX.C:
11403         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11404
11405 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11406
11407         * kbmap.C (getiso): add support for cyrillic and greek
11408
11409 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11410
11411         * BufferView.h:
11412         * BufferView.C:
11413         * BufferView_pimpl.h:
11414         * BufferView_pimpl.C: move bogus scrolling logic
11415           to xforms
11416
11417 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11418
11419         * lyxfunc.C:
11420         * BufferView_pimpl.C: view->resize() change
11421
11422 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11423
11424         * BufferView_pimpl.C: topCursorVisible
11425           prototype change
11426
11427 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11428
11429         * Makefile.am:
11430         * lyx_gui.h:
11431         * lyx_gui.C: move to frontends/
11432
11433         * main.C:
11434         * lyx_main.h:
11435         * lyx_main.C: changes from above
11436
11437 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * intl.C:
11440         * intl.h:
11441         * kbmap.C:
11442         * kbsequence.C:
11443         * lyx_cb.C:
11444         * lyx_main.C: minor tidy
11445
11446 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * BufferView_pimpl.h:
11449         * BufferView_pimpl.C:
11450         * BufferView.h:
11451         * BufferView.C: make painter() const,
11452           remove dead code
11453
11454         * BufferView2.C: use screen() accessor
11455
11456         * lyx_main.h:
11457         * lyx_main.C: some minor cleanup
11458
11459 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11460
11461         * BufferView_pimpl.h:
11462         * BufferView_pimpl.C: remove enter/leaveView,
11463           use workHeight()
11464
11465 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * BufferView.h:
11468         * BufferView.C:
11469         * BufferView2.C:
11470         * BufferView_pimpl.h:
11471         * BufferView_pimpl.C: only construct screen once,
11472           rename
11473
11474         * lyxrc.C: remove pointless comment
11475
11476 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11477
11478         * BufferView.h:
11479         * BufferView.C: remove active() and belowMouse()
11480
11481         * BufferView_pimpl.h:
11482         * BufferView_pimpl.C: use workarea() not workarea_,
11483           and make it use a scoped_ptr instead
11484
11485 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11486
11487         * lyx_gui.C: add debug message on BadWindow
11488
11489 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11490
11491         * sp_spell.C: fdopen is not part of the C++ standard.
11492
11493         * paragraph.C (InsetIterator): use >= instead of ==
11494
11495 2002-06-07  Angus Leeming  <leeming@lyx.org>
11496
11497         Fixes needed to compile with Compaq cxx 6.5.
11498         * BufferView_pimpl.C:
11499         * DepTable.C:
11500         * buffer.C:
11501         * converter.C:
11502         * encoding.C:
11503         * lyx_gui.C:
11504         * lyx_main.C:
11505         * lyxtextclasslist.C:
11506         * minibuffer.C:
11507         * sp_spell.C:
11508         * tabular_funcs.C:
11509         * vc-backend.C:
11510         all c-library variables have been moved into namespace std. Wrap
11511         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11512
11513         * lyxlength.C:
11514         * tabular-old.C:
11515         * tabular.C:
11516         Add a using std::abs declaration.
11517
11518         * kbmap.h (modifier_pair):
11519         * paragraph.h (InsetTable, InsetList):
11520         * lyxfont.h (FontBits):
11521         type definition made public.
11522
11523         * bufferlist.C (emergencyWriteAll): the compiler complains that
11524         there is more than one possible lyx::class_fun template to choose from.
11525         I re-named the void specialisation as lyx::void_class_fun.
11526
11527         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11528
11529         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11530         the compiler is is unable to find tostr in write_attribute.
11531
11532 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11533
11534         * buffer.C (sgmlError): hide #warning
11535
11536 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11537
11538         * xtl/*: get rid of xtl, which is not in use anyway
11539
11540         * LyXAction.C (init):
11541         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11542         were unimplemented xtl experimentation
11543
11544 2002-06-04  André Pönitz <poenitz@gmx.net>
11545
11546         * lyxfunc.C: disable array operation on simple formulae
11547
11548 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11549
11550         * converter.C: constify a bit
11551
11552 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11553
11554         * lyx_gui.C: check xforms version correctly
11555
11556 2002-04-30  Herbert Voss  <voss@lyx.org>
11557
11558         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11559         "keep" option
11560
11561 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11562
11563         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11564           attempt to register it with a VCS)
11565
11566 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11567
11568         * lyx_main.C (init): honor variables LYX_DIR_13x and
11569         LYX_USERDIR_13x
11570
11571 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11572
11573         * buffer.h:
11574         * buffer.C:
11575         * lyx_main.C: fix a crash on bad command line,
11576           and give a useful exit status on error
11577
11578         * lyxfunc.C (doImport): allow -i lyx to work
11579
11580 2002-03-30  André Pönitz <poenitz@gmx.net>
11581
11582         * lyxfunc.C: mathed font changes
11583
11584 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * LaTeX.C:
11587         * importer.h:
11588         * importer.C:
11589         * lyx_sty.h:
11590         * lyx_sty.C:
11591         * lyxlex.C:
11592         * lyxrow.h:
11593         * lyxtext.h:
11594         * paragraph.h:
11595         * paragraph.C:
11596         * texrow.h:
11597         * texrow.C:
11598         * text.C:
11599         * trans_mgr.h: srcdocs, and some minor cleanups
11600
11601 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11602
11603         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11604         call getFont all the time)
11605
11606 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11607
11608         * switch from SigC signals to boost::signals
11609
11610 2002-05-29  André Pönitz <poenitz@gmx.net>
11611
11612         * paragraph_pimpl.C (getChar): don't call size() too often...
11613
11614 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11615
11616         * paragraph_pimpl.C (insertChar): do not try to update tables when
11617         appending (pos == size())
11618
11619         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11620         in order to reduce drastically the number of comparisons needed to
11621         parse a large document
11622
11623 2002-05-29  André Pönitz <poenitz@gmx.net>
11624
11625         * text.C:
11626         * text2.C:
11627         * lyxtextclass.C:
11628         * sp_pspell.h:
11629         * textclasslist.[Ch]:
11630         * sp_ispell.h: whitespace change
11631
11632 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11633
11634         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11635         lyxaction directly now.
11636
11637 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11638
11639         * trans.C:
11640         * lyxfont.C:
11641         * lyxvc.C: remove unused headers
11642
11643 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11644
11645         * Makefile.am:
11646         * buffer.h:
11647         * undostack.h:
11648         * undostack.C:
11649         * undo_funcs.h:
11650         * undo_funcs.C: some cleanups. Use shared_ptr
11651           and a template for the undo stacks.
11652
11653 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11654
11655         * BufferView_pimpl.h:
11656         * BufferView_pimpl.C:
11657         * kbmap.h:
11658         * kbmap.C:
11659         * kbsequence.h:
11660         * kbsequence.C:
11661         * lyxfunc.h:
11662         * lyxfunc.C:
11663         * text2.C: use key_state/mouse_state
11664
11665 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11666
11667         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11668         and LSubstring
11669
11670         * chset.C: change include order
11671         (loadFile): use boost regex and get rid of LRegex and LSubstring
11672
11673         * Makefile.am (BOOST_LIBS): new variable
11674         (lyx_LDADD): use it
11675
11676         * LaTeX.C: change include order.
11677         (scanAuxFile): use boost regex and get rid of LRegex and
11678         LSubstring
11679         (deplog): ditto
11680
11681 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11682
11683         * ColorHandler.h:
11684         * ColorHandler.C:
11685         * FontInfo.h:
11686         * FontInfo.C: moved to frontends/xforms/
11687
11688         * FontLoader.h:
11689         * FontLoader.C: moved into frontends for GUIIzation
11690
11691         * Makefile.am:
11692         * lyx_gui.C:
11693         * lyxfont.C:
11694         * lyxfunc.C: changes from above
11695
11696 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * LColor.C: remove spurious X include
11699
11700         * BufferView_pimpl.C:
11701         * Makefile.am:
11702         * font.h:
11703         * font.C:
11704         * text.C:
11705         * text2.C: move font metrics to frontends/
11706
11707 2002-05-24  Juergen Vigna  <jug@sad.it>
11708
11709         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11710         setting the undo_cursor.
11711
11712         * ParagraphParameters.h: include local includes first.
11713
11714 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11715
11716         * BufferView_pimpl.C:
11717         * BufferView_pimpl.h:
11718         * Makefile.am:
11719         * WorkArea.h:
11720         * WorkArea.C:
11721         * screen.C: move WorkArea into frontends/
11722
11723         * lyxscreen.h:
11724         * screen.C:
11725         * text.C:
11726         * BufferView.C:
11727         * BufferView2.C: move LyXScreen into frontends/
11728
11729         * lyxlookup.h:
11730         * lyxlookup.C:
11731         * lyx_gui.C: move lyxlookup into frontends/xforms/
11732
11733 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11734
11735         * BufferView2.C:
11736         * BufferView_pimpl.C:
11737         * FontLoader.C:
11738         * LyXView.h:
11739         * LyXView.C:
11740         * Makefile.am:
11741         * WorkArea.C:
11742         * XFormsView.h:
11743         * XFormsView.C:
11744         * buffer.C:
11745         * bufferlist.C:
11746         * bufferview_funcs.C:
11747         * converter.C:
11748         * importer.C:
11749         * lyx_cb.C:
11750         * lyx_gui.C:
11751         * lyx_main.C:
11752         * lyx_find.C:
11753         * lyxfunc.C:
11754         * lyxvc.C:
11755         * minibuffer.C:
11756         * text.C:
11757         * text2.C:
11758         * trans.C:
11759         * vc-backend.C: move LyX/XFormsView into frontends/
11760
11761 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11762
11763         * Makefile.am:
11764         * PainterBase.C:
11765         * PainterBase.h:
11766         * Painter.C:
11767         * Painter.h:
11768         * WorkArea.C:
11769         * WorkArea.h:
11770         * screen.C:
11771         * tabular.C:
11772         * text.C:
11773         * text2.C: move Painter to frontends/
11774
11775 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11776
11777         * buffer.C: comment out some some code that depend upon lyx_format
11778         < 220
11779
11780         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11781         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11782
11783         * buffer.h (NO_COMPABILITY): turn off compability
11784
11785         * ColorHandler.C: include scoped_array.hpp
11786
11787         * font.C: Use more specific smart_ptr header.
11788         * Painter.C: ditto
11789         * gettext.C: ditto
11790         * ShareContainer.h: ditto
11791         * lyx_main.h: ditto
11792         * kbmap.h: ditto
11793         * FontInfo.h: ditto
11794         * BufferView_pimpl.h: ditto
11795         * ColorHandler.h: ditto
11796
11797         * kbmap.C (defkey): change call to shared_ptr::reset
11798
11799 2002-05-21  Juergen Vigna  <jug@sad.it>
11800
11801         * buffer.C (insertErtContents): fix to insert ert asis if it is
11802         non empty. Skip it completely if it contains only whitespaces.
11803
11804 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11805
11806         * BufferView_pimpl.C:
11807         * BufferView2.C: clear selection on paste (bug 393)
11808
11809 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11810
11811         * DepTable.C: include ctime
11812
11813 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11814
11815         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11816
11817 2002-05-14  Juergen Vigna  <jug@sad.it>
11818
11819         * text.C (breakParagraph): fixed function to honor the keepempty
11820         layout in the right maner and also to permit the right breaking
11821         algorithm on empty or non empyt keepempty paragraphs.
11822
11823         * paragraph.C (breakParagraph): we have to check also if the par
11824         is really empty (!size()) for isempty otherwise we do the wrong
11825         paragraph break.
11826
11827 2002-05-10  Juergen Vigna  <jug@sad.it>
11828
11829         * buffer.[Ch] : The following are only changes to the ert
11830         compatibility read reading old LaTeX layout and font stuff and
11831         convert it to ERTInsets.
11832
11833         * buffer.h: added isErtInset().
11834
11835         * buffer.C (struct ErtComp): add a fromlayout bool to check
11836         if we're inside a LaTeX layout.
11837         (isErtInset): new helper function.
11838         (insertErtContents): look for other ert insets before this one
11839         and insert the contents there, so that we don't have subsequent
11840         ERT insets with nothing between them. This way we create only one
11841         inset with multiple paragraphs. Also check if we don't insert only
11842         spaces ' ' as they are ignored anyway afterwards in the .tex file
11843         so if we have only spaces we will ignore this latex part in the
11844         new file.
11845         (parseSingleLyXformat2Token \\layout): better compatibility when
11846         reading layout-latex stuff.
11847         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11848         language tag.
11849         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11850         stuff after reading the inset only get the information back from
11851         the stack.
11852
11853 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11854
11855         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11856
11857         * LaTeXFeatures.C (getBabelOptions): New method.
11858
11859 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11860
11861         * BufferView_pimpl.C (Dispatch): work around missing argument for
11862         'layout'
11863
11864 2002-05-08  Juergen Vigna  <jug@sad.it>
11865
11866         * text.C (leftMargin): handle paragraph leftindent.
11867
11868         * paragraph.C (writeFile): write the new \\leftindent tag.
11869         (validate): handle leftindent code.
11870         (TeXEnvironment): handle paragraphleftindent code again.
11871
11872         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11873
11874         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11875         for paragrap_extra indent code and new token \\leftindent.
11876         (latexParagraphs): handle the leftindent as environment.
11877
11878         * ParameterStruct.h: added leftindent support.
11879
11880         * ParagraphParameters.C (leftIndent): added support functions for
11881         the paragraph left indent.
11882
11883         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11884         more appropriate.
11885
11886 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11887
11888         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11889         inside insetERT.
11890
11891         * text.C (computeBidiTables): No bidi in insetERT.
11892
11893         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11894         in RTL documents.
11895
11896 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11897
11898         * version.C.in: pre 5
11899
11900 2002-05-02  José Matos  <jamatos@fep.up.pt>
11901         * buffer.C (makeDocBookFile): white space changes, add newline to
11902         command styles.
11903         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11904
11905         * tabular.C (docBook): fix typo.
11906
11907 2002-05-03  Juergen Vigna  <jug@sad.it>
11908
11909         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11910         change in LyXText as we can not be sure it was not freed.
11911         (drawOneRow): remove unused code.
11912
11913         * text.C (drawInset): redo the calculation of the need_break_row as
11914         it could have a row which was already freed.
11915         (draw): look at the return value of drawInset and return false if
11916         it also returned false.
11917         (paintRowText): look at the return value of draw and return false if
11918         it also returned false.
11919
11920         * lyxtext.h: added bool return type to drawInset() and draw() so that
11921         if we have a change in the row so that the rowbreak has to be redone
11922         we abort drawing as it will be called again.
11923
11924 2002-05-02  Juergen Vigna  <jug@sad.it>
11925
11926         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11927         a change in the maintext also if we're inside an inset.
11928         (Dispatch): set the cursor again after a break line and after the
11929         screen has been updated as it could be we're in a different row.
11930
11931         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11932         to set the cursor behind the pargraph with > size().
11933         (setCursor): check also for the same paragraph when checking where
11934         to put the cursor if we have a NFR inset.
11935
11936         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11937         parts of layout read further up as it still was in the wrong
11938         position.
11939
11940 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11941
11942         * screen.C (drawFromTo): change sine fullRebreak always return
11943         true.
11944
11945         * buffer.C (parseSingleLyXformat2Token): reindent some
11946
11947         * BufferView_pimpl.C (update): change since fullRebreak always
11948         return true.
11949         (Dispatch): git rid of the last hardcoded "Standard"s.
11950
11951 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11952
11953         * text2.[Ch] (fullRebreak): make it return void now that we always
11954         returned true.
11955
11956 2002-04-30  Juergen Vigna  <jug@sad.it>
11957
11958         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11959         ert compatibility check for "latex" layout.
11960
11961 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11962
11963         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11964         minipages: use col% instead of p%, and also use the current font.
11965         (makeLaTeXFile): Fix use babel condition.
11966         (parseSingleLyXformat2Token): Correct font when reading old floats.
11967
11968 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11969
11970         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11971         inserting list of floats.
11972
11973 2002-04-25  Herbert Voss  <voss@lyx.org>
11974
11975         * MenuBackend.C (expand): don't add the graphics extensions to the
11976         export menu
11977
11978 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11979
11980         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11981         non-existing layout, do not complain if it was the default layout
11982         of the original class (bug #342)
11983
11984 2002-04-24  Juergen Vigna  <jug@sad.it>
11985
11986         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11987         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11988
11989 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11990
11991         * buffer.C (getBibkeyList): If using \bibliography, return the
11992         option field with the reference itself. Enables us to provide natbib
11993         support when using \bibliography.
11994
11995 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11996
11997         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11998
11999         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12000         natbib is provided by the LaTeX class.
12001
12002 2002-04-23  Juergen Vigna  <jug@sad.it>
12003
12004         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12005         Wakeup functions.
12006
12007         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12008
12009 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12010
12011         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12012
12013         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12014         ensuremath around textordmasculine, textordfeminine and
12015         textdegree.
12016
12017 2002-04-19  Juergen Vigna  <jug@sad.it>
12018
12019         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12020         reinitializing the buffer otherwise row-dimensions may be wrong.
12021         (update): reset also the selection cursors if they do exits otherwise
12022         their x/y positions may be wrong.
12023
12024         * text2.C (cursorDown): don't enter the inset if we came from a row
12025         above and are one row over the inset.
12026
12027         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12028         really leaving an inset.
12029
12030 2002-04-18  Juergen Vigna  <jug@sad.it>
12031
12032         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12033         of the selected paragraph does not have the selected layout also if
12034         the last one had!
12035
12036         * text2.C (setLayout): fixed bug which did not change last selected
12037         paragraph.
12038
12039         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12040         changed the read and substituted \\end_float with \\end_inset!
12041
12042         * BufferView_pimpl.C (cursorPrevious):
12043         (cursorNext): fixed to make it work with rows heigher than the work
12044         area without moving the cursor only the draw of the row.
12045         (workAreaMotionNotify): fix jumping over high rows.
12046
12047 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12048
12049         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12050         Ressler.
12051
12052 2002-04-16  Juergen Vigna  <jug@sad.it>
12053
12054         * text2.C (setCursor): set also the irow().
12055         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12056         (cursorUp):
12057         (cursorDown): support for locking an inset if the x_fix value goes
12058         inside it. That way I can transverse insets too with cursor up/down.
12059
12060         * lyxrow.h: added irow helper function same as other (i) functions.
12061
12062         * BufferView_pimpl.C (cursorPrevious):
12063         (cursorNext): fixed for insets!
12064
12065 2002-04-15  Juergen Vigna  <jug@sad.it>
12066
12067         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12068         position otherwise it is wrong in some cases.
12069
12070         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12071         inside the inset before the call.
12072
12073 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12074
12075         * buffer.[Ch] (getBibkeyList): make it const.
12076
12077 2002-04-12  Juergen Vigna  <jug@sad.it>
12078
12079         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12080
12081         * text2.C (getCursorX): new helper function
12082         (setCursor): compute also ix_
12083         (setCursorFromCoordinates): set also ix.
12084
12085         * lyxcursor.h: added ix_ and helper functions.
12086
12087         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12088
12089         * buffer.C (insertStringAsLines): dont break paragraph if the this
12090         paragraph is inside an inset which does not permit it!
12091
12092         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12093         also with no chars on this paragraph.
12094         (paintRowText): only paint stuff if it's inside the workarea!
12095
12096         * paragraph.C (breakParagraph): honor keepempty flag and break the
12097         paragraph always below not above.
12098
12099         * BufferView2.C (unlockInset): update the paragraph layout on inset
12100         unlock as we changed paragraph in such a case.
12101
12102         * lyxfind.C (LyXFind): clear the former selection if not found!
12103
12104         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12105         again called in insertChar().
12106
12107         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12108         an inset which uses the whole row!
12109         (rightMargin): ditto.
12110         (insertChar): force a rebreak if we inserted an inset!
12111
12112 2002-03-28  Herbert Voss  <voss@lyx.org>
12113
12114         * lyxlength.[Ch]: add inBP() to get the right PS-point
12115         units (BigPoint). With inPixels we have rounding errors
12116
12117 2002-04-11  Juergen Vigna  <jug@sad.it>
12118
12119         * text2.C (setCursorFromCoordinates): set iy to the right value.
12120         (setCursor): add check if row->previous exists!
12121
12122         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12123         an old float_type as this was the case in the old code!
12124
12125         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12126
12127         * BufferView2.C (showLockedInsetCursor): use iy
12128         (fitLockedInsetCursor): ditto
12129
12130         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12131         locked insets as there we have the right value now.
12132
12133         * lyxcursor.C: added iy_ variable and iy functions to set to the
12134         baseline of cursor-y of the locked inset.
12135
12136         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12137         (setCursor): fixed for insets which need a full row.
12138
12139         * text.C (rowLastPrintable): don't ignore the last space when before
12140         an inset which needs a full row.
12141         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12142         as last character of a row when before a inset which needs a full row.
12143
12144 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12145
12146         * version.C.in: update date
12147
12148         * text2.C (fullRebreak): try to always return true and see what
12149         happens...
12150
12151 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12152
12153         * MenuBackend.C (expand): use Floating::listName
12154
12155         * FloatList.C (FloatList): add listName argument to the built-in
12156         floats
12157
12158         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12159         text associated with the float.
12160
12161 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12162
12163         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12164
12165 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12166
12167         * ShareContainer.h: add a couple of missing typenames.
12168
12169 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12170
12171         * lyxrc.C (getDescription): use _() correctly rather than N_().
12172
12173 2002-03-28  Herbert Voss  <voss@lyx.org>
12174
12175         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12176         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12177
12178 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12179
12180         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12181         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12182
12183 2002-03-29  Juergen Vigna  <jug@sad.it>
12184
12185         * lyxfunc.C (dispatch): add a missing fitCursor call.
12186
12187         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12188         it was scrolled by a cursor move, so return the bool status.
12189
12190         * BufferView.C (fitCursor): return the bool flag also to the outside
12191         world as this is needed.
12192
12193         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12194
12195         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12196         call the edit() as it is not needed (and wrong) IMO.
12197         (workAreaButtonPress): set the screen_first variable before evt.
12198         unlock the inset as this may change screen_first and then we have
12199         a wrong y position for the click!
12200
12201 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12202
12203         * MenuBackend.C (expand): another translation that I missed
12204
12205 2002-03-28  Juergen Vigna  <jug@sad.it>
12206
12207         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12208
12209         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12210
12211 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12212
12213         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12214
12215         * MenuBackend.C (expand): fix export/view/update when there is no
12216         document open.
12217
12218 2002-03-27  Herbert Voss  <voss@lyx.org>
12219
12220         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12221         and text%
12222
12223 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12224
12225         * bufferview_funcs.C (currentState): only show paragraph number
12226         for is DEVEL_VERSION is set.
12227
12228         * lyxfunc.C (dispatch): put warning in INFO channel
12229
12230         * MenuBackend.C (expand): translate the name of floats
12231
12232         * FloatList.C (FloatList): mark the float names for translation
12233
12234         * converter.C (convert): use LibScriptSearch
12235
12236 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12237
12238         * MenuBackend.C (defaults): fix default menu (we might as well get
12239         rid of it...)
12240
12241 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12242
12243         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12244         directory.
12245
12246 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12247
12248         * lyxvc.C: reorder includes.
12249
12250 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12251
12252         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12253           properly
12254
12255 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12256
12257         * CutAndPaste.C: change layouts earlier on paste
12258           to avoid crashing when calling getFont()
12259
12260 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12261
12262         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12263         irritating #error.
12264
12265 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12266
12267         * WorkArea.C: remove 'Pending' debug message.
12268
12269         * most files: ws cleanup
12270
12271         * buffer.[Ch]: ws changes
12272
12273         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12274
12275 2002-03-21  Juergen Vigna  <jug@sad.it>
12276
12277         * tabular.C (SetMultiColumn): collapse also the contents of the
12278         cells and set the last border right. Added a Buffer const * param.
12279
12280 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12281
12282         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12283         linking or not.
12284
12285 2002-03-19  Juergen Vigna  <jug@sad.it>
12286
12287         * text2.C (clearSelection): reset also xsel_cache.
12288
12289         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12290         where it needs to be called (John tells us to do so too :)
12291         (selectionLost): reset sel_cache.
12292
12293         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12294
12295 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12296
12297         * text2.C (setCursorIntern): put debuging code in INSETS channel
12298
12299 2002-03-19  André Pönitz <poenitz@gmx.net>
12300
12301         * lyxfunc.C: tiny whitespace change
12302
12303 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12304
12305         * ToolbarDefaults.C (init):
12306         * LyXAction.C (init):
12307         * commandtags.h:
12308         * BufferView_pimpl.C (Dispatch):
12309         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12310
12311 2002-03-19  Allan Rae  <rae@lyx.org>
12312
12313         * exporter.C (Export): removeAutoInsets before doing anything else.
12314         While I've just introduced a dependency on BufferView this really is
12315         the best place to clean the buffer otherwise you need to cleanup in
12316         a dozen places before calling export or cleanup in a dozen functions
12317         that export calls.
12318
12319         * converter.C (runLaTeX):
12320         (scanLog): Better handling of removeAutoInsets and screen updates.
12321
12322         * lyxfunc.C (dispatch): small whitespace changes
12323
12324 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12325
12326         * WorkArea.C (C_WorkAreaEvent): return a value.
12327         (event_cb): return 1 if we handled the event, 0 otherwise.
12328
12329         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12330
12331 2002-03-18  Juergen Vigna  <jug@sad.it>
12332
12333         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12334         (GetAdditionalWidth): ditto.
12335         (RightLine): ditto.
12336         (LeftLine): ditto.
12337
12338         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12339         inset if we're there actually (probably not used right now but this
12340         is the direction to go for unifying code).
12341         (paste): disable code to clear the selection.
12342
12343         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12344         inside an InsetText and move the check further up as it is in the
12345         wrong place.
12346
12347         * text2.C (pasteSelection): set a selection over the pasted text.
12348
12349 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12350
12351         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12352         and libgraphics to build on Cygwin.
12353
12354 2002-03-15  Juergen Vigna  <jug@sad.it>
12355
12356         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12357         inserting an Inset into the paragraph. I know this is not the best
12358         fix but we already use current_view in CutAndPaste so we will remove
12359         all of it's using at the same time.
12360
12361         * buffer.C (sgmlError): deactivated function till it is rewritten in
12362         the right mode, now it can create problems.
12363
12364         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12365         before accessing it.
12366
12367 2002-03-14  Juergen Vigna  <jug@sad.it>
12368
12369         * undo_funcs.C (textHandleUndo): do the right thing when updating
12370         the inset after the undo/redo.
12371
12372         * text2.C (setCursor): just some testcode for #44 not ready yet.
12373
12374         * undo_funcs.C (textHandleUndo): set the next() and previous()
12375         pointers of the paragraph to 0 before deleting otherwise we have
12376         problems with the Paragraph::[destructor].
12377
12378         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12379         on a paragraph insertion.
12380
12381 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12382
12383         * buffer.C (asciiParagraph): use += operator for char append to
12384         string.
12385
12386         * paragraph.C (getFontSettings): compare >= not just >
12387         (highestFontInRange): ditto
12388         (setFont): ditto
12389
12390 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12391
12392         * paragraph.C: change several algorithm to be more appripriate for
12393         the problem domain. This is lookip in FontList and in the InsetList.
12394
12395 2002-03-13  André Pönitz <poenitz@gmx.net>
12396
12397         * commandtags.h:
12398         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12399
12400 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12401
12402         * commandtags.h:
12403         * LyXAction.C:
12404         * lyxfunc.C:
12405         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12406
12407 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12408
12409         * Painter.C (display): anon helper function, adjust code for this
12410         change.
12411         (pixmap): remove function.
12412
12413         * Painter.h: remove private display variable.
12414
12415         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12416
12417 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12418
12419         * WorkArea.[Ch]: remove figinset_canvas cruft.
12420
12421 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12422
12423         * lyxtextclass.C (operator): add one item cache optimization.
12424
12425         * bufferlist.h: doxy changes
12426
12427         * bufferlist.C: ws changes
12428
12429         * DepTable.[Ch] (ext_exist): place const in the right spot.
12430
12431         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12432         call resizeInsets.
12433         (workAreaExpose): call resizeInsets when the with BufferView changes.
12434         (Dispatch): adjust for protectedBlank removal
12435         (specialChar): call updateInset if the insert went ok.
12436
12437         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12438         specialChar instead.
12439
12440         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12441
12442         * BufferView.h: doxy change
12443
12444         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12445
12446         * lyxtextclass.C (operator[]): remove non-const version
12447         (defaultLayout): remove non-const version
12448
12449 2002-03-12  Juergen Vigna  <jug@sad.it>
12450
12451         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12452         did resize the LyXText too.
12453
12454         * buffer.C (readLyXformat2): set layout information on newly allocated
12455         paragraphs.
12456
12457         * tabular.C (OldFormatRead): set layout information on the paragraph.
12458
12459 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12460
12461         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12462
12463 2002-03-11  Juergen Vigna  <jug@sad.it>
12464
12465         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12466         plainly wrong.
12467         (resizeCurrentBuffer): force also the insets to resize themselfes.
12468         (moveCursorUpdate): fixed up for InsetText.
12469
12470 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12471
12472         * commandtags.h:
12473         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12474         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12475         value of Dialogs::tooltipsEnabled().
12476         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12477
12478 2002-03-08  Juergen Vigna  <jug@sad.it>
12479
12480         * BufferView_pimpl.C (updateInset): update inset inside inset also
12481         if it isn't inside theLockingInset().
12482
12483 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12484
12485         * buffer.C (asciiParagraph): redo some of the word and line length
12486         handling.
12487         (getLists): look for Caption instead of caption.
12488
12489 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12490
12491         * buffer.C (Buffer): initialize niceFile to true
12492         (makeLaTeXFile):
12493         (makeLinuxDocFile):
12494         (makeDocBookFile): make sure niceFile is true on exit
12495
12496 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12497
12498         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12499
12500 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12501
12502         * LyXSendto.C: remove.
12503         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12504         * lyx_gui.C: remove now-redundant comment.
12505         * ColorHandler.h: remove forward declaration of class WorkArea.
12506         * lyxfunc.C: remove #include "WorkArea.h".
12507
12508 2002-03-07  Juergen Vigna  <jug@sad.it>
12509
12510         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12511         got moved away with the DEPM and also set the inset_owner always
12512         right which before could have been omitted.
12513
12514 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12515
12516         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12517         wanted layout is not found.
12518
12519 2002-03-07  Juergen Vigna  <jug@sad.it>
12520
12521         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12522
12523 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12524
12525         * paragraph.C (breakParagraph): use default layout not layout of
12526         prev paragraph.
12527         (Paragraph): clear ParagraphParameters.
12528
12529 2002-03-06  Juergen Vigna  <jug@sad.it>
12530
12531         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12532         otherwise it would not be a valid lenght. Fixed a special case in
12533         the minipage compatibility read where we end the document with a
12534         minipage.
12535
12536         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12537         was set as it could be 0 for InsetTexts first entry.
12538
12539 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12540
12541         * paragraph.C (writeFile): if layout is empty write out
12542         defaultLayoutName().
12543
12544         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12545         file without named layout we set layout to defaultLayoutName().
12546
12547 2002-03-06  Juergen Vigna  <jug@sad.it>
12548
12549         * CutAndPaste.C (copySelection): set layout for new paragraph.
12550
12551         * text.C (prepareToPrint): leave ERT inset left aligned
12552         (leftMargin): don't indent paragraphs inside ERT insets
12553
12554 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12555
12556         * paragraph.C (breakParagraph): dont call clear do the work manually
12557
12558         * paragraph.[Ch] (clear): remove function
12559
12560 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12561
12562         * paragraph.C (Paragraph): dont call clear, the work has already
12563         been done.
12564
12565         * lyxtextclass.C (operator): assert if n is empty
12566
12567         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12568         work manually instead.
12569
12570 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12571
12572         * BufferView_pimpl.C: protect selectionLost against text == 0
12573
12574 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12575
12576         * text.C (breakParagraph): fix a setting layout to '0' problem.
12577
12578 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12579
12580         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12581         final location of file, for the included files, and graphics.
12582
12583 2002-03-05  Juergen Vigna  <jug@sad.it>
12584
12585         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12586
12587 2002-03-04  Juergen Vigna  <jug@sad.it>
12588
12589         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12590
12591         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12592         last column of multicolumn cells.
12593         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12594
12595 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12596
12597         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12598         file if it doesn't go to a temporary file.
12599
12600         * buffer.C (sgmlOpenTag):
12601         (sgmlCloseTag):  remove extra newline insertion.
12602
12603 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12604
12605         * text.C (getRowNearY): comment out debug msg
12606
12607 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12608
12609         * text2.C: first -> first_y
12610
12611         * text.C (getRowNearY): add some attemts at a possible
12612         optimization, not working.
12613
12614         * tabular.[Ch]: add BufferParams to several function so that newly
12615         created paragraph can be initialized to he default layotu for the
12616         buffers textclass.
12617
12618         * tabular-old.C (ReadOld): add buf->params to call of Init
12619
12620         * screen.C: rename text->first to text->first_y
12621
12622         * paragraph.C (breakParagraph): always set layout in the broken
12623         paragraph
12624
12625         * lyxtextclass.C (Read): remove lowercase
12626         (hasLayout): ditto
12627         (operator): ditto
12628         (delete_layout): ditto
12629
12630         * lyxtext.h: rename first -> first_y
12631
12632         * lyxlayout.C (Read): remove lowercase
12633         (name): ditto
12634         (setName): ditto
12635         (obsoleted_by): ditto
12636
12637         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12638
12639         * buffer.C (insertErtContents): add params are to InsetERT
12640         (parseSingleLyXformat2Token): add code to check if a paragraphs
12641         layout really exist.
12642         (parseSingleLyXformat2Token): add params to several inset
12643         constructors
12644         (asciiParagraph): remove lowercase, do the layout comparisons with
12645         no_case
12646
12647         * BufferView_pimpl.C (cursorNext): first -> first_y
12648         (resizeCurrentBuffer): first -> first_y
12649         (updateScrollbar): first -> first_y
12650         (scrollCB): first -> first_y
12651         (workAreaMotionNotify): first -> first_y
12652         (workAreaButtonPress): first -> first_y
12653         (checkInsetHit): first -> first_y
12654         (cursorPrevious): first -> first_y
12655         (cursorNext): first -> first_y
12656         (Dispatch): add buffer_->params to severl inset contructors
12657
12658 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12659
12660         * lyxlayout.C (Read): remove some debug info that I forgot.
12661
12662         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12663         clean up the code slightly.
12664         (makeLinuxDocFile): ditto
12665         (makeDocBookFile): ditto
12666
12667         * text2.C: layout as string
12668
12669         * text.C: layout as string
12670
12671         * paragraph_pimpl.C: layout as string
12672
12673         * paragraph.[Ch]: layout as string
12674
12675         * lyxtextclasslist.[Ch]: layout as string
12676
12677         * lyxtextclass.[Ch]: layout as string
12678
12679         * lyxtext.h: layout as string
12680
12681         * lyxlayout.[Ch]: layout as string
12682
12683         * lyx_cb.C: layout as string
12684
12685         * bufferview_funcs.C: layout as string
12686
12687         * bufferparams.C: layout as string
12688
12689         * buffer.C: layout as string
12690
12691         * LyXView.[Ch]: layout as string
12692
12693         * LaTeXFeatures.[Ch]: layout as string
12694
12695         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12696
12697         * BufferView_pimpl.C: change current_layout to string, remove
12698         lyx::layout_type.
12699         (Dispatch):
12700         (smartQuote):
12701         (insertInset):
12702         (workAreaButtonRelease): layout as string
12703
12704         * BufferView2.C (unlockInset): adjust
12705
12706         * vspace.C (asLatexCommand): use an explict temp variable.
12707
12708 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12709
12710         * Makefile.am: use FRONTEND_*
12711
12712 2002-03-01  Juergen Vigna  <jug@sad.it>
12713
12714         * tabular.C (SetWidthOfMulticolCell): changed to something better
12715         I hope but still work in progress.
12716         (recalculateMulticolumnsOfColumn): renamed function from
12717         recalculateMulticolCells as it is more appropriate now.
12718         (SetWidthOfCell): calculate multicols better.
12719
12720 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12721
12722         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12723
12724         * lyxfunc.C (processKeySym): print sequence also if it is
12725         `deleted' (complete)
12726
12727         * kbsequence.C (print): print sequence even if it is deleted
12728         (complete would be a better word, actually).
12729
12730         * lyxfunc.C (dispatch): print complete options after a prefix key
12731
12732         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12733
12734 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12735
12736         * text2.C (setCharFont): eliminate setCharFont code duplication.
12737
12738 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12739
12740         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12741         LFUN_TABULAR_FEATURE (bug #177)
12742
12743 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12744
12745         * Makefile.am: remove figure.h
12746
12747 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12748
12749         * Bufferview_pimpl.C:
12750         * CutAndPasteC:
12751         * LaTeX.C:
12752         * LyXSendto.C:
12753         * buffer.C:
12754         * bufferlist.C:
12755         * converter.C:
12756         * language.C:
12757         * lyxfunc.C:
12758         * lyxvc.C:
12759         * paragraph.C:
12760         * text.C:
12761         * text2.C: remove #include "lyx_gui_misc.h".
12762
12763         * LaTeX.C: added #include <cstdio>
12764
12765 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12766
12767         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12768         that the paragraph following this one can have.
12769
12770         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12771
12772         * vspace.C (asLatexCommand): fix bogus gcc warning
12773
12774         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12775
12776 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12777
12778         * text2.C (setLayout): get rid of redundant code
12779
12780 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12781
12782         * text2.C (incDepth): make sure depth cannot be increased beyond
12783         reasonable values.
12784
12785 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12786
12787         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12788         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12789
12790         * PainterBase.h (image):
12791         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12792         a LyXImage const *.
12793
12794 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12795
12796         * BufferView.C:
12797         * BufferView.h:
12798         * BufferView_pimpl.C:
12799         * BufferView_pimpl.h:
12800         * LaTeXFeatures.C:
12801         * LyXAction.C:
12802         * LyXView.C:
12803         * Makefile.am:
12804         * UpdateList.h:
12805         * UpdateList.C:
12806         * buffer.C:
12807         * figure.h:
12808         * figureForm.C:
12809         * figureForm.h:
12810         * figure_form.C:
12811         * figure_form.h:
12812         * lyx_cb.C:
12813         * lyx_gui.C:
12814         * lyx_gui_misc.C:
12815         * lyxfunc.C:
12816         * sp_base.h:
12817         * sp_ispell.h:
12818         * sp_pspell.h:
12819         * sp_spell.C: remove fig inset, and the crap house of
12820           cards that follows it
12821
12822 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12823
12824         * Makefile.am:
12825         * lyxserver.C:
12826         * os2_defines.h:
12827         * os2_errortable.h:
12828         * nt_defines.h: move .h into support/
12829
12830         * vms_defines.h: remove
12831
12832         * WorkArea.C: add space in debug output
12833
12834         * text2.C:
12835         * paragraph.C:
12836         * buffer.C: add WITH_WARNINGS
12837
12838         * vc-backend.h:
12839         * vc-backend.C:
12840         * bufferlist.C: s/retrive/retrieve/, add docs
12841
12842         * vspace.h:
12843         * vspace.C:
12844         * kbmap.h:
12845         * lyxlength.h:
12846         * lyxgluelength.h:
12847         * length_common.h:
12848         * chset.h:
12849         * chset.C: add docs
12850
12851         * lyxgui.C: add ID to X error handler
12852
12853         * lyxtestclass.c: fix typo
12854
12855 2002-02-26  Juergen Vigna  <jug@sad.it>
12856
12857         * tabular_funcs.C (write_attribute): changed so that some default
12858         attributes are not written at all.
12859         (getTokenValue): set default values before trying to read the
12860         value so we have the return value always set as default if we don't
12861         find the token we search for.
12862
12863         * tabular.C (Write): write bools as bools not as strings!
12864
12865 2002-02-22  Juergen Vigna  <jug@sad.it>
12866
12867         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12868         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12869
12870         * text.C (leftMargin): don't add an indent for paragraphs inside
12871         tabular cells (fix #208).
12872
12873 2002-02-21  José Matos  <jamatos@fep.up.pt>
12874
12875         * tabular.C (docBook): fixed support for long tables.
12876
12877 2002-02-20  Juergen Vigna  <jug@sad.it>
12878
12879         * text2.C (getFont): get the drawing font of the Inset if this
12880         paragraph is inside an inset (only important for InsetERT for now).
12881
12882         * buffer.C (insertErtContents): use new lanugage params in ERT
12883         constructor.
12884
12885         * CutAndPaste.C: commenting out seemingly uneeded code.
12886
12887 2002-02-19  Allan Rae  <rae@lyx.org>
12888
12889         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12890         Iterators might be simple to use but they also get invalidated.
12891         (removeAutoInsets): renamed saved cursor tracking variables and added
12892         some comments to clarify what everything does.
12893
12894 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12895
12896         * Chktex.C:
12897         * LaTeX.C:
12898         * LyXSendto.C:
12899         * converter.C:
12900         * lyx_cb.C:
12901         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12902         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12903
12904         * lyxfunc.C:
12905         * vc-backend.h: remove #include "support/syscall.h"
12906
12907         * LaTeX.C:
12908         * LyXSendto.C:
12909         * converter.C: rearrange #includes in Lars' approved fashion.
12910
12911         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12912         forward declare class Timeout in the header file.
12913
12914         * XFormsView.C: changes due to the above.
12915
12916         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12917         similar to LyXView.
12918
12919         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12920         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12921
12922 2002-02-18  José Matos  <jamatos@fep.up.pt>
12923
12924         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12925         insets contents.
12926
12927 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12928
12929         * a lot of small ws changes
12930         * add a lot of using std::XXX
12931         * use std construcs some places where approp.
12932         * use some exisint stuff from lyxfunctional where approp.
12933         * Make file changes to use partial linking (lets test this now...)
12934
12935 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12936
12937         * Chktex.C:
12938         * buffer.C:
12939         remove #include "support/syscontr.h" as it's redundant. Always has been.
12940
12941         * Chktex.C:
12942         * LaTeX.C:
12943         * LyXSendto.C:
12944         * converter.C:
12945         * lyx_cb.C:
12946         * vc-backend.C:
12947         change Systemcalls::System to Systemcalls::Wait and
12948         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12949         No change of functionality, just reflects the stripped down Systemcalls
12950         class.
12951
12952 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12953
12954         * debug.[Ch]: add a GRAPHICS type to the enum.
12955
12956 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12957
12958         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12959
12960         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12961         there is an inset.
12962
12963 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12964
12965         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12966         match the changes below.
12967
12968         * text2.C (toggleInset): if there is not editable inset at cursor
12969         position, try to see if cursor is _inside_ a collapsable inset
12970         and close it.
12971
12972 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12973
12974         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12975         document menu has a nice checkbox
12976
12977 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12978
12979         * lyxlength.C (asLatexString): change PW to output as percent of
12980         \textwidth.
12981
12982         * lengthcommon.C: change '%' to 't%'
12983
12984         * lyxfunc.C (dispatch): a few comments from Martin
12985
12986 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12987
12988         * WorkArea.h:
12989         * WorkArea.C:
12990         * BufferView_pimpl.h:
12991         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12992           the X selection.
12993
12994 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12995
12996         * vspace.C (inPixels): fix compiler warning
12997
12998 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12999
13000         * lyxfunc.C (getStatus): fix status message for disabled commands.
13001
13002 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13003
13004         * BufferView_pimpl.C: fix crash on close buffer
13005         during selection (#227)
13006
13007 2002-01-27  Herbert Voss  <voss@lyx.org>
13008
13009         * buffer.C: link old Figure to new graphic inset
13010
13011 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13012
13013         * FontLoader.C (getFontinfo): Change the latex font names in order
13014         to match the names of type1inst.
13015
13016 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13017
13018         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13019
13020         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13021         (extchanged): ditto
13022         (ext_exist): ditto
13023         (remove_files_with_extension): ditto
13024         (remove_file): ditto
13025         (write): ditto
13026
13027         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13028         document is smaller than the work area height. Do not initialize
13029         static variables to 0.
13030
13031 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13032
13033         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13034
13035         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13036         LFUN_LAYOUT_PARAGRAPHS.
13037
13038         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13039         tabular. It is possible to provide a possible cell, which will
13040         typically be the actcell from the corresponding insettabular
13041
13042         * lyxfunc.C (getStatus): small cleanup; disable
13043         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13044         true
13045
13046 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13047
13048         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13049
13050         * paragraph.C (startTeXParParams):
13051         (endTeXParParams): new methods. The LaTeX code to
13052         start/end paragraph formatting
13053         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13054         empty (fixes bug #200)
13055
13056         * vspace.C (inPixels): adapt to the change below
13057         (inPixels): [later] more cleanups (remove unused variables)
13058
13059         * lyxlength.C (inPixels): change to use a width and a height as
13060         parameter.
13061
13062 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13063
13064         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13065         Replaced with \paperwidth
13066
13067         * DepTable.C (insert): add std:: qualifier
13068
13069 2002-01-18  Allan Rae  <rae@lyx.org>
13070
13071         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13072         updated also?
13073
13074         * text.C (drawInset): Turned out I didn't know enough about how
13075         rebreaking worked.  This fixes most of the redraw problems.  I see
13076         an occasional cursor trail when a line is broken now and the cursor
13077         placement can seem out by a few pixels also after a rebreak.
13078
13079 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13080
13081         * buffer.C (parseSingleLyXformat2Token): update because minipage
13082         width is now a LyXLength
13083
13084         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13085
13086         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13087         math insets
13088
13089 2002-01-17  Juergen Vigna  <jug@sad.it>
13090
13091         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13092
13093         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13094         is set correctly and the inset is updated correctly.
13095
13096 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13097
13098         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13099         the beginning of the loop.
13100
13101 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13102
13103         * lyxrc.C: improve help for use_scalable_fonts
13104
13105 2002-01-17  Allan Rae  <rae@lyx.org>
13106
13107         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13108
13109 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13110
13111         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13112         make sure to set their inset_owner to the right value (bug #171)
13113
13114 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13115
13116         * DepTable.h
13117         * DepTable.C: Implement mtime checking to reduce time spent doing
13118         CRCs.
13119
13120 2002-01-16  Juergen Vigna  <jug@sad.it>
13121
13122         * tabular.C (GetAdditionalHeight): one of error fixed.
13123
13124         * lyxrc.C (output): small fix in writing use_pspell.
13125
13126 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13127
13128         * sp_base.h: #include LString.h
13129
13130 2002-01-16  Allan Rae  <rae@lyx.org>
13131
13132         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13133         Can someone check this please?
13134
13135         * text.C (drawInset): It was possible that p.row would be removed by
13136         breakAgainOneRow upsetting a few other settings.  There may be another
13137         small tweak possible by setting need_break_row = 0 when p.row has been
13138         removed but I don't know enough about the logic here.
13139
13140 2002-01-15  Allan Rae  <rae@lyx.org>
13141
13142         * text.C (insertChar): removed conditional truism.
13143
13144         * BufferView2.C (removeAutoInsets): More tweaks.
13145         cur_par_prev could be a stray pointer.  Check for trailing empty line
13146         in case last line was cur_par and only had an error inset on it.
13147
13148 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13149
13150         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13151         absolute
13152
13153         * vc-backend.C (most methods):
13154         * exporter.C (Export):
13155         * converter.C (convert):
13156         (runLaTeX):
13157         * LyXSendto.C (SendtoApplyCB):
13158         * lyxfunc.C (dispatch):
13159         (menuNew):
13160         (open):
13161         (doImport):
13162         * lyx_cb.C (AutoSave):
13163         (InsertAsciiFile):
13164         * BufferView_pimpl.C (MenuInsertLyXFile):
13165         * buffer.C (runChktex): use Buffer::filePath().
13166
13167         * buffer.h: rename filename to filename_; rename filepath to
13168         filepath_ and make it private
13169         (filePath): new method
13170
13171         * buffer.C (writeFile): use fileName()
13172         (getLatexName):
13173
13174         * lyx_main.C (init): fix starting  of LyX when the binary is a
13175         link from so,ewhere else.
13176
13177         * minibuffer.C: include <cctype> for isprint
13178
13179 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13180
13181         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13182         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13183         name clash with InsetCollapsable's width function.
13184
13185 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13186
13187         * lastfiles.C: include <iterator>
13188
13189 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13190
13191         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13192         std::count.
13193
13194         * buffer.C (makeLaTeXFile): ditto.
13195         Also make loop operation more transparent.
13196
13197 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13198
13199         * ToolbarDefaults.C: remove trailing comma closing namespace.
13200
13201         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13202
13203         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13204         as in WorkArea.
13205
13206         * trans.C (Load): comment out unused variable, allowed.
13207
13208 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13209
13210         * minibuffer.[Ch] (append_char): new method to recieve input from the
13211         drop-down completion browser. If a key was pressed, then recieve this
13212         char and append it to the existing string.
13213         (peek_event): modify the positioning data passed to the completion
13214         browser so that it can be placed above the minibuffer rather than below.
13215 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13216
13217         * LyXAction.C (init): alloe error-next for readonly documents.
13218
13219         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13220         count.
13221
13222 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13223
13224         * bufferlist.C (readFile): create the buffer _after_ checking that
13225         the file exists.
13226
13227         * lyxfunc.C (verboseDispatch): fix handling of arguments
13228
13229         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13230
13231         * lyxrc.C: use string::erase() instead of initializing to "".
13232
13233
13234 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13235
13236         * BufferView_pimpl.h:
13237         * BufferView_pimpl.C:
13238         * WorkArea.h:
13239         * WorkArea.C:
13240         * text2.C: tell X when we have made a selection for copying
13241
13242 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13243
13244         * BufferView_pimpl.C (MenuInsertLyXFile):
13245         * lyxfunc.C (menuNew):
13246         (open):
13247         (doImport): add shortcuts to directory buttons
13248
13249         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13250         open a float)
13251
13252         * lyxfunc.C (setStatusMessage):
13253         (getStatusMessage): new methods
13254         (getStatus):use setStatusMessage instead of setErrorMessage
13255         (dispatch): when function is disabled, set error message here
13256         [instead of in getStatus previously]
13257
13258         * BufferView_pimpl.C (workAreaButtonRelease): update
13259         toolbar/menubar here too.
13260
13261 2002-01-13  Allan Rae  <rae@lyx.org>
13262
13263         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13264         Now seems indestructible.  Remaining task is to audit all other
13265         code affected by deleteEmptyParagraphMechanism.  One small quirk
13266         left is that an empty document with an error in the preamble can
13267         be made to report an error but no error box appears.  I don't know
13268         where it goes.
13269         (removeAutoInsets): Improved comments.
13270
13271 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13272
13273         * Thesaurus.h:
13274         * Thesaurus.C: update for Aiksaurus 0.14
13275
13276 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13277
13278         * text2.C (firstParagraph): removed member function, all uses
13279         replaces with ownerParagraph
13280         (redoParagraphs): here
13281         (updateInset): here
13282         (toggleAppendix): here
13283         * BufferView2.C (insertErrors): here
13284         (setCursorFromRow): here
13285
13286 2002-01-13  Allan Rae  <rae@lyx.org>
13287
13288         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13289         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13290         There is still a way to segfault this although you may have to do this
13291         multiple times: Have an InsetERT with an unknown command in it.
13292         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13293         <down-arrow>, <Enter> again, View->DVI, BANG!
13294
13295         * text2.C (setCursor):
13296         (deleteEmptyParagraphMechanism):
13297         * lyxtext.h (setCursor):
13298         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13299         Making use of the return value may help fix other bugs.
13300
13301 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13302
13303         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13304
13305         * LyXView.C (updateMenubar): call MenuBar::update here
13306         (updateToolbar): but not here
13307         (showState): do not update toolbar/menubar
13308
13309         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13310         should need to care about that.
13311
13312         * lyxfunc.C (verboseDispatch): simplify a bit
13313         (getStatus): have a version which takes a pseudoaction, and
13314         another which requires a (kb_action,string).
13315
13316         * LyXAction.C (retrieveActionArg): make it work also when action
13317         is not a pseudo-action.
13318         (getActionName): simplify a bit
13319         (helpText):
13320
13321 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13322
13323         * lyxfunc.C (verboseDispatch): new families of methods with
13324         several ways to specify a command and a bool to indicate whether
13325         the command name and shortcut should be displayed in minibuffer
13326         (eventually, we could extend that to a finer bitmask like
13327         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13328         (dispatch): the pristine dispatch command which just, well,
13329         dispatchs! Note it still sets its result to minibuffer; I'm not
13330         sure we want that.
13331
13332         * lyxfunc.h: remove setHintMessage
13333
13334         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13335
13336 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13337
13338         * BufferView_pimpl.C (specialChar): delete new inset if we have
13339         not been able to insert it.
13340
13341         * kbmap.C: revert to using int instead of kb_action, since all we
13342         are dealing with is pseudo-actions.
13343
13344         * LyXAction.C (searchActionArg): change to return int instead of
13345         kb_action, since the result is a pseudoaction.
13346
13347 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13348
13349         * buffer.C (insertErtContents): Fix (partially) the font bug.
13350
13351 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13352
13353         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13354         as the other one is broken on my machine!
13355
13356 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13357
13358         * commandtags.h:
13359         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13360
13361 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13362
13363         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13364         reflect their actual use. Provide compatibility code for older lyxrc
13365         files.
13366
13367         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13368         FL_NORMAL_STYLE.
13369         change names of popup font variables in line with the changes to lyxrc.C
13370
13371 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13372
13373         * buffer.C (asciiParagraph): avoid outputing a word twice after
13374         an inset.
13375
13376         * lyxrc.C (getDescription): document that document_path and
13377         template_path can be empty.
13378
13379 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13380
13381         * LaTeXFeatures.C (getMacros):
13382         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13383
13384         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13385
13386         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13387         getPackages.
13388         (getPackages): rename feature "floats" to "float". Use an array to
13389         iterate over 'simple' features (i.e. just a \usepackage). Add
13390         handling of "amsmath" (renamed from "amsstyle").
13391
13392 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13393
13394         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13395         features list.
13396
13397 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13398
13399         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13400         FuncStaus::FuncStatus & FuncStaus::some_method().
13401
13402 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13403
13404         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13405         of the func_satus stuff. Edited and massaged in various ways by
13406         JMarc.
13407
13408         * lyxfunc.C (getStatus): use FuncStatus
13409
13410 2002-01-08  Juergen Vigna  <jug@sad.it>
13411
13412         * text.C (nextBreakPoint): use function Inset::isChar().
13413
13414         * paragraph.C (TeXOnePar): use function
13415         Inset::forceDefaultParagraphs.
13416
13417         * buffer.C (latexParagraphs): use function
13418         Inset::forceDefaultParagraphs.
13419
13420 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13421
13422         * lyx_gui.C (init): set the style of the menu popups to
13423         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13424
13425 2002-01-07  Juergen Vigna  <jug@sad.it>
13426
13427         * text.C (setHeightOfRow): small fix
13428         (prepareToPrint): don't look at alignment if we don't have the place
13429         for doing it.
13430
13431 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13432
13433         * box.C: New file. Move the Box methods and functions out of box.h,
13434         following Lars' suggestion.
13435
13436 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13437
13438         * box.h: #include "support/LOstream.h", needed for inlined function.
13439
13440         * lyxtextclass.C:
13441         * lyxtextclasslist.C: added some using std declarations.
13442
13443 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13444
13445         * box.h: make signed dimensions to allow insets wider than
13446           the screen (bug #162)
13447
13448         * BufferView_pimpl.C: add some insetHit debug
13449
13450 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13451
13452         * vc-backend.C: add FIXME
13453
13454 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13455
13456         * lyxfunc.C (getStatus): enable code for showing math font status
13457         in toolbar/menu.
13458
13459 2002-01-07  Juergen Vigna  <jug@sad.it>
13460
13461         * text.C (nextBreakPoint): removed debug output not needed anymore.
13462
13463 2002-01-06  Juergen Vigna  <jug@sad.it>
13464
13465         * text.C (nextBreakPoint): fixed up this function we had this bug
13466         since ever but now hopefully we break row better.
13467         (insertChar): we have to check if an inset is the next char as it
13468         could now happen that a large inset is causing a break.
13469
13470 2002-01-05  Juergen Vigna  <jug@sad.it>
13471
13472         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13473         if it doesn't like to be drawed.
13474
13475 2002-01-04  Juergen Vigna  <jug@sad.it>
13476
13477         * BufferView2.C (lockInset): forgot to set a cursor.
13478
13479         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13480
13481 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13482
13483         * FormMathsPanel.C:
13484         * FormMathsPanel.h
13485         * MathsSymbols.C:
13486         * form_maths_panel.C:
13487         * form_maths_panel.h:
13488         * form_maths_panel.fd: implemented sub- and super- buttons in math
13489         panel.
13490
13491         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13492         (or ^ space) to be used as in TeX (req'd by André).
13493
13494         * lyxfunc.C: Allow ^ and _ again to be used both as
13495         super/subscript (mathed) and as themselves (in text).
13496
13497 2002-01-03  Allan Rae  <rae@lyx.org>
13498
13499         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13500         "LyX" or the filename of the current buffer if it has one.  This is a
13501         modified form of John Levon's patch.
13502
13503         * XFormsView.C (setWindowTitle): also set icon title.
13504
13505         * LyXView.h (setWindowTitle): signature changed.
13506         * XFormsView.h (setWindowTitle): ditto.
13507
13508 2002-01-02  Juergen Vigna  <jug@sad.it>
13509
13510         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13511
13512 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13513
13514         * screen.C (topCursorVisible): introduce a temp var for
13515         text->cursor.row(), handle the case where this row is null. (kindo
13516         hachish)
13517
13518         * text2.C (setCursor): add a couple of asserts.
13519
13520         * paragraph.h (inset_iterator): add -> operator
13521
13522         * paragraph.[Ch] (autoDeleteInsets): remove member function
13523
13524         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13525         cursor pos correctly and handle inset deletion by itself.
13526         (insertErrors): move iterator declaration out of for expression
13527
13528         * lyxtextclass.C: add <algorithm>
13529
13530         * Makefile.am: added the new files to sources, removed layout.C
13531
13532         * layout.C: removed file
13533
13534         * layout.h: remove LYX_DUMMY_LAYOUT
13535
13536         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13537         layout.
13538
13539         * lyxlayout.[Ch]:
13540         * lyxtextclass.[Ch]:
13541         * lyxtextclasslist.[Ch]: new files
13542
13543         * include order changes to a lot of files, also changes because of
13544         the six new files.
13545
13546 2001-12-27  Juergen Vigna  <jug@sad.it>
13547
13548         * buffer.C (asciiParagraph): more fixes.
13549
13550         * tabular.C (ascii): make ascii export support export of only the
13551         data separated by a column-delimiter.
13552         (ascii): better support for ascii export.
13553
13554         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13555
13556 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13557
13558         * tabular_funcs.C: use a "using std::getline" instead of the
13559         previous fix from Angus (necessary for cxx + lyxstring)
13560
13561 2001-12-24  Juergen Vigna  <jug@sad.it>
13562
13563         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13564
13565         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13566         problems. First check a minipage also if we have some ert-contents
13567         (not only on par->size(), second set the right depth of the paragraph
13568         on the relink to the root-paragraph-list!
13569
13570         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13571         which then did not anymore update the main paragraphs on undo/redo!
13572
13573 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13574
13575         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13576         code. Support all font-changing funcs (even those which are not in
13577         menu currently). Support for reporting font settings in
13578         mathed (disabled until Andre provides a function on mathed's side).
13579
13580         * func_status.h (toggle): small helper function to set toggle
13581         state on a flag.
13582
13583 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13584
13585         * tabular_funcs.C: getline -> std::getline
13586
13587 2001-12-21  Juergen Vigna  <jug@sad.it>
13588
13589         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13590         accessed and could be 0 (I couldn't generate this but it seems
13591         Michael could!).
13592
13593 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13594
13595         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13596         * tabular_funcs.h: here and include iosfwd
13597
13598 2001-12-20  Juergen Vigna  <jug@sad.it>
13599
13600         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13601         inside inset but undo_par was.
13602
13603 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13604
13605         * Thesaurus.C: always include <config.h> in sources.
13606
13607         * Painter.h:
13608         * lyxlookup.h:
13609         * box.h: do not include <config.h> in header files
13610
13611         * text.C (paintLastRow): remove unused variable
13612
13613         * text.C (transformChar):
13614         (insertChar):
13615         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13616
13617         * Painter.C (text):
13618         * font.C (width): rewrite to use uppercase() instead of
13619         islower/toupper.
13620
13621         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13622
13623 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13624
13625         * lyxfind.C: clean up of find failure position change
13626
13627 2001-12-20  Juergen Vigna  <jug@sad.it>
13628
13629         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13630
13631         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13632         (TeXRow): added to LaTeX a single tabular row.
13633         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13634         (Latex): simplified and finally good LT-h/f support.
13635         (various_functions): just small adaptions for LT-h/f support.
13636
13637         * tabular_funcs.[hC]: added and moved here all not classfunctions
13638         of LyXTabular.
13639
13640 2001-12-19  Juergen Vigna  <jug@sad.it>
13641
13642         * tabular.[Ch]: better support for longtabular options (not finished
13643         yet!)
13644
13645 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13646
13647         * text.C (paintLastRow): use the label font instead of the font of
13648         the last character to compute the size of *_BOX. This makes more
13649         sense and avoids a crash with empty paragraphs.
13650         Use Painter::rectangle to draw EMPTY_BOX.
13651
13652 2001-12-19  Juergen Vigna  <jug@sad.it>
13653
13654         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13655         the paragraphs if the replaced paragraph is not the first one!
13656         Tried to delete not used paragraphs but does not work yet so for
13657         now it's inside #ifdef's and by default off!
13658
13659 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13660
13661         * MenuBackend.C: include "lyx_main.h" instead of declaring
13662         lastfiles (actually was declared as LastFiles* instead of a
13663         scoped_ptr).
13664
13665 2001-12-17  Juergen Vigna  <jug@sad.it>
13666
13667         * tabular.C (AppendColumn): applied John's fix
13668
13669 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13670
13671         * BufferView.h:
13672         * BufferView.C:
13673         * BufferView_pimpl.h:
13674         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13675
13676         * Makefile.am:
13677         * box.h: new start of class for above
13678
13679         * lyxfunc.C: ignore space-only minibuffer dispatches.
13680           Show the command name when it doesn't exist
13681
13682         * minibuffer.C: don't add empty lines to the history
13683
13684         * minibuffer.C: add a space on dropdown completion
13685
13686 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13687
13688         * text.C: fix line above/below drawing in insets
13689
13690 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13691
13692         * lyxlength.C (LyXLength): Initialize private variables.
13693
13694 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13695
13696         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13697         when inserting error insets.
13698
13699 2001-12-13  Juergen Vigna  <jug@sad.it>
13700
13701         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13702         actually sometimes the before-paragraph.
13703         (setUndo): don't clear the redostack if we're not actually undoing!
13704
13705 2001-12-06  Juergen Vigna  <jug@sad.it>
13706
13707         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13708         and fixed redoing of main paragraph, so we can use it now ;)
13709
13710         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13711
13712 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13713
13714         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13715         Juergen's request
13716
13717 2001-12-13  André Pönitz <poenitz@gmx.net>
13718
13719         * undostack.[Ch]:
13720         * undo_func.C: minor cleanup
13721
13722 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13723
13724         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13725         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13726         font in urw-fonts package which is marked as -urw-fontspecific and
13727         does not work (incidentally, changing the encoding in the
13728         fonts.dir of this package to -adobe-fontspecific fixes the
13729         problem).
13730
13731         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13732         is a crash when undoing first paragraph (Juergen, please take a
13733         look). THis does not mean the undo fix is wrong, just that it
13734         uncovers problems.
13735
13736         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13737         the (Paragraph*) version when needed instead of duplicating the
13738         code.
13739
13740         * text.C (workWidth): use Inset::parOwner to find out where the
13741         inset has been inserted. This is a huge performance gain for large
13742         documents with lots of insets. If Inset::parOwner is not set, fall
13743         back on the brute force method
13744
13745         * paragraph_pimpl.C (insertInset):
13746         * paragraph.C (Paragraph):
13747         (cutIntoMinibuffer): set parOwner of insets when
13748         inserting/removing them
13749
13750         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13751
13752 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13753
13754         * commandtags.h:
13755         * LyXAction.C:
13756         * lyx_main.C:
13757         * lyxfunc.C:
13758         * mathed/formulabase.C:
13759         * mathed/math_cursor.[Ch]:
13760         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13761
13762
13763 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13764
13765         * lyxlength.[Ch] (operator!=): new function
13766
13767 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13768
13769         * text.C (workWidth): use Inset::parOwner to find out where the
13770         inset has been inserted. This is a huge performance gain for large
13771         documents with lots of insets. If Inset::parOwner is not set, fall
13772         back on the brute force method
13773
13774         * paragraph_pimpl.C (insertInset):
13775         * paragraph.C (Paragraph):
13776         (cutIntoMinibuffer): set parOwner of insets when
13777         inserting/removing them
13778
13779         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13780
13781 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13782
13783         * tabular-old.C (getTokenValue):
13784         * tabular.C (getTokenValue):
13785         (write_attribute): new versions for LyXLength
13786         (everywhere): adjust the use of widths
13787
13788         * tabular.h: change the type of widths from string to LyXLength
13789
13790 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13791
13792         * paragraph.C: fixed missing line number count when exporting
13793         Environments to LaTeX file
13794
13795         * buffer.C: added informational message for checking line numbers.
13796
13797 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13798
13799         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13800         paragraph, do the 'double space' part, but not the 'empty
13801         paragraph' one.
13802
13803         * text.C (workWidth): small optimization
13804         (getLengthMarkerHeight): use minimal size for negative lengths.
13805
13806 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13807
13808         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13809
13810         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13811
13812 2001-12-11  André Pönitz <poenitz@gmx.net>
13813
13814         * FontLoader.C:
13815         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13816
13817 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13818
13819         * text2.C: keep selection on a setFont()
13820
13821 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13822
13823         * lyx_cb.C: another bv->text misuse, from insert label
13824
13825 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13826
13827         * kbsequence.h:
13828         * kbsequence.C: re-instate nmodifier mask
13829
13830 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13831
13832         * lyx_main.h: make lyxGUI private.
13833
13834 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13835
13836         * lyxfind.C: place the cursor correctly on failed search
13837
13838 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13839
13840         * text.C (getLengthMarkerHeight): for small heights, the arrows
13841         are not always on top/bottom of the text
13842         (drawLengthMarker): smaller arrows; take the left margin in
13843         account; draw also vfills.
13844         (paintFirstRow):
13845         (paintLastRow): remove special code for vfill and standard spaces,
13846         since everything is handled in drawLengthMarker now.
13847
13848 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13849
13850         * buffer.C (insertErtContents): try to handle font and language
13851         interaction a bit better.g
13852
13853         * ColorHandler.C (updateColor): change the hash to cover the whole
13854         LColor enum, ws cleanup
13855         (getGCLinepars): ditto
13856         (getGCLinepars): only lookup in the linecache once.
13857
13858 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13859
13860         * iterators.C (operator++): Make the iterator more robust
13861
13862         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13863         (John's patch)
13864         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13865
13866 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13867
13868         * lyxtext.h:
13869         * text.C: better added space drawing
13870
13871 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13872
13873         * LyXView.C:
13874         * BufferView2.C: fix layout combo update on inset unlock
13875
13876 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13877
13878         * Makefile.am: don't compile unused files
13879
13880 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13881
13882         * lyxfunc.C:
13883         * commandtags.h:
13884         * LyXAction.C: remove old LFUN_LAYOUTNO
13885
13886 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13887
13888         * paragraph_pimpl.h:
13889         * paragraph_pimpl.C: isTextAt() doesn't need font param
13890
13891 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13892
13893         * lyxlex.h:
13894         * lyxlex.C: little cleanup
13895
13896 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13897
13898         * BufferView_pimpl.C: fix insertAscii for insets
13899
13900 2001-12-05  Juergen Vigna  <jug@sad.it>
13901
13902         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13903         set the right font on the "multi" paragraph paste!
13904
13905 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13906
13907         * trans_decl.h:
13908         * trans_mgr.[Ch]:
13909         * trans.[Ch]:
13910         * lyxgluelength.C:
13911         * lyxlength.C: remove out-commented code.
13912
13913         * BufferView_pimpl:
13914         * CutAndPaste.C:
13915         * DepTable.C:
13916         * buffer.C:
13917         * chset.C:
13918         * lastfiles.C:
13919         * lyxlex.C:
13920         * lyxlex_pimpl.C:
13921         * lyxserver.C:
13922         * screen.C:
13923         * tabular-old.C:
13924         * tabular.C:
13925         * text.C:
13926         * trans_mgr.C:
13927         * vc-backend.C: change "while(" to "while ("
13928
13929         * lyxlength.[Ch]: add zero function to check if length is zero or
13930         not
13931         * lyxgluelength.C: use it
13932
13933 2001-12-05  Allan Rae  <rae@lyx.org>
13934
13935         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13936         Works for 2.95.3, from what I understand of Garst's reports this should
13937         work for other g++ versions.  We're screwed if the abs(int) definition
13938         changed between bugfix releases of gcc.
13939
13940 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13941
13942         * text.C: fix chapter label offset !
13943
13944 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13945
13946         * lyxtext.h:
13947         * text.C: fix hfill at end of line, clean up
13948
13949 2001-12-04  Juergen Vigna  <jug@sad.it>
13950
13951         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13952         that we force an update of the inset and it's owners if neccessary.
13953
13954 2001-12-03  Juergen Vigna  <jug@sad.it>
13955
13956         * text.C (rowLast): simplified code
13957
13958 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13959
13960         * lyxfunc.C: fix show options on timeout
13961
13962 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13963
13964         * screen.C (topCursorVisible): scroll half a page when the cursor
13965         reached top of bottom of screen
13966
13967 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13968
13969         * minibuffer.C: deactivate on loss of focus
13970
13971 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13972
13973         * vspace.[Ch] (operator!=): add operator.
13974
13975 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13976
13977         * BufferView_pimpl.C: refuse to open an inset when
13978         there's a selection.
13979
13980 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13981
13982         * BufferView_pimpl.C: allow to click on RHS of full row insets
13983
13984 2001-11-30  Juergen Vigna  <jug@sad.it>
13985
13986         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13987         insets for undo reasons.
13988
13989 2001-11-28  André Pönitz <poenitz@gmx.net>
13990
13991         * vspace.[Ch]: cosmetical changes
13992
13993 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13994
13995         * LyXAction.h:
13996         * LyXAction.C:
13997         * lyxfunc.h:
13998         * lyxfunc.C:
13999         * kbmap.h:
14000         * kbmap.C:
14001         * lyxrc.C:
14002         * kbsequence.h:
14003         * kbsequence.C: part re-write of old kb code
14004
14005         * Painter.C:
14006         * WorkArea.C: remove Lgb_bug_find_hack
14007
14008 2001-11-30  José Matos <jamatos@fep.up.pt>
14009
14010         * buffer.C (makeDocBookFile): add a comment to point a hack.
14011         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14012         Fixed a double write of labels.
14013
14014 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14015
14016         * LaTeX.C:
14017         * LaTeX.h Fixed bug in LaTeX class where it would not
14018         re-run latex if no depfiles were changed, but the .dvi was removed.
14019
14020 2001-11-28  André Pönitz <poenitz@gmx.net>
14021
14022         * all the files from the change on 2001/11/26:
14023         use lyx::layout_type instead of LyXTextClass::size_type
14024         use lyx::textclass_type instead of LyXTextClassList::size_type
14025
14026 2001-11-29  Juergen Vigna  <jug@sad.it>
14027
14028         * text.C: added support for paragraph::isFreeSpacing()
14029
14030         * buffer.C: same as above
14031
14032         * paragraph.h: inserted isFreeSpacing() function to enable
14033         FreeSpacing inside InsetERT.
14034
14035         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14036         of the paragraph's in the cut/copy buffer to 0!
14037
14038         * text2.C (removeRow): remove the assert as it can!
14039
14040         * lyxtext.h: added helper function firstRow returning firstrow and
14041         made firstrow private again.
14042
14043         * BufferView2.C (lockInset): don't relock if we're already locked!
14044
14045         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14046         the only paragraph.
14047         (removeRow): added Assert::(firstrow)
14048
14049         * debug.C: forgot to add INSETTEXT here.
14050
14051 2001-11-28  Juergen Vigna  <jug@sad.it>
14052
14053         * sp_spell.C (initialize): changed error text to more general
14054         spellchecker command use (not only ispell!)
14055
14056         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14057
14058         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14059
14060 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14061
14062         * vspace.C: initialise lyxgluelength on failure
14063
14064 2001-11-28  Allan Rae  <rae@lyx.org>
14065
14066         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14067         declaration & definition that looks like a function declaration.
14068
14069 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14070
14071         * BufferView2.C (copy):
14072         (copyEnvironment): do not clear the selection when doing a copy.
14073
14074         * text.C (paintFirstRow): compilation fix
14075
14076 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14077
14078         * tabular.C (Latex): correct line count when writing latex.
14079
14080 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14081
14082         * paragraph_pimpl.h:
14083         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14084           bug a bit
14085
14086 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14087
14088         * text.C:
14089         * LColor.h:
14090         * LColor.C: change vfillline->added_space
14091
14092         * text.C: add markers and text for added space
14093
14094         * vspace.C: fix comment
14095
14096 2001-11-28  André Pönitz <poenitz@gmx.net>
14097
14098         * paragraph.C: whitespace changes
14099         * all the other files from the change on 2001/11/26:
14100         change *::pos_type into lyx::pos_type
14101
14102 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14103
14104         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14105         language of the document when inserting error insets.
14106
14107 2001-11-26  André Pönitz <poenitz@gmx.net>
14108
14109         * BufferView_pimpl.[Ch]:
14110         *       CutAndPaste.C:
14111         * buffer.[Ch]:
14112         * lyxcursor.[Ch]:
14113         * lyxfind.C:
14114         * lyxfunc.C:
14115         * lyxrow.[Ch]:
14116         * paragraph.[Ch]:
14117         * paragraph_pimpl.[Ch]:
14118         * sp_spell.C:
14119         * text.C:
14120         * text2.C: reduce header dependencies, introduce type for positions
14121
14122 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14123
14124         * <various>: change to use Alert.h
14125
14126 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14127
14128         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14129         when encountering an unknown token.
14130         (readLyXformat2): Show an error message if there were unknown tokens.
14131
14132 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14133
14134         * BufferView2.C:
14135         * BufferView_pimpl.C:
14136         * buffer.C:
14137         * paragraph.h:
14138         * text.C:
14139         * text2.C: use par->isInset()
14140
14141 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14142
14143         * paragraph_pimpl.h:
14144         * paragraph_pimpl.C: cleanup
14145
14146 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14147
14148         * text2.C (removeRow):
14149         * text.C (setHeightOfRow): remove useless (and costly) call to
14150         getRow.
14151
14152 2001-11-20  Allan Rae  <rae@lyx.org>
14153
14154         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14155         Now need Inset*::checkInsertChar() to return true for appropriate
14156         cases so that the characters in the minibuffer will actually be
14157         inserted.
14158
14159 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14160
14161         * text.C: change the order of the includes.
14162         (workWidth): initialize it at once.
14163         (workWidth): make maxw unsigned
14164         (setHeightOfRow): remove unused variable (inset)
14165         (selectSelectedWord): remove unused variable (inset)
14166         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14167
14168 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14169
14170         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14171         server is not running.
14172         (openConnection):
14173         (closeConnection): add debug info when server is disabled.
14174
14175         * ColorHandler.C (getGCForeground): send debug message to GUI
14176         channel.
14177
14178         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14179
14180         * kbmap.C (bind): modify because return conventions of
14181         kb_sequence::parse have changed.
14182
14183         * kbsequence.C (parse): only ignore spaces and not any stupid
14184         control character. This avoids tests like s[i] <= ' ', which are
14185         guaranteed to fail with 8bit characters and signed chars.
14186         Change return code to string::npos when there have been no error
14187         (0 was a bad idea when error is at first character)
14188
14189 2001-11-14  José Matos  <jamatos@fep.up.pt>
14190
14191         * buffer.h:
14192         * buffer.C (simpleDocBookOnePar): removed unused argument.
14193
14194 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14195
14196         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14197         insets which are part of a word. Paragraph::isLetter takes care of
14198         that now. Use Paragraph::isInset to identify insets.
14199         (selectSelectedWord): do not test for hyphenation break.
14200
14201         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14202         that protected spaces are considered as spaces.
14203
14204         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14205         Inset::isLetter.
14206
14207 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14208
14209         * lyxserver.h:
14210         * lyxserver.C: fix it. and small cleanup.
14211
14212 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14213
14214         * BufferView_pimpl.C: use inline helpers
14215
14216         * LaTeXFeatures.h:
14217         * LaTeXFeatures.C: fix typos
14218
14219         * Spacing.h:
14220         * Spacing.C: move spacing_string into class
14221
14222         * ToolbarDefaults.C: move stuff into namespace anon
14223
14224         * layout.h: update enum
14225
14226         * lyxfunc.C: use better debug
14227
14228         * minibuffer.h: fix typo
14229
14230         * debug.h:
14231         * debug.C:
14232         * WorkArea.C: add and use Debug::WORKAREA
14233
14234         * lyxtext.h:
14235         * text.C:
14236         * text2.C: code re-organisation, inline helpers
14237
14238 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14239
14240         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14241         std::vector.empty().
14242
14243 2001-11-09  Allan Rae  <rae@lyx.org>
14244
14245         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14246         '\n's after tables.  Tabular and ERT inset work now makes this no
14247         longer necessary.
14248
14249 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14250
14251         * minibuffer.h:
14252         * minibuffer.C: fix crash, improve drop-down completion
14253
14254 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14255
14256         * lyxserver.h:
14257         * lyxserver.C: invalidate fd's when doing endPipe()
14258
14259 2001-11-08  José Matos  <jamatos@fep.up.pt>
14260
14261         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14262         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14263
14264         * paragraph.h:
14265         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14266
14267 2001-11-07  José Matos  <jamatos@fep.up.pt>
14268
14269         * buffer.h:
14270         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14271         const qualifier.
14272
14273         * buffer.C (sgmlOpenTag):
14274         * buffer.C (sgmlCloseTag): removed debug info.
14275
14276         * buffer.h (sgmlOpenTag):
14277         * buffer.h (sgmlCloseTag): made public.
14278
14279 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14280
14281         * buffer.C (saveParamsAsDefaults):
14282         * lyx_cb.C (MenuLayoutSave): remove
14283
14284         * LyXAction.C (init):
14285         * commandtags.h:
14286         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14287
14288 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14289
14290         * buffer.C (setPaperStuff): removed from here...
14291
14292         * bufferparams.C (setPaperStuff): ... and moved there.
14293
14294 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14295
14296         * minibuffer.h:
14297         * minibuffer.C:
14298         * XFormsView.C: add support for drop-down completion
14299
14300 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14301
14302         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14303         commands.
14304
14305 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14306
14307         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14308         disabled.
14309
14310 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14311
14312         * lyx_main.C: change ref to known bugs
14313
14314 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14315
14316         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14317         to work around older babel problems.
14318
14319 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14320
14321         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14322
14323 2001-10-24  Juergen Vigna  <jug@sad.it>
14324
14325         * tabular-old.C (ReadOld): below variable changes reflected.
14326
14327         * tabular.[Ch]: added ltType struct for longtable header/footer
14328         defines and changed all instances where they are used. Added
14329         future support for double top/bottom rows.
14330
14331 2001-10-24  José Matos  <jamatos@fep.up.pt>
14332
14333         * buffer.h (docbookHandleCaption):
14334         * buffer.C (docbookHandleCaption): removed unused function.
14335         (makeDocBookFile): moved docbook supported version to v4.1.
14336
14337 2001-10-24  José Matos  <jamatos@fep.up.pt>
14338
14339         * tabular.h:
14340         * tabular.C (docbookRow): new function to export docbook code of a row.
14341         (DocBook): now honors the longtable flags.
14342
14343 2001-10-23  José Matos  <jamatos@fep.up.pt>
14344
14345         * LaTeXFeatures.h:
14346         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14347         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14348
14349         * buffer.C (makeLinuxDocFile):
14350         (makeDocBookFile): reworked the preamble, more clean, and with
14351         support for lyx defined entities. Changed the document declaration
14352         to be more XML friendly.
14353
14354         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14355         if we need to output XML that should be done with a filter.
14356
14357 2001-10-22  Juergen Vigna  <jug@sad.it>
14358
14359         * sp_pspell.h (class PSpell): add alive function needed in the
14360         controller to see if the spellchecker could be started.
14361
14362 2001-10-22  Juergen Vigna  <jug@sad.it>
14363
14364         * buffer.C (insertStringAsLines): modify the font for inserting
14365         chars in certain conditions by calling checkInsertChar(font).
14366
14367 2001-10-19  Juergen Vigna  <jug@sad.it>
14368
14369         * text.C (workWidth): use getRow instead of wrong algorithm.
14370         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14371
14372 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14373
14374         * lyxserver.h:
14375         * lyxserver.C:
14376         * lyx_main.h:
14377         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14378
14379 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14380
14381         * text.C (workWidth): do not search for the exact row when
14382         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14383         optimization for big documents.
14384
14385 2001-10-18  Juergen Vigna  <jug@sad.it>
14386
14387         * text.C (workWidth): new function with added Inset * parameter.
14388
14389 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14390
14391         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14392
14393         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14394         change return type of getColumnNearX.
14395
14396
14397         * text.C (changeRegionCase): use uppercase/lowercase instead of
14398         toupper/tolower.
14399         (leftMargin):
14400         (rightMargin): simplify code by factoring out the uses of
14401         textclasslist.
14402         (labelFill):
14403         (numberOfHfills):
14404         (setHeightOfRow):
14405         (appendParagraph): use Paragraph::size_type
14406
14407 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14408
14409         * vspace.C (asLatexString): add a missing break
14410
14411 2001-10-15  Herbert Voss  <voss@perce.de>
14412
14413         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14414
14415 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14416
14417         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14418         is not available.
14419
14420 2001-10-10  André Pönitz <poenitz@gmx.net>
14421
14422         * lyxfunc.C: removed greek_kb_flag.
14423
14424 2001-10-10  Herbert Voss  <voss@perce.de>
14425
14426         * lyx_main.C: delete global string help_lyxdir.
14427
14428 2001-10-09  Herbert Voss  <voss@perce.de>
14429
14430         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14431
14432         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14433
14434         * lyx_main.C: added global string help_lyxdir.
14435
14436         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14437
14438 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14439
14440         * lyxrc.C (set_font_norm_type): support iso8859-4
14441
14442 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14443
14444         * LaTeX.C (deplog): add another regex for MikTeX
14445
14446 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14447
14448         * lyxrc.C (set_font_norm_type): support iso8859-3
14449
14450 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14451
14452         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14453
14454         * LaTeXFeatures.C: remove special case of french and index
14455
14456         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14457         before \begin{document}). This solves several incompatibilities.
14458
14459 2001-10-03  Garst Reese  <reese@isn.net>
14460
14461         * lyx_cb.C: change CheckTex error msg.
14462
14463 2001-10-03  José Matos  <jamatos@fep.up.pt>
14464
14465         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14466
14467 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14468
14469         * .cvsignore: update
14470
14471         * lyx_main.C (commandLineVersionInfo): use new style version info.
14472
14473         * buffer.C (writeFile):
14474         (makeLaTeXFile):
14475         (makeLinuxDocFile):
14476         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14477
14478         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14479
14480         * version.h: update to use stuff in version.C
14481
14482         * version.C.in: new file. Contains version information determined
14483         at compile time. This is a merging of version.h and
14484         version_info.h.in.
14485
14486 2001-10-03  Juergen Vigna  <jug@sad.it>
14487
14488         * BufferView_pimpl.C (update): don't change "dirty" status in
14489         updateInset call.
14490
14491 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14492
14493         * WorkArea.C (c-tor): re-position version string slightly.
14494
14495 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14496
14497         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14498         revert to previous code.
14499
14500         WorkArea.[Ch]: (show, destroySplash): methods removed.
14501
14502         WorkArea.C: rework code so that it's an amalgam of the codes before and
14503         after the splash screen was moved to WorkArea.
14504
14505 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14506
14507         * lyxrc.C (read):
14508         * vspace.C (inPixels):
14509         (lyx_advance):
14510         * kbmap.C (bind):
14511         * buffer.C (insertStringAsLines):
14512         (asciiParagraph): fix types to be large enough
14513
14514         * lyxlex_pimpl.h: change member status from short to int
14515
14516         * layout.h: fix type of endlabeltype
14517
14518         * kbmap.C (bind):
14519         * kbsequence.C (parse): change return type to string::size_type
14520
14521         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14522         variable
14523
14524         * Bullet.C (bulletSize):
14525         (bulletEntry): do not use short ints as parameters
14526
14527         * BufferView2.C (insertLyXFile): change a char to an int.
14528
14529         * WorkArea.C (WorkArea): remove unneeded floats in computation
14530
14531 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14532
14533         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14534
14535         * paragraph.C (asString): Do not ignore newline/hfill chars when
14536         copying to the clipboard.
14537
14538 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14539
14540         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14541         after a multi-line inset.
14542
14543 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14544
14545         * paragraph.C (validate): Set NeedLyXFootnoteCode
14546
14547 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14548
14549         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14550         and decrease-error to decrease.
14551
14552 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14553
14554         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14555         it more readable (should be equivalent)
14556
14557 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14558
14559         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14560
14561 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14562
14563         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14564         of a cursor (row, etc.) after a character has been deleted
14565         (deleteEmptyParagraphMechanism): call the method above on _all_
14566         cursors held by the LyXText when a double space has been
14567         detected/deleted.
14568
14569 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14570
14571         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14572         pixmap.
14573         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14574
14575         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14576         background. Use greyOut() and the new show() methods to toggle between
14577         the foreground and background. Add code to remove the splash after
14578         its initial showing.
14579
14580         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14581         (create_forms): no longer call Dialogs::showSplash.
14582
14583 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14584
14585         * .cvsignore: add version_info.h
14586
14587 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14588
14589         * version_info.h.in: new file
14590
14591         * Makefile.am: add version_info.h.in
14592
14593         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14594         version_info.h instead of VERSION_INFO
14595
14596 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14597
14598         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14599         The ERT inset now returns string().
14600
14601 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14602
14603         * lyxtext.h, text.C (selectNextWord): renamed as
14604         selectNextWordToSpellcheck.
14605
14606         * text.C (selectNextWordToSpellcheck): Modified to not select
14607         words inside an ERT inset.
14608
14609 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14610
14611         * lyx_cb.C (MenuLayoutSave): change a bit the question
14612
14613         * sp_base.h: include <sys/types.h>
14614
14615 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14616
14617         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14618
14619 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14620
14621         * several files: fix typos in user-visible strings
14622
14623 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14624
14625         * text2.C (pasteSelection): do not set the selection, since it
14626         will be cleared later. Actually, the intent was to fix the way the
14627         selection was set, but I figured rmoving the code was just as good.
14628
14629 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14630
14631         * FontLoader.C (available): Check if font is available without
14632         loading the font.
14633
14634 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14635
14636         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14637
14638 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14639
14640         * lyxrc.[Ch]: added display_graphics variable and associated code.
14641
14642 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14643
14644         * bufferparams.C (hasClassDefaults): new method. Returns true if
14645         the buffer parameters correspond to known class defaults
14646
14647 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14648
14649         * XFormsView.C (show): set minimum size to the main window.
14650
14651 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14652
14653         * text2.C (copySelection):
14654         (cutSelection):
14655         * lyxfind.C (LyXReplace):
14656         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14657         LyXText::selectionAsString.
14658
14659         * paragraph.C (asString): add "label" argument to the second form
14660
14661         * text2.C (selectionAsString): add "label" argument and pass it to
14662         Paragraph::asString.
14663
14664 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14665
14666         * lyx_main.C (commandLineHelp): remove version information
14667
14668 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14669
14670         * lyx_main.C: add -version commandline option
14671
14672 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14673
14674         * paragraph.h: make the optional constructor arg required instead.
14675         some modifications to other files because of this.
14676
14677         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14678
14679         * lyxserver.C (C_LyXComm_callback): make it static
14680
14681         * lyx_main.C (error_handler): make it static
14682
14683         * lyx_gui.C (LyX_XErrHandler): make it static
14684
14685         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14686
14687         * WorkArea.C: make the extern "C" methods static.
14688
14689         * Makefile.am (lyx_LDADD): simplify
14690
14691 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14692
14693         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14694         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14695
14696         * LyXAction.C (init):
14697         * lyxfunc.C (dispatch): associated code removal.
14698
14699 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14700
14701         * lyxfont.h (isSymbolFont): shut off warning
14702
14703         * text.C (setHeightOfRow):
14704         (getVisibleRow): fix crash with empty paragraphs which have a
14705         bottom line
14706
14707 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14708
14709         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14710         code.
14711
14712 2001-09-04  José Matos  <jamatos@fep.up.pt>
14713         * buffer.C
14714         * buffer.h
14715         * tabular.C (docbook): rename docBook method to docbook.
14716
14717 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14718
14719         * Makefile.am: add dependencies to main.o.
14720
14721 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14722
14723         * FontLoader.C (available): Return false if !lyxrc.use_gui
14724
14725 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14726
14727         * FontInfo.C (query):
14728         * converter.C (view):
14729         * importer.C (Import):
14730         * exporter.C (Export): Can not -> cannot.
14731
14732 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14733
14734         * BufferView_pimpl.C: allow to create index inset even if
14735           string is empty
14736
14737 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14738
14739         * buffer.C (getLists): replace boost::tie code with an explicit pair
14740         as boost::tie can break some compilers.
14741
14742         * iterators.h: Added a std:: declaration to the return type of
14743         ParIterator::size.
14744
14745 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14746
14747         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14748           case.
14749
14750 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14751
14752         * iterators.[Ch]: New files. Provide paragraph iterators.
14753
14754         * buffer.C (changeLanguage): Use paragraph iterators.
14755         (isMultiLingual): ditto
14756
14757         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14758
14759 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14760
14761         * FontLoader.C: Support for cmr font.
14762
14763 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14764
14765         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14766         (available): New method.
14767
14768         * FontInfo.C (getFontname): Use scalable fonts even when
14769         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14770         found.
14771
14772 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14773
14774         * converter.C (Formats::view): reverted! Incorrect fix.
14775
14776 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14777
14778         * converter.C (Formats::view): only output the -paper option
14779         if the dvi viewer is xdvi, thereby fixing bug #233429.
14780
14781 2001-08-23  Herbert Voss  <voss@perce>
14782
14783         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14784
14785 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14786
14787         * Spacing.h (Spacing): Set space to Default on in the default
14788         constructor.
14789
14790 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14791
14792         * vc-backend.h (RCS::versionString): add RCS to version
14793         (CVS::versionString): add CVS to version
14794
14795         * vc-backend.C (scanMaster): do not add CVS to version.
14796         (scanMaster): do not add RCS to version
14797
14798         * lyxvc.C (versionString): new method
14799
14800         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14801
14802 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14803
14804         * Spacing.C (set): initialize fval
14805
14806 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14807
14808         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14809         " or \.
14810
14811 2001-08-16  Juergen Vigna  <jug@sad.it>
14812
14813         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14814
14815 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14816
14817         * BufferView_pimpl.C:
14818         * figureForm.C:
14819         * lyxtext.h:
14820         * text2.C: setParagraph takes linespacing now
14821
14822 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14823
14824         * LyxAction.C: add internal LFUN_CITATION_INSERT
14825
14826         * LyXView.C: actually apply fix
14827
14828         * bufferlist.C: fix open non-existent file
14829
14830         * lyxfind.C: fix indentation
14831
14832         * lyxfunc.C: remove unneeded assert, fix typo
14833
14834 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14835
14836         * MenuBackend.C: use "Floatname List"
14837
14838 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14839
14840         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14841         when converting LaTeX layout to insetERT.
14842         Generate a non-collapsed float when reading old float
14843
14844 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14845
14846         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14847         ERT insets.
14848
14849 2001-08-13  Juergen Vigna  <jug@sad.it>
14850
14851         * text.C (fill): return 0 instead of 20 as this seems to be the more
14852         correct value.
14853
14854 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14855
14856         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14857         lyxrc.font_norm.
14858
14859 2001-08-13  Juergen Vigna  <jug@sad.it>
14860
14861         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14862         casesensitive off.
14863         (SearchBackward): comment out the unlocking of the inset_owner this
14864         should not be needed!
14865
14866 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14867
14868         * Many files: Remove inherit_language, and add latex_language
14869
14870         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14871         collapsible insets.
14872
14873 2001-08-10  Juergen Vigna  <jug@sad.it>
14874
14875         * text.C (prepareToPrint): fixed hfill-width in draw!
14876
14877         * BufferView2.C (selectLastWord): save the selection cursor as this
14878         now is cleared in the function LyXText::clearSelection!
14879
14880 2001-08-08  Juergen Vigna  <jug@sad.it>
14881
14882         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14883         BACKSPACE type functions.
14884
14885         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14886         is only cutted from the document but not put in the cut-buffer, where
14887         still the old stuff should be.
14888
14889         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14890
14891         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14892
14893         * tabular.C (SetWidthOfCell): fixed special case where the width
14894         was not updated!
14895         (LeftLine): handle '|' in align_special.
14896         (RightLine): ditto
14897         (LeftAlreadyDrawed): ditto
14898         (SetWidthOfCell): ditto
14899
14900 2001-08-07  Juergen Vigna  <jug@sad.it>
14901
14902         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14903
14904 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14905
14906         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14907         * lyxlex.[hC]: ditto
14908
14909 2001-08-06  Juergen Vigna  <jug@sad.it>
14910
14911         * text.C (getVisibleRow): fix up row clearing a bit.
14912
14913 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14914
14915         * minibuffer.C: make sure the X server sees the changes in the input.
14916
14917 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14918
14919         * paragraph.C (getFont): split into...
14920         (getLabelFont): this
14921         (getLayoutFont): and this
14922         * paragraph_pimpl.C (realizeFont): calling this
14923
14924         * text2.C (getFont): split into...
14925         (getLayoutFont): this
14926         (getLabelFont): and this
14927         (realizeFont): all three calling this
14928
14929         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14930         files where used.
14931
14932 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14933
14934         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14935
14936 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14937
14938         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14939         layouts from the Quote inset insertion.
14940
14941 2001-08-03  Juergen Vigna  <jug@sad.it>
14942
14943         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14944
14945         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14946         only if status not is already CHANGED_IN_DRAW (second level).
14947
14948         * text.C (draw): don't set the need_break_row when inside an
14949         InsetText LyXText.
14950
14951 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14952
14953         * buffer.C (parseSingleLyXformat2Token): handle more latex
14954         conversion cases.
14955
14956         * bufferview_funcs.[hC]: change function names to
14957         begin with small char, adjust other files.
14958
14959 2001-08-02  André Pönitz <poenitz@gmx.net>
14960
14961         * lyxfunc.C:
14962         BufferView_pimpl.C: remove broken special code for math-greek
14963
14964 2001-08-02  Juergen Vigna  <jug@sad.it>
14965
14966         * BufferView_pimpl.C (update): redone this function so that we
14967         update the text again if there was a CHANGE_IN_DRAW.
14968
14969         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14970         (drawFromTo): added a new internal bool which is used by draw() and
14971         redraw() function.
14972         (general): some cursor drawing problems fixed.
14973
14974 2001-08-01  Juergen Vigna  <jug@sad.it>
14975
14976         * lyxfind.C (LyXFind): fixed
14977         (SearchForward): ditto
14978         (SearchBackward): ditto
14979
14980         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14981         spurius drawing of the cursor in the main area.
14982
14983         * text2.C (status): small fix which could lead to a segfault!
14984         (clearSelection): remove unneeded BufferView param.
14985
14986 2001-08-01  André Pönitz <poenitz@gmx.net>
14987
14988         * lyxfunc.C: small change due to changed mathed interface
14989
14990 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14991
14992         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14993
14994 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14995
14996         * lyxfunc.c: fail gracefully if file doesn't exist
14997
14998         * LyXSendto.C:
14999         * buffer.C:
15000         * lyxfunc.C:
15001         * BufferView_pimpl.C: IsDirWriteable() proto changed
15002
15003         * LyXView.C: fix updateWindowTitle() to store the last title
15004
15005 2001-07-31  Juergen Vigna  <jug@sad.it>
15006
15007         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15008         the font (wrong since using of Paragraph::highestFontInRange).
15009
15010         * paragraph.C (highestFontInRange): added a default_size parameter.
15011
15012         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15013         (setHeightOfRow): reformat
15014
15015 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15016
15017         * converter.[hC] + affected files: move to (inital-char)lowercase
15018         function names.
15019
15020         * ParagraphParameters.C (ParagraphParameters): remove commented code
15021
15022         * PainterBase.[Ch]: remove commented code
15023
15024         * LaTeXFeatures.h: add "bool floats" for float.sty
15025
15026         * LaTeXFeatures.C (LaTeXFeatures): init floats
15027         (require): handle float
15028         (getPackages): do it with floats
15029
15030 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15031
15032         * BufferView_pimpl.C (Dispatch): improve handling of
15033         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15034
15035         * commandtags.h: #include lyxfont.h here temporarily to avoid
15036         keybinding bug.
15037
15038         * bufferlist.h: include LString.h here.
15039
15040 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15041
15042         * text2.C (getStringToIndex): new method.
15043
15044 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15045
15046         * *: Reduced header file dependencies all over.
15047
15048 2001-07-30  Baruch Even  <baruch@lyx.org>
15049
15050         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15051
15052 2001-07-29  Baruch Even  <baruch@lyx.org>
15053
15054         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15055
15056 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15057
15058         * ParameterStruct.h (endif): add a default constructor to make
15059         sure that all variables is initialized.
15060
15061         * ParagraphParameters.C (ParagraphParameters): adjust
15062
15063 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15064
15065         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15066         index; also, check that there is something to index, and that it
15067         does not span over several paragraphs.
15068         (doubleClick): use WHOLE_WORD_STRICT for double click.
15069
15070         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15071
15072         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15073         scheme.
15074
15075 2001-07-26  Baruch Even  <baruch@lyx.org>
15076
15077         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15078         an InsetFig figure, backwards compatible reading of old figure code.
15079
15080 2001-07-27  Juergen Vigna  <jug@sad.it>
15081
15082         * text2.C: font.realize function adaption.
15083
15084         * text.C (draw): add a warnings lyxerr text if needed.
15085
15086         * layout.C: font.realize function adaption.
15087
15088         * language.C: add inherit_language and implement it's handlings
15089
15090         * bufferview_funcs.C (StyleReset): remove language parameter from
15091         font creation (should be language_inherit now).
15092
15093         * bufferparams.C (writeFile): handle ignore_language.
15094
15095         * paragraph.C (getFontSettings): the language has to be resolved
15096         otherwise we have problems in LyXFont!
15097
15098         * lyxfont.C (lyxWriteChanges): added document_language parameter
15099         (update): removed unneeded language parameter
15100
15101         * paragraph.C (validate): fixed wrong output of color-package when
15102         using interface colors for certain fonts in certain environments,
15103         which should not seen as that on the final output.
15104
15105 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15106
15107         * BufferView_pimpl.C:
15108         * Thesaurus.h:
15109         * Thesaurus.C:
15110         * Makefile.am:
15111         * commandtags.h:
15112         * LyXAction.C: add thesaurus support
15113
15114         * lyxfind.h:
15115         * lyxfind.C: add "once" parameter, for thesaurus, to not
15116           move to the next match
15117
15118 2001-07-26  Juergen Vigna  <jug@sad.it>
15119
15120         * lyxfont.C (realize): honor ignore_language too!
15121         (resolved): ditto.
15122
15123         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15124
15125         * text.C (draw): one place more for ignore_language to not draw
15126         itself!
15127
15128 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15129
15130         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15131
15132 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15133
15134         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15135         the minipage conversion problem.
15136
15137 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15138
15139         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15140         insert an inset.
15141
15142 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15143
15144         * BufferView.h: don't forward declare WorkArea
15145
15146         * BufferView.C: don't include WorkArea.h
15147
15148 2001-07-25  André Pönitz <poenitz@gmx.net>
15149
15150         * commandtags.h:
15151         * LyXAction.C:
15152         * lyxfunc.C:  new LFUN 'math-space'
15153
15154         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15155
15156 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15157
15158         * text2.C (toggleInset): call open/close
15159
15160 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15161
15162         * lyxfunc.C (dispatch): add debug for the disabled case
15163
15164         * font.C (buttonText): make similar to rectText
15165
15166         * buffer.C (readInset): comment out parsing of insetlist and
15167         insttheorem
15168
15169         * PainterBase.C (rectText): small correction
15170
15171         * BufferView_pimpl.C: comment out insettheorem and insetlist
15172         * LyXAction.C: ditto
15173         * commandtags.h: ditto
15174
15175 2001-07-24  Juergen Vigna  <jug@sad.it>
15176
15177         * text.C (draw): honor the ignore_language.
15178
15179         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15180
15181 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15182
15183         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15184         char inset.
15185
15186 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15187
15188         * lyxtext.h: remove unused (and unimplemented) methods
15189
15190 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15191
15192         * text.C (getVisibleRow): honor background color
15193
15194         * PainterBase.h:
15195         * Painter.h: remove default color argument for fillRectangle
15196
15197         * text.C (backgroundColor): new method
15198
15199 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15200
15201         * text.C (getVisibleRow): adjust
15202
15203         * font.[Ch] (rectText): new method, metrics
15204         (buttonText): new method, metrics
15205
15206         * PainterBase.[hC]: make rectText and buttonText always draw and take
15207         fewer paramteres.
15208
15209 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15210
15211         * ToolbarDefaults.C (read):
15212         * MenuBackend.C (read): allow escaping in all strings
15213
15214         * BufferView_pimpl.C (insertAndEditInset): new method.
15215         (Dispatch): use insertAndEditInset whenever appropriate.
15216
15217         * BufferView_pimpl.C (insertNote): removed
15218
15219         * BufferView_pimpl.C (smartQuote): new method, moved from
15220         BufferView; if an insetquote cannot be inserted, insert a '"'
15221         character instead.
15222
15223         * BufferView2.C: remove insertCorrectQuote();
15224
15225         * lyxfunc.C (getStatus): Add support for all remaingin
15226         inset-insert lfuns.
15227
15228         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15229
15230         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15231         command (necessary to pass " as parameter of self-insert.
15232
15233         * text.C (selectWordWhenUnderCursor):
15234         (selectWord): add word_location parameter
15235         (selectWordWhenUnderCursor): same + remove special code for word
15236         boundary.
15237         (selectNextWord): use kind() to guess type of insetspecialchar,
15238         not latex().
15239
15240         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15241         (insertErtContents): create ert insets as collapsed.
15242         (readInset): better compatibility code for Info inset.
15243
15244 2001-07-20  Juergen Vigna  <jug@sad.it>
15245
15246         * lyxfunc.C (dispatch): use always LyXFind now!
15247
15248         * text2.C (init): add a reinit flag so that the LyXText can be
15249         reinited instead of deleted and reallocated (used in InsetText).
15250
15251         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15252
15253         * text.C: ditto
15254
15255         * text2.C: ditto
15256
15257 2001-07-18  Juergen Vigna  <jug@sad.it>
15258
15259         * text.C (selectNextWord): handle insets inside inset by calling
15260         always the bv->text functions so that we can go up the_locking_inset!
15261
15262         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15263         in strange locations when inside an inset!
15264
15265         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15266         handling to include insets.
15267
15268         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15269
15270 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15271
15272         * LyXAction.C (init):
15273         * commandtags.h:
15274         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15275         LIGATURE_BREAK, since the name is so stupid.
15276
15277 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15278
15279         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15280         InsetInfos.
15281
15282         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15283
15284         * sp_form.[Ch]: remove.
15285
15286         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15287
15288         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15289         InsetInfo.
15290
15291         * src/buffer.C (readInset): ditto.
15292
15293 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15294
15295         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15296         menuSeparator(), endOfSentenceDot(), ldots() and
15297         hyphenationPoint(), which are therefore removed.
15298         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15299
15300         * LyXAction.C (init):
15301         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15302
15303         * paragraph.C (getWord): removed.
15304
15305         * BufferView_pimpl.C (Dispatch): use last word or selection for
15306         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15307
15308         * lyx_main.C (queryUserLyXDir): do not ask before creating
15309         user_dir, except if it has been named explicitely.
15310
15311 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15312
15313         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15314         a document of zero size.
15315
15316 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15317
15318         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15319         approriately in the c-tor and in require().
15320         (getPackages): output the appropriate LaTeX for natbib support.
15321
15322         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15323         variables "use_natbib" and "use_numerical_citations" when reading the
15324         LyX file.
15325         (readInset): read the various natbib cite commands.
15326         (validate): white-space change.
15327
15328         * bufferparams.[Ch]: new variables "bool use_natbib" and
15329         "bool use_numerical_citations".
15330         (writeFile): output them in the LyX file.
15331
15332 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15333
15334         * lyxfunc.C (getStatus): add support for all the inset insertion
15335         commands.
15336
15337         * text2.C (insertInset):
15338         * paragraph.C (insetAllowed):
15339         * BufferView_pimpl.C (insertInset): update to take in account the
15340         renaming of insertInsetAllowed
15341
15342         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15343
15344         * text2.C (getInset): new method. returns inset at cursor position.
15345
15346         * BufferView_pimpl.C (Dispatch): changes because of this.
15347
15348         * LyXAction.C (init): rename open-stuff to inset-toggle.
15349
15350         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15351
15352         * text2.C (toggleInset): renamed from openStuff; use
15353         Inset::open().
15354
15355 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15356
15357         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15358
15359         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15360
15361 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15362
15363         * buffer.C (readLyXformat2): Add filename to the error dialog
15364
15365 2001-07-18  Juergen Vigna  <jug@sad.it>
15366
15367         * tabular.C (GetCellNumber): put an assert here instead of the check!
15368
15369 2001-07-17  Juergen Vigna  <jug@sad.it>
15370
15371         * BufferView_pimpl.C (toggleSelection): adapted too.
15372
15373         * text.C (selectNextWord): adapted for use with insets.
15374         (selectSelectedWord): ditto
15375
15376 2001-07-17  Juergen Vigna  <jug@sad.it>
15377
15378         * sp_spell.C (PSpell): fix initialitation order.
15379
15380 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15381
15382         * paragraph.C: spacing
15383
15384 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15385
15386         * sp_spell.C: repair language selection for pspell
15387
15388 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15389
15390         * lyxfunc.h: change more methods to begin with lower char.
15391
15392 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15393
15394         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15395         for unknown layouts.
15396
15397 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15398
15399         * buffer.C (readLyXformat2): Generate an error dialog if there are
15400         unknown layouts.
15401
15402 2001-07-16  Juergen Vigna  <jug@sad.it>
15403
15404         * sp_spell.C: always compile ISpell part.
15405
15406         * lyxrc.C: added use_pspell entry and it's handling.
15407
15408 2001-07-13  Juergen Vigna  <jug@sad.it>
15409
15410         * sp_spell.C: removed double includes.
15411
15412 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15413
15414         Consistent use of Lsstream.h:
15415         * Lsstream.h: added using std::stringstream for consistencies sake.
15416
15417         * buffer.C: removed using std::stringstream
15418
15419         * lyxfont.C (stateText):
15420         * paragraph.C (asString):
15421         * text.C (selectNextWord, selectSelectedWord):
15422         * text2.C (setCounter):
15423         * vspace.C (asString, asLatexString):
15424         std::ostringstream -> ostringstream.
15425
15426 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15427
15428         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15429         * commandtags.h: add LFUN_HELP_ABOUTLYX
15430         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15431
15432 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15433
15434         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15435         cursorToggle()
15436         * lyx_gui_misc.C: remove spellchecker
15437         * lyxfunc.C: showSpellchecker
15438         * sp_base.h: added
15439         * sp_ispell.h: added
15440         * sp_pspell.h: added
15441         * sp_spell.C: added
15442         * sp_form.[Ch]: removed
15443         * spellchecker.[Ch]: removed
15444
15445 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15446
15447         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15448         is set.
15449         (simpleTeXSpecialChars): Simply print the input character without
15450         any special translation if pass_thru is set.
15451
15452         * layout.h: Added bool pass_thru to layout class for being able to
15453         implement pass through of a paragraph for Literate Programming.
15454
15455         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15456         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15457         * layout.C (Read): add "passthru" to list of layout tags and add
15458         code to set the pass_thru boolean when it is read.
15459
15460 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15461
15462         * trans_decl.h: remove allowed from KmodInfo
15463
15464         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15465         remove allowed code
15466         (Load): adjust
15467
15468         * paragraph_pimpl.C (erase): use boost::prior
15469
15470         * Painter.C (text): use data() instead of c_str() when length is
15471         also provided.
15472         * WorkArea.C (putClipboard): ditto
15473         * font.h (width): ditto
15474
15475         * BufferView2.C: use it-> instead of (*it). for iterators
15476         * texrow.C: ditto
15477         * paragraph_pimpl.C: ditto
15478         * paragraph.C: ditto
15479         * minibuffer.C: ditto
15480         * language.C: ditto
15481         * kbmap.C: ditto
15482         * encoding.C: ditto
15483         * counters.C: ditto
15484         * converter.C: ditto
15485         * chset.C: ditto
15486         * Variables.C: ditto
15487         * TextCache.C: ditto
15488         * MenuBackend.C: ditto
15489         * LyXAction.C: ditto
15490         * LColor.C: ditto
15491         * FloatList.C: ditto
15492         * DepTable.C: ditto
15493         * ColorHandler.C (LyXColorHandler): ditto
15494
15495 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15496
15497         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15498
15499         * text2.C (openStuff): reintroduce this method (which had been
15500         nuked in NEW_INSETS frenzy).
15501
15502         * lyxfunc.C (Dispatch): when an action has not been handled, use
15503         its name in the error message, not its number.
15504
15505         * paragraph.C (inInset): change method name to begin with lowercase.
15506
15507         * undo_funcs.C:
15508         * text2.C: updates because of this.
15509
15510 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15511
15512         * ToolbarDefaults.C (add): add spaces in error message
15513
15514 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15515
15516         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15517         (readLyXformat2): rename return_par to first_par, use lyxlex's
15518         pushToken and remove the manual push handling.
15519         (parseSingleLyXformat2Token): add another ert comp. variable:
15520         in_tabular, rename return_par to first_par. handle newlines better
15521
15522 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15523
15524         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15525
15526 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15527
15528         * text2.C (getParFromID): removed
15529
15530         * buffer.C (getParFromID): new method moved form lyxtext.
15531         * BufferView2.C (insertErrors): adjust
15532         (setCursorFromRow): adjust
15533         * BufferView_pimpl.C (restorePosition): adjust
15534         * lyxfunc.C (Dispatch): adjust
15535         * undo_funcs.C (textUndo): adjust
15536         (textRedo): adjust
15537         (textHandleUndo): adjust
15538         (textHandleUndo): adjust
15539
15540 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15541
15542         * buffer.C: up' the LYX_FORMAT
15543
15544         * lyxfont.h: turn NO_LATEX on as default
15545
15546         * buffer.C (insertErtContents): new methods of tex style compability.
15547         (parseSingleLyXformat2Token): use it several places.
15548         * tabular.C (OldFormatRead): and here
15549
15550 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15551
15552         * text2.C: remove some commented code.
15553         reindent file.
15554
15555         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15556         * trans.C: changes because of the above.
15557
15558 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15559
15560         * text2.C (setCounter): Fix counters bug with bibliography layout.
15561
15562 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15563
15564         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15565         own member functions
15566         (simpleTeXSpecialChars): ditto
15567
15568 2001-07-06  Juergen Vigna  <jug@sad.it>
15569
15570         * a lot of files: changed the access to LyXText::status and the
15571         call of undo-functions.
15572
15573         * undo.[Ch]: added a inset_id to the undo informations.
15574
15575         * undo_funcs.[Ch]: added and moved here all undo functions.
15576
15577         * lyxtext.h: give the status enum a weight, made status_ a private
15578         variable and made accessor functions for it, removed the whole bunch
15579         of undo-functions as they are now in their own file, make some
15580         functions publically available. Added function ownerParagraph with
15581         int parameter.
15582
15583         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15584         made InInset() a const function, added getParFromID() function.
15585
15586         * buffer.[Ch]: added const version for inset_iterator functions,
15587         added getInsetFromID() function.
15588
15589         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15590         changed undo functions for new version.
15591
15592 2001-07-05  Juergen Vigna  <jug@sad.it>
15593
15594         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15595         unknow mechanism does not call the proper constructor but only this
15596         one also if I request the other!?
15597
15598 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15599
15600         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15601
15602         * text2.C (LyXText): use initialization lists.
15603
15604         * lyxtext.h (Selection): initialize set_ and mark_
15605         (init): remove method
15606
15607 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15608
15609         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15610
15611 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15612
15613         * screen.[Ch]: change method names to begin with lowercase
15614
15615         * BufferView_pimpl.C (updateScrollbar): simplify further and
15616         hopefully make it a bit faster.
15617
15618 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15619
15620         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15621         calling directly xforms functions.
15622
15623         * Painter.C (Painter):
15624         * lyx_cb.C (MenuWrite):
15625         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15626         fl_display.
15627
15628         * lyx_gui.C: remove bogus guiruntime extern declaration.
15629
15630 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15631
15632         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15633         in NEW_INSETS
15634         (redoDrawingOfParagraph): ditto
15635         (redoParagraphs): ditto
15636         (cutSelection): don't create a object for CutAndPaste use the
15637         static method directly
15638         (pasteSelection): ditto
15639
15640         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15641         LyXview (+ rename)
15642
15643 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15644
15645         * modifications to some other files because of this.
15646
15647         * Makefile.am (lyx_SOURCES): add XFormsView
15648
15649         * XFormsView.[Ch]: new files
15650
15651         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15652         the main window. Move the gui dependent stuff to XFormsView
15653
15654 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15655
15656         * tabular.C (GetCellInset): update cur_cell also in the row/col
15657         version of this function.
15658
15659         * lyxfunc.C: no need to include figure_form.h here.
15660
15661         * FontLoader.h:
15662         * lyxfunc.h:
15663         * lyxscreen.h:
15664         * text2.C:
15665         * lyxvc.C: no need to include forms.h here.
15666
15667 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15668
15669         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15670
15671         * lyxfunc.C (Dispatch):
15672         * Spacing.C (set):
15673         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15674         constructor argument.
15675
15676 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15677
15678         * paragraph.C (Paragraph): dont't clear, and just set layout.
15679         (makeSameLayout): use params's copy contructor.
15680
15681         * ParagraphParameters.[Ch] (makeSame): delete method
15682
15683 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15684
15685         * Variables.[Ch]: fix indentation, rename set to isSet
15686
15687 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15688
15689         * lyxfunc.C (Dispatch): fix typo
15690
15691 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15692
15693         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15694         upper_bound.
15695
15696         * bufferlist.C: include assert.h for emergencyWrite().
15697
15698 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15699
15700         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15701           give up at last (bug #425202) !
15702
15703 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15704
15705         * lyx_gui_misc.C:
15706         * sp_form.h:
15707         * sp_form.C:
15708         * spellchecker.h:
15709         * spellchecker.C: strip spellchecker options and bring up
15710           preferences tab instead
15711
15712 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15713
15714         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15715         the istringstream constructor
15716
15717 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15718
15719         * paragraph.C (getLayout): fix return value
15720
15721         * paragraph.h: do not declare getLayout as inline.
15722
15723         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15724
15725 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15726
15727         * lyxcursor.h (operator<): new func
15728         (operator>): new func
15729         (operator>=): new func
15730         (operator<=): new func
15731
15732         * text.C (changeCase): use selection.start and selection.end
15733         (changeRegionCase): require from to be <= to. Require par to be a
15734         valid paragraph.
15735
15736         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15737
15738 2001-06-27  Juergen Vigna  <jug@sad.it>
15739
15740         * text.C (cursorLeftOneWord): changed to return the cursor and added
15741         overlay with BufferView * parameter which calls this one.
15742         (getWord): added
15743         (selectWord): use new getWord function.
15744         (changeCase): renamed from changeWordCase as and extended to work
15745         also on selections.
15746
15747         * lyxtext.h: added enum word_location
15748
15749         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15750         changeCase as this operates now also on selections.
15751
15752 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15753
15754         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15755
15756         * many files: send debug output to Debug::INFO instead of
15757         Debug::ANY.
15758
15759         * converter.C (View):
15760         (Convert):
15761         (Move): send debug output to Debug::FILES instead of console.
15762
15763 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15764
15765         * lyxfunc.C (getStatus): use func_status
15766
15767         * func_status.h: new header, describing the results of
15768         LyXFunc::getStatus;
15769
15770         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15771         LFUN_MATH_HALIGN.
15772
15773 2001-06-25  The LyX Project  <jug@sad.it>
15774
15775         * buffer.C (sgmlOpenTag):
15776         (sgmlCloseTag):
15777         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15778
15779 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15780
15781         * text2.C: remove some dead code
15782
15783         * tabular.C (GetCellInset): store the last cell checked (gotten)
15784
15785         * tabular.h: add the helper for the speedup
15786
15787         * lyxtext.h: remove some dead code
15788
15789 2001-06-26  The LyX Project  <Asger>
15790
15791         * paragraph.C: Change export to LaTeX of alignment to
15792         \begin{center} and family for better roundtrip work with reLyX.
15793
15794         * Tune the math drawing a bit.
15795
15796 2001-06-25  The LyX Project  <Asger>
15797
15798         * LColor.C (LColor): New color for math background. New color
15799         for buttons.
15800
15801 2001-06-25  The LyX Project  <jug@sad.it>
15802
15803         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15804
15805         * lyxfunc.C (Open):
15806         * bufferlist.C (newFile): do not restrict to files ending with
15807         .lyx
15808
15809         * BufferView_pimpl.C (MenuInsertLyXFile):
15810
15811 2001-06-24  The LyX Project  <jug@sad.it>
15812
15813         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15814         of compare_no_case
15815
15816 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15817
15818         * lyxtext.h: rename most methods to begin with a small char.
15819         Lots of changes because of this.
15820
15821         * paragraph.C (Paragraph): do not call fitToSize
15822         (erase): call Pimpl::erase
15823         (insertChar): call Pimpl::insertChar
15824         (insertInset): call Pipl::insertInset
15825         (breakParagraph): do not call fitToSize
15826         (breakParagraphConservative): do not call fitToSize
15827         (fitToSize): remove method
15828
15829         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15830
15831 2001-06-24  The LyX Project  <Asger>
15832
15833         * Fix Qt compilation^2
15834
15835 2001-06-24  The LyX Project  <jug@sad.it>
15836
15837         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15838         depthHook(getDepth()-1).
15839
15840         * paragraph.h:
15841         * ParagraphParameters.h:
15842         * ParameterStruct.h: change type of depth to unsigned int ==
15843         depth_type. Many adaptations to other files before of that.
15844
15845 2001-06-24  The LyX Project  <Asger>
15846
15847         * Fix Qt compilation.
15848
15849 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15850
15851         * paragraph.h: renamed several methods to begin with small letter.
15852         several changes to many parts of the code because of this.
15853
15854 2001-06-23  The LyX Project  <jug@sad.it>
15855
15856         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15857         rewritten to discard all double spaces when KeepEmpty is off
15858         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15859         to only handle newlines but not fiddle with spaces and friends.
15860
15861         * lyxfunc.C (MenuNew): when doing 'new from template', use
15862         template_path as default directory
15863
15864 2001-06-23  The LyX Project  <Asger>
15865
15866         * Clean-up of header file includes all over
15867         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15868
15869 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15870
15871         * paragraph.h: renamed from lyxparagraph.h
15872
15873 2001-06-23  Asger  <lyx@violet.home.sad.it>
15874
15875         * Buffer.h: Removed Buffer::resize
15876         * BufferList.h: Removed BufferList::resize
15877         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15878         the document lazily when we change the width, or the font settings.
15879
15880 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15881
15882         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15883
15884 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15885
15886         * buffer.h: remove out of date comment
15887
15888 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15889
15890         * lyxscreen.h:
15891         * screen.C: fix "theoretical" GC leak
15892
15893 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15894
15895         * LaTeX.C (scanAuxFile):
15896         (deplog): remove trailing \r when reading stream (useful under
15897         win32)
15898
15899 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15900
15901         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15902         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15903         and BufferView::theLockingInset(Inset*), so should use them and not
15904         access bv_->text->the_locking_inset directly.
15905
15906         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15907
15908 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15909
15910         * Makefile.am:
15911         * tex-defs.h: remove old unused file
15912
15913 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15914
15915         * BufferView_pimpl.C: fix typo, remove minibuffer message
15916           when buffer has loaded
15917
15918 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15919
15920         * lyxfunc.C (Dispatch): use stringstream
15921         (MenuNew): use stringstream
15922         (Open): use stringstream
15923
15924         * importer.C (Import): use stringstream
15925
15926         * bufferview_funcs.C (CurrentState): use stringstream
15927
15928         * LaTeX.C (run): use stringstream
15929
15930         * BufferView_pimpl.C (savePosition): use stringstream
15931         (restorePosition): use stringstream
15932         (MenuInsertLyXFile): use stringstream
15933
15934 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15935
15936         * BufferView.C:
15937         * Bullet.C:
15938         * ColorHandler.C:
15939         * FontInfo.C:
15940         * FontLoader.C:
15941         * LColor.C:
15942         * LaTeXFeatures.C:
15943         * Painter.C:
15944         * gettext.C:
15945         * lyx_gui_misc.C:
15946         * lyxserver.C:
15947         * vspace.C: removed // -*- C++ -*- as first line.
15948
15949         * lyxfind.h:
15950         * version.h: added // -*- C++ -*- as first line.
15951
15952 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15953
15954         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15955
15956         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15957         of string
15958
15959 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15960
15961         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15962         of floats.
15963
15964 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15965
15966         * gettext.C: include LString.h even when --disable-nls is on.
15967
15968 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15969
15970         * converter.h (Get): changed argument type from int to
15971         FormatList::size_type to avoid unnecessary conversion.
15972
15973         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15974         before using it.
15975
15976 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15977
15978         * gettext.h: include LString.h even when --disable-nls is on.
15979
15980 2001-06-07  Juergen Vigna  <jug@sad.it>
15981
15982         * text.C (BreakAgain): subst spaces with tabs.
15983
15984         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15985         (resizeInsetsLyXText): set force on resizeLyXText.
15986
15987 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15988
15989         * gettext.h (gettext_init):
15990         (locale_init): use a real definition instead of a macro
15991
15992 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15993
15994         * Bufferview_pimpl.C:
15995         * LColor.h:
15996         * LColor.C: further lcolor tidies
15997
15998 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15999
16000         * BufferView_pimpl.C (updateScrollbar): simplify.
16001
16002         * BufferView2.C: don't include insets/insetinfo.h, change
16003         prototype for insertInset and call the Pimpl version. let
16004         updateInset call Pimpl version.
16005
16006         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16007         gotoInset to BufferView::Pimpl
16008
16009 2001-06-01  Juergen Vigna  <jug@sad.it>
16010
16011         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16012         inside a LockingInset (is the update needed at all?).
16013
16014 2001-05-31  Juergen Vigna  <jug@sad.it>
16015
16016         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16017         here not the old one otherwise how should we compare it afterwards
16018         if it's the same!
16019
16020 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16021
16022         * lyxfont.C:
16023         * tabular.C:
16024         * tabular-old.C:
16025         * FontInfo.C: bring C functions into global namespace when
16026         necessary
16027
16028 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16029
16030         * LString.h: make sure config.h has been loaded before LString.h.
16031
16032         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16033         (one for each char read by EatLine!).
16034
16035         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16036         variables.
16037
16038 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16039
16040         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16041         to the same as the par we break from
16042
16043 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16044
16045         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16046
16047         * MenuBackend.C (expand): also create menu entries for wide
16048         versions of the floats.
16049
16050         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16051
16052         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16053
16054         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16055         frontends/Makefile.am
16056
16057         * text2.C: adjust
16058         * text.C: adjust
16059
16060
16061         * tabular.C (getTokenValue): add std::
16062
16063         * tabular-old.C (getTokenValue): add std::
16064         (getTokenValue): ditto
16065         (getTokenValue): ditto
16066
16067         * screen.C (ToggleSelection): adjust
16068
16069         * lyxtext.h: put selection cursors inside a Selection struct.
16070
16071         * lyxfunc.C (moveCursorUpdate): adjust
16072
16073         * lyxfont.C (latexWriteStartChanges): add std::
16074
16075         * lyxfind.C: adjust
16076
16077         * font.h: delete with(char const *, LyXFont const &)
16078
16079         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16080
16081         * FontInfo.C (getFontname): add std::
16082
16083         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16084         (workAreaButtonPress): adjust
16085         (tripleClick): adjust
16086         (update): adjust
16087         (moveCursorUpdate): adjust
16088         (Dispatch): adjust
16089
16090         * BufferView2.C (gotoInset): adjust
16091
16092 2001-05-30  Juergen Vigna  <jug@sad.it>
16093
16094         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16095         to check pspell I add this as default as I now have new pspell
16096         libraries and they seem to use this.
16097
16098 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16099
16100         * text2.C (CutSelection): make the cursor valid before the call to
16101         ClearSelection.
16102
16103 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16104
16105         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16106         relied on 0 terminated strings and other horrors. Bug found due to
16107         the new assert in lyxstring!
16108
16109         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16110         KP_ keys.
16111
16112 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16113
16114         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16115         to latinkeys.bind.
16116
16117         * lyxfunc.C (processKeySym): change method of getting to the
16118         self-insert char.
16119
16120         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16121         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16122         * BufferView_pimpl.[Ch]: here as private methods.
16123
16124 2001-05-28  Juergen Vigna  <jug@sad.it>
16125
16126         * text.C (SetHeightOfRow): added the update() call again as it is
16127         needed to initialize inset dimensions!
16128
16129 2001-05-16  Juergen Vigna  <jug@sad.it>
16130
16131         * text2.C (SetCharFont): Add new function with BufferView * and
16132         bool toggleall parameters for setting insets internal fonts.
16133         (SetFont): Freeze the undo as we may change fonts in Insets and
16134         all this change should be inside only one Undo!
16135
16136         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16137         setting font's in insets as for them we have the SetFont function!
16138
16139 2001-05-15  Juergen Vigna  <jug@sad.it>
16140
16141         * text2.C (ClearSelection): to be sure we REALLY don't have any
16142         selection anymore!
16143
16144         * tabular.C (TeXCellPreamble): fixed the left border problem for
16145         multicolumn cells.
16146
16147 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16148
16149         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16150         dependancy file
16151
16152 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16153
16154         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16155         LFUN_BREAKPARAGRAPH.
16156
16157         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16158         help test to "internal only", similar for LFUN_INSERT_URL
16159
16160         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16161         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16162         auto_region_delete and deadkeys.
16163
16164 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16165
16166         * LColor.h:
16167         * LColor.C: remove some dead entries, tidy a little
16168
16169 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16170
16171         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16172         commented code.
16173         (Dispatch): implement LFUN_ESCAPE
16174
16175         * commandtags.h: add LFUN_ESCAPE
16176
16177         * LyXAction.C (init): add entry for LFUN_ESCAPE
16178
16179         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16180         Remove commented code.
16181         (insertNote): moved here
16182         (open_new_inset): moved here
16183
16184         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16185         BufferView_pimpl
16186
16187 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16188
16189         * kbmap.C (findbinding): clean it up and make it work correctly.
16190
16191         * lyx_main.C (init): do not pass argc and argv as parameters
16192
16193 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16194
16195         * buffer.C: fix path for OS/2 & Win32
16196
16197         * lyx_gui.C:
16198         * lyx_main:
16199         * lyx_main.C: Added os:: class.
16200
16201         * os2_defines.h: update
16202
16203 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16204
16205         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16206         better by trying again with reduced state.
16207
16208 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16209
16210         * lyxrc.C (read): print error about invalid key sequence only when
16211         debugging (because not all latinX keysyms are known to some X
16212         servers)
16213
16214         * kbsequence.C (getiso): add a few std:: qualifiers
16215         (getiso): comment out extra return statement.
16216
16217 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16218
16219         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16220         handling.
16221         (Dispatch): enhance the accent inset a bit. (not perfect)
16222
16223 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16224
16225         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16226
16227 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16228
16229         * bufferlist.C (emergencyWrite): fix assert() call
16230
16231 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16232
16233         * text.C (InsertChar): Added trivial patch to only send the "you
16234         can not do multiple spaces this way" message once during a
16235         session.
16236
16237 2001-05-08  Baruch Even  <baruch@lyx.org>
16238
16239         * Makefile.am: Changed order of libraries to get LyX to link properly
16240         with the gnome frontend.
16241
16242 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16243
16244         * LaTeXFeatures.h: add a std:: qualifier
16245
16246 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16247
16248         * paragraph.C (String): use stringstream
16249
16250 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16251
16252         * paragraph.C (writeFile): remove footflag arg
16253
16254         * buffer.C (makeLaTeXFile): use stringstream
16255         (latexParagraphs): remove footnot gurba
16256
16257         * LaTeXFeatures.C (getPackages): use stringstream
16258         (getMacros): likewise
16259         (getTClassPreamble): likewise
16260         (getFloatDefinitions): new method
16261
16262         * paragraph.C (writeFile): reindent
16263         (Erase): reindent
16264
16265         * WorkArea.h: revert the xpos + etc changes.
16266
16267         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16268
16269         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16270
16271         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16272         (pasteSelection): likewise
16273         * text2.C (CreateUndo): likewise
16274
16275 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16276
16277         * minibuffer.C (peek_event): temporarily reduce the functionality
16278         of the minibuffer (to allow args on lfuns)
16279
16280         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16281         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16282
16283         * buffer.C (readInset): add compability reading of old float
16284         lists, add reading of new style float list.
16285         (readInset): avoid reevaluation of inscmd.getCmdName()
16286         (getLists): reindent
16287
16288         * MenuBackend.C (MenuItem): implement parsing of
16289         md_floatlistinsert and md_floatinsert.
16290         (expand::LastFiles): move initalizaton of iterators out of loop,
16291         avoid reevaluation.
16292         (expand::Documents): introduce typdedef vector<string> Strings,
16293         and use it.
16294         (expand::ExportFormats): introduce typedef vector<Format const *>
16295         Formats, and use it.
16296         (expand): implement FloatListInsert and FloatInsert.
16297
16298         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16299         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16300         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16301
16302         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16303         handling.
16304         (Dispatch::LFUN_FLOAT_LIST): implement
16305
16306 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16307
16308         * LaTeX.C (run): Fix problem with --export code.
16309
16310 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16311
16312         * BufferView.[Ch] (workarea): removed.
16313         (getClipboard) new method; wrapper for workarea()->getClipboard()
16314
16315         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16316         bug.
16317
16318         * WorkArea.h (width, height, xpos, ypos): These methods all
16319         returned the dimensions of the work_area sub-area of WorkArea,
16320         resulting in a position error if the WorkArea were resized. Now
16321         return the dimensions of the entire WorkArea.
16322
16323         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16324
16325 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16326
16327         * LaTeX.C (deplog): correct the syntax of regex reg1
16328
16329 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16330
16331         * undo.C: remove !NEW_INSETS cruft
16332
16333 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16334
16335         * text2.C: remove !NEW_INSETS cruft
16336
16337         * text.C: remove !NEW_INSETS cruft
16338
16339         * tabular.C: remove !NEW_INSETS cruft
16340
16341         * spellchecker.C: remove !NEW_INSETS cruft
16342
16343         * lyxtext.h: remove !NEW_INSETS cruft
16344
16345         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16346
16347         * lyxfunc.C: remove !NEW_INSETS cruft
16348
16349         * lyxfind.C: remove !NEW_INSETS cruft
16350
16351         * lyx_cb.C: remove !NEW_INSETS cruft
16352
16353         * figureForm.C: remove  !NEW_INSETS cruft
16354
16355         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16356
16357         * buffer.[Ch]: remove !NEW_INSETS cruft
16358
16359         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16360
16361         * CutAndPaste.C: remove !NEW_INSETS cruft
16362
16363         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16364
16365         * BufferView2.C: remove !NEW_INSETS cruft
16366
16367         * BufferView.h: remove !NEW_INSETS cruft
16368
16369 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16370
16371         * Lsstream.h: include LString.h before the sstream headers to
16372         fix problem with gcc 2.95.3 and lyxstring
16373
16374 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16375
16376         * lyx_main.C: add using directives when needed for C functions
16377         declared in std:: namespace.
16378
16379 2001-04-27  Juergen Vigna  <jug@sad.it>
16380
16381         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16382         (SetHeightOfRow): comment out the update call should not be needed!
16383
16384 2001-04-13  Juergen Vigna  <jug@sad.it>
16385
16386         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16387         (LyXTabular): tried to minimize operator= operations (and realized
16388         hopfully Lars wish).
16389
16390 2001-04-27  Juergen Vigna  <jug@sad.it>
16391
16392         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16393
16394 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16395
16396         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16397
16398         * buffer.C (readInset): hack to make listof algorithm work
16399
16400         * BufferView_pimpl.C: hack to make listof algorithm work
16401
16402 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16403
16404         * LyXAction.C: removed all !NEW_INSETS cruft
16405         (init): moved lfun_item in method
16406
16407         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16408
16409 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16410
16411         * BufferView2.C (theLockingInset): white space.
16412
16413 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16414
16415         * minibuffer.C: include <iostream>
16416
16417         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16418
16419         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16420
16421         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16422
16423         * text.[Ch] (TransposeChars): new method
16424
16425 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16426
16427         * call message directly through LyXView instead of through LyXFunc
16428         * BufferView2.C: adjust
16429         * BufferView_pimpl.C: adjust
16430         * FontLoader.C: adjust
16431         * buffer.C: adjust
16432         * bufferview_funcs.C: adjust
16433         * converter.C: adjust
16434         * figureForm.C: adjust
16435         * importer.C: adjust
16436         * lyx_cb.C: adjust
16437         * lyx_gui_misc.C: adjust
16438         * lyxfunc.C: adjust
16439         * lyxvc.C: adjust
16440         * text2.C: adjust
16441         + more files in subdirs
16442
16443         * lyxparagraph.h (size): move up int file
16444         (GetLayout): ditto
16445
16446         * adjust all uses of Assert to lyx::Assert.
16447
16448         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16449         lyxfunctional in namespace lyx
16450         * layout.C (hasLayout): ditto
16451         (GetLayout): ditto
16452         (GetLayout): ditto
16453         (delete_layout): ditto
16454         (NumberOfClass): ditto
16455         * converter.C (GetFormat): ditto
16456         (GetNumber): ditto
16457         (Add): ditto
16458         (Delete): ditto
16459         (SetViewer): ditto
16460         * bufferlist.C (getFileNames): ditto
16461         (emergencyWriteAll): ditto
16462         (exists): ditto
16463         (getBuffer): ditto
16464         * MenuBackend.C (hasSubmenu): ditto
16465         (hasMenu): ditto
16466         (getMenu): ditto
16467         * BufferView_pimpl.C (getInsetByCode): ditto
16468
16469 2001-04-18  Juergen Vigna  <jug@sad.it>
16470
16471         * vspace.C (asLatexString): fixed the 100% problem.
16472
16473 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16474
16475         * lyxfunc.C (Dispatch):
16476         * minibuffer.C:
16477         * minibuffer.h: add a few std:: qualifiers
16478
16479 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16480
16481         * minibuffer.[Ch]: reimplement so that commands is initiated and
16482         run from lyxfunc, simplified som handling, and made the completion
16483         and history code for complete. wip.
16484
16485         * lyxfunc.C (processKeySym): call message
16486         (miniDispatch): new temporary method
16487         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16488         (LFUN_MESSAGE): implement
16489         (LFUN_MESSAGE_PUSH): implement
16490         (LFUN_MESSAGE_POP): implement
16491         (initMiniBuffer): the initial/defualt minibuffer message.
16492
16493         * lyxfont.[Ch]: inline some more getters
16494
16495         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16496
16497         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16498
16499         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16500         (AutoSave): use LFUN_MESSAGE
16501         (Reconfigure): ditto
16502
16503         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16504
16505         * figureForm.C: use LFUN_MESSAGE
16506
16507         * converter.C (runLaTeX): use LFUN_MESSAGE
16508
16509         * bufferview_funcs.C: use LFUN_MESSAGE
16510         (Melt): ditto
16511         (changeDepth): ditto
16512
16513         * bufferparams.h: use boost::
16514
16515         * bufferlist.h: inherit privately from noncopyable
16516
16517         * bufferlist.C (loadLyXFile): remove some commented code.
16518
16519         * buffer.C (runChktex): use LFUN_MESSAGE
16520
16521         * ShareContainer.h: inherit privately from noncopyable
16522
16523         * ParagraphParameters.[hC] (depth): inline it.
16524
16525         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16526         methods.
16527         (message): new method
16528         (messagePush): ditto
16529         (messagePop): ditto
16530         (show): init minibuffer
16531         (showState): direct call
16532
16533         * LaTeX.[Ch]: inherit privately from noncopyable
16534         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16535         instead of WriteStatus.
16536
16537         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16538
16539         * BufferView_pimpl.C (buffer): don't init minibuffer
16540         (workAreaButtonPress): use LFUN_MESSAGE
16541         (workAreaButtonRelease): ditto
16542         (savePosition): ditto
16543         (restorePosition): ditto
16544         (MenuInsertLyXFile): ditto
16545         (workAreaExpose): don't init minibuffer
16546         (update): remove commented code, simplify
16547
16548         * BufferView2.C (openStuff): use LFUN_MESSAGE
16549         (toggleFloat): ditto
16550         (menuUndo): ditto
16551         (menuRedo): ditto
16552         (copyEnvironment): ditto
16553         (pasteEnvironment): ditto
16554         (copy): ditto
16555         (cut): ditto
16556         (paste): ditto
16557         (gotoInset): ditto
16558         (updateInset): remove some commented code
16559
16560         * lastfiles.h: inherit privately from noncopyable
16561         * layout.h: ditto
16562         * lyx_gui.h: ditto
16563         * lyx_main.h: ditto
16564         * lyxlex.h: ditto
16565         * lyxlex_pimpl.h: ditto
16566
16567         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16568         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16569         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16570
16571         * LyXAction.h: inherit privately from noncopyable, add methods
16572         func_begin, func_end, returning iterators to the func map.
16573
16574         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16575         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16576         (func_begin): new method
16577         (func_end): new method
16578
16579         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16580         and not)
16581         (copySelection): ditto
16582         (pasteSelection): ditto
16583
16584         * BufferView.C: whitespace change
16585         * BufferView.h: inherit privately from noncopyable
16586
16587 2001-04-16  Allan Rae  <rae@lyx.org>
16588
16589         * tabular-old.C (l_getline):
16590         * spellchecker.C (sc_check_word):
16591         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16592         an unrecognised preprocessor directive.  So ensure they're wrapped.
16593
16594 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16595
16596         * src/exporter.C (Export): Give an error message when path to file
16597         contains spaces.
16598
16599 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16600
16601         * LaTeX.C (deplog): Always check that foundfile exists.
16602
16603 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16604
16605         * lyx_main.h:
16606         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16607
16608 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16609
16610         * tabular.[Ch] (getLabelList): implement new method
16611
16612         * minibuffer.h: comment ouf setTiimer
16613
16614         * minibuffer.C (ExecutingCB): constify res
16615         (peek_event): constify s
16616         (Set): constify ntext
16617         (Init): constify nicename
16618
16619         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16620
16621         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16622         (savePosition): use two params to Minibuffer::Set
16623         (restorePosition): ditto
16624
16625 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16626
16627         * lyx_main.C: include language.h
16628
16629         * Makefile.am (lyx_main.o): add language.h
16630
16631 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16632
16633         * exporter.C:
16634         * paragraph.C:
16635         * screen.C:
16636         * tabular.C:
16637         * CutAndPaste.C: include gettext.h
16638
16639         * lyxfont.h: remove old hack with ON and OFF.
16640
16641         * lyxparagraph.h:
16642         * lyxfont.h: do not include language.h...
16643
16644         * BufferView2.C:
16645         * LaTeXFeatures.C:
16646         * Painter.C:
16647         * bufferview_funcs.C:
16648         * font.C:
16649         * lyxfont.C:
16650         * text.C:
16651         * text2.C:
16652         * trans_mgr.C:
16653         * paragraph.C: ... but do it here instead
16654
16655 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16656
16657         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16658
16659         * tabular.C: small reformat
16660
16661         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16662         NEW_INSETS version
16663         (GetChar): ditto
16664         (BreakParagraph): ditto
16665         (SetOnlyLayout): ditto
16666         (SetLayout): ditto
16667
16668         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16669         with one arg less.
16670
16671         * lastfiles.C: removed most using decl, add std:: where needed
16672
16673         * buffer.C: ws changes
16674
16675         * MenuBackend.C (class compare_format): put into anon namespace
16676         (expand): constify label, names, action, action2
16677         (expand):
16678
16679         * text.C (SingleWidth): constify font
16680         (IsBoundary): constify rtl2
16681         (GetVisibleRow): constify ww
16682
16683         * LaTeX.C (deplog): constify logfile
16684
16685         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16686         start_x, end_x
16687         (workAreaExpose): constify widthChange, heightChange
16688
16689         * lyxrow.C (par): moved
16690         (height): moved
16691         (next): moved
16692         * lyxrow.h: as inlines here
16693
16694         * lyxfont.h (shape): moved from lyxfont.C
16695         (emph): moved from lyxfont.C
16696
16697         * lyxfont.C (LyXFont): use initialization list for all
16698         constructors
16699         (shape): move to lyxfont.h as inline
16700         (emph): move to lyxfont.h as inline
16701
16702
16703 2001-04-04  Juergen Vigna  <jug@sad.it>
16704
16705         * vspace.C: had to include stdio.h for use of sscanf
16706
16707 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16708
16709         * BufferView.h:
16710         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16711         independent of xforms.
16712
16713 2001-04-02  Juergen Vigna  <jug@sad.it>
16714
16715         * spellchecker.C: fixed namespace placing!
16716
16717 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16718
16719         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16720         the LyXParagraph * is 0.
16721
16722 2001-03-29  Juergen Vigna  <jug@sad.it>
16723
16724         * vspace.C: added support for %, c%, p%, l%.
16725         (stringFromUnit): added helper function.
16726         (asLatexString): changed to give right results for the %-values.
16727
16728         * buffer.C: convert the widthp in a width%.
16729
16730 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16731
16732         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16733         figureForm.[Ch].
16734
16735         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16736         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16737
16738         * lyx_cb.[Ch]: see above.
16739
16740         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16741         form1.[Ch].
16742
16743         * form1.[Ch]:
16744         * lyx.[Ch]: replaced by figure_form.[Ch].
16745
16746         * lyx_gui.C:
16747         * lyx_gui_misc.C:
16748         * lyxfunc.C: changed headers associated with above changes.
16749
16750 2001-03-27  Juergen Vigna  <jug@sad.it>
16751
16752         * BufferView_pimpl.C: set the temporary cursor right!
16753
16754 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16755
16756         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16757
16758 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16759
16760         * LString.h: removed "using std::getline"!
16761
16762         * BufferView_pimpl.C (Dispatch): changes due to changes in
16763         InsetInclude::Params.
16764
16765         * buffer.C (tag_name): removed redundant break statements as they were
16766         producing lots of warnings with my compiler.
16767
16768 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16769
16770         * LString.h: add "using std::getline" when using the real <string>.
16771
16772 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16773
16774         * buffer.C: removed bitset usage.
16775         PAR_TAG moved to an anonymous name space.
16776         (tag_name): new funtion, also in the anonymous namespace.
16777         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16778         (makeDocBookFile): clean code. Completed transition from string arrays
16779         to string vectors.
16780         (SimpleDocBookOnePar): code clean.
16781
16782 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16783
16784         * tabular.C: add some comments.
16785
16786 2001-03-22  Juergen Vigna  <jug@sad.it>
16787
16788         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16789         compatibility read a bit and fixed bug with minipage in different
16790         depth.
16791
16792 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16793
16794         * buffer.C (pop_tag): removed.
16795         (push_tag): removed.
16796         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16797         array replaced with vector. Added support for CDATA sections.
16798         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16799         at any nest level.
16800         (makeDocBookFile): XML conformant declaration of CDATA section,
16801         fixed bug related to <emphasis> in the first paragraph char.
16802         (sgmlOpenTag): exclude empty tags.
16803         (sgmlCloseTag): ditto.
16804
16805         * buffer.h (pop_tag): removed.
16806         (push_tag): removed.
16807
16808 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16809
16810         * language.h (Languages): added size_type and size().
16811
16812 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16813
16814         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16815         response on compability reading of minipages. One probliem is that
16816         the old usage of minipages was «flertydig»
16817
16818         * several files here and in subdirs: don't use static at file
16819         scope use anon namespaces instead.
16820
16821 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16822
16823         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16824         LaTeX output. This is necessary for Literate document
16825         processing.
16826
16827 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16828
16829         * buffer.C: insert hfill when needed.
16830
16831         * tabular.C (l_getline): use string::erase, small whitespace change.
16832
16833         * BufferView_pimpl.C: try the anon namespace.
16834         * WorkArea.C: ditto
16835
16836 2001-03-16  Juergen Vigna  <jug@sad.it>
16837
16838         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16839         otherwise it won't open options-dialogs.
16840
16841         * buffer.C: honor pextraWidth(p) on converting minipages.
16842
16843         * tabular.C (l_getline): changed the functions to strip trailing \r.
16844
16845 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16846
16847         * BufferView_pimpl.C:
16848         * minibuffer..C: added "using SigC::slot" declaration.
16849
16850 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16851
16852         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16853
16854         * text2.C: ditto
16855
16856         * text.C: ditto
16857
16858         * paragraph.C: ditto
16859
16860         * lyxtext.h: NO_PEXTRA
16861
16862         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16863
16864         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16865         * ParameterStruct.h: ditto
16866         * ParagraphParameters.h: ditto
16867         * lyxparagraph.h: ditto
16868
16869 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16870
16871         * buffer.C: add compability for minipage alignment.
16872         (latexParagraphs): remove unwanted pextra check.
16873
16874         * several files: remove CXX_WORKING_NAMESPACES
16875
16876         * buffer.C (pop_tag): tie is in namespace boost
16877
16878         * BufferView.h: noncopyable is in namespace boost
16879         * lyxlex.h: ditto
16880         * lyx_main.h: ditto
16881         * lyx_gui.h: ditto
16882         * layout.h: ditto
16883         * lastfiles.h: ditto
16884         * bufferlist.h: ditto
16885         * ShareContainer.h: ditto
16886         * LyXView.h: ditto
16887         * LyXAction.h: ditto
16888         * LaTeX.h: ditto
16889
16890 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16891
16892         * Merging changes from BRANCH_MVC back into HEAD.
16893
16894         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16895
16896 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16897
16898         * BufferView_pimpl.C: change from intl.C
16899
16900         * combox.h:
16901         * combox.C:
16902         * Makefile.am: move combox.*
16903
16904         * form1.h:
16905         * form1.C:
16906         * lyx_gui.C:
16907         * intl.h:
16908         * intl.C: remove dialog (covered by prefs)
16909
16910 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16911
16912         * lyxfunc.C (Dispatch): removed redundant break statement.
16913
16914 2001-03-14  Juergen Vigna  <jug@sad.it>
16915
16916         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16917
16918 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16919
16920         * buffer.C: add hack to fix compability reading of minipages.
16921
16922 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16923
16924         * buffer.C (getLists): Cleanup.
16925
16926 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16927
16928         * lyxfont.C (update): don't honor toggleall on font size.
16929
16930 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16931
16932         * bmtable.c:
16933         * bmtable.h:
16934         * Makefile.am: moved to frontends/xforms/
16935
16936         * lyx_gui_misc.C:
16937         * lyxfunc.C:
16938         * BufferView_pimpl.C: changes for moved mathpanel
16939
16940 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16941
16942         * gettext.h: fix gettext_init() in --disable-nls
16943
16944 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16945
16946         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16947
16948 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16949
16950         * lyx.C:
16951         * lyx.h: strip external form
16952
16953 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16954
16955         * BufferView_pimpl.C: add comment, destroySplash()
16956
16957 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16958
16959         * BufferView_pimpl.C:
16960         * LyXAction.C:
16961         * buffer.C:
16962         * commandtags.h:
16963         * lyxfunc.C: use re-worked insetinclude
16964
16965 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16966
16967         * buffer.C: add using std::stringstream.
16968
16969         * lyx_cb.C: readd using std::ios.
16970
16971         * buffer.C: add using std::map.
16972
16973         * BufferView_pimpl.C: add using std::vector.
16974
16975         * ShareContainer.h: add std:: to swap.
16976
16977         * buffer.h: add some typedefs
16978         * buffer.C (getLists): use them
16979         (getLists): renamed from getTocList.
16980         add a counter for the different float types and use it in the
16981         generated string.
16982         (getLists): use the same counter for the NEW_INSETS and the "non"
16983         NEW_INSETS
16984
16985         * lyx_cb.h: remove unused items, includes, using etc.
16986
16987         * ShareContainer.h: remove some commented code, add more comments
16988         and "documentation".
16989
16990 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16991
16992         * buffer.C (getTocList): make the list also when NEW_INSETS is
16993         defined.
16994
16995         * buffer.h: remove TocType
16996
16997         * buffer.C (getTocList): change to return a map<string,
16998         vector<TocItem> >, implement for dynamic number of list.
16999
17000         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17001         * text2.C (PasteSelection): adjust
17002         * CutAndPaste.C (pasteSelection): adjust
17003
17004         * FloatList.C (FloatList): update from the new_insets branch.
17005         * Floating.[Ch]: ditto
17006         * LaTeXFeatures.C: ditto
17007         * buffer.C: ditto
17008         * lyxlex_pimpl.C: ditto
17009
17010         * paragraph.C (Last): remove when NEW_INSETS is defined.
17011
17012         * other file: changes because of the above.
17013
17014 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17015
17016         * lyxparagraph.h: rename next to next_, previous to previous_,
17017         make them private for NEW_INSETS. Rename Next() to next(),
17018         Previous() to previous().
17019
17020         * other files: changes because of the above.
17021
17022 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17023
17024         * BufferView.h:
17025         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17026         problem.
17027
17028 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17029
17030         * main.C (main): pass lyx_localedir to gettext_init().
17031
17032         * gettext.h: remove locale_init and gettext_init macros
17033
17034         * gettext.C (locale_init): new function
17035         (gettext_init): new function
17036
17037         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17038         setlocale().
17039
17040 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17041
17042         * Moved credits to frontends:
17043         * credits.[Ch]: removed
17044         * credits_form.[Ch]: removed
17045         * lyx_gui_misc.C: remove credits stuff
17046         * Makefile.am:
17047
17048 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17049
17050         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17051
17052         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17053         unneeded destructor.
17054
17055         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17056         a standalone pointer again.
17057
17058         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17059
17060 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17061
17062         * Makefile.am:
17063         * filedlg.h:
17064         * filedlg.C:
17065         * LyXAction.C:
17066         * ToolbarDefaults.C:
17067         * bufferlist.C:
17068         * commandtags.h:
17069         * form1.C:
17070         * form1.h:
17071         * lyx_cb.C:
17072         * lyx_cb.h:
17073         * lyxfunc.h:
17074         * lyxfunc.C:
17075         * BufferView_pimpl.C: use new file dialog in GUII
17076
17077         * lyx_cb.h:
17078         * lyx_cb.C: remove LayoutsCB to Toolbar
17079
17080 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17081
17082         * ShareContainer.h (get): add std:: qualifier
17083
17084 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17085
17086         * ShareContainer.h: define a proper ShareContainer::value_type
17087         type (and use typename to please compaq cxx)
17088
17089 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17090
17091         * lyxparagraph.h: move serveral local vars to
17092         ParameterStruct/ParagraphParameters., use ShareContainer in
17093         FontTable., make vars in FontTable private and add getter and
17094         setter.
17095
17096         * paragraph.C: changes because of the above.
17097
17098         * lyxfont.h: remove copy constructor and copy assignment. (the
17099         default ones is ok), move number inside FontBits. move inlines to
17100         lyxfont.C
17101
17102         * lyxfont.C: add number to initializaton of statics, move several
17103         inlines here. constify several local vars. some whitespace
17104         cleanup. Dont hide outerscope variables.
17105
17106         * Spacing.h: add two new constructors to match the set methods.
17107
17108         * ShareContainer.h: new file, will perhaps be moved to support
17109
17110         * ParameterStruct.h: new file
17111
17112         * ParagraphParameters.h: new file
17113
17114         * ParagraphParameters.C: new file
17115
17116         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17117         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17118
17119         * BufferView_pimpl.C: ParagraphParameter changes.
17120         * buffer.C: Likewise.
17121         * bufferview_funcs.C: Likewise.
17122         * text.C: Likewise.
17123         * text2.C: Likewise.
17124
17125 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17126
17127         * lyxfind.C (LyXReplace): do not redefine default argument in
17128         implementation.
17129         (IsStringInText): ditto
17130         (SearchForward): ditto
17131         (SearchBackward): ditto
17132
17133 2001-03-06  Juergen Vigna  <jug@sad.it>
17134
17135         * lyxfind.C (IsStringInText): put parentes around expressions.
17136
17137 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17138
17139         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17140
17141 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17142
17143         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17144
17145         * stl_string_fwd.h: add comment
17146
17147         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17148
17149         * tabular.h:
17150         * tabular.C: remove unused DocBook methods
17151
17152         * intl.C:
17153         * language.C:
17154         * paragraph.C:
17155         * buffer.C:
17156         killed DO_USE_DEFAULT_LANGUAGE
17157
17158 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17159
17160         * lyx_gui.C: do not include language.h.
17161
17162         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17163         arguments in function implementation.
17164
17165 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17166
17167         * BufferView_pimpl.C: add <ctime>
17168
17169 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17170
17171         * BufferView_pimpl.C: add using std::find_if
17172
17173 2001-02-27  José Matos  <jamatos@fep.up.pt>
17174
17175         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17176         by OnlyPath.
17177
17178 2001-02-11  José Matos  <jamatos@fep.up.pt>
17179
17180         * buffer.C (makeDocBookFile): command styles now have a parameter as
17181         "title" by default.
17182
17183 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17184
17185         * layout_forms.[Ch]: removed
17186         * lyx_cb.[Ch]: out character
17187         * lyx_gui.C: out character
17188         * lyx_gui_misc.C: out character
17189         * bufferview_funcs.C: : out character,
17190         added toggleall as parameter in ToggleAndShow
17191
17192 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17193
17194         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17195
17196         * text2.C (SetCurrentFont): Disable number property at boundary.
17197
17198 2001-02-26  Juergen Vigna  <jug@sad.it>
17199
17200         * lyxfunc.C (getStatus): added a string argument override function so
17201         that this is correctly called from LyXFunc::Dispatch if it contains a
17202         do_not_use_argument which is used!
17203         (Dispatch): added check for "custom" export and call appropriate func.
17204
17205 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17206
17207         * lyxrc.C: Add language_command_local, language_use_babel and
17208         language_global_options.
17209
17210         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17211
17212         * buffer.C (makeLaTeXFile): Use language_use_babel and
17213         language_global_options.
17214
17215 2001-02-23  Juergen Vigna  <jug@sad.it>
17216
17217         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17218         which works with LyXText and putted it inside BufferView. Here now we
17219         only call for that part the BufferView::Dispatch() function.
17220
17221         * BufferView.C (Dispatch): added.
17222
17223         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17224         functions which needs to use a LyXText over from LyXFunc.
17225         (MenuInsertLyXFile): added
17226         (getInsetByCode): added
17227         (moveCursorUpdate): added
17228         (static TEXT): added
17229
17230 2001-02-22  Juergen Vigna  <jug@sad.it>
17231
17232         * BufferView_pimpl.C (update): call a status update to see if LyXText
17233         needs it.
17234
17235 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17236
17237         * vc-backend.C (revert): implement for CVS
17238         (getLog): implement for CVS
17239
17240 2001-02-20  Juergen Vigna  <jug@sad.it>
17241
17242         * text2.C (ClearSelection): added BufferView param for inset_owner call
17243
17244         * lyxfunc.C (TEXT): added this function and use it instead of
17245         directly owner->view()-text of getLyXText().
17246
17247 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17248
17249         * src/layout_forms.C: out preamble
17250         * src/layout_forms.h: out preamble
17251         * src/lyx_cb.C: out preamble
17252         * src/lyx_cb.h: out preamble
17253         * src/lyx_gui.C: out preamble
17254         * src/lyx_gui_misc.C: out preamble
17255         * src/lyxfunc.C: connect with guii preamble
17256
17257 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17258
17259         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17260
17261 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17262
17263         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17264         whether to run bibtex.
17265
17266 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17267
17268         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17269
17270 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17271
17272         * Makefile.am (lyx_SOURCES): removed bibforms.h
17273
17274         * vspace.h: doxygen
17275
17276         * text.C (GetVisibleRow): make several local vars const
17277
17278         * tabular.C: small cleanup.
17279
17280         * lyxserver.C (callback): use compare instead of strncmp
17281
17282         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17283         inlines to after class or to paragraph.C
17284
17285         * lyxfont.h: remove friend operator!=
17286
17287         * converter.h: move friend bool operator< to non friend and after
17288         class def.
17289
17290         * combox.h: small cleanup
17291
17292         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17293         to inlines after class def.
17294
17295         * buffer.C (pop_tag): use string operations instead of strcmp
17296
17297         * bmtable.c: doxygen, small cleanup
17298
17299         * LaTeX.h: remove friend operator==
17300
17301 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17302
17303         * screen.C:
17304         * lyxrc.[Ch]:
17305         * lyxfunc.C:
17306         * lyxfont.[Ch]:
17307         * lyx_cb.C:
17308         * intl.[Ch]:
17309         * commandtags.h:
17310         * buffer.C:
17311         * WorkArea.[Ch]:
17312         * LyXAction.C:
17313         * BufferView_pimpl.C:
17314         * BufferView.[Ch]: remove cruft
17315
17316 2001-02-14  Juergen Vigna  <jug@sad.it>
17317
17318         * lyxfunc.C: removed #if 0 unused code
17319
17320         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17321
17322         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17323
17324         * text2.C (SetSelection): added a BufferView * parameter
17325
17326 2001-02-13  Juergen Vigna  <jug@sad.it>
17327
17328         * lyxfunc.C (Dispatch): fixed protected blank problem.
17329         * BufferView2.C (protectedBlank): added LyxText * parameter.
17330
17331         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17332         (AppendColumn): same as above for column_info.
17333
17334         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17335         (moveCursorUpdate): use a LyXText param for support of InsetText.
17336
17337         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17338         (tripleClick): ditto
17339
17340         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17341
17342         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17343
17344         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17345
17346         * text2.C (SetSelection): set correct update status if inset_owner
17347         (ToggleFree): ditto
17348
17349 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17350
17351         * tabular.C: remove some commented code.
17352
17353 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17354
17355         * BufferView_pimpl.C: call hideSplash()
17356
17357         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17358
17359         * include_form.h:
17360         * bibforms.h: remove
17361
17362         * lyxfunc.C:
17363         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17364           add LFUN_CHILD_CREATE
17365
17366         * counters.h: fix tiny typo
17367
17368         * lyx_cb.C:
17369         * lyx.h:
17370         * lyx_gui.C:
17371         * lyx.C: move splash to frontends/xforms/
17372
17373         * lyx_gui_misc.C: move Include and Bibform to frontends
17374
17375         * lyxvc.h: clarify comment
17376
17377         * vspace.C: tiny housekeeping
17378
17379 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17380
17381         * text.C (PrepareToPrint): RTL Fix.
17382
17383         * paragraph.C (GetUChar): New method.
17384         (String):  Use GetUChar.
17385
17386         * buffer.C (asciiParagraph): Use GetUChar.
17387
17388 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17389
17390         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17391
17392 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17393
17394         * buffer.h:
17395         * buffer.C: rename to getLogName(), handle
17396           build log / latex log nicely
17397
17398 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17399
17400         * MenuBackend.C:
17401         * MenuBackend.h: remove support for reference menuitem type.
17402
17403 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17404
17405         * BufferView_pimpl.C: housekeeping
17406         * BufferView_pimpl.h:
17407         * LyXView.h:
17408         * Makefile.am:
17409         * Timeout.C:
17410         * Timeout.h:
17411         * minibuffer.h: move Timeout GUI-I
17412
17413 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17414
17415         * lyxrc.C (read): Update converters data-structures.
17416
17417 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17418
17419         * LaTeX.h (operator!=): add operator != for Aux_Info
17420
17421 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17422
17423         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17424
17425         * LaTeXLog.C: deleted, useful code moved to Buffer
17426
17427         * buffer.h:
17428         * buffer.C: new function getLatexLogName()
17429
17430         * lyx_gui_misc.C:
17431         * lyx_gui.C:
17432         * lyxvc.C:
17433         * lyxvc.h:
17434         * lyxfunc.C: use frontends for LaTeX and VC logs
17435
17436 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17437
17438         * LaTeX.h: yet another std:: that Allan forgot.
17439
17440         * Variables.C (set): renamed from isset(), because this clashes
17441         with some HP-UX macros (grr).
17442
17443 2001-02-06  Allan Rae  <rae@lyx.org>
17444
17445         * LaTeX.h: Another bug fix.  Missing std:: this time.
17446
17447 2001-02-04  Allan Rae  <rae@lyx.org>
17448
17449         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17450         floats problem. I've left it commented out because it's not quite
17451         correct.  It should also test that the current object is a table or
17452         figure inset.  But I haven't gotten around to figuring out how to do
17453         that.  I *think* it'll be something like: "table" == inset.type()
17454
17455         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17456         bool.
17457
17458 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17459
17460         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17461         all the citation/databases/styles in the auxilary file.
17462         (run): Rerun latex if there was a babel language error.
17463
17464 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17465
17466         * text.C (Backspace): Preserve the font when changing newline char
17467         with a space.
17468         (BreakParagraph): If the cursor is before a space, delete the space.
17469
17470         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17471
17472 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17473
17474         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17475         new argument (code).
17476         (ChangeCitationsIfUnique): New method.
17477
17478         * paragraph.C (GetPositionOfInset): Handle bibkey.
17479
17480 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17481
17482         * BufferView_pimpl.h: change type of Position::par_pos to
17483         LyXParagraph::size_type.
17484
17485 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17486
17487         * BufferView_pimpl.C (savePosition, restorePosition): Write
17488         messages to minibuffer.
17489
17490 2001-01-28  José Matos  <jamatos@fep.up.pt>
17491
17492         * buffer.C (makeDocBookFile): adds support for document language.
17493         A silly restriction on the name of LatexCommand types where removed.
17494         Added support for CDATA sections, allows to chars unescaped, used
17495         among others in code, to avoid escape < and >.
17496
17497 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17498
17499         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17500         saved positions instrad of a stack. Furthermore, a position is
17501         stored using paragraph id/paragraph position.
17502
17503         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17504         Remove LFUN_REF_BACK.
17505
17506 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17507
17508         * converter.C (dvipdfm_options): New method.
17509
17510 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17511
17512         * vspace.C (isValidLength): Fix for empty input string.
17513
17514 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17515
17516         * LyXAction.C (init): change description of LFUN_FIGURE to
17517         "Insert Graphics"
17518
17519 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17520
17521         * LaTeX.C: add using directive
17522
17523 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17524
17525         * MenuBackend.C (expand): Fix the sorting of the formats.
17526
17527 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17528
17529         * lyx_main.C: tiny error message fix
17530
17531 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17532
17533         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17534         calling fl_initialize(). This fixes the problem with ',' as
17535         decimal separator in text files.
17536
17537 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17538
17539         * trans.C (process): Fix the keymap bug.
17540
17541 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17542
17543         * LaTeX.C (scanAuxFiles): New method. Provides support for
17544         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17545         (scanLogFile) Scan for "run BibTeX" messages.
17546
17547         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17548         OT1 font encoding. Also, load the aecompl package if the ae
17549         package is loaded.
17550
17551         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17552
17553 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17554
17555         * texrow.C (increasePos): turn two error messages into debug
17556         messages.
17557
17558 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17559
17560         * LaTeX.C (scanAux): Handle the \@input macro.
17561         (runBibTeX): Use scanAux().
17562
17563         * language.C (latex_options_): New field.
17564
17565         * LaTeXFeatures.C (getMacros): Add language macros.
17566
17567         * buffer.C (makeLaTeXFile): Small fix.
17568
17569 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17570
17571         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17572
17573         * text2.C: add a using directive.
17574
17575 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17576
17577         * BufferView2.C:
17578         * lyx_gui_misc.h:
17579         * lyxfr1.C:
17580         * lyxfunc.C: kill LyXBell.
17581
17582 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17583
17584         * text.C (IsBoundary): Remove the error message
17585
17586         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17587
17588         * lyxrc.C (setDefaults): Correct initialization value for
17589         font_norm_type.
17590
17591 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17592
17593         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17594         gotoError().
17595
17596         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17597         and GotoNextNote().
17598
17599         * src/LyXAction.C: Added reference-next.
17600
17601         * text.C (InsertChar): Use contains instead of strchr.
17602
17603         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17604
17605 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17606
17607         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17608         alignment commands (when needed).
17609
17610         * text.C (InsertChar): Add ':' to number separator chars.