]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix out of range access to string
[lyx.git] / src / ChangeLog
1 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
4
5 2005-05-04  Angus Leeming  <leeming@lyx.org>
6
7         * lyxfunc.C (getStatus): disable the spell checker dialog if
8         none of USE_[AIP]SPELL are defined.
9
10 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
11
12         * tabular.C (setWidthOfCell): remove obsolete comment
13
14 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
15
16         * paragraph.C (bibitem):
17         * buffer_funcs.C (setCounter):
18         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
19
20 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
21
22         * text3.C (getStatus): immediately return after setOnOff        
23
24         * rowpainter.C: fix drawing of appendix start
25
26 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
27
28         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
29         SwitchBetweenClasses and remove the unused return value.
30         Handle character styles, too
31
32 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
33
34         * factory.C (createInset): handle undefined character styles
35
36 2005-05-02  Angus Leeming  <leeming@lyx.org>
37
38         * buffer.C: protect the #include of utime.h with a preprocessor
39         guard.
40
41 2005-05-02  Angus Leeming  <leeming@lyx.org>
42
43         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
44         function so that suto-saving works, albeit in a blocking manner.
45
46         * Makefile.am: make compilation of the client sub directory, of
47         apsellC, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
48         on conditionals set at configure time.
49
50         * SpellBase.[Ch]: no longer an abstract base class. Instead,
51         it can be compiled in its own right but has no-op functionality.
52
53         * aspell.C, pspell.C: remove preprocessor guards. The files should
54         be compiled only if the necessary functionality exists.
55
56         * lyxserver.C, lyxsocket.C: disable on Windows.
57
58 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
59
60         * text.C (leftMargin): Fix the parindent use bug (1764)
61         by dirty trick
62
63 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
64
65         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
66         argument.
67
68 2005-04-25  Angus Leeming  <leeming@lyx.org>
69
70         * Bidi.[Ch]:
71         * coordcache.[Ch]:
72         * ispell.C:
73         * lyxserver.C:
74         * mover.C:
75         * pch.h:
76         include <config.h> in .C files, not .h ones.
77         add licence blurb.
78         protect headers inside preprocessor guards.
79
80 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
81
82         * FuncStatus.h (StatusCodes): document
83
84 2005-04-21  André Pönitz  <poenitz@gmx.net>
85
86         * FuncStatus.h (enabled, onoff): document
87
88 2005-04-19  Angus Leeming  <leeming@lyx.org>
89
90         * BufferView_pimpl.C (cursorToggle): no longer test whether
91         any child processes have been reaped before calling
92         handleCompletedProcesses().
93
94 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
95
96         * text3.C (dispatch): fix, finally fix, the language problem in
97         new lyxtexts, without disabling on-the-fly font changes (Helge's
98         bug report)
99
100 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
101
102         * text3.C (dispatch): set cursor on double/triple click events
103         (bug 1811)
104
105 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
106
107         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
108         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
109
110         * rowpainter.C (paintFirst): simplify the code a little bit. In
111         particular, remove the test for secnumdepth.
112         * text.C (setHeightOfRow): only allocate space for chapter number
113         when updateCounters provided an actual label, instead of looking
114         at secnumdepth directly.
115
116         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
117
118         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
119         paragraphs when secnumdepth is large enough or, for environments,
120         when they are not the first in a sequence.
121
122 2005-04-17  Angus Leeming  <leeming@lyx.org>
123
124         * buffer.C (makeLaTeXFile): replace code to manipulate a path
125         containing space and '~' characters with a call to latex_path().
126
127 2005-04-17  Angus Leeming  <leeming@lyx.org>
128
129         * converter.C (convert): protect all args of convertDefault.sh
130         script with quotes.
131
132 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
133
134         * text3.C (dispatch): change the layout to "Caption" after inserting
135         a float.
136
137 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
138
139         * text3.C (dispatch): fix language problem in newly created
140         textinsets (and main text) in non-english docs
141
142 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
143
144         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
145         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
146         * text3.C (getStatus): disable LFUN_INSET_MODIFY
147
148 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
149
150         * lyxtext.h:
151         * text.C (metrics):
152         * text2.C (getFont):
153         * rowpainter.C (getFont): Fix metrics bug introduced by inset
154         fonts fix
155
156 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
157
158         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
159         output of \item arguments without trailing text.
160
161 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
162
163         * FontIterator.C (operator*): avoid a copy of the font.
164
165 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
166
167         * rowpainter.C (getFont): fix language bug from previous fix
168
169 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
170
171         * rowpainter.C (RowPainter, getFont): fix font inside inset
172         (bugs 1766, 1809)
173
174 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
175
176         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
177         preventing inserted font, deco, delim insets jumping to start of
178         surrounding inset.
179
180 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
181
182         * lyxfunc.C (dispatch): translate message before sending it to the
183         minibuffer.
184
185 2005-03-29  Angus Leeming  <leeming@lyx.org>
186
187         * lyx_main.C (priv_exec): call os::internal_path on each file passed
188         to LyX on the command line.
189
190 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
191
192         * vc-backend.C: use QuoteName to protect file names wherever
193         necessary.
194
195 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
196
197         * buffer.[Ch]:
198         * BranchList.h: fix bugs 1844,1845: document settings don't
199         stick
200
201 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
202
203         * lyxrc.C (setDefaults, read, output, getDescription): add support
204         for tex_allows_spaces.
205
206         * exporter.C (Export): allows files in directory containing spaces
207         if tex_allows_spaces is true.
208
209         * buffer.C (makeLaTeXFile): if the document path contains spaces,
210         output it in double quotes.
211
212 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
213
214         * rowpainter.C: use default text height for drawing change tracker
215         strikeout lines.
216
217 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
218
219         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
220
221 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
224         directory is missing.
225
226 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
227
228         * text2.C: fixed the fix, extended to other case.
229
230 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
231
232         * text2.C: fix for cursor up/down stuck in math [bug 1792]
233
234 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
235
236         * text2.C (cursorUp): get rid of a crash
237         * text.C (x2pos): add an assert
238
239 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
240
241         * lyxfunc.C (getStatus): fix warning when assertions are disabled
242
243         * text3.C:
244         * lyxfunc.C:
245         * dociterator.C: include <boost/current_function.hpp>, which is
246         needed when assertions are disabled.
247
248 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
249
250         * text2.C: fix for stuck cursor when traversing two
251         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
252
253 2005-02-25  Andreas Vox  <avox@arcor.de>
254
255         * output_docbook.C (makeParagraph): suppress trailing newline
256         after a run of paragraphs
257
258 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
259
260         * paragraph.C: fix for confused change tracker when pasting
261         text that begins with a lineseparator. [bug 1827]
262         (setChange(0, Change::INSERTED);)
263
264         * paragraph_funcs.C: fix for lost changes on triple-paste
265         in change tracking mode [bug 1827] (par.setChange()).
266
267 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
268
269         * text2.C (updateCounters, setCounter, expandLabel): move to
270         buffer_funcs.
271
272         * buffer_funcs.C (updateCounters): turn into a free standing
273         function and add a buffer parameter. Remove dead code for tracking
274         labelstring change.
275         (setCounter): change into a free-standing function which gets a
276         dociterator as argument. Use this iterator to fix captions in a
277         simple way. When no float is found above the caption, use the
278         labelstring of the caption layout as default.
279
280         * text.C (breakParagraph, backspace):
281         * text2.C (init, setLayout, changeDepth):
282         * text3.C (dispatch):
283         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
284         updateCounters.
285
286         * dociterator.C (forwardPar): make it much faster by calling
287         forwardPos() only when really necessary.
288
289         * output_docbook.C (makeCommand): adapt to expandLabel move.
290
291         * cursor.C: remove unused variable
292
293 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
294
295         * paragraph_funcs.C: fix crash when pasting insets in change
296         tracking mode [bug 1277] (honour change type in moveItem).
297
298 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
299
300         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
301
302 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
303
304         * BufferView.C (setCursor): change to use a DocIterator.
305         (gotoLabel): use BufferView::setCursor (other part of bug 781).
306         (putSelectionAt): adapt to BufferView::setCursor change.
307
308         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
309         moved here from LyXText and rewritten to use proper cursor
310         methods. Fixes bug 1787, 616 and 835.
311
312         * BufferView_pimpl.C (restorePosition): set the cursor correctly
313         when inside an inset (part of bug 781).
314         (dispatch): adapt to change of BufferView::setCursor.
315         (getStatus, dispatch): handle LFUN_GOTOERROR,
316         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
317
318         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
319         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
320         * text3.C (gotoNextInset, gotoInset): removed.
321
322 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
323
324         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
325
326 2005-02-15  Angus Leeming  <leeming@lyx.org>
327
328         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
329         can be used meaningfully in a comparison.
330
331 2005-02-13  André Pönitz  <poenitz@gmx.net>
332
333         * bufferview_funcs.C (coordOffset): improve cursor drawing
334
335 2005-02-13  André Pönitz  <poenitz@gmx.net>
336
337         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
338         * Cursor.C (dispatch): use fixIfBroken
339         * lyxfunc.C (getStatus): use fixIfBroken
340
341 2005-02-15  Angus Leeming  <leeming@lyx.org>
342
343         * lyx_main.C (error_handler):
344         * lyxfunc.C:
345         * lyxrc.C (setDefaults):
346         s/GetEnv/getEnv/.
347         #include "environment.h".
348
349         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
350
351 2005-02-15  Angus Leeming  <leeming@lyx.org>
352
353         * lyxserver.C (startPipe): squash MSVC warning "local variable
354         'fd' used without having been initialized".
355
356 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
357
358         * BufferView_pimpl.C: revert accidental commit.
359
360 2005-02-14  André Pönitz  <poenitz@gmx.net>
361
362         * dociterator.[Ch]: new member forwardPosNoDescent(),
363         which doesn't enter nested insets.
364         * text2.C (setFont): use forwardPosNoDescent() instead
365         of ForwardPos() (fixes crash on font change).
366
367 2005-02-13  Angus Leeming  <leeming@lyx.org>
368
369         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
370         only if lyxrc.path_prefix is not empty.
371
372 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
373
374         * bufferparams.C (readGraphicsDriver): prevent crash
375
376 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
377
378         * text2.C (setCounter): check for inInset() == 0
379
380 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
381
382         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
383         but use update() to get correct screen display; use convert
384         instead of istringstream.
385         (getStatus): handle LFUN_GOTO_PARAGRAPH
386
387         * lyxfunc.C (dispatch, getStatus): do not handle
388         LFUN_GOTO_PARAGRAPH here.
389
390 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
391
392         * text3.C (dispatch): size() -> depth()
393
394         * text2.C: remove some debug output
395
396         * paragraph.C: ws changes only
397
398         * lyxfunc.C (getStatus): size() -> depth()
399
400         * dociterator.h (clear, push_back, pop_back, internalData,
401         operator[], resize, empty): new functions
402         Make StableDocIterator and operator== be friends. Don't inherit
403         from std::vector use a privat class variable slices_ instead.
404         Modify to fit.
405
406         * dociterator.C: update because of not inheriting from std::vector
407         anymore. Call explictly to slices_ instead. Use depth() instead of
408         size() and top() instead of back()
409
410         * cursor.C: chagne size() -> depth and back() -> top(). Also
411         remove some direct operator[](i) calls in favour of foo[i]
412         (getFont): remove some dead code
413
414         * bufferview_funcs.C (coordOffset): size() -> depth()
415
416         * buffer.C: ws changes only
417
418         * CutAndPaste.C (eraseSelection): back() -> top()
419
420         * BufferView_pimpl.C (selectionRequested): back() -> top()
421
422         * BufferView.C (setCursor): size() -> depth()
423
424 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
425
426         * text3.C (cursorPrevious): return true if depm changed something
427         (cursorNext): ditto
428         (dispatch): rename sl to oldTopSlice, remove moving use the new
429         NoUpdate func attrib instead. Make sure that needsUpdate is set
430         for function that have NoUpdate, but where depm might have changed
431         the buffer anyway.
432
433         * text2.C (cursorLeft): make us return true if depm changed
434         something
435         (cursorRight): ditto
436         (cursorUpParagraph): ditto
437         (curosrDownParagraph): ditto
438         (cursorUp, cursorDown): ditto, make sure to read comments in code
439         (deleteEmptyParagraphMechanism): remove an assert, also return
440         true if just a single char was deleted.
441
442         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
443         cursor that we modify, to avoid modifying an active cursor before
444         we call setCursor. This allows depm to run. Also return true if
445         depm deleted something.
446
447         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
448         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
449         cursorDownParagraph, cursorPrevious and cursorNext, return true if
450         something was changed in the buffer because of them (ie. depm run)
451
452         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
453         debug messages. Make update by default be false. Make sure that
454         the result of update is retained throught several calls down to
455         dispatch.
456
457         * LyXAction.h: add a new func_attrib: NoUpdate
458
459         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
460         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
461         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
462         and LFUN_WORDLEFT
463         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
464
465 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
466
467         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
468         bv_->owner(), bv_->buffer() by direct references to the private
469         members.
470         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
471         (getStatus): isSavedPosition() is in BufferView::Pimpl.
472         (fitCursor): center() is in BufferView::Pimpl.
473         (getStatus, trackChanges, dispatch): no need for a temporary buf
474         variable
475         (fitCursor, workAreaDispatch): use workarea().workheight()
476
477 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
478
479         * CutAndPaste.C (pasteSelectionHelper): fix a crash
480
481 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
482
483         * buffer.C: format up to 241.
484         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
485         break if pasting into ERT
486         * lyxfunc.C (getStatus): suppress mathpanel and
487         LFUN_DIALOG_SHOW_NEW_INSET in ERT
488
489 2005-02-01  Angus Leeming  <leeming@lyx.org>
490
491         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
492
493 2005-02-01  Angus Leeming  <leeming@lyx.org>
494
495         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
496         calling fs::is_directory().
497
498 2005-01-31  Angus Leeming  <leeming@lyx.org>
499
500         * lyx_main.C (priv_exec): specify explicitly the relative location
501         of the top level build directory when run in-place.
502
503 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
504
505         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
506         LyXText containing the cursor, not the top-level one.
507
508         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
509         true.
510         (insertStringAsLines): rename par to pit; use temporary variable
511         par to hold a Paragraph; do not store par.layout() in a variable,
512         since the pointer may die when breaking paragraphs; pass pars to
513         breakParagraph() instead of Buffer::paragraphs().
514
515 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
516
517         * lyxlex_pimpl.h: #include <fstream>.
518
519         * BufferView.[Ch] (getLyXText): add a const version.
520
521         * BufferView_pimpl.C: add debug aids.
522
523         * RowList_fwd.h:
524         * buffer.h:
525         * lyxrow.h:
526         * paragraph_funcs.h: add commentary explaining what the class does.
527
528
529         * coordcache.[Ch]: add lots of commentary.
530         (startUpdating, doneUpdating): debug aids.
531         (arrays, insets, parPos, getParPos): accessors to private data.
532
533         * cursor_slice.[Ch] (text): add a const version.
534         * dociterator.[Ch] (text, innerText): add const versions.
535
536         * lyxtext.h (breakParagraph): change the keep_layout arg to a
537         bool.
538
539         * paragraph.C (getRow, pos2ros): add asserts.
540
541         * paragraph.h: add commentary. Lots of.
542
543         * paragraph.[Ch] (metrucs, draw): removed.
544
545         * cursor.C:
546         * rowpainter.[Ch]: const-correct changes.
547
548         * text.C: various obvious clean-ups. Removal of ancient cruft.
549         Bug fixes, even.
550
551 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
552
553         * vc-backend.C (find_file): rewrite to use boost.filesystem
554         (scanMaster): ditto
555
556         * main.C (main): set default name check for boost.filesystem to
557         no check
558
559         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
560         (open): ditto
561         (doImport): ditto
562         (actOnUpdatedPrefs): ditto
563
564         * lyx_main.C (init): rewrite to use boost.filesystem
565         (queryUserLyXDir): ditto
566
567         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
568         (getContentsOfAsciiFile): ditto
569
570         * lastfiles.C (readFile): rewrite to use boost.filesystem
571
572         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
573
574         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
575         (loadLyXFile): ditto
576
577         * buffer.C (Buffer): adjust for destroydir
578         (getLogName): rewrite to use boost.filesystem
579         (setFileName): ditto
580         (save): use fs::copy_file (from fs_extras)
581
582         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
583
584         * LaTeX.C (run): rewrite to use boost.filesystem
585         (scanAuxFiles): ditto
586         (handleFoundFile): ditto
587
588 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
589
590         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
591
592         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
593
594 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
595
596         * lyxlayout.[Ch]: change some vars from float to double
597
598         * buffer.C (readFile): make a local var const
599
600         * Several files: use convert<> instead of atoi,strToXXX and friends
601
602 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
603
604         * LaTeXFeatures.[Ch]: Add a static list packages_ that
605         holds the contents of packages.lst. New functions getAvailable
606         and isAvailable to parse and check that list, resp.
607
608         * LyXAction.C:
609         * lfuns.h:
610         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
611
612         * bufferparams.[Ch]: new param output_changes.
613
614         * Buffer.C: increase file format to 240.
615         Use output_changes and isVailable.
616
617         * changes.[Ch]:
618         * paragraph.C:
619         * paragraph_pimpl.C: Use output_changes and isVailable.
620
621 2005-01-23  Angus Leeming  <leeming@lyx.org>
622
623         * output_latex.C: #include "insetbibitem.h", rather than
624         forward declare function bibitemWidest.
625
626 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
627
628         * lyx_main.C (init): make it compile on the Mac.
629
630 2005-01-20  Angus Leeming  <leeming@lyx.org>
631
632         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
633         (setLyXMisc): (char string literal) != (char string literal) is
634         performing a comparison on the addresses. Convert one operand
635         explicitly to string to guarantee expected behaviour.
636         From MSVC warning.
637
638 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
639
640         * buffer.C:
641         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
642
643         * output_plaintext.C: remove unneeded #include gzstream.h.
644
645 2005-01-20  Angus Leeming  <leeming@lyx.org>
646
647         * SpellBase.h: rename some of the elements of the Result enum.
648
649         * aspell_local.h:
650         * ispell.h:
651         * pspell.h:
652         * aspell.C (check):
653         * ispell.C (check):
654         * pspell.C (check): ditto
655
656 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
657
658         * buffer.C: add #include <fstream>.
659
660         * lyx_main.C (init): Compile fix.
661
662         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
663
664 2005-01-20  Angus Leeming  <leeming@lyx.org>
665
666         * mover.h: change commentary to reflect the changed meaning of
667         the $$s placeholder.
668
669 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
670
671         * output_linuxdoc.C (linuxdocParagraphs): silence warning
672
673         * lyxfind.C (MatchString::operator()): remove bogus semicolon
674
675 2005-01-20  Angus Leeming  <leeming@lyx.org>
676
677         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
678         printing diagnostic data by not dereferecing an iterator past the
679         end.
680
681 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
682
683         * buffer.C (readHeader): use "&&" rather than "and".
684
685         * lyxserver.h (inPipeName, outPipeName): make these const.
686
687 2005-01-19  Angus Leeming  <leeming@lyx.org>
688
689         * lyx_main.C (error_handler, init): protect SIGHUP with
690         #ifdef SIGHUP guards.
691
692 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
693
694         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
695
696 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
697
698         * text.C (setHeightOfRow): add a margin at the top and bottom of
699         the document (bug 1761)
700
701 2005-01-17  Angus Leeming  <leeming@lyx.org>
702
703         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
704         with "python ". Workaround for a brain-dead Windows.
705
706 2005-01-16  Angus Leeming  <leeming@lyx.org>
707
708         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
709         for MacOSX and Windows to use prependEnvPath.
710         Strip out the hard-coded block to add elements to the PATH for
711         MacOSX and replace it with a call to prependEnvPath using the
712         contents of LyXRC::path_prefix.
713         (queryUserLyXDir): strip out the code to run reconfigure, instead
714         returning a boolean indicating the necessity to do so.
715         (reconfigureUserLyXDir): contains the code to reconfigure the
716         user support directory. Is now called after the various LyXRC data
717         files have been read.
718
719         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
720
721 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
722
723         * converter.[Ch] (convert): take a new parameter try_default. Use
724         a default converter (imagemagick) if try_default is true.
725
726 2005-01-13  Angus Leeming  <leeming@lyx.org>
727
728         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
729         os::cygwin_path_fix.
730         (write): output LyXRC::cygwin_path_fix as necessary.
731
732 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
733
734         * lyxrc.h:
735         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
736
737 2005-01-12  Angus Leeming  <leeming@lyx.org>
738
739         * lyx_main.C (init): set the PATH variable to include the
740         directory containing the LyX binary when running on Mac or Windows.
741
742 2005-01-12  Angus Leeming  <leeming@lyx.org>
743
744         * lyx_main.C (init): remove cruft that purports to set the locale
745         dir. It doesn't and is not needed anyway.
746
747 2005-01-10  Angus Leeming  <leeming@lyx.org>
748
749         * Makefile.am: remove the lyx_main.C special casing.
750
751         * BufferView_pimpl.C:
752         * bufferlist.C:
753         * exporter.C:
754         * lyx_cb.C:
755         * lyx_main.C:
756         * lyxfunc.C:
757         * messages.C: use support/package.h to provide the paths to the
758         various directories used by LyX.
759
760 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
761
762         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
763         layout if pasting into an empty paragraph)
764
765 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
766
767         * tex-accent.C: add <string>
768
769 2005-01-06  José Matos  <jamatos@lyx.org>
770
771         * ParagraphParameters.C (write): put every parameter in its own line.
772         * paragraph.C (write): reduce number of consecutive empty lines exported.
773         * buffer.C (LYX_FORMAT): increase file format to 239.
774
775 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
776
777         * everywhere: change support/tostr.h -> support/convert.h
778
779         * tabular.C: make all write_attributes templates, tostr -> convert
780
781         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
782         (emptyTag): and -> &&, and fix type for ret from getChar
783         (getFirstWord): fix type for ret from getChar
784         (onlyText): and -> &&
785         (simpleDocBookOnePar): and not -> && !, fix type for ret from
786         getChar
787
788         * toc.C (goTo, action):
789         * text3.C (dispatch):
790         * text.C (currentState):
791         * tex-accent.C (DoAccent):
792         * sgml.C:
793         * lyxrc.C:
794         * lyxfunc.C (menuNew):
795         * lyxfinc.C (replace):
796         * counters.C (laberItem):
797         * bufferview_funcs.C (font2string):
798         * bufferparams.C (writeFile):
799         * buffer.C (readFile):
800         * Spacing.C (set):
801         * MenuBackend.C: tostr -> convert
802
803         * LaTeX.C (runMessage): fix format
804         (scanAuxFiles): tostr -> convert
805
806         * BufferView_pimpl.C (savePosition): fix format
807         (restorePosition): ditto
808         (dispatch): ditto
809
810 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
811
812         * Spacing.[Ch]: New method getValueAsString().
813
814         * Spacing.[Ch]:
815         * bufferparams.C:
816         * ParagraphParameters.C:
817         * lyxlayout.C:
818         * text.C:
819         * text3.C: store/read spacing value as string.
820
821         * rowpainter.C: change float value (spacing_val) to double.
822
823         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
824         broken custom document spacing).
825
826 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
827
828         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
829         namespace, also more use of temp references and const
830
831         * cursor.[Ch] (getStatus): move to lyxfunc.C
832
833         * bufferparams.C: reformat slightly
834
835         * bufferview_funcs.C (font2string): constify arg
836
837         * changes.C:
838         * converter.C:
839         * counters.C:
840         * bufferlist.C:
841         * buffer_funcs.C: (many funcs): constify arg on function
842         definitions, also make more local vars const, also add ASSERTS on
843         pointer args.
844
845         * buffer.C (LYX_FORMAT): put const in correct place
846         (many funcs): constify arg on function definitions, also make
847         more local vars const
848
849         * aspell_local.h: remove "struct" from typdef setup
850
851         * aspell.C (check): make word_ok const
852         (nextMiss): simplify slightly
853         (error): ditto
854
855 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
856
857         * lyxrc.[Ch]: store all float values as strings.
858         use int (not float) for lyxrc.dpi.
859
860 2005-01-04  Angus Leeming  <leeming@lyx.org>
861
862         * lyx_cb.C (Reconfigure):
863         * lyx_main.C (queryUserLyXDir):
864         to run the <system_lyxdir>/configure correctly on Windows, prefix
865         the path to the script with "sh " when generating the string that
866         is passed to system().
867
868 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
869
870         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
871
872 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
873
874         * lyxlength.C (asLatexString): get rid of setprecision
875
876 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
877
878         * text2.C (setLayout): remove unused variable endpit.
879         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
880
881         * paragraph.C (onlyText): remove unused variable style.
882
883         * cursor.C (bruteFind): remove unused variables beg and end.
884
885         * Makefile.am (dist_noinset_DATA): not needed anymore
886
887         * cheaders/*: remove.
888
889 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
890
891         * text3.C: fix LFUN_MATH_MODE.
892
893 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
894
895         * buffer_funcs.C (countWords): new function. Counts words between
896         two iterators.
897
898         * BufferView_pimpl.C (getStatus, dispatch): handle
899         LFUN_WORDS_COUNT.
900
901         * LyXAction.C (init):
902         * lfuns.h: add LFUN_WORDS_COUNT.
903
904 2004-12-19  Angus Leeming  <leeming@lyx.org>
905
906         * buffer.C (save): s/slashify_path/internal_path/.
907
908 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
909
910         * lyxfind.C (findChange): do not search for end of pars, because
911         the change tracker cannot handle this (fixes bug 1719).
912
913 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
914
915         * paragraph.[Ch] (autoBreakRows): remove
916
917         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
918
919         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
920         avoid using the paragraph one
921
922         * text2.C (LyXText, insertStringAsLines): adjust
923
924 2004-12-16  Angus Leeming  <leeming@lyx.org>
925
926         * bufferlist.C:
927         * lyx_main.C:
928         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
929
930 2004-12-14  Angus Leeming  <leeming@lyx.org>
931
932         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
933
934         * bufferlist.C (emergencyWrite):
935         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
936         GetEnvPath("HOME").
937
938 2004-12-14  Angus Leeming  <leeming@lyx.org>
939
940         * main.C: (main): no longer pass pointers to os::init.
941
942 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
943
944         * undo.C (textUndoOrRedo): simplify logic, fix a crash
945         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
946
947 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
948
949         * lyxfunc.C:
950         * text3.C: remove selection_possible global flag
951
952 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
953
954         * text2.C (getSelectionSpan): remove
955         (changeDepth, changeDepthAllowed): adjust
956
957 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
958
959         * Makefile.am (BOOST_LIBS): use boost variables
960
961 2004-12-03  José Matos  <jamatos@lyx.org>
962
963         * buffer.C: format up to 238.
964
965 2004-12-03  José Matos  <jamatos@lyx.org>
966
967         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
968
969 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
970
971         * cursor.C (goUpDown): remove call to idxUpDown2
972
973 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
974
975         * tabular.[Ch]: use size_t-like types for cell, row and column
976         indices
977
978 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
979
980         * lyxfunc.C (getStatus): do not lose previous information when
981         calling BufferView::getStatus; do not set a default "Command
982         disabled" message at the beginning, but just before returning.
983
984 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
985
986         * cursor.h (getStatus): add better comment from src/cursor.C
987
988 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
989
990         * text3.C (getStatus): return false when the lfun is not handled
991
992 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
993
994         * broken_headers.h: remove
995
996         * Makefile.am (lyx_SOURCES): remove broken_headers.h
997
998 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
999
1000         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1001         offset_ref accessors
1002
1003         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1004         top_y_, merge fitcursor with update
1005         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1006         coord scheme
1007         (metrics): introduce
1008         (workAreaDispatch): adapt to new coord scheme
1009         (redoCurrentBuffer): remove
1010
1011         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1012
1013         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1014         CurStatus enum.
1015
1016         * coordcache.[Ch]: add paragraph cache and helpers
1017
1018         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1019         adjust everywhere
1020
1021         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1022         (targetX, setTargetX): introduce
1023
1024         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1025         baseline -> ascent, as the rest of lyx
1026
1027         * lyxtext.h: remove redoParagraphs, updateParPositions,
1028         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1029         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1030         have ascent/descent (ascent is ascent of first par)
1031
1032         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1033         step of BufferView
1034
1035         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1036
1037         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1038
1039         * pariterator.C: fix infinite loop introduced in par->pit renaming
1040
1041         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1042         in insets and LyXText, draw two off-screen paragraphs using
1043         NullPainter, and adapt to new coord scheme
1044
1045         * text.C:
1046         * text2.C:
1047         * text3.C: adapt lfun handlers to the new coord scheme, which
1048         means: there's only guaranteed coord information for onscreen pars
1049         plus one above and one below. This implies that one can do search
1050         from y coordinates in the range [-1,workHeight]
1051
1052 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1053
1054         * rename a lot of InsetOld to InsetBase
1055
1056 2004-11-25  Angus Leeming  <leeming@lyx.org>
1057
1058         * BufferView_pimpl.C:
1059         * lyx_cb.C:
1060         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1061
1062 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1063
1064         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1065         call BufferView::getStatus if LCursor::getStatus did nothing
1066         (setStatusMessage, getStatusMessage): removed.
1067
1068         * FuncStatus.C (message): new methods. Used to provide an error
1069         message indicating why a command is disabled.
1070         (clear, |=, FuncStatus): update for message.
1071
1072 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1073
1074         * lyxfunc.C (dispatch): always call sendDispatchMessage
1075
1076 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1077
1078         * BufferView.C:
1079         * BufferView_pimpl.C:
1080         * CutAndPaste.C:
1081         * FontIterator.C:
1082         * buffer.C:
1083         * cursor.C:
1084         * cursor_slice.[Ch]:
1085         * dociterator.[Ch]:
1086         * lyxfind.C:
1087         * paragraph_funcs.C:
1088         * pariterator.C:
1089         * rowpainter.C:
1090         * text.C:
1091         * text2.C:
1092         * text3.C:
1093         * undo.C: par->pit renaming
1094
1095 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1096
1097         * tabular.C (cellstruct): use initialization, store a shared_ptr
1098         to insettext instead of the insettext directly, adjust to fit.
1099         (operator=):  new function
1100         (swap): new function
1101         (rowstruct): use initialization
1102         (columnstruct): use initialization
1103         (ltType): use initialization
1104
1105
1106         * lyxlength.h (swap): new function
1107
1108         * LColor.[Ch] (operator=): use the common semantics
1109
1110 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1111
1112         * lyxfind.C (findNextChange): update the bufferview after setting
1113         the selection.
1114
1115 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1116
1117         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1118         number of InsetOptArgs has already been inserted.
1119
1120         * output_latex.C (latexOptArgInsets): new method. This outputs all
1121         the optarg insets, up to the limit defined in the layout file.
1122         (optArgInset): removed
1123         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1124
1125 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1126
1127         * paragraph.C (isLetter): remove special spellchecker-related
1128         code; return true also for digits
1129         (isWord, isKomma): remove
1130
1131         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1132         * lyxfind.C (MatchString()): use isLetter instead of isWord
1133
1134 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1135
1136         * pariterator.h (operatir=): comment out un-implemented member
1137         function.
1138
1139         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1140         static cast.
1141
1142 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1143
1144         * lyxfont.h: include LColor.h to satisfy concept checks.
1145
1146 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1147
1148         * pariterator.h: add typdefs for value_type, difference_type,
1149         pointer and reference to satisfy concept checks. Also add default
1150         constructor for same reason.
1151
1152         * pariterator.C (operator++): add post-increment operator to
1153         satisfy concept checks.
1154
1155         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1156         checks.
1157
1158         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1159
1160         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1161         checks. Also rename base_type to BaseType to follow naming
1162         standard better.
1163
1164         * FloatList.h: include Floating.h to satisfy concept checks.
1165
1166 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1167
1168         * lyxfunc.C (getStatus): when the origin of the request is menu or
1169         toolbar, and the LyXView does not have focus, do as if there was
1170         no buffer (bug 1720)
1171
1172         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1173         FuncRequest to individual entries of LFUN_SEQUENCE
1174
1175 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1176
1177         * output_latex.C (TeXOnePar): override runparams.moving_arg
1178         according to the needprotect value of the current paragraph (bug
1179         1739)
1180
1181         * paragraph.C (simpleTeXOnePar): no need to override
1182         runparams.moving_args here
1183
1184 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1185
1186         * vspace.C: fix off-by-one-error, related to fix #1682
1187
1188 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1189
1190         * lengthcommon.C: a more general fix for bug 1682
1191
1192 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1193
1194         * text.C (backspace): fix crash
1195
1196 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1197
1198         * format.[Ch] (getFormatFromFile): new method
1199         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1200
1201 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1202
1203         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1204
1205 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1206
1207         * lyxfunc.C (dispatch): remove the verbose argument
1208         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1209         instead
1210
1211         * kbmap.C (defkey): set the origin of func to KEYBOARD
1212
1213         * MenuBackend.C (MenuItem):
1214         * ToolbarBackend.C (add): set the origin of func to UI
1215
1216         * funcrequest.[Ch]: add origin member, which indicates which part
1217         of LyX requests an action
1218
1219 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1220
1221         * converter.C (move): don't lie in the error message
1222         * converter.h (isReachable, move): document
1223
1224 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1225
1226         * buffer.C: remove unused using lyx::support::atoi
1227         * paragraph_funcs.C: ditto
1228
1229 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1230
1231         * bufferlist.C (exists): use bind and equal_to instead of
1232         compare_memfun
1233         (getBuffer): ditto
1234         * lyxtextclasslist.C (NumberOfClass): ditto
1235
1236         * cursor.C (insert): use for_each instead of explicit for loop
1237
1238         * bufferlist.C (getFileNames): use std::transform and
1239         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1240
1241         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1242         for loop
1243
1244         * buffer.C (changeLanguage): use for_each instead of explicit for
1245         loop
1246         (hasParWithID): implement using getParFromID
1247
1248         * LaTeXFeatures.C: ws change only
1249
1250         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1251         to cleanup a bit.
1252
1253         * BufferView_pimpl.C (trackChanges): use for_each instead of
1254         expilicit for loop
1255
1256 2004-11-04  André Pönitz  <poenitz@gmx.net>
1257
1258         * undo.h:
1259         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1260
1261         * dociterator.C (asDocIterator): use hard assert again.
1262
1263 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1264
1265         * lyxlength.C (asLatexString): rewrite so that it does not use
1266         snprintf anymore
1267
1268 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1269
1270         * text3.C (specialChar, dispatch): make sure cursor moves to the
1271         right after inserting an inset
1272
1273 2004-11-02  José Matos  <jamatos@lyx.org>
1274
1275         * output_docbook.C (docbook):
1276         * paragraph.C (getID):
1277         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1278         garantee that the output is always legal.
1279
1280         * tabular.C (docbook):
1281         * outputprams.[Ch]: remove mixed contents.
1282
1283 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1284
1285         * text2.C (setCounter): prevent endless loop
1286
1287 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1288
1289         * exporter.C (copyFile): use the mover instead of support::copy()
1290         * exporter.C (Export): pass format and latex name to copyFile()
1291         * exporter.h (addExternalFile): document
1292         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1293
1294 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1295
1296         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1297
1298 2004-10-30  José Matos  <jamatos@lyx.org>
1299
1300         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1301         text and no inset or font change. This allows to use CDATA
1302         sections just for the whole paragraph.
1303
1304 2004-10-30  José Matos  <jamatos@lyx.org>
1305
1306         * paragraph.C (getFirstWord): remove unused variable.
1307
1308 2004-10-30  José Matos  <jamatos@lyx.org>
1309
1310         * paragraph.C (getFirstWord): the content should always be escaped
1311         there.
1312         (simpleDocBookOnePar):
1313         * output_docbook.C (makeEnvironment): replace reference to CDATA
1314         to style pass_thru.
1315
1316 2004-10-30  José Matos  <jamatos@lyx.org>
1317
1318         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1319
1320 2004-10-30  José Matos  <jamatos@lyx.org>
1321
1322         * output_docbook.C (makeParagraphs):
1323         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1324         standard paragraph has only a given type of content drop the wrapper.
1325
1326 2004-10-29  José Matos  <jamatos@lyx.org>
1327
1328         * output_docbook.C (makeEnvironment):
1329         * sgml.C (openTag):
1330         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1331
1332 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1333
1334         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1335         (cleanID): sanitize any id.
1336
1337 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1338
1339         * buffer.C, lyxlex_pimpl.C:
1340         * lyxlex_pimpl.C (setFile):
1341         s/getExtFromContents/getFormatFromContents/
1342
1343 2004-10-28  José Matos  <jamatos@lyx.org>
1344
1345         * output_docbook.C (makeEnvironment): move id to broadest possible
1346         scope.
1347
1348         * sgml.C (openTag): apply substitution of <> for all attributes.
1349
1350 2004-10-28  José Matos  <jamatos@lyx.org>
1351
1352         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1353         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1354         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1355
1356         * sgml.[Ch]: new version for open and closeTag for paragraph and
1357         for strings. Now they handle the ids of paragraphs.
1358
1359 2004-10-26  Angus Leeming  <leeming@lyx.org>
1360
1361         * Makefile.am: add mover.[Ch].
1362
1363         * converter.C (convert, move): use the new Movers to move external
1364         files to the temp directory.
1365
1366         * lyx_main.C (init): ensure that the global system_movers data
1367         is initialised.
1368
1369         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1370         preferences file.
1371
1372         * mover.[Ch]: new files, defining a Mover as a utility to move an
1373         external file between directories and, if necessary, manipulate this
1374         file using a helper script.
1375
1376 2004-10-25  José Matos  <jamatos@lyx.org>
1377
1378         * output_docbook.C (makeCommand): merge two if's that tested the
1379         same condition.
1380
1381 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1382
1383         * sgml.C (escapeString): fix warning in a better way
1384
1385 2004-10-25  José Matos  <jamatos@lyx.org>
1386
1387         * sgml.C (escapeString): import the require boosts header file for
1388         tie, and avoid a signed unsigned comparison.
1389
1390 2004-10-25  José Matos  <jamatos@lyx.org>
1391
1392         * sgml.h: add #include <string>
1393
1394 2004-10-25  José Matos  <jamatos@lyx.org>
1395
1396         * sgml.[Ch] (escapeString): new function to escape all the string.
1397
1398 2004-10-24  José Matos  <jamatos@lyx.org>
1399
1400         * paragraph.[Ch] (getFirstWord): new function to get the first
1401         word. Useful for description.
1402         (simpleDocBookOnePar): remove depth argument, add another that
1403         says where to start the paragraph.
1404
1405         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1406         use the new functions to fix cleanly the support for descriptions.
1407
1408 2004-10-24  José Matos  <jamatos@lyx.org>
1409
1410         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1411         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1412         * output_linuxdoc.C (linuxdocParagraphs):
1413         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1414         add buffer as argument.
1415
1416 2004-10-24  José Matos  <jamatos@lyx.org>
1417
1418         * output_docbook.C (makeEnvironment, searchEnvironment): place
1419         CDATA inside paragraphs and fix scope for listitems.
1420
1421 2004-10-24  José Matos  <jamatos@lyx.org>
1422
1423         * output_docbook.C: remove using statement for stack.
1424
1425 2004-10-23  José Matos  <jamatos@lyx.org>
1426
1427         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1428         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1429         docbook. The new scheme is recursive and makes use of iterators, the
1430         same as latex export works.
1431         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1432         directly with the paragraph contents. This code was moved up to
1433         output_docbook.C (docbookParagraphs).
1434         * sgml.C (openTag, closeTag): removed unneeded newlines.
1435         (closeEnvTags) removed.
1436
1437 2004-10-23  André Pönitz  <poenitz@gmx.net>
1438
1439         * undo.C (textUndoOrRedo):
1440         * dociterator.C (asDocIterator): work around crash
1441
1442         * cursor.C (getStatus): replace ASSERT by more verbose error message
1443           and manual correction of the problem. Should increase stability
1444           while providing more sensible information.
1445
1446 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1447
1448         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1449
1450         * bufferlist.C (previous, next): new methods
1451
1452         * lfuns.h:
1453         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1454
1455 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1456
1457         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1458         entities to preamble.
1459
1460 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1461
1462         * messages.C (Pimpl): strip off translation context information
1463
1464 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1465
1466         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1467         the cursor is correct (bug 1694)
1468
1469 2004-10-13  José Matos  <jamatos@lyx.org>
1470
1471         * output_docbook.C (docbookParagraphs): fix closing tags in the
1472         end of the document.
1473
1474 2004-10-09  José Matos  <jamatos@lyx.org>
1475
1476         * buffer.C: format up to 237.
1477         * bufferparams.C (write): use tostr to convert booleans to strings.
1478
1479 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1480
1481         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1482
1483 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1484
1485         * LaTeX.C: implement use of babel language in xindy.
1486
1487 2004-10-05  José Matos  <jamatos@lyx.org>
1488
1489         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1490         Add new translators to help reading and writing the lyx file.
1491
1492 2004-10-05  José Matos  <jamatos@lyx.org>
1493
1494         * ParagraphParameters.C (read):
1495         * text.C (readParToken): replace nexToken by more appropriate lex
1496         methods.
1497
1498 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1499
1500         * LaTeX.C (runMakeIndex):
1501         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1502         (usually 'makeindex') configurable.
1503
1504         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1505         with a variable rather than with a number.
1506
1507 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1508
1509         * output_latex.C (TeXOnePar): make sure font setting is the first
1510         thing that gets output (and the last at the end). Should fix bug
1511         1404.
1512
1513 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1514
1515         * pch.h: use proper signal include
1516
1517         * LaTeX.h: Use preferred calling of Boost.Signal
1518         * buffer.h: ditto
1519
1520 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1521
1522         * pch.h: dont include <boost/function/function0.hpp>
1523
1524         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1525
1526         * paragraph_pimpl.h: remove usage of ShareContainer
1527
1528         * paragraph_pimpl.C: remove initialization of ShareContainer.
1529
1530 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1531
1532         Fix bug #1666
1533
1534         * BufferView.C (putSelectionAt): change the semantics when
1535         backwards == true: now, this just swaps cursor and anchor wrt the
1536         forward case
1537
1538         * BufferView.h (putSelectionAt): add some documentation
1539
1540         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1541         make sure backwardChar is done at least once (to avoid getting
1542         stuck)
1543         (findNextChange): use putSelectionAt in the forward direction
1544         (operator()): use Paragraph::isWord
1545
1546 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1547
1548         * Spacing.C (set): c_str fix
1549
1550 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1551
1552         * lyx_cb.C (Reconfigure): quote the name of configure script in
1553         case it contains spaces
1554
1555 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1556
1557         * client: new dir
1558
1559         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1560         (BOOST_LIBS): use top_buildir when looking for the file
1561
1562 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1563
1564         * pch.h: do not use include boost/format.hpp, multiple symbols
1565                 will result (gcc bug)
1566
1567
1568 2004-08-23  José Matos  <jamatos@lyx.org>
1569
1570         * bufferparams.C (readToken): fix reading of the author field.
1571
1572 2004-08-20  José Matos  <jamatos@lyx.org>
1573
1574         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1575
1576 2004-08-20  José Matos  <jamatos@lyx.org>
1577
1578         * lyxlex.[Ch] (findToken): remove function.
1579
1580         * ParagraphParameters.C (findToken):
1581         * bufferparams.C (findToken): replace call for previous function
1582         with local copy. This local function has one more argument, the
1583         read string argument.
1584
1585 2004-08-16  José Matos  <jamatos@lyx.org>
1586
1587         * ParagraphParameters.C (write):
1588         * Spacing.C (writeFile):
1589         * bufferparams.C (writeLaTeX):
1590         * lyx_cb.C (Reconfigure):
1591         * paragraph.C (write):
1592         * tabular.C (write): remove unnecessary space at end of line.
1593
1594
1595 2004-08-16  José Matos  <jamatos@lyx.org>
1596
1597         * text.C (readParagraph): remove debug message.
1598
1599 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1600
1601         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1602         crash
1603
1604         * output_plaintext.C (asciiParagraph): set depth correctly
1605
1606         * outputparams.h: add member depth
1607
1608         * paragraph_funcs.C (ownerPar): remove.
1609
1610         * text2.C (setCounter): remove first_pit; comment out some
1611         non-working code that uses ownerPar
1612
1613         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1614         uses ownerPar
1615
1616 2004-08-16  José Matos  <jamatos@lyx.org>
1617
1618         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1619         For the same level of importance use the same chanel to report problems.
1620         (read): add code to deal with \begin_body and \end_body.
1621
1622
1623 2004-08-15  José Matos  <jamatos@lyx.org>
1624
1625         * lyxlex.C (getString): fix comment, buffer::readBody is now
1626         buffer:readDocument.
1627
1628         * tex-strings.C (string_papersize): Default -> default,
1629         Custom -> custom, for consistency with other options.
1630
1631 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1632
1633         * pch.h: new file
1634
1635         * Makefile.am: support pch
1636
1637 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1638
1639         * text.C (readParToken): remove the static LyXFont variable and
1640         pass it as a parameter instead. This fixes a nasty bug where an
1641         inset will be inserted with a bad font in some situations
1642         (readParagraph): adapt
1643
1644         * text2.C (setCounter): reduce number of calls to pars_[pit]
1645
1646         * text.C (singleWidth): add an assert, fix a test
1647
1648         * rowpainter.C (paintText): reduce number of calls to singleWidth
1649
1650         * paragraph.C (isHfill):
1651         (isNewline): ws only
1652
1653 2004-08-14  André Pönitz  <poenitz@gmx.net>
1654
1655         * text.C:
1656         * text2.C:
1657         * rowpainter.C:
1658         * lyxtext.h (several functions): use a Paragraph & argument
1659         instead of par_type
1660
1661 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1662
1663         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1664
1665         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1666
1667         * text.C (singleWidth): remove useless test
1668
1669 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1670
1671         * tabular.h: remove bogus comments
1672
1673         * tabular.C (getDescentOfRow):
1674         (isPartOfMultiColumn): add assertions
1675
1676         * lyxlength.C (inPixels): remove #warning
1677
1678 2004-08-14  André Pönitz  <poenitz@gmx.net>
1679
1680         * paragraph.h: inline getChar()
1681
1682         * BufferView.h: remove unused declarations
1683
1684 2004-08-14  José Matos  <jamatos@lyx.org>
1685
1686         * Buffer.[Ch] (readDocument): new name for old readBody.
1687         * Buffer.C: new file format, new keywords: \begin_document,
1688         \begin_header, \begin_body, \end_body.
1689
1690         * bufferparams.C (readToken): replace all calls to lex.nextToken
1691         by lex.next(). Do the same to eatLine except where really needed.
1692
1693         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1694         line when writing to the lyx file.
1695
1696         * output_plaintext.C (asciiParagraph): fix Bibliography style
1697         handling.
1698
1699         * text.C (read): fix end of file handling.
1700
1701 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1702
1703         * MenuBackend.C (Menu::operator[]): new method to access
1704         individual menu items
1705         (Menu::hasFunc): new method. search for an item that corresponds
1706         to a given func
1707         (MenuBackend::specialMenu): new method
1708         (MenuBackend::expand): if a special menu has been set, skip
1709         entries whose func() appears in this menu
1710
1711 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1712
1713         * text3.C: use Debug::DEBUG a bit more
1714
1715         * text.C (leftMargin): try to simplify a tiny bit change var x to
1716         l_margin. Dont output the wide margins always.
1717         (rightMargin): no margin in inner texts
1718
1719         * rowpainter.h (nestMargin): new func
1720         (changebarMargin): new func
1721         (rightMargin): new func
1722
1723         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1724         now functions.
1725         (paintLast): ditto
1726
1727         * factory.C (createInset): modify setDrawFrame
1728
1729         * cursor.C: use Debug::DEBUG a bit more
1730
1731 2004-08-14  André Pönitz  <poenitz@gmx.net>
1732
1733         * coordcache.[Ch]:
1734         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1735         cache for all insets in (at least partially) visible (top-level)
1736         paragraphs.
1737
1738         * BufferView_pimpl.C: reset external coord cache before every update.
1739         This means the coord cache only contains valid entries.
1740
1741 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1742
1743         bug 1096
1744         * BufferView_pimpl.C (getInsetByCode): move function out of class
1745         and change in to a template in anon namespace. Also fix to do what
1746         suits us better.
1747
1748 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1749
1750         bug 1305
1751         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1752         of char
1753         (breakParagraph): rename par to par_offset and use a local
1754         reference. Add code to keep the language over a rebreak.
1755         (breakParagraphConservative): rename par to par_offset, use a
1756         local reference
1757         (mergeParagraph): ditto
1758         (outerHook): ditto
1759         (isFirstInSequence): ditto
1760         (outerFont): rename pit to par_offset
1761
1762         * paragraph.C: ws change
1763         * paragraph.h: ditto
1764         * text3.C: ditto
1765         * text.C: ditto
1766
1767 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1768
1769         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1770         treatment for ']'
1771
1772         * paragraph.C (simpleTeXOnePar): when we have a \item with
1773         optional argument, enclose the argument with curly brackets (in
1774         case it contains a closing square bracket)
1775
1776         * text2.C (editXY):
1777         * text2.C (editXY):
1778         * text3.C (checkInsetHit): constify
1779
1780 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1781
1782         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1783         documents (bug 1629)
1784
1785 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1786
1787         Fix toggling of collapsable insets with the mouse (bug 1558)
1788
1789         * lyxfunc.C (dispatch): adapt to LCursor changes
1790
1791         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1792         make sure that dispatch is not invoked twice
1793
1794         * cursor.C (needsUpdate): new method
1795         (dispatch): return void
1796         (result): new method, to access the DispatchResult of the cursor.
1797
1798 2004-08-13  José Matos  <jamatos@lyx.org>
1799
1800         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1801
1802 2004-08-13  André Pönitz  <poenitz@gmx.net>
1803
1804         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1805
1806         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1807           multiple cells
1808
1809 2004-08-12  André Pönitz  <poenitz@gmx.net>
1810
1811         * text3.C: take out the 'cursor right' form insertInset and only
1812         do it in those places when it is really needed. Fixes crash on
1813         C-m...
1814
1815 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1816
1817         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1818
1819         * BufferView_pimpl.C (setBuffer): initialize the current font of
1820         the underlying LyXText
1821
1822 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1823
1824         * kbsequence.C (print): use UI native formatting for menu
1825         shortcuts
1826
1827         * text.C (insertChar): call Paragraph::insertChar with a font
1828         argument (cosmetic)
1829
1830         * paragraph.C (insertInset, insertChar): the version that takes a
1831         LyXFont argument is now a wrapper around the other one (the
1832         opposite used to be true).
1833
1834         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1835         argument. Font setting is done in Paragraph now.
1836
1837 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1838
1839         * outputparams.h: add new members intitle and lang.
1840
1841         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1842         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1843
1844 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1845
1846         * text3.C (dispatch): remove special handling of button 4 and 5,
1847         it is now taken care of in the frontend code.
1848
1849 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1850
1851         * Spacing.h: add <string> (STLPort compile fix)
1852
1853 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1854
1855         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1856
1857 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1858
1859         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1860         to bool.
1861
1862         * converter.C (showMessage): inherit from unary_function, make
1863         operator() const.
1864
1865         * buffer.C (writeFile): initialize retval
1866
1867         * InsetList.h: rename private variable list to list_
1868         * InsetList.[Ch]: adjust accordingly.
1869
1870 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1871
1872         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1873         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1874         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1875         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1876         * ParagraphParameters.C, LaTeXFeatures.C: replace
1877         "support/std_sstream.h" with <sstream>
1878
1879 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1880
1881         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1882         * lyxsocket.C (LyXServerSocket): ditto
1883         (serverCallback): ditto
1884
1885 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1886
1887         * LaTeXFeatures.C: check release date when loading jurabib.
1888
1889 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1890
1891         * lyxserver.C (startPipe): call register_socket_callback
1892         (endPipe): call unregister_socket_callback
1893
1894 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1895
1896         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1897         (LyXServerSocket): register the callback
1898         (LyXServerSocket): unregister the callback
1899         (fd): delete function
1900         (serverCallback): improve error checking and setup the callbacks.
1901         (dataCallback): change arg to fd.
1902         (writeln): new func (copied fro the client socket) used for server
1903         write to client.
1904         (LyXDataSocket): simplify
1905         (~LyXDataSocket): close ann unregiser callback
1906         (server): delete function
1907         (fd): delete function
1908         (readln): small changes, improve some std::string usage
1909         (writeln): constify a bit
1910
1911 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1912
1913         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1914         Qt frontend
1915
1916 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1917
1918         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1919         after it has been populated
1920
1921 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1922
1923         * text2.C (insertInset): move cursor when inserting inset.
1924
1925 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1926
1927         * kbmap.C (findbindings): a couple of new methods. returns a
1928         container of kb_sequence objects. The real work is done by the
1929         private recursive version
1930         (printbindings): uses findbindings to print out a bracketed list
1931         of bindings (renamed from findbinding).
1932
1933         * MenuBackend.C (binding): use kb_keymap::findbindings
1934
1935         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1936
1937 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1938
1939         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1940
1941 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1942
1943         * paragraph.C (isWord): return true on insets that report
1944         isLetter().
1945
1946         * text.C (getWord): use Paragraph::isWord to decide what is in a
1947         word and what is not; fix bug 1609.
1948
1949 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1950
1951         * tex-strings.C: add "none" to string_paperpackages[], fixes
1952         off-by-one-error in the paperpackage selection.
1953
1954         * lyxlex.[Ch]:
1955         * tex-strings.[Ch]: char const * string[n]
1956         -> char const * const string[]
1957
1958 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1959
1960         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1961         command, return early.
1962
1963 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1964
1965         * debug.h: add DEBUG to enum and fix size of ANY.
1966
1967         * debug.C: add support for Debug::DEBUG
1968         (showTags): cast errorTags.level to unsigned int
1969
1970         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1971         (redoCurrentBuffer): ditto
1972         (updateScrollbar): ditto
1973         * cursor.C (dispatch): ditto
1974         * text2.C (setLayout): ditto
1975         (setFont): ditto
1976         (updateCounters): ditto
1977         (editXY): ditto
1978         (deleteEmptyParagraphMechanism): ditto
1979
1980 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1981
1982         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1983         annotations to cleanup the Makefile slightly.
1984
1985 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1986
1987         * lyxrc.C: do not set user_email to a default value but use empty
1988         instead. The entry used to be translated, which does not work
1989         since at the point where lyxrc is constructed there is no
1990         translation service available
1991
1992         * messages.C (getLocaleDir): remove and use directly
1993         lyx_localedir() instead
1994
1995 2004-06-02  Angus Leeming  <leeming@lyx.org>
1996
1997         Fix crash caused by dereferencing null pointer 'exportdata' in
1998         OutputParams by creating a new ExportData variable on the heap,
1999         storing it in a boost::shared_ptr.
2000         The crash was triggered when generating an Instant Preview
2001         of an external inset.
2002
2003         * Makefile.am: add outputparams.C
2004
2005         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2006         (c-tor): allocate memory to it.
2007
2008         * exporter.C (c-tor): associated changes.
2009
2010 2004-06-01  Angus Leeming  <leeming@lyx.org>
2011
2012         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2013         contains data before calling isInset(0). (Bug 1513.)
2014
2015 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2016
2017         * exporter.C (checkOverwrite): new method
2018         * exporter.C (copyFile): new method
2019         * exporter.C (Export): copy referenced files to the document dir
2020         * exporter.[Ch]: new class ExportedFile
2021         * exporter.[Ch]: new class ExportData. Contains currently the
2022         names of referenced external files
2023         * outputparams.h: add exportdata member.
2024
2025 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2026
2027         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2028         version.C-tmp
2029
2030 2004-05-19  Angus Leeming  <leeming@lyx.org>
2031
2032         * LaTeXFeatures.C:
2033         * ToolbarBackend.C:
2034         * bufferparams.C:
2035         * lyxfunc.C: small changes due to the introduction of namespace
2036         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2037
2038 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2039
2040         * text3.C (dispatch): supress update when only moving the cursor
2041         * cursor.C (selHandle): remove commented code
2042
2043 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2044
2045         * paragraph.C (startTeXParParams): correct column count
2046         * CutAndPaste.C (pasteSelection): remove const_cast
2047         * output_docbook.C (docbookParagraphs): remove const_cast
2048         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2049         const_cast and return ParagraphList::const_iterator
2050         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2051         * output_plaintext.C (writeFileAscii): remove const_cast
2052         * paragraph.[Ch] (simpleTeXOnePar): make const
2053         * paragraph_funcs.C (outerPar): use const iterators
2054         * paragraph_pimpl.C (validate): use const iterators
2055         * text.C (setHeightOfRow): use const iterators
2056
2057 2004-05-17  Angus Leeming  <leeming@lyx.org>
2058
2059         * lfuns.h:
2060         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2061
2062         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2063         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2064         if the citation engine has changed.
2065
2066 2004-05-14  José Matos  <jamatos@lyx.org>
2067
2068         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2069         if the textclass does not provide it. Have it different for sgml and
2070         xml.
2071         support the language of document.
2072         * output_docbook.C (docbookParagraphs):
2073         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2074         first anchor as the id of the paragraph, remove special case code.
2075         * sgml.C (escapeChar): escape only < & >.
2076
2077 2004-05-14  Angus Leeming  <leeming@lyx.org>
2078
2079         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2080         dependencies on src/frontends/controllers/biblio.h. Define a
2081         CiteEngine_enum wrapper class to enable the enum to be forward
2082         declared.
2083
2084 2004-05-12  Angus Leeming  <leeming@lyx.org>
2085
2086         * buffer.C: up LYX_FORMAT to 234.
2087         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2088         use_numerical_citations with a single biblio::CiteEngine cite_engine
2089         variable.
2090         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2091
2092 2004-05-13  José Matos  <jamatos@lyx.org>
2093
2094         * converter.h:
2095         * converter.C (Converter, readFlags): add xml member.
2096         * outputparams.h: add XML flavor.
2097         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2098
2099 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2100
2101         * lyxfunc.C (dispatch):
2102         (getStatus): fix handling of LFUN_SEQUENCE
2103
2104 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2105
2106         * debug.C (showLevel): do not forget the end-of-line marker
2107
2108 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2109
2110         * kbmap.C (read): do not stop parsing a bind file when an error
2111         occurs (bug 1575)
2112
2113 2004-04-29  Angus Leeming  <leeming@lyx.org>
2114
2115         * cursor.C:
2116         * factory.C:
2117         * pariterator.C:
2118         * text2.C: wrap a bunch of #warning statements
2119         inside #ifdef WITH_WARNINGS blocks.
2120
2121 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2122
2123         * buffer.C: increment format to 233.
2124
2125 2004-04-28  Angus Leeming  <leeming@lyx.org>
2126
2127         * BufferView_pimpl.C:
2128         * lyxfunc.C:
2129         * text3.C:
2130         s/updateToolbar()/updateToolbars()/
2131         s/Toolbar.h/Toolbars.h/
2132
2133 2004-04-28  Angus Leeming  <leeming@lyx.org>
2134
2135         * BufferView.[Ch] (c-tor):
2136         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2137         No longer passes these data to the WorkArea generator.
2138
2139 2004-04-28  Angus Leeming  <leeming@lyx.org>
2140
2141         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2142
2143 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2144
2145         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2146
2147 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2148
2149         * output_latex.C (TeXEnvironment): make sure that there is a line
2150         break before \end{foo} for the last paragraph of a document
2151         (TeXOnePar): if the paragraph is at the end of the document (or
2152         inset) and the language has to be reset, then make sure that the
2153         line break is _before_ the language command, not after (fixes bug
2154         1225); also make sure that the language reset command is the first
2155         thing after the paragraph (to ensure proper nesting of
2156         environments and thus fix bug 1404)
2157
2158 2004-04-21  John Levon  <levon@movementarian.org>
2159
2160         * ToolbarBackend.h:
2161         * ToolbarBackend.C: make "name" be a programmatic name
2162         and a gui_name field.
2163
2164         * lyxfunc.C: display the minibuffer on M-x
2165
2166 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2167
2168         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2169         (bug 1526)
2170
2171 2004-04-19  Angus Leeming  <leeming@lyx.org>
2172
2173         * BufferView_pimpl.C (setBuffer): changed preview interface.
2174
2175         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2176         possible values.
2177
2178 2004-04-19  John Levon  <levon@movementarian.org>
2179
2180         * BufferView_pimpl.C:
2181         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2182
2183 2004-04-05  Angus Leeming  <leeming@lyx.org>
2184
2185         * text.C (redoParagraphs): add call to updateCounters(), thereby
2186         fixing the missing "Figure #:" label from the caption of a
2187         figure float.
2188
2189 2004-04-13  Angus Leeming  <leeming@lyx.org>
2190
2191         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2192         cursor is clicked out of an inset.
2193
2194 2004-04-13  Angus Leeming  <leeming@lyx.org>
2195
2196         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2197         than an InsetOld one.
2198
2199 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2200
2201         * format.[Ch]: add editor to Format
2202         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2203         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2204
2205 2004-04-08  André Pönitz  <poenitz@gmx.net>
2206
2207         * metricsinfo.h: remove PainterInfo::width member
2208
2209 2004-04-08  Angus Leeming  <leeming@lyx.org>
2210
2211         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2212         "\providecommand" rather than "\newcommand", thereby preventing
2213         clashes with packages that define "\boldsymbol" themselves.
2214         Eg, beamer.
2215
2216 2004-04-08  Angus Leeming  <leeming@lyx.org>
2217
2218         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2219         thereby squashing an unnecessary warning.
2220
2221 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2222
2223         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2224         setBuffer()
2225
2226 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2227
2228         * BufferView.C (setCursor): call redoParagraph (some insets could
2229         have been opened)
2230         (putSelectionAt): remove the 'double update' trick
2231
2232         * BufferView_pimpl.C (fitCursor): call refreshPar
2233         (workAreaDispatch): remove an uneeded update call
2234         (dispatch): remove some manual update calls
2235
2236         * cursor.[Ch]: remove cached_y_, updatePos
2237         (selHandle): set noUpdate when appropriate
2238
2239         * lyxfunc.C (dispatch): track if we need an update
2240
2241         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2242
2243         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2244         (paintSelection): cheap optimization, do not call cursorX when not
2245         needed
2246         (paintPars): change signature
2247         (refreshPar): add
2248         (paintText): adjust
2249         (paintTextInset): adjust
2250
2251         * text.C: adjust
2252
2253 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2254
2255         * lengthcommon.C: compilation fix: remove explicit array size from
2256         unit_name[] and friends
2257
2258 2004-04-05  Angus Leeming  <leeming@lyx.org>
2259
2260         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2261
2262         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2263         present only for the preferences dialog.
2264         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2265
2266 2004-04-05  Angus Leeming  <leeming@lyx.org>
2267
2268         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2269         to enable the frontends to export changes to lyxrc correctly.
2270
2271         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2272
2273 2004-04-07  André Pönitz  <poenitz@gmx.net>
2274
2275         * cursor.[Ch] (selClear, adjust): remove math
2276
2277         * cursor_slice.C: more agressive assert
2278
2279         * lyxfunc.C:
2280         * BufferView_pimpl.C: rework mouse event dispatch
2281
2282         * dociterator.C:
2283         * paragraph.C:
2284         * text2.C:
2285         * text3.C: adjust
2286
2287 2004-04-05  André Pönitz  <poenitz@gmx.net>
2288
2289         * cursor.[Ch] (valign, halign...): remove unneeded functions
2290
2291 2004-04-05  Angus Leeming  <leeming@lyx.org>
2292
2293         * lyxlength.[Ch] (unit_name et al.): const-correct.
2294
2295 2004-04-05  Angus Leeming  <leeming@lyx.org>
2296
2297         * BufferView_pimpl.C:
2298         * buffer.C:
2299         * counters.C:
2300         * cursor.C:
2301         * lyxfunc.C
2302         * paragraph.C:
2303         * pariterator.C:
2304         * text.C:
2305         * text2.C:
2306         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2307
2308 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2309
2310         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2311
2312 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2313
2314         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2315         * BufferView_pimpl.[Ch] (getStatus)
2316         * BufferView.[Ch] (getStatus): add
2317         * lyxfunc.C (getStatus): move lfuns handled in
2318         BufferView::dispatch to te function above
2319         * Cursor.C (setSelection): set selection() = true
2320
2321 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2322
2323         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2324
2325 2004-03-31  Angus Leeming  <leeming@lyx.org>
2326
2327         * lyxfunc.C (dispatch): Fall through to the generic
2328         Dialogs::show("preamble").
2329
2330 2004-03-31  Angus Leeming  <leeming@lyx.org>
2331
2332         * lyxfunc.C (dispatch): Fall through to the generic
2333         Dialogs::show("spellchecker").
2334
2335 2004-03-31  Angus Leeming  <leeming@lyx.org>
2336
2337         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2338         preferences dialog.
2339
2340 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2341
2342         * BufferView.C
2343         * cursor.[Ch]
2344         * dociterator.[Ch]:
2345         * insetiterator.[Ch]:
2346         * lyxfind.C:
2347         * lyxfunc.C:
2348         * pariterator.[Ch]:
2349         * text2.C:
2350         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2351
2352 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2353
2354         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2355         insets where we are putting the cursor.
2356
2357 2004-03-31  Angus Leeming  <leeming@lyx.org>
2358
2359         * lfuns.h:
2360         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2361
2362         * lyxrc.[Ch] (read, write): overloaded member functions taking
2363         a std::[io]stream arguments.
2364
2365         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2366
2367 2004-03-31  Angus Leeming  <leeming@lyx.org>
2368
2369         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2370         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2371
2372         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2373         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2374
2375 2004-03-31  Angus Leeming  <leeming@lyx.org>
2376
2377         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2378         the LFUN_ALL_INSETS_TOGGLE code.
2379
2380 2004-03-30  Angus Leeming  <leeming@lyx.org>
2381
2382         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2383         has died. Fall through to the generic Dialogs::show("document").
2384
2385 2004-03-30  Angus Leeming  <leeming@lyx.org>
2386
2387         * lfuns.h:
2388         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2389         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2390
2391         * lyxfunc.C (getStatus, dispatch): define the actions for these
2392         lfuns. Little more than a cut and pste job from ControlDocument.C
2393
2394         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2395
2396 2004-03-30  Angus Leeming  <leeming@lyx.org>
2397
2398         * lfuns.h:
2399         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2400         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2401
2402         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2403         open/closed state of ollapsable insets. Usage:
2404
2405         all-inset-toggle <state> <name>, where
2406         <state> == "open" || "closed" || "toggle" and
2407         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2408
2409         * lyxtext.h, text2.C (toggleInset): removed.
2410
2411         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2412         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2413         now passes LFUN_INSET_TOGGLE to the found inset.
2414
2415         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2416         is now invoked as "all-insets-toggle toggle branch".
2417
2418 2004-03-30  Angus Leeming  <leeming@lyx.org>
2419
2420         * dociterator.C:
2421         * insetiterator.C:
2422         * pariterator.[Ch]: added/corrected header blurb.
2423
2424 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2425
2426         * dociterator.[Ch]: add an inset_ member
2427         (backwardPos): implemented
2428         (backwardPos, forwardPos): use inset_ when the stack is empty.
2429         (doc_iterator_begin, doc_iterator_end): implemented
2430         * pariterator.[Ch]: adjust, add begin, end
2431         * insetiterator.[Ch]: adjust, add begin, end
2432         * cursor.C:
2433         * document.C:
2434         * BufferView.C:
2435         * BufferView_pimpl.C:
2436         * CutAndPaste.C: adjust
2437
2438 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2439
2440         * buffer.C: increment file format to 232.
2441         * LaTeXFeatures.C: add bibtopic package.
2442         * bufferparams.[Ch]: param \use_bibtopic.
2443
2444         * lyxrc.[Ch]: add lyxrc bibtex_command
2445         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2446
2447         * buffer.C: increment file format to 231.
2448
2449 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2450
2451         * dociterator.C: implement forwardPar
2452         * iterators.[Ch]: remove, replaced by
2453         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2454         * BufferView.C:
2455         * BufferView_pimpl.C:
2456         * CutAndPaste.C:
2457         * buffer.C:
2458         * bufferview_funcs.C:
2459         * cursor.C:
2460         * lyxfind.C
2461         * lyxfunc.C
2462         * paragraph_funcs.C
2463         * toc.C:
2464         * Makefile.am: adjust
2465
2466 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2467
2468         * CutAndPaste.C (pasteSelection): fix 2 crashes
2469         (eraseSelection): fix a crash
2470         * paragraph_funcs.C: remove a warning
2471
2472 2004-03-28  Angus Leeming  <leeming@lyx.org>
2473
2474         * lfuns.h:
2475         * LyXAction.C (init): new LFUN_PRINT.
2476
2477         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2478
2479 2004-03-27  Angus Leeming  <leeming@lyx.org>
2480
2481         * lfuns.h:
2482         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2483
2484         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2485
2486 2004-03-27  Angus Leeming  <leeming@lyx.org>
2487
2488         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2489         insetlist always contains non-null pointers to insets.
2490
2491 2004-03-26  Angus Leeming  <leeming@lyx.org>
2492
2493         * src/BufferView_pimpl.C:
2494         * src/CutAndPaste.C:
2495         * src/buffer.C:
2496         * src/iterators.C:
2497         * src/output_plaintext.C:
2498         * src/outputparams.h:
2499         * src/paragraph_funcs.C:
2500         * src/rowpainter.C:
2501         * src/text.C:
2502         * src/text2.C:
2503         * src/frontends/controllers/ControlErrorList.C:
2504         * src/frontends/gtk/FileDialogPrivate.C:
2505         * src/frontends/gtk/GPainter.C:
2506         * src/frontends/gtk/GToolbar.C:
2507         * src/frontends/qt2/QRef.C:
2508         * src/mathed/math_scriptinset.C: squash compiler warnings.
2509
2510 2004-03-26  Angus Leeming  <leeming@lyx.org>
2511
2512         * ispell.C (LaunchIspell::start):
2513         * lyx_cb.C (AutoSaveBuffer::start):
2514         invoke run(DontWait) rather than runNonBlocking().
2515
2516 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2517
2518         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2519
2520 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2521
2522         * kbsequence.C (print): adjust
2523
2524         * kbmap.C (printKeySym): rename and change signature
2525         (printKey): use LyXKeySym::print()
2526
2527 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2528
2529         * undo.C: add using std::advance to compile for stlport
2530
2531 2004-03-24  Angus Leeming  <leeming@lyx.org>
2532
2533         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2534         it leads to a crash when no buffer is present.
2535
2536 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2537             Martin Vermeer  <martin.vermeer@hut.fi>
2538
2539         * lyxfunc.C (dispatch):
2540         * bufferparams.C (readToken): use the new LColor::setColor
2541
2542         * LColor.[Ch] (setColor): new version that takes two strings as
2543         argument and creates a new color entry if necessary
2544
2545 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2546
2547         * buffer.C (makeLaTeXFile): if the main latex file that is
2548         processed is usually a subdocument of some master, then pretend
2549         for a while that it is actually the master
2550
2551 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2552
2553         * buffer.C (getLabelList):
2554         (getBibkeyList): use getMasterBuffer()
2555         (getMasterBuffer): new method. Returns the main document in the
2556         case where one is using included documents.
2557
2558 2004-03-25  André Pönitz  <poenitz@gmx.net>
2559
2560         * Makefile.am:
2561         * iterators.[Ch]:
2562         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2563
2564         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2565
2566         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2567         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2568
2569         * ParameterStruct.h: merge with ParagraphParameters
2570
2571         * lyxtext.h: remove LyXText::parOffset() and getPar()
2572
2573         * text3.C: Remove all 'manual' update calls. We do now one per user
2574         interaction which is completely sufficient.
2575
2576         * Bidi.C:
2577         * BufferView.[Ch]:
2578         * BufferView_pimpl.C:
2579         * FontIterator.[Ch]:
2580         * MenuBackend.C:
2581         * ParagraphParameters.[Ch]:
2582         * buffer.C:
2583         * buffer.h:
2584         * bufferlist.C:
2585         * cursor.[Ch]:
2586         * cursor_slice.[Ch]:
2587         * dociterator.[Ch]:
2588         * errorlist.[Ch]:
2589         * factory.C:
2590         * lfuns.h:
2591         * lyxfind.C:
2592         * lyxfunc.C:
2593         * output_docbook.[Ch]:
2594         * output_latex.[Ch]:
2595         * output_linuxdoc.[Ch]:
2596         * output_plaintext.[Ch]:
2597         * paragraph.[Ch]:
2598         * paragraph_funcs.[Ch]:
2599         * paragraph_pimpl.[Ch]:
2600         * rowpainter.C:
2601         * tabular.[Ch]:
2602         * text.C:
2603         * text2.C:
2604         * toc.C:
2605         * undo.[Ch]: adjust
2606
2607         * frontends/controllers/ControlDocument.C:
2608         * frontends/controllers/ControlErrorList.C:
2609         * frontends/controllers/ControlSpellchecker.C:
2610         * insets/inset.C:
2611         * insets/inset.h:
2612         * insets/insetbase.h:
2613         * insets/insetbibitem.C:
2614         * insets/insetbox.C:
2615         * insets/insetbranch.C:
2616         * insets/insetcaption.C:
2617         * insets/insetcharstyle.C:
2618         * insets/insetcharstyle.h:
2619         * insets/insetcollapsable.C:
2620         * insets/insetcollapsable.h:
2621         * insets/insetert.C:
2622         * insets/insetfloat.C:
2623         * insets/insetfoot.C:
2624         * insets/insetmarginal.C:
2625         * insets/insetnote.C:
2626         * insets/insetoptarg.C:
2627         * insets/insettabular.C:
2628         * insets/insettext.C:
2629         * insets/insettext.h:
2630         * insets/insetwrap.C:
2631         * mathed/math_mboxinset.C:
2632         * mathed/math_nestinset.C:
2633         * mathed/math_scriptinset.C:
2634         * mathed/math_scriptinset.h:
2635         * support/types.h:
2636
2637 2004-03-24  Angus Leeming  <leeming@lyx.org>
2638
2639         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2640         deal with any child processes that have finished but are waiting to
2641         communicate this fact to the rest of LyX.
2642
2643 2004-03-24  Angus Leeming  <leeming@lyx.org>
2644
2645         64-bit compile fixes.
2646
2647         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2648         (c-tor): pass lyx::pos_types rather than ints.
2649
2650         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2651         lyx::pos_type.
2652
2653         * text.C (Delete): compile fix.
2654         (getPar): ensure that function declaration is the same as that in
2655         the header file.
2656
2657 2004-03-23  Angus Leeming  <leeming@lyx.org>
2658
2659         * ispell.C (LaunchIspell):
2660         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2661         a boost::shred_ptr rather than a std::auto_ptr.
2662
2663 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2664
2665         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2666         handle LFUN_FILE_INSERT_*
2667
2668         * lyxrc.C (setDefaults, getDescription, output, read):
2669         * lyxrc.h: remove ps_command
2670
2671 2004-03-22  Angus Leeming  <leeming@lyx.org>
2672
2673         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2674         Ensure that error_handler is processed once only and that all data
2675         is saved before attempting to output any warning messages.
2676
2677         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2678
2679 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2680
2681         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2682
2683 2004-03-19  André Pönitz  <poenitz@gmx.net>
2684
2685         * cursor.[Ch] (reset): take main text inset as argument
2686
2687         * BufferView: adjust
2688         * BufferView_pimpl.C: adjust
2689
2690         * paragraph.[Ch]: fix completely broken operator=()
2691
2692 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2693
2694         * LColor.C (getFromLyXName): make sure that the color name is used
2695         as lowercase.
2696
2697 2004-03-17  Angus Leeming  <leeming@lyx.org>
2698
2699         * lfuns.h:
2700         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2701
2702         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2703         dialog and to kill a forked process.
2704
2705 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2706
2707         * text2.C (setCursorFromCoordinates): fix font problem
2708
2709 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2710
2711         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2712         bogus "rebuild cursor" code
2713
2714 2004-03-11  André Pönitz  <poenitz@gmx.net>
2715
2716         * buffer.[Ch]: use InsetText instead of LyXText as container for
2717         the main lyx text.
2718
2719         * dociterator.[Ch]: drop the BufferView * member which is not needed
2720         anymore after the change to buffer.C
2721
2722         * paragraph_funcs.C:
2723         * text.C:
2724         * text2.C:
2725         * BufferView.[Ch]:
2726         * BufferView_pimpl.[Ch]:
2727         * cursor.[Ch]:
2728         * cursor_slice.[Ch]: adjust
2729
2730         * text3.C: fix bug in mathDispatch
2731
2732 2004-03-08  André Pönitz  <poenitz@gmx.net>
2733
2734         * undo.[Ch]: use 'StableDocumentIterator' as base for
2735         the Undo struct.
2736
2737 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2738
2739         * LaTeXFeatures.C:
2740         * bufferparams.[Ch]: add jurabib support and param.
2741
2742         * LaTeX.C: add FIXME/comment.
2743
2744 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2745
2746         * buffer.C: increment file format to 230.
2747
2748 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2749
2750         * cursor.C (dispatch): avoid infinite loops
2751
2752 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2753
2754         * rowpainter.C (paintSelection): fix x coordinates
2755
2756 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2757
2758         * text.C (rowBreakPoint): fix breaking before displayed insets
2759
2760 2004-03-01  André Pönitz  <poenitz@gmx.net>
2761
2762         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2763
2764         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2765
2766         * Makefile.am:
2767         * BufferView.C:
2768         * BufferView_pimpl.C:
2769         * buffer.C:
2770         * lyxfind.C:
2771         * lyxfunc.C:
2772         * text.C:
2773         * text2.C:
2774         * text3.C: adjust
2775
2776 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2777
2778         * lyxtext.h:
2779         * text.C:
2780         * text2.C:
2781         * rowpainter.C:
2782         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2783         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2784
2785 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2786
2787         * Bidi.[Ch] (computeTables): const correctness
2788         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2789         fill_hfill, fill_label_hfill and x from Row
2790         * lyxtext.h: prepareToPrint returns a RowMetrics
2791         * rowPainter.C: adjust
2792         * text.C (prepareToPrint): use width, not textWidth. adjust
2793         (redoParagraphInternal, cursorX): adjust
2794         * text2.C (getColumnNearX): adjust
2795         (init): put a default value to the top LyXText::width
2796
2797 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2798
2799         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2800
2801 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2802
2803         * lyxtext.h: add FontIterator class
2804
2805         * text.C (FontIterator, operator*, operator->, operator++): add
2806         (rowBreakPoint, setRowWidth): adjust (fixing a
2807         rebreaking bug)
2808
2809 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2810
2811         * BufferView_pimpl.C (workAreaDispatch): allow also
2812         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2813
2814 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2815
2816         * text.C (rowBreakPoint): fix a bug showing with very large insets
2817
2818 2004-02-25  André Pönitz  <poenitz@gmx.net>
2819
2820         * text3.C:
2821         * cursor.[Ch]: move some mathed specific code to mathed
2822
2823 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2824
2825         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2826         use_tempdir in preferences
2827         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2828         tempfile creation
2829         * lyx_main.C: ensure that tempdir is valid
2830         * lyxlex.h: correct typo
2831         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2832         * paragraph.[Ch] (isMultiLingual): make const
2833         * cursor.[Ch] (openable): make const
2834
2835 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2836
2837         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2838
2839 2004-02-20  André Pönitz  <poenitz@gmx.net>
2840
2841         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2842
2843         * cursor.[Ch]: prepare for localized getStatus()
2844
2845         * lyxtext.h:
2846         * tabular.C:
2847         * text.C:
2848         * text2.C:
2849         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2850
2851 2004-02-20  André Pönitz  <poenitz@gmx.net>
2852
2853         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2854
2855 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2856
2857         * text2.C (setCursorFromCoordinates): switch to absolute coords
2858         (cursorUp): adjust
2859         (cursorDown): adjust
2860         * text3.C (dispatch): adjust
2861
2862 2004-02-16  André Pönitz  <poenitz@gmx.net>
2863
2864         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2865           insets/ChangeLog)
2866
2867         * cursor_slice.[Ch]: remove unneeded acessor function
2868
2869         * lyxtext.h: rename rtl() to isRTL()
2870
2871         * rowpainter.C:
2872         * tabular.C:
2873         * text.C:
2874         * text2.C:
2875         * text3.C: adjust
2876
2877 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2878
2879         * rowpainter.C (paintSelection): coord fix
2880
2881 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2882
2883         * Spacing.C: compile fix
2884
2885 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2886
2887         * cursor.C (dispatch): restore current_ before returning
2888
2889 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2890
2891         * text2.C (cursorUp, cursorDown): fix coords
2892         (moveUp): fix crash
2893
2894 2004-02-12  André Pönitz  <poenitz@gmx.net>
2895
2896         * lyxtext.h:
2897         * text.C:
2898         * text2.C:
2899         * text3.C: add LCursor & parameter to most cursor movement functions
2900           remove usage of LyXText::cursorRow() and cursorPar()
2901
2902         * cursor.[Ch]: add textRow() needed members
2903
2904         * BufferView.C:
2905         * BufferView_pimpl.C:
2906         * paragraph.[Ch]:
2907         * BufferView.C:
2908         * BufferView_pimpl.C: adjust
2909
2910 2004-02-11  André Pönitz  <poenitz@gmx.net>
2911
2912         * lyxfunc.C:
2913         * BufferView.[Ch]:
2914         * BufferView_pimpl.C: shift undo/redo handling
2915
2916         * cursor.[Ch]: fix mathed crash
2917
2918         * lyxfind.C:
2919         * lyxtext.h: move selectionAsText to LCursor
2920
2921         * output_latex.C:
2922         * paragraph.C:
2923         * text.C:
2924         * text2.C:
2925         * text3.C: adjust
2926
2927         * rowpainter.C: fix excessive drawing
2928
2929 2004-02-06  André Pönitz  <poenitz@gmx.net>
2930
2931         * BufferView.[Ch]:
2932         * BufferView_pimpl.[Ch]:
2933         * text3.C: move some text specific LFUN handling
2934
2935 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2936
2937         * text3.C (checkInsetHit): adjust coords
2938         * text2.C (getColumnNearX): adjust coords
2939         (edit): adjust coords
2940         * text.C (getRowNearY): add two asserts
2941
2942 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2943
2944         * converter.C:
2945         * format.C: add using std::distance to compile on gcc 2.95/stlport
2946
2947 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2948
2949         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2950
2951 2004-02-04  André Pönitz  <poenitz@gmx.net>
2952
2953         * BufferView.[Ch] (insertInset):
2954         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2955
2956         * text2.C:
2957         * text3.C: adjust
2958
2959 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2960
2961         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2962         on the default clause of the switch
2963         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2964         wasn't catched by LCursor::dispatch
2965
2966 2004-02-03  André Pönitz  <poenitz@gmx.net>
2967
2968         * BufferView.C:
2969         * cursor.[Ch]: some additional asserts
2970
2971         * undo.[Ch]: remove LyXText dependency in interface
2972
2973         * lyxfunc.C: adjust
2974
2975         * lyxtext.h (firstPar, lastPar): remove dead functions
2976
2977         * text.C:
2978         * text2.C:
2979         * text3.C:
2980         * paragraph.[Ch]: adjust
2981
2982 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2983
2984         * lyxfind.C (find): fix argument order in call to ::find
2985
2986 2004-02-02  André Pönitz  <poenitz@gmx.net>
2987
2988         * cursor.[Ch]: remove direct access to anchor
2989
2990         * text.C: remove findText() hack
2991
2992 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2993
2994         * iterators.[Ch] (lockPath): remove in favour of...
2995         * BufferView.[Ch] (setCursor): this addition
2996         * BufferView.C (putSelectionAt): adjust
2997         * undo.C (performUndoOrRedo): adjust
2998         * lyxfunc.C (dispatch): adjust
2999
3000 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3001
3002         * iterators.C (lockPath): add a missing slice
3003         * undo.C (performUndoOrRedo): remove redundant positioning code
3004
3005 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3006
3007         * vc-backend.C (scanMaster): ";" -> ';'
3008
3009 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3010
3011         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3012         std::binary_function
3013
3014         * lyxtextclass.C (compare_name): rename to...
3015         (LayoutNamesEqual): ...this
3016
3017         * lyxlex_pimpl.C (compare_tags): inherit from
3018         std::binary_function, put back into anon namespace
3019
3020         * lyxfind.C (MatchString): inherig from std::binary_function
3021         (findChange): use empty() istead of !size()
3022
3023         * format.C (FormatNamesEqual): new functor
3024         (getFormat): use it
3025         (getNumber): use it
3026         (add): use it
3027         (erase): use it
3028         (setViewer): use it
3029
3030         * converter.C (compare_Converter): rename to...
3031         (ConverterEqual): ...this, and fixup a bit.
3032         (getConverter): use it, and make function const
3033         (getNumber): use it, and make function const
3034         (add): use it
3035         (erase): use it:
3036
3037         * bufferlist.C: add using boost::bind
3038
3039         * MenuBackend.C (MenuNamesEqual): new functor
3040         (hasMenu): use it, and make function const
3041         (hasSubmenu): use nested bind to get rid of compare_memfun.
3042
3043 2004-01-30  André Pönitz  <poenitz@gmx.net>
3044
3045         * BufferView_pimpl.C:
3046         * cursor.C:
3047         * cursor.h:
3048         * cursor_slice.[Ch]:
3049         * lyxfunc.C:
3050         * lyxtext.h:
3051         * paragraph_funcs.C:
3052         * paragraph_funcs.h:
3053         * rowpainter.C:
3054         * text.C:
3055         * text2.C:
3056         * text3.C: move some of the edit(x,y) handling to the insets
3057         some coordinate changes.
3058
3059 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3060
3061         * text.C: add using statements for std::advance and std::distance
3062
3063         * paragraph.C: add using statement for std::distance
3064
3065         * lyxfind.C: add using statement for std::advance
3066
3067         * cursor.C (region): remove std:: from swap
3068         (openable): use nucleus in stead of operator->
3069
3070         * BufferView.C: add using statements for std::distance and std::swap
3071
3072 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3073
3074         * iterators.C: Remove the pimple, move the needed structures to
3075         the header file. Create accessor for the positions stack.
3076         (asPosIterator): remove function
3077
3078         * PosIterator.C (PosIterator): move constructors to top of file
3079         (PosIterator): reimplement the constructor taking a ParIterator in
3080         terms of setFrom.
3081         (setFrom): new function
3082         (operator!=): inline it
3083
3084 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3085
3086         * lyxfind.C (replaceAll): use std::advance
3087
3088         * iterators.h: inherit from std::iterator.
3089
3090         * PosIterator.C (advance, distance): remove
3091         * PosIterator.h: interit from std::iterator.
3092
3093 2004-01-26  André Pönitz  <poenitz@gmx.net>
3094
3095         * BufferView.[Ch]:
3096         * BufferView_pimpl.[Ch]:
3097         * InsetList.[Ch]:
3098         * PosIterator.[Ch]:
3099         * buffer.h:
3100         * bufferview_funcs.C:
3101         * cursor.[Ch]:
3102         * cursor_slice.h:
3103         * factory.[Ch]:
3104         * iterators.[Ch]:
3105         * lyxfind.C:
3106         * lyxfunc.C:
3107         * lyxtext.h:
3108         * output_docbook.C:
3109         * output_latex.C:
3110         * output_linuxdoc.C:
3111         * output_plaintext.C:
3112         * paragraph.[Ch]:
3113         * paragraph_funcs.[Ch]:
3114         * paragraph_pimpl.[Ch]:
3115         * rowpainter.C:
3116         * tabular.C:
3117         * tabular.h:
3118         * text.C:
3119         * text2.C:
3120         * text3.C: more IU:  dumps most of the rest of the mathcursor
3121     implementation into cursor.[Ch]; "globalize" a bit of it.
3122
3123 2004-01-25  Angus Leeming  <leeming@lyx.org>
3124
3125         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3126
3127 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3128
3129         * LaTeXFeatures.h: add nice_ and nice() const
3130         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3131
3132 2004-01-20  André Pönitz  <poenitz@gmx.net>
3133
3134         * BufferView.[Ch]:
3135         * BufferView_pimpl.C:
3136         * PosIterator.C:
3137         * bufferview_funcs.C:
3138         * cursor.[Ch]:
3139         * cursor_slice.[Ch]:
3140         * factory.C:
3141         * iterators.C:
3142         * lyx_cb.C:
3143         * lyxfind.C:
3144         * lyxfunc.C:
3145         * lyxtext.h:
3146         * rowpainter.C:
3147         * text.C:
3148         * text2.C:
3149         * text3.C:
3150         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3151           LCursor and mathcursor parts to LCursor and InsetBase.
3152
3153 2004-01-15  André Pönitz  <poenitz@gmx.net>
3154
3155         * cursor_slice.[Ch]: add a few covienience functions
3156
3157         * funcrequest.[Ch]: remove BufferView * member
3158
3159         * BufferView_pimpl.C:
3160         * cursor.C:
3161         * factory.[Ch]:
3162         * lyxfind.[Ch]:
3163         * lyxfunc.C:
3164         * lyxtext.h:
3165         * text3.C:
3166         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3167
3168 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3169
3170         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3171         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3172
3173 2004-01-13  André Pönitz  <poenitz@gmx.net>
3174
3175         * textcursor.[Ch]:
3176         * lyxtext.h: hide cursor and selection anchor behind accessor function
3177
3178         * BufferView.C:
3179         * BufferView_pimpl.[Ch]:
3180         * PosIterator.C:
3181         * bufferview_funcs.C:
3182         * cursor.h:
3183         * lyxfind.C:
3184         * lyxfunc.C:
3185         * text.C:
3186         * text2.C:
3187         * text3.C:
3188         * undo.C: adjust
3189
3190         * cursor.h:
3191         * cursor_slice.[Ch]: some integer type changes for inset unification
3192
3193         * lyxcursor.[hC]: remove, it's CursorSlice now.
3194
3195         * Makefile.am:
3196         * BufferView_pimpl.[Ch]:
3197         * bufferview_funcs.C:
3198         * cursor_slice.C:
3199         * lyxtext.h:
3200         * text.C:
3201         * text2.C:
3202         * text3.C:
3203         * textcursor.[Ch]: adjust
3204
3205 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3206
3207         * text2.C (undoSpan): add and use
3208         * text.C (breakParagraph): use undoSpan (fix bug 578)
3209         * lyxtext.h: adjust
3210
3211 2004-01-08  Angus Leeming  <leeming@lyx.org>
3212
3213         * BufferView_pimpl.C (MenuInsertLyXFile):
3214         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3215         * lyxfunc.C (menuNew, open, doImport):
3216         FileFilterList change to the FileDialog open and save functions.
3217
3218 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3219
3220         * ShareContainer.h: make isEqual and isUnique adaptable
3221
3222         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3223
3224 2004-01-07  Angus Leeming  <leeming@lyx.org>
3225
3226         * LyXAction.C:
3227         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3228
3229         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3230
3231         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3232         functions replacing find, replace and replaceAll.
3233
3234         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3235         LFUN_WORDFIND(FORWARD|BACKWARD).
3236
3237 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3238
3239         * text.C (breakParagraph): remove an outdated #warning
3240
3241 2004-01-07  André Pönitz  <poenitz@gmx.net>
3242
3243         * lyxfind.C: somewhat clearer logic
3244
3245         * text.C: prevent crash in cursorX on unitialized row cache
3246
3247 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3248
3249         * lyxcursor.[Ch] (operator>): add
3250         * textcursor.C (selStart, selEnd): use std::min and std::max
3251
3252 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3253
3254         * Chktex.C: include boost/format.hpp
3255
3256 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3257
3258         * InsetList.C: replace functor MathcIt with adaptable functor
3259         InsetTablePosLess
3260         (insetIterator): modify accordingly
3261
3262         * BranchList.h: move the BranchNamesEqual functor here from...
3263         * BranchList.C: ... to here
3264
3265         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3266         SameName and match.
3267         (add): replace a finding loop with std::find_if.
3268
3269 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3270
3271         * output_docbook.C: moving LatexParam functionality into
3272         .layout files
3273
3274 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3275
3276         * buffer.C: increment format to 229.
3277
3278 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3279
3280         * LaTeXFeatures.C:
3281         * lyx_sty.[Ch]: remove minipageindent_def
3282
3283         * LyXAction.C:
3284         * factory.C:
3285         * lfuns.h:
3286         * lyxfunc.C:
3287         * text3.C: remove LFUN_INSET_MINIPAGE
3288
3289 2003-12-28  Angus Leeming  <leeming@lyx.org>
3290
3291         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3292
3293 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3294
3295         * text2.C (setParagraph): fix off-by-one crash
3296
3297 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3298
3299         * output_docbook.C: header stuff for AGU
3300
3301 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3302
3303         * text2.C (redoCursor): remove
3304         * text.C:
3305         * text3.C:
3306         * BufferView_pimpl.C: remove calls to redoCursor and
3307         setCursor(cursor.par(), cursor.pos()) all around
3308
3309 2003-12-15  Angus Leeming  <leeming@lyx.org>
3310
3311         * buffer.C: up the format to 228.
3312
3313 2003-12-15  André Pönitz  <poenitz@gmx.net>
3314
3315         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3316         slices
3317
3318         * Makefile.am:
3319
3320         * BufferView_pimpl.C:
3321         * cursor.[Ch]:
3322         * lyxcursor.[Ch]:
3323         * rowpainter.[Ch]:
3324         * lyxtext.h:
3325         * text.C:
3326         * text2.C:
3327         * text3.C: adjust
3328
3329 2003-12-15  Angus Leeming  <leeming@lyx.org>
3330
3331         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3332         than getFromGUIName to manipulate the color.
3333
3334 2003-12-14  Angus Leeming  <leeming@lyx.org>
3335
3336         * BranchList.[Ch]: minimize the API.
3337         (Branch::getBranch, getColor): now return a 'const &'.
3338         (Branch::setSelected) now returns a bool set to true if the
3339         selection status changes.
3340         (BranchList::clear, size, getColor, setColor, setSelected,
3341         allBranches, allSelected, separator): removed.
3342         (BranchList::find): new functions, returning the Branch with
3343         the given name.
3344         (BranchList::add, remove): return a bool indicating that
3345         the operation was successful.
3346
3347         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3348         new InsetBranch::isBranchSlected member function.
3349
3350         * LColor.[Ch]: mimimize the API.
3351         (fill): renamed as addColor and made private.
3352         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3353         versions of these functions taking a string arg have been removed.
3354
3355         * bufferparams.C (readToken):
3356         * lyxfunc.C (dispatch):
3357         * lyxrc.C (read): changes due to the altered BranchList and
3358         LColor APIs.
3359
3360         * factory.C (createInset, readInset): changes due to altered
3361         InsetBranch c-tor.
3362
3363 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3364
3365         * factory.C:
3366         * lyxfunc.C: remove insetminipage. "minipage-insert"
3367         now produces a frameless minipage box inset.
3368
3369 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3370
3371         * textcursor.[Ch] (selStart,selEnd): add new methods
3372         remove selection::start, end, use LyXCursor::operator<
3373         * lyxcursor.[Ch] (operator<): add
3374         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3375         * BufferView.[Ch] (unsetXSel): add
3376         * text2.C (clearSelection): use unsetXSel,adjust
3377         * text.C: adjust
3378         * text3.C: adjust
3379         * rowpainter.C: adjust
3380         * bufferview_funcs.C (put_selection_at): adjust
3381
3382 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3383
3384         * BufferView_pimpl.C: small coord. correction
3385
3386 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3387
3388         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3389         dragging over the splash screen.
3390
3391 2003-12-11  Angus Leeming  <leeming@lyx.org>
3392
3393         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3394         as it is now handled in LyXText::dispatch.
3395
3396         * text3.C (doInsertInset): remove a level of nesting.
3397
3398 2003-12-11  Angus Leeming  <leeming@lyx.org>
3399
3400         * factory.C (createInset): changes due to the changed interface to
3401         InsetCommandMailer::string2params.
3402
3403 2003-12-10  Angus Leeming  <leeming@lyx.org>
3404
3405         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3406         'dialog-show-new-inset <inset name>'
3407
3408 2003-12-10  Angus Leeming  <leeming@lyx.org>
3409
3410         * buffer.C: up the format to 227.
3411
3412         * factory.C: the box inset is now identified simply by 'Box'.
3413
3414 2003-12-10  Angus Leeming  <leeming@lyx.org>
3415
3416         * buffer.C: up the format to 226.
3417
3418         * factory.C: the note inset is now identified simply by 'Note'.
3419
3420 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3421
3422         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3423         when a pit is enough. Standarize a couple of loops.
3424
3425 2003-12-05  Angus Leeming  <leeming@lyx.org>
3426
3427         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3428         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3429         data to the re-worked "log" dialog.
3430
3431 2003-12-03  André Pönitz  <poenitz@gmx.net>
3432
3433         * PosIterator.C:
3434         * iterators.C:
3435         * lyxtext.h:
3436         * output_latex.C:
3437         * paragraph_funcs.C:
3438         * text.C:
3439         * text2.C: use Inset::getText instead of Inset::getParagraph
3440
3441 2003-12-03  André Pönitz  <poenitz@gmx.net>
3442
3443         * buffer.[Ch]:
3444         * lyxtext.h:
3445         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3446         InsetText::read() as LyXText::read()
3447
3448 2003-12-02  Angus Leeming  <leeming@lyx.org>
3449
3450         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3451         type. Add a comment in the implementation that the function uses
3452         the stream's bad() function rather than fail() as the std::streams
3453         would do.
3454
3455 2003-12-02  André Pönitz  <poenitz@gmx.net>
3456
3457         * lyxlex.[Ch]: make interface more similar to std::stream
3458
3459         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3460
3461 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3462
3463         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3464
3465 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3466
3467         * vspace.[Ch]: remove VSpace::NONE
3468
3469 2003-12-01  André Pönitz  <poenitz@gmx.net>
3470
3471         * buffer.[Ch]:
3472         * lyxtext.h: move ParagraphList member to LyXText
3473         rename LyXText::ownerParagraphs to LyXText::paragraph
3474
3475         * CutAndPaste.C:
3476         * bufferview_funcs.C:
3477         * iterators.[Ch]:
3478         * lyx_cb.C:
3479         * paragraph.C:
3480         * rowpainter.C:
3481         * tabular.C:
3482         * text.C:
3483         * text2.C:
3484         * text3.C: adjust
3485
3486         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3487
3488         * undo.C: fix cursor positioning
3489
3490 2003-12-01  John Levon  <levon@movementarian.org>
3491
3492         * BufferView_pimpl.C: fix a crash on exit with
3493         a buffer open
3494
3495 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3496
3497         * BranchList.C: fix setSelected() method.
3498
3499 2003-11-28  André Pönitz  <poenitz@gmx.net>
3500
3501         * ParagraphParameters.[Ch]:
3502         * ParameterStruct.h: remove space above/below from Paragraph to
3503          InsetVSpace
3504
3505         * BufferView_pimpl.C:
3506         * factory.C:
3507         * lyxfunc.C:
3508         * lyxtext.h:
3509         * output_latex.C:
3510         * paragraph.C:
3511         * paragraph_funcs.C:
3512         * rowpainter.[Ch]:
3513         * text.C:
3514         * text2.C:
3515         * text3.C: adjust
3516
3517 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3518
3519         * factory.C: Syntax change for CharStyles
3520
3521 2003-11-28  André Pönitz  <poenitz@gmx.net>
3522
3523         * BufferView.[Ch]:
3524         * BufferView.[Ch]:
3525         * buffer.[Ch]:
3526         * buffer.[Ch]: move LyXText member
3527
3528 2003-11-28  André Pönitz  <poenitz@gmx.net>
3529
3530         * BufferView.[Ch]: make LyXText * text a private member
3531
3532         * BufferView_pimpl.C:
3533         * cursor.C:
3534         * iterators.C:
3535         * lyx_cb.C:
3536         * lyxfind.C:
3537         * lyxtext.h:
3538         * rowpainter.[Ch]:
3539         * text.C:
3540         * text2.C:
3541         * undo.C: adjust
3542
3543         * output_plaintext.C: cleanup
3544
3545 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3546
3547         * buffer.C:
3548         * lyxtextclass.[Ch]: parametrize SGML document header
3549
3550 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3551
3552         * converter.[Ch]:
3553         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3554         getFlavor().
3555
3556 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3557
3558         * text2.C (setFont): rework using PosIterator (no more recursive)
3559         (setCharFont): no more needed
3560         (setLayout): no more selection cursors fiddling (done by redoCursor)
3561         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3562         destroy remaining ones)
3563
3564 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3565
3566         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3567         * lyxtext.h: ditto
3568         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3569         selection cursors
3570         * lyxfunc.C: adjust
3571         * text3.C: adjust + re-allow multi par depth changes
3572         * textcursor.C: simplify a bit
3573
3574 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3575
3576         * src/buffer.C:
3577         * src/lyxlayout.C:
3578         * src/lyxlayout.h:
3579         * src/lyxtext.h:
3580         * src/output_docbook.C:
3581         * src/output_latex.C:
3582         * src/paragraph.C:
3583         * src/paragraph.h:
3584         * src/sgml.C:
3585         * src/sgml.h:
3586         * src/text2.C: Introducing a number of tags parametrizing various
3587         XML formats that we may want to support
3588
3589 2003-11-25  André Pönitz  <poenitz@gmx.net>
3590
3591         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3592
3593         * lyxtext.h (leftMargin/rightMargin): simplify interface
3594
3595         * rowpainter.C:
3596         * text.C:
3597         * text2.C:
3598         * text3.C: adjust
3599
3600 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3601
3602         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3603         master file to any child files. Fixes bug 546.
3604
3605 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3606
3607         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3608
3609 2003-11-24  André Pönitz  <poenitz@gmx.net>
3610
3611         * rowpainter.C: simplification
3612
3613         * text2.C (updateCounters): remove call to redoParagraph on
3614         changed labels as this is far too expensive.
3615
3616 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3617
3618         * converter.C (convert): fix a crash: this function gets
3619         called with buffer == 0 from importer code.
3620
3621 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3622
3623         * text3.C (cursorPrevious): make sure that we do not compare
3624         iterators form different containers.
3625         (cursorNext): ditto
3626
3627         * rowpainter.C (paintSelection): make sure that we do not compare
3628         iterators from different containers.
3629
3630         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3631         iterators from different ParagraphList containers.
3632         [NEXT] ditto
3633
3634         * text2.C (LyXText): change order of initialization slightly
3635         (operator=): new function. copy all variables except cache_par_
3636         (moveUp): make sure that we do not compare iterators from
3637         different ParagraphList constainers.
3638         (moveDown): ditto
3639
3640         * text.C (firstPar): new function
3641         (lastPar): new function
3642         (endPar): new function
3643
3644         * lyxtext.h: move things around and group public functions, public
3645         variables, private functions, private variables
3646
3647 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3648
3649         * factory.C: change call to InsetERT constructor to avoid
3650         additional invocation of method status
3651         * text2.C (toggleInset): remove redundant update() call
3652         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3653         instead of a Bufferview pointer
3654
3655 2003-11-21  André Pönitz  <poenitz@gmx.net>
3656
3657         * rowpainter.C: simplification
3658
3659 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3660
3661         * text3.C (dispatch): make possible to extend a word/row selection
3662         with the mouse
3663
3664 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3665
3666         * lyxtext.h: x0_,y0_ -> xo_,yo_
3667         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3668         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3669         * rowpainter.C (paintRows): paint full paragraphs
3670
3671 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3672
3673         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3674         screen coordinates)
3675
3676 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3677
3678         * lyxtext.h: add x0_, y0_
3679         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3680         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3681
3682 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3683
3684         * text2.C (setCursorIntern): move the x_target update here *
3685         * text3.C: change some bv() to true/false in calls to
3686         cursorUp/Down/Right/Left
3687         * cursor.C: use helper function.
3688
3689 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3690
3691         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3692         * paragraph_funcs.[Ch]: correct comment
3693         * rowpainter.C: do not paint selections away from bv->cursor()
3694         Fix a long standing selection painting bug.
3695         * text3.C: generalize mouse-selection code to LyXTexts other that
3696         top one
3697         * textcursor.C: do not use y coords if we can use par offsets
3698
3699 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3700
3701         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3702         cursor position after e.g. inset insert)
3703
3704 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3705
3706         * lyxfind.C (replace): adjust to locking removal + some
3707         code simplification
3708
3709 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3710
3711         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3712         of the path
3713
3714 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3715
3716         * lyxlayout.[Ch]:
3717         * output_docbook.C: XML sanitation: new layout
3718         parameters InnerTag and CommandDepth
3719
3720 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3721
3722         * BufferView_pimpl.C:
3723         * factory.C:
3724         * text3.C: Fix the insertion and modification of button-style
3725         insets
3726
3727 2003-11-13  André Pönitz  <poenitz@gmx.net>
3728
3729         * InsetList.[Ch]: remove deleteLyXText
3730
3731         * paragraph.[Ch]: cache beginOfBody position
3732
3733         * Bidi.C:
3734         * text.C:
3735         * text2.C:
3736         * text3.C: remove superfluous update() calls
3737
3738         * vspace.C: cleanup
3739
3740 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3741
3742         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3743         * BufferView.C (fitLockedInsetCursor): remove
3744         * cursor.[Ch] (getDim): add
3745         * text.C (getRowNearY): add faster version
3746         * text3.C: remove some update calls
3747
3748 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3749
3750         * LaTeXFeatures.C:
3751         * LyXAction.C:
3752         * MenuBackend.C:
3753         * MenuBackend.h:
3754         * dispatchresult.h:
3755         * factory.C:
3756         * lfuns.h:
3757         * lyxfunc.C:
3758         * lyxtextclass.C:
3759         * lyxtextclass.h:
3760         * text3.C: The Character Style /XML short element patch.
3761
3762 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3763
3764         * text3.C:
3765         * factory.C: Small step to solving 'unable to insert some insets'
3766         problem
3767
3768 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3769
3770         * cursor.[Ch] (updatePos): new function for updating the y
3771         position of the tip inset
3772         * bufferview_funcs.C (put_selection_at):
3773         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3774
3775 2003-11-11  André Pönitz  <poenitz@gmx.net>
3776
3777         * text.C: remove big comment on invalid Paragraph pointers as it is
3778         not valid anymore
3779
3780 2003-11-11  André Pönitz  <poenitz@gmx.net>
3781
3782         * text_funcs.[Ch]: merge with ...
3783
3784         * text.C: ... this
3785
3786         * lyxtext.h:
3787         * text2.C:
3788         * text3.C: adjust
3789
3790         * Makefile.am: remove text_funcs.[Ch]
3791
3792 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3793
3794         * cursor.C (getPos): return absolute cached y coord
3795
3796         * BufferView_pimpl.C (fitCursor): new simplistic code
3797         (workAreaDispatch): add a fitCursor call
3798
3799 2003-11-10  André Pönitz  <poenitz@gmx.net>
3800
3801         * BufferView.[Ch]:
3802         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3803
3804 2003-11-10  André Pönitz  <poenitz@gmx.net>
3805
3806         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3807         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3808         indicate that the cursor needs to leave an inset
3809
3810         * lyxtext.h: remove inset locking
3811
3812         * cursor.[Ch]: re-implement functionality provided by inset locking
3813
3814         * BufferView.[Ch]:
3815         * BufferView_pimpl.[Ch]:
3816         * LyXAction.C:
3817         * bufferview_funcs.[Ch]:
3818         * factory.C:
3819         * funcrequest.[Ch]:
3820         * iterators.C:
3821         * lyx_cb.C:
3822         * lyxfind.C:
3823         * lyxfunc.C:
3824         * text.C:
3825         * text2.C:
3826         * text3.C:
3827         * undo.C: adjust
3828
3829 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3830
3831         * PosIterator.[Ch]: replace the stack with a vector, add inset
3832         accesor
3833         * iterators.[C]: adjust
3834
3835 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3836
3837         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3838         replaced
3839         * paragraph_funcs.C (readParToken): put the correct id in the
3840         error item, not the id of the top paragraph
3841
3842 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3843
3844         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3845         * bufferview_funcs.C (put_selection_at): use the above
3846
3847 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3848
3849         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3850
3851 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3852
3853         * output_linuxdoc.h:
3854         * output_plaintext.h:
3855         * output.h:
3856         * output_docbook.h: add #include statements
3857
3858 2003-11-05  José Matos  <jamatos@lyx.org>
3859
3860         * output_docbook.[Ch]:
3861         * output_latex.[Ch]:
3862         * output_linuxdoc.[Ch]:
3863         * output_plaintext.[Ch]: New files for output formats.
3864         * output.[Ch]: New file for helper functions.
3865
3866         * buffer.[Ch]:
3867         * paragraph_funcs.[Ch]: output functions moved to new files.
3868
3869         * outputparams.h: rename of latexrunparams.h
3870
3871         * LaTeX.[Ch]:
3872         * buffer.[Ch]:
3873         * bufferlist.[Ch]:
3874         * converter.[Ch]:
3875         * exporter.C:
3876         * paragraph.[Ch]:
3877         * paragraph_funcs.[Ch]:
3878         * paragraph_pimpl.[Ch]:
3879         * tabular.[Ch]: rename ascii to plaintext
3880         and LatexRunParams to OutputParams.
3881
3882 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3883
3884         * iterators.[Ch] (text): require bv argument
3885         * undo.C (recordUndo):
3886         * lyxfunc.C (dispatch):
3887         * bufferview_funcs.C (put_selection_at): adjust
3888
3889 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3890
3891         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3892
3893 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3894
3895         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3896         nestings
3897
3898 2003-11-04  André Pönitz  <poenitz@gmx.net>
3899
3900         * cursor.[Ch]: restructure
3901
3902         * BufferView.[Ch]:
3903         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3904
3905         * iterators.[Ch] (asCursor): remove
3906
3907         * lfuns.h: remove LFUN_INSET_EDIT
3908
3909         * lyxfunc.C:
3910         * tabular.C:
3911         * text.C:
3912         * text2.C:
3913         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3914
3915 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3916
3917         * lyxfind.[Ch]: complete overhaul
3918         * BufferView_pimpl.C:
3919         * lyxfunc.C: adjust
3920         * paragraph.[Ch] (insert): add
3921
3922 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3923
3924         * BufferView.[Ch]:
3925         * lyxtext.h:
3926         * text.C: remove dead spellcheck code
3927
3928 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3929
3930         * dispatchresult.h: add a val setter
3931
3932         * cursor.C (dispatch): use a tempvar for data_[i]
3933
3934 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3935
3936         * PosIterator.[Ch]: compile fix
3937
3938 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3939
3940         * text.C (cursorPar): deactivate the cursor cache
3941
3942 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3943
3944         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3945
3946 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3947
3948         * text3.C (dispatch): adjust for new DisptchResult semantics.
3949
3950         * lyxfunc.C (dispatch): handle update when return from
3951         Cursor::dispatch, adjust for new DispatchResult semantics.
3952
3953         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3954         DispatchResult(true) mean to not update. Add class functions for
3955         setting dispatched and update, as well as reading.
3956
3957         * cursor.C (dispatch): don't handle update here
3958
3959 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3960
3961         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3962         * trans_mgr.C: adjust
3963
3964         * paragraph_funcs.C (readParToken): exception safety
3965
3966         * lyxvc.h: store the vcs pointer in a scoped_ptr
3967         * lyxvc.C: adjust
3968
3969         * lyxsocket.C (serverCallback): exception safety
3970
3971         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3972
3973         * ispell.C (clone): make it return a auto_ptr
3974
3975         * factory.C (createInset): exception safety
3976         (readInset): exception safety
3977
3978         * bufferlist.C (newBuffer): exception safety
3979
3980         * Thesaurus.C (Thesaurus): use initialization for aik_
3981
3982         * MenuBackend.C (expandToc): exception safety.
3983
3984 2003-11-03  André Pönitz  <poenitz@gmx.net>
3985
3986         * buffer.C:
3987         * buffer.h:
3988         * bufferview_funcs.C: remove getInsetFromId()
3989
3990         * lyxcursor.[Ch]:
3991         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3992
3993         * lyxfunc.C:
3994         * text2.C:
3995         * text3.C: adjust
3996
3997 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3998
3999         * PosIterator.C (distance, advance): new
4000         * bufferview_funcs.[Ch] (put_selection_at): new
4001         * iterators.[Ch] (lockPath): new
4002
4003 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4004
4005         * iterators.[Ch] (asPosIterator): added
4006         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4007         * PosIterator.[Ch]: added
4008
4009 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4010
4011         * text3.C:
4012         * lyxfunc.C:
4013         * cursor.C (dispatch):
4014         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4015
4016         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4017         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4018         contructor, add a class function dispatched. Remove operator>=
4019
4020 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4021
4022         * debug.C: only use the default constructor for debugstream
4023         (lyxerr) here.
4024
4025         * main.C (main): include debug.h and setup the lyxerr streambuf
4026         here.
4027
4028 2003-10-31  José Matos  <jamatos@lyx.org>
4029
4030         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4031
4032         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4033         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4034         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4035         * paragraph_pimpl.C (simpleTeXSpecialC):
4036         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4037         add LatexRunParams argument.
4038
4039         * exporter.C (Export): change call accordingly.
4040
4041         * latexrunparams.h: add new member to take care of the other backends.
4042 2003-10-30  José Matos  <jamatos@lyx.org>
4043
4044         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4045         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4046         factorise code for paragraph output.
4047         * buffer.[Ch]:
4048         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4049         move functions.
4050
4051 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4052
4053         * text3.C (dispatch):
4054         * lyxfunc.C (dispatch):
4055         * cursor.C (dispatch):
4056         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4057
4058         * dispatchresult.h: make the dispatch_result_t ctor explicit
4059
4060 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4061
4062         * sgml.[Ch]:
4063         * buffer.C: small refactoring of docbook stuff
4064
4065 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4066
4067         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4068         meaning.
4069
4070 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4071
4072         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4073         operator dispatch_result_t, and operators for == != and >=
4074
4075         * cursor.C (dispatch): adjust for operator dispatch_result_t
4076         removal. comment out call to update
4077
4078         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4079
4080 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4081
4082         * text3.C:
4083         * text2.C:
4084         * text.C:
4085         * lyxtext.h:
4086         * lyxfunc.C:
4087         * cursor.C:
4088         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4089         (dispatch):
4090
4091         * dispatchresult.h: new file, DispatchResult broken out of
4092         insets/insetbase.h
4093
4094         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4095
4096 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4097
4098         * text.C (rowBreakPoint): put a hack inside #if 0
4099
4100 2003-10-28  André Pönitz  <poenitz@gmx.net>
4101
4102         * lyxtext.h:
4103         * metricsinfo.C:
4104         * paragraph_funcs.C:
4105         * rowpainter.C:
4106         * text.C:
4107         * text2.C: general cleanup (lots of small stuff)
4108
4109 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4110
4111         * text2.C (cursorEnd): simple fix to the "end key goes to one
4112         before the end on last row" bug
4113
4114 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4115
4116         * text.C (backspace): fix the "zombie characters"
4117
4118 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4119
4120         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4121
4122 2003-10-27  André Pönitz  <poenitz@gmx.net>
4123
4124         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4125
4126         * factory.C: handle new InsetPagebreak, InsetLine
4127
4128         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4129         and move handling into new InsetPagebreak, InsetLine
4130
4131         * BufferView_pimpl.C:
4132         * LyXAction.C:
4133         * ParagraphParameters.C:
4134         * ParameterStruct.h:
4135         * lyxfunc.C:
4136         * lyxtext.h:
4137         * paragraph.C:
4138         * paragraph.h:
4139         * paragraph_funcs.C:
4140         * paragraph_pimpl.C:
4141         * rowpainter.C:
4142         * text.C:
4143         * text2.C:
4144         * text3.C: adjust
4145
4146 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4147
4148         * text.C:
4149         * lyxrow_funcs.[Ch]:
4150         * Bidi.C:
4151         * paragraph.C:
4152         * lyxtext.h:
4153         * rowpainter.C:
4154         * text2.C:
4155         * text3.C: remove lastPos uses in favour of Row::endpos
4156
4157 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4158
4159         * undo.C (performUndoOrRedo): fix two crashes by setting a
4160         cursor by hand and reordering some calls. Use bv->lockInset instead
4161         of inset->edit because the latter loses cursor information
4162
4163 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4164
4165         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4166         by Martin
4167         (rowBreakPoint): fix width. change point to point + 1.
4168         Add a missing check.
4169
4170 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4171
4172         * MenuBackend.C:
4173         * lyxfunc.C: fix (at least partly) the problems
4174         with the Nav menu and headers inside branch insets
4175         reported by Kayvan
4176
4177 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4178
4179         * paragraph.C (getChar): add strong asserts
4180
4181         * lyxrow_funcs.C (lastPos): remove hideous hack
4182
4183         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4184         (fill): adjust to that (avoid an infinite loop)
4185
4186 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4187
4188         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4189
4190 2003-10-23  André Pönitz  <poenitz@gmx.net>
4191
4192         * RowList_fwd.h: change list<> to vector<> to gain speed
4193         after suggestion from Alfredo
4194
4195 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4196
4197         * lyxtext.h: move the bidi stuff from here...
4198         * text.C: and here
4199         * text2.C: and here
4200         * Bidi.[Ch]: ... to here
4201
4202 2003-10-23  André Pönitz  <poenitz@gmx.net>
4203
4204         * lyxtext.h:
4205         * text.C (isLastRow, isFirstRow): new functions
4206
4207         * paragraph.h: new width cache member
4208
4209         * rowpainter.C: replace RowList::iterator with Row & where possible
4210
4211         * lyxfunc.C: replace several view()->text with a single call
4212
4213         * toc.C: fix 'unused' warning
4214
4215 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4216
4217         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4218         when woring with stream::pos_type
4219         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4220
4221 2003-10-22  André Pönitz  <poenitz@gmx.net>
4222
4223         * lyxtext.h:
4224         * text.C: use Row & instead of RowList::iterator
4225
4226         * lyxrow.h: rename end() to endpos()
4227
4228         * rowpainter.C:
4229         * text.C:
4230         * text2.C: adjust
4231
4232 2003-10-22  Angus Leeming  <leeming@lyx.org>
4233
4234         * buffer.[Ch] (fully_loaded): new member function, returning true
4235         only when the file has been loaded fully.
4236         Used to prevent the premature generation of previews and by the
4237         citation inset to prevent computation of the natbib-style label.
4238
4239         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4240         templates are all set up.
4241
4242         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4243
4244 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4245
4246         * text.C: fixed an "oops" in the "is a bit silly"
4247         bug fix
4248
4249 2003-10-21  André Pönitz  <poenitz@gmx.net>
4250
4251         * FuncStatus.[Ch]: small stuff, whitespace
4252
4253         * lyxfont.[Ch]: operator<<() for debug reasons
4254
4255         * lyxfunc.C:
4256         * lyxrow_funcs.C:
4257         * lyxtext.h: whitespace, spelling
4258
4259         * paragraph.C: naming of variables
4260
4261         * text.C:
4262         * text2.C: small stuff
4263
4264
4265 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4266
4267         * text.C: (1) finish off the inset display() work;
4268         (2) fix the "is a bit silly" bug (accessing char
4269         past end of par).
4270
4271 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4272
4273         * text.C: re-introduce display() for insets, fixing the
4274         various bugs (stretch of line above, math inset
4275         positioning, ...)
4276
4277 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4278
4279         * text.C (rightMargin): remove spurious semicolon
4280
4281         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4282         1415)
4283
4284 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4285
4286         * text3.C: fix one crash due to wrong cursor def
4287
4288 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4289
4290         * vc-backend.C (scanMaster): make the regex static
4291
4292         * LaTeX.C (scanAuxFile): make the regexs static
4293
4294         * text3.C (doInsertInset, dispatch, dispatch):
4295         * text2.C (cursorUp, cursorDown):
4296         * text.C (selectNextWordToSpellcheck):
4297         * BufferView_pimpl.C (dispatch):
4298         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4299
4300 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4301
4302         * lyxsocket.C: include <cerrno>
4303
4304 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4305
4306         * lyxfunc.C (dispatch): remove textcache stuff
4307
4308         * bufferlist.C (release): remove textcache stuff
4309         (closeAll): ditto
4310
4311         * TextCache.C: delete file
4312         * TextCache.h: delete file
4313
4314         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4315
4316         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4317         delete of the bv_->text.
4318         (resizeCurrentBuffer): remove texcache stuff
4319         (workAreaResize): ditto
4320
4321 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4322
4323         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4324         action.
4325
4326 2003-10-16  André Pönitz  <poenitz@gmx.net>
4327
4328         * lyxrow.[Ch]:
4329         * paragraph.h:
4330         * rowpainter.C:
4331         * text.C:
4332         * text2.C:
4333         * text3.C: speed up by storing y positions per paragraph plus per-row
4334         offset instead of having a 'full' y position in the row.
4335
4336 2003-10-15  André Pönitz  <poenitz@gmx.net>
4337
4338         * iterators.[Ch]:
4339         * iterators.[Ch]:
4340         * undo.[Ch]: make undo aware of inner insets
4341
4342 2003-10-14  Angus Leeming  <leeming@lyx.org>
4343
4344         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4345         static member functions LyX::ref() and LyX::cref.
4346         (lastfiles): new accessor functions for the new lastfiles_ member var.
4347         (addLyXView, views_): add a new LyXView to the list of views_.
4348         (updateInset): loop over all LyXViews to call their own updateInset
4349         member function, returning a pointer to the Buffer owning the inset.
4350
4351         * BufferView_pimpl.C (loadLyXFile):
4352         * MenuBackend.C (expandLastfiles):
4353         * bufferlist.C (MenuWrite, QuitLyX):
4354         lastfiles is no longer a global variable.
4355         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4356
4357         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4358         static function. Access through LyX::cref().emergencyCleanup().
4359
4360 2003-10-14  André Pönitz  <poenitz@gmx.net>
4361
4362         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4363
4364         * undo.[Ch]: restoring part of 'undo in insets'
4365
4366         * Makefile.am:
4367         * undo_funcs.[Ch]: merge with undo.[Ch]
4368
4369         * tabular.C: small cleansing stuff
4370
4371 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4372
4373         * paragraph_funcs.C (readParToken): report unknown insets as error
4374         boxes. Use the outer paragraph as location (also for unknown
4375         tokens).
4376
4377         * factory.C (readInset): do not abort on reading an unknown inset.
4378         Eat it and return 0.
4379
4380 2003-10-13  Angus Leeming  <leeming@lyx.org>
4381
4382         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4383
4384         * lyxrc.C: displayTranslator is now a function,
4385         declared in GraphicsTypes.h.
4386
4387 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4388
4389         * format.C: new placeholder $$a to pass the socket address.
4390
4391         * bufferlist.[Ch]: new function getBufferFromTmp.
4392
4393         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4394           files in the temporary dir.
4395
4396 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4397
4398         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4399
4400         * Makefile.am: add lyxsocket.[Ch].
4401
4402         * lyx_main.C (error_handler): handle SIGPIPE.
4403
4404 2003-10-13  André Pönitz  <poenitz@gmx.net>
4405
4406         * BufferView_pimpl.C:
4407         * lyxtext.h:
4408         * text.C:
4409         * text2.C:
4410         * text3.C:
4411         * undo_funcs.[Ch]: use paroffset_type instead of
4412           ParagraphList::iterators to prevent multiple conversion
4413           (and get a more robust interface)
4414
4415 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4416
4417         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4418         * lyxtext.h: ditto
4419         * text3.C (dispatch): ditto
4420
4421 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4422
4423         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4424         move the onlyfile, use onlyfile instead of foundfile in a couple
4425         of places.
4426
4427         * DepTable.C (update): flush the error stream a bit more
4428
4429 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4430
4431         * lyxserver.C (callback): adjust
4432
4433         * lyxfunc.C (getStatus): add a missing brace in commented code
4434         (ensureBufferClean): reindent
4435         (dispatch): delete version taking a string
4436
4437 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4438
4439         * LaTeX.C (deplog): move found file handlig from here...
4440         (handleFoundFile): .. to new function here.
4441         (deplog): make sure to discover several files mentioned on the
4442         same log line.
4443
4444 2003-10-10  André Pönitz  <poenitz@gmx.net>
4445
4446         * lyxfunc.C:
4447         * lyxtext.h:
4448         * tabular.C:
4449         * text.C:
4450         * text2.C:
4451         * text3.C: fix some of the tabular crashes
4452
4453 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4454
4455         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4456
4457         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4458
4459 2003-10-09  André Pönitz  <poenitz@gmx.net>
4460
4461         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4462
4463         * BufferView.C:
4464         * BufferView_pimpl.C:
4465         * bufferview_funcs.C:
4466         * lyx_cb.C:
4467         * lyxcursor.C:
4468         * lyxfind.C:
4469         * lyxfunc.C:
4470         * lyxtext.h:
4471         * text.C:
4472         * text2.C:
4473         * text3.C:
4474         * text_funcs.[Ch]:
4475         * textcursor.[Ch]:
4476         * undo_funcs.C: adjust
4477
4478 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4479
4480         * text2.C (incrementItemDepth): new function, use a backtracking
4481         algorithm to discover the correct item depth.
4482         (resetEnumCounterIfNeeded): new function, use a backtracking
4483         algorithm to discover if counter reset is needed.
4484         (setCounter): use them. Simplify a bit. Add different labels for
4485         different item depths for itemize.
4486
4487         * paragraph.C (Paragraph): remove initialization of enumdepth
4488         (operator=): ditto
4489
4490         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4491         enumerate and itemize. Change the type of itemdepth to signed char.
4492
4493 2003-10-08  André Pönitz  <poenitz@gmx.net>
4494
4495         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4496           thing assignable.
4497         * text.C:
4498         * text2.C: adjust
4499
4500         * tabular.[Ch]: fix crash after 'row-insert'
4501
4502 2003-10-08  Angus Leeming  <leeming@lyx.org>
4503
4504         Fix doxygen warnings.
4505
4506         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4507         Remove CutAndPaste:: prefix from header file declaration.
4508
4509         * LColor.h (fill): remove LColor:: prefix from declaration.
4510
4511         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4512         use lyx::depth_type rather than Paragraph::depth_type so that
4513         header file and .C file match.
4514
4515         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4516
4517         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4518         * aspell.C: \file aspell_local.C -> \file aspell.C
4519         * gettext.C: \file gettext.C -> \file src/gettext.C
4520         * gettext.h: \file gettext.h -> \file src/gettext.h
4521         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4522         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4523         * text.C: \file text.C -> \file src/text.C
4524
4525         * toc.C: move comment so that doxygen is not confused.
4526
4527 2003-10-07  Angus Leeming  <leeming@lyx.org>
4528
4529         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4530
4531 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4532
4533         * aspell.C:
4534         * aspell_local.h: add forgotten std::string's.
4535
4536 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4537
4538         * LaTeXFeatures.C:
4539         * LyXAction.C:
4540         * factory.C:
4541         * lfuns.h:
4542         * lyxfunc.C:
4543         * text3.C: The Box patch. Fancybox support, minipage, parbox
4544
4545 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4546
4547         * CutAndPaste.h:
4548         * DepTable.h:
4549         * FloatList.h:
4550         * LaTeXFeatures.h:
4551         * ParagraphParameters.h:
4552         * TextCache.h:
4553         * Thesaurus.h:
4554         * bufferlist.h:
4555         * exporter.h:
4556         * importer.h:
4557         * lastfiles.h:
4558         * lyxfind.h:
4559         * lyxfont.h:
4560         * lyxlex.h:
4561         * lyxtextclasslist.h:
4562         * messages.h:
4563         * paragraph.h:
4564         * paragraph_pimpl.C:
4565         * textcursor.h: add <string> and other small fixes to make Lars'
4566         std::string patch compile with STLport.
4567
4568 2003-10-06  Angus Leeming  <leeming@lyx.org>
4569
4570         * LColor.h: Add missing #include <string>.
4571
4572 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4573
4574         * All most all file in all subdirs: Make <string> be the prefered
4575         way of getting to std::string, add using declarations.
4576
4577 2003-10-06  André Pönitz  <poenitz@gmx.net>
4578
4579         * metricsinfo.C: initialize LyXFont before changing attribute.
4580         (fixes the 'math in \emph is upright' bug)
4581
4582 2003-10-06  André Pönitz  <poenitz@gmx.net>
4583
4584         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4585
4586 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4587
4588         * graph.C:
4589         * paragraph_pimpl.C: Small fixes to build using STLport
4590
4591 2003-10-02  André Pönitz  <poenitz@gmx.net>
4592
4593         * lyxfunc.C:
4594         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4595
4596 2003-10-01  André Pönitz  <poenitz@gmx.net>
4597
4598         * factory.C: assert early
4599
4600 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4601
4602         * lyx_main.C: remove the global debug object
4603
4604         * debug.h: adjust for new debugstream
4605
4606         * debug.C: adjust for new debugstream and keep the global debug
4607         object here.
4608
4609 2003-09-22  Angus Leeming  <leeming@lyx.org>
4610
4611         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4612         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4613         an incomplete class LyXFont.
4614
4615 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4616
4617         * factory.C: bug fix in branches
4618
4619 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4620
4621         * lyxfunc.C (processKeySym): adjust
4622         (dispatch): adjust
4623         (dispatch): change arg name from ev to func, adjust
4624         (sendDispatchMessage): ditto
4625
4626         * lyx_main.C (defaultKeyBindings): adjust keybindings
4627         (deadKeyBindings): ditto
4628
4629         * kbsequence.C (addkey): return a FuncRequest
4630
4631         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4632
4633         * kbmap.C (bind): take a FuncRequest as arg, adjust
4634         (read): adjust
4635         (lookup): adjust
4636         (defkey): change to take a FuncRequest as arg, adjust
4637         (findbinding): take a FuncRequest as arg, adjust.
4638
4639         * funcrequest.h (operator=): added
4640
4641         * funcrequest.C (FuncRequest): default kb_action changed from
4642         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4643
4644         * buffer.C (dispatch): simplify
4645         (dispatch): adjust to take a FuncRequest as arg, adjust
4646
4647         * boost.C (assertion_failed): change assertion message slightly
4648
4649         * ToolbarBackend.C (read): simplify
4650
4651         * MenuBackend.C (binding): adjust call to findbinding, add a
4652         message if no binding is found.
4653         (read): simplify
4654         (expandToc): correct by adding a empty FuncRequest
4655
4656         * LyXAction.C: include <boost/assert.hpp>
4657         (isPseudoAction): delete function
4658         (LookupFunc): change name to...
4659         (lookupFunc): this. change return type to FuncRequest.
4660         (getActionName): take kb_action as arg, simplify
4661         (funcHasFlag): add an assert, simplify.
4662
4663 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4664
4665         * toc.C (action): return a FuncRequest, simplify
4666
4667         * lyxfunc.C (processKeySym): adjust
4668         (getStatus): delete version that takes an int.
4669         (getStatus): adjust
4670         (dispatch): delete version that takes action as int
4671         (dispatch): adjust
4672         (sendDispatchMessage): simplify and adjust
4673
4674         * funcrequest.C (getArg): take unsigned int as arg
4675
4676         * ToolbarBackend.C (read): adjust
4677         (add): delete version that takes func as a string.
4678         (getIton): take a FuncRequest as arg
4679
4680         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4681         action.
4682
4683         * MenuBackend.C (MenuItem): add a new construct that only takes a
4684         Kind, simplify the constructor use for submenus.
4685         (add): adjust
4686         (expandLastfiles): adjust
4687         (expandDocuments): adjust
4688         (expandFormats): adjust
4689         (expandFloatListInsert): adjust
4690         (expandFloatInsert): adjust
4691         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4692
4693         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4694         Remove class variables lyx_pseudo_map and lyx_arg_map
4695
4696         * LyXAction.C (searchActionArg): delete function
4697         (getPseudoAction): delete function
4698         (retrieveActionArg): delete function
4699         (LookupFunc): make it return kb_action, simplify.
4700         (getActionName): simplify
4701
4702         * factory.C (createInset): fix new bug
4703
4704 2003-09-19  Angus Leeming  <leeming@lyx.org>
4705
4706         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4707         masterFilename_ parameter in the include inset.
4708
4709         * factory.C (createInset): changes due to the changes to InsetInclude.
4710
4711 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4712
4713         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4714
4715 2003-09-18  Angus Leeming  <leeming@lyx.org>
4716
4717         * buffer.C:
4718         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4719         Inset::fillWithBibKeys.
4720         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4721
4722 2003-09-18  Angus Leeming  <leeming@lyx.org>
4723
4724         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4725         variables.
4726         (ctor): pass and store a 'Buffer const &'
4727         (buffer): new member function.
4728
4729         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4730         '*this' to the LaTeXFeatures ctor.
4731
4732 2003-09-18  Angus Leeming  <leeming@lyx.org>
4733
4734         * LColor.h:
4735         * lyxfont.C:
4736         * lyxfont.h:
4737         * lyxtext.h:
4738         * text.C: rename EnumLColor as LColor_color.
4739
4740 2003-09-18  Angus Leeming  <leeming@lyx.org>
4741
4742         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4743         remove #include "insets/insetbase.h" from cursor.h.
4744
4745 2003-09-18  Angus Leeming  <leeming@lyx.org>
4746
4747         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4748         InsetOld_code to remove #include "inset.h".
4749
4750         * iterators.C: add #include "insets/inset.h"
4751
4752 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4753
4754         * BufferView.C: remove more locking stuff that apparently doesn't
4755         do anything sensible.
4756
4757 2003-09-16  André Pönitz  <poenitz@gmx.net>
4758
4759         * paragraph.[Ch]:
4760         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4761           performance boost.
4762
4763 2003-09-16  Angus Leeming  <leeming@lyx.org>
4764
4765         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4766
4767         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4768         arg/return type.
4769
4770         * paragraph.h: remove #include "lyxfont.h". Forward declare
4771         LyXFont_size.
4772
4773 2003-09-16  Angus Leeming  <leeming@lyx.org>
4774
4775         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4776         of support/textutils.h.
4777         (isWord): move the contents of support/textutils.h's IsWordChar here.
4778
4779         * buffer.C:
4780         * lyxfind.C:
4781         * rowpainter.C:
4782         * text.C:
4783         * text2.C: add #include "paragraph.h".
4784
4785         * rowpainter.C:
4786         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4787
4788 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4789
4790         * main.C:
4791         * lyx_main.C:
4792         * lyx_cb.C:
4793         * buffer.C:
4794         * LaTeX.C: use namespace alias for lyx::support::os
4795
4796 2003-09-16  Angus Leeming  <leeming@lyx.org>
4797
4798         * bufferparams.C:
4799         * bufferview_funcs.C:
4800         * factory.C:
4801         * lyxfunc.C:
4802         * paragraph_pimpl.C:
4803         * rowpainter.C:
4804         * text.C: add #include "LColor.h".
4805
4806 2003-09-16  Angus Leeming  <leeming@lyx.org>
4807
4808         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4809         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4810         return LyXFont &.
4811         Store the FontBits::color variable as an int rather than as an
4812         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4813         file.
4814
4815         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4816         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4817         string calls together.
4818
4819         * lyxrc.C: add #include "LColor.h".
4820
4821 2003-09-15  Angus Leeming  <leeming@lyx.org>
4822
4823         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4824         a cow_ptr.
4825
4826 2003-09-15  Angus Leeming  <leeming@lyx.org>
4827
4828         * LColor.h: add an EnumLColor wrapper for LColor::color.
4829
4830         * lyxfont.[Ch] (color, setColor, realColor):
4831         * lyxtext.h, text.C (backgroundColor):
4832         pass EnumLColor args to/from the functions, rather than LColor::color
4833         ones.
4834
4835         * lyxfont.h:
4836         * lyxtext.h: forward declare EnumLColor.
4837
4838         * lyx_main.C: add #include "LColor.h".
4839
4840 2003-09-15  Angus Leeming  <leeming@lyx.org>
4841
4842         * .cvsignore: add lyx-gtk.
4843
4844 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4845
4846         * Chktex.C
4847         * LaTeX.C
4848         * LaTeXFeatures.C
4849         * ParagraphParameters.C
4850         * Spacing.C
4851         * buffer.C
4852         * bufferparams.C
4853         * bufferview_funcs.C
4854         * chset.C
4855         * counters.C
4856         * funcrequest.C
4857         * lyxfont.C
4858         * lyxgluelength.C
4859         * lyxlength.C
4860         * paragraph.C
4861         * paragraph_funcs.C
4862         * text3.C
4863         * vc-backend.C: remove usage of STRCONV
4864
4865 2003-09-15  Angus Leeming  <leeming@lyx.org>
4866
4867         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4868         explicitly define the color passed to the painter.
4869
4870 2003-09-15  Angus Leeming  <leeming@lyx.org>
4871
4872         * bufferparams.C (BufferParams): reorder member initializers to avoid
4873         compiler warning.
4874
4875 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4876
4877         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4878         * text.C (updateRowPositions): remove an unusual nop
4879
4880 2003-09-12  André Pönitz  <poenitz@gmx.net>
4881
4882         * BufferView_pimpl.C:
4883         * Bullet.C:
4884         * layout.h:
4885         * lyxfunc.C:
4886         * lyxlayout.[Ch]:
4887         * lyxtextclass.C:
4888         * rowpainter.C:
4889         * text.C:
4890         * text2.C:
4891         * Counters.[Ch]: finish the 'automatic counters' job
4892
4893 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4894
4895         * aspell.C: include <boost/assert.cpp> (compile fix)
4896
4897 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4898
4899         * boost.C (assertion_failed): use lyx::support::abort instead of
4900         assert.
4901
4902 2003-09-10  Angus Leeming  <leeming@lyx.org>
4903
4904         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4905         with their _fwd progeny.
4906
4907 2003-09-09  Angus Leeming  <leeming@lyx.org>
4908
4909         134 files throughtout the source tree: replace 'using namespace abc;'
4910         directives with the appropriate 'using abc::xyz;' declarations.
4911
4912 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4913
4914         * boost.C (emergencyCleanup): moved here from LAssert.c
4915         (assertion_failed): new function, called by BOOST_ASSERT
4916
4917         * several files: change Assert to BOOST_ASSERT
4918
4919 2003-09-09  Angus Leeming  <leeming@lyx.org>
4920
4921         * buffer.[Ch]: Add an Impl class and move Buffer's member
4922         variables into it. As a result move several header files out of
4923         buffer.h.
4924
4925         Add header files to lots of .C files all over the tree as a result.
4926
4927 2003-09-09  Angus Leeming  <leeming@lyx.org>
4928
4929         * buffer.[Ch]: make Buffer's member variables private. Add
4930         accessor functions.
4931
4932         Lots of changes all over the tree as a result.
4933
4934 2003-09-08  Angus Leeming  <leeming@lyx.org>
4935
4936         * graph.C: #include <config.h>.
4937
4938 2003-09-08  Angus Leeming  <leeming@lyx.org>
4939
4940         * BranchList.C:
4941         * BufferView.C:
4942         * BufferView_pimpl.C:
4943         * CutAndPaste.C:
4944         * DepTable.C:
4945         * LaTeX.C:
4946         * LaTeXFeatures.C:
4947         * LyXAction.C:
4948         * MenuBackend.C:
4949         * TextCache.C:
4950         * aspell.C:
4951         * buffer.C:
4952         * bufferlist.C:
4953         * changes.C:
4954         * chset.C:
4955         * converter.C:
4956         * counters.C:
4957         * debug.C:
4958         * graph.C:
4959         * ispell.C:
4960         * lyx_cb.C:
4961         * lyxfind.C:
4962         * lyxfunc.C:
4963         * lyxlex_pimpl.C:
4964         * lyxrc.C:
4965         * lyxrow.C:
4966         * paragraph.C:
4967         * rowpainter.C:
4968         * texrow.C:
4969         * text.C:
4970         * text2.C:
4971         * toc.C: remove redundant using directives.
4972
4973 2003-09-07  Angus Leeming  <leeming@lyx.org>
4974
4975         * LaTeXFeatures.h: remove #include "support/types.h".
4976         * ToolbarBackend.h: remove #include <algorithm>.
4977         * changes.h: remove #include <ctime>.
4978         * debug.h: remove #include <iosfwd>.
4979         * graph.h: remove #include "support/std_string.h".
4980         * lyx_main.h: remove #include <csignal>.
4981         * lyxlex_pimpl.h: remove #include <fstream>.
4982         * sgml.h: remove #include <algorithm>, <utility>.
4983         * toc.h: remove #include "support/std_ostream.h".
4984         Add #include <iosfwd>.
4985
4986 2003-09-07  Angus Leeming  <leeming@lyx.org>
4987
4988         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4989
4990         * converter.h: forward declare LatexRunParams.
4991         * encoding.h: remove #include "lyxrc.h".
4992         * lyxtext.h: remove #include "LColor.h".
4993         * lyxtextclass.h: remove #include "support/types.h".
4994         * trans.h: remove #include "tex-accent.h".
4995         * trans_mgr.h: remove #include "tex-accent.h".
4996         * insets/inset.h: remove #include "support/types.h", <vector>.
4997         * insets/insetcollapsable.h: remove #include "LColor.h".
4998         * insets/insetinclude.h: remove #include "dimension.h".
4999         * insets/insetlatexaccent.h: remove #include "dimension.h".
5000         * insets/insetoptarg.h:: remove #include "insettext.h".
5001         * insets/insettext.h: remove #include "dimension.h",
5002         <boost/shared_ptr.hpp>
5003
5004         * insets/renderers.h: add #include "dimension.h".
5005         * insets/updatableinset.h: add #include "support/types.h".
5006
5007         * many .C files: Associated changes.
5008
5009 2003-09-06  Angus Leeming  <leeming@lyx.org>
5010
5011         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5012         one, inside testInvariant.
5013
5014         * PrinterParams.C: new file.
5015         * PrinterParams.[Ch]: move the function bodies out of line.
5016
5017 2003-09-06  Angus Leeming  <leeming@lyx.org>
5018
5019         * ParagraphParameters.h: forward declare ParameterStruct rather than
5020         including its header file.
5021         (depth): moved out-of-line.
5022
5023 2003-09-06  Angus Leeming  <leeming@lyx.org>
5024
5025         * BufferView_pimpl.h:
5026         * kbmap.h:
5027         * kbsequence.h:
5028         * lyxfunc.h: forward declare LyXKeySym rather than
5029         #include "frontends/LyXKeySym.h".
5030
5031         * BufferView_pimpl.C:
5032         * kbmap.C:
5033         * kbsequence.C:
5034         * lyxfunc.C: associated changes.
5035
5036 2003-09-06  Angus Leeming  <leeming@lyx.org>
5037
5038         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5039         As a result, can remove the #include "insets/inset.h" from BufferView.h
5040
5041 2003-09-06  Angus Leeming  <leeming@lyx.org>
5042
5043         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5044         As a result, can remove the #include "insets/inset.h" from BufferView.h
5045
5046 2003-09-06  Angus Leeming  <leeming@lyx.org>
5047
5048         * buffer_funcs.C:
5049         * buffer.h:
5050         * bufferlist.C:
5051         * BufferView.C:
5052         * bufferview_funcs.C:
5053         * BufferView_pimpl.C:
5054         * CutAndPaste.C:
5055         * lyx_cb.C:
5056         * lyxfunc.C:
5057         * paragraph.h:
5058         * ParagraphParameters.C:
5059         * tabular.C:
5060         * text3.C:
5061         * toc.C:
5062         * undo_funcs.C:
5063         * frontends/controllers/ControlDocument.C:
5064         * insets/insetcaption.C: rearrange the #includes into some sort of
5065         coherent order.
5066
5067         * buffer.h: remove #includes ErrorList.h, undo.h
5068
5069 2003-09-06  Angus Leeming  <leeming@lyx.org>
5070
5071         * support/types.h: add a 'depth_type' typedef, used to store the
5072         nesting depth of a paragraph.
5073
5074         * paragraph.h:
5075         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5076         defining explicitly.
5077
5078         * buffer.h:
5079         * paragraph_funcs.h:
5080         * ParagraphParameters.h:
5081         * sgml.h: use lyx::depth_type rather than Paragraph or
5082         ParameterStruct's depth_type.
5083
5084         * buffer.h
5085         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5086
5087         * BufferView.C:
5088         * BufferView_pimpl.C:
5089         * CutAndPaste.C:
5090         * ParagraphParameters.C:
5091         * buffer_funcs.C:
5092         * bufferlist.C:
5093         * bufferview_funcs.C:
5094         * lyx_cb.C:
5095         * lyxfunc.C:
5096         * tabular.C:
5097         * text3.C:
5098         * toc.C:
5099         * undo_funcs.C:
5100         * frontends/LyXView.C:
5101         * frontends/controllers/ControlDocument.C:
5102         * frontends/controllers/ControlErrorList.C:
5103         * insets/insetbibitem.C:
5104         * insets/insetbranch.C:
5105         * insets/insetcaption.C:
5106         * insets/insetcollapsable.C:
5107         * insets/insetenv.C:
5108         * insets/insetert.C:
5109         * insets/insetfloat.C:
5110         * insets/insetfoot.C:
5111         * insets/insetfootlike.C:
5112         * insets/insetnewline.C:
5113         * insets/insetquotes.C:
5114         * insets/insettabular.C:
5115         * insets/insettext.C:
5116         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5117
5118         * frontends/controllers/ControlChanges.C: #include "changes.h".
5119
5120 2003-09-06  Angus Leeming  <leeming@lyx.org>
5121
5122         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5123         than #including paragraph.h.
5124
5125         * ParagraphList.h:
5126         * RowList.h: deleted. Superfluous.
5127
5128         * CutAndPaste.h:
5129         * iterators.h:
5130         * lyxcursor.h:
5131         * lyxtext.h:
5132         * text_funcs.h:
5133         * undo.h:
5134         * undo_funcs.h:
5135         * insets/inset.h:
5136         * insets/insettext.h: use ParagraphList_fwd.h rather than
5137         ParagraphList.h.
5138
5139         * paragraph.h: don't forward declare ParagraphList.
5140
5141         * buffer.h:
5142         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5143         rather than ParagraphList.h. paragraph.h is still needed for the
5144         Paragraph::depth_type parameters.
5145
5146         * textcursor.h: enable it to compile stand-alone in light of the
5147         above changes.
5148
5149         * bufferview_funcs.C:
5150         * iterators.C:
5151         * lyxfunc.C:
5152         * lyxrow_funcs.C:
5153         * paragraph.C:
5154         * rowpainter.C:
5155         * text.C:
5156         * text2.C:
5157         * text3.C:
5158         * text_funcs.C:
5159         * textcursor.C:
5160         * undo.C:
5161         * frontends/controllers/ControlParagraph.C:
5162         * frontends/controllers/ControlTabular.C:
5163         * insets/insetmarginal.C:
5164         * insets/insetminipage.C:
5165         * insets/insetnote.C:
5166         * insets/insetoptarg.C: add header files needed to compile again.
5167
5168 2003-09-06  Angus Leeming  <leeming@lyx.org>
5169
5170         * RowList_fwd.h: new file, forward-declaring Row rather than
5171         #including lyxrow.h.
5172
5173         * lyxrow_funcs.h:
5174         * lyxtext.h:
5175         * paragraph.h:
5176         * insets/insettext.h: use it instead of RowList.h
5177
5178         * bufferview_funcs.C:
5179         * lyxfunc.C:
5180         * lyxrow_funcs.C:
5181         * paragraph.C:
5182         * rowpainter.C:
5183         * text.C:
5184         * text2.C:
5185         * text3.C: #include "RowList.h".
5186
5187 2003-09-05  Angus Leeming  <leeming@lyx.org>
5188
5189         * factory.C (createInset):
5190         * vspace.C (c-tor): replace sscanf call with an istringstream.
5191         * ispell.C: re-add missing HP/UX headers.
5192         * lyxserver.C: re-add missing  os2 headers.
5193
5194 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5195
5196         * BranchList.C:
5197         * graph.C:
5198         * ispell.C:
5199         * lastfiles.C:
5200         * lyx_cb.C:
5201         * lyxserver.C:
5202         * texrow.C:
5203         * text3.C: re-add missing system headers, needed for 2.95.2.
5204
5205 2003-09-05  Angus Leeming  <leeming@lyx.org>
5206
5207         Changes most place everywhere due to the removal of using directives
5208         from support/std_sstream.h.
5209
5210 2003-09-05  Angus Leeming  <leeming@lyx.org>
5211
5212         Replace LString.h with support/std_string.h,
5213         Lsstream.h with support/std_sstream.h,
5214         support/LIstream.h with support/std_istream.h,
5215         support/LOstream.h with support/std_ostream.h.
5216
5217         Changes resulting throughout the tree.
5218
5219 2003-09-05  Angus Leeming  <leeming@lyx.org>
5220
5221         * sgml.h: ensure that the header file can be compiled stand-alone.
5222         * *.C: strip out redundant #includes. (320 in total.)
5223
5224 2003-09-04  Angus Leeming  <leeming@lyx.org>
5225
5226         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5227         here (from getPackages).
5228
5229         * debug.[Ch]: add a new EXTERNAL tag.
5230
5231 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5232
5233         * text2.C (cursorEnd): simplify
5234         (setCursor): adjust
5235         (getColumnNearX): adjust
5236
5237         * text.C (computeBidiTables): adjust
5238         (fill): adjust
5239
5240         * rowpainter.C (paintChars): adjust
5241         (paintSelection): adjust
5242         (paintChangeBar): adjust
5243         (paintText): adjust
5244
5245         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5246         lastPos instead.
5247         (numberOfSeparators): adjust
5248
5249 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5250
5251         * LyXAction.C:
5252         * box.[Ch]:
5253         * lfuns.h:
5254         * lyxfunc.C:
5255         * text3.C: Restricts the mouse click functionality
5256         of insets like bibtex, include, toc and floatlist to the visible
5257         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5258         up the dialogs. Cursor has to be in front of the inset (i.e.
5259         start of row) for this to function.
5260
5261 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5262
5263         * bufferview_funcs.C (currentState): output row information
5264
5265 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5266
5267         * bufferview_funcs.C (currentState): output paragraph position
5268
5269 2003-09-04  Angus Leeming  <leeming@lyx.org>
5270
5271         * FloatList.h: move out #include "Floating.h".
5272         * LaTeX.h: move out #include "DepTable.h".
5273         * LyXAction.h: move out #include "funcrequest.h".
5274         * buffer.h: move out #include "author.h", "iterators.h".
5275         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5276         * lyx_main.h: move out #include "errorlist.h".
5277         * lyxfunc.h: move out #include "FuncStatus.h".
5278         * lyxtext: move out #include "lyxcursor.h".
5279         * paragraph_pimpl.h: move out #include "counters.h".
5280
5281 2003-09-03  Angus Leeming  <leeming@lyx.org>
5282
5283         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5284         preamble_snippets list, enabling us to add snippets to the preamble
5285         only if the snippet was not there already.
5286
5287 2003-09-04  Angus Leeming  <leeming@lyx.org>
5288
5289         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5290
5291 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5294         update
5295
5296 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5297
5298         * BranchList.C: point fix, earlier forgotten
5299
5300 2003-09-02  Angus Leeming  <leeming@lyx.org>
5301
5302         * box.C (contains): renamed from 'contained' after a fantastic
5303         amount of hot air.
5304
5305 2003-09-02  John Levon  <levon@movementarian.org>
5306
5307         * BufferView.C:
5308         * lyxcursor.h:
5309         * lyxcursor.C:
5310         * lyxfunc.C:
5311         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5312
5313 2003-09-02  John Levon  <levon@movementarian.org>
5314
5315         * text2.C: simplification of cursorEnd(), including partial
5316         fix for bug 1376
5317
5318 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5319
5320         * buffer.C (readFile): add a space
5321
5322 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5323
5324         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5325
5326 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5327
5328         * buffer.C (readFile): new function, take a filename and a
5329         ParagraphList::iterator
5330         (readFile): adjust
5331         (readFile): adjust, make it private. don't use setStream, make
5332         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5333         always contain the filename.
5334
5335         * BufferView.C (insertLyXFile): simplify and make it work for
5336         gzipped files.
5337
5338 2003-08-30  John Levon  <levon@movementarian.org>
5339
5340         * Makefile.am: fix dist (from Kayvan)
5341
5342 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5343
5344         * most files: change to use const Buffer refs
5345
5346 2003-08-27  André Pönitz  <poenitz@gmx.net>
5347
5348         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5349         on top of ownerPar().
5350
5351 2003-08-27  John Levon  <levon@movementarian.org>
5352
5353         * funcrequest.C: properly initialise POD members
5354
5355 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5356
5357         * lyxtext.h (top_y): move top_y from here
5358         * text.C:
5359         * text2.C:
5360         * text3.C:
5361         * BufferView.[Ch]:
5362         * BufferView_pimpl.[Ch]: to here
5363         * frontends/screen.C:
5364         * insets/insettabular.C:
5365         * insets/insettext.C: adjust
5366         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5367
5368 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5369
5370         * BufferView.[Ch]:
5371         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5372
5373 2003-08-26  André Pönitz  <poenitz@gmx.net>
5374
5375         * paragraph_func.[Ch] (outerPar): new function
5376
5377         * paragraph.C:
5378         * paragraph_funcs.C:
5379         * paragraph_funcs.h:
5380         * paragraph_pimpl.C:
5381         * text2.C: remove Inset::par_owner
5382
5383 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5384
5385         * lyxrow_funcs.C:
5386         * lyxtext.h:
5387         * text.C:
5388         * text2.C: eliminates the needFullRow/display() stuff
5389         altogether, putting the logic in metrics/draw in the insets.
5390
5391 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5392
5393         * text2.C (redoParagraphInternal, redoParagraphs):
5394         * text.C (redoParagraph): add a call to updateRowPositions at the
5395         end of each 'metrics-like' call. Remove all others.
5396         (getRow): remove the 'y-computing' version.
5397         (getRowNearY): do not compute nor return the real y. Solve the
5398         'y < 0' problem and simplify.
5399
5400 2003-08-22  Angus Leeming  <leeming@lyx.org>
5401
5402         * *.[Ch]: clean-up of licence and author blurbs.
5403         Also move config.h out of a few .h files and into a few .C files.
5404
5405 2003-08-22  André Pönitz  <poenitz@gmx.net>
5406
5407         * lyxrow.[Ch]: add x_ and *fill_ members
5408
5409         * lyxtext.h:
5410         * text.C:
5411         * rowpainter.C:
5412         * text2.C: adjust/remove prepareToPrint() calls
5413
5414 2003-08-22  André Pönitz  <poenitz@gmx.net>
5415
5416         * lyxrow.[Ch]: add  end_ member
5417
5418         * lyxrow_funcs.C: use LyXRow::end_
5419
5420         * lyxtext.h (singleWidth): add LyXFont parameter
5421
5422         * rowpainter.C:
5423         * text2.C: adjust LyXText::singleWidth() calls
5424
5425         * text.C (redoParagraph): simplify row breaking logic
5426
5427
5428 2003-08-19  André Pönitz  <poenitz@gmx.net>
5429
5430         * funcrequest.C: initialize button_ member
5431
5432         * text3.C:
5433         * rowpainter.[Ch]: interface consolidation
5434
5435 2003-08-18  André Pönitz  <poenitz@gmx.net>
5436
5437         * BufferView.C:
5438         * BufferView_pimpl.C:
5439         * lyxfind.C:
5440         * paragraph_funcs.C:
5441         * rowpainter.C:
5442         * text3.C: remove LyXScreen::draw() and fitCursor calls
5443
5444         * BranchList.h: remove spurious semicolons
5445
5446         * MenuBackend.C: fix branchlist related crash
5447
5448 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5449
5450         * BranchList.[Ch]:
5451         * InsetList.[Ch]:
5452         * LColor.[Ch]:
5453         * LyXAction.C:
5454         * Makefile.am:
5455         * MenuBackend.[Ch]:
5456         * bufferparams.[Ch]:
5457         * factory.C:
5458         * lfuns.h:
5459         * lyxfunc.C:
5460         * text3.C: implements the 'branch inset'
5461         idea. This allows the output of various versions of a document
5462         from a single source version, selectively outputing or suppressing
5463         output of parts of the text.
5464         This implementation contains a 'branch list editor' in a separate
5465         tab of the document settings dialog. Branches are user definable
5466         and have a "display colour" to distinguish them on-screen.
5467
5468         ColorHandler was somewhat cleaned up.
5469         (1) make possible a dynamically growing LColor list by allowing
5470         the graphic context cache to grow along (vector);
5471         (2) eliminate an IMHO unnecessary step in colour allocation.
5472
5473 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5474
5475         * BufferView_pimpl.C: compile fix
5476
5477 2003-08-15  André Pönitz  <poenitz@gmx.net>
5478
5479         * rowpainter.C: remove extra metrics calls
5480
5481         * lyxtext.h: merge the two constructors into a single one,
5482           pass reference to owner's par list
5483
5484         * BufferView_pimpl.C:
5485         * text.C:
5486         * text2.C: adjust
5487
5488 2003-08-15  André Pönitz  <poenitz@gmx.net>
5489
5490         * lyxrow_funcs.[Ch]:
5491         * lyxtext.h:
5492         * paragraph.h:
5493         * paragraph_funcs.C:
5494         * rowpainter.C:
5495         * text.C:
5496         * text2.C:
5497         * text3.C:
5498         * text_funcs.C: split LyXText::rowlist_ into individual
5499         Paragraph::rows_ chunks
5500
5501         * BufferView.[Ch]:
5502         * BufferView_pimpl.[Ch]:
5503         * lyxfind.C:
5504         * lyxtext.h:
5505         * text3.C: remove toggleSelection()
5506
5507 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5508
5509         * bufferlist.C: beautify two alerts (shorter text of buttons)
5510         * buffer.C: Remove redundant ' ' from message
5511         * tabular.h:
5512         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5513         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5514         rename VALIGN_CENTER to VALIGN_MIDDLE
5515
5516 2003-08-11  André Pönitz  <poenitz@gmx.net>
5517
5518         * lyxtext.h (getPar):
5519         * text.C: new function
5520
5521 2003-08-11  André Pönitz  <poenitz@gmx.net>
5522
5523         * Makefile.am:
5524         * tracer.[Ch]: remove unneeded files
5525
5526         * InsetList.[Ch]: remove resizeInsetsLyXText()
5527
5528         * lyxtext.h:
5529         * text.C:
5530         * text2.C:
5531         * text3.C: merge insertParagraphs() and appendParagraph()
5532         remove breakAgain(), update()
5533
5534         * BufferView_pimpl.[Ch]:
5535         * bufferview_funcs.[Ch]:
5536         * lyxfunc.C:
5537         * paragraph.[Ch]:
5538         * rowpainter.C:
5539         * tabular.C: adjust after text & InsetList changes.
5540
5541 2003-08-08  André Pönitz  <poenitz@gmx.net>
5542
5543         * text.C (insertChar, backspace): replace rowlist fiddling
5544         with rebreak of full par
5545
5546         * lyxtext.h:
5547         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5548         checkParagraph, updateInset): removed
5549
5550 2003-08-07  André Pönitz  <poenitz@gmx.net>
5551
5552         * paragraph.C:
5553         * text3.C: merge some LFUN handlers, remove dead code
5554
5555 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5556
5557         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5558
5559 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5560
5561         * text2.C (DEPM): fix part of bug 1255 and 1256
5562
5563 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5564
5565         * BufferView_pimpl.C (workAreaDispatch): change to use
5566         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5567         that are no mouse related.
5568
5569 2003-08-05  André Pönitz  <poenitz@gmx.net>
5570
5571         * BufferView.[Ch]:
5572         * BufferView_pimpl.[Ch]:
5573         * bufferview_funcs.C:
5574         * text2.C:
5575         * text3.C: rip out "deep update"
5576
5577         * textcursor.[Ch] (last_sel_cursor): remove unused member
5578
5579 2003-08-04  André Pönitz  <poenitz@gmx.net>
5580
5581         * BufferView.[Ch]:
5582         * BufferView_pimpl.[Ch]:
5583         * ParagraphParameters.C:
5584         * bufferview_funcs.C:
5585         * lyx_cb.C:
5586         * lyxfind.C:
5587         * lyxfunc.C:
5588         * text.C:
5589         * text2.C:
5590         * text3.C: replace "complicated" BufferView::update(...) calls with
5591         simpler ones.
5592
5593         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5594
5595 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5596
5597         * Makefile.am (lyx_SOURCES): add paper.h
5598
5599 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5600
5601         * Makefile.am: move things around so that both lyx-qt and
5602         lyx-xforms can be built (according to --with-frontend). Then lyx
5603         is a symbolic link to lyx-[firstfrontend]
5604
5605 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5606
5607         * Always use std::endl with lyxerr
5608
5609 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5610
5611         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5612
5613 2003-08-01  André Pönitz  <poenitz@gmx.net>
5614
5615         * BufferView.[Ch]:
5616         * BufferView_pimpl.[Ch]:
5617         * lyxfunc.C:
5618         * text3.C: merge BufferView::repaint() and BufferView::update()
5619
5620 2003-08-01  José Matos  <jamatos@lyx.org>
5621
5622         * buffer.[Ch]: file_format is no longer a buffer data element.
5623
5624 2003-08-01  André Pönitz  <poenitz@gmx.net>
5625
5626         * BufferView.C:
5627         * lyxtext.h:
5628         * text.C:
5629         * text2.C: make redoParagraph more independent of current cursor
5630
5631         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5632         * text.C:
5633         * text2.C: remove unneeded members
5634
5635 2003-07-30  André Pönitz  <poenitz@gmx.net>
5636
5637         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5638
5639         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5640           create a single function...
5641
5642         * paragraph_funcs.C (moveItem): ... here.
5643
5644         * text.C:
5645           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5646
5647 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5648
5649         * LColor.[Ch]: Add comment and greyedout logical colors.
5650
5651 2003-07-30  André Pönitz  <poenitz@gmx.net>
5652
5653         * tabular.C: don't use Assert too heavily. This crashes where it
5654           shouldn't
5655
5656 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5657
5658         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5659         is disabled (bug 1232)
5660
5661 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5662
5663         * factory.C: limited 'arg' scope
5664
5665 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5666
5667         * factory.C: fixed Note submenu issues
5668
5669 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5670
5671         * factory.C: submenu for Note/Comment/Greyedout
5672
5673 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5674
5675         * lyx_main.C (LyX):
5676         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5677
5678 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5679
5680         * LaTeXFeatures.C:
5681         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5682         greyedout. Patch provided by Jürgen Spitzmüller.
5683
5684 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5685
5686         * kbmap.C (read): fix error message when reading bind files
5687
5688 2003-07-29  Angus Leeming  <leeming@lyx.org>
5689
5690         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5691         certainly does not do what it purports to do. I am doing it, and
5692         us, a favour by killing it.
5693
5694 2003-07-28  José Matos  <jamatos@lyx.org>
5695
5696         * buffer.C (readBody, do_writeFile):
5697         * paragraph.C(readParagraph): \end_document replaces \the_end.
5698
5699 2003-07-29  André Pönitz  <poenitz@gmx.net>
5700
5701         * BufferView.[Ch]:
5702         * BufferView_pimpl.[Ch]:
5703         * lyxfunc.C:
5704         * text2.C:
5705         * text3.C:
5706         * textcursor.[Ch]: remove toggleToggle & Co
5707
5708 2003-07-28  José Matos  <jamatos@fep.up.pt>
5709
5710         * buffer.C (readParagraph):
5711         * params_func (readParToken, readParagraph):
5712         * paragraph.C (write): \layout -> \begin_layout.
5713
5714 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5715
5716         * lyxlex_pimpl.C (setFile): clean up slightly.
5717
5718         * bufferparams.h: add compressed var
5719
5720         * buffer_funcs.C (readFile): adjust for LyXLex change
5721         (newFile): ditto + simplify
5722
5723         * buffer.C (writeFile): handle writing of compressed files
5724
5725         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5726         Check if the file is compressed and set a bufferparm if so.
5727
5728         * Makefile.am (lyx_LDADD): remove explicit -lz
5729
5730 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5731
5732         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5733         makeDocBookFile): put the real LyX version in the first line of
5734         the file
5735
5736         * version.h:
5737         * version.C.in: remove lyx_docversion
5738
5739         * tabular.C (write_attribute): add a template-based version to
5740         write enums properly
5741
5742 2003-07-28  André Pönitz  <poenitz@gmx.net>
5743
5744         * lyxtext.h:
5745         * text.C:
5746         * text2.C:
5747         * text3.C: use doubles again for x-coordinates. They are needed.
5748
5749 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5750
5751         * messages.C (getLocaleDir): use lyx_localedir()
5752
5753         * lyxlex_pimpl.C (setFile): compress stuff
5754
5755         * buffer.C (writeFile): add some compression stuff
5756         (do_writeFile): new func, dont call expliti close... will this
5757         breake anything?
5758
5759         * Makefile.am (lyx_LDADD): add -lz
5760
5761 2003-07-28  José Matos  <jamatos@fep.up.pt>
5762
5763         * buffer.C: increment file format.
5764         * paragraph_funcs (readParagraph, readParToken):
5765         * paragraph.C (readParagraph): add \end_layout.
5766
5767 2003-07-27  Angus Leeming  <leeming@lyx.org>
5768
5769         * Makefile.am: remove special casing for configure-time setting of
5770         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5771
5772         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5773         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5774
5775 2003-07-26  André Pönitz  <poenitz@gmx.net>
5776
5777         * paragraph_func.[Ch]:
5778         * paragraph.C (realizeFont): inline it whereever it is used
5779
5780         * rowpainter.C:
5781         * text.C:
5782         * text2.C:
5783         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5784
5785
5786 2003-07-26  André Pönitz  <poenitz@gmx.net>
5787
5788         *       lyxtext.h:
5789         * text.C:
5790         * text2.C: get rid of LyXText::need_break_row
5791
5792 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5793
5794         * toc.[Ch]: put namespace toc inside namespace lyx
5795
5796         * MenuBackend.C (expandToc2): adjust for lyx::toc
5797         (expandToc): ditto
5798
5799         * lyxfunc.C (dispatch): adjust for lyx::find
5800
5801         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5802         lyx::find instead. Reorganize a bit.
5803         (LyXReplace): rename to replace
5804         (LyXFind): rename to find
5805
5806         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5807         (dispatch): ditto
5808
5809 2003-07-26  André Pönitz  <poenitz@gmx.net>
5810
5811         * text.C (setHeightOfRow): restrict scope of temporary variable
5812
5813         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5814           code (never has been used?)
5815
5816 2003-07-27  Asger Alstrup  <alstrup@local>
5817
5818         * text.C (fill): Optimise algorithm to exploit that we can reuse
5819         the LyXFont for many characters.
5820         (setHeightOfRow): Same thing.
5821         (rowBreakPoint): Same thing.
5822
5823 2003-07-26  Asger Alstrup  <alstrup@local>
5824
5825         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5826
5827         * text.C (singleWidth): Spurious font copying in hot-spot
5828         singleWidth avoided. Reorder tests for arabic for efficiency.
5829
5830         * text.C (fill): handle empty paragraphs better.
5831
5832 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5833
5834         * ispell.C:
5835         * encoding.h: add includes
5836
5837         * lyxrc.C: remove reading of bind files
5838
5839         * lyx_main.C (init): setup bindings and menus only if we have a
5840         gui.
5841
5842         * kbmap.C (read): new method. Do the actual reading of bind
5843         files.
5844
5845         * converter.C (dvipdfm_options):
5846         * bufferparams.C:
5847         * lyxrc.C (read):
5848         (output): adapt PAPER_* enums.
5849
5850         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5851
5852         * bufferparams.h: remove paper-related enums from there
5853
5854         * paper.h: New file. A trivial header file to hold paper-related
5855         enums. It should later expand to contain many paper-related
5856         horrors access.
5857
5858         * lyxrc.C: declare extern displayTranslator
5859
5860 2003-07-27  José Matos  <jamatos@fep.up.pt>
5861
5862         * tabular.[Ch] (linuxdoc): add support for tables and figures
5863         (linuxdoc).
5864
5865 2003-07-27  José Matos  <jamatos@fep.up.pt>
5866
5867         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5868         consistency in both functions.
5869         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5870
5871 2003-07-26  Asger Alstrup  <alstrup@local>
5872
5873         * rowpainter.C (paintRows): Change algorithm to work directly on
5874         the insets rather than asking every character in the document
5875         whether its an inset.
5876
5877 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5878
5879         * buffer.C (openFileWrite): factorize some code
5880
5881 2003-07-26  Angus Leeming  <leeming@lyx.org>
5882
5883         * lyx_cb.C:
5884         * lyx_main.[Ch]: replace occurances of system_tempdir with
5885         os::getTmpDir().
5886
5887 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5888
5889         * rename Inset to InsetOld
5890
5891 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5892
5893         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5894         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5895         which I think is a bit clearer. EDIT is gone, since it was
5896         premature optimisation, and broken for mathed anyway.
5897         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5898         with cursor positioning in insets as well (math insets still do not
5899         work, but that's a different story anyway.) It mysteriously
5900         crashes sometimes with undo in the first paragraph, but I'm fairly
5901         confident that this is a compiler bug.
5902
5903 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5904
5905         * paragraph.C (Paragraph): adjust for new clone return type
5906         (operator==): ditto
5907         (copyIntoMinibuffer): ditto
5908
5909 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5910
5911         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5912         by not having a special case, and always doing a full rebreak of
5913         the document after undo.
5914
5915 2003-07-23  Angus Leeming  <leeming@lyx.org>
5916
5917         * factory.C (createInset): InsetExternal::setParams now takes a
5918         Buffer const * arg.
5919
5920 2003-07-23  Angus Leeming  <leeming@lyx.org>
5921
5922         * factory.C (createInset): changed interface to the external and
5923         graphics mailers' string2params functions.
5924
5925 2003-07-23  Angus Leeming  <leeming@lyx.org>
5926
5927         * factory.C (createInset): pass a
5928         Buffer const * parameter to InsetExternalMailer's string2params.
5929
5930 2003-07-22  John Levon  <levon@movementarian.org>
5931
5932         * Thesaurus.h: include the right aiksaurus header
5933
5934 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5935
5936         * MenuBackend.C (expand): check menu shortcuts unconditionally
5937
5938 2003-07-21  Angus Leeming  <leeming@lyx.org>
5939
5940         * factory.C (createInset): pass a
5941         buffer_path parameter to InsetGraphicsMailer's string2params.
5942
5943 2003-07-21  Angus Leeming  <leeming@lyx.org>
5944
5945         * BufferView_pimpl.C (buffer):
5946         * buffer.C (d-tor):
5947         * lyx_main.C (LyX):
5948         * lyxfunc.C (dispatch):
5949         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5950         rather than the grfx shortcut.
5951
5952 2003-07-21  André Pönitz  <poenitz@gmx.net>
5953
5954         * rowpainter.C: remove unused variables
5955
5956         * tabular_funcs.C:
5957         * tabular_funcs.h: move to tabular.C
5958         * Makefile.am: adjust
5959
5960         * tabular.[Ch]: basic optical cleaning
5961
5962         * author.h: pass references, not values
5963
5964 2003-07-18  André Pönitz  <poenitz@gmx.net>
5965
5966         * lyxtext.h:
5967         * metricsinfo.C:
5968         * metricsinfo.h:
5969         * rowpainter.C:
5970         * text.C:
5971         * text2.C:
5972         * text3.C: two-phase drawing for InsetText and InsetTabular
5973         some float -> int changes.
5974
5975 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5976
5977         * lyx_main.C: fix the fix
5978
5979 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5980
5981         * lyx_main.C: fix a crash in batch mode if no files specified
5982         * converter.C: ws
5983
5984 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5985
5986         * format.[Ch] (papersize): moved to BufferParams
5987         * converter.[Ch] (dvips_options): moved to BufferParams
5988         (dvipdfm_options): moved to anon namespace
5989         * bufferparams.[Ch]: added above functions.
5990
5991 2003-07-17  André Pönitz  <poenitz@gmx.net>
5992
5993         * lyxtext.h:
5994         * rowpainter.C:
5995         * text2.C: don't call inset->update() anymore
5996
5997         * metricsinfo.[Ch]: add convenience constructor
5998
5999 2003-07-16  André Pönitz  <poenitz@gmx.net>
6000
6001         * lyxcursor.[Ch]:
6002         * lyxfunc.[Ch]:
6003         * text.C:
6004         * text2.C: replace the LyXCursor::irow_ member with
6005          on-demand computation of the value
6006
6007 2003-07-16  John Levon  <levon@movementarian.org>
6008
6009         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6010
6011 2003-07-15  André Pönitz  <poenitz@gmx.net>
6012
6013         * text.C:
6014         * text2.C: remove no more needed refresh_row
6015
6016 2003-07-15  André Pönitz  <poenitz@gmx.net>
6017
6018         * lyxtext.h:
6019         * rowpainter.C:
6020         * text2.C:
6021         * text3.C: refresh_status tristate -> need_update bool
6022
6023 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6024
6025         * lyxtext.h (init): remove reinit argument (act as if always true)
6026         * text2.C: adjust to that
6027
6028 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6029
6030         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6031         * text3.C: use it to delete selections in some cases
6032         (bugs 441, 673, 702, 954).
6033
6034 2003-07-14  André Pönitz  <poenitz@gmx.net>
6035
6036         * rowpainter.[Ch]: reduce interface
6037
6038 2003-07-14  André Pönitz  <poenitz@gmx.net>
6039
6040         * BufferView_pimpl.C:
6041         * text2.C: adjust after removing unused BufferView * argument
6042
6043 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6044
6045         * text2.C (init): fix a crash fired on resize
6046
6047 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6048
6049         * buffer.[Ch]: added new closing signal
6050         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6051         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6052         BufferView::Pimpl via the closing the signal
6053
6054 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6055
6056         * buffer.[Ch]: take out all bv-related from buffer
6057         * BufferView.C:
6058         * BufferView_pimpl.[Ch]: connect to new signals
6059         * CutAndPaste.C: removed useless asserts
6060         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6061         * lyxvc.[Ch]:
6062         * vc-backend.[Ch]:
6063         * lyxfunc.C: moved view-related funciontality from vc here
6064         * paragraph.C: removed outdated comments
6065         * text.C: ws
6066
6067 2003-07-10  André Pönitz  <poenitz@gmx.net>
6068
6069         * BufferView_pimpl.C:
6070         * tabular.h:
6071         * tabular_funcs.C:
6072         * text.C:
6073         * text2.C: remove InsetText::InnerCache, clean up consequences
6074
6075 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6076
6077         * ispell.C: fix two typos in error messages
6078
6079 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6080
6081         * Extend Note inset to other forms of annotation like Comment
6082         and Greyedout. Right button click gives dialog.
6083
6084         Files modified or added (+):
6085
6086         * insetnote.[Ch]
6087         * FormNote.[Ch]      +
6088         * ControlNote.[Ch]   +
6089         * form_note.fd       +
6090         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6091         frontends/controllers
6092         * xforms/Dialogs.C
6093         * factory.C
6094
6095 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6096
6097         * aspell.C: add missing namespace lyx::support
6098
6099 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6100
6101         * BufferView.[Ch] (newFile): Add
6102         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6103         * LaTeX.[Ch] (message): added this signal and use it
6104         * buffer.[Ch] (busy, message): added these signals and use them
6105         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6106         * converter.C:
6107         * exporter.C:
6108         * format.C:
6109         * importer.C: use buffer signals instead of direct bv calling
6110         * lyx_cb.[Ch] (ShowMessage): removed
6111         * lyx_main.C:
6112         * lyxfunc.C:
6113         * paragraph_funcs.C:
6114         * text2.C: use buffer signals
6115
6116 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6117
6118         * introduce namespace lyx::graphics
6119
6120 2003-07-02  André Pönitz  <poenitz@gmx.net>
6121
6122         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6123
6124 2003-07-01  André Pönitz  <poenitz@gmx.net>
6125
6126         * text.C:
6127         * text2.C:
6128         * text3.C:
6129         * text_funcs.[Ch]:
6130         * textcursor.h:
6131         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6132           text*.C to text_func.C
6133
6134 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6135
6136         * introduce namespace lyx::support
6137
6138 2003-06-30  André Pönitz  <poenitz@gmx.net>
6139
6140         * Chktex.C:
6141         * funcrequest.C:
6142         * lyxtext.h:
6143         * text.C: re-enable --with-included-string
6144
6145 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6146
6147         * textcursor.C: add <config.h>
6148
6149         * text.C (getWord): remove const from word_location arg
6150
6151         * lyxvc.C (getLogFile): fix const type order
6152
6153         * lyxtext.h: remove const from word_location arg, add arg name
6154
6155         * lyxlayout.h: currect type on labeltype.
6156
6157         * importer.C: correct \file
6158
6159         * converter.C (intToFormat): use std:: on ret val, ws changes
6160
6161         * bufferlist.h: correct \file
6162
6163         * buffer.C (makeLinuxDocFile): fix const type order
6164         (makeDocBookFile): ditto
6165         (fillWithBibKeys): use std:: on stdlib args.
6166
6167         * CutAndPaste.C: fix authors.
6168         (availableSelections): use std:: on return vector
6169
6170 2003-06-27  André Pönitz  <poenitz@gmx.net>
6171
6172         * BufferView_pimpl.C:
6173         * bufferview_funcs.C:
6174         * lyxcursor.C:
6175         * lyxcursor.h:
6176         * lyxfunc.C:
6177         * lyxtext.h:
6178         * rowpainter.C:
6179         * text.C:
6180         * text2.C:
6181         * text3.C: remove LyXCursor::row_ member
6182
6183         * lyxtext.h:
6184         * text.C: rename fullRebreak() to partialRebreak() and implement
6185           a fullRebreak() that really bereks fully
6186
6187         * textcursor.h: new struct for cursor-related data
6188
6189 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6190
6191         * lyx_main.C (LyX): get full path of document loaded on the
6192         command line
6193
6194 2003-06-26  André Pönitz  <poenitz@gmx.net>
6195
6196         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6197           remove unused/broken operator>,<,>=.
6198
6199         *       text.C: remove only use of broken operator<= in an Assert().
6200
6201 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6202
6203         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6204         moved errorlist_.clear to showErrorList
6205
6206 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6207
6208         * converter.C (scanLog, runLaTeX):
6209         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6210         move the bv->showErrorList call to the callers
6211         * lyxfunc.C: i.e. here...
6212         * text2.C: and here
6213         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6214         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6215         namespace, the second to...
6216         * buffer_funcs (BufferFormat, parseErrors): added
6217         * errorlist.C (ErrorList(TeXErrors const &)): removed
6218
6219 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6220
6221         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6222
6223 2003-06-24  "Garst R. Reese" <reese@isn.net>
6224
6225         * debug.C: fix typo
6226
6227 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6228
6229         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6230
6231         * version.C.in: change docversion to 1.4
6232
6233 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6234
6235         * buffer.C: fix a bug just introduced
6236
6237 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6238
6239         * buffer.[Ch]: added the parseError signal and use it, removed
6240         sgmlError
6241         * BufferView.[Ch] (addError): moved to ...
6242         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6243         to the Buffer::parseError signal to catch (guess what) parse errors
6244         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6245
6246 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6247
6248         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6249         ability to create a buffer and to return an existing one from
6250         the list. Moved these functions to...
6251         * buffer_funcs.[Ch]: added
6252         * BufferView.[Ch] (loadLyXFile): added
6253         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6254         job removed from bufferlist::loadLyXFile.
6255         * buffer.C (setReadOnly): make it work without view
6256         (i.e added an if (users))
6257
6258 2003-06-19  Angus Leeming  <leeming@lyx.org>
6259
6260         * lfuns.h:
6261         * LyXAction.C (init):
6262         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6263         with LFUN_DIALOG_SHOW <name> <data>.
6264
6265 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6266
6267         * CutAndPaste.C (availableSelections): small compilation fix for
6268         ancient (gcc 2.9x) compilers
6269
6270 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6271
6272         * text3.C (cursorNext): add tmp var
6273
6274         * text2.C (updateCounters): for function calling out of for clause
6275         (replaceSelectionWithString): ditto
6276         (insertStringAsParagraphs): ditto
6277         (getColumnNearX): add tmp var
6278         (setCursorFromCoordinates): add tmp var
6279         (cursorDownParagraph): add tmp var
6280         (deleteEmptyParagraphMechanism): add tmp var
6281
6282         * text.C (insertChar): add tmp var
6283
6284         * rowpainter.C (paintDepthBar): add tmp var
6285
6286         * CutAndPaste.C (availableSelections): potentially check all
6287         paragraphs in a cut to fill the shown strings.
6288
6289 2003-06-18  André Pönitz  <poenitz@gmx.net>
6290
6291         * kbmap.[Ch]: use vector<> instead of list<>
6292
6293 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6294
6295         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6296         pasteSelection with index
6297
6298         * text2.C (pasteSelection): modify, call pasteSelection with index
6299
6300         * paragraph.C (asString): reimplement version with no interval to
6301         call the one with interval.
6302
6303         * lyxtext.h: add index arg to pasteSelection
6304
6305         * MenuBackend.C (MenuItem): handle PasteRecent
6306         (Menu::read::Menutags): add md_pasterecent
6307         (read): handle it
6308         (expandPasteRecent): new function
6309         (expand): use it
6310
6311         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6312
6313         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6314         the limited stack
6315         (availableSelections): new function
6316
6317 2003-06-17  Angus Leeming  <leeming@lyx.org>
6318
6319         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6320
6321 2003-06-17  Angus Leeming  <leeming@lyx.org>
6322
6323         * lfuns.h:
6324         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6325
6326         * lyxfunc.C (dispatch): invoke it.
6327
6328 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6329
6330         * iterators.C (operator++, ParPosition): reintroduce some
6331         const_cast for the benefit of older compilers.
6332
6333 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6334
6335         * text3.C (dispatch): do not modify clipboard when doing
6336         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6337         LFUN_DELETE_SKIP on a selection selection
6338
6339 2003-06-16  André Pönitz  <poenitz@gmx.net>
6340
6341         * BufferView.C:
6342         * buffer.C:
6343         * buffer.h:
6344         * paragraph.C:
6345         * tabular.[Ch]: IU of clone() and getLabelList();
6346
6347 2003-06-13  André Pönitz  <poenitz@gmx.net>
6348
6349         * tabular.h: compactification
6350
6351 2003-06-12  André Pönitz  <poenitz@gmx.net>
6352
6353         * tabular.C:
6354         * tabular.h:
6355         * tabular_funcs.h: some renaming plus whitespace
6356
6357 2003-06-12  André Pönitz  <poenitz@gmx.net>
6358
6359         * BufferView.C:
6360         * BufferView_pimpl.C:
6361         * CutAndPaste.C:
6362         * buffer.C:
6363         * iterators.[Ch]:
6364         * lyxfunc.C:
6365         * text.C:
6366         * toc.C: Return a Paragraph & for ParIterator::operator*()
6367
6368 2003-06-11  John Levon  <levon@movementarian.org>
6369
6370         * lyx_main.C:
6371         * ToolbarBackend.h:
6372         * ToolbarBackend.C: add "Toolbars" section and
6373         put the flags there
6374
6375 2003-06-10  Angus Leeming  <leeming@lyx.org>
6376
6377         * lfuns.h:
6378         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6379
6380         * lyxfunc.C (dispatch): invoke it.
6381
6382 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6383
6384         * main.C: protect <ios> with HAVE_IOS
6385         (main): protect sync_with_stdio with HAVE_IOS
6386
6387 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6388
6389         * text2.C (cutSelection): adjust
6390         (pasteSelection): adjust
6391
6392         * messages.C: handle get of empty string
6393
6394         * main.C (main): use sync_with_stdio(false)
6395
6396         * lyxfunc.C (dispatch): adjust
6397
6398         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6399         (WriteAs): remove unneeded BufferView arg.
6400
6401         * bufferparams.h: use correct types on papersize, papersize2 and
6402         paperpackage.
6403
6404         * bufferparams.C (readToken): adjust for type
6405         (writeLaTeX): add missing cases to switch.
6406
6407         * bufferlist.C (quitWriteBuffer): adjust
6408         (close): adjust
6409
6410         * buffer.C (asciiParagraph): remove some commented code.
6411
6412         * CutAndPaste.C: remove current_view extern variable.
6413         (cutSelection): add BufferParams arg.
6414         (eraseSelection): add BufferParams arg.
6415         (pasteSelection): add Buffer const & arg
6416
6417 2003-06-07  John Levon  <levon@movementarian.org>
6418
6419         * buffer.C:
6420         * paragraph_funcs.C:
6421         * paragraph_pimpl.C:
6422         * text.C:
6423         * text2.C:
6424         * paragraph.h:
6425         * paragraph.C: allow InsetERT to freely space lines,
6426         and some consolidation of code
6427
6428 2003-06-06  José Matos  <jamatos@fep.up.pt>
6429
6430         * buffer.C (makeDocBookFile): fix bug #821
6431
6432 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6433
6434         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6435
6436 2003-06-04  Angus Leeming  <leeming@lyx.org>
6437
6438         * buffer.C: bump format to 224.
6439
6440 2003-06-05  André Pönitz  <poenitz@gmx.net>
6441
6442         * text2.C (redoParagraphs): remove two const_cast<>
6443
6444 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6445
6446         * ParagraphList.h: remove last remnants of NO_STD_LIST
6447
6448 2003-06-03  Angus Leeming  <leeming@lyx.org>
6449
6450         * factory.C (createInset): small change to the way InsetExternal's params
6451         are set.
6452
6453 2003-06-04  André Pönitz  <poenitz@gmx.net>
6454
6455         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6456
6457         * paragraph_pimpl.h:
6458         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6459
6460         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6461
6462         * undo_funcs.C: make some simple cases of undo work again
6463
6464 2003-06-03  John Levon  <levon@movementarian.org>
6465
6466         * ispell.C: HPUX doesn't have sys/select.h
6467         (from Albert Chin)
6468
6469 2003-06-03  John Levon  <levon@movementarian.org>
6470
6471         * CutAndPaste.C: update tabular and include inset
6472         buffer references
6473
6474         * buffer.h:
6475         * paragraph.h:
6476         * paragraph.C: remove owningBuffer(), don't pass Buffer
6477         to clone()
6478
6479         * factory.C: insetGraphicsParams changed
6480
6481 2003-06-02  John Levon  <levon@movementarian.org>
6482
6483         * LyXAction.C:
6484         * factory.C:
6485         * lfuns.h:
6486         * lyxfunc.C:
6487         * text3.C: remove insetparent
6488
6489 2003-06-02  John Levon  <levon@movementarian.org>
6490
6491         * buffer.h:
6492         * buffer.C: fix inset_iterator.end(), move out of line
6493         (bug 1149)
6494
6495 2003-06-01  John Levon  <levon@movementarian.org>
6496
6497         * text3.C: use a proper cut/paste when doing inset
6498         insert (from Jürgen Spitzmüller)
6499
6500 2003-06-01  John Levon  <levon@movementarian.org>
6501
6502         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6503
6504 2003-05-30  André Pönitz  <poenitz@gmx.net>
6505
6506         * rowpainter.C: unify second drawing phase
6507
6508 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6509
6510         * trans_mgr.C: remove one case of current_view
6511
6512         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6513
6514         * paragraph_funcs.h: remove paragraph.h include
6515
6516         * paragraph.h: delete NO_STD_LIST stuff
6517
6518         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6519
6520         * buffer.h: remove paragraph.h include
6521
6522         * ParagraphList.C: delete file
6523
6524         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6525
6526         * toc.C (getTocList): adjust
6527
6528         * paragraph_pimpl.C (validate): adjust
6529
6530         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6531
6532         * paragraph.C (Paragraph): adjust
6533         (getPositionOfInset): use const_iterator, adjust
6534         (bibitem): use const_iterator, adjust
6535         (setInsetOwner): adjust
6536
6537         * iterators.C (operator++): adjust
6538
6539         * InsetList.[Ch]: Replace selfmade iterator with standard
6540         vector::iterator also introduce const_iterator. Remove getPos,
6541         getInset and setInset from InsetTable. Adjust accordingly.
6542
6543         * BufferView.C (lockInset): adjust
6544         (ChangeInsets): adjust
6545
6546         * tabular.[Ch]: delete commented same_id functions
6547
6548 2003-05-28  John Levon  <levon@movementarian.org>
6549
6550         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6551
6552 2003-05-28  André Pönitz  <poenitz@gmx.net>
6553
6554         * metricsinfo.[Ch]: remove 'fullredraw' member
6555
6556 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6557
6558         * lyxtextclass.C (operator): remove caching.
6559
6560 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6561
6562         * text3.C: adjust
6563
6564         * text2.C (cursorBottom): adjust
6565         (setCounter): use ParagraphList::find, adjust
6566
6567         * text.C (workWidth): use ParagraphList::find, adjust
6568
6569         * lyxcursor.C (LyXCursor): adjust
6570
6571         * buffer.C (inset_iterator): adjust
6572
6573         * ParagraphList.h: make iterator(value_type) private, make
6574         ParagraphList a friend of iterator.
6575
6576         * ParagraphList.C (find): new function
6577
6578         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6579
6580 2003-05-27  André Pönitz  <poenitz@gmx.net>
6581
6582         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6583
6584 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6585
6586         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6587
6588 2003-05-26  John Levon  <levon@movementarian.org>
6589
6590         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6591
6592 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6593
6594         * remove same_id from function signatures, adjust.
6595
6596 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6597
6598         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6599
6600         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6601
6602         * paragraph.C (Paragraph): get rid of same_ids parameter
6603
6604         * ParagraphList.C (insert): adjust
6605         (push_back): adjust
6606
6607 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6608
6609         * paragraph_funcs.C (breakParagraph): adjust
6610         (breakParagraphConservative): adjust
6611
6612         * buffer.C (readParagraph): adjust
6613
6614         * ParagraphList.C (insert): take a reference instead of a pointer
6615         (insert): adjust
6616
6617         * paragraph.[Ch] (id): new function
6618
6619         * bufferlist.C (newFile): adjust
6620
6621         * ParagraphList.C (ParagraphList): adjust
6622         (assign): adjust
6623         (push_back): take a reference instead of a pointer.
6624
6625         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6626
6627         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6628         instead.
6629
6630         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6631         set else use old code.
6632
6633         * ParagraphList.C: remove all NO_NEXT code and only compile this
6634         code of NO_STD_LIST is set.
6635
6636 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6637
6638         * BufferView_pimpl.C:
6639         * TextCache.C:
6640         * TextCache.h:
6641         * bufferlist.C:
6642         * errorlist.h:
6643         * format.C:
6644         * format.h:
6645         * graph.C:
6646         * lyxfunc.C:
6647         * lyxrc.C:
6648         * graphics/GraphicsConverter.C:
6649         * graphics/PreviewLoader.C: header adjustment
6650
6651 2003-05-23  Angus Leeming  <leeming@lyx.org>
6652
6653         * LaTeXFeatures.[Ch] (useBabel): new method.
6654         * bufferparams.C (writeLaTeX): use it.
6655
6656 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6657
6658         * ParagraphList.h (set): remove unused function.
6659
6660 2003-05-23  André Pönitz  <poenitz@gmx.net>
6661
6662         * BufferView.C:
6663         * BufferView_pimpl.C:
6664         * buffer.C:
6665         * buffer.h:
6666         * lyxfunc.C:
6667         * undo_funcs.C: setUndo reworked
6668
6669         * iterators.[Ch]: add access to topmost ParagraphList
6670
6671         * lyxtext.[Ch] (workWidth): add a const
6672
6673 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6674
6675         * texrow.[Ch] (increasePos): remove function
6676         * exporter.C (export): removed unused var and outdated comment
6677
6678 2003-05-23  Angus Leeming  <leeming@lyx.org>
6679
6680         * latexrunparams.h: rename fragile as moving_arg.
6681         * paragraph.C (simpleTeXOnePar): ditto.
6682         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6683
6684 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6685
6686         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6687         (createUndo): ditto
6688         (textUndoOrRedo): comment out a currently unused var.
6689
6690         * paragraph.h (NO_NEXT): enable NO_NEXT
6691
6692         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6693
6694         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6695
6696         * exporter.C (Export): adjust for removeAutoInsets removal.
6697
6698         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6699
6700         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6701
6702         * BufferView.[Ch] (removeAutoInsets): delete function
6703
6704 2003-05-22  Angus Leeming  <leeming@lyx.org>
6705
6706         * latexrunparams.h: add a free_spacing variable.
6707
6708         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6709         to pass moving_arg, as the data is stored in runparams.fragile.
6710
6711         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6712         to Inset::latexOptional or to simpleTeXOnePar.
6713
6714         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6715         free_spacing arg to Inset::latexOptional.
6716
6717         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6718         free_spacing arg.
6719
6720 2003-05-22  Angus Leeming  <leeming@lyx.org>
6721
6722         * latexrunparams.h: add fragile and use_babel variables.
6723
6724         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6725         * buffer.C (makeLaTeXFile): store this returned value in
6726         runparams.use_babel, thus passing it to the inset::latex methods.
6727
6728         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6729         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6730
6731         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6732         longer has a fragile arg, as it is stored in runparams.fragile.
6733
6734         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6735         moving_arg parameter as the data is stored in runparams.fragile.
6736
6737         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6738         a fragile parameter as the data is stored in runparams.fragile.
6739
6740 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6741
6742         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6743
6744 2003-05-22  Angus Leeming  <leeming@lyx.org>
6745
6746         * latexrunparams.h: add a 'bool nice' which defaults to false.
6747
6748         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6749         now encapsulated within runparams.
6750
6751         * bufferlist.C (updateIncludedTeXfiles):
6752         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6753
6754 2003-05-22  Angus Leeming  <leeming@lyx.org>
6755
6756         * latexrunparams.h: new file containing struct LatexRunParams.
6757         * Makefile.am: add new file.
6758
6759         * LaTeX.[Ch] (c-tor, run):
6760         * buffer.[Ch] (makeLaTeXFile):
6761         * bufferlist.[Ch] (updateIncludedTeXfiles):
6762         * converter.C (convert, scanLog):
6763         * converter.[Ch] (runLaTeX):
6764         * exporter.C (Export):
6765         * paragraph.[Ch] (simpleTeXOnePar):
6766         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6767         * paragraph_funcs.[Ch] (latexParagraphs):
6768         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6769         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6770         pass around a LatexRunParams parameter.
6771
6772 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6773
6774         * paragraph.[Ch]: remove unused constructor
6775
6776         * ParagraphList.C (erase): new function, taking two iterators
6777
6778 2003-05-22  André Pönitz  <poenitz@gmx.net>
6779
6780         * undo_funcs.C: remove duplicated code
6781
6782         * iterator.[Ch]: operator=
6783
6784 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6785
6786         * tabular.C (SetMultiColumn): ws changes
6787
6788         * rowpainter.C (paintFirst): get rid of a ->previous
6789
6790         * lyx_cb.C (getPossibleLabel): parlist simplification
6791
6792         * BufferView.C (ChangeInsets): simplify slightly.
6793
6794 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6795
6796         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6797         * lfuns.h: new LFUN_SPACE
6798         * lyxfunc.C: protected space has a new lfun
6799         * paragraph_funcs.C: read new space insets
6800         * text3.C:
6801         * factory.C: handle new space insets
6802
6803 2003-05-22  André Pönitz  <poenitz@gmx.net>
6804
6805         * BufferView.C:
6806         * BufferView_pimpl.C:
6807         * buffer.[Ch]:
6808         * lyxfunc.C:
6809         * undo_funcs.C: return a ParIterator from getParFromID.
6810
6811         * iterators.[Ch]: add two const's
6812
6813 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6814
6815         * toc.C (getTocList): adjust
6816
6817         * iterators.[Ch]: rework for parlist
6818
6819         * buffer.C (par_iterator_begin): adjust
6820         (par_iterator_end): adjust
6821
6822         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6823
6824         * BufferView.C (removeAutoInsets): adjust
6825         (ChangeInsets): adjust
6826
6827 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6828
6829         * text.C (top_y): fix bug 1110
6830
6831 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6832
6833         * errorlist.[Ch]: added
6834         * buffer.C:
6835         * BufferView.[Ch]:
6836         * BufferView_pimpl.C:
6837         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6838         instead
6839
6840 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6841
6842         * Makefile.am: ensure that lyx is relinked upon changes to the
6843         various "convenience" libs.
6844
6845 2003-05-20  Angus Leeming  <leeming@lyx.org>
6846
6847         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6848         files are compiled in alphabetical order again.
6849
6850         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6851
6852 2003-05-19  Angus Leeming  <leeming@lyx.org>
6853
6854         * gettext.[Ch]: remove "char const * _(char const *)".
6855
6856 2003-05-19  André Pönitz  <poenitz@gmx.net>
6857
6858         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6859
6860         * Makefile.am:
6861         * BufferView.C:
6862         * DepTable.h:
6863         * LaTeXFeatures.C:
6864         * buffer.C:
6865         * lyxfont.C:
6866         * lyxlex.h:
6867         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6868
6869 2003-05-19  André Pönitz  <poenitz@gmx.net>
6870
6871         * buffer.C:
6872         * lyxlayout.[Ch]:
6873         * lyxtextclass.[Ch]:
6874         * paragraph.C:
6875         * paragraph_funcs.[Ch]:
6876         * text2.C:
6877         * text3.C: more insetenv work
6878
6879 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6880
6881         * ParagraphParameters.C (params2string): small bug fixed
6882
6883 2003-05-16  André Pönitz  <poenitz@gmx.net>
6884
6885         * debug.C:
6886         * bufferview_funcs.C: patch from Kornel Benko to prevent
6887           crash when _(...) is called twice in a statement
6888
6889 2003-05-16  André Pönitz  <poenitz@gmx.net>
6890
6891         * BufferView.C:
6892         * lyxfunc.C:
6893         * text.C:
6894         * text2.C:
6895         * text3.C:
6896         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6897
6898 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6899
6900         * lyx_main.C (init): remove spurious static_cast
6901
6902 2003-05-14  André Pönitz  <poenitz@gmx.net>
6903
6904         * BufferView.C: fix format string
6905
6906 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6907
6908         * BufferView.[Ch] (insertErrors): removed
6909         * BufferView.[Ch] (showErrorList): added
6910         * buffer.C (runChkTeX):
6911         * converter.C (scanLog): call showErrorList instead of inserterrors
6912
6913 2003-05-13  André Pönitz  <poenitz@gmx.net>
6914
6915         * BufferView_pimpl.C:
6916         * buffer.C:
6917         * bufferview_func.C:
6918         * MenuBackend.C:
6919         * lyxfunc.C:
6920         * lyxrc.C:
6921         * tex-accent.C:
6922         * text3.C:
6923         * toc.C:
6924         * tabular_funcs.h: tostr() from its own header
6925
6926         * ParagraphParameters.C:
6927         * ToolbarBackend.C:
6928         * bufferparams.C:
6929         * format.C:
6930         * lyxlex_pimpl.C:
6931         * text3.C: STRCONV()
6932
6933 2003-05-12  André Pönitz  <poenitz@gmx.net>
6934
6935         * BufferView.C:
6936         * BufferView_pimpl.C:
6937         * CutAndPaste.C:
6938         * LaTeX.C:
6939         * LaTeXFeatures.C:
6940         * ParagraphParameters.C:
6941         * buffer.C:
6942         * bufferlist.C:
6943         * bufferparams.C:
6944         * bufferview_funcs.C:
6945         * converter.C:
6946         * counters.C:
6947         * debug.C:
6948         * exporter.C:
6949         * format.C:
6950         * importer.C:
6951         * lyx_cb.C:
6952         * lyx_main.C:
6953         * lyxfont.C:
6954         * lyxfunc.C:
6955         * lyxvc.C:
6956         * paragraph.C:
6957         * paragraph_funcs.C:
6958         * tabular.C:
6959         * tabular_funcs.C:
6960         * text2.C:
6961         * text3.C:  boost::format -> bformat  all over the place
6962
6963
6964 2003-05-09  André Pönitz  <poenitz@gmx.net>
6965
6966         * LColor.[Ch]: Pimpl the #include <map> away
6967
6968 2003-05-09  John Levon  <levon@movementarian.org>
6969
6970         * bufferlist.C: never remove emergency saves
6971
6972 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6973
6974         * Makefile.am: better lib building
6975
6976 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6977
6978         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6979         instead.
6980         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6981         (simpleTeXSpecialChars): adjust
6982         (simpleTeXSpecialChars): adjust
6983         * paragraph.C (simpleTeXOnePar): adjust
6984         * buffer.C (makeLaTeXFile): adjust
6985
6986         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6987
6988         * text2.C (changeDepth): parlist cleanup
6989         (getColumnNearX): ditto
6990
6991         * rowpainter.C (getLabelFont): parlist cleanup
6992
6993         * bufferlist.C (newFile): parlist cleanup
6994
6995         * CutAndPaste.C (eraseSelection): parlist cleanup
6996
6997         * BufferView_pimpl.C (trackChanges): parlist cleanup
6998         (dispatch): ditto
6999
7000         * BufferView.C (lockInset): parlist cleanup.
7001         (ChangeInsets): ditto
7002
7003 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7004
7005         * CutAndPaste.h: Update file header.
7006
7007         * CutAndPaste.C: Update file header.
7008         Store the parts cut out of the Document in a limited_stack.
7009         (copySelection): adjust
7010         (pasteSelection): new function, takes the index in the limited stack.
7011         (nrOfParagraphs): adjust
7012         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7013         simplify error inset insertion.
7014         (checkPastePossible): adjust
7015
7016 2003-05-06  John Levon  <levon@movementarian.org>
7017
7018         * text2.C: don't cast wrap inset to float
7019
7020 2003-05-05  André Pönitz  <poenitz@gmx.net>
7021
7022         * iterator.C:
7023         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7024
7025         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7026           few naked Paragraph *.
7027
7028 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7029
7030         * bufferparams.C: Output warning if a document with missing
7031         TeX document class is loaded
7032         * exporter.C: Disable TeX exports if the document class is missing
7033         * lyxtextclass.C:
7034         * lyxtextclass.h:
7035         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7036         isTeXClassAvailable()
7037
7038 2003-05-03  John Levon  <levon@movementarian.org>
7039
7040         * BufferView.h:
7041         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7042         explicit cursor show/hide
7043
7044         * BufferView_pimpl.h:
7045         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7046         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7047
7048         * lyxfunc.C: hide cursor before dispatching.
7049
7050         * lyx_cb.C:
7051         * lyxfind.C:
7052         * text.C:
7053         * text3.C: remove explicit cursor hides
7054
7055 2003-05-02  André Pönitz  <poenitz@gmx.net>
7056
7057         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7058
7059         * undo_funcs.C:
7060         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7061           linked lists
7062
7063         * text2.C: tiny whitespace
7064
7065 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * undo_funcs.C: almost only ws changes.
7068
7069         * ParagraphList.C (splice): just return if pl is empty.
7070
7071 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7072
7073         * ParagraphList.C (splice): new function.
7074
7075         * CutAndPaste.C (pasteSelection): use it
7076
7077 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7078
7079         * CutAndPaste.C (pasteSelection): remove the last next and
7080         previous from this file.
7081
7082 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7083
7084         * CutAndPaste.C (pasteSelection): more clean up, user proper
7085         ParagraphList functions for pasteing.
7086
7087         * ParagraphList.C (insert): new function, three arg insert
7088
7089 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7090
7091         * ParagraphList.C (insert): new function, three arg insert
7092
7093         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7094         not on paragraphs.
7095
7096 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7097
7098         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7099
7100 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7101
7102         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7103
7104 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7105
7106         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7107         (copySelection): clean up a bit.
7108         (pasteSelection): use make_pair
7109
7110         * ParagraphList.C (ParagraphList): implement copy constructor
7111         (operator=): implement, base on copy constructor.
7112         (assign): new func
7113
7114         * paragraph.C (erase): return a bool
7115
7116         * paragraph_pimpl.C (erasePos): remove function, move contents...
7117         (erase): ... here. Return a bool.
7118         (erase): call erase instead of erasePos.
7119
7120 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7121
7122         * ParagraphList.h: define PitPosPair
7123         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7124         ParagraphList, fix a bug on pasting multiple pars
7125         * text2.C: change interface to C&P
7126
7127 2003-04-30  André Pönitz  <poenitz@gmx.net>
7128
7129         * undo_func.C: revert part of yesterday's patch 2
7130
7131 2003-04-30  John Levon  <levon@movementarian.org>
7132
7133         * LColor.C: s/tabular/table/
7134
7135 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7136
7137         * text3.C (dispatch): do not convert iterator -> pointer
7138         * undo_funcs.C (setCursorParUndo): ditto
7139         * text_funcs.C (transposeChars): ditto
7140
7141         * text2.C (setLayout): ws changes only
7142
7143         * text.C (breakParagraph): do not convert iterator -> pointer
7144         (insertChar): ditto
7145         (acceptChange): ditto
7146         (rejectChange): ditto
7147         (changeCase): ditto
7148         (Delete): ditto
7149         (backspace): ditto
7150
7151         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7152         pointer
7153
7154 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7155
7156         * text3.C (gotoInset): YABG (yet another bad getChar)
7157
7158 2003-04-29  André Pönitz  <poenitz@gmx.net>
7159
7160         * paragraph.h: make operator= private unimplemented as long as
7161           it is unusable
7162
7163         * ParagraphList.C: whitespace
7164
7165         * paragraph.[Ch]:
7166         * paragraph_pimpl.[Ch]:
7167         * paragraph_funcs.C:
7168         * CutAndPaste.C:
7169         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7170
7171         * text2.C:
7172           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7173
7174 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7175
7176         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7177         * paragraph.[Ch] (erase):
7178         * paragraph_pimpl.[Ch] (erase): change return type and value
7179         * text2.C (cutSelection): some rework
7180
7181 2003-04-28  John Levon  <levon@movementarian.org>
7182
7183         * bufferlist.C: changes for unsaved changes dialog
7184
7185 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7186
7187         * bufferlist.C (newFile): set language (messages_) for new
7188         documents also.
7189
7190         * buffer.C (readFile): ws changes only.
7191
7192 2003-04-28  André Pönitz  <poenitz@gmx.net>
7193
7194         * undo_funcs.C:
7195         * lyxfunc.C:
7196         * buffer.[Ch]:
7197         * BufferView_pimpl.C:
7198         * BufferView.C: getParFromID related ParagraphList::iterator changes
7199
7200 2003-04-28  André Pönitz  <poenitz@gmx.net>
7201
7202         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7203           Changes
7204
7205 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7206
7207         * messages.C: remove one more localedir class variable.
7208
7209 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7210
7211         * messages.C (getLocaleDir): singleton generation function
7212         (Pimpl): use it.
7213         (Messages): add a default constructor.
7214
7215         * main.C (main): do not setup localedir here, do not call
7216         gettext_init.
7217
7218         * gettext.C (_): use it.
7219         (gettext_init): delete funciton
7220
7221 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7222
7223         * gettext.C (getLyXMessages): new singleton generating function.
7224
7225         * buffer.C (updateDocLang): adjust
7226
7227         * Makefile.am (messages.o): add target
7228         (main.o): remove target
7229
7230 2003-04-27  John Levon  <levon@movementarian.org>
7231
7232         * bufferlist.C:
7233         * lyx_cb.C:
7234         * lyxfunc.C:
7235         * lyxvc.C: specify cancel button in Alert::prompt
7236
7237 2003-04-26  John Levon  <levon@movementarian.org>
7238
7239         * text3.C:
7240         * lyxfunc.C:
7241         * lfuns.h:
7242         * LyXAction.C: add LFUN_INSET_SETTINGS
7243
7244         * lyxfunc.C: don't enable tabular-feature when there's
7245         just any locking inset
7246
7247 2003-04-26  John Levon  <levon@movementarian.org>
7248
7249         * bufferlist.C: re-add Cancel to buffer close question
7250
7251         * lyxfunc.C: fix import UI a bit
7252
7253 2003-04-25  John Levon  <levon@movementarian.org>
7254
7255         * gettext.C: remove the broken asserts for now
7256
7257 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7258
7259         * messages.C: make case where setlocale cannot comply work better.
7260
7261         * buffer.C (updateDocLang): new function
7262         (changeLanguage): use it
7263         (readFile): use it
7264
7265         * text2.C (setCounter): use B_ a bit.
7266
7267         * lyxlayout.C (Read): be sure to trim the label strings.
7268
7269         * messages.C (Messages): fix typo in comment
7270
7271         * buffer.C (readFile): set message_ after file is loaded.
7272         (makeDocBookFile): remove double return
7273         (changeLanguage): reset message_ upon language change.
7274         (B_): new func, use this to get translated buffer strings.
7275
7276         * main.C: add myself and Jean Marc as authors.
7277
7278 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7279
7280         * messages.[hC]: pimplify Messages, and three different pimpls to be
7281         used in different circumstances.
7282
7283         * gettext.[Ch]: change for use with new message code.
7284
7285 2003-04-24 André Pönitz <poenitz@gmx.net>
7286
7287         * factory.C: support for eqref
7288
7289 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7290
7291         * messages.[Ch]: add missing char
7292
7293         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7294
7295         * messages.[Ch]: New files
7296
7297 2003-04-18  John Levon  <levon@movementarian.org>
7298
7299         * BufferView.h:
7300         * BufferView.C:
7301         * BufferView_pimpl.C:
7302         * lfuns.h:
7303         * LyXAction.C:
7304         * lyxtext.h:
7305         * text2.C: remove layout-copy/paste (bug 778)
7306
7307 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7308
7309         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7310
7311 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7312
7313         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7314         if they succeed. Act accordingly.
7315
7316 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7317
7318         * text2.C (setCharFont): adjust
7319         (setCounter): adjust
7320         (insertStringAsLines): adjust
7321
7322         * text.C (leftMargin): adjust
7323         (setHeightOfRow): adjust
7324
7325         * rowpainter.C (paintFirst): adjust
7326         (paintLast): adjust
7327
7328         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7329         (outerHook): ditto
7330         (isFirstInSequence): ditto
7331         (getEndLabel): ditto
7332         (outerFont): adjust
7333
7334         * paragraph.C (getParLanguage): comment out some hard stuff.
7335
7336         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7337         (sgmlError): ditto
7338         (simpleDocBookOnePar): ditto
7339         (makeDocBookFile): use ParagraphList::iterator
7340
7341         * CutAndPaste.C (pasteSelection): adjust
7342
7343 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7344
7345         * text2.C (getFont): adjust
7346         (getLayoutFont): adjust
7347         (getLabelFont): adjust
7348
7349         * paragraph_funcs.C (TeXOnePar): adjust
7350
7351         * buffer.C (simpleLinuxDocOnePar): adjust
7352         (simpleDocBookOnePar): adjust
7353
7354         * CutAndPaste.C (pasteSelection): adjust
7355
7356         * BufferView.C (getEncoding): adjust
7357
7358         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7359
7360 2003-04-16  John Levon  <levon@movementarian.org>
7361
7362         * lyxfind.C: use parlist stuff for search/changes
7363
7364 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7365
7366         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7367
7368         * text2.C (deleteEmptyParagraphMechanism): adjust
7369
7370         * text2.[Ch] (ownerParagraph): delete func (both of them
7371
7372 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7373
7374         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7375
7376 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7377
7378         * ParagraphList.C: prepare for NO_NEXT
7379
7380 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7381
7382         * text2.C (getFont): adjust
7383         (getLayoutFont): adjust
7384         (getLabelFont): adjust
7385
7386         * paragraph.C (getFont): adjust
7387         (getLabelFont): adjust
7388         (getLayoutFont): adjust
7389
7390         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7391
7392 2003-04-15  John Levon  <levon@movementarian.org>
7393
7394         From Angus Leeming
7395
7396         * lyx_main.C: handle Include in .ui files
7397
7398 2003-04-15  John Levon  <levon@movementarian.org>
7399
7400         * MenuBackend.C: make the doc files length shorter
7401
7402         * ToolbarBackend.h:
7403         * ToolbarBackend.C: handle toolbar placement flags,
7404         Minibuffer
7405
7406 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7407
7408         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7409         adjust
7410
7411         * paragraph_funcs.C (TeXOnePar): adjust
7412
7413         * paragraph.C (getLabelFont): add outerfont arg, adjust
7414         (getLayoutFont): ditto
7415         (simpleTeXOnePar): adjust
7416
7417         * paragraph_pimpl.C (realizeFont): delete func
7418
7419 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7420
7421         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7422         row argument, constify cur argument.
7423
7424 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7425
7426         * text2.C (getFont): adjust
7427         (getLayoutFont): adjust
7428         (getLabelFont): adjust
7429
7430         * paragraph_funcs.C (TeXOnePar): adjust
7431         (outerFont): new func...
7432         (realizeFont): ...moved out from here, changed this to facilitate
7433         transition
7434
7435         * paragraph.C (getFont): take outerfont as arg, adjust
7436         (simpleTeXOnePar): add outerfont arg, adjust
7437
7438         * buffer.C (simpleLinuxDocOnePar): adjust
7439         (simpleDocBookOnePar): adjust
7440
7441         * CutAndPaste.C (pasteSelection): adjust
7442
7443         * BufferView.C (getEncoding): adjust
7444
7445 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7446
7447         * text2.C (setCharFont): adjust
7448         (setCounter): adjust
7449
7450         * text.C (leftMargin): adjust
7451         (setHeightOfRow): adjust
7452
7453         * rowpainter.C (paintFirst): adjust
7454         (paintLast): adjust
7455
7456         * paragraph_pimpl.C (realizeFont): adjust
7457
7458         * paragraph.C (isFirstInSequence): move from here...
7459         * paragraph_funcs.C (isFirstInSequence): ...to here
7460
7461         * paragraph.C (outerHook): move from here...
7462         * paragraph_funcs.C (outerHook): ...to here
7463
7464         * paragraph.C (depthHook): move from here...
7465         * paragraph_funcs.C (depthHook): ...to here
7466
7467         * paragraph.C (getEndLabel): move from here...
7468         * paragraph_funcs.C (getEndLabel): ...to here
7469
7470         * text2.C (realizeFont): move from here...
7471         * paragraph_funcs.C (realizeFont): ...to here
7472
7473 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7474
7475         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7476
7477 2003-04-14  Angus Leeming  <leeming@lyx.org>
7478
7479         * LColor.[Ch]: scrap LColor mathcursor.
7480
7481 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7482
7483         * lyxlex.[Ch] (text): delete function
7484         * trans.C (Load): adjust
7485         * paragraph_funcs.C (readParToken): adjust
7486
7487 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7488
7489         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7490         vector<char> instead of a char[].
7491
7492         * lyxlex_pimpl.C (getString): adjust
7493         (next): adjust
7494         (lex): use getString
7495         (eatLine): adjust
7496         (nextToken): adjust
7497
7498         * lyxlex.C (text): use pimpl_->getString()
7499         (getBool): ditto
7500         (findToken): ditto
7501
7502 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7503
7504         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7505         (makeFontEntriesLayoutSpecific): temp var for par.size()
7506         (setLayout): temp var for ownerParagraphs().end()
7507         (fullRebreak): temp var for rows().end()
7508         (selectionAsString): temp var for boost::next(startpit), realize
7509         that the while really is a regular for loop.
7510         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7511         setCursor in one place.
7512         (setParagraph): temp vr for ownerParagraphs().end()
7513         (updateCounters): make the while loop a for loop
7514         (cutSelection): temp var for ownerParagraphs().end()
7515         (updateInset): make the do {} while() a regular for loop
7516         (getCursorX): use temp vars
7517         (setCurrentFont): use temp vars
7518         (getColumnNearX): use temp vars
7519
7520 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * text.C (transformChar): use temp var for getChar
7523         (computeBidiTables): use temp var for row->par()
7524         (fill): move temp vars for row->par() and pit->layout() earlier in
7525         the function.
7526         (labelFill): use temp var for row->par()
7527         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7528         asc and desc, realize that pit never changes and that firstpit is
7529         just a duplicate and not needed. Exchange rit->par() with pit in a
7530         lot of places.
7531         (breakAgain): use a temp var for boost::next(rit)
7532         (breakAgainOneRow): ditto
7533         (breakParagraph): use a temp var for rows().begin()
7534         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7535         (cursorRightOneWord): use temp var for cursor.par() and
7536         cursor.pos(), remove usage of tmpcursor.
7537         (cursorLeftOneWord): use temp var for cursor.par() and
7538         cursor.pos() only set cur at end of function.
7539
7540 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7541
7542         * text.C, text2.C: exchange all usage of Paragraph::next with
7543         boost::next(ParagraphList::iterator)
7544
7545         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7546
7547         * text2.C (cursorTop): simplify implementation
7548         (cursorBottom): ditto
7549         (setParagraph): use ParagraphList::iterator
7550         (setCurrentFont): adjust
7551         (getColumnNearX): adjust
7552         (cursorRight): adjust
7553         (cursorLeft): remove usage of Paragraph::previous
7554         (cursorUpParagraph): ditto
7555         (deleteEmptyParagraphMechanism): slight cleanup
7556
7557         * text.C (isBoundary): take a Paragraph const & instead of a
7558         pointer as arg.
7559         (addressBreakPoint): ditto
7560         (leftMargin): remove usage of Paragraph::previous.
7561         (setHeightOfRow): ditto
7562         (cursorLeftOneWord): ditto
7563         (selectNextWordToSpellcheck): ditto
7564         (Delete): ditto
7565         (backspace): ditto
7566         (breakParagraph): remove one usage of Paragraph::next
7567         (redoParagraph): ditto
7568         (acceptChange): ditto
7569         (insertChar): adjust
7570         (rowBreakPoint): adjust
7571
7572         * bufferview_funcs.C (toggleAndShow): adjust
7573
7574 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7575
7576         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7577         methods to access it.
7578         * lyxtext.h:
7579         * text.C: Added updateRowPositions to compute all row positions.
7580         Make top_y and getRowNearY() to use the cached y position
7581
7582 2003-04-11  John Levon  <levon@movementarian.org>
7583
7584         * text.C (rowBreakPoint): reintroduce the labelEnd
7585         checks, code copied from the row fill stuff. Deep voodoo.
7586
7587         * text.C (fill): add a comment and debugging for the
7588         next poor soul.
7589
7590 2003-04-11  John Levon  <levon@movementarian.org>
7591
7592         * text.C: make sure fullrow insets get wrapped to the next line,
7593         even when they're in a manual label
7594
7595 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7596
7597         * text2.C (insertParagraph): make it take ParagraphList::iterator
7598         as arg.
7599         (setLayout): make it return ParagraphList::iterator
7600         (redoParagraphs): ditto
7601         (setCounter): ditto
7602         (checkParagraph): ditto
7603
7604         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7605
7606         * text2.C: adjust several funcs.
7607         (realizeFont): take a ParagraphList::iterator as arg.
7608         (getLayoutFont): ditto
7609         (getLabelFont): ditto
7610         (setCharFont): ditto
7611
7612         * text.C: adjust several funcs.
7613
7614 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7615
7616         * text.C (selectNextWordToSpellcheck): don't accidentally
7617         skip insets
7618
7619 2003-04-10  John Levon  <levon@movementarian.org>
7620
7621         * ToolbarBackend.C (getIcon): special handling for
7622         LFUN_MATH_DELIM
7623
7624 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7625
7626         * text2.C (cursorRight): a getChar assert fixed
7627
7628 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7629
7630         * text2.C (getFont): change to take a ParagraphList::iterator
7631         instead of Paragraph*
7632         Adjust several functions.
7633
7634         * text.C (transformChar): change to take a ParagraphList::iterator
7635         instead of Paragraph*
7636         (singleWidth): ditto
7637         Adjust several functions.
7638
7639         * rowpainter.C: adjust several functions
7640         * rowpainter.h:store a ParagraphList::iterator and not a
7641         Paragraph&.
7642
7643
7644 2003-04-09  John Levon  <levon@movementarian.org>
7645
7646         * lyxfunc.C:
7647         * lfuns.h:
7648         * LyXAction.h:
7649         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7650         and the "help" bits as well
7651
7652 2003-04-09  John Levon  <levon@movementarian.org>
7653
7654         * ToolbarBackend.h:
7655         * ToolbarBackend.C: allow multiple toolbars
7656
7657 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7658
7659         * undo_funcs.C (setCursorParUndo): adjust
7660
7661         * text_funcs.C (transposeChars): adjust
7662
7663         * text3.C (gotoNextInset): adjust
7664         (dispatch): adjust
7665
7666         * text2.C (setLayout): adjust
7667         (changeDepth): adjust
7668         (setFont): adjust
7669         (redoParagraphs): adjust
7670         (selectionAsString): adjust
7671         (setParagraph): adjust
7672         (insertInset): adjust
7673         (cutSelection): adjust
7674         (copySelection): adjust
7675         (pasteSelection): adjust
7676         (insertStringAsLines): adjust
7677         (updateInset): adjust
7678         (setCursor): change to take a ParagraphList::iterator parameter
7679         (setCursorIntern): change to take a ParagraphList::iterator parameter
7680         (setCurrentFont): adjust
7681         (cursorLeft): adjust
7682         (cursorRight): adjust
7683         (deleteEmptyParagraphMechanism): adjust
7684
7685         * text.C (breakParagraph): adjust
7686         (insertChar): adjust
7687         (acceptChange): adjust
7688         (rejectChange): adjust
7689         (selectNextWordToSpellcheck): adjust
7690         (changeCase): adjust
7691         (Delete): adjust
7692         (backspace): adjust
7693
7694         * lyxfind.C (SearchForward): adjust
7695         (SearchBackward): adjust
7696         (nextChange): adjust
7697
7698         * lyxcursor.C (par): adjust
7699
7700         * lyxcursor.h: store a ParagraphList::iterator instead of a
7701         Paragraph*
7702
7703         * lyx_cb.C (getPossibleLabel): adjust
7704
7705         * bufferview_funcs.C (toggleAndShow): adjust
7706
7707         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7708         (dispatch): adjust
7709
7710         * BufferView.C (removeAutoInsets): adjust
7711         (lockedInsetStoreUndo): adjust
7712
7713 2003-04-09  John Levon  <levon@movementarian.org>
7714
7715         * ToolbarBackend.C: try icon without argument
7716         if with argument fails
7717
7718 2003-04-08  John Levon  <levon@movementarian.org>
7719
7720         * ToolbarBackend.h:
7721         * ToolbarBackend.C: add getIcon(), handle tooltip,
7722         and change from "Icon" to "Item".
7723
7724 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7725
7726         * BufferView.C (lockInset): another bad getchar crunched
7727
7728 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7729
7730         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7731         again)
7732
7733 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7734
7735         * lyxfind.C (searchForward, searchBackwards): bug 782
7736
7737 2003-04-07  John Levon  <levon@movementarian.org>
7738
7739         * paragraph.C: remove dead comment
7740
7741         * text.C: remove troublesome depth-fiddling code
7742         in leftMargin() and rightMargin() (bug 1017)
7743
7744         * text.C: fix breaking of rows in nested lists
7745         (bug 1004)
7746
7747         * text2.C (updateCounters): fix up depth values
7748         (bug 1013)
7749
7750 2003-04-07  John Levon  <levon@movementarian.org>
7751
7752         * BufferView_pimpl.C: clear message when doc finishes resizing,
7753         and after a mouse event
7754
7755         * lyxfunc.C: clear message after exiting inset
7756
7757 2003-04-07  John Levon  <levon@movementarian.org>
7758
7759         * bufferview_funcs.C: show math status not outside
7760         status in the statusbar
7761
7762 2003-04-07  John Levon  <levon@movementarian.org>
7763
7764         * lyxfunc.C: note status changed after a depth change
7765
7766 2003-04-04  Angus Leeming  <leeming@lyx.org>
7767
7768         * LaTeX.h: move AuxInfo operator==, != out of line.
7769         Remove LaTeX virtual destructor; nothing derives from it.
7770         Move operator()() out of public area and rename it startscript().
7771         Change protected for private.
7772
7773 2003-04-04  Angus Leeming  <leeming@lyx.org>
7774
7775         * lyxfunc.C:
7776         * text2.C: remove unneeded #includes.
7777
7778 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7779
7780         * text2.C (dEPM): fix the heigth of the next row
7781
7782 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7783
7784         * text.C: squashed an invalid getChar requester + some ws changes
7785
7786 2003-04-03  John Levon  <levon@movementarian.org>
7787
7788         * bufferview_funcs.h:
7789         * bufferview_funcs.C:
7790         * lyxfunc.C:
7791         * lyxtext.h:
7792         * text2.C: make getStatus work for the env depth lfuns
7793
7794 2003-04-03  John Levon  <levon@movementarian.org>
7795
7796         * bufferview_funcs.h:
7797         * bufferview_funcs.C:
7798         * lyxfunc.C:
7799         * lyxtext.h:
7800         * text2.C: parlistize decDepth(), by merging it with incDepth()
7801
7802 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7803
7804         * lyxrow.h: store a ParagraphList::iterator instead of a
7805         Paragraph* and adjust other class functions to suit.
7806
7807         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7808         above.
7809
7810 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7811
7812         * text2.C (setCursor): do not anchor to cursor row for the time being
7813
7814 2003-04-02  John Levon  <levon@movementarian.org>
7815
7816         * LyXAction.C:
7817         * lfuns.h:
7818         * lyx_main.C:
7819         * lyxtext.h:
7820         * text.C:
7821         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7822
7823 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7824
7825         * paragraph.h: make ParagraphList and ParagraphList::iterator
7826         friends of Paragraph.
7827
7828         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7829
7830         * ParagraphList.C: Use the private next_ and previous_ from
7831         Paragraph.
7832
7833 2003-04-01  John Levon  <levon@movementarian.org>
7834
7835         * ToolbarBackend.h:
7836         * ToolbarBackend.C:
7837         * Makefile.am: rename, remove defaults gunk
7838
7839         * MenuBackend.h:
7840         * MenuBackend.C: remove defaults gunk
7841
7842         * Languages.h:
7843         * Languages.C: remove defaults gunk
7844
7845         * lyx_main.h:
7846         * lyx_main.C: error out if files couldn't be found.
7847
7848 2003-04-02  John Levon  <levon@movementarian.org>
7849
7850         * text2.C: make incDepth() use parlist
7851
7852 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7853
7854         * undo_funcs.C (firstUndoParagraph): adjust
7855
7856         * text3.C (gotoInset): adjust
7857         (dispatch): adjust, and rewrite loop.
7858
7859         * text2.C (init): adjust, and rewrite loop.
7860         (redoParagraphs): adjust
7861         (updateInset): adjust, and rewrite loop.
7862         (deleteEmptyParagraphMechanism): adjust
7863
7864         * tabular.C (LyXTabular): adjust
7865         (SetMultiColumn): adjust
7866         (TeXRow): adjust
7867
7868         * lyxtext.[Ch] (ownerParagraph): delete function
7869         (ownerParagraphs): new function returns a ParagraphList.
7870
7871         * BufferView.C (removeAutoInsets): adjust
7872         (insertErrors): adjust
7873         (setCursorFromRow): adjust
7874
7875 2003-04-01  Angus Leeming  <leeming@lyx.org>
7876
7877         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7878         in the frontends.
7879
7880 2003-04-02  John Levon  <levon@movementarian.org>
7881
7882         * lyxtext.h:
7883         * text.C:
7884         * Makefile.am:
7885         * text_funcs.h:
7886         * text_funcs.C: make transposeChars a free function
7887
7888         * lyxrow_funcs.C: remove wrong comment
7889
7890 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7891
7892         * lyxtext.h: adjust
7893         * rowpainter.C: adjust
7894         * text.C: adjust
7895         * text2.C: adjust
7896         * text3.C: adjust
7897
7898         * lyxrow_funcs. [Ch]: new files
7899
7900         * lyxrow.[Ch]: remove next and previous pointers
7901         (next,previous): remove accessor functions
7902         (isParEnd): move to lyxrow_funcs
7903         (lastPos): move to lyxrow_funcs
7904         (nextRowIsAllInset): move to lyxrow_funcs
7905         (lastPrintablePos): move to lyxrow_funcs
7906         (numberOfSeparators): move to lyxrow_funcs
7907         (numberOfHfills): move to lyxrow_funcs
7908         (numberOfLabelHfills): move to lyxrow_funcs
7909         (hfillExpansion): move to lyxrow_funcs
7910
7911         * lyxfunc.C: adjust
7912
7913         * bufferview_funcs.C (toggleAndShow): adjust
7914
7915         * RowList.h: Remove class RowList from file leave just a
7916         std::list<Row>.
7917
7918         * RowList.C: delete file
7919
7920         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7921         and lyxrow_funcs.h
7922
7923 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7924
7925         * text3.C (cursorPrevious): adjust
7926         (cursorNext): adjust
7927         (dispatch): adjust
7928
7929         * text2.C (redoHeightOfParagraph): adjust
7930         (redoDrawingOfParagraph): adjust
7931         (setCursor): adjust
7932
7933         * text.C (breakParagraph): adjust
7934         (insertChar): adjust
7935         (backspace): adjust
7936
7937         * rowpainter.C (RowPainter): adjust
7938         (leftMargin): simplify and adjust
7939         (most rowpainter functions): adjust.
7940
7941         * rowpainter.h: store the row as RowList::iterator not as Row*
7942
7943         * lyxcursor.C (row): taka RowList::iterator as arg
7944         (irow): ditto
7945
7946         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7947         of Row*.
7948
7949 2003-04-01  Angus Leeming  <leeming@lyx.org>
7950
7951         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7952         stuff like bool Bool.
7953
7954 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7955
7956         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7957         rewrite a loop
7958
7959 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7960
7961         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7962         RowList::iterator.
7963
7964         * lyxtext.h (rows): drop one version and leve a const variant that
7965         returns a RowList::iterator.
7966
7967 2003-03-31  Angus Leeming  <leeming@lyx.org>
7968
7969         * text.C (fill): ensure that the signature is the same as that in the
7970         header file.
7971
7972 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7973
7974         * text2.C (redoParagraphs): adjust
7975         (updateCounters): adjust
7976         (checkParagraph): adjust
7977         (getColumnNearX): adjust and reformat a bit.
7978
7979         * text.C (top_y): adjust
7980         (workWidth): adjust
7981         (leftMargin): adjust
7982         (prepareToPrint): adjust
7983         (getRow): adjust
7984         (getRowNearY): adjust
7985
7986         * lyxtext.h: make rowlist_ mutable.
7987
7988         * RowList.h: add const_iterator
7989         * RowList.C: adjust for RowList::const_iterator.
7990
7991         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7992         adjust.
7993
7994 2003-03-31  John Levon  <levon@movementarian.org>
7995
7996         * lyxrc.h:
7997         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7998
7999         * lyx_main.C: set default fonts from using lyx_gui funcs
8000
8001         * exporter.C: pdf_mode moved from lyxrc
8002
8003         * lyx_cb.C:
8004         * lyxfunc.C: changes from above
8005
8006 2003-03-31  John Levon  <levon@movementarian.org>
8007
8008         * lyx_main.C: fix to the last fix
8009
8010 2003-03-31  John Levon  <levon@movementarian.org>
8011
8012         * bufferlist.C: "Load original" -> "Load Original"
8013
8014         * converter.C:
8015         * exporter.C:
8016         * importer.C:
8017         * lyx_main.C:
8018         * format.C: more Alert cleanups
8019
8020 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8021
8022         * text2.C (removeParagraph): make it take a RowList::iterator as
8023         arg, adjust.
8024         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8025         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8026
8027         * text.C (anchor_row): make it take a RowList::iterator as arg,
8028         adjust.
8029         (computeBidiTables): make it take a const reference to Row instead
8030         of Row pointer, adjust.
8031         (leftMargin): make it take a RowList::iterator as arg, adjust.
8032         (rowBreakPoint): adjust
8033         (breakAgainOneRow): make it take a RowList::iterator as arg,
8034         adjust.
8035         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8036
8037         * bufferview_funcs.C (toggleAndShow): adjust
8038
8039 2003-03-30  John Levon  <levon@movementarian.org>
8040
8041         * Makefile.am:
8042         * BoostFormat.h:
8043         * boost-inst.C: moved to support
8044
8045         * several files: changes as a result
8046
8047 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8048
8049         * text2.C (LyXText): adjust.
8050         (init): adjust
8051         (removeRow): make it take a RowList::iterator as arg, adjust.
8052         (fullRebreak): adjust
8053         (deleteEmptyParagraphMechanism): adjust
8054         (clearPaint): adjust
8055         (postPaint): adjust
8056
8057         * text.C (top_y): adjust
8058         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8059         (breakAgain): make it take a RowList::iterator as arg, adjust.
8060         (breakParagraph): adjust
8061         (insertChar): adjust
8062         (backspace): adjust
8063
8064         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8065         need_break_row, and refresh_row.
8066
8067         * text3.C (dispatch): adjust
8068
8069         * text2.C (checkParagraph): adjust
8070         (setCursor): adjust
8071         (setCursorFromCoordinates): adjust
8072
8073         * text.C (top_y): adjust
8074         (workWidth): adjust
8075         (getRow): make it return a RowList::iterator, adjust
8076         (getRowNearY): make it return a RowList::iterator, adjust
8077
8078         * text2.C (init): adjust
8079         (insertRow): remove function
8080         (insertParagraph): adjust
8081         (redoParagraphs): adjust
8082         (fullRebreak): adjust
8083         (updateCounters): adjust
8084
8085         * text.C (top_y): rewrite to use RowList iterators.
8086         (top_y): adjust
8087         (setHeightOfRow): rewrite to sue RowList iterators.
8088         (appendParagraph): adjust
8089         (breakAgain): adjust
8090         (breakAgainOneRow): adjust
8091         (breakParagraph): adjust
8092         (getRow): adjust
8093         (getRowNearY): adjust, and remove commented code.
8094
8095         * lyxtext.h (firstRow): delete function
8096         (lastRow): delete function
8097         (rows): new function (const and non-const versions.)
8098         (insertRow): delete function
8099
8100         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8101
8102 2003-03-29  John Levon  <levon@movementarian.org>
8103
8104         * BufferView_pimpl.C: always update scrollbar top
8105         because pasting text when we're anchored could mean we
8106         miss an update altogether
8107
8108 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8109
8110         * text2.C (init): use rowlist_.end() and not 0.
8111         (insertRow): change to take a RowList::iterator as arg, adjust
8112         for this.
8113         (insertParagraph): change to take a RowList::iterator as arg,
8114         adjust for this.
8115         (redoParagraphs): remove some debug msgs.
8116
8117         * text.C (appendParagraph): change to take a RowList::iterator
8118         arg, adjust for this.
8119         (breakAgain): add an assert
8120         (breakAgainOneRow): ditto
8121
8122 2003-03-29  John Levon  <levon@movementarian.org>
8123
8124         * text2.C: do not clear selection after inc/decDepth
8125         (bug 550)
8126
8127 2003-03-29  John Levon  <levon@movementarian.org>
8128
8129         * BufferView.C:
8130         * buffer.C: fix broken strerrors according to Lars
8131
8132 2003-03-29  John Levon  <levon@movementarian.org>
8133
8134         * converters.C: more Alert cleanups
8135
8136 2003-03-29  John Levon  <levon@movementarian.org>
8137
8138         * bufferview_funcs.C: remove pointless Alert
8139
8140         * buffer.C: fix confusing error message when
8141         a template is chmoded 000
8142
8143 2003-03-29  John Levon  <levon@movementarian.org>
8144
8145         * BufferView.C:
8146         * BufferView.h:
8147         * BufferView_pimpl.C: Alert fixes
8148
8149         * Makefile.am:
8150         * tabular.C:
8151         * tabular-old.C: remove unused table compat reading
8152
8153 2003-03-29  John Levon  <levon@movementarian.org>
8154
8155         * BufferView.C:
8156         * buffer.C:
8157         * lyx_cb.h:
8158         * lyx_cb.C: more Alert cleanups
8159
8160         * lyxfunc.C: don't allow chktex if not latex document
8161
8162 2003-03-29  John Levon  <levon@movementarian.org>
8163
8164         * lyx_cb.C:
8165         * BufferView.C:
8166         * buffer.C: warnings pushed down from support/,
8167         kill err_alert
8168
8169 2003-03-29  John Levon  <levon@movementarian.org>
8170
8171         * lyxfunc.C: safety check for C-r (revert)
8172
8173 2003-03-29  John Levon  <levon@movementarian.org>
8174
8175         * bufferlist.h:
8176         * bufferlist.C: several UI fixes using Alert::prompt.
8177         Fix the pointless looping quit code. Fix stupid revert
8178         behaviour (bug 938)
8179
8180         * lyxvc.h:
8181         * lyxvc.C:
8182         * lyx_cb.C: use Alert::prompt
8183
8184         * lyx_main.C: remove a silly question
8185
8186         * lyxfunc.C: remove a couple of silly questions,
8187         use Alert::prompt
8188
8189 2003-03-28  John Levon  <levon@movementarian.org>
8190
8191         * text2.C: fix bug 974 (End on empty par)
8192
8193 2003-03-28  John Levon  <levon@movementarian.org>
8194
8195         * BufferView_pimpl.C:
8196         * LyXAction.C:
8197         * lfuns.h: remove do-nothing math greek lfuns
8198
8199 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8200
8201         * lyxgluelength.h (isValidGlueLength): add default arg on
8202         parameter 2. Remove default arg from friend in class.
8203
8204         * lyxlength.h (isValidLength): add default arg on parameter 2.
8205         Remove default arg from friend in class.
8206
8207         * text2.C (LyXText): adjust, initialize refresh_row.
8208         (init): adjust
8209         (removeRow): adjust
8210         (insertRow): adjust
8211         (insertParagraph): adjst
8212         (redoParagraphs): adjust
8213         (fullRebreak): adjust
8214         (updateCounters): adjust
8215         (deleteEmptyParagraphMechanism): first attempt at fixing a
8216         crashing bug.
8217
8218         * text.C (top_y): adjust
8219         (setHeightOfRow): adjust
8220         (getRow): adjust
8221         (getRowNearY): adjust
8222
8223         * lyxtext.h: include RowList.h
8224         (~LyXText): not needed anymore, deleted.
8225         (firstRow): modify for RowList
8226         (lastRow): new function
8227         Delete firstrow and lastrow class variables, add a Rowlist
8228         rowlist_ class variable.
8229
8230         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8231         paragraph is empty.
8232
8233         * RowList.C (insert): fix case where it == begin().
8234
8235 2003-03-26  Angus Leeming  <leeming@lyx.org>
8236
8237         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8238         the thesaurus dialog.
8239
8240 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8241
8242         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8243
8244         * RowList.[Ch]: new files
8245
8246         * ParagraphList.C (erase): handle the case where it == begin
8247         correctly.
8248
8249 2003-03-25  John Levon  <levon@movementarian.org>
8250
8251         * Makefile.am:
8252         * aspell_local.h:
8253         * aspell.C: add new aspell support
8254
8255         * lyxrc.h:
8256         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8257         have it accessible.
8258
8259 2003-03-25  Angus Leeming  <leeming@lyx.org>
8260
8261         * lfuns.h:
8262         * LyXAction.C (init): new LFUN_INSET_INSERT.
8263
8264         * BufferView_pimpl.C (dispatch): split out part of the
8265         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8266
8267         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8268         LFUN_INSET_APPLY.
8269
8270 2003-03-25  Angus Leeming  <leeming@lyx.org>
8271
8272         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8273
8274 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8275
8276         * text2.C:
8277         * text3.C: remove useless row->height(0)
8278
8279 2003-03-25  John Levon  <levon@movementarian.org>
8280
8281         * lyxtext.h:
8282         * text2.C:
8283         * text3.C: rename the refreshing stuff to better names
8284
8285 2003-03-24  John Levon  <levon@movementarian.org>
8286
8287         * BufferView_pimpl.h:
8288         * BufferView_pimpl.C: update layout choice on a mouse
8289         press/release
8290
8291 2003-03-23  John Levon  <levon@movementarian.org>
8292
8293         * Makefile.am: fix commandtags.h reference
8294
8295 2003-03-22  John Levon  <levon@movementarian.org>
8296
8297         * BufferView_pimpl.C:
8298         * lyxtext.h:
8299         * rowpainter.C:
8300         * rowpainter.h:
8301         * text.C:
8302         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8303
8304 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8305
8306         * lyxtext.h:
8307         * text.C: take the rtl methods out of line
8308
8309 2003-03-21 André Pönitz <poenitz@gmx.net>
8310
8311         * metricsinfo.[Ch]: new files containing structures to be passed around
8312         during the two-phase-drawing...
8313
8314 2003-03-21 André Pönitz <poenitz@gmx.net>
8315
8316         * lyxtextclass.C: read 'environment' tag.
8317
8318 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8319
8320         * text2.C (removeRow): fix bug 964
8321
8322 2003-03-20  John Levon  <levon@movementarian.org>
8323
8324         * rowpainter.C:
8325         * text.C:
8326         * text2.C: paint cleanups. Inset::update() dropped font
8327         parameter
8328
8329 2003-03-19  John Levon  <levon@movementarian.org>
8330
8331         * lyxfunc.C: only fitcursor/markDirty if available()
8332
8333 2003-03-19  John Levon  <levon@movementarian.org>
8334
8335         * commandtags.h: rename to ...
8336
8337         * lfuns.h: ... this, and renumber / cleanup
8338
8339 2003-03-19  John Levon  <levon@movementarian.org>
8340
8341         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8342         fit the cursor after an lfun
8343
8344         * BufferView.h:
8345         * BufferView.C:
8346         * BufferView_pimpl.h:
8347         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8348
8349         * LyXAction.C: layout-character should have ReadOnly
8350
8351         * ParagraphParameters.C:
8352         * buffer.C:
8353         * bufferview_funcs.C:
8354         * lyx_cb.C:
8355         * lyxfind.C:
8356         * lyxtext.h:
8357         * text.C:
8358         * text2.C:
8359         * text3.C:
8360         * undo_funcs.C: changes from above
8361
8362 2003-03-18  John Levon  <levon@movementarian.org>
8363
8364         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8365         remove it from update()
8366
8367         * lyxfunc.C: update layout choice after an lfun
8368
8369         * text3.C: remove extra updateLayoutChoice()s
8370
8371 2003-03-18  John Levon  <levon@movementarian.org>
8372
8373         * text.C: top_y change means full repaint, fix
8374         a drawing bug with cursor movement
8375
8376 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8377
8378         * lyxtext.h:
8379         * text.C:
8380         * text2.C: anchor row on setCursor
8381
8382 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8383
8384         * lyxtext.h: remove almost all mutable keywords
8385         * text.C:
8386         * text2.C:
8387         * text3.C: remove const keywords accordingly
8388
8389 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8390
8391         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8392         anon namespace
8393         (TeXEnvironment): ditto
8394         (TeXOnePar): ditto
8395
8396 2003-03-17  John Levon  <levon@movementarian.org>
8397
8398         * text.C (rowBreakPoint): remove attempt to fix displayed
8399         math insets inside a manual label
8400
8401 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8402
8403         * lyxtext.h: remove BufferView* as first arg from almost all class
8404         functions.
8405         * other files: adjust.
8406
8407 2003-03-17  John Levon  <levon@movementarian.org>
8408
8409         * lyxtext.h:
8410         * undo_funcs.C:
8411         * text2.C: more paint cleanups
8412
8413         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8414
8415         * rowpainter.h:
8416         * rowpainter.C: remove "smart" background painting code
8417
8418 2003-03-16  John Levon  <levon@movementarian.org>
8419
8420         * lyxtext.h:
8421         * text.C:
8422         * text2.C:
8423         * text3.C: add helper functions for setting refresh_row/y
8424
8425 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8426
8427         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8428         newline inset which *can* get inserted in the pass_thru layouts.
8429         This is primarily for literate documents.
8430
8431 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8432
8433         * buffer.C: increment LYX_FORMAT to 223
8434
8435 2003-03-14 André Pönitz <poenitz@gmx.net>
8436
8437         * textclass.h: prepare for environment handling, ws changes
8438         * lyxlayout.C: read latexheader and latexfooter tags
8439
8440 2003-03-14  John Levon  <levon@movementarian.org>
8441
8442         * text2.C: rewrite ::status() a bit
8443
8444 2003-03-13  John Levon  <levon@movementarian.org>
8445
8446         * lyxtext.h: add some docs
8447
8448 2003-03-13  John Levon  <levon@movementarian.org>
8449
8450         * lyxtext.h:
8451         * text.C:
8452         * text2.C:
8453         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8454
8455 2003-03-13  John Levon  <levon@movementarian.org>
8456
8457         * text3.C: fix appendix redrawing
8458
8459 2003-03-13  John Levon  <levon@movementarian.org>
8460
8461         * text.C (setHeightOfRow):
8462         * rowpainter.h:
8463         * rowpainter.C: make appendix mark have the text
8464           "Appendix" so the user knows what it is
8465
8466         * LColor.h:
8467         * LColor.C: s/appendixline/appendix/ from above
8468
8469 2003-03-13  John Levon  <levon@movementarian.org>
8470
8471         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8472
8473         * text.C: fix a getChar(pos) bug properly
8474
8475 2003-03-13  Angus Leeming  <leeming@lyx.org>
8476
8477         * commandtags.h:
8478         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8479         Probably only temporary. Let's see how things pan out.
8480
8481         * BufferView.C (unlockInset):
8482         * BufferView_pimpl.C (fitCursor):
8483         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8484
8485         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8486         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8487
8488         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8489         new functions that convert ParagraphParameters to and from a string.
8490
8491         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8492         BufferView::Pimpl's dispatch.
8493         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8494
8495 2003-03-13 André Pönitz <poenitz@gmx.net>
8496
8497         * lyxfunc.C:
8498         * text3.C:
8499         * factory.C: make it aware of InsetEnv
8500
8501 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8502
8503         * text2.C (setCursor): never ask for one past last
8504         (setCursor): add some debugging messages.
8505
8506         * text.C (singleWidth): never ask for one past last
8507         (singleWidth): ditto
8508         (leftMargin): ditto
8509         (rightMargin): ditto
8510         (rowBreakPoint): ditto
8511         (setHeightOfRow): ditto
8512         (prepareToPrint): ditto
8513
8514         * rowpainter.C (paintBackground): never ask for one past last
8515         (paintText): never ask for one past last
8516
8517         * paragraph_pimpl.C (getChar): make the assert stricter, never
8518         allow the one past last pos to be taken
8519
8520         * paragraph.C (getChar): ws changes only
8521
8522         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8523         (numberOfSeparators): ditto
8524         (numberOfHfills): ditto
8525
8526 2003-03-12  John Levon  <levon@movementarian.org>
8527
8528         * author.h:
8529         * author.C:
8530         * bufferparams.h:
8531         * bufferparams.C:
8532         * paragraph_funcs.C: fix per-buffer authorlists
8533
8534 2003-03-12  John Levon  <levon@movementarian.org>
8535
8536         * text.C: fix newline in right address
8537
8538 2003-03-12  Angus Leeming  <leeming@lyx.org>
8539
8540         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8541         duplicate those in LyXFunc::dispatch.
8542
8543         * commandtags.h:
8544         * LyXAction.C:
8545         * ToolbarDefaults.C:
8546         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8547         Add LFUN_FONTFREE_UPDATE.
8548
8549         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8550         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8551
8552         * bufferview_func.[Ch]: several new functions to facilliate
8553         transfer of data to and from the character dialog.
8554
8555 2003-03-12  John Levon  <levon@movementarian.org>
8556
8557         * buffer.C:
8558         * paragraph.h:
8559         * paragraph.C:
8560         * paragraph_funcs.C:
8561         * paragraph_pimpl.C:
8562         * sgml.C:
8563         * tabular.C:
8564         * text.C:
8565         * text3.C: remove META_NEWLINE in favour of an inset
8566
8567         * rowpainter.h:
8568         * rowpainter.C: remove paintNewline (done by inset)
8569
8570 2003-03-12  John Levon  <levon@movementarian.org>
8571
8572         * paragraph_pimpl.C: complain about bad getChar()s
8573         for a while at least
8574
8575 2003-03-12  John Levon  <levon@movementarian.org>
8576
8577         * buffer.h:
8578         * buffer.C: move paragraph read into a separate function,
8579         a little renaming to reflect that.
8580
8581         * bufferparams.h:
8582         * bufferparams.C: remove the author_ids map, not necessary now
8583
8584         * factory.h:
8585         * factory.C: moved Buffer::readInset to here
8586
8587         * paragraph_funcs.h:
8588         * paragraph_funcs.C: readParagraph free function moved from
8589         buffer.C
8590
8591         * tabular.C: name change
8592
8593 2003-03-12  John Levon  <levon@movementarian.org>
8594
8595         * buffer.C:
8596         * ParagraphParameters.C: move par params input to
8597         a read() method
8598
8599         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8600         behave like a normal read from the stream wrt reading
8601         a line vs. a \\token
8602
8603 2003-03-12  John Levon  <levon@movementarian.org>
8604
8605         * paragraph.C:
8606         * ParagraphParameters.h:
8607         * ParagraphParameters.C: move output code to a
8608         ::write() method
8609
8610 2003-03-12  John Levon  <levon@movementarian.org>
8611
8612         * BufferView.C (insertLyXFile):
8613         * buffer.h:
8614         * buffer.C:
8615         * tabular.C: use a parlist iterator for creating the
8616           document.
8617
8618 2003-03-12  John Levon  <levon@movementarian.org>
8619
8620         * buffer.C: make current_change static local not
8621           static file-scope
8622
8623 2003-03-12  John Levon  <levon@movementarian.org>
8624
8625         * buffer.C: fix insertStringAsLines for change tracking
8626
8627 2003-03-12  John Levon  <levon@movementarian.org>
8628
8629         * BufferView.C:
8630         * tabular.C:
8631         * buffer.h:
8632         * buffer.C:
8633         * bufferparams.h:
8634         * bufferparams.C: move author list into params. Rename some
8635           functions. Move the header reading into a separate token
8636           loop. Move the header token reading into BufferParams.
8637
8638 2003-03-12  John Levon  <levon@movementarian.org>
8639
8640         * changes.C: put debug inside lyxerr.debugging() checks
8641
8642 2003-03-11 André Pönitz <poenitz@gmx.net>
8643
8644         * factory.C: make it aware of InsetHFill
8645
8646 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8647
8648         * buffer.C (latexParagraphs): move function from here...
8649         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8650         args.
8651
8652 2003-03-10  Angus Leeming  <leeming@lyx.org>
8653
8654         * LyXAction.C (init): fix bug in poplating array with multiple entries
8655         with the same LFUN (spotted by JMarc).
8656
8657 2003-03-10  John Levon  <levon@movementarian.org>
8658
8659         * text.C:
8660         * text2.C: move getColumnNearX() near its
8661         only call site
8662
8663 2003-03-10  John Levon  <levon@movementarian.org>
8664
8665         * text.C: fix break before a minipage
8666
8667 2003-03-10  John Levon  <levon@movementarian.org>
8668
8669         * text.C: fix the last commit
8670
8671 2003-03-09  John Levon  <levon@movementarian.org>
8672
8673         * lyxtext.h:
8674         * text.C:
8675         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8676         bug 365 (don't break before insets unless needed). Don't
8677         return a value > last under any circumstances.
8678
8679 2003-03-09  Angus Leeming  <leeming@lyx.org>
8680
8681         * BufferView_pimpl.C (trackChanges, dispatch): call
8682         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8683
8684 2003-03-09  Angus Leeming  <leeming@lyx.org>
8685
8686         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8687         than Dialogs::showAboutlyx().
8688
8689 2003-03-09  Angus Leeming  <leeming@lyx.org>
8690
8691         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8692         than Dialogs::showTabularCreate().
8693
8694 2003-03-09  John Levon  <levon@movementarian.org>
8695
8696         * lyxtext.h:
8697         * text.C:
8698         * text2.C: 3rd arg to nextBreakPoint was always the same.
8699           Use references.
8700
8701 2003-03-08  John Levon  <levon@movementarian.org>
8702
8703         * lyxrow.C:
8704         * paragraph.C:
8705         * paragraph.h:
8706         * rowpainter.C:
8707         * text.C:
8708         * text2.C: Remove the "main" bit from the "main body"
8709           notion.
8710
8711 2003-03-08  John Levon  <levon@movementarian.org>
8712
8713         * text.C (leftMargin): The left margin of an empty
8714         manual label paragraph should not include the label width
8715         string length.
8716
8717         * text.C (prepareToPrint): don't attempt to measure hfills
8718         for empty manual label paragraphs - the answer should be 0
8719
8720 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8721
8722         * CutAndPaste.C: remove commented code and reindent.
8723
8724 2003-03-08  John Levon  <levon@movementarian.org>
8725
8726         * lyxfunc.h:
8727         * lyxfunc.C: move reloadBuffer()
8728
8729         * BufferView.h:
8730         * BufferView.C: to here
8731
8732         * lyxvc.C: add comment
8733
8734         * vc-backend.h:
8735         * vc-backend.C: call bv->reload() to avoid
8736           getStatus() check on MENURELOAD
8737
8738 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8739
8740         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8741         to an old format .dep file.
8742
8743 2003-03-07  Angus Leeming  <leeming@lyx.org>
8744
8745         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8746         when the LFUN_MOUSE_RELEASE should have been handled by
8747         inset->localDispatch.
8748
8749 2003-03-07  Angus Leeming  <leeming@lyx.org>
8750
8751         * BufferView_pimpl.C (dispatch):
8752         * LyXAction.C (init):
8753         * ToolbarDefaults.C (init):
8754         * commandtags.h:
8755         * lyxfunc.C (getStatus):
8756         remove LFUN_INSET_GRAPHICS.
8757
8758         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8759
8760 2003-03-07  Angus Leeming  <leeming@lyx.org>
8761
8762         * commandtags.h:
8763         * LyXAction.C (init):
8764         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8765
8766         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8767
8768         * commandtags.h:
8769         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8770
8771         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8772         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8773
8774 2003-03-07  Angus Leeming  <leeming@lyx.org>
8775
8776         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8777         remove "ert".
8778
8779 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8780
8781         * ParagraphList.C (front): new function
8782         (back): implement
8783
8784 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8785
8786         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8787         and top_row_offset_. removed var first_y.
8788         * text.C (top_y):
8789         * text2.C (LyXText, removeRow):
8790         * text3.C:
8791         * BufferView_pimpl.C:
8792         use these methods instead of using first_y
8793
8794 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8795
8796         * text2.C (pasteSelection): adjust for checkPastePossible
8797
8798         * CutAndPaste.C: remove Paragraph * buf and replace with
8799         ParagraphList paragraphs.
8800         (DeleteBuffer): delete
8801         (cutSelection): change the tc type to textclass_type
8802         (copySelection): change the tc type to textclass_type
8803         (copySelection): adjust for ParagraphList
8804         (pasteSelection): change the tc type to textclass_type
8805         (pasteSelection): adjust for Paragraphlist
8806         (nrOfParagraphs): simplify for ParagraphList
8807         (checkPastePossible): simplify for ParagraphList
8808         (checkPastePossible): remove unused arg
8809
8810         * ParagraphList.C (insert): handle the case where there are no
8811         paragraphs yet.
8812
8813         * CutAndPaste.h: make CutAndPaste a namespace.
8814
8815         * text3.C (dispatch): adjust
8816
8817         * text.C (breakParagraph): add a ParagraphList as arg
8818
8819         * paragraph_funcs.C (breakParagraph): change to take a
8820         BufferParams and a ParagraphList as args.
8821         (breakParagraphConservative): ditto
8822         (mergeParagraph): ditto
8823         (TeXDeeper): add a ParagraphList arg
8824         (TeXEnvironment): ditto
8825         (TeXOnePar): ditto
8826
8827         * buffer.C (readLyXformat2): adjust
8828         (insertStringAsLines): adjust
8829         (latexParagraphs): adjust
8830
8831         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8832         (cutSelection): adjust
8833         (pasteSelection): adjust
8834
8835         * BufferView_pimpl.C (insertInset): adjust
8836
8837 2003-03-05  Angus Leeming  <leeming@lyx.org>
8838
8839         * commandtags.h:
8840         * LyXAction.C (init):
8841         * BufferView_pimpl.C (dispatch):
8842         * lyxfunc.C (getStatus):
8843         remove LFUN_CHILD_INSERT.
8844
8845         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8846
8847 2003-03-05  Angus Leeming  <leeming@lyx.org>
8848
8849         * commandtags.h:
8850         * LyXAction.C (init):
8851         * src/factory.C (createInset):
8852         * lyxfunc.C (getStatus):
8853         * text3.C (dispatch):
8854         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8855
8856         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8857
8858 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8859
8860         * ParagraphList.C (insert): handle insert right before end()
8861         (erase): fix cases where it can be first or last paragraph.
8862
8863 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8864
8865         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8866         Paragraph::next and Paragraph::previous
8867         (TeXOnePar): ditto
8868
8869         * text.C (breakParagraph): adjust
8870
8871         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8872         BufferParams& as arg.
8873         (breakParagraph): use ParagraphList::insert
8874         (breakParagraphConservative): take a Buffer* instead of a
8875         BufferParams& as arg.
8876         (breakParagraphConservative): use ParagraphList::insert.
8877
8878         * buffer.C (insertStringAsLines): un-const it
8879         (insertStringAsLines): adjust
8880
8881         * ParagraphList.C (insert): new function
8882
8883         * CutAndPaste.C (pasteSelection): adjust
8884
8885         * text.C (backspace): adjust
8886
8887         * tabular.C (SetMultiColumn): adjust
8888
8889         * CutAndPaste.C (cutSelection): adjust
8890         (pasteSelection): adjust
8891
8892         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8893         Buffer const * as arg
8894
8895         * ParagraphList.C (erase): new function
8896         * paragraph_funcs.C (mergeParagraph): use it
8897         (mergeParagraph): make it take a Buffer* instead of a
8898         BufferParams* as arg
8899
8900         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8901         as arg
8902         (breakParagraphConservative): ditto
8903
8904         * paragraph.h: remove the breakParagraph friend
8905
8906         * paragraph.C (eraseIntern): new function
8907         (setChange): new function
8908
8909         * paragraph_funcs.C (mergeParagraph): make it take a
8910         ParagraphList::iterator instead of a Paragraph *, adjust
8911         accordingly.
8912
8913         * paragraph.h: move an #endif so that the change tracking stuff
8914         also works in the NO_NEXT case.
8915
8916 2003-03-04  Angus Leeming  <leeming@lyx.org>
8917
8918         * commandtags.h:
8919         * LyXAction.C: new LFUN_INSET_MODIFY.
8920
8921         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8922         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8923
8924 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8925
8926         * several files: ws changes only
8927
8928         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8929         (TeXEnvironment): ditto
8930         (TeXDeeper): ditto
8931
8932         * buffer.C (makeLaTeXFile): adjust
8933         (latexParagraphs): make it take ParagraphList::iterator as args
8934
8935 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8936
8937         * buffer.C (latexParagraphs): adjust
8938
8939         * paragraph.C (TeXOnePar): move function...
8940         (optArgInset): move function...
8941         (TeXEnvironment): move function...
8942         * paragraph_pimpl.C (TeXDeeper): move function...
8943         * paragraph_funcs.C: ...here
8944
8945         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8946
8947 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8948
8949         * buffer.C (readInset): remove compability code for old Figure and
8950         InsetInfo insets
8951
8952 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8953
8954         * buffer.C: ws changes
8955         (readInset):
8956
8957         * BufferView_pimpl.C: ditto
8958         * author.C: ditto
8959         * buffer.h: ditto
8960         * bufferlist.h: ditto
8961         * changes.h: ditto
8962         * lyxfunc.C: ditto
8963
8964 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8965
8966         * converter.[Ch]: split into itself +
8967         * graph.[Ch]
8968         * format.[Ch]
8969         * Makefile.am: += graph.[Ch] + format.[Ch]
8970         * MenuBackend.C
8971         * buffer.C
8972         * exporter.C
8973         * importer.C
8974         * lyx_main.C
8975         * lyxfunc.C
8976         * lyxrc.C: added #include "format.h"
8977
8978 2003-02-27  Angus Leeming  <leeming@lyx.org>
8979
8980         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8981           a label.
8982
8983         * factory.C (createInset): add "label" to the factory.
8984
8985         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8986           string and do no more.
8987
8988 2003-02-27  Angus Leeming  <leeming@lyx.org>
8989
8990         * commandtags.h:
8991         * LyXAction.C (init):
8992         * factory.C (createInset):
8993         * BufferView_pimpl.C (dispatch):
8994           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8995
8996         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8997
8998         * lyxfunc.C (dispatch):
8999         * text3.C (dispatch): pass name to params2string.
9000
9001 2003-02-26  Angus Leeming  <leeming@lyx.org>
9002
9003         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9004           blocks together.
9005           Rearrange the ~includes. Strip out the unnecessary ones.
9006
9007         * factory.C (createInset): reformat.
9008           create new insets for the various LFUN_XYZ_APPLY lfuns.
9009
9010 2003-02-26  John Levon  <levon@movementarian.org>
9011
9012         * lyxrow.h:
9013         * lyxrow.C: add isParStart,isParEnd helpers
9014
9015         * paragraph.h: make isInserted/DeletedText take refs
9016
9017         * paragraph_funcs.h:
9018         * paragraph_funcs.C: remove #if 0'd code
9019
9020         * lyxtext.h:
9021         * text3.C:
9022         * text2.C:
9023         * text.C: use lyxrow helpers above.
9024           Move draw and paint routines to RowPainter.
9025           Make several methods use refs not pointers.
9026           Make backgroundColor() const.
9027           Add markChangeInDraw(), isInInset().
9028           Merge changeRegionCase into changeCase.
9029           Make workWidth() shouldn't-happen code into an Assert.
9030
9031         * rowpainter.h:
9032         * rowpainter.C: new class for painting a row.
9033
9034         * vspace.h:
9035         * vspace.C: make inPixels take a ref
9036
9037 2003-02-26  Angus Leeming  <leeming@lyx.org>
9038
9039         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9040         LFUN_REF_APPLY.
9041
9042 2003-02-25  John Levon  <levon@movementarian.org>
9043
9044         * ispell.C: give the forked command a more accurate name
9045
9046 2003-02-22  John Levon  <levon@movementarian.org>
9047
9048         * toc.h:
9049         * toc.C: make TocItem store an id not a Paragraph *
9050           (bug #913)
9051
9052 2003-02-21  Angus Leeming  <leeming@lyx.org>
9053
9054         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9055           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9056           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9057           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9058           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9059           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9060
9061         * BufferView_pimpl.C (dispatch):
9062         * LyXAction.C (init):
9063         * factory.C (createInset):
9064         * lyxfunc.C (getStatus, dispatch):
9065         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9066
9067 2003-02-21  Angus Leeming  <leeming@lyx.org>
9068
9069         * BufferView_pimpl.C (MenuInsertLyXFile):
9070         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9071         * lyxfunc.C (menuNew, open, doImport):
9072           no longer pass a LyXView & to fileDlg.
9073
9074 2003-02-21  Angus Leeming  <leeming@lyx.org>
9075
9076         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9077         * LyXAction.C: change, BIBKEY to BIBITEM.
9078         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9079         Change InsetBibKey to InsetBibitem.
9080         Change BIBKEY_CODE to BIBITEM_CODE.
9081         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9082         * factory.C: replace insetbib.h with insetbibitem.h.
9083         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9084         * paragraph.C: replace insetbib.h with insetbibitem.h.
9085         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9086         Change bibkey() to bibitem().
9087         * text.C: remove insetbib.h.
9088         * text2.C: replace insetbib.h with insetbibitem.h.
9089         change bibkey() to bibitem().
9090         * text3.C: remove insetbib.h.
9091         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9092
9093 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9094
9095         * lyxrc.C (output): enclose user email in quotes (in case there are
9096         several words)
9097
9098 2003-02-18  John Levon  <levon@movementarian.org>
9099
9100         * buffer.h: add std::
9101
9102 2003-02-17  John Levon  <levon@movementarian.org>
9103
9104         * SpellBase.h:
9105         * ispell.h:
9106         * ispell.C:
9107         * pspell.h:
9108         * pspell.C: reworking. Especially in ispell, a large
9109           number of clean ups and bug fixes.
9110
9111         * lyxfunc.C: fix revert to behave sensibly
9112
9113 2003-02-17 André Pönitz <poenitz@gmx.net>
9114
9115         * LyXAction.C:
9116         * commandtags.h: new LFUN_INSERT_BIBKEY
9117
9118         * layout.h:
9119         * lyxlayout.C:
9120         * buffer.C:
9121         * factory.C:
9122         * text.C:
9123         * text2.C:
9124         * text3.C:
9125         * paragraph.[Ch]:
9126         * paragraph_func.C: remove special bibkey handling
9127
9128 2003-02-17  John Levon  <levon@movementarian.org>
9129
9130         * text.C (Delete): fix case where delete at the end of
9131           the very first paragraph would not merge the pars
9132
9133 2003-02-17  John Levon  <levon@movementarian.org>
9134
9135         * lyxrow.C: fix lastPrintablePos()
9136
9137 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9138
9139         * bufferparams.C (writeLaTeX): add a std:here
9140
9141         * buffer.C: and remove a using directive there
9142
9143 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9144
9145         * buffer.C (makeLaTeXFile): move the code that generates the
9146           preamble...
9147
9148         * bufferparams.C (writeLaTeX): ... in this new method
9149
9150         * LaTeXFeatures.C (getEncodingSet): make const
9151           (getLanguages): make const
9152
9153         * MenuBackend.C (binding): returns the binding associated to this
9154           action
9155           (add): sets the status of each item by calling getStatus. Adds
9156           some intelligence.
9157           (read): add support for OptSubMenu
9158           (expand): remove extra separator at the end of expanded menu
9159
9160 2003-02-15  John Levon  <levon@movementarian.org>
9161
9162         * BufferView.C:
9163         * BufferView_pimpl.C:
9164         * bufferlist.h:
9165         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9166           inset code that had no actual effect. Remove unneeded status
9167           code.
9168
9169 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9170
9171         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9172           in preamble
9173
9174 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9175
9176         * text.C (drawLengthMarker): also draw an arrow marker for
9177           symbolic lengths (medskip...)
9178
9179 2003-02-14  John Levon  <levon@movementarian.org>
9180
9181         * tabular.h:
9182         * tabular.C: better method names
9183
9184 2003-02-14  John Levon  <levon@movementarian.org>
9185
9186         * BufferView_pimpl.C:
9187         * bufferlist.C:
9188         * buffer.C:
9189         * converter.C:
9190         * lyx_cb.C:
9191         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9192           it's a more accurate name. Remove some pointless uses.
9193
9194 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9195
9196         * text2.C (LyXText): change order of initilizers to shut off
9197           warnings
9198
9199 2003-02-14  John Levon  <levon@movementarian.org>
9200
9201         * buffer.C: use ParIterator for getParFromID()
9202
9203         * paragraph.h:
9204         * paragraph.C:
9205         * paragraph_pimpl.h:
9206         * paragraph_pimpl.C: remove unused getParFromID()
9207
9208 2003-02-14  John Levon  <levon@movementarian.org>
9209
9210         * buffer.C: remove some very old #if 0'd parse code
9211
9212 2003-02-13  John Levon  <levon@movementarian.org>
9213
9214         * text.h:
9215         * text.C:
9216         * text2.C: move hfillExpansion(), numberOfSeparators(),
9217           rowLast(), rowLastPrintable(), numberofHfills(),
9218           numberOfLabelHfills() ...
9219
9220         * lyxrow.h:
9221         * lyxrow.C: ... to member functions here.
9222
9223         * paragraph.h:
9224         * paragraph.C:
9225         * lyxtext.h:
9226         * text.C: remove LyXText::beginningOfMainBody(), and call
9227           p->beginningOfMainBody() directly. Move the check for
9228           LABEL_MANUAL into the latter.
9229
9230         * text.h:
9231         * text.C:
9232         * text2.C:
9233         * vspace.C:
9234         * BufferView.h:
9235         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9236
9237         * text.h:
9238         * text.C:
9239         * text2.C:
9240         * text3.C:
9241         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9242           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9243
9244 2003-02-13  John Levon  <levon@movementarian.org>
9245
9246         * CutAndPaste.C: remove debug
9247
9248 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9249
9250         * paragraph.C (asString): remove two unused variables
9251
9252         * lyxtextclass.C (readTitleType):
9253           (Read):
9254           (LyXTextClass): handle new members titletype_ and titlename_
9255
9256         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9257
9258 2003-02-09  John Levon  <levon@movementarian.org>
9259
9260         * buffer.h:
9261         * buffer.C: replace hand-coded list with a map for the dep clean
9262
9263 2003-02-08  John Levon  <levon@movementarian.org>
9264
9265         * LaTeX.C: consolidate code into showRunMessage() helper
9266
9267 2003-02-08  John Levon  <levon@movementarian.org>
9268
9269         * lyxfind.C:
9270         * lyxtext.h:
9271         * text2.C:
9272         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9273           and pass the size in explicitly
9274
9275         * BufferView_pimpl.h:
9276         * BufferView_pimpl.C:
9277         * BufferView.h:
9278         * BufferView.C: add getCurrentChange()
9279
9280         * BufferView_pimpl.h:
9281         * BufferView_pimpl.C: handle change lfuns
9282
9283         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9284           for changes. Mark pasted paragraphs as new.
9285
9286         * support/lyxtime.h:
9287         * support/lyxtime.C:
9288         * DepTable.C: abstract time_t as lyx::time_type
9289
9290         * LColor.h:
9291         * LColor.C: add colours for new text, deleted text, changebars
9292
9293         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9294           package use "usenames" option.
9295
9296         * commandtags.h:
9297         * lyxfunc.C:
9298         * LyXAction.C: add change lfuns
9299
9300         * Makefile.am:
9301         * author.h:
9302         * author.C: author handling
9303
9304         * buffer.h:
9305         * buffer.C: add a per-buffer author list, with first entry as
9306           current author. Handle new .lyx tokens for change tracking. Output
9307           author list to .lyx file. Output dvipost stuff to .tex preamble.
9308           Bump lyx format to 222.
9309
9310         * bufferlist.h:
9311         * bufferlist.C: add setCurrentAuthor() to reset current author details
9312           in all buffers.
9313
9314         * bufferparams.h:
9315         * bufferparams.C: add param for tracking
9316
9317         * bufferview_funcs.C: output change info in minibuffer
9318
9319         * Makefile.am:
9320         * changes.h:
9321         * changes.C: add change-tracking structure
9322
9323         * debug.h:
9324         * debug.C: add CHANGES debug flag
9325
9326         * lyxfind.h:
9327         * lyxfind.C: add code for finding the next change piece
9328
9329         * lyxrc.h:
9330         * lyxrc.C: add user_name and user_email
9331
9332         * lyxrow.h:
9333         * lyxrow.C: add a metric for the top of the text line
9334
9335         * lyxtext.h:
9336         * text.C: implement accept/rejectChange()
9337
9338         * lyxtext.h:
9339         * text.C: paint changebars. Paint new/deleted text in the chosen
9340         colours. Strike through deleted text.
9341
9342         * paragraph.h:
9343         * paragraph.C:
9344         * paragraph_pimpl.h:
9345         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9346           in the current change to the insert functions. Rework erase to
9347           mark text as deleted, adding an eraseIntern() and a range-based
9348           erase(). Implement per-paragraph change lookup and
9349           accept/reject.
9350
9351         * paragraph_funcs.C: Fixup paste for change tracking.
9352
9353         * tabular.C: mark added row/columns as new.
9354
9355         * text.C: fix rowLast() to never return -1. Don't allow
9356           spellchecking of deleted text. Track transpose changes. Don't
9357           allow paragraph break or merge where appropriate.
9358
9359         * text2.C: leave cursor at end of selection after a cut.
9360
9361 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9362
9363         * text.C (getLengthMarkerHeight):
9364         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9365         visible on screen too.
9366
9367 2003-02-07  John Levon  <levon@movementarian.org>
9368
9369         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9370
9371 2003-02-05  Angus Leeming  <leeming@lyx.org>
9372
9373         * lyxserver.C (read_ready): revert my patch of 11 September last year
9374         as it sends PC cpu through the roof. Presumably this means that
9375         the lyxserver will no longer run on an Alpha...
9376
9377 2003-01-30  Angus Leeming  <leeming@lyx.org>
9378
9379         * factory.C (createInset): create an InsetCommandParam of type "index"
9380         and use it to 'do the right thing'.
9381
9382         * text2.C (getStringToIndex): ensure that cursor position is always
9383         reset to the reset_cursor position.
9384
9385 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9386
9387         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9388         disabled.
9389
9390 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9391
9392         * bufferview.C:
9393         * lyxcb.C:
9394         * lyxfunc.C: Output messages with identical spelling, punctuation,
9395         and spaces
9396
9397 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9398
9399         * MenuBackend.C (expandFormats): List only viewable export formats
9400         in "View" menu
9401
9402         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9403         message
9404
9405         * lyxfunc.C (getStatus): Make sure that formats other than
9406         "fax" can also be disabled
9407
9408 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9409
9410         * text3.C (dispatch): put the lfuns that insert insets in 3
9411         groups, and call doInsertInset with appropriate arguments.
9412         (doInsertInset): new function, that creates an inset and inserts
9413         it according to some boolean parameters.
9414
9415 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9416
9417         * buffer.C (readFile): remember to pass on 'par' when calling
9418         readFile recursively.
9419
9420 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9421
9422         * MenuBackend.C (expandFormats): add "..." to import formats.
9423
9424 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9425
9426         * paragraph.C (asString): Remove XForms RTL hacks.
9427
9428 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9429         * buffer.C: fix typo
9430
9431 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9432
9433         * Makefile.am (LIBS): delete var
9434         (lyx_LDADD): add @LIBS@ here instead.
9435
9436 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9437
9438         * Clarify the meaning of "wheel mouse jump"
9439
9440 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9441
9442         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9443         tabular in a float
9444
9445 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9446
9447         * importer.C (Loaders): do not preallocate 3 elements in the
9448         vector, since one ends up with 6 elements otherwise
9449
9450 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9451
9452         * DepTable.C (write): write the file name as last element of the
9453         .dep file (because it may contain spaces)
9454         (read): read info in the right order
9455
9456 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9457
9458         * paragraph_pimpl.C (simpleTeXBlanks):
9459         (simpleTeXSpecialChars):
9460         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9461
9462         * tabular.C (latex): add some missing case statements. Reindent.
9463
9464         * MenuBackend.C (expandToc): remove unused variable.
9465
9466 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9467
9468         * LColor.C:
9469         * LaTeX.C:
9470         * LyXAction.C:
9471         * MenuBackend.C:
9472         * buffer.C:
9473         * exporter.C:
9474         * lyxfunc.C:
9475         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9476         and the like.
9477
9478 2003-01-05  John Levon  <levon@movementarian.org>
9479
9480         * BufferView.h:
9481         * BufferView.C: add getEncoding()
9482
9483         * kbsequence.h:
9484         * kbsequence.C: do not store last keypress
9485
9486         * lyxfunc.h:
9487         * lyxfunc.C: store last keypress here instead. Pass encoding
9488           to getISOEncoded()
9489
9490 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9491
9492         * lyx_main.C (init): remove annoying error message when following
9493         symbolic links (bug #780)
9494
9495 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9496
9497         * text.C (insertChar):
9498         * lyxrc.C (getDescription): remove extra spaces
9499
9500 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9501
9502         * lyxrc.C (getDescription): remove extra spaces
9503
9504 2002-12-20  John Levon  <levon@movementarian.org>
9505
9506         * text3.C: hack fix for page up/down across tall rows
9507
9508 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9509
9510         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9511         not been invoked
9512
9513 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9514
9515         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9516         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9517         thesaurus is not compiled in
9518
9519 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9520
9521         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9522
9523 2002-12-16  Angus Leeming  <leeming@lyx.org>
9524
9525         * lyxrc.[Ch]:
9526         * lyx_main.C (init): remove override_x_deadkeys stuff.
9527
9528 2002-12-12  John Levon  <levon@movementarian.org>
9529
9530         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9531           insert. Only remove shift modifier under strict
9532           circumstances.
9533
9534 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9535
9536         * MenuBackend.C (expandToc): fix crash.
9537
9538 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9539
9540         * MenuBackend.C (expandToc): gettext on float names.
9541
9542 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9543
9544         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9545         implement bool empty() [bug 490]
9546
9547 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9548
9549         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9550
9551 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9552
9553         * several files: ws changes
9554
9555 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9556
9557         * text2.C (setCounter): clean up a bit, use boost.format.
9558         (updateCounters): initialize par upon declaration.
9559
9560         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9561         if the layout exists. We do not just store the layout any more.
9562         (SwitchLayoutsBetweenClasses): use boost.format
9563
9564 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9565
9566         * converter.C (convert): if from and to files are the same, use a
9567         temporary files as intermediary
9568
9569 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9570
9571         * commandtags.h:
9572         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9573
9574 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9575
9576         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9577
9578 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9579
9580         * tabular.C (asciiPrintCell): use string(size, char) instead of
9581         explicit loop.
9582
9583         * sgml.C (openTag): fix order of arguments to string constructor
9584         (closeTag): ditto
9585
9586         * lyxfunc.C (dispatch): use boost.format
9587
9588         * lots of files: change "c" -> 'c'
9589
9590 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9591
9592         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9593
9594 2002-11-25  Angus Leeming  <leeming@lyx.org>
9595
9596         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9597
9598         * lyx_main.C (init): compile fix.
9599
9600 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9601
9602         * lyx_cb.C (start): boost.formatify
9603         do not include <iostream>
9604
9605         * lengthcommon.C: ws only
9606
9607         * boost-inst.C,BoostFormat.h: add more explict instantations
9608
9609 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9610
9611         * lots of files: handle USE_BOOST_FORMAT
9612
9613 2002-11-21  John Levon  <levon@movementarian.org>
9614
9615         * pspell.C: fix compile
9616
9617 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9618
9619         * lyxfunc.C (dispatch): use boost::format
9620         (open): ditto
9621         (doImport): ditto
9622
9623         * lyxfont.C (stateText): use boost::format
9624
9625         * lyx_main.C (LyX): use boost::format
9626         (init): ditto
9627         (queryUserLyXDir): ditto
9628         (readRcFile): ditto
9629         (parse_dbg): ditto
9630         (typedef boost::function): use the recommened syntax.
9631
9632         * importer.C (Import): use boost::format
9633
9634         * debug.C (showLevel): use boost::format
9635
9636         * converter.C (view): use boost::format
9637         (convert): ditto
9638         (move): ditto
9639         (scanLog): ditto
9640
9641         * bufferview_funcs.C (currentState): use boost::format
9642
9643         * bufferlist.C (emergencyWrite): use boost::format
9644
9645         * buffer.C (readLyXformat2): use boost::format
9646         (parseSingleLyXformat2Token): ditto
9647
9648         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9649
9650         * LaTeX.C (run): use boost::format
9651
9652         * Chktex.C (scanLogFile): use boost::format
9653
9654         * BufferView_pimpl.C (savePosition): use boost::format
9655         (restorePosition): ditto
9656         (MenuInsertLyXFile): ditto
9657
9658         * BoostFormat.h: help file for explicit instation.
9659
9660 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9661
9662         * tabular.C (latex): Support for block alignment in fixed width
9663         columns.
9664
9665 2002-11-17  John Levon  <levon@movementarian.org>
9666
9667         * BufferView_pimpl.C:
9668         * lyx_cb.C:
9669         * lyxfunc.C: split filedialog into open/save
9670
9671 2002-11-08  Juergen Vigna  <jug@sad.it>
9672
9673         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9674         by my last patch (hopefully).
9675
9676 2002-11-08  John Levon  <levon@movementarian.org>
9677
9678         * iterators.h:
9679         * iterators.C:
9680         * buffer.h:
9681         * buffer.C:
9682         * paragraph.h:
9683         * paragraph.C:
9684         * toc.h:
9685         * toc.C: ParConstIterator, and use it (from Lars)
9686
9687 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9688
9689         * lyxtextclass.[Ch]: revise and add doxygen comments
9690
9691 2002-11-07  John Levon  <levon@movementarian.org>
9692
9693         * text.C: fix progress value for spellchecker
9694
9695         * toc.C: fix navigate menu for insetwrap inside minipage
9696
9697         * paragraph_funcs.C: added FIXME for suspect code
9698
9699 2002-11-07  John Levon  <levon@movementarian.org>
9700
9701         * BufferView_pimpl.C: fix redrawing of insets
9702           on buffer switch
9703
9704 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9705
9706         * text2.C (updateCounters): fix bug 668
9707
9708 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9709
9710         * text3.C (dispatch): Do not make the buffer dirty when moving the
9711         cursor.
9712
9713 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9714
9715         * vc-backend.C: STRCONV
9716         (scanMaster): ditto
9717
9718         * text2.C (setCounter): STRCONV
9719
9720         * paragraph.C (asString): STRCONV
9721
9722         * lyxlength.C (asString): STRCONV
9723         (asLatexString): ditto
9724
9725         * lyxgluelength.C (asString): STRCONV
9726         (asLatexString): ditto
9727
9728         * lyxfunc.C (dispatch): STRCONV
9729         (open): ditto
9730
9731         * lyxfont.C (stateText): STRCONV
9732
9733         * importer.C (Import): STRCONV
9734
9735         * counters.C (labelItem): STRCONV
9736         (numberLabel): ditto
9737         (numberLabel): remove unused ostringstream o
9738
9739         * chset.C: STRCONV
9740         (loadFile): ditto
9741
9742         * bufferview_funcs.C (currentState): STRCONV
9743
9744         * buffer.C (readFile): STRCONV
9745         (asciiParagraph): ditto
9746         (makeLaTeXFile): ditto
9747
9748         * Spacing.C (writeEnvirBegin): STRCONV
9749
9750         * LaTeXFeatures.C (getLanguages): STRCONV
9751         (getPackages): ditto
9752         (getMacros): ditto
9753         (getBabelOptions): ditto
9754         (getTClassPreamble): ditto
9755         (getLyXSGMLEntities): ditto
9756         (getIncludedFiles): ditto
9757
9758         * LaTeX.C: STRCONV
9759         (run): ditto
9760         (scanAuxFile): ditto
9761         (deplog): ditto
9762
9763         * LString.h: add the STRCONV macros
9764
9765         * BufferView_pimpl.C (savePosition): STRCONV
9766         (restorePosition): ditto
9767         (MenuInsertLyXFile): ditto
9768
9769         * vc-backend.C (scanMaster): change from submatch[...] to
9770         submatch.str(...)
9771
9772         * funcrequest.C: include config.h
9773
9774         * factory.C: include config.h
9775
9776         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9777
9778         * box.C: include config.h
9779
9780         * LaTeX.C (scanAuxFile): change from submatch[...] to
9781         submatch.str(...)
9782         (deplog): ditto
9783
9784 2002-10-25  Angus Leeming  <leeming@lyx.org>
9785
9786         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9787
9788         * ispell.[Ch] (setError): new method.
9789         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9790         Use setError() insetead of goto END.
9791
9792         * lyx_cb.C (AutoSave): move out child process into new class
9793         AutoSaveBuffer.
9794
9795 2002-10-30  John Levon  <levon@movementarian.org>
9796
9797         * text3.C: make start appendix undoable
9798
9799 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9800
9801         * lyxlength.C (inPixels): Fix returned value.
9802
9803         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9804         environment.
9805
9806 2002-10-24  Angus Leeming  <leeming@lyx.org>
9807
9808         * lyxgluelength.h: no need to forward declare BufferParams
9809         or BufferView, so don't.
9810
9811 2002-10-21  John Levon  <levon@movementarian.org>
9812
9813         * BufferView.C: menuUndo ->undo, redo
9814
9815         * BufferView.h: document, remove dead, make some methods private
9816
9817         * paragraph_funcs.h:
9818         * paragraph_funcs.C:
9819         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9820
9821         * buffer.h:
9822         * buffer.C:
9823         * sgml.h:
9824         * sgml.C: move sgml open/close tag into sgml.C
9825
9826         * bufferview_funcs.h: unused prototype
9827
9828         * lyxfunc.h:
9829         * lyxfunc.C: remove unused
9830
9831         * lyxtext.h:
9832         * text.C: remove unused
9833
9834 2002-10-21  John Levon  <levon@movementarian.org>
9835
9836         * BufferView.h:
9837         * BufferView.C:
9838         * BufferView_pimpl.h:
9839         * BufferView_pimpl.C: fix mouse wheel handling based on
9840           patch from Darren Freeman
9841
9842 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9843
9844         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9845
9846 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9847
9848         * lyxlength.C (inPixels): Fix hanfling of negative length.
9849         Fix LyXLength::MU case.
9850
9851 2002-10-16  John Levon  <levon@movementarian.org>
9852
9853         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9854
9855 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9856
9857         * converter.C (view): add support for $$i (file name) and $$p
9858         (file path) for the viewer command. If $$i is not specified, then
9859         it is appended to the command (for compatibility with old syntax)
9860
9861 2002-10-14  Juergen Vigna  <jug@sad.it>
9862
9863         * undo_funcs.C (textHandleUndo): alter the order in which the
9864         new undopar is added to the LyXText, as we have to set first
9865         the right prev/next and then add it as otherwise the rebuild of
9866         LyXText is not correct. Also reset the cursor to the right paragraph,
9867         with this IMO we could remove the hack in "redoParagraphs()".
9868
9869 2002-10-09  Angus Leeming  <leeming@lyx.org>
9870
9871         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9872         to turn off an optimisation if a new inset is to be inserted.
9873
9874 2002-10-11 André Pönitz <poenitz@gmx.net>
9875
9876         * lyxtext.h: make some functions public to allow access
9877         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9878
9879 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9880
9881         * text3.C (dispatch): when changing layout, avoid an infinite loop
9882         [bug #652]
9883
9884 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9885
9886         * lyxrc.C (read): treat a viewer or converter command of "none" as
9887         if it were empty.
9888
9889         * MenuBackend.C (expandFormats): for an update, also allow the
9890         formats that are not viewable
9891
9892         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9893         script if it is newer than the lyxrc.defaults in user directory
9894
9895 2002-10-07 André Pönitz <poenitz@gmx.net>
9896
9897         * text.C: Vitaly Lipatov's small i18n fix
9898
9899 2002-09-25  Angus Leeming  <leeming@lyx.org>
9900
9901         * ispell.h: doxygen fix.
9902
9903 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9904
9905         * buffer.h (readFile): Add a new argument to the method, to allow
9906         reading of old-format templates.
9907
9908 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9909
9910         * toc.C (getTocList): Get TOC from InsetWrap.
9911
9912 2002-09-16  John Levon  <levon@movementarian.org>
9913
9914         * lyxfunc.C: check tabular for cut/copy too
9915
9916 2002-09-12  John Levon  <levon@movementarian.org>
9917
9918         * LyXAction.C: tidy
9919
9920         * factory.h:
9921         * factory.C: add header
9922
9923         * paragraph_funcs.h:
9924         * paragraph_funcs.C: cleanup
9925
9926 2002-09-11  John Levon  <levon@movementarian.org>
9927
9928         * PrinterParams.h: odd/even default to true
9929
9930 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9931
9932         * PrinterParams.h: update printer parameters for new xforms dialog
9933
9934 2002-09-11  Angus Leeming  <leeming@lyx.org>
9935
9936         * lyxserver.C (read_ready): re-write to make it more transparent
9937         and to make it work in coherent fashion under Tru64 Unix.
9938
9939 2002-09-11  André Pönitz <poenitz@gmx.net>
9940
9941         * commandtags.h:
9942         * LyXAction.C:
9943         * text3.C: implement LFUN_WORDSEL
9944
9945 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9946
9947         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9948         make floatlist_ a boost::shared_ptr<FloatList>
9949
9950         * lyxtextclass.C: include FloatList.h
9951         (LyXTextClass): initialize floatlist_
9952         (TextClassTags): add TC_NOFLOAT
9953         (Read): match "nofloat" to TC_NOFLOAT and use it.
9954         (readFloat): modify call to floatlist_
9955         (floats): ditto
9956         (floats): ditto
9957
9958         * FloatList.[Ch] (FloatList): remove commented out float
9959         initialization.
9960         (erase): new function
9961
9962 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9963
9964         * MenuBackend.C (expandToc): fix crash when there is no document
9965         open
9966
9967 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9968
9969         * many files: Add insetwrap.
9970
9971 2002-09-09  John Levon  <levon@movementarian.org>
9972
9973         * text2.C: remove confusing and awkward depth wraparound
9974
9975 2002-09-09  John Levon  <levon@movementarian.org>
9976
9977         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9978
9979         * buffer.h:
9980         * buffer.C: remove getIncludeonlyList()
9981
9982         * paragraph.C:
9983         * lyxfunc.C: remove headers
9984
9985 2002-09-09  Juergen Vigna  <jug@sad.it>
9986
9987         * text.C (getColumnNearX): fix form Michael this is most
9988         probably a cut&paste bug.
9989
9990 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9991
9992         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9993
9994         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9995         references, ws changes.
9996
9997         * text2.C (init): update counters after init
9998         (insertParagraph): no need to set counter on idividual paragraphs.
9999         (setCounter): access the counters object in the textclass object
10000         on in the buffer object.
10001         (updateCounters): ditto
10002
10003         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10004         shared_ptr<Counters> to avoid loading counters.h in all
10005         compilation units.
10006         (LyXTextClass): initialize ctrs_
10007         (TextClassTags): add TC_COUNTER, and ...
10008         (Read): use it here.
10009         (CounterTags): new tags
10010         (readCounter): new function
10011         (counters): new funtion
10012         (defaultLayoutName): return a const reference
10013
10014         * counters.C (Counters): remove contructor
10015         (newCounter): remove a couple of unneeded statements.
10016         (newCounter): simplify a bit.
10017         (numberLabel): some small formatting changes.
10018
10019         * buffer.[Ch]: remove all traces of counters, move the Counters
10020         object to the LyXTextClass.
10021
10022 2002-09-06  Alain Castera  <castera@in2p3.fr>
10023
10024         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10025         package to set the horizontal alignment on fixed width columns.
10026
10027         * lyx_sty.C:
10028         * lyx_sty.h: added tabularnewline macro def.
10029
10030         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10031
10032 2002-09-06  John Levon  <levon@movementarian.org>
10033
10034         * LyXAction.C: tooltips for sub/superscript
10035
10036         * MenuBackend.C: a bit more verbose
10037
10038         * lyxfunc.C: tiny clean
10039
10040         * undo_funcs.C: document undo_frozen
10041
10042 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10043
10044         * counters.C (Counters): add missing algorithm counter.
10045
10046         * text2.C (setCounter): lookup the counter with layouts latexname
10047         instead of by section number.
10048         (setCounter): use a hackish way to lookup the correct enum
10049         counter.
10050         a float name->type change
10051         reset enum couners with counter name directly instead of depth value.
10052
10053         * counters.C (Counters): remove the push_backs, change to use the
10054         float type not the float name.
10055         (labelItem): remove unused string, float name->type change
10056
10057         * counters.h: don't include vector, loose the enums and sects vectors
10058
10059 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10060
10061         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10062         (Read): add float->TC_FLOAT to textclassTags
10063         (Read): and handle it in the switch
10064         (readFloat): new function
10065
10066         * FloatList.C (FloatList): comment out the hardcoded float
10067         definitions.
10068
10069         * lyxlayout.h: ws change.
10070
10071 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10072
10073         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10074
10075 2002-09-03  Angus Leeming  <leeming@lyx.org>
10076
10077         * BufferView_pimpl.h: qualified name is not allowed in member
10078         declaration: WorkArea & Pimpl::workarea() const;
10079
10080         * factory.C: added using std::endl directive.
10081
10082         * text3.C: added using std::find and std::vector directives.
10083
10084 2002-08-29  André Pönitz <poenitz@gmx.net>
10085
10086         * lyxtext.h:
10087         * text2.C: remove unused member number_of_rows
10088
10089         * Makefile.am:
10090         * BufferView2.C: remove file, move contents to...
10091         * BufferView.C: ... here
10092
10093         * BufferView_pimpl.C:
10094         * factory.C: move more inset creation to factory
10095
10096         * vspace.C: avoid direct usage of LyXText, ws changes
10097
10098         * BufferView.[Ch]:
10099                 don't provide direct access to WorkArea, use two simple
10100                 acessors haveSelction() and workHeight() instead
10101
10102
10103 2002-08-29  John Levon  <levon@movementarian.org>
10104
10105         * BufferView_pimpl.C (dispatch): do not continue when
10106           no buffer
10107
10108 2002-08-28  André Pönitz <poenitz@gmx.net>
10109
10110         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10111
10112         * BufferView.h:
10113         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10114
10115 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10116
10117         * buffer.C: increment LYX_FORMAT to 221
10118
10119         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10120         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10121
10122         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10123
10124         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10125
10126 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10127
10128         * factory.C (createInset): use LyXTextClass::floats
10129
10130         * MenuBackend.C (expandFloatListInsert):
10131         (expandFloatInsert):
10132         (expandToc):
10133
10134         * text2.C (setCounter):
10135
10136         * LaTeXFeatures.C (useFloat):
10137         (getFloatDefinitions):
10138
10139         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10140
10141         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10142         floatlist_, with accessor floats().
10143
10144         * FloatList.h: remove global FloatList
10145
10146 2002-08-26  André Pönitz <poenitz@gmx.net>
10147
10148         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10149
10150         * BufferView.h:
10151         * BufferView2.C:
10152         * BufferView_pimpl.C:
10153         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10154
10155 2002-08-25  John Levon  <levon@movementarian.org>
10156
10157         * LyXAction.C: fix margin note description
10158
10159 2002-08-24  John Levon  <levon@movementarian.org>
10160
10161         * buffer.C:
10162         * bufferlist.C:
10163         * bufferview_funcs.C:
10164         * lyxfont.C:
10165         * undo_funcs.C: cleanups
10166
10167         * lyxfunc.C: disable CUT/COPY when no selection
10168
10169 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10170
10171         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10172         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10173
10174         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10175         Add backward compatibility to "mono", "gray" and "no".
10176
10177 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10178
10179         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10180         (and file_format >= 200).
10181
10182 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10183
10184         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10185
10186 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10187
10188         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10189
10190 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10191
10192         * BufferView_pimpl.C:
10193         * LyXAction.C:
10194         * buffer.C:
10195         * commandtags.h:
10196         * lyxfunc.C:
10197         * paragraph.[Ch]:
10198         * text2.C:
10199         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10200         inset and code to make it  work with the paragraph code. The inset
10201         can be anywhere in the paragraph, but will only do the expected
10202         thing in LaTeX if the layout file contains the parameter line
10203                         OptionalArgs    1
10204         (or more generally, a nonzero value) for that layout.
10205
10206 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10207
10208         * paragraph.h: remove the declaration of undefined counters class
10209         function.
10210
10211 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10212
10213         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10214         Dr. Richard Hawkins.
10215
10216 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10217
10218         * paragraph_funcs.h: remove some unneeded includes
10219
10220         * text.C (backspace): pasteParagraph now in global scipe
10221
10222         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10223         (pasteSelection): ditto
10224
10225         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10226         * paragraph_funcs.C (pasteParagraph): ... here
10227
10228 2002-08-20  André Pönitz <poenitz@gmx.net>
10229
10230         * commandtags.h: new LFUNs for swapping/copying table row/colums
10231
10232         * LyXAction.C:
10233         * lyxfunc.C: support for new lfuns
10234
10235 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10236
10237         * tabular.C:
10238         * buffer.[Ch]: remove NO_COMPABILITY stuff
10239
10240 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10241
10242         * boost.C (throw_exception): new file, with helper function for
10243         boost compiled without exceptions.
10244
10245         * paragraph.h:
10246         * lyxlength.C:
10247         * buffer.C:
10248         * ParameterStruct.h:
10249         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10250
10251         * bufferlist.C (emergencyWriteAll): use boost bind
10252
10253         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10254
10255         * text.C: include paragraph_funcs.h
10256         (breakParagraph): breakParagraph is now in global scope
10257
10258         * paragraph_funcs.[Ch]: new files
10259
10260         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10261         global scope
10262
10263         * buffer.C: include paragraph_funcs.h
10264         (insertStringAsLines): breakParagraph is now in global scope
10265
10266         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10267         paragraph_funcs.C
10268
10269         * CutAndPaste.C: include paragraph_funcs.h
10270         (cutSelection): breakParagraphConservative is now in global scope
10271         (pasteSelection): ditto
10272
10273         * buffer.h: declare oprator== and operator!= for
10274         Buffer::inset_iterator
10275
10276         * bufferlist.C (emergencyWrite): don't use fmt(...)
10277
10278         * text3.C: add using std::endl
10279
10280         * BufferView.C (moveCursorUpdate): remove default arg
10281
10282 2002-08-20  André Pönitz <poenitz@gmx.net>
10283
10284         * buffer.[Ch]: move inline functions to .C
10285
10286         * BufferView2.C:
10287         * BufferView_pimpl.C:
10288         * text.C:
10289         * buffer.[Ch]: use improved inset_iterator
10290
10291         * buffer.C:
10292         * paragraph.[Ch]: write one paragraph at a time
10293
10294 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10295
10296         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10297         style if style is not specified.
10298
10299 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10300
10301         * text2.C (setCounter): when searching for right label for a
10302         caption, make sure to recurse to parent insets (so that a caption
10303         in a minipage in a figure float works) (bug #568)
10304
10305 2002-08-20  André Pönitz <poenitz@gmx.net>
10306
10307         * text3.C: new file for LyXText::dispatch() and helpers
10308
10309         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10310
10311         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10312
10313 2002-08-19  André Pönitz <poenitz@gmx.net>
10314
10315         * lyxtext.h:
10316         * text.C: new LyXText::dispatch()
10317
10318         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10319
10320 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10321
10322         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10323
10324         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10325         Hebrew text.
10326
10327 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10328
10329         * Makefile.am: use $(variables) instead of @substitutions@
10330
10331 2002-08-15  André Pönitz <poenitz@gmx.net>
10332
10333         * lyxfunc.C:
10334         * BufferView_pimpl.C: streamlining mathed <-> outer world
10335         interaction
10336
10337         * commandtags.h:
10338         * LyXAction.C: remove unused LFUN_MATH
10339
10340 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10341
10342         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10343
10344 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10345
10346         * paragraph.C (Paragraph): reformat a bit
10347         (cutIntoMinibuffer): use builtin InsetList function instad of
10348         doing it manually.
10349         (getInset): ditto
10350
10351         * buffer.C: include boost/bind.hpp, add using std::for_each
10352         (writeFileAscii): use ParagraphList iterators
10353         (validate): use for_each for validate traversal of paragraphs
10354         (getBibkeyList): use ParagraphList iterators
10355         (resizeInsets): use for_each to resizeInsetsLyXText for all
10356         paragraphs.
10357         (getParFromID): use ParagraphList iterators
10358
10359         * BufferView2.C (lockInset): use paragraph list and iterators
10360
10361 2002-08-14  John Levon  <levon@movementarian.org>
10362
10363         * lyxserver.C: remove spurious xforms include
10364
10365 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10366
10367         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10368
10369 2002-08-13  André Pönitz <poenitz@gmx.net>
10370
10371         * LyXAction.[Ch]:
10372         * lyxfunc.C: further cleaning
10373
10374 2002-08-13  André Pönitz <poenitz@gmx.net>
10375
10376         * funcrequest.h: new constructor
10377
10378         * funcrequest.C: move stuff here from .h
10379
10380         * Makefile.am:
10381         * BufferView_pimpl.C:
10382         * LyXAction.C:
10383         * toc.C:
10384         * lyxfunc.C: subsequent changes
10385
10386         * lyxfunc.h: new view() member function
10387
10388         * lyxfunc.C: subsequent changes
10389
10390 2002-08-13  Angus Leeming  <leeming@lyx.org>
10391
10392         * BufferView2.C:
10393         * BufferView_pimpl.C:
10394         * buffer.C:
10395         * converter.C:
10396         * importer.C:
10397         * lyxfunc.C:
10398         * lyxvc.C:
10399         * toc.C:
10400         * vc-backend.C:
10401         changes due to the changed LyXView interface that now returns references
10402         to member variables not pointers.
10403
10404 2002-08-13  Angus Leeming  <leeming@lyx.org>
10405
10406         * WordLangTuple (word, lang_code): return references to strings,
10407         not strings.
10408
10409         * BufferView.h:
10410         * SpellBase.h:
10411         * lyxtext.h: forward-declare WordLangTuple.
10412
10413         * BufferView2.C:
10414         * ispell.C:
10415         * pspell.C:
10416         * text.C: #include "WordLangTuple.h".
10417
10418         * lyxtext.h:
10419         * text.C: (selectNextWordToSpellcheck): constify return type.
10420
10421 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10422
10423         * buffer.C:
10424         * buffer.h:
10425         * lyxtext.h:
10426         * paragraph.C:
10427         * paragraph_pimpl.h:
10428         * text.C:
10429         * text2.C:
10430         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10431         suggested by Angus.
10432         Made updateCounter always count from start of buffer, and removed
10433         second argument (par).
10434         Reverted floats number display to '#'. Perhaps I'll try again when the
10435         code base is sanitized a bit.
10436
10437 2002-08-12  Angus Leeming  <leeming@lyx.org>
10438
10439         * buffer.[Ch] (getLabelList): constify.
10440
10441 2002-08-07  André Pönitz <poenitz@gmx.net>
10442
10443         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10444
10445         * funcrequest.h: extension to keep mouse (x,y) position
10446
10447 2002-08-12  Juergen Vigna  <jug@sad.it>
10448
10449         * BufferView2.C (insertErrors): forbid undo when inserting error
10450         insets.
10451
10452         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10453
10454 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10455
10456         * ParagraphList.[Ch]: new files
10457
10458         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10459
10460         * BufferView2.C (lockInset): ParagraphList changes
10461         * toc.C: ditto
10462         * text2.C: ditto
10463         * bufferlist.C: ditto
10464         * buffer.h: ditto
10465         * buffer.C: ditto
10466
10467 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10468
10469         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10470         unused class variable counter_,
10471
10472         * paragraph.[Ch] (getFirstCounter): delete unused function
10473
10474         * counters.C: include LAssert.h
10475         (reset): add a new function with no arg, change other version to
10476         not have def. arg and to not allow empty arg.
10477
10478         * text2.C (setCounter): remove empty arg from call to Counters::reset
10479
10480 2002-08-11  John Levon  <levon@movementarian.org>
10481
10482         * Makefile.am: add WordLangTuple.h
10483
10484 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10485
10486         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10487         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10488
10489         * insets/insettext.C: InsetList changes
10490
10491         * graphics/GraphicsSupport.C (operator()): InsetList changes
10492
10493         * toc.C (getTocList): InsetList changes
10494
10495         * paragraph_pimpl.[Ch]: InsetList changes
10496
10497         * paragraph.[Ch]: InsetList changes
10498
10499         * buffer.C (inset_iterator): InsetList changes
10500         (setParagraph): ditto
10501         * buffer.h (inset_iterator): ditto
10502         * iterators.C (operator++): ditto
10503         * iterators.h: ditto
10504
10505         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10506
10507         * InsetList.[Ch]: new files, most InsetList handling moved out of
10508         paragraph.C.
10509
10510         * BufferView2.C (removeAutoInsets): InsetList changes
10511         (lockInset): ditto
10512         (ChangeInsets): ditto
10513
10514 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10515
10516         * paragraph_pimpl.h (empty): new function
10517
10518         * paragraph.[Ch] (empty): new function
10519
10520         * other files: use the new Paragraph::empty function
10521
10522 2002-08-09  John Levon  <levon@movementarian.org>
10523
10524         * lyxtext.h: remove unused refresh_height
10525
10526 2002-08-09  John Levon  <levon@movementarian.org>
10527
10528         * Makefile.am:
10529         * sgml.h:
10530         * sgml.C:
10531         * buffer.C:
10532         * paragraph.h:
10533         * paragraph.C: move sgml char escaping out of paragraph
10534
10535         * paragraph.h:
10536         * paragraph.C: remove id setter
10537
10538         * buffer.C:
10539         * paragraph.C:
10540         * paragraph_pimpl.C: remove dead tex_code_break_column
10541
10542         * bufferview_funcs.C: small cleanup
10543
10544         * lyxfunc.C: remove dead proto
10545
10546         * lyxtext.h: make some stuff private. Remove some dead stuff.
10547
10548         * lyxgluelength.C: make as[LyX]String() readable
10549
10550 2002-08-08  John Levon  <levon@movementarian.org>
10551
10552         * LyXAction.h:
10553         * LyXAction.C:
10554         * MenuBackend.C:
10555         * ToolbarDefaults.C:
10556         * lyxfunc.C:
10557         * lyxrc.C:
10558         * toc.C: lyxaction cleanup
10559
10560 2002-08-08  John Levon  <levon@movementarian.org>
10561
10562         * BufferView2.C: small cleanup
10563
10564         * lyxfind.h:
10565         * lyxfind.C: move unnecessary header into the .C
10566
10567 2002-08-08  John Levon  <levon@movementarian.org>
10568
10569         * funcrequest.h: just tedious nonsense
10570
10571         * lyx_main.h:
10572         * lyx_main.C: cleanups
10573
10574         * buffer.C:
10575         * vspace.C: remove dead header lyx_main.h
10576
10577 2002-08-07  Angus Leeming  <leeming@lyx.org>
10578
10579         * Paragraph.[Ch]:
10580         * paragraph_pimpl.h:
10581         Forward declare class Counters in paragraph.h by moving the ctrs member
10582         variable into Paragraph::Pimpl.
10583         (counters): new method, returning a reference to pimpl_->ctrs.
10584
10585         * text2.C: ensuing changes.
10586
10587 2002-08-07  John Levon  <levon@movementarian.org>
10588
10589         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10590
10591         * BufferView_pimpl.C: announce X selection on double/triple
10592           click
10593
10594         * lyx_main.C: use correct bool in batch dispatch
10595
10596         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10597
10598 2002-08-07  André Pönitz <poenitz@gmx.net>
10599
10600         * funcrequest.h: new class to wrap a kb_action and its argument
10601
10602         * BufferView.[Ch]:
10603         * BufferView_pimpl[Ch]:
10604         * LaTeX.C:
10605         * LyXAction.[Ch]:
10606         * lyxfunc.[Ch]:
10607         * lyxrc.C: subsequent changes
10608
10609
10610 2002-08-07  John Levon  <levon@movementarian.org>
10611
10612         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10613           document options change.
10614
10615 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10616
10617         * counters.[Ch]
10618         * text2.C
10619         * paragraph.[Ch]
10620         * makefile.am: move counters functionality over from
10621         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10622
10623 2002-08-06  John Levon  <levon@movementarian.org>
10624
10625         * WordLangTuple.h: new file for word + language code tuple
10626
10627         * SpellBase.h:
10628         * pspell.h:
10629         * pspell.C:
10630         * ispell.h:
10631         * ispell.C:
10632         * lyxtext.h:
10633         * text.C:
10634         * text2.C:
10635         * BufferView.h:
10636         * BufferView2.C: use WordLangTuple
10637
10638         * layout.h:
10639         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10640
10641 2002-08-06  John Levon  <levon@movementarian.org>
10642
10643         * lyx_main.C: fix cmdline batch handling
10644
10645 2002-08-06  André Pönitz <poenitz@gmx.net>
10646
10647         * lyxrc.C: set default for show_banner to true
10648
10649 2002-08-06  John Levon  <levon@movementarian.org>
10650
10651         * pspell.C: fix a crash, and allow new aspell to work
10652
10653 2002-08-06  John Levon  <levon@movementarian.org>
10654
10655         * lyxfunc.C:
10656         * kbmap.C: small cleanup
10657
10658         * vspace.h:
10659         * vspace.C: add const
10660
10661 2002-08-05  John Levon  <levon@movementarian.org>
10662
10663         * LyXAction.C: back to tabular-insert
10664
10665 2002-08-04  John Levon  <levon@movementarian.org>
10666
10667         * BufferView.h:
10668         * BufferView.C: cosmetic change
10669
10670         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10671
10672         * bufferlist.C:
10673         * buffer.h:
10674         * buffer.C:
10675         * lyxcb.h:
10676         * lyxcb.C:
10677         * lyxserver.C:
10678         * lyxvc.C:
10679         * vc-backend.C:
10680         * BufferView2.C: purge all "Lyx" not "LyX" strings
10681
10682         * lyxcursor.h:
10683         * lyxcursor.C: attempt to add some documentation
10684
10685         * lyxfunc.C:
10686         * commandtags.h:
10687         * LyXAction.C:
10688         * ToolbarDefaults.C:
10689         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10690           merge with LFUN_TABULAR_INSERT
10691
10692         * Makefile.am:
10693         * SpellBase.h:
10694         * ispell.h:
10695         * ispell.C:
10696         * pspell.h:
10697         * pspell.C: split up i/pspell implementations into separate
10698           files, many cleanups
10699
10700         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10701
10702         * text2.C: some cleanup
10703
10704         * lyxfunc.C: don't check for isp_command == "none" any more, it
10705           didn't make any sense
10706
10707 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10708
10709         * counters.[Ch]
10710         * text2.C
10711         * paragraph.[Ch]
10712         * makefile.am: move counters functionality over
10713         from text2.C/paragraph.[Ch] to counters.[Ch], and
10714         make proper C++.
10715 2002-08-02  John Levon  <levon@movementarian.org>
10716
10717         * buffer.C: s/lyxconvert/lyx2lyx/
10718
10719 2002-08-02  Angus Leeming  <leeming@lyx.org>
10720
10721         * lyxlex.C: revert John's change as it breaks reading of the user
10722         preamble.
10723
10724 2002-08-02  Angus Leeming  <leeming@lyx.org>
10725
10726         * importer.C (Import):
10727         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10728         changes due to LyXView::view() now returning a boost::shared_ptr.
10729
10730 2002-08-02  John Levon  <levon@movementarian.org>
10731
10732         * lyxlex.C: small cleanup
10733
10734 2002-08-02  John Levon  <levon@movementarian.org>
10735
10736         * text2.C (status): small cleanup, no logic change
10737
10738 2002-08-01  John Levon  <levon@movementarian.org>
10739
10740         * buffer.h:
10741         * buffer.C (writeFile): don't output alerts, caller
10742           handles this
10743
10744         * bufferlist.C:
10745         * lyx_cb.C: from above
10746
10747         * lyxfunc.C: allow to open non-existent files
10748
10749 2002-07-31  John Levon  <levon@movementarian.org>
10750
10751         * lyxserver.C: don't let incidental errors get
10752           in the way (errno)
10753
10754 2002-07-30  John Levon  <levon@movementarian.org>
10755
10756         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10757
10758 2002-07-30  John Levon  <levon@movementarian.org>
10759
10760         * lyxserver.h:
10761         * lyxserver.C: remove I/O callback too
10762
10763 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10764
10765         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10766         log.
10767
10768 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10769
10770         * many files: strip,frontStrip -> trim,ltrim,rtrim
10771
10772 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10773
10774         * PrinterParams.h: remove extern containsOnly, and include
10775         support/lstrings.h instead.
10776
10777         * LaTeX.C (scanAuxFile): modify because of strip changes
10778         (deplog): ditto
10779         * buffer.C (makeLaTeXFile): ditto
10780         * bufferparams.C (writeFile): ditt
10781         * lyxfont.C (stateText): ditto
10782         * lyxserver.C (read_ready): ditto
10783         * vc-backend.C (scanMaster): ditto
10784
10785         * BufferView_pimpl.h: ws changes
10786
10787         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10788
10789 2002-07-26  André Pönitz <poenitz@gmx.net>
10790
10791         * kb_sequence.C: remove unnedred usings
10792
10793 2002-07-26  Juergen Vigna  <jug@sad.it>
10794
10795         * lyxfind.C (LyXReplace): we have to check better if the returned
10796         text is not of theLockingInset()->getLockingInset().
10797
10798 2002-07-25  Juergen Vigna  <jug@sad.it>
10799
10800         * lyxfind.C (LyXReplace): don't replace if we don't get the
10801         right LyXText.
10802
10803         * undo_funcs.C (createUndo): remove debugging code.
10804
10805 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10806
10807         * buffer.C (parseSingleLyXformat2Token): Use default placement
10808         when reading old floats.
10809
10810         * FloatList.C (FloatList): Change the default placement of figure
10811         and tables to "tbp".
10812
10813 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10814
10815         * MenuBackend.C: using std::max
10816
10817 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10818
10819         * MenuBackend.C (expandToc):
10820         (expandToc2): code moved from xforms menu frontend. It is now
10821         generic and TOCs are transparent to menu frontends.
10822
10823 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10824
10825         * toc.C (getTocList): protect against buf=0
10826
10827         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10828         Menu as first parameter. Now, this calls itself recursively to
10829         expand a whole tree (this will be useful for TOC handling)
10830         (expandFloatInsert): remove 'wide' version of floats
10831
10832         * MenuBackend.h (submenuname): returns the name of the submenu.
10833         (submenu): returns the submenu itself, provided it has been
10834         created by MenuBackend::expand
10835
10836 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10837
10838         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10839         insets which have noFontChange == true. (bug #172)
10840
10841 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10842
10843         * BufferView_pimpl.C: add connection objects and use them...
10844         (Pimpl): here.
10845
10846 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10847
10848         * MenuBackend.C (expandLastfiles):
10849         (expandDocuments):
10850         (expandFormats):
10851         (expandFloatListInsert):
10852         (expandFloatInsert):
10853         (expand): split expand in parts
10854
10855 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10856
10857         * lyx_gui.C: use lyx_gui::exit()
10858
10859 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10860
10861         * LyXAction.C: show the failing pseudo action
10862
10863 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10864
10865         * buffer.C (readFile): Run the lyxconvert script in order to read
10866         old files.
10867
10868 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * LyXAction.C:
10871         * commandtags.h:
10872         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10873
10874 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10875
10876         * LyXAction.C:
10877         * commandtags.h:
10878         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10879
10880 2002-07-22  Herbert Voss  <voss@lyx.org>
10881
10882         * lengthcommon.C:
10883         * lyxlength.[Ch]: add support for the vertical lengths
10884
10885 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10886
10887         * toc.[Ch]: std:: fixes
10888
10889 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10890
10891         * lyxrc.C: do not include lyx_main.h
10892
10893         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10894         for layouts
10895
10896         * lyxrc.C:
10897         * encoding.C:
10898         * bufferlist.C:
10899         * BufferView2.C: include "lyxlex.h"
10900
10901         * tabular.h:
10902         * bufferparams.h: do not #include "lyxlex.h"
10903
10904         * lyxtextclasslist.C (Add): remove method
10905         (classlist): renamed to classlist_
10906
10907         * paragraph_pimpl.C:
10908         * paragraph.C:
10909         * text2.C:
10910         * CutAndPaste.C:
10911         * bufferview_funcs.C:
10912         * bufferlist.C:
10913         * text.C:
10914         * LaTeXFeatures.C:
10915         * buffer.C:
10916         * toc.C (getTocList): use BufferParams::getLyXTextClass
10917
10918         * toc.C (getTocList): use InsetFloat::addToToc
10919
10920         * toc.[Ch]: new files, containing helper functions to handle table
10921         of contents
10922
10923         * lyxfunc.C (dispatch): no need to remove spaces around command
10924         given as a string
10925         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10926         first command of the sequence; it is not very clever, but I do not
10927         have a better idea, actually
10928
10929         * LyXAction.C (LookupFunc): make sure to remove space at the
10930         beginning and end of the command
10931
10932 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10933
10934         * MenuBackend.C (getMenubar): new method: return the menubar of
10935         this menu set
10936         (read): treat differently reading of menu and menubar (in
10937         particular, the menubar has no name now)
10938         (Menu::menubar): remove
10939
10940         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10941         saving is finished
10942
10943 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10944
10945         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10946         a bibitem inset in a RTL paragraph.
10947
10948 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10949
10950         * paragraph_pimpl.C: constify
10951
10952         * BufferView_pimpl.C:
10953         * LaTeX.C:
10954         * lyxfunc.C: fix dispatch in a nicer way
10955
10956 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10957
10958         * lyxfunc.C (dispatch):
10959         * BufferView_pimpl.C:
10960         * BufferView_pimpl.h:
10961         * BufferView.C:
10962         * BufferView.h: rename Dispatch() to dispatch()
10963
10964         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10965
10966         * lyxlayout.C (Read): honor DependsOn tag
10967
10968         * lyxlayout.[Ch] (depends_on): new method
10969
10970         * version.C.in: update lyx_docversion
10971
10972         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10973
10974         * paragraph.C (validate): remove from here...
10975         * paragraph_pimpl.C (validate): ... and move here
10976         (isTextAt): make it const
10977
10978         * buffer.C (getLists): ws cleanup
10979
10980 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10981
10982         * language.C (read): Use iso8859-1 encoding in latex_lang
10983         (this prevents LyX from crashing when using iso10646-1 encoding).
10984
10985 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10986
10987         * text2.C (toggleInset): if cursor is inside an inset, close the
10988         inset and leave cursor _after_ it
10989
10990 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10991
10992         * lyxfunc.C: move minibuffer completion handling out of here
10993
10994 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10995
10996         * BufferView_pimpl.C:
10997         * LaTeX.C: fix dispatch calls
10998
10999 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11000
11001         * text.C (drawChars): Fix Arabic text rendering.
11002
11003 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11004
11005         * LyXAction.C:
11006         * commandtags.h:
11007         * lyxfunc.C: remove message-push/pop
11008
11009         * lyxserver.C:
11010         * lyxfunc.h:
11011         * lyxfunc.C: rationalise some code by removing verboseDispatch
11012           in favour of a bool argument to dispatch()
11013
11014 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11015
11016         * lyx_main.C (init): make sure to read symlinks as absolute paths
11017
11018 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11019
11020         * lyxfunc.h:
11021         * lyxfunc.C: no need for commandshortcut to be a member
11022
11023 2002-07-15  André Pönitz <poenitz@gmx.net>
11024
11025         * converter.C: add support for $$s (scripts from lib/scripts dir)
11026         * lyx_main.C: white space
11027
11028 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11029
11030         * bufferlist.C:
11031         * lyxrc.h:
11032         * lyxrc.C: remove second exit confirmation
11033
11034 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11035
11036         * BufferView.h:
11037         * BufferView.C:
11038         * BufferView2.C:
11039         * BufferView_pimpl.h:
11040         * BufferView_pimpl.C:
11041         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11042
11043 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11044
11045         * MenuBackend.C (expand): add numeric shortcuts to document menu
11046
11047         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11048
11049 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11050
11051         * lyxfont.C (setLyXFamily):
11052         (setLyXSeries):
11053         (setLyXShape):
11054         (setLyXSize):
11055         (setLyXMisc):
11056         (lyxRead):
11057         * debug.C (value):
11058         * buffer.C (asciiParagraph): use ascii_lowercase
11059
11060 2002-07-15  Mike Fabian  <mfabian@suse.de>
11061
11062         * lyxlex_pimpl.C (search_kw):
11063         * lyxlex.C (getLongString):
11064         * converter.h (operator<):
11065         * converter.C (operator<):
11066         * buffer.C (parseSingleLyXformat2Token):
11067         (asciiParagraph):
11068         * ToolbarDefaults.C (read):
11069         * MenuBackend.C (checkShortcuts):
11070         (read):
11071         * LColor.C (getFromGUIName):
11072         (getFromLyXName): use the compare_ascii_no_case instead of
11073         compare_no_case, because in turkish, 'i' is not the lowercase
11074         version of 'I', and thus turkish locale breaks parsing of tags.
11075
11076 2002-07-16  Angus Leeming  <leeming@lyx.org>
11077
11078         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11079         now takes a Buffer const & argument.
11080
11081 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11082
11083         * BufferView.C (resize): check there's a buffer to resize
11084
11085 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11086
11087         * lyxfunc.C: remove dead code
11088
11089         * lyxserver.h:
11090         * lyxserver.C: use lyx_guii::set_read_callback
11091
11092 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11093
11094         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11095         an inset in a RTL paragraph.
11096
11097 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11098
11099         * lyxfunc.C: repaint after a font size update
11100
11101 2002-07-15  André Pönitz <poenitz@gmx.net>
11102
11103         * lyxlength.C: inBP should be able to return negative values
11104
11105 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11106
11107         * lyxfunc.C: use lyx_gui::update_fonts()
11108
11109 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11110
11111         * lyxfunc.C: use lyx_gui::update_color()
11112
11113 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * bufferlist.C:
11116         * lyxfunc.h:
11117         * lyxfunc.C:
11118         * lyxrc.h:
11119         * lyxrc.C: remove file->new asks for name option, and let
11120           buffer-new take an argument
11121
11122 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11123
11124         * BufferView_pimpl.C: remove unneeded extra repaint()
11125
11126 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11127
11128         * LyXAction.C: allow command-sequence with NoBuffer
11129
11130         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11131
11132 2002-07-10  Angus Leeming  <leeming@lyx.org>
11133
11134         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11135
11136 2002-07-09  Angus Leeming  <leeming@lyx.org>
11137
11138         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11139
11140 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11141
11142         * lengthcommon.h: whitespace
11143
11144         * lyxfunc.C: update scrollbar after goto paragraph
11145
11146         * lyxtext.h: factor out page break drawing, and fix it so
11147           page break/added space paints as selected nicely
11148
11149 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11150
11151         * BufferView_pimpl.C: add FIXMEs, clean up a little
11152
11153 2002-07-09  André Pönitz <poenitz@gmx.net>
11154
11155         * lyxfont.[Ch]: support for wasy symbols
11156
11157 2002-07-08  André Pönitz <poenitz@gmx.net>
11158
11159         * BufferView_pimpl.C: apply John's patch for #93.
11160
11161 2002-07-05  Angus Leeming  <leeming@lyx.org>
11162
11163         * BufferView_pimpl.C (buffer): generate previews if desired.
11164
11165         * LColor.h: add "preview" to the color enum.
11166
11167         * LColor.C (LColor): add a corresponding entry to the items array.
11168
11169         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11170         with this buffer.
11171
11172 2002-07-05  Angus Leeming  <leeming@lyx.org>
11173
11174         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11175         The body of the code is now in the method that is passed an ostream &
11176         rather than a file name.
11177         Pass an additional only_preamble parameter, useful for the forthcoming
11178         preview stuff.
11179
11180 2002-07-03  André Pönitz <poenitz@gmx.net>
11181
11182         * lyxfunc.C: simplify getStatus() a bit for math stuff
11183
11184 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11185
11186         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11187
11188 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11189
11190         * text.C (changeRegionCase): do not change case of all the
11191         document when region ends at paragraph end (bug #461)
11192
11193 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11194
11195         * paragraph.C (startTeXParParams):
11196         (endTeXParParams): add \protect when necessary
11197
11198 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11199
11200         * BufferView_pimpl.C (workAreaExpose): remove warning
11201
11202 2002-06-27  Angus Leeming  <leeming@lyx.org>
11203
11204         * Makefile.am: add lyxlayout_ptr_fwd.h.
11205
11206 2002-06-26  André Pönitz <poenitz@gmx.net>
11207
11208         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11209
11210 2002-06-25  Angus Leeming  <leeming@lyx.org>
11211
11212         * lyxfunc.C (dispatch): Comment out the call to
11213         grfx::GCache::changeDisplay. The method no longer exists now that the
11214         pixmap generation part of the graphics loader has been moved into
11215         InsetGraphics.
11216
11217 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11218
11219         * text2.C: layout as layout
11220
11221         * text.C: layout as layout
11222
11223         * tabular.C (OldFormatRead): layout as layout
11224
11225         * paragraph_pimpl.C (TeXDeeper): layout as layout
11226         (realizeFont): layout as layout
11227
11228         * paragraph.C (writeFile): layout as layout
11229         (validate): layout as layout
11230         (getFont): layout as layout
11231         (getLabelFont): layout as layout
11232         (getLayoutFont): layout as layout
11233         (breakParagraph): layout as layout
11234         (stripLeadingSpaces): layout as layout
11235         (getEndLabel): layout as layout
11236         (getMaxDepthAfter): layout as layout
11237         (applyLayout): layout as layout
11238         (TeXOnePar): layout as layout
11239         (simpleTeXOnePar): layout as layout
11240         (TeXEnvironment): layout as layout
11241         (layout): layout as layout
11242         (layout): layout as layout
11243
11244         * lyxtextclass.C (compare_name): new functor to work with
11245         shared_ptr, layout as layout
11246         (Read): layout as layout
11247         (hasLayout): layout as layout
11248         (operator): layout as layout
11249         (delete_layout): layout as layout
11250         (defaultLayout): layout as layout
11251
11252         * lyxlayout_ptr_fwd.h: new file
11253
11254         * lyxlayout.C (Read): layout as layout
11255
11256         * lyx_cb.C (MenuInsertLabel): layout as layout
11257
11258         * bufferlist.C (newFile): layout as layout
11259
11260         * buffer.C (readLyXformat2): layout as layout
11261         (parseSingleLyXformat2Token): layout as layout
11262         (insertStringAsLines): layout as layout
11263         (asciiParagraph): layout as layout
11264         (latexParagraphs): layout as layout
11265         (makeLinuxDocFile): layout as layout
11266         (simpleLinuxDocOnePar): layout as layout
11267         (makeDocBookFile): layout as layout
11268         (simpleDocBookOnePar): layout as layout
11269         (getLists): layout as layout
11270
11271         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11272
11273         * CutAndPaste.C (cutSelection): layout as layout
11274         (pasteSelection): layout as layout
11275         (SwitchLayoutsBetweenClasses): layout as layout
11276
11277         * BufferView_pimpl.C (Dispatch): layout as layout
11278         (smartQuote): layout as layout
11279
11280         * BufferView2.C (unlockInset): layout as layout
11281
11282 2002-06-24  André Pönitz <poenitz@gmx.net>
11283
11284         * lyxfunc.C: fix #487
11285
11286 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11287
11288         * lyxrc.h:
11289         * lyxrc.C:
11290         * lyxfunc.C: remove display_shortcuts, show_banner
11291
11292 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11293
11294         * Buffer_pimpl.C: oops, update on resize
11295
11296 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11297
11298         * buffer.C:
11299         * converter.C:
11300         * exporter.C:
11301         * lyxfunc.C:
11302         * BufferView.h:
11303         * BufferView.C: use repaint()
11304
11305         * BufferView_pimpl.h:
11306         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11307           as it's a clearer description. Remove superfluous
11308           redraws.
11309
11310 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11311
11312         * text.C: fix bug 488. Not ideal, but getting
11313           getWord() to work properly for the insets that
11314           matter is more difficult ...
11315
11316 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11317
11318         * BufferView_pimpl.C:
11319         * LyXAction.C:
11320         * commandtags.h:
11321         * lyxfunc.C: remove the six million index lyxfuncs to just
11322           one, and DTRT (bug 458)
11323
11324 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11325
11326         * BufferView.h:
11327         * BufferView.C:
11328         * BufferView_pimpl.h:
11329         * BufferView_pimpl.C: clean up resize() stuff,
11330           and unnecessary updateScreen()s
11331
11332 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11333
11334         * BufferView.h:
11335         * BufferView.C:
11336         * BufferView_pimpl.h:
11337         * BufferView_pimpl.C:
11338         * lyxfind.h:
11339         * lyxfind.C:
11340         * minibuffer.C: remove focus management of workarea,
11341           not needed. Use screen's greyOut()
11342
11343 2002-06-17  Herbert Voss  <voss@lyx.org>
11344
11345         * converter.C: (convert) do not post a message, when converting
11346         fails, let the calling function decide what to do in this case
11347
11348 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11349
11350         * lyxfunc.C: tidy up a little
11351
11352 2002-06-16    <alstrup@diku.dk>
11353
11354         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11355         Got rid of FORMS_H_LOCATION include. Now we are
11356         GUII.
11357
11358 2002-06-15  LyX Development team  <lyx@rilke>
11359
11360         * buffer.[Ch] (sgmlOpenTag):
11361         (sgmlCloseTag): Added support for avoiding pernicious mixed
11362         content. Return number of lines written.
11363
11364         (makeLinuxDocFile):
11365         (makeDocBookFile): Fixed calls to sgml*Tag.
11366         Simple white space clean.
11367
11368         (simpleDocBookOnePar): Simple white space clean.
11369
11370         * tabular.[Ch] (docBook): Renamed to docbook and got another
11371         argument to related with the pernicious mixed content.
11372
11373         (docbookRow): Fixed calls for docbook inset method.
11374
11375 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11376
11377         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11378         so it's X11 independent.
11379
11380         * kb*.[Ch]: ditto.
11381
11382         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11383
11384 2002-06-15  Lyx Development team  <lyx@electronia>
11385
11386         * intl.h: Renamed getTrans to getTransManager.
11387
11388 2002-06-14  Angus Leeming  <leeming@lyx.org>
11389
11390         * Makefile.am: nuke forgotten stl_string_fwd.h.
11391
11392 2002-06-12  Angus Leeming  <leeming@lyx.org>
11393
11394         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11395
11396 2002-06-13  Angus Leeming  <leeming@lyx.org>
11397
11398         * LaTeX.C:
11399         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11400
11401 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11402
11403         * kbmap.C (getiso): add support for cyrillic and greek
11404
11405 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11406
11407         * BufferView.h:
11408         * BufferView.C:
11409         * BufferView_pimpl.h:
11410         * BufferView_pimpl.C: move bogus scrolling logic
11411           to xforms
11412
11413 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11414
11415         * lyxfunc.C:
11416         * BufferView_pimpl.C: view->resize() change
11417
11418 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11419
11420         * BufferView_pimpl.C: topCursorVisible
11421           prototype change
11422
11423 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11424
11425         * Makefile.am:
11426         * lyx_gui.h:
11427         * lyx_gui.C: move to frontends/
11428
11429         * main.C:
11430         * lyx_main.h:
11431         * lyx_main.C: changes from above
11432
11433 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11434
11435         * intl.C:
11436         * intl.h:
11437         * kbmap.C:
11438         * kbsequence.C:
11439         * lyx_cb.C:
11440         * lyx_main.C: minor tidy
11441
11442 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11443
11444         * BufferView_pimpl.h:
11445         * BufferView_pimpl.C:
11446         * BufferView.h:
11447         * BufferView.C: make painter() const,
11448           remove dead code
11449
11450         * BufferView2.C: use screen() accessor
11451
11452         * lyx_main.h:
11453         * lyx_main.C: some minor cleanup
11454
11455 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11456
11457         * BufferView_pimpl.h:
11458         * BufferView_pimpl.C: remove enter/leaveView,
11459           use workHeight()
11460
11461 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11462
11463         * BufferView.h:
11464         * BufferView.C:
11465         * BufferView2.C:
11466         * BufferView_pimpl.h:
11467         * BufferView_pimpl.C: only construct screen once,
11468           rename
11469
11470         * lyxrc.C: remove pointless comment
11471
11472 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11473
11474         * BufferView.h:
11475         * BufferView.C: remove active() and belowMouse()
11476
11477         * BufferView_pimpl.h:
11478         * BufferView_pimpl.C: use workarea() not workarea_,
11479           and make it use a scoped_ptr instead
11480
11481 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11482
11483         * lyx_gui.C: add debug message on BadWindow
11484
11485 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11486
11487         * sp_spell.C: fdopen is not part of the C++ standard.
11488
11489         * paragraph.C (InsetIterator): use >= instead of ==
11490
11491 2002-06-07  Angus Leeming  <leeming@lyx.org>
11492
11493         Fixes needed to compile with Compaq cxx 6.5.
11494         * BufferView_pimpl.C:
11495         * DepTable.C:
11496         * buffer.C:
11497         * converter.C:
11498         * encoding.C:
11499         * lyx_gui.C:
11500         * lyx_main.C:
11501         * lyxtextclasslist.C:
11502         * minibuffer.C:
11503         * sp_spell.C:
11504         * tabular_funcs.C:
11505         * vc-backend.C:
11506         all c-library variables have been moved into namespace std. Wrap
11507         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11508
11509         * lyxlength.C:
11510         * tabular-old.C:
11511         * tabular.C:
11512         Add a using std::abs declaration.
11513
11514         * kbmap.h (modifier_pair):
11515         * paragraph.h (InsetTable, InsetList):
11516         * lyxfont.h (FontBits):
11517         type definition made public.
11518
11519         * bufferlist.C (emergencyWriteAll): the compiler complains that
11520         there is more than one possible lyx::class_fun template to choose from.
11521         I re-named the void specialisation as lyx::void_class_fun.
11522
11523         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11524
11525         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11526         the compiler is is unable to find tostr in write_attribute.
11527
11528 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11529
11530         * buffer.C (sgmlError): hide #warning
11531
11532 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11533
11534         * xtl/*: get rid of xtl, which is not in use anyway
11535
11536         * LyXAction.C (init):
11537         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11538         were unimplemented xtl experimentation
11539
11540 2002-06-04  André Pönitz <poenitz@gmx.net>
11541
11542         * lyxfunc.C: disable array operation on simple formulae
11543
11544 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11545
11546         * converter.C: constify a bit
11547
11548 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11549
11550         * lyx_gui.C: check xforms version correctly
11551
11552 2002-04-30  Herbert Voss  <voss@lyx.org>
11553
11554         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11555         "keep" option
11556
11557 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11558
11559         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11560           attempt to register it with a VCS)
11561
11562 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11563
11564         * lyx_main.C (init): honor variables LYX_DIR_13x and
11565         LYX_USERDIR_13x
11566
11567 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11568
11569         * buffer.h:
11570         * buffer.C:
11571         * lyx_main.C: fix a crash on bad command line,
11572           and give a useful exit status on error
11573
11574         * lyxfunc.C (doImport): allow -i lyx to work
11575
11576 2002-03-30  André Pönitz <poenitz@gmx.net>
11577
11578         * lyxfunc.C: mathed font changes
11579
11580 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11581
11582         * LaTeX.C:
11583         * importer.h:
11584         * importer.C:
11585         * lyx_sty.h:
11586         * lyx_sty.C:
11587         * lyxlex.C:
11588         * lyxrow.h:
11589         * lyxtext.h:
11590         * paragraph.h:
11591         * paragraph.C:
11592         * texrow.h:
11593         * texrow.C:
11594         * text.C:
11595         * trans_mgr.h: srcdocs, and some minor cleanups
11596
11597 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11598
11599         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11600         call getFont all the time)
11601
11602 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11603
11604         * switch from SigC signals to boost::signals
11605
11606 2002-05-29  André Pönitz <poenitz@gmx.net>
11607
11608         * paragraph_pimpl.C (getChar): don't call size() too often...
11609
11610 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11611
11612         * paragraph_pimpl.C (insertChar): do not try to update tables when
11613         appending (pos == size())
11614
11615         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11616         in order to reduce drastically the number of comparisons needed to
11617         parse a large document
11618
11619 2002-05-29  André Pönitz <poenitz@gmx.net>
11620
11621         * text.C:
11622         * text2.C:
11623         * lyxtextclass.C:
11624         * sp_pspell.h:
11625         * textclasslist.[Ch]:
11626         * sp_ispell.h: whitespace change
11627
11628 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11629
11630         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11631         lyxaction directly now.
11632
11633 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11634
11635         * trans.C:
11636         * lyxfont.C:
11637         * lyxvc.C: remove unused headers
11638
11639 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11640
11641         * Makefile.am:
11642         * buffer.h:
11643         * undostack.h:
11644         * undostack.C:
11645         * undo_funcs.h:
11646         * undo_funcs.C: some cleanups. Use shared_ptr
11647           and a template for the undo stacks.
11648
11649 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11650
11651         * BufferView_pimpl.h:
11652         * BufferView_pimpl.C:
11653         * kbmap.h:
11654         * kbmap.C:
11655         * kbsequence.h:
11656         * kbsequence.C:
11657         * lyxfunc.h:
11658         * lyxfunc.C:
11659         * text2.C: use key_state/mouse_state
11660
11661 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11662
11663         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11664         and LSubstring
11665
11666         * chset.C: change include order
11667         (loadFile): use boost regex and get rid of LRegex and LSubstring
11668
11669         * Makefile.am (BOOST_LIBS): new variable
11670         (lyx_LDADD): use it
11671
11672         * LaTeX.C: change include order.
11673         (scanAuxFile): use boost regex and get rid of LRegex and
11674         LSubstring
11675         (deplog): ditto
11676
11677 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11678
11679         * ColorHandler.h:
11680         * ColorHandler.C:
11681         * FontInfo.h:
11682         * FontInfo.C: moved to frontends/xforms/
11683
11684         * FontLoader.h:
11685         * FontLoader.C: moved into frontends for GUIIzation
11686
11687         * Makefile.am:
11688         * lyx_gui.C:
11689         * lyxfont.C:
11690         * lyxfunc.C: changes from above
11691
11692 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11693
11694         * LColor.C: remove spurious X include
11695
11696         * BufferView_pimpl.C:
11697         * Makefile.am:
11698         * font.h:
11699         * font.C:
11700         * text.C:
11701         * text2.C: move font metrics to frontends/
11702
11703 2002-05-24  Juergen Vigna  <jug@sad.it>
11704
11705         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11706         setting the undo_cursor.
11707
11708         * ParagraphParameters.h: include local includes first.
11709
11710 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * BufferView_pimpl.C:
11713         * BufferView_pimpl.h:
11714         * Makefile.am:
11715         * WorkArea.h:
11716         * WorkArea.C:
11717         * screen.C: move WorkArea into frontends/
11718
11719         * lyxscreen.h:
11720         * screen.C:
11721         * text.C:
11722         * BufferView.C:
11723         * BufferView2.C: move LyXScreen into frontends/
11724
11725         * lyxlookup.h:
11726         * lyxlookup.C:
11727         * lyx_gui.C: move lyxlookup into frontends/xforms/
11728
11729 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11730
11731         * BufferView2.C:
11732         * BufferView_pimpl.C:
11733         * FontLoader.C:
11734         * LyXView.h:
11735         * LyXView.C:
11736         * Makefile.am:
11737         * WorkArea.C:
11738         * XFormsView.h:
11739         * XFormsView.C:
11740         * buffer.C:
11741         * bufferlist.C:
11742         * bufferview_funcs.C:
11743         * converter.C:
11744         * importer.C:
11745         * lyx_cb.C:
11746         * lyx_gui.C:
11747         * lyx_main.C:
11748         * lyx_find.C:
11749         * lyxfunc.C:
11750         * lyxvc.C:
11751         * minibuffer.C:
11752         * text.C:
11753         * text2.C:
11754         * trans.C:
11755         * vc-backend.C: move LyX/XFormsView into frontends/
11756
11757 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11758
11759         * Makefile.am:
11760         * PainterBase.C:
11761         * PainterBase.h:
11762         * Painter.C:
11763         * Painter.h:
11764         * WorkArea.C:
11765         * WorkArea.h:
11766         * screen.C:
11767         * tabular.C:
11768         * text.C:
11769         * text2.C: move Painter to frontends/
11770
11771 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11772
11773         * buffer.C: comment out some some code that depend upon lyx_format
11774         < 220
11775
11776         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11777         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11778
11779         * buffer.h (NO_COMPABILITY): turn off compability
11780
11781         * ColorHandler.C: include scoped_array.hpp
11782
11783         * font.C: Use more specific smart_ptr header.
11784         * Painter.C: ditto
11785         * gettext.C: ditto
11786         * ShareContainer.h: ditto
11787         * lyx_main.h: ditto
11788         * kbmap.h: ditto
11789         * FontInfo.h: ditto
11790         * BufferView_pimpl.h: ditto
11791         * ColorHandler.h: ditto
11792
11793         * kbmap.C (defkey): change call to shared_ptr::reset
11794
11795 2002-05-21  Juergen Vigna  <jug@sad.it>
11796
11797         * buffer.C (insertErtContents): fix to insert ert asis if it is
11798         non empty. Skip it completely if it contains only whitespaces.
11799
11800 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11801
11802         * BufferView_pimpl.C:
11803         * BufferView2.C: clear selection on paste (bug 393)
11804
11805 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11806
11807         * DepTable.C: include ctime
11808
11809 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11810
11811         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11812
11813 2002-05-14  Juergen Vigna  <jug@sad.it>
11814
11815         * text.C (breakParagraph): fixed function to honor the keepempty
11816         layout in the right maner and also to permit the right breaking
11817         algorithm on empty or non empyt keepempty paragraphs.
11818
11819         * paragraph.C (breakParagraph): we have to check also if the par
11820         is really empty (!size()) for isempty otherwise we do the wrong
11821         paragraph break.
11822
11823 2002-05-10  Juergen Vigna  <jug@sad.it>
11824
11825         * buffer.[Ch] : The following are only changes to the ert
11826         compatibility read reading old LaTeX layout and font stuff and
11827         convert it to ERTInsets.
11828
11829         * buffer.h: added isErtInset().
11830
11831         * buffer.C (struct ErtComp): add a fromlayout bool to check
11832         if we're inside a LaTeX layout.
11833         (isErtInset): new helper function.
11834         (insertErtContents): look for other ert insets before this one
11835         and insert the contents there, so that we don't have subsequent
11836         ERT insets with nothing between them. This way we create only one
11837         inset with multiple paragraphs. Also check if we don't insert only
11838         spaces ' ' as they are ignored anyway afterwards in the .tex file
11839         so if we have only spaces we will ignore this latex part in the
11840         new file.
11841         (parseSingleLyXformat2Token \\layout): better compatibility when
11842         reading layout-latex stuff.
11843         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11844         language tag.
11845         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11846         stuff after reading the inset only get the information back from
11847         the stack.
11848
11849 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11850
11851         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11852
11853         * LaTeXFeatures.C (getBabelOptions): New method.
11854
11855 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11856
11857         * BufferView_pimpl.C (Dispatch): work around missing argument for
11858         'layout'
11859
11860 2002-05-08  Juergen Vigna  <jug@sad.it>
11861
11862         * text.C (leftMargin): handle paragraph leftindent.
11863
11864         * paragraph.C (writeFile): write the new \\leftindent tag.
11865         (validate): handle leftindent code.
11866         (TeXEnvironment): handle paragraphleftindent code again.
11867
11868         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11869
11870         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11871         for paragrap_extra indent code and new token \\leftindent.
11872         (latexParagraphs): handle the leftindent as environment.
11873
11874         * ParameterStruct.h: added leftindent support.
11875
11876         * ParagraphParameters.C (leftIndent): added support functions for
11877         the paragraph left indent.
11878
11879         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11880         more appropriate.
11881
11882 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11883
11884         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11885         inside insetERT.
11886
11887         * text.C (computeBidiTables): No bidi in insetERT.
11888
11889         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11890         in RTL documents.
11891
11892 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11893
11894         * version.C.in: pre 5
11895
11896 2002-05-02  José Matos  <jamatos@fep.up.pt>
11897         * buffer.C (makeDocBookFile): white space changes, add newline to
11898         command styles.
11899         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11900
11901         * tabular.C (docBook): fix typo.
11902
11903 2002-05-03  Juergen Vigna  <jug@sad.it>
11904
11905         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11906         change in LyXText as we can not be sure it was not freed.
11907         (drawOneRow): remove unused code.
11908
11909         * text.C (drawInset): redo the calculation of the need_break_row as
11910         it could have a row which was already freed.
11911         (draw): look at the return value of drawInset and return false if
11912         it also returned false.
11913         (paintRowText): look at the return value of draw and return false if
11914         it also returned false.
11915
11916         * lyxtext.h: added bool return type to drawInset() and draw() so that
11917         if we have a change in the row so that the rowbreak has to be redone
11918         we abort drawing as it will be called again.
11919
11920 2002-05-02  Juergen Vigna  <jug@sad.it>
11921
11922         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11923         a change in the maintext also if we're inside an inset.
11924         (Dispatch): set the cursor again after a break line and after the
11925         screen has been updated as it could be we're in a different row.
11926
11927         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11928         to set the cursor behind the pargraph with > size().
11929         (setCursor): check also for the same paragraph when checking where
11930         to put the cursor if we have a NFR inset.
11931
11932         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11933         parts of layout read further up as it still was in the wrong
11934         position.
11935
11936 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11937
11938         * screen.C (drawFromTo): change sine fullRebreak always return
11939         true.
11940
11941         * buffer.C (parseSingleLyXformat2Token): reindent some
11942
11943         * BufferView_pimpl.C (update): change since fullRebreak always
11944         return true.
11945         (Dispatch): git rid of the last hardcoded "Standard"s.
11946
11947 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11948
11949         * text2.[Ch] (fullRebreak): make it return void now that we always
11950         returned true.
11951
11952 2002-04-30  Juergen Vigna  <jug@sad.it>
11953
11954         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11955         ert compatibility check for "latex" layout.
11956
11957 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11958
11959         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11960         minipages: use col% instead of p%, and also use the current font.
11961         (makeLaTeXFile): Fix use babel condition.
11962         (parseSingleLyXformat2Token): Correct font when reading old floats.
11963
11964 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11965
11966         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11967         inserting list of floats.
11968
11969 2002-04-25  Herbert Voss  <voss@lyx.org>
11970
11971         * MenuBackend.C (expand): don't add the graphics extensions to the
11972         export menu
11973
11974 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11975
11976         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11977         non-existing layout, do not complain if it was the default layout
11978         of the original class (bug #342)
11979
11980 2002-04-24  Juergen Vigna  <jug@sad.it>
11981
11982         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11983         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11984
11985 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11986
11987         * buffer.C (getBibkeyList): If using \bibliography, return the
11988         option field with the reference itself. Enables us to provide natbib
11989         support when using \bibliography.
11990
11991 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11992
11993         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11994
11995         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11996         natbib is provided by the LaTeX class.
11997
11998 2002-04-23  Juergen Vigna  <jug@sad.it>
11999
12000         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12001         Wakeup functions.
12002
12003         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12004
12005 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12006
12007         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12008
12009         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12010         ensuremath around textordmasculine, textordfeminine and
12011         textdegree.
12012
12013 2002-04-19  Juergen Vigna  <jug@sad.it>
12014
12015         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12016         reinitializing the buffer otherwise row-dimensions may be wrong.
12017         (update): reset also the selection cursors if they do exits otherwise
12018         their x/y positions may be wrong.
12019
12020         * text2.C (cursorDown): don't enter the inset if we came from a row
12021         above and are one row over the inset.
12022
12023         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12024         really leaving an inset.
12025
12026 2002-04-18  Juergen Vigna  <jug@sad.it>
12027
12028         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12029         of the selected paragraph does not have the selected layout also if
12030         the last one had!
12031
12032         * text2.C (setLayout): fixed bug which did not change last selected
12033         paragraph.
12034
12035         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12036         changed the read and substituted \\end_float with \\end_inset!
12037
12038         * BufferView_pimpl.C (cursorPrevious):
12039         (cursorNext): fixed to make it work with rows heigher than the work
12040         area without moving the cursor only the draw of the row.
12041         (workAreaMotionNotify): fix jumping over high rows.
12042
12043 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12046         Ressler.
12047
12048 2002-04-16  Juergen Vigna  <jug@sad.it>
12049
12050         * text2.C (setCursor): set also the irow().
12051         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12052         (cursorUp):
12053         (cursorDown): support for locking an inset if the x_fix value goes
12054         inside it. That way I can transverse insets too with cursor up/down.
12055
12056         * lyxrow.h: added irow helper function same as other (i) functions.
12057
12058         * BufferView_pimpl.C (cursorPrevious):
12059         (cursorNext): fixed for insets!
12060
12061 2002-04-15  Juergen Vigna  <jug@sad.it>
12062
12063         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12064         position otherwise it is wrong in some cases.
12065
12066         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12067         inside the inset before the call.
12068
12069 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12070
12071         * buffer.[Ch] (getBibkeyList): make it const.
12072
12073 2002-04-12  Juergen Vigna  <jug@sad.it>
12074
12075         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12076
12077         * text2.C (getCursorX): new helper function
12078         (setCursor): compute also ix_
12079         (setCursorFromCoordinates): set also ix.
12080
12081         * lyxcursor.h: added ix_ and helper functions.
12082
12083         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12084
12085         * buffer.C (insertStringAsLines): dont break paragraph if the this
12086         paragraph is inside an inset which does not permit it!
12087
12088         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12089         also with no chars on this paragraph.
12090         (paintRowText): only paint stuff if it's inside the workarea!
12091
12092         * paragraph.C (breakParagraph): honor keepempty flag and break the
12093         paragraph always below not above.
12094
12095         * BufferView2.C (unlockInset): update the paragraph layout on inset
12096         unlock as we changed paragraph in such a case.
12097
12098         * lyxfind.C (LyXFind): clear the former selection if not found!
12099
12100         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12101         again called in insertChar().
12102
12103         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12104         an inset which uses the whole row!
12105         (rightMargin): ditto.
12106         (insertChar): force a rebreak if we inserted an inset!
12107
12108 2002-03-28  Herbert Voss  <voss@lyx.org>
12109
12110         * lyxlength.[Ch]: add inBP() to get the right PS-point
12111         units (BigPoint). With inPixels we have rounding errors
12112
12113 2002-04-11  Juergen Vigna  <jug@sad.it>
12114
12115         * text2.C (setCursorFromCoordinates): set iy to the right value.
12116         (setCursor): add check if row->previous exists!
12117
12118         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12119         an old float_type as this was the case in the old code!
12120
12121         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12122
12123         * BufferView2.C (showLockedInsetCursor): use iy
12124         (fitLockedInsetCursor): ditto
12125
12126         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12127         locked insets as there we have the right value now.
12128
12129         * lyxcursor.C: added iy_ variable and iy functions to set to the
12130         baseline of cursor-y of the locked inset.
12131
12132         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12133         (setCursor): fixed for insets which need a full row.
12134
12135         * text.C (rowLastPrintable): don't ignore the last space when before
12136         an inset which needs a full row.
12137         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12138         as last character of a row when before a inset which needs a full row.
12139
12140 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12141
12142         * version.C.in: update date
12143
12144         * text2.C (fullRebreak): try to always return true and see what
12145         happens...
12146
12147 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12148
12149         * MenuBackend.C (expand): use Floating::listName
12150
12151         * FloatList.C (FloatList): add listName argument to the built-in
12152         floats
12153
12154         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12155         text associated with the float.
12156
12157 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12158
12159         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12160
12161 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12162
12163         * ShareContainer.h: add a couple of missing typenames.
12164
12165 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12166
12167         * lyxrc.C (getDescription): use _() correctly rather than N_().
12168
12169 2002-03-28  Herbert Voss  <voss@lyx.org>
12170
12171         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12172         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12173
12174 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12175
12176         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12177         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12178
12179 2002-03-29  Juergen Vigna  <jug@sad.it>
12180
12181         * lyxfunc.C (dispatch): add a missing fitCursor call.
12182
12183         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12184         it was scrolled by a cursor move, so return the bool status.
12185
12186         * BufferView.C (fitCursor): return the bool flag also to the outside
12187         world as this is needed.
12188
12189         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12190
12191         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12192         call the edit() as it is not needed (and wrong) IMO.
12193         (workAreaButtonPress): set the screen_first variable before evt.
12194         unlock the inset as this may change screen_first and then we have
12195         a wrong y position for the click!
12196
12197 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12198
12199         * MenuBackend.C (expand): another translation that I missed
12200
12201 2002-03-28  Juergen Vigna  <jug@sad.it>
12202
12203         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12204
12205         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12206
12207 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12208
12209         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12210
12211         * MenuBackend.C (expand): fix export/view/update when there is no
12212         document open.
12213
12214 2002-03-27  Herbert Voss  <voss@lyx.org>
12215
12216         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12217         and text%
12218
12219 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12220
12221         * bufferview_funcs.C (currentState): only show paragraph number
12222         for is DEVEL_VERSION is set.
12223
12224         * lyxfunc.C (dispatch): put warning in INFO channel
12225
12226         * MenuBackend.C (expand): translate the name of floats
12227
12228         * FloatList.C (FloatList): mark the float names for translation
12229
12230         * converter.C (convert): use LibScriptSearch
12231
12232 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12233
12234         * MenuBackend.C (defaults): fix default menu (we might as well get
12235         rid of it...)
12236
12237 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12238
12239         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12240         directory.
12241
12242 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12243
12244         * lyxvc.C: reorder includes.
12245
12246 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12249           properly
12250
12251 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * CutAndPaste.C: change layouts earlier on paste
12254           to avoid crashing when calling getFont()
12255
12256 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12257
12258         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12259         irritating #error.
12260
12261 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12262
12263         * WorkArea.C: remove 'Pending' debug message.
12264
12265         * most files: ws cleanup
12266
12267         * buffer.[Ch]: ws changes
12268
12269         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12270
12271 2002-03-21  Juergen Vigna  <jug@sad.it>
12272
12273         * tabular.C (SetMultiColumn): collapse also the contents of the
12274         cells and set the last border right. Added a Buffer const * param.
12275
12276 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12277
12278         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12279         linking or not.
12280
12281 2002-03-19  Juergen Vigna  <jug@sad.it>
12282
12283         * text2.C (clearSelection): reset also xsel_cache.
12284
12285         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12286         where it needs to be called (John tells us to do so too :)
12287         (selectionLost): reset sel_cache.
12288
12289         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12290
12291 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12292
12293         * text2.C (setCursorIntern): put debuging code in INSETS channel
12294
12295 2002-03-19  André Pönitz <poenitz@gmx.net>
12296
12297         * lyxfunc.C: tiny whitespace change
12298
12299 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12300
12301         * ToolbarDefaults.C (init):
12302         * LyXAction.C (init):
12303         * commandtags.h:
12304         * BufferView_pimpl.C (Dispatch):
12305         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12306
12307 2002-03-19  Allan Rae  <rae@lyx.org>
12308
12309         * exporter.C (Export): removeAutoInsets before doing anything else.
12310         While I've just introduced a dependency on BufferView this really is
12311         the best place to clean the buffer otherwise you need to cleanup in
12312         a dozen places before calling export or cleanup in a dozen functions
12313         that export calls.
12314
12315         * converter.C (runLaTeX):
12316         (scanLog): Better handling of removeAutoInsets and screen updates.
12317
12318         * lyxfunc.C (dispatch): small whitespace changes
12319
12320 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12321
12322         * WorkArea.C (C_WorkAreaEvent): return a value.
12323         (event_cb): return 1 if we handled the event, 0 otherwise.
12324
12325         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12326
12327 2002-03-18  Juergen Vigna  <jug@sad.it>
12328
12329         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12330         (GetAdditionalWidth): ditto.
12331         (RightLine): ditto.
12332         (LeftLine): ditto.
12333
12334         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12335         inset if we're there actually (probably not used right now but this
12336         is the direction to go for unifying code).
12337         (paste): disable code to clear the selection.
12338
12339         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12340         inside an InsetText and move the check further up as it is in the
12341         wrong place.
12342
12343         * text2.C (pasteSelection): set a selection over the pasted text.
12344
12345 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12346
12347         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12348         and libgraphics to build on Cygwin.
12349
12350 2002-03-15  Juergen Vigna  <jug@sad.it>
12351
12352         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12353         inserting an Inset into the paragraph. I know this is not the best
12354         fix but we already use current_view in CutAndPaste so we will remove
12355         all of it's using at the same time.
12356
12357         * buffer.C (sgmlError): deactivated function till it is rewritten in
12358         the right mode, now it can create problems.
12359
12360         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12361         before accessing it.
12362
12363 2002-03-14  Juergen Vigna  <jug@sad.it>
12364
12365         * undo_funcs.C (textHandleUndo): do the right thing when updating
12366         the inset after the undo/redo.
12367
12368         * text2.C (setCursor): just some testcode for #44 not ready yet.
12369
12370         * undo_funcs.C (textHandleUndo): set the next() and previous()
12371         pointers of the paragraph to 0 before deleting otherwise we have
12372         problems with the Paragraph::[destructor].
12373
12374         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12375         on a paragraph insertion.
12376
12377 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12378
12379         * buffer.C (asciiParagraph): use += operator for char append to
12380         string.
12381
12382         * paragraph.C (getFontSettings): compare >= not just >
12383         (highestFontInRange): ditto
12384         (setFont): ditto
12385
12386 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12387
12388         * paragraph.C: change several algorithm to be more appripriate for
12389         the problem domain. This is lookip in FontList and in the InsetList.
12390
12391 2002-03-13  André Pönitz <poenitz@gmx.net>
12392
12393         * commandtags.h:
12394         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12395
12396 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12397
12398         * commandtags.h:
12399         * LyXAction.C:
12400         * lyxfunc.C:
12401         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12402
12403 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12404
12405         * Painter.C (display): anon helper function, adjust code for this
12406         change.
12407         (pixmap): remove function.
12408
12409         * Painter.h: remove private display variable.
12410
12411         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12412
12413 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12414
12415         * WorkArea.[Ch]: remove figinset_canvas cruft.
12416
12417 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12418
12419         * lyxtextclass.C (operator): add one item cache optimization.
12420
12421         * bufferlist.h: doxy changes
12422
12423         * bufferlist.C: ws changes
12424
12425         * DepTable.[Ch] (ext_exist): place const in the right spot.
12426
12427         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12428         call resizeInsets.
12429         (workAreaExpose): call resizeInsets when the with BufferView changes.
12430         (Dispatch): adjust for protectedBlank removal
12431         (specialChar): call updateInset if the insert went ok.
12432
12433         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12434         specialChar instead.
12435
12436         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12437
12438         * BufferView.h: doxy change
12439
12440         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12441
12442         * lyxtextclass.C (operator[]): remove non-const version
12443         (defaultLayout): remove non-const version
12444
12445 2002-03-12  Juergen Vigna  <jug@sad.it>
12446
12447         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12448         did resize the LyXText too.
12449
12450         * buffer.C (readLyXformat2): set layout information on newly allocated
12451         paragraphs.
12452
12453         * tabular.C (OldFormatRead): set layout information on the paragraph.
12454
12455 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12456
12457         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12458
12459 2002-03-11  Juergen Vigna  <jug@sad.it>
12460
12461         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12462         plainly wrong.
12463         (resizeCurrentBuffer): force also the insets to resize themselfes.
12464         (moveCursorUpdate): fixed up for InsetText.
12465
12466 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12467
12468         * commandtags.h:
12469         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12470         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12471         value of Dialogs::tooltipsEnabled().
12472         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12473
12474 2002-03-08  Juergen Vigna  <jug@sad.it>
12475
12476         * BufferView_pimpl.C (updateInset): update inset inside inset also
12477         if it isn't inside theLockingInset().
12478
12479 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12480
12481         * buffer.C (asciiParagraph): redo some of the word and line length
12482         handling.
12483         (getLists): look for Caption instead of caption.
12484
12485 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12486
12487         * buffer.C (Buffer): initialize niceFile to true
12488         (makeLaTeXFile):
12489         (makeLinuxDocFile):
12490         (makeDocBookFile): make sure niceFile is true on exit
12491
12492 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12493
12494         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12495
12496 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12497
12498         * LyXSendto.C: remove.
12499         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12500         * lyx_gui.C: remove now-redundant comment.
12501         * ColorHandler.h: remove forward declaration of class WorkArea.
12502         * lyxfunc.C: remove #include "WorkArea.h".
12503
12504 2002-03-07  Juergen Vigna  <jug@sad.it>
12505
12506         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12507         got moved away with the DEPM and also set the inset_owner always
12508         right which before could have been omitted.
12509
12510 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12511
12512         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12513         wanted layout is not found.
12514
12515 2002-03-07  Juergen Vigna  <jug@sad.it>
12516
12517         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12518
12519 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12520
12521         * paragraph.C (breakParagraph): use default layout not layout of
12522         prev paragraph.
12523         (Paragraph): clear ParagraphParameters.
12524
12525 2002-03-06  Juergen Vigna  <jug@sad.it>
12526
12527         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12528         otherwise it would not be a valid lenght. Fixed a special case in
12529         the minipage compatibility read where we end the document with a
12530         minipage.
12531
12532         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12533         was set as it could be 0 for InsetTexts first entry.
12534
12535 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12536
12537         * paragraph.C (writeFile): if layout is empty write out
12538         defaultLayoutName().
12539
12540         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12541         file without named layout we set layout to defaultLayoutName().
12542
12543 2002-03-06  Juergen Vigna  <jug@sad.it>
12544
12545         * CutAndPaste.C (copySelection): set layout for new paragraph.
12546
12547         * text.C (prepareToPrint): leave ERT inset left aligned
12548         (leftMargin): don't indent paragraphs inside ERT insets
12549
12550 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12551
12552         * paragraph.C (breakParagraph): dont call clear do the work manually
12553
12554         * paragraph.[Ch] (clear): remove function
12555
12556 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12557
12558         * paragraph.C (Paragraph): dont call clear, the work has already
12559         been done.
12560
12561         * lyxtextclass.C (operator): assert if n is empty
12562
12563         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12564         work manually instead.
12565
12566 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12567
12568         * BufferView_pimpl.C: protect selectionLost against text == 0
12569
12570 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12571
12572         * text.C (breakParagraph): fix a setting layout to '0' problem.
12573
12574 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12575
12576         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12577         final location of file, for the included files, and graphics.
12578
12579 2002-03-05  Juergen Vigna  <jug@sad.it>
12580
12581         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12582
12583 2002-03-04  Juergen Vigna  <jug@sad.it>
12584
12585         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12586
12587         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12588         last column of multicolumn cells.
12589         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12590
12591 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12592
12593         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12594         file if it doesn't go to a temporary file.
12595
12596         * buffer.C (sgmlOpenTag):
12597         (sgmlCloseTag):  remove extra newline insertion.
12598
12599 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12600
12601         * text.C (getRowNearY): comment out debug msg
12602
12603 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12604
12605         * text2.C: first -> first_y
12606
12607         * text.C (getRowNearY): add some attemts at a possible
12608         optimization, not working.
12609
12610         * tabular.[Ch]: add BufferParams to several function so that newly
12611         created paragraph can be initialized to he default layotu for the
12612         buffers textclass.
12613
12614         * tabular-old.C (ReadOld): add buf->params to call of Init
12615
12616         * screen.C: rename text->first to text->first_y
12617
12618         * paragraph.C (breakParagraph): always set layout in the broken
12619         paragraph
12620
12621         * lyxtextclass.C (Read): remove lowercase
12622         (hasLayout): ditto
12623         (operator): ditto
12624         (delete_layout): ditto
12625
12626         * lyxtext.h: rename first -> first_y
12627
12628         * lyxlayout.C (Read): remove lowercase
12629         (name): ditto
12630         (setName): ditto
12631         (obsoleted_by): ditto
12632
12633         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12634
12635         * buffer.C (insertErtContents): add params are to InsetERT
12636         (parseSingleLyXformat2Token): add code to check if a paragraphs
12637         layout really exist.
12638         (parseSingleLyXformat2Token): add params to several inset
12639         constructors
12640         (asciiParagraph): remove lowercase, do the layout comparisons with
12641         no_case
12642
12643         * BufferView_pimpl.C (cursorNext): first -> first_y
12644         (resizeCurrentBuffer): first -> first_y
12645         (updateScrollbar): first -> first_y
12646         (scrollCB): first -> first_y
12647         (workAreaMotionNotify): first -> first_y
12648         (workAreaButtonPress): first -> first_y
12649         (checkInsetHit): first -> first_y
12650         (cursorPrevious): first -> first_y
12651         (cursorNext): first -> first_y
12652         (Dispatch): add buffer_->params to severl inset contructors
12653
12654 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12655
12656         * lyxlayout.C (Read): remove some debug info that I forgot.
12657
12658         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12659         clean up the code slightly.
12660         (makeLinuxDocFile): ditto
12661         (makeDocBookFile): ditto
12662
12663         * text2.C: layout as string
12664
12665         * text.C: layout as string
12666
12667         * paragraph_pimpl.C: layout as string
12668
12669         * paragraph.[Ch]: layout as string
12670
12671         * lyxtextclasslist.[Ch]: layout as string
12672
12673         * lyxtextclass.[Ch]: layout as string
12674
12675         * lyxtext.h: layout as string
12676
12677         * lyxlayout.[Ch]: layout as string
12678
12679         * lyx_cb.C: layout as string
12680
12681         * bufferview_funcs.C: layout as string
12682
12683         * bufferparams.C: layout as string
12684
12685         * buffer.C: layout as string
12686
12687         * LyXView.[Ch]: layout as string
12688
12689         * LaTeXFeatures.[Ch]: layout as string
12690
12691         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12692
12693         * BufferView_pimpl.C: change current_layout to string, remove
12694         lyx::layout_type.
12695         (Dispatch):
12696         (smartQuote):
12697         (insertInset):
12698         (workAreaButtonRelease): layout as string
12699
12700         * BufferView2.C (unlockInset): adjust
12701
12702         * vspace.C (asLatexCommand): use an explict temp variable.
12703
12704 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12705
12706         * Makefile.am: use FRONTEND_*
12707
12708 2002-03-01  Juergen Vigna  <jug@sad.it>
12709
12710         * tabular.C (SetWidthOfMulticolCell): changed to something better
12711         I hope but still work in progress.
12712         (recalculateMulticolumnsOfColumn): renamed function from
12713         recalculateMulticolCells as it is more appropriate now.
12714         (SetWidthOfCell): calculate multicols better.
12715
12716 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12717
12718         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12719
12720         * lyxfunc.C (processKeySym): print sequence also if it is
12721         `deleted' (complete)
12722
12723         * kbsequence.C (print): print sequence even if it is deleted
12724         (complete would be a better word, actually).
12725
12726         * lyxfunc.C (dispatch): print complete options after a prefix key
12727
12728         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12729
12730 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12731
12732         * text2.C (setCharFont): eliminate setCharFont code duplication.
12733
12734 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12735
12736         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12737         LFUN_TABULAR_FEATURE (bug #177)
12738
12739 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12740
12741         * Makefile.am: remove figure.h
12742
12743 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12744
12745         * Bufferview_pimpl.C:
12746         * CutAndPasteC:
12747         * LaTeX.C:
12748         * LyXSendto.C:
12749         * buffer.C:
12750         * bufferlist.C:
12751         * converter.C:
12752         * language.C:
12753         * lyxfunc.C:
12754         * lyxvc.C:
12755         * paragraph.C:
12756         * text.C:
12757         * text2.C: remove #include "lyx_gui_misc.h".
12758
12759         * LaTeX.C: added #include <cstdio>
12760
12761 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12762
12763         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12764         that the paragraph following this one can have.
12765
12766         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12767
12768         * vspace.C (asLatexCommand): fix bogus gcc warning
12769
12770         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12771
12772 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12773
12774         * text2.C (setLayout): get rid of redundant code
12775
12776 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12777
12778         * text2.C (incDepth): make sure depth cannot be increased beyond
12779         reasonable values.
12780
12781 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12782
12783         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12784         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12785
12786         * PainterBase.h (image):
12787         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12788         a LyXImage const *.
12789
12790 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12791
12792         * BufferView.C:
12793         * BufferView.h:
12794         * BufferView_pimpl.C:
12795         * BufferView_pimpl.h:
12796         * LaTeXFeatures.C:
12797         * LyXAction.C:
12798         * LyXView.C:
12799         * Makefile.am:
12800         * UpdateList.h:
12801         * UpdateList.C:
12802         * buffer.C:
12803         * figure.h:
12804         * figureForm.C:
12805         * figureForm.h:
12806         * figure_form.C:
12807         * figure_form.h:
12808         * lyx_cb.C:
12809         * lyx_gui.C:
12810         * lyx_gui_misc.C:
12811         * lyxfunc.C:
12812         * sp_base.h:
12813         * sp_ispell.h:
12814         * sp_pspell.h:
12815         * sp_spell.C: remove fig inset, and the crap house of
12816           cards that follows it
12817
12818 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12819
12820         * Makefile.am:
12821         * lyxserver.C:
12822         * os2_defines.h:
12823         * os2_errortable.h:
12824         * nt_defines.h: move .h into support/
12825
12826         * vms_defines.h: remove
12827
12828         * WorkArea.C: add space in debug output
12829
12830         * text2.C:
12831         * paragraph.C:
12832         * buffer.C: add WITH_WARNINGS
12833
12834         * vc-backend.h:
12835         * vc-backend.C:
12836         * bufferlist.C: s/retrive/retrieve/, add docs
12837
12838         * vspace.h:
12839         * vspace.C:
12840         * kbmap.h:
12841         * lyxlength.h:
12842         * lyxgluelength.h:
12843         * length_common.h:
12844         * chset.h:
12845         * chset.C: add docs
12846
12847         * lyxgui.C: add ID to X error handler
12848
12849         * lyxtestclass.c: fix typo
12850
12851 2002-02-26  Juergen Vigna  <jug@sad.it>
12852
12853         * tabular_funcs.C (write_attribute): changed so that some default
12854         attributes are not written at all.
12855         (getTokenValue): set default values before trying to read the
12856         value so we have the return value always set as default if we don't
12857         find the token we search for.
12858
12859         * tabular.C (Write): write bools as bools not as strings!
12860
12861 2002-02-22  Juergen Vigna  <jug@sad.it>
12862
12863         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12864         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12865
12866         * text.C (leftMargin): don't add an indent for paragraphs inside
12867         tabular cells (fix #208).
12868
12869 2002-02-21  José Matos  <jamatos@fep.up.pt>
12870
12871         * tabular.C (docBook): fixed support for long tables.
12872
12873 2002-02-20  Juergen Vigna  <jug@sad.it>
12874
12875         * text2.C (getFont): get the drawing font of the Inset if this
12876         paragraph is inside an inset (only important for InsetERT for now).
12877
12878         * buffer.C (insertErtContents): use new lanugage params in ERT
12879         constructor.
12880
12881         * CutAndPaste.C: commenting out seemingly uneeded code.
12882
12883 2002-02-19  Allan Rae  <rae@lyx.org>
12884
12885         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12886         Iterators might be simple to use but they also get invalidated.
12887         (removeAutoInsets): renamed saved cursor tracking variables and added
12888         some comments to clarify what everything does.
12889
12890 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12891
12892         * Chktex.C:
12893         * LaTeX.C:
12894         * LyXSendto.C:
12895         * converter.C:
12896         * lyx_cb.C:
12897         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12898         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12899
12900         * lyxfunc.C:
12901         * vc-backend.h: remove #include "support/syscall.h"
12902
12903         * LaTeX.C:
12904         * LyXSendto.C:
12905         * converter.C: rearrange #includes in Lars' approved fashion.
12906
12907         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12908         forward declare class Timeout in the header file.
12909
12910         * XFormsView.C: changes due to the above.
12911
12912         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12913         similar to LyXView.
12914
12915         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12916         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12917
12918 2002-02-18  José Matos  <jamatos@fep.up.pt>
12919
12920         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12921         insets contents.
12922
12923 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12924
12925         * a lot of small ws changes
12926         * add a lot of using std::XXX
12927         * use std construcs some places where approp.
12928         * use some exisint stuff from lyxfunctional where approp.
12929         * Make file changes to use partial linking (lets test this now...)
12930
12931 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12932
12933         * Chktex.C:
12934         * buffer.C:
12935         remove #include "support/syscontr.h" as it's redundant. Always has been.
12936
12937         * Chktex.C:
12938         * LaTeX.C:
12939         * LyXSendto.C:
12940         * converter.C:
12941         * lyx_cb.C:
12942         * vc-backend.C:
12943         change Systemcalls::System to Systemcalls::Wait and
12944         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12945         No change of functionality, just reflects the stripped down Systemcalls
12946         class.
12947
12948 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12949
12950         * debug.[Ch]: add a GRAPHICS type to the enum.
12951
12952 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12953
12954         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12955
12956         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12957         there is an inset.
12958
12959 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12960
12961         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12962         match the changes below.
12963
12964         * text2.C (toggleInset): if there is not editable inset at cursor
12965         position, try to see if cursor is _inside_ a collapsable inset
12966         and close it.
12967
12968 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12969
12970         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12971         document menu has a nice checkbox
12972
12973 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12974
12975         * lyxlength.C (asLatexString): change PW to output as percent of
12976         \textwidth.
12977
12978         * lengthcommon.C: change '%' to 't%'
12979
12980         * lyxfunc.C (dispatch): a few comments from Martin
12981
12982 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12983
12984         * WorkArea.h:
12985         * WorkArea.C:
12986         * BufferView_pimpl.h:
12987         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12988           the X selection.
12989
12990 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12991
12992         * vspace.C (inPixels): fix compiler warning
12993
12994 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12995
12996         * lyxfunc.C (getStatus): fix status message for disabled commands.
12997
12998 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12999
13000         * BufferView_pimpl.C: fix crash on close buffer
13001         during selection (#227)
13002
13003 2002-01-27  Herbert Voss  <voss@lyx.org>
13004
13005         * buffer.C: link old Figure to new graphic inset
13006
13007 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13008
13009         * FontLoader.C (getFontinfo): Change the latex font names in order
13010         to match the names of type1inst.
13011
13012 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13013
13014         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13015
13016         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13017         (extchanged): ditto
13018         (ext_exist): ditto
13019         (remove_files_with_extension): ditto
13020         (remove_file): ditto
13021         (write): ditto
13022
13023         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13024         document is smaller than the work area height. Do not initialize
13025         static variables to 0.
13026
13027 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13028
13029         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13030
13031         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13032         LFUN_LAYOUT_PARAGRAPHS.
13033
13034         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13035         tabular. It is possible to provide a possible cell, which will
13036         typically be the actcell from the corresponding insettabular
13037
13038         * lyxfunc.C (getStatus): small cleanup; disable
13039         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13040         true
13041
13042 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13043
13044         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13045
13046         * paragraph.C (startTeXParParams):
13047         (endTeXParParams): new methods. The LaTeX code to
13048         start/end paragraph formatting
13049         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13050         empty (fixes bug #200)
13051
13052         * vspace.C (inPixels): adapt to the change below
13053         (inPixels): [later] more cleanups (remove unused variables)
13054
13055         * lyxlength.C (inPixels): change to use a width and a height as
13056         parameter.
13057
13058 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13059
13060         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13061         Replaced with \paperwidth
13062
13063         * DepTable.C (insert): add std:: qualifier
13064
13065 2002-01-18  Allan Rae  <rae@lyx.org>
13066
13067         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13068         updated also?
13069
13070         * text.C (drawInset): Turned out I didn't know enough about how
13071         rebreaking worked.  This fixes most of the redraw problems.  I see
13072         an occasional cursor trail when a line is broken now and the cursor
13073         placement can seem out by a few pixels also after a rebreak.
13074
13075 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13076
13077         * buffer.C (parseSingleLyXformat2Token): update because minipage
13078         width is now a LyXLength
13079
13080         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13081
13082         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13083         math insets
13084
13085 2002-01-17  Juergen Vigna  <jug@sad.it>
13086
13087         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13088
13089         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13090         is set correctly and the inset is updated correctly.
13091
13092 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13093
13094         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13095         the beginning of the loop.
13096
13097 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13098
13099         * lyxrc.C: improve help for use_scalable_fonts
13100
13101 2002-01-17  Allan Rae  <rae@lyx.org>
13102
13103         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13104
13105 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13106
13107         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13108         make sure to set their inset_owner to the right value (bug #171)
13109
13110 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13111
13112         * DepTable.h
13113         * DepTable.C: Implement mtime checking to reduce time spent doing
13114         CRCs.
13115
13116 2002-01-16  Juergen Vigna  <jug@sad.it>
13117
13118         * tabular.C (GetAdditionalHeight): one of error fixed.
13119
13120         * lyxrc.C (output): small fix in writing use_pspell.
13121
13122 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13123
13124         * sp_base.h: #include LString.h
13125
13126 2002-01-16  Allan Rae  <rae@lyx.org>
13127
13128         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13129         Can someone check this please?
13130
13131         * text.C (drawInset): It was possible that p.row would be removed by
13132         breakAgainOneRow upsetting a few other settings.  There may be another
13133         small tweak possible by setting need_break_row = 0 when p.row has been
13134         removed but I don't know enough about the logic here.
13135
13136 2002-01-15  Allan Rae  <rae@lyx.org>
13137
13138         * text.C (insertChar): removed conditional truism.
13139
13140         * BufferView2.C (removeAutoInsets): More tweaks.
13141         cur_par_prev could be a stray pointer.  Check for trailing empty line
13142         in case last line was cur_par and only had an error inset on it.
13143
13144 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13145
13146         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13147         absolute
13148
13149         * vc-backend.C (most methods):
13150         * exporter.C (Export):
13151         * converter.C (convert):
13152         (runLaTeX):
13153         * LyXSendto.C (SendtoApplyCB):
13154         * lyxfunc.C (dispatch):
13155         (menuNew):
13156         (open):
13157         (doImport):
13158         * lyx_cb.C (AutoSave):
13159         (InsertAsciiFile):
13160         * BufferView_pimpl.C (MenuInsertLyXFile):
13161         * buffer.C (runChktex): use Buffer::filePath().
13162
13163         * buffer.h: rename filename to filename_; rename filepath to
13164         filepath_ and make it private
13165         (filePath): new method
13166
13167         * buffer.C (writeFile): use fileName()
13168         (getLatexName):
13169
13170         * lyx_main.C (init): fix starting  of LyX when the binary is a
13171         link from so,ewhere else.
13172
13173         * minibuffer.C: include <cctype> for isprint
13174
13175 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13176
13177         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13178         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13179         name clash with InsetCollapsable's width function.
13180
13181 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13182
13183         * lastfiles.C: include <iterator>
13184
13185 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13186
13187         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13188         std::count.
13189
13190         * buffer.C (makeLaTeXFile): ditto.
13191         Also make loop operation more transparent.
13192
13193 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13194
13195         * ToolbarDefaults.C: remove trailing comma closing namespace.
13196
13197         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13198
13199         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13200         as in WorkArea.
13201
13202         * trans.C (Load): comment out unused variable, allowed.
13203
13204 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13205
13206         * minibuffer.[Ch] (append_char): new method to recieve input from the
13207         drop-down completion browser. If a key was pressed, then recieve this
13208         char and append it to the existing string.
13209         (peek_event): modify the positioning data passed to the completion
13210         browser so that it can be placed above the minibuffer rather than below.
13211 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13212
13213         * LyXAction.C (init): alloe error-next for readonly documents.
13214
13215         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13216         count.
13217
13218 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13219
13220         * bufferlist.C (readFile): create the buffer _after_ checking that
13221         the file exists.
13222
13223         * lyxfunc.C (verboseDispatch): fix handling of arguments
13224
13225         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13226
13227         * lyxrc.C: use string::erase() instead of initializing to "".
13228
13229
13230 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13231
13232         * BufferView_pimpl.h:
13233         * BufferView_pimpl.C:
13234         * WorkArea.h:
13235         * WorkArea.C:
13236         * text2.C: tell X when we have made a selection for copying
13237
13238 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13239
13240         * BufferView_pimpl.C (MenuInsertLyXFile):
13241         * lyxfunc.C (menuNew):
13242         (open):
13243         (doImport): add shortcuts to directory buttons
13244
13245         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13246         open a float)
13247
13248         * lyxfunc.C (setStatusMessage):
13249         (getStatusMessage): new methods
13250         (getStatus):use setStatusMessage instead of setErrorMessage
13251         (dispatch): when function is disabled, set error message here
13252         [instead of in getStatus previously]
13253
13254         * BufferView_pimpl.C (workAreaButtonRelease): update
13255         toolbar/menubar here too.
13256
13257 2002-01-13  Allan Rae  <rae@lyx.org>
13258
13259         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13260         Now seems indestructible.  Remaining task is to audit all other
13261         code affected by deleteEmptyParagraphMechanism.  One small quirk
13262         left is that an empty document with an error in the preamble can
13263         be made to report an error but no error box appears.  I don't know
13264         where it goes.
13265         (removeAutoInsets): Improved comments.
13266
13267 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13268
13269         * Thesaurus.h:
13270         * Thesaurus.C: update for Aiksaurus 0.14
13271
13272 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13273
13274         * text2.C (firstParagraph): removed member function, all uses
13275         replaces with ownerParagraph
13276         (redoParagraphs): here
13277         (updateInset): here
13278         (toggleAppendix): here
13279         * BufferView2.C (insertErrors): here
13280         (setCursorFromRow): here
13281
13282 2002-01-13  Allan Rae  <rae@lyx.org>
13283
13284         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13285         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13286         There is still a way to segfault this although you may have to do this
13287         multiple times: Have an InsetERT with an unknown command in it.
13288         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13289         <down-arrow>, <Enter> again, View->DVI, BANG!
13290
13291         * text2.C (setCursor):
13292         (deleteEmptyParagraphMechanism):
13293         * lyxtext.h (setCursor):
13294         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13295         Making use of the return value may help fix other bugs.
13296
13297 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13298
13299         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13300
13301         * LyXView.C (updateMenubar): call MenuBar::update here
13302         (updateToolbar): but not here
13303         (showState): do not update toolbar/menubar
13304
13305         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13306         should need to care about that.
13307
13308         * lyxfunc.C (verboseDispatch): simplify a bit
13309         (getStatus): have a version which takes a pseudoaction, and
13310         another which requires a (kb_action,string).
13311
13312         * LyXAction.C (retrieveActionArg): make it work also when action
13313         is not a pseudo-action.
13314         (getActionName): simplify a bit
13315         (helpText):
13316
13317 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13318
13319         * lyxfunc.C (verboseDispatch): new families of methods with
13320         several ways to specify a command and a bool to indicate whether
13321         the command name and shortcut should be displayed in minibuffer
13322         (eventually, we could extend that to a finer bitmask like
13323         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13324         (dispatch): the pristine dispatch command which just, well,
13325         dispatchs! Note it still sets its result to minibuffer; I'm not
13326         sure we want that.
13327
13328         * lyxfunc.h: remove setHintMessage
13329
13330         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13331
13332 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13333
13334         * BufferView_pimpl.C (specialChar): delete new inset if we have
13335         not been able to insert it.
13336
13337         * kbmap.C: revert to using int instead of kb_action, since all we
13338         are dealing with is pseudo-actions.
13339
13340         * LyXAction.C (searchActionArg): change to return int instead of
13341         kb_action, since the result is a pseudoaction.
13342
13343 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13344
13345         * buffer.C (insertErtContents): Fix (partially) the font bug.
13346
13347 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13348
13349         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13350         as the other one is broken on my machine!
13351
13352 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13353
13354         * commandtags.h:
13355         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13356
13357 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13358
13359         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13360         reflect their actual use. Provide compatibility code for older lyxrc
13361         files.
13362
13363         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13364         FL_NORMAL_STYLE.
13365         change names of popup font variables in line with the changes to lyxrc.C
13366
13367 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13368
13369         * buffer.C (asciiParagraph): avoid outputing a word twice after
13370         an inset.
13371
13372         * lyxrc.C (getDescription): document that document_path and
13373         template_path can be empty.
13374
13375 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13376
13377         * LaTeXFeatures.C (getMacros):
13378         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13379
13380         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13381
13382         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13383         getPackages.
13384         (getPackages): rename feature "floats" to "float". Use an array to
13385         iterate over 'simple' features (i.e. just a \usepackage). Add
13386         handling of "amsmath" (renamed from "amsstyle").
13387
13388 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13389
13390         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13391         features list.
13392
13393 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13394
13395         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13396         FuncStaus::FuncStatus & FuncStaus::some_method().
13397
13398 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13399
13400         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13401         of the func_satus stuff. Edited and massaged in various ways by
13402         JMarc.
13403
13404         * lyxfunc.C (getStatus): use FuncStatus
13405
13406 2002-01-08  Juergen Vigna  <jug@sad.it>
13407
13408         * text.C (nextBreakPoint): use function Inset::isChar().
13409
13410         * paragraph.C (TeXOnePar): use function
13411         Inset::forceDefaultParagraphs.
13412
13413         * buffer.C (latexParagraphs): use function
13414         Inset::forceDefaultParagraphs.
13415
13416 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13417
13418         * lyx_gui.C (init): set the style of the menu popups to
13419         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13420
13421 2002-01-07  Juergen Vigna  <jug@sad.it>
13422
13423         * text.C (setHeightOfRow): small fix
13424         (prepareToPrint): don't look at alignment if we don't have the place
13425         for doing it.
13426
13427 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13428
13429         * box.C: New file. Move the Box methods and functions out of box.h,
13430         following Lars' suggestion.
13431
13432 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13433
13434         * box.h: #include "support/LOstream.h", needed for inlined function.
13435
13436         * lyxtextclass.C:
13437         * lyxtextclasslist.C: added some using std declarations.
13438
13439 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13440
13441         * box.h: make signed dimensions to allow insets wider than
13442           the screen (bug #162)
13443
13444         * BufferView_pimpl.C: add some insetHit debug
13445
13446 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13447
13448         * vc-backend.C: add FIXME
13449
13450 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13451
13452         * lyxfunc.C (getStatus): enable code for showing math font status
13453         in toolbar/menu.
13454
13455 2002-01-07  Juergen Vigna  <jug@sad.it>
13456
13457         * text.C (nextBreakPoint): removed debug output not needed anymore.
13458
13459 2002-01-06  Juergen Vigna  <jug@sad.it>
13460
13461         * text.C (nextBreakPoint): fixed up this function we had this bug
13462         since ever but now hopefully we break row better.
13463         (insertChar): we have to check if an inset is the next char as it
13464         could now happen that a large inset is causing a break.
13465
13466 2002-01-05  Juergen Vigna  <jug@sad.it>
13467
13468         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13469         if it doesn't like to be drawed.
13470
13471 2002-01-04  Juergen Vigna  <jug@sad.it>
13472
13473         * BufferView2.C (lockInset): forgot to set a cursor.
13474
13475         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13476
13477 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13478
13479         * FormMathsPanel.C:
13480         * FormMathsPanel.h
13481         * MathsSymbols.C:
13482         * form_maths_panel.C:
13483         * form_maths_panel.h:
13484         * form_maths_panel.fd: implemented sub- and super- buttons in math
13485         panel.
13486
13487         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13488         (or ^ space) to be used as in TeX (req'd by André).
13489
13490         * lyxfunc.C: Allow ^ and _ again to be used both as
13491         super/subscript (mathed) and as themselves (in text).
13492
13493 2002-01-03  Allan Rae  <rae@lyx.org>
13494
13495         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13496         "LyX" or the filename of the current buffer if it has one.  This is a
13497         modified form of John Levon's patch.
13498
13499         * XFormsView.C (setWindowTitle): also set icon title.
13500
13501         * LyXView.h (setWindowTitle): signature changed.
13502         * XFormsView.h (setWindowTitle): ditto.
13503
13504 2002-01-02  Juergen Vigna  <jug@sad.it>
13505
13506         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13507
13508 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13509
13510         * screen.C (topCursorVisible): introduce a temp var for
13511         text->cursor.row(), handle the case where this row is null. (kindo
13512         hachish)
13513
13514         * text2.C (setCursor): add a couple of asserts.
13515
13516         * paragraph.h (inset_iterator): add -> operator
13517
13518         * paragraph.[Ch] (autoDeleteInsets): remove member function
13519
13520         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13521         cursor pos correctly and handle inset deletion by itself.
13522         (insertErrors): move iterator declaration out of for expression
13523
13524         * lyxtextclass.C: add <algorithm>
13525
13526         * Makefile.am: added the new files to sources, removed layout.C
13527
13528         * layout.C: removed file
13529
13530         * layout.h: remove LYX_DUMMY_LAYOUT
13531
13532         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13533         layout.
13534
13535         * lyxlayout.[Ch]:
13536         * lyxtextclass.[Ch]:
13537         * lyxtextclasslist.[Ch]: new files
13538
13539         * include order changes to a lot of files, also changes because of
13540         the six new files.
13541
13542 2001-12-27  Juergen Vigna  <jug@sad.it>
13543
13544         * buffer.C (asciiParagraph): more fixes.
13545
13546         * tabular.C (ascii): make ascii export support export of only the
13547         data separated by a column-delimiter.
13548         (ascii): better support for ascii export.
13549
13550         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13551
13552 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13553
13554         * tabular_funcs.C: use a "using std::getline" instead of the
13555         previous fix from Angus (necessary for cxx + lyxstring)
13556
13557 2001-12-24  Juergen Vigna  <jug@sad.it>
13558
13559         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13560
13561         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13562         problems. First check a minipage also if we have some ert-contents
13563         (not only on par->size(), second set the right depth of the paragraph
13564         on the relink to the root-paragraph-list!
13565
13566         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13567         which then did not anymore update the main paragraphs on undo/redo!
13568
13569 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13570
13571         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13572         code. Support all font-changing funcs (even those which are not in
13573         menu currently). Support for reporting font settings in
13574         mathed (disabled until Andre provides a function on mathed's side).
13575
13576         * func_status.h (toggle): small helper function to set toggle
13577         state on a flag.
13578
13579 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13580
13581         * tabular_funcs.C: getline -> std::getline
13582
13583 2001-12-21  Juergen Vigna  <jug@sad.it>
13584
13585         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13586         accessed and could be 0 (I couldn't generate this but it seems
13587         Michael could!).
13588
13589 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13590
13591         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13592         * tabular_funcs.h: here and include iosfwd
13593
13594 2001-12-20  Juergen Vigna  <jug@sad.it>
13595
13596         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13597         inside inset but undo_par was.
13598
13599 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13600
13601         * Thesaurus.C: always include <config.h> in sources.
13602
13603         * Painter.h:
13604         * lyxlookup.h:
13605         * box.h: do not include <config.h> in header files
13606
13607         * text.C (paintLastRow): remove unused variable
13608
13609         * text.C (transformChar):
13610         (insertChar):
13611         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13612
13613         * Painter.C (text):
13614         * font.C (width): rewrite to use uppercase() instead of
13615         islower/toupper.
13616
13617         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13618
13619 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13620
13621         * lyxfind.C: clean up of find failure position change
13622
13623 2001-12-20  Juergen Vigna  <jug@sad.it>
13624
13625         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13626
13627         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13628         (TeXRow): added to LaTeX a single tabular row.
13629         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13630         (Latex): simplified and finally good LT-h/f support.
13631         (various_functions): just small adaptions for LT-h/f support.
13632
13633         * tabular_funcs.[hC]: added and moved here all not classfunctions
13634         of LyXTabular.
13635
13636 2001-12-19  Juergen Vigna  <jug@sad.it>
13637
13638         * tabular.[Ch]: better support for longtabular options (not finished
13639         yet!)
13640
13641 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13642
13643         * text.C (paintLastRow): use the label font instead of the font of
13644         the last character to compute the size of *_BOX. This makes more
13645         sense and avoids a crash with empty paragraphs.
13646         Use Painter::rectangle to draw EMPTY_BOX.
13647
13648 2001-12-19  Juergen Vigna  <jug@sad.it>
13649
13650         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13651         the paragraphs if the replaced paragraph is not the first one!
13652         Tried to delete not used paragraphs but does not work yet so for
13653         now it's inside #ifdef's and by default off!
13654
13655 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13656
13657         * MenuBackend.C: include "lyx_main.h" instead of declaring
13658         lastfiles (actually was declared as LastFiles* instead of a
13659         scoped_ptr).
13660
13661 2001-12-17  Juergen Vigna  <jug@sad.it>
13662
13663         * tabular.C (AppendColumn): applied John's fix
13664
13665 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13666
13667         * BufferView.h:
13668         * BufferView.C:
13669         * BufferView_pimpl.h:
13670         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13671
13672         * Makefile.am:
13673         * box.h: new start of class for above
13674
13675         * lyxfunc.C: ignore space-only minibuffer dispatches.
13676           Show the command name when it doesn't exist
13677
13678         * minibuffer.C: don't add empty lines to the history
13679
13680         * minibuffer.C: add a space on dropdown completion
13681
13682 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13683
13684         * text.C: fix line above/below drawing in insets
13685
13686 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13687
13688         * lyxlength.C (LyXLength): Initialize private variables.
13689
13690 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13691
13692         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13693         when inserting error insets.
13694
13695 2001-12-13  Juergen Vigna  <jug@sad.it>
13696
13697         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13698         actually sometimes the before-paragraph.
13699         (setUndo): don't clear the redostack if we're not actually undoing!
13700
13701 2001-12-06  Juergen Vigna  <jug@sad.it>
13702
13703         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13704         and fixed redoing of main paragraph, so we can use it now ;)
13705
13706         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13707
13708 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13709
13710         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13711         Juergen's request
13712
13713 2001-12-13  André Pönitz <poenitz@gmx.net>
13714
13715         * undostack.[Ch]:
13716         * undo_func.C: minor cleanup
13717
13718 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13719
13720         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13721         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13722         font in urw-fonts package which is marked as -urw-fontspecific and
13723         does not work (incidentally, changing the encoding in the
13724         fonts.dir of this package to -adobe-fontspecific fixes the
13725         problem).
13726
13727         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13728         is a crash when undoing first paragraph (Juergen, please take a
13729         look). THis does not mean the undo fix is wrong, just that it
13730         uncovers problems.
13731
13732         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13733         the (Paragraph*) version when needed instead of duplicating the
13734         code.
13735
13736         * text.C (workWidth): use Inset::parOwner to find out where the
13737         inset has been inserted. This is a huge performance gain for large
13738         documents with lots of insets. If Inset::parOwner is not set, fall
13739         back on the brute force method
13740
13741         * paragraph_pimpl.C (insertInset):
13742         * paragraph.C (Paragraph):
13743         (cutIntoMinibuffer): set parOwner of insets when
13744         inserting/removing them
13745
13746         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13747
13748 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13749
13750         * commandtags.h:
13751         * LyXAction.C:
13752         * lyx_main.C:
13753         * lyxfunc.C:
13754         * mathed/formulabase.C:
13755         * mathed/math_cursor.[Ch]:
13756         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13757
13758
13759 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13760
13761         * lyxlength.[Ch] (operator!=): new function
13762
13763 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13764
13765         * text.C (workWidth): use Inset::parOwner to find out where the
13766         inset has been inserted. This is a huge performance gain for large
13767         documents with lots of insets. If Inset::parOwner is not set, fall
13768         back on the brute force method
13769
13770         * paragraph_pimpl.C (insertInset):
13771         * paragraph.C (Paragraph):
13772         (cutIntoMinibuffer): set parOwner of insets when
13773         inserting/removing them
13774
13775         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13776
13777 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13778
13779         * tabular-old.C (getTokenValue):
13780         * tabular.C (getTokenValue):
13781         (write_attribute): new versions for LyXLength
13782         (everywhere): adjust the use of widths
13783
13784         * tabular.h: change the type of widths from string to LyXLength
13785
13786 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13787
13788         * paragraph.C: fixed missing line number count when exporting
13789         Environments to LaTeX file
13790
13791         * buffer.C: added informational message for checking line numbers.
13792
13793 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13794
13795         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13796         paragraph, do the 'double space' part, but not the 'empty
13797         paragraph' one.
13798
13799         * text.C (workWidth): small optimization
13800         (getLengthMarkerHeight): use minimal size for negative lengths.
13801
13802 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13803
13804         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13805
13806         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13807
13808 2001-12-11  André Pönitz <poenitz@gmx.net>
13809
13810         * FontLoader.C:
13811         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13812
13813 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13814
13815         * text2.C: keep selection on a setFont()
13816
13817 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13818
13819         * lyx_cb.C: another bv->text misuse, from insert label
13820
13821 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13822
13823         * kbsequence.h:
13824         * kbsequence.C: re-instate nmodifier mask
13825
13826 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13827
13828         * lyx_main.h: make lyxGUI private.
13829
13830 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13831
13832         * lyxfind.C: place the cursor correctly on failed search
13833
13834 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13835
13836         * text.C (getLengthMarkerHeight): for small heights, the arrows
13837         are not always on top/bottom of the text
13838         (drawLengthMarker): smaller arrows; take the left margin in
13839         account; draw also vfills.
13840         (paintFirstRow):
13841         (paintLastRow): remove special code for vfill and standard spaces,
13842         since everything is handled in drawLengthMarker now.
13843
13844 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13845
13846         * buffer.C (insertErtContents): try to handle font and language
13847         interaction a bit better.g
13848
13849         * ColorHandler.C (updateColor): change the hash to cover the whole
13850         LColor enum, ws cleanup
13851         (getGCLinepars): ditto
13852         (getGCLinepars): only lookup in the linecache once.
13853
13854 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13855
13856         * iterators.C (operator++): Make the iterator more robust
13857
13858         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13859         (John's patch)
13860         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13861
13862 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13863
13864         * lyxtext.h:
13865         * text.C: better added space drawing
13866
13867 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13868
13869         * LyXView.C:
13870         * BufferView2.C: fix layout combo update on inset unlock
13871
13872 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13873
13874         * Makefile.am: don't compile unused files
13875
13876 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13877
13878         * lyxfunc.C:
13879         * commandtags.h:
13880         * LyXAction.C: remove old LFUN_LAYOUTNO
13881
13882 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13883
13884         * paragraph_pimpl.h:
13885         * paragraph_pimpl.C: isTextAt() doesn't need font param
13886
13887 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13888
13889         * lyxlex.h:
13890         * lyxlex.C: little cleanup
13891
13892 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13893
13894         * BufferView_pimpl.C: fix insertAscii for insets
13895
13896 2001-12-05  Juergen Vigna  <jug@sad.it>
13897
13898         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13899         set the right font on the "multi" paragraph paste!
13900
13901 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13902
13903         * trans_decl.h:
13904         * trans_mgr.[Ch]:
13905         * trans.[Ch]:
13906         * lyxgluelength.C:
13907         * lyxlength.C: remove out-commented code.
13908
13909         * BufferView_pimpl:
13910         * CutAndPaste.C:
13911         * DepTable.C:
13912         * buffer.C:
13913         * chset.C:
13914         * lastfiles.C:
13915         * lyxlex.C:
13916         * lyxlex_pimpl.C:
13917         * lyxserver.C:
13918         * screen.C:
13919         * tabular-old.C:
13920         * tabular.C:
13921         * text.C:
13922         * trans_mgr.C:
13923         * vc-backend.C: change "while(" to "while ("
13924
13925         * lyxlength.[Ch]: add zero function to check if length is zero or
13926         not
13927         * lyxgluelength.C: use it
13928
13929 2001-12-05  Allan Rae  <rae@lyx.org>
13930
13931         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13932         Works for 2.95.3, from what I understand of Garst's reports this should
13933         work for other g++ versions.  We're screwed if the abs(int) definition
13934         changed between bugfix releases of gcc.
13935
13936 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13937
13938         * text.C: fix chapter label offset !
13939
13940 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13941
13942         * lyxtext.h:
13943         * text.C: fix hfill at end of line, clean up
13944
13945 2001-12-04  Juergen Vigna  <jug@sad.it>
13946
13947         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13948         that we force an update of the inset and it's owners if neccessary.
13949
13950 2001-12-03  Juergen Vigna  <jug@sad.it>
13951
13952         * text.C (rowLast): simplified code
13953
13954 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13955
13956         * lyxfunc.C: fix show options on timeout
13957
13958 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13959
13960         * screen.C (topCursorVisible): scroll half a page when the cursor
13961         reached top of bottom of screen
13962
13963 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13964
13965         * minibuffer.C: deactivate on loss of focus
13966
13967 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13968
13969         * vspace.[Ch] (operator!=): add operator.
13970
13971 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13972
13973         * BufferView_pimpl.C: refuse to open an inset when
13974         there's a selection.
13975
13976 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13977
13978         * BufferView_pimpl.C: allow to click on RHS of full row insets
13979
13980 2001-11-30  Juergen Vigna  <jug@sad.it>
13981
13982         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13983         insets for undo reasons.
13984
13985 2001-11-28  André Pönitz <poenitz@gmx.net>
13986
13987         * vspace.[Ch]: cosmetical changes
13988
13989 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13990
13991         * LyXAction.h:
13992         * LyXAction.C:
13993         * lyxfunc.h:
13994         * lyxfunc.C:
13995         * kbmap.h:
13996         * kbmap.C:
13997         * lyxrc.C:
13998         * kbsequence.h:
13999         * kbsequence.C: part re-write of old kb code
14000
14001         * Painter.C:
14002         * WorkArea.C: remove Lgb_bug_find_hack
14003
14004 2001-11-30  José Matos <jamatos@fep.up.pt>
14005
14006         * buffer.C (makeDocBookFile): add a comment to point a hack.
14007         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14008         Fixed a double write of labels.
14009
14010 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14011
14012         * LaTeX.C:
14013         * LaTeX.h Fixed bug in LaTeX class where it would not
14014         re-run latex if no depfiles were changed, but the .dvi was removed.
14015
14016 2001-11-28  André Pönitz <poenitz@gmx.net>
14017
14018         * all the files from the change on 2001/11/26:
14019         use lyx::layout_type instead of LyXTextClass::size_type
14020         use lyx::textclass_type instead of LyXTextClassList::size_type
14021
14022 2001-11-29  Juergen Vigna  <jug@sad.it>
14023
14024         * text.C: added support for paragraph::isFreeSpacing()
14025
14026         * buffer.C: same as above
14027
14028         * paragraph.h: inserted isFreeSpacing() function to enable
14029         FreeSpacing inside InsetERT.
14030
14031         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14032         of the paragraph's in the cut/copy buffer to 0!
14033
14034         * text2.C (removeRow): remove the assert as it can!
14035
14036         * lyxtext.h: added helper function firstRow returning firstrow and
14037         made firstrow private again.
14038
14039         * BufferView2.C (lockInset): don't relock if we're already locked!
14040
14041         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14042         the only paragraph.
14043         (removeRow): added Assert::(firstrow)
14044
14045         * debug.C: forgot to add INSETTEXT here.
14046
14047 2001-11-28  Juergen Vigna  <jug@sad.it>
14048
14049         * sp_spell.C (initialize): changed error text to more general
14050         spellchecker command use (not only ispell!)
14051
14052         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14053
14054         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14055
14056 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14057
14058         * vspace.C: initialise lyxgluelength on failure
14059
14060 2001-11-28  Allan Rae  <rae@lyx.org>
14061
14062         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14063         declaration & definition that looks like a function declaration.
14064
14065 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14066
14067         * BufferView2.C (copy):
14068         (copyEnvironment): do not clear the selection when doing a copy.
14069
14070         * text.C (paintFirstRow): compilation fix
14071
14072 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14073
14074         * tabular.C (Latex): correct line count when writing latex.
14075
14076 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14077
14078         * paragraph_pimpl.h:
14079         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14080           bug a bit
14081
14082 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14083
14084         * text.C:
14085         * LColor.h:
14086         * LColor.C: change vfillline->added_space
14087
14088         * text.C: add markers and text for added space
14089
14090         * vspace.C: fix comment
14091
14092 2001-11-28  André Pönitz <poenitz@gmx.net>
14093
14094         * paragraph.C: whitespace changes
14095         * all the other files from the change on 2001/11/26:
14096         change *::pos_type into lyx::pos_type
14097
14098 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14099
14100         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14101         language of the document when inserting error insets.
14102
14103 2001-11-26  André Pönitz <poenitz@gmx.net>
14104
14105         * BufferView_pimpl.[Ch]:
14106         *       CutAndPaste.C:
14107         * buffer.[Ch]:
14108         * lyxcursor.[Ch]:
14109         * lyxfind.C:
14110         * lyxfunc.C:
14111         * lyxrow.[Ch]:
14112         * paragraph.[Ch]:
14113         * paragraph_pimpl.[Ch]:
14114         * sp_spell.C:
14115         * text.C:
14116         * text2.C: reduce header dependencies, introduce type for positions
14117
14118 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14119
14120         * <various>: change to use Alert.h
14121
14122 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14123
14124         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14125         when encountering an unknown token.
14126         (readLyXformat2): Show an error message if there were unknown tokens.
14127
14128 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14129
14130         * BufferView2.C:
14131         * BufferView_pimpl.C:
14132         * buffer.C:
14133         * paragraph.h:
14134         * text.C:
14135         * text2.C: use par->isInset()
14136
14137 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14138
14139         * paragraph_pimpl.h:
14140         * paragraph_pimpl.C: cleanup
14141
14142 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14143
14144         * text2.C (removeRow):
14145         * text.C (setHeightOfRow): remove useless (and costly) call to
14146         getRow.
14147
14148 2001-11-20  Allan Rae  <rae@lyx.org>
14149
14150         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14151         Now need Inset*::checkInsertChar() to return true for appropriate
14152         cases so that the characters in the minibuffer will actually be
14153         inserted.
14154
14155 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14156
14157         * text.C: change the order of the includes.
14158         (workWidth): initialize it at once.
14159         (workWidth): make maxw unsigned
14160         (setHeightOfRow): remove unused variable (inset)
14161         (selectSelectedWord): remove unused variable (inset)
14162         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14163
14164 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14165
14166         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14167         server is not running.
14168         (openConnection):
14169         (closeConnection): add debug info when server is disabled.
14170
14171         * ColorHandler.C (getGCForeground): send debug message to GUI
14172         channel.
14173
14174         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14175
14176         * kbmap.C (bind): modify because return conventions of
14177         kb_sequence::parse have changed.
14178
14179         * kbsequence.C (parse): only ignore spaces and not any stupid
14180         control character. This avoids tests like s[i] <= ' ', which are
14181         guaranteed to fail with 8bit characters and signed chars.
14182         Change return code to string::npos when there have been no error
14183         (0 was a bad idea when error is at first character)
14184
14185 2001-11-14  José Matos  <jamatos@fep.up.pt>
14186
14187         * buffer.h:
14188         * buffer.C (simpleDocBookOnePar): removed unused argument.
14189
14190 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14191
14192         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14193         insets which are part of a word. Paragraph::isLetter takes care of
14194         that now. Use Paragraph::isInset to identify insets.
14195         (selectSelectedWord): do not test for hyphenation break.
14196
14197         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14198         that protected spaces are considered as spaces.
14199
14200         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14201         Inset::isLetter.
14202
14203 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14204
14205         * lyxserver.h:
14206         * lyxserver.C: fix it. and small cleanup.
14207
14208 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14209
14210         * BufferView_pimpl.C: use inline helpers
14211
14212         * LaTeXFeatures.h:
14213         * LaTeXFeatures.C: fix typos
14214
14215         * Spacing.h:
14216         * Spacing.C: move spacing_string into class
14217
14218         * ToolbarDefaults.C: move stuff into namespace anon
14219
14220         * layout.h: update enum
14221
14222         * lyxfunc.C: use better debug
14223
14224         * minibuffer.h: fix typo
14225
14226         * debug.h:
14227         * debug.C:
14228         * WorkArea.C: add and use Debug::WORKAREA
14229
14230         * lyxtext.h:
14231         * text.C:
14232         * text2.C: code re-organisation, inline helpers
14233
14234 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14235
14236         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14237         std::vector.empty().
14238
14239 2001-11-09  Allan Rae  <rae@lyx.org>
14240
14241         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14242         '\n's after tables.  Tabular and ERT inset work now makes this no
14243         longer necessary.
14244
14245 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14246
14247         * minibuffer.h:
14248         * minibuffer.C: fix crash, improve drop-down completion
14249
14250 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14251
14252         * lyxserver.h:
14253         * lyxserver.C: invalidate fd's when doing endPipe()
14254
14255 2001-11-08  José Matos  <jamatos@fep.up.pt>
14256
14257         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14258         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14259
14260         * paragraph.h:
14261         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14262
14263 2001-11-07  José Matos  <jamatos@fep.up.pt>
14264
14265         * buffer.h:
14266         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14267         const qualifier.
14268
14269         * buffer.C (sgmlOpenTag):
14270         * buffer.C (sgmlCloseTag): removed debug info.
14271
14272         * buffer.h (sgmlOpenTag):
14273         * buffer.h (sgmlCloseTag): made public.
14274
14275 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14276
14277         * buffer.C (saveParamsAsDefaults):
14278         * lyx_cb.C (MenuLayoutSave): remove
14279
14280         * LyXAction.C (init):
14281         * commandtags.h:
14282         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14283
14284 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14285
14286         * buffer.C (setPaperStuff): removed from here...
14287
14288         * bufferparams.C (setPaperStuff): ... and moved there.
14289
14290 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14291
14292         * minibuffer.h:
14293         * minibuffer.C:
14294         * XFormsView.C: add support for drop-down completion
14295
14296 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14297
14298         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14299         commands.
14300
14301 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14302
14303         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14304         disabled.
14305
14306 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14307
14308         * lyx_main.C: change ref to known bugs
14309
14310 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14311
14312         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14313         to work around older babel problems.
14314
14315 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14316
14317         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14318
14319 2001-10-24  Juergen Vigna  <jug@sad.it>
14320
14321         * tabular-old.C (ReadOld): below variable changes reflected.
14322
14323         * tabular.[Ch]: added ltType struct for longtable header/footer
14324         defines and changed all instances where they are used. Added
14325         future support for double top/bottom rows.
14326
14327 2001-10-24  José Matos  <jamatos@fep.up.pt>
14328
14329         * buffer.h (docbookHandleCaption):
14330         * buffer.C (docbookHandleCaption): removed unused function.
14331         (makeDocBookFile): moved docbook supported version to v4.1.
14332
14333 2001-10-24  José Matos  <jamatos@fep.up.pt>
14334
14335         * tabular.h:
14336         * tabular.C (docbookRow): new function to export docbook code of a row.
14337         (DocBook): now honors the longtable flags.
14338
14339 2001-10-23  José Matos  <jamatos@fep.up.pt>
14340
14341         * LaTeXFeatures.h:
14342         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14343         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14344
14345         * buffer.C (makeLinuxDocFile):
14346         (makeDocBookFile): reworked the preamble, more clean, and with
14347         support for lyx defined entities. Changed the document declaration
14348         to be more XML friendly.
14349
14350         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14351         if we need to output XML that should be done with a filter.
14352
14353 2001-10-22  Juergen Vigna  <jug@sad.it>
14354
14355         * sp_pspell.h (class PSpell): add alive function needed in the
14356         controller to see if the spellchecker could be started.
14357
14358 2001-10-22  Juergen Vigna  <jug@sad.it>
14359
14360         * buffer.C (insertStringAsLines): modify the font for inserting
14361         chars in certain conditions by calling checkInsertChar(font).
14362
14363 2001-10-19  Juergen Vigna  <jug@sad.it>
14364
14365         * text.C (workWidth): use getRow instead of wrong algorithm.
14366         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14367
14368 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14369
14370         * lyxserver.h:
14371         * lyxserver.C:
14372         * lyx_main.h:
14373         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14374
14375 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14376
14377         * text.C (workWidth): do not search for the exact row when
14378         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14379         optimization for big documents.
14380
14381 2001-10-18  Juergen Vigna  <jug@sad.it>
14382
14383         * text.C (workWidth): new function with added Inset * parameter.
14384
14385 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14386
14387         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14388
14389         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14390         change return type of getColumnNearX.
14391
14392
14393         * text.C (changeRegionCase): use uppercase/lowercase instead of
14394         toupper/tolower.
14395         (leftMargin):
14396         (rightMargin): simplify code by factoring out the uses of
14397         textclasslist.
14398         (labelFill):
14399         (numberOfHfills):
14400         (setHeightOfRow):
14401         (appendParagraph): use Paragraph::size_type
14402
14403 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14404
14405         * vspace.C (asLatexString): add a missing break
14406
14407 2001-10-15  Herbert Voss  <voss@perce.de>
14408
14409         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14410
14411 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14412
14413         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14414         is not available.
14415
14416 2001-10-10  André Pönitz <poenitz@gmx.net>
14417
14418         * lyxfunc.C: removed greek_kb_flag.
14419
14420 2001-10-10  Herbert Voss  <voss@perce.de>
14421
14422         * lyx_main.C: delete global string help_lyxdir.
14423
14424 2001-10-09  Herbert Voss  <voss@perce.de>
14425
14426         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14427
14428         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14429
14430         * lyx_main.C: added global string help_lyxdir.
14431
14432         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14433
14434 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14435
14436         * lyxrc.C (set_font_norm_type): support iso8859-4
14437
14438 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14439
14440         * LaTeX.C (deplog): add another regex for MikTeX
14441
14442 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14443
14444         * lyxrc.C (set_font_norm_type): support iso8859-3
14445
14446 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14447
14448         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14449
14450         * LaTeXFeatures.C: remove special case of french and index
14451
14452         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14453         before \begin{document}). This solves several incompatibilities.
14454
14455 2001-10-03  Garst Reese  <reese@isn.net>
14456
14457         * lyx_cb.C: change CheckTex error msg.
14458
14459 2001-10-03  José Matos  <jamatos@fep.up.pt>
14460
14461         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14462
14463 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14464
14465         * .cvsignore: update
14466
14467         * lyx_main.C (commandLineVersionInfo): use new style version info.
14468
14469         * buffer.C (writeFile):
14470         (makeLaTeXFile):
14471         (makeLinuxDocFile):
14472         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14473
14474         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14475
14476         * version.h: update to use stuff in version.C
14477
14478         * version.C.in: new file. Contains version information determined
14479         at compile time. This is a merging of version.h and
14480         version_info.h.in.
14481
14482 2001-10-03  Juergen Vigna  <jug@sad.it>
14483
14484         * BufferView_pimpl.C (update): don't change "dirty" status in
14485         updateInset call.
14486
14487 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14488
14489         * WorkArea.C (c-tor): re-position version string slightly.
14490
14491 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14492
14493         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14494         revert to previous code.
14495
14496         WorkArea.[Ch]: (show, destroySplash): methods removed.
14497
14498         WorkArea.C: rework code so that it's an amalgam of the codes before and
14499         after the splash screen was moved to WorkArea.
14500
14501 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14502
14503         * lyxrc.C (read):
14504         * vspace.C (inPixels):
14505         (lyx_advance):
14506         * kbmap.C (bind):
14507         * buffer.C (insertStringAsLines):
14508         (asciiParagraph): fix types to be large enough
14509
14510         * lyxlex_pimpl.h: change member status from short to int
14511
14512         * layout.h: fix type of endlabeltype
14513
14514         * kbmap.C (bind):
14515         * kbsequence.C (parse): change return type to string::size_type
14516
14517         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14518         variable
14519
14520         * Bullet.C (bulletSize):
14521         (bulletEntry): do not use short ints as parameters
14522
14523         * BufferView2.C (insertLyXFile): change a char to an int.
14524
14525         * WorkArea.C (WorkArea): remove unneeded floats in computation
14526
14527 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14528
14529         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14530
14531         * paragraph.C (asString): Do not ignore newline/hfill chars when
14532         copying to the clipboard.
14533
14534 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14535
14536         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14537         after a multi-line inset.
14538
14539 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14540
14541         * paragraph.C (validate): Set NeedLyXFootnoteCode
14542
14543 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14544
14545         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14546         and decrease-error to decrease.
14547
14548 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14549
14550         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14551         it more readable (should be equivalent)
14552
14553 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14554
14555         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14556
14557 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14558
14559         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14560         of a cursor (row, etc.) after a character has been deleted
14561         (deleteEmptyParagraphMechanism): call the method above on _all_
14562         cursors held by the LyXText when a double space has been
14563         detected/deleted.
14564
14565 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14566
14567         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14568         pixmap.
14569         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14570
14571         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14572         background. Use greyOut() and the new show() methods to toggle between
14573         the foreground and background. Add code to remove the splash after
14574         its initial showing.
14575
14576         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14577         (create_forms): no longer call Dialogs::showSplash.
14578
14579 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14580
14581         * .cvsignore: add version_info.h
14582
14583 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14584
14585         * version_info.h.in: new file
14586
14587         * Makefile.am: add version_info.h.in
14588
14589         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14590         version_info.h instead of VERSION_INFO
14591
14592 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14593
14594         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14595         The ERT inset now returns string().
14596
14597 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14598
14599         * lyxtext.h, text.C (selectNextWord): renamed as
14600         selectNextWordToSpellcheck.
14601
14602         * text.C (selectNextWordToSpellcheck): Modified to not select
14603         words inside an ERT inset.
14604
14605 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14606
14607         * lyx_cb.C (MenuLayoutSave): change a bit the question
14608
14609         * sp_base.h: include <sys/types.h>
14610
14611 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14612
14613         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14614
14615 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14616
14617         * several files: fix typos in user-visible strings
14618
14619 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14620
14621         * text2.C (pasteSelection): do not set the selection, since it
14622         will be cleared later. Actually, the intent was to fix the way the
14623         selection was set, but I figured rmoving the code was just as good.
14624
14625 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14626
14627         * FontLoader.C (available): Check if font is available without
14628         loading the font.
14629
14630 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14631
14632         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14633
14634 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14635
14636         * lyxrc.[Ch]: added display_graphics variable and associated code.
14637
14638 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14639
14640         * bufferparams.C (hasClassDefaults): new method. Returns true if
14641         the buffer parameters correspond to known class defaults
14642
14643 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14644
14645         * XFormsView.C (show): set minimum size to the main window.
14646
14647 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14648
14649         * text2.C (copySelection):
14650         (cutSelection):
14651         * lyxfind.C (LyXReplace):
14652         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14653         LyXText::selectionAsString.
14654
14655         * paragraph.C (asString): add "label" argument to the second form
14656
14657         * text2.C (selectionAsString): add "label" argument and pass it to
14658         Paragraph::asString.
14659
14660 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14661
14662         * lyx_main.C (commandLineHelp): remove version information
14663
14664 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14665
14666         * lyx_main.C: add -version commandline option
14667
14668 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14669
14670         * paragraph.h: make the optional constructor arg required instead.
14671         some modifications to other files because of this.
14672
14673         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14674
14675         * lyxserver.C (C_LyXComm_callback): make it static
14676
14677         * lyx_main.C (error_handler): make it static
14678
14679         * lyx_gui.C (LyX_XErrHandler): make it static
14680
14681         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14682
14683         * WorkArea.C: make the extern "C" methods static.
14684
14685         * Makefile.am (lyx_LDADD): simplify
14686
14687 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14688
14689         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14690         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14691
14692         * LyXAction.C (init):
14693         * lyxfunc.C (dispatch): associated code removal.
14694
14695 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14696
14697         * lyxfont.h (isSymbolFont): shut off warning
14698
14699         * text.C (setHeightOfRow):
14700         (getVisibleRow): fix crash with empty paragraphs which have a
14701         bottom line
14702
14703 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14704
14705         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14706         code.
14707
14708 2001-09-04  José Matos  <jamatos@fep.up.pt>
14709         * buffer.C
14710         * buffer.h
14711         * tabular.C (docbook): rename docBook method to docbook.
14712
14713 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14714
14715         * Makefile.am: add dependencies to main.o.
14716
14717 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14718
14719         * FontLoader.C (available): Return false if !lyxrc.use_gui
14720
14721 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14722
14723         * FontInfo.C (query):
14724         * converter.C (view):
14725         * importer.C (Import):
14726         * exporter.C (Export): Can not -> cannot.
14727
14728 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14729
14730         * BufferView_pimpl.C: allow to create index inset even if
14731           string is empty
14732
14733 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14734
14735         * buffer.C (getLists): replace boost::tie code with an explicit pair
14736         as boost::tie can break some compilers.
14737
14738         * iterators.h: Added a std:: declaration to the return type of
14739         ParIterator::size.
14740
14741 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14742
14743         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14744           case.
14745
14746 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14747
14748         * iterators.[Ch]: New files. Provide paragraph iterators.
14749
14750         * buffer.C (changeLanguage): Use paragraph iterators.
14751         (isMultiLingual): ditto
14752
14753         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14754
14755 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14756
14757         * FontLoader.C: Support for cmr font.
14758
14759 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14760
14761         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14762         (available): New method.
14763
14764         * FontInfo.C (getFontname): Use scalable fonts even when
14765         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14766         found.
14767
14768 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14769
14770         * converter.C (Formats::view): reverted! Incorrect fix.
14771
14772 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14773
14774         * converter.C (Formats::view): only output the -paper option
14775         if the dvi viewer is xdvi, thereby fixing bug #233429.
14776
14777 2001-08-23  Herbert Voss  <voss@perce>
14778
14779         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14780
14781 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14782
14783         * Spacing.h (Spacing): Set space to Default on in the default
14784         constructor.
14785
14786 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14787
14788         * vc-backend.h (RCS::versionString): add RCS to version
14789         (CVS::versionString): add CVS to version
14790
14791         * vc-backend.C (scanMaster): do not add CVS to version.
14792         (scanMaster): do not add RCS to version
14793
14794         * lyxvc.C (versionString): new method
14795
14796         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14797
14798 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14799
14800         * Spacing.C (set): initialize fval
14801
14802 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14803
14804         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14805         " or \.
14806
14807 2001-08-16  Juergen Vigna  <jug@sad.it>
14808
14809         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14810
14811 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14812
14813         * BufferView_pimpl.C:
14814         * figureForm.C:
14815         * lyxtext.h:
14816         * text2.C: setParagraph takes linespacing now
14817
14818 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14819
14820         * LyxAction.C: add internal LFUN_CITATION_INSERT
14821
14822         * LyXView.C: actually apply fix
14823
14824         * bufferlist.C: fix open non-existent file
14825
14826         * lyxfind.C: fix indentation
14827
14828         * lyxfunc.C: remove unneeded assert, fix typo
14829
14830 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14831
14832         * MenuBackend.C: use "Floatname List"
14833
14834 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14835
14836         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14837         when converting LaTeX layout to insetERT.
14838         Generate a non-collapsed float when reading old float
14839
14840 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14841
14842         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14843         ERT insets.
14844
14845 2001-08-13  Juergen Vigna  <jug@sad.it>
14846
14847         * text.C (fill): return 0 instead of 20 as this seems to be the more
14848         correct value.
14849
14850 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14851
14852         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14853         lyxrc.font_norm.
14854
14855 2001-08-13  Juergen Vigna  <jug@sad.it>
14856
14857         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14858         casesensitive off.
14859         (SearchBackward): comment out the unlocking of the inset_owner this
14860         should not be needed!
14861
14862 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14863
14864         * Many files: Remove inherit_language, and add latex_language
14865
14866         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14867         collapsible insets.
14868
14869 2001-08-10  Juergen Vigna  <jug@sad.it>
14870
14871         * text.C (prepareToPrint): fixed hfill-width in draw!
14872
14873         * BufferView2.C (selectLastWord): save the selection cursor as this
14874         now is cleared in the function LyXText::clearSelection!
14875
14876 2001-08-08  Juergen Vigna  <jug@sad.it>
14877
14878         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14879         BACKSPACE type functions.
14880
14881         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14882         is only cutted from the document but not put in the cut-buffer, where
14883         still the old stuff should be.
14884
14885         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14886
14887         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14888
14889         * tabular.C (SetWidthOfCell): fixed special case where the width
14890         was not updated!
14891         (LeftLine): handle '|' in align_special.
14892         (RightLine): ditto
14893         (LeftAlreadyDrawed): ditto
14894         (SetWidthOfCell): ditto
14895
14896 2001-08-07  Juergen Vigna  <jug@sad.it>
14897
14898         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14899
14900 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14901
14902         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14903         * lyxlex.[hC]: ditto
14904
14905 2001-08-06  Juergen Vigna  <jug@sad.it>
14906
14907         * text.C (getVisibleRow): fix up row clearing a bit.
14908
14909 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14910
14911         * minibuffer.C: make sure the X server sees the changes in the input.
14912
14913 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14914
14915         * paragraph.C (getFont): split into...
14916         (getLabelFont): this
14917         (getLayoutFont): and this
14918         * paragraph_pimpl.C (realizeFont): calling this
14919
14920         * text2.C (getFont): split into...
14921         (getLayoutFont): this
14922         (getLabelFont): and this
14923         (realizeFont): all three calling this
14924
14925         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14926         files where used.
14927
14928 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14929
14930         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14931
14932 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14933
14934         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14935         layouts from the Quote inset insertion.
14936
14937 2001-08-03  Juergen Vigna  <jug@sad.it>
14938
14939         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14940
14941         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14942         only if status not is already CHANGED_IN_DRAW (second level).
14943
14944         * text.C (draw): don't set the need_break_row when inside an
14945         InsetText LyXText.
14946
14947 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14948
14949         * buffer.C (parseSingleLyXformat2Token): handle more latex
14950         conversion cases.
14951
14952         * bufferview_funcs.[hC]: change function names to
14953         begin with small char, adjust other files.
14954
14955 2001-08-02  André Pönitz <poenitz@gmx.net>
14956
14957         * lyxfunc.C:
14958         BufferView_pimpl.C: remove broken special code for math-greek
14959
14960 2001-08-02  Juergen Vigna  <jug@sad.it>
14961
14962         * BufferView_pimpl.C (update): redone this function so that we
14963         update the text again if there was a CHANGE_IN_DRAW.
14964
14965         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14966         (drawFromTo): added a new internal bool which is used by draw() and
14967         redraw() function.
14968         (general): some cursor drawing problems fixed.
14969
14970 2001-08-01  Juergen Vigna  <jug@sad.it>
14971
14972         * lyxfind.C (LyXFind): fixed
14973         (SearchForward): ditto
14974         (SearchBackward): ditto
14975
14976         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14977         spurius drawing of the cursor in the main area.
14978
14979         * text2.C (status): small fix which could lead to a segfault!
14980         (clearSelection): remove unneeded BufferView param.
14981
14982 2001-08-01  André Pönitz <poenitz@gmx.net>
14983
14984         * lyxfunc.C: small change due to changed mathed interface
14985
14986 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14987
14988         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14989
14990 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14991
14992         * lyxfunc.c: fail gracefully if file doesn't exist
14993
14994         * LyXSendto.C:
14995         * buffer.C:
14996         * lyxfunc.C:
14997         * BufferView_pimpl.C: IsDirWriteable() proto changed
14998
14999         * LyXView.C: fix updateWindowTitle() to store the last title
15000
15001 2001-07-31  Juergen Vigna  <jug@sad.it>
15002
15003         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15004         the font (wrong since using of Paragraph::highestFontInRange).
15005
15006         * paragraph.C (highestFontInRange): added a default_size parameter.
15007
15008         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15009         (setHeightOfRow): reformat
15010
15011 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15012
15013         * converter.[hC] + affected files: move to (inital-char)lowercase
15014         function names.
15015
15016         * ParagraphParameters.C (ParagraphParameters): remove commented code
15017
15018         * PainterBase.[Ch]: remove commented code
15019
15020         * LaTeXFeatures.h: add "bool floats" for float.sty
15021
15022         * LaTeXFeatures.C (LaTeXFeatures): init floats
15023         (require): handle float
15024         (getPackages): do it with floats
15025
15026 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15027
15028         * BufferView_pimpl.C (Dispatch): improve handling of
15029         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15030
15031         * commandtags.h: #include lyxfont.h here temporarily to avoid
15032         keybinding bug.
15033
15034         * bufferlist.h: include LString.h here.
15035
15036 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15037
15038         * text2.C (getStringToIndex): new method.
15039
15040 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15041
15042         * *: Reduced header file dependencies all over.
15043
15044 2001-07-30  Baruch Even  <baruch@lyx.org>
15045
15046         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15047
15048 2001-07-29  Baruch Even  <baruch@lyx.org>
15049
15050         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15051
15052 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15053
15054         * ParameterStruct.h (endif): add a default constructor to make
15055         sure that all variables is initialized.
15056
15057         * ParagraphParameters.C (ParagraphParameters): adjust
15058
15059 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15060
15061         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15062         index; also, check that there is something to index, and that it
15063         does not span over several paragraphs.
15064         (doubleClick): use WHOLE_WORD_STRICT for double click.
15065
15066         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15067
15068         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15069         scheme.
15070
15071 2001-07-26  Baruch Even  <baruch@lyx.org>
15072
15073         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15074         an InsetFig figure, backwards compatible reading of old figure code.
15075
15076 2001-07-27  Juergen Vigna  <jug@sad.it>
15077
15078         * text2.C: font.realize function adaption.
15079
15080         * text.C (draw): add a warnings lyxerr text if needed.
15081
15082         * layout.C: font.realize function adaption.
15083
15084         * language.C: add inherit_language and implement it's handlings
15085
15086         * bufferview_funcs.C (StyleReset): remove language parameter from
15087         font creation (should be language_inherit now).
15088
15089         * bufferparams.C (writeFile): handle ignore_language.
15090
15091         * paragraph.C (getFontSettings): the language has to be resolved
15092         otherwise we have problems in LyXFont!
15093
15094         * lyxfont.C (lyxWriteChanges): added document_language parameter
15095         (update): removed unneeded language parameter
15096
15097         * paragraph.C (validate): fixed wrong output of color-package when
15098         using interface colors for certain fonts in certain environments,
15099         which should not seen as that on the final output.
15100
15101 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15102
15103         * BufferView_pimpl.C:
15104         * Thesaurus.h:
15105         * Thesaurus.C:
15106         * Makefile.am:
15107         * commandtags.h:
15108         * LyXAction.C: add thesaurus support
15109
15110         * lyxfind.h:
15111         * lyxfind.C: add "once" parameter, for thesaurus, to not
15112           move to the next match
15113
15114 2001-07-26  Juergen Vigna  <jug@sad.it>
15115
15116         * lyxfont.C (realize): honor ignore_language too!
15117         (resolved): ditto.
15118
15119         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15120
15121         * text.C (draw): one place more for ignore_language to not draw
15122         itself!
15123
15124 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15125
15126         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15127
15128 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15129
15130         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15131         the minipage conversion problem.
15132
15133 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15134
15135         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15136         insert an inset.
15137
15138 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15139
15140         * BufferView.h: don't forward declare WorkArea
15141
15142         * BufferView.C: don't include WorkArea.h
15143
15144 2001-07-25  André Pönitz <poenitz@gmx.net>
15145
15146         * commandtags.h:
15147         * LyXAction.C:
15148         * lyxfunc.C:  new LFUN 'math-space'
15149
15150         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15151
15152 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15153
15154         * text2.C (toggleInset): call open/close
15155
15156 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15157
15158         * lyxfunc.C (dispatch): add debug for the disabled case
15159
15160         * font.C (buttonText): make similar to rectText
15161
15162         * buffer.C (readInset): comment out parsing of insetlist and
15163         insttheorem
15164
15165         * PainterBase.C (rectText): small correction
15166
15167         * BufferView_pimpl.C: comment out insettheorem and insetlist
15168         * LyXAction.C: ditto
15169         * commandtags.h: ditto
15170
15171 2001-07-24  Juergen Vigna  <jug@sad.it>
15172
15173         * text.C (draw): honor the ignore_language.
15174
15175         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15176
15177 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15178
15179         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15180         char inset.
15181
15182 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15183
15184         * lyxtext.h: remove unused (and unimplemented) methods
15185
15186 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15187
15188         * text.C (getVisibleRow): honor background color
15189
15190         * PainterBase.h:
15191         * Painter.h: remove default color argument for fillRectangle
15192
15193         * text.C (backgroundColor): new method
15194
15195 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15196
15197         * text.C (getVisibleRow): adjust
15198
15199         * font.[Ch] (rectText): new method, metrics
15200         (buttonText): new method, metrics
15201
15202         * PainterBase.[hC]: make rectText and buttonText always draw and take
15203         fewer paramteres.
15204
15205 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15206
15207         * ToolbarDefaults.C (read):
15208         * MenuBackend.C (read): allow escaping in all strings
15209
15210         * BufferView_pimpl.C (insertAndEditInset): new method.
15211         (Dispatch): use insertAndEditInset whenever appropriate.
15212
15213         * BufferView_pimpl.C (insertNote): removed
15214
15215         * BufferView_pimpl.C (smartQuote): new method, moved from
15216         BufferView; if an insetquote cannot be inserted, insert a '"'
15217         character instead.
15218
15219         * BufferView2.C: remove insertCorrectQuote();
15220
15221         * lyxfunc.C (getStatus): Add support for all remaingin
15222         inset-insert lfuns.
15223
15224         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15225
15226         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15227         command (necessary to pass " as parameter of self-insert.
15228
15229         * text.C (selectWordWhenUnderCursor):
15230         (selectWord): add word_location parameter
15231         (selectWordWhenUnderCursor): same + remove special code for word
15232         boundary.
15233         (selectNextWord): use kind() to guess type of insetspecialchar,
15234         not latex().
15235
15236         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15237         (insertErtContents): create ert insets as collapsed.
15238         (readInset): better compatibility code for Info inset.
15239
15240 2001-07-20  Juergen Vigna  <jug@sad.it>
15241
15242         * lyxfunc.C (dispatch): use always LyXFind now!
15243
15244         * text2.C (init): add a reinit flag so that the LyXText can be
15245         reinited instead of deleted and reallocated (used in InsetText).
15246
15247         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15248
15249         * text.C: ditto
15250
15251         * text2.C: ditto
15252
15253 2001-07-18  Juergen Vigna  <jug@sad.it>
15254
15255         * text.C (selectNextWord): handle insets inside inset by calling
15256         always the bv->text functions so that we can go up the_locking_inset!
15257
15258         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15259         in strange locations when inside an inset!
15260
15261         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15262         handling to include insets.
15263
15264         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15265
15266 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15267
15268         * LyXAction.C (init):
15269         * commandtags.h:
15270         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15271         LIGATURE_BREAK, since the name is so stupid.
15272
15273 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15274
15275         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15276         InsetInfos.
15277
15278         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15279
15280         * sp_form.[Ch]: remove.
15281
15282         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15283
15284         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15285         InsetInfo.
15286
15287         * src/buffer.C (readInset): ditto.
15288
15289 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15290
15291         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15292         menuSeparator(), endOfSentenceDot(), ldots() and
15293         hyphenationPoint(), which are therefore removed.
15294         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15295
15296         * LyXAction.C (init):
15297         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15298
15299         * paragraph.C (getWord): removed.
15300
15301         * BufferView_pimpl.C (Dispatch): use last word or selection for
15302         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15303
15304         * lyx_main.C (queryUserLyXDir): do not ask before creating
15305         user_dir, except if it has been named explicitely.
15306
15307 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15308
15309         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15310         a document of zero size.
15311
15312 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15313
15314         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15315         approriately in the c-tor and in require().
15316         (getPackages): output the appropriate LaTeX for natbib support.
15317
15318         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15319         variables "use_natbib" and "use_numerical_citations" when reading the
15320         LyX file.
15321         (readInset): read the various natbib cite commands.
15322         (validate): white-space change.
15323
15324         * bufferparams.[Ch]: new variables "bool use_natbib" and
15325         "bool use_numerical_citations".
15326         (writeFile): output them in the LyX file.
15327
15328 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15329
15330         * lyxfunc.C (getStatus): add support for all the inset insertion
15331         commands.
15332
15333         * text2.C (insertInset):
15334         * paragraph.C (insetAllowed):
15335         * BufferView_pimpl.C (insertInset): update to take in account the
15336         renaming of insertInsetAllowed
15337
15338         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15339
15340         * text2.C (getInset): new method. returns inset at cursor position.
15341
15342         * BufferView_pimpl.C (Dispatch): changes because of this.
15343
15344         * LyXAction.C (init): rename open-stuff to inset-toggle.
15345
15346         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15347
15348         * text2.C (toggleInset): renamed from openStuff; use
15349         Inset::open().
15350
15351 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15352
15353         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15354
15355         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15356
15357 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15358
15359         * buffer.C (readLyXformat2): Add filename to the error dialog
15360
15361 2001-07-18  Juergen Vigna  <jug@sad.it>
15362
15363         * tabular.C (GetCellNumber): put an assert here instead of the check!
15364
15365 2001-07-17  Juergen Vigna  <jug@sad.it>
15366
15367         * BufferView_pimpl.C (toggleSelection): adapted too.
15368
15369         * text.C (selectNextWord): adapted for use with insets.
15370         (selectSelectedWord): ditto
15371
15372 2001-07-17  Juergen Vigna  <jug@sad.it>
15373
15374         * sp_spell.C (PSpell): fix initialitation order.
15375
15376 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15377
15378         * paragraph.C: spacing
15379
15380 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15381
15382         * sp_spell.C: repair language selection for pspell
15383
15384 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15385
15386         * lyxfunc.h: change more methods to begin with lower char.
15387
15388 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15389
15390         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15391         for unknown layouts.
15392
15393 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15394
15395         * buffer.C (readLyXformat2): Generate an error dialog if there are
15396         unknown layouts.
15397
15398 2001-07-16  Juergen Vigna  <jug@sad.it>
15399
15400         * sp_spell.C: always compile ISpell part.
15401
15402         * lyxrc.C: added use_pspell entry and it's handling.
15403
15404 2001-07-13  Juergen Vigna  <jug@sad.it>
15405
15406         * sp_spell.C: removed double includes.
15407
15408 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15409
15410         Consistent use of Lsstream.h:
15411         * Lsstream.h: added using std::stringstream for consistencies sake.
15412
15413         * buffer.C: removed using std::stringstream
15414
15415         * lyxfont.C (stateText):
15416         * paragraph.C (asString):
15417         * text.C (selectNextWord, selectSelectedWord):
15418         * text2.C (setCounter):
15419         * vspace.C (asString, asLatexString):
15420         std::ostringstream -> ostringstream.
15421
15422 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15423
15424         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15425         * commandtags.h: add LFUN_HELP_ABOUTLYX
15426         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15427
15428 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15429
15430         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15431         cursorToggle()
15432         * lyx_gui_misc.C: remove spellchecker
15433         * lyxfunc.C: showSpellchecker
15434         * sp_base.h: added
15435         * sp_ispell.h: added
15436         * sp_pspell.h: added
15437         * sp_spell.C: added
15438         * sp_form.[Ch]: removed
15439         * spellchecker.[Ch]: removed
15440
15441 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15442
15443         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15444         is set.
15445         (simpleTeXSpecialChars): Simply print the input character without
15446         any special translation if pass_thru is set.
15447
15448         * layout.h: Added bool pass_thru to layout class for being able to
15449         implement pass through of a paragraph for Literate Programming.
15450
15451         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15452         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15453         * layout.C (Read): add "passthru" to list of layout tags and add
15454         code to set the pass_thru boolean when it is read.
15455
15456 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15457
15458         * trans_decl.h: remove allowed from KmodInfo
15459
15460         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15461         remove allowed code
15462         (Load): adjust
15463
15464         * paragraph_pimpl.C (erase): use boost::prior
15465
15466         * Painter.C (text): use data() instead of c_str() when length is
15467         also provided.
15468         * WorkArea.C (putClipboard): ditto
15469         * font.h (width): ditto
15470
15471         * BufferView2.C: use it-> instead of (*it). for iterators
15472         * texrow.C: ditto
15473         * paragraph_pimpl.C: ditto
15474         * paragraph.C: ditto
15475         * minibuffer.C: ditto
15476         * language.C: ditto
15477         * kbmap.C: ditto
15478         * encoding.C: ditto
15479         * counters.C: ditto
15480         * converter.C: ditto
15481         * chset.C: ditto
15482         * Variables.C: ditto
15483         * TextCache.C: ditto
15484         * MenuBackend.C: ditto
15485         * LyXAction.C: ditto
15486         * LColor.C: ditto
15487         * FloatList.C: ditto
15488         * DepTable.C: ditto
15489         * ColorHandler.C (LyXColorHandler): ditto
15490
15491 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15492
15493         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15494
15495         * text2.C (openStuff): reintroduce this method (which had been
15496         nuked in NEW_INSETS frenzy).
15497
15498         * lyxfunc.C (Dispatch): when an action has not been handled, use
15499         its name in the error message, not its number.
15500
15501         * paragraph.C (inInset): change method name to begin with lowercase.
15502
15503         * undo_funcs.C:
15504         * text2.C: updates because of this.
15505
15506 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15507
15508         * ToolbarDefaults.C (add): add spaces in error message
15509
15510 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15511
15512         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15513         (readLyXformat2): rename return_par to first_par, use lyxlex's
15514         pushToken and remove the manual push handling.
15515         (parseSingleLyXformat2Token): add another ert comp. variable:
15516         in_tabular, rename return_par to first_par. handle newlines better
15517
15518 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15519
15520         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15521
15522 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15523
15524         * text2.C (getParFromID): removed
15525
15526         * buffer.C (getParFromID): new method moved form lyxtext.
15527         * BufferView2.C (insertErrors): adjust
15528         (setCursorFromRow): adjust
15529         * BufferView_pimpl.C (restorePosition): adjust
15530         * lyxfunc.C (Dispatch): adjust
15531         * undo_funcs.C (textUndo): adjust
15532         (textRedo): adjust
15533         (textHandleUndo): adjust
15534         (textHandleUndo): adjust
15535
15536 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15537
15538         * buffer.C: up' the LYX_FORMAT
15539
15540         * lyxfont.h: turn NO_LATEX on as default
15541
15542         * buffer.C (insertErtContents): new methods of tex style compability.
15543         (parseSingleLyXformat2Token): use it several places.
15544         * tabular.C (OldFormatRead): and here
15545
15546 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15547
15548         * text2.C: remove some commented code.
15549         reindent file.
15550
15551         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15552         * trans.C: changes because of the above.
15553
15554 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15555
15556         * text2.C (setCounter): Fix counters bug with bibliography layout.
15557
15558 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15559
15560         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15561         own member functions
15562         (simpleTeXSpecialChars): ditto
15563
15564 2001-07-06  Juergen Vigna  <jug@sad.it>
15565
15566         * a lot of files: changed the access to LyXText::status and the
15567         call of undo-functions.
15568
15569         * undo.[Ch]: added a inset_id to the undo informations.
15570
15571         * undo_funcs.[Ch]: added and moved here all undo functions.
15572
15573         * lyxtext.h: give the status enum a weight, made status_ a private
15574         variable and made accessor functions for it, removed the whole bunch
15575         of undo-functions as they are now in their own file, make some
15576         functions publically available. Added function ownerParagraph with
15577         int parameter.
15578
15579         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15580         made InInset() a const function, added getParFromID() function.
15581
15582         * buffer.[Ch]: added const version for inset_iterator functions,
15583         added getInsetFromID() function.
15584
15585         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15586         changed undo functions for new version.
15587
15588 2001-07-05  Juergen Vigna  <jug@sad.it>
15589
15590         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15591         unknow mechanism does not call the proper constructor but only this
15592         one also if I request the other!?
15593
15594 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15595
15596         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15597
15598         * text2.C (LyXText): use initialization lists.
15599
15600         * lyxtext.h (Selection): initialize set_ and mark_
15601         (init): remove method
15602
15603 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15604
15605         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15606
15607 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15608
15609         * screen.[Ch]: change method names to begin with lowercase
15610
15611         * BufferView_pimpl.C (updateScrollbar): simplify further and
15612         hopefully make it a bit faster.
15613
15614 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15615
15616         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15617         calling directly xforms functions.
15618
15619         * Painter.C (Painter):
15620         * lyx_cb.C (MenuWrite):
15621         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15622         fl_display.
15623
15624         * lyx_gui.C: remove bogus guiruntime extern declaration.
15625
15626 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15627
15628         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15629         in NEW_INSETS
15630         (redoDrawingOfParagraph): ditto
15631         (redoParagraphs): ditto
15632         (cutSelection): don't create a object for CutAndPaste use the
15633         static method directly
15634         (pasteSelection): ditto
15635
15636         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15637         LyXview (+ rename)
15638
15639 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15640
15641         * modifications to some other files because of this.
15642
15643         * Makefile.am (lyx_SOURCES): add XFormsView
15644
15645         * XFormsView.[Ch]: new files
15646
15647         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15648         the main window. Move the gui dependent stuff to XFormsView
15649
15650 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15651
15652         * tabular.C (GetCellInset): update cur_cell also in the row/col
15653         version of this function.
15654
15655         * lyxfunc.C: no need to include figure_form.h here.
15656
15657         * FontLoader.h:
15658         * lyxfunc.h:
15659         * lyxscreen.h:
15660         * text2.C:
15661         * lyxvc.C: no need to include forms.h here.
15662
15663 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15664
15665         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15666
15667         * lyxfunc.C (Dispatch):
15668         * Spacing.C (set):
15669         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15670         constructor argument.
15671
15672 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15673
15674         * paragraph.C (Paragraph): dont't clear, and just set layout.
15675         (makeSameLayout): use params's copy contructor.
15676
15677         * ParagraphParameters.[Ch] (makeSame): delete method
15678
15679 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15680
15681         * Variables.[Ch]: fix indentation, rename set to isSet
15682
15683 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15684
15685         * lyxfunc.C (Dispatch): fix typo
15686
15687 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15688
15689         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15690         upper_bound.
15691
15692         * bufferlist.C: include assert.h for emergencyWrite().
15693
15694 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15695
15696         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15697           give up at last (bug #425202) !
15698
15699 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15700
15701         * lyx_gui_misc.C:
15702         * sp_form.h:
15703         * sp_form.C:
15704         * spellchecker.h:
15705         * spellchecker.C: strip spellchecker options and bring up
15706           preferences tab instead
15707
15708 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15709
15710         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15711         the istringstream constructor
15712
15713 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15714
15715         * paragraph.C (getLayout): fix return value
15716
15717         * paragraph.h: do not declare getLayout as inline.
15718
15719         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15720
15721 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15722
15723         * lyxcursor.h (operator<): new func
15724         (operator>): new func
15725         (operator>=): new func
15726         (operator<=): new func
15727
15728         * text.C (changeCase): use selection.start and selection.end
15729         (changeRegionCase): require from to be <= to. Require par to be a
15730         valid paragraph.
15731
15732         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15733
15734 2001-06-27  Juergen Vigna  <jug@sad.it>
15735
15736         * text.C (cursorLeftOneWord): changed to return the cursor and added
15737         overlay with BufferView * parameter which calls this one.
15738         (getWord): added
15739         (selectWord): use new getWord function.
15740         (changeCase): renamed from changeWordCase as and extended to work
15741         also on selections.
15742
15743         * lyxtext.h: added enum word_location
15744
15745         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15746         changeCase as this operates now also on selections.
15747
15748 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15749
15750         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15751
15752         * many files: send debug output to Debug::INFO instead of
15753         Debug::ANY.
15754
15755         * converter.C (View):
15756         (Convert):
15757         (Move): send debug output to Debug::FILES instead of console.
15758
15759 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15760
15761         * lyxfunc.C (getStatus): use func_status
15762
15763         * func_status.h: new header, describing the results of
15764         LyXFunc::getStatus;
15765
15766         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15767         LFUN_MATH_HALIGN.
15768
15769 2001-06-25  The LyX Project  <jug@sad.it>
15770
15771         * buffer.C (sgmlOpenTag):
15772         (sgmlCloseTag):
15773         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15774
15775 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15776
15777         * text2.C: remove some dead code
15778
15779         * tabular.C (GetCellInset): store the last cell checked (gotten)
15780
15781         * tabular.h: add the helper for the speedup
15782
15783         * lyxtext.h: remove some dead code
15784
15785 2001-06-26  The LyX Project  <Asger>
15786
15787         * paragraph.C: Change export to LaTeX of alignment to
15788         \begin{center} and family for better roundtrip work with reLyX.
15789
15790         * Tune the math drawing a bit.
15791
15792 2001-06-25  The LyX Project  <Asger>
15793
15794         * LColor.C (LColor): New color for math background. New color
15795         for buttons.
15796
15797 2001-06-25  The LyX Project  <jug@sad.it>
15798
15799         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15800
15801         * lyxfunc.C (Open):
15802         * bufferlist.C (newFile): do not restrict to files ending with
15803         .lyx
15804
15805         * BufferView_pimpl.C (MenuInsertLyXFile):
15806
15807 2001-06-24  The LyX Project  <jug@sad.it>
15808
15809         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15810         of compare_no_case
15811
15812 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15813
15814         * lyxtext.h: rename most methods to begin with a small char.
15815         Lots of changes because of this.
15816
15817         * paragraph.C (Paragraph): do not call fitToSize
15818         (erase): call Pimpl::erase
15819         (insertChar): call Pimpl::insertChar
15820         (insertInset): call Pipl::insertInset
15821         (breakParagraph): do not call fitToSize
15822         (breakParagraphConservative): do not call fitToSize
15823         (fitToSize): remove method
15824
15825         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15826
15827 2001-06-24  The LyX Project  <Asger>
15828
15829         * Fix Qt compilation^2
15830
15831 2001-06-24  The LyX Project  <jug@sad.it>
15832
15833         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15834         depthHook(getDepth()-1).
15835
15836         * paragraph.h:
15837         * ParagraphParameters.h:
15838         * ParameterStruct.h: change type of depth to unsigned int ==
15839         depth_type. Many adaptations to other files before of that.
15840
15841 2001-06-24  The LyX Project  <Asger>
15842
15843         * Fix Qt compilation.
15844
15845 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15846
15847         * paragraph.h: renamed several methods to begin with small letter.
15848         several changes to many parts of the code because of this.
15849
15850 2001-06-23  The LyX Project  <jug@sad.it>
15851
15852         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15853         rewritten to discard all double spaces when KeepEmpty is off
15854         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15855         to only handle newlines but not fiddle with spaces and friends.
15856
15857         * lyxfunc.C (MenuNew): when doing 'new from template', use
15858         template_path as default directory
15859
15860 2001-06-23  The LyX Project  <Asger>
15861
15862         * Clean-up of header file includes all over
15863         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15864
15865 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15866
15867         * paragraph.h: renamed from lyxparagraph.h
15868
15869 2001-06-23  Asger  <lyx@violet.home.sad.it>
15870
15871         * Buffer.h: Removed Buffer::resize
15872         * BufferList.h: Removed BufferList::resize
15873         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15874         the document lazily when we change the width, or the font settings.
15875
15876 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15877
15878         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15879
15880 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15881
15882         * buffer.h: remove out of date comment
15883
15884 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15885
15886         * lyxscreen.h:
15887         * screen.C: fix "theoretical" GC leak
15888
15889 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15890
15891         * LaTeX.C (scanAuxFile):
15892         (deplog): remove trailing \r when reading stream (useful under
15893         win32)
15894
15895 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15896
15897         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15898         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15899         and BufferView::theLockingInset(Inset*), so should use them and not
15900         access bv_->text->the_locking_inset directly.
15901
15902         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15903
15904 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15905
15906         * Makefile.am:
15907         * tex-defs.h: remove old unused file
15908
15909 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15910
15911         * BufferView_pimpl.C: fix typo, remove minibuffer message
15912           when buffer has loaded
15913
15914 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15915
15916         * lyxfunc.C (Dispatch): use stringstream
15917         (MenuNew): use stringstream
15918         (Open): use stringstream
15919
15920         * importer.C (Import): use stringstream
15921
15922         * bufferview_funcs.C (CurrentState): use stringstream
15923
15924         * LaTeX.C (run): use stringstream
15925
15926         * BufferView_pimpl.C (savePosition): use stringstream
15927         (restorePosition): use stringstream
15928         (MenuInsertLyXFile): use stringstream
15929
15930 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15931
15932         * BufferView.C:
15933         * Bullet.C:
15934         * ColorHandler.C:
15935         * FontInfo.C:
15936         * FontLoader.C:
15937         * LColor.C:
15938         * LaTeXFeatures.C:
15939         * Painter.C:
15940         * gettext.C:
15941         * lyx_gui_misc.C:
15942         * lyxserver.C:
15943         * vspace.C: removed // -*- C++ -*- as first line.
15944
15945         * lyxfind.h:
15946         * version.h: added // -*- C++ -*- as first line.
15947
15948 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15949
15950         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15951
15952         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15953         of string
15954
15955 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15956
15957         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15958         of floats.
15959
15960 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15961
15962         * gettext.C: include LString.h even when --disable-nls is on.
15963
15964 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15965
15966         * converter.h (Get): changed argument type from int to
15967         FormatList::size_type to avoid unnecessary conversion.
15968
15969         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15970         before using it.
15971
15972 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15973
15974         * gettext.h: include LString.h even when --disable-nls is on.
15975
15976 2001-06-07  Juergen Vigna  <jug@sad.it>
15977
15978         * text.C (BreakAgain): subst spaces with tabs.
15979
15980         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15981         (resizeInsetsLyXText): set force on resizeLyXText.
15982
15983 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15984
15985         * gettext.h (gettext_init):
15986         (locale_init): use a real definition instead of a macro
15987
15988 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15989
15990         * Bufferview_pimpl.C:
15991         * LColor.h:
15992         * LColor.C: further lcolor tidies
15993
15994 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15995
15996         * BufferView_pimpl.C (updateScrollbar): simplify.
15997
15998         * BufferView2.C: don't include insets/insetinfo.h, change
15999         prototype for insertInset and call the Pimpl version. let
16000         updateInset call Pimpl version.
16001
16002         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16003         gotoInset to BufferView::Pimpl
16004
16005 2001-06-01  Juergen Vigna  <jug@sad.it>
16006
16007         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16008         inside a LockingInset (is the update needed at all?).
16009
16010 2001-05-31  Juergen Vigna  <jug@sad.it>
16011
16012         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16013         here not the old one otherwise how should we compare it afterwards
16014         if it's the same!
16015
16016 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16017
16018         * lyxfont.C:
16019         * tabular.C:
16020         * tabular-old.C:
16021         * FontInfo.C: bring C functions into global namespace when
16022         necessary
16023
16024 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16025
16026         * LString.h: make sure config.h has been loaded before LString.h.
16027
16028         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16029         (one for each char read by EatLine!).
16030
16031         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16032         variables.
16033
16034 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16035
16036         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16037         to the same as the par we break from
16038
16039 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16040
16041         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16042
16043         * MenuBackend.C (expand): also create menu entries for wide
16044         versions of the floats.
16045
16046         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16047
16048         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16049
16050         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16051         frontends/Makefile.am
16052
16053         * text2.C: adjust
16054         * text.C: adjust
16055
16056
16057         * tabular.C (getTokenValue): add std::
16058
16059         * tabular-old.C (getTokenValue): add std::
16060         (getTokenValue): ditto
16061         (getTokenValue): ditto
16062
16063         * screen.C (ToggleSelection): adjust
16064
16065         * lyxtext.h: put selection cursors inside a Selection struct.
16066
16067         * lyxfunc.C (moveCursorUpdate): adjust
16068
16069         * lyxfont.C (latexWriteStartChanges): add std::
16070
16071         * lyxfind.C: adjust
16072
16073         * font.h: delete with(char const *, LyXFont const &)
16074
16075         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16076
16077         * FontInfo.C (getFontname): add std::
16078
16079         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16080         (workAreaButtonPress): adjust
16081         (tripleClick): adjust
16082         (update): adjust
16083         (moveCursorUpdate): adjust
16084         (Dispatch): adjust
16085
16086         * BufferView2.C (gotoInset): adjust
16087
16088 2001-05-30  Juergen Vigna  <jug@sad.it>
16089
16090         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16091         to check pspell I add this as default as I now have new pspell
16092         libraries and they seem to use this.
16093
16094 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16095
16096         * text2.C (CutSelection): make the cursor valid before the call to
16097         ClearSelection.
16098
16099 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16100
16101         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16102         relied on 0 terminated strings and other horrors. Bug found due to
16103         the new assert in lyxstring!
16104
16105         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16106         KP_ keys.
16107
16108 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16109
16110         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16111         to latinkeys.bind.
16112
16113         * lyxfunc.C (processKeySym): change method of getting to the
16114         self-insert char.
16115
16116         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16117         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16118         * BufferView_pimpl.[Ch]: here as private methods.
16119
16120 2001-05-28  Juergen Vigna  <jug@sad.it>
16121
16122         * text.C (SetHeightOfRow): added the update() call again as it is
16123         needed to initialize inset dimensions!
16124
16125 2001-05-16  Juergen Vigna  <jug@sad.it>
16126
16127         * text2.C (SetCharFont): Add new function with BufferView * and
16128         bool toggleall parameters for setting insets internal fonts.
16129         (SetFont): Freeze the undo as we may change fonts in Insets and
16130         all this change should be inside only one Undo!
16131
16132         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16133         setting font's in insets as for them we have the SetFont function!
16134
16135 2001-05-15  Juergen Vigna  <jug@sad.it>
16136
16137         * text2.C (ClearSelection): to be sure we REALLY don't have any
16138         selection anymore!
16139
16140         * tabular.C (TeXCellPreamble): fixed the left border problem for
16141         multicolumn cells.
16142
16143 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16144
16145         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16146         dependancy file
16147
16148 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16149
16150         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16151         LFUN_BREAKPARAGRAPH.
16152
16153         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16154         help test to "internal only", similar for LFUN_INSERT_URL
16155
16156         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16157         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16158         auto_region_delete and deadkeys.
16159
16160 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16161
16162         * LColor.h:
16163         * LColor.C: remove some dead entries, tidy a little
16164
16165 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16166
16167         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16168         commented code.
16169         (Dispatch): implement LFUN_ESCAPE
16170
16171         * commandtags.h: add LFUN_ESCAPE
16172
16173         * LyXAction.C (init): add entry for LFUN_ESCAPE
16174
16175         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16176         Remove commented code.
16177         (insertNote): moved here
16178         (open_new_inset): moved here
16179
16180         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16181         BufferView_pimpl
16182
16183 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16184
16185         * kbmap.C (findbinding): clean it up and make it work correctly.
16186
16187         * lyx_main.C (init): do not pass argc and argv as parameters
16188
16189 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16190
16191         * buffer.C: fix path for OS/2 & Win32
16192
16193         * lyx_gui.C:
16194         * lyx_main:
16195         * lyx_main.C: Added os:: class.
16196
16197         * os2_defines.h: update
16198
16199 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16200
16201         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16202         better by trying again with reduced state.
16203
16204 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16205
16206         * lyxrc.C (read): print error about invalid key sequence only when
16207         debugging (because not all latinX keysyms are known to some X
16208         servers)
16209
16210         * kbsequence.C (getiso): add a few std:: qualifiers
16211         (getiso): comment out extra return statement.
16212
16213 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16214
16215         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16216         handling.
16217         (Dispatch): enhance the accent inset a bit. (not perfect)
16218
16219 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16220
16221         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16222
16223 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16224
16225         * bufferlist.C (emergencyWrite): fix assert() call
16226
16227 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16228
16229         * text.C (InsertChar): Added trivial patch to only send the "you
16230         can not do multiple spaces this way" message once during a
16231         session.
16232
16233 2001-05-08  Baruch Even  <baruch@lyx.org>
16234
16235         * Makefile.am: Changed order of libraries to get LyX to link properly
16236         with the gnome frontend.
16237
16238 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16239
16240         * LaTeXFeatures.h: add a std:: qualifier
16241
16242 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16243
16244         * paragraph.C (String): use stringstream
16245
16246 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16247
16248         * paragraph.C (writeFile): remove footflag arg
16249
16250         * buffer.C (makeLaTeXFile): use stringstream
16251         (latexParagraphs): remove footnot gurba
16252
16253         * LaTeXFeatures.C (getPackages): use stringstream
16254         (getMacros): likewise
16255         (getTClassPreamble): likewise
16256         (getFloatDefinitions): new method
16257
16258         * paragraph.C (writeFile): reindent
16259         (Erase): reindent
16260
16261         * WorkArea.h: revert the xpos + etc changes.
16262
16263         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16264
16265         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16266
16267         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16268         (pasteSelection): likewise
16269         * text2.C (CreateUndo): likewise
16270
16271 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16272
16273         * minibuffer.C (peek_event): temporarily reduce the functionality
16274         of the minibuffer (to allow args on lfuns)
16275
16276         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16277         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16278
16279         * buffer.C (readInset): add compability reading of old float
16280         lists, add reading of new style float list.
16281         (readInset): avoid reevaluation of inscmd.getCmdName()
16282         (getLists): reindent
16283
16284         * MenuBackend.C (MenuItem): implement parsing of
16285         md_floatlistinsert and md_floatinsert.
16286         (expand::LastFiles): move initalizaton of iterators out of loop,
16287         avoid reevaluation.
16288         (expand::Documents): introduce typdedef vector<string> Strings,
16289         and use it.
16290         (expand::ExportFormats): introduce typedef vector<Format const *>
16291         Formats, and use it.
16292         (expand): implement FloatListInsert and FloatInsert.
16293
16294         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16295         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16296         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16297
16298         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16299         handling.
16300         (Dispatch::LFUN_FLOAT_LIST): implement
16301
16302 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16303
16304         * LaTeX.C (run): Fix problem with --export code.
16305
16306 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16307
16308         * BufferView.[Ch] (workarea): removed.
16309         (getClipboard) new method; wrapper for workarea()->getClipboard()
16310
16311         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16312         bug.
16313
16314         * WorkArea.h (width, height, xpos, ypos): These methods all
16315         returned the dimensions of the work_area sub-area of WorkArea,
16316         resulting in a position error if the WorkArea were resized. Now
16317         return the dimensions of the entire WorkArea.
16318
16319         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16320
16321 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16322
16323         * LaTeX.C (deplog): correct the syntax of regex reg1
16324
16325 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16326
16327         * undo.C: remove !NEW_INSETS cruft
16328
16329 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16330
16331         * text2.C: remove !NEW_INSETS cruft
16332
16333         * text.C: remove !NEW_INSETS cruft
16334
16335         * tabular.C: remove !NEW_INSETS cruft
16336
16337         * spellchecker.C: remove !NEW_INSETS cruft
16338
16339         * lyxtext.h: remove !NEW_INSETS cruft
16340
16341         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16342
16343         * lyxfunc.C: remove !NEW_INSETS cruft
16344
16345         * lyxfind.C: remove !NEW_INSETS cruft
16346
16347         * lyx_cb.C: remove !NEW_INSETS cruft
16348
16349         * figureForm.C: remove  !NEW_INSETS cruft
16350
16351         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16352
16353         * buffer.[Ch]: remove !NEW_INSETS cruft
16354
16355         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16356
16357         * CutAndPaste.C: remove !NEW_INSETS cruft
16358
16359         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16360
16361         * BufferView2.C: remove !NEW_INSETS cruft
16362
16363         * BufferView.h: remove !NEW_INSETS cruft
16364
16365 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16366
16367         * Lsstream.h: include LString.h before the sstream headers to
16368         fix problem with gcc 2.95.3 and lyxstring
16369
16370 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16371
16372         * lyx_main.C: add using directives when needed for C functions
16373         declared in std:: namespace.
16374
16375 2001-04-27  Juergen Vigna  <jug@sad.it>
16376
16377         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16378         (SetHeightOfRow): comment out the update call should not be needed!
16379
16380 2001-04-13  Juergen Vigna  <jug@sad.it>
16381
16382         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16383         (LyXTabular): tried to minimize operator= operations (and realized
16384         hopfully Lars wish).
16385
16386 2001-04-27  Juergen Vigna  <jug@sad.it>
16387
16388         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16389
16390 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16391
16392         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16393
16394         * buffer.C (readInset): hack to make listof algorithm work
16395
16396         * BufferView_pimpl.C: hack to make listof algorithm work
16397
16398 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16399
16400         * LyXAction.C: removed all !NEW_INSETS cruft
16401         (init): moved lfun_item in method
16402
16403         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16404
16405 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16406
16407         * BufferView2.C (theLockingInset): white space.
16408
16409 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16410
16411         * minibuffer.C: include <iostream>
16412
16413         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16414
16415         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16416
16417         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16418
16419         * text.[Ch] (TransposeChars): new method
16420
16421 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16422
16423         * call message directly through LyXView instead of through LyXFunc
16424         * BufferView2.C: adjust
16425         * BufferView_pimpl.C: adjust
16426         * FontLoader.C: adjust
16427         * buffer.C: adjust
16428         * bufferview_funcs.C: adjust
16429         * converter.C: adjust
16430         * figureForm.C: adjust
16431         * importer.C: adjust
16432         * lyx_cb.C: adjust
16433         * lyx_gui_misc.C: adjust
16434         * lyxfunc.C: adjust
16435         * lyxvc.C: adjust
16436         * text2.C: adjust
16437         + more files in subdirs
16438
16439         * lyxparagraph.h (size): move up int file
16440         (GetLayout): ditto
16441
16442         * adjust all uses of Assert to lyx::Assert.
16443
16444         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16445         lyxfunctional in namespace lyx
16446         * layout.C (hasLayout): ditto
16447         (GetLayout): ditto
16448         (GetLayout): ditto
16449         (delete_layout): ditto
16450         (NumberOfClass): ditto
16451         * converter.C (GetFormat): ditto
16452         (GetNumber): ditto
16453         (Add): ditto
16454         (Delete): ditto
16455         (SetViewer): ditto
16456         * bufferlist.C (getFileNames): ditto
16457         (emergencyWriteAll): ditto
16458         (exists): ditto
16459         (getBuffer): ditto
16460         * MenuBackend.C (hasSubmenu): ditto
16461         (hasMenu): ditto
16462         (getMenu): ditto
16463         * BufferView_pimpl.C (getInsetByCode): ditto
16464
16465 2001-04-18  Juergen Vigna  <jug@sad.it>
16466
16467         * vspace.C (asLatexString): fixed the 100% problem.
16468
16469 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16470
16471         * lyxfunc.C (Dispatch):
16472         * minibuffer.C:
16473         * minibuffer.h: add a few std:: qualifiers
16474
16475 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16476
16477         * minibuffer.[Ch]: reimplement so that commands is initiated and
16478         run from lyxfunc, simplified som handling, and made the completion
16479         and history code for complete. wip.
16480
16481         * lyxfunc.C (processKeySym): call message
16482         (miniDispatch): new temporary method
16483         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16484         (LFUN_MESSAGE): implement
16485         (LFUN_MESSAGE_PUSH): implement
16486         (LFUN_MESSAGE_POP): implement
16487         (initMiniBuffer): the initial/defualt minibuffer message.
16488
16489         * lyxfont.[Ch]: inline some more getters
16490
16491         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16492
16493         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16494
16495         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16496         (AutoSave): use LFUN_MESSAGE
16497         (Reconfigure): ditto
16498
16499         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16500
16501         * figureForm.C: use LFUN_MESSAGE
16502
16503         * converter.C (runLaTeX): use LFUN_MESSAGE
16504
16505         * bufferview_funcs.C: use LFUN_MESSAGE
16506         (Melt): ditto
16507         (changeDepth): ditto
16508
16509         * bufferparams.h: use boost::
16510
16511         * bufferlist.h: inherit privately from noncopyable
16512
16513         * bufferlist.C (loadLyXFile): remove some commented code.
16514
16515         * buffer.C (runChktex): use LFUN_MESSAGE
16516
16517         * ShareContainer.h: inherit privately from noncopyable
16518
16519         * ParagraphParameters.[hC] (depth): inline it.
16520
16521         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16522         methods.
16523         (message): new method
16524         (messagePush): ditto
16525         (messagePop): ditto
16526         (show): init minibuffer
16527         (showState): direct call
16528
16529         * LaTeX.[Ch]: inherit privately from noncopyable
16530         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16531         instead of WriteStatus.
16532
16533         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16534
16535         * BufferView_pimpl.C (buffer): don't init minibuffer
16536         (workAreaButtonPress): use LFUN_MESSAGE
16537         (workAreaButtonRelease): ditto
16538         (savePosition): ditto
16539         (restorePosition): ditto
16540         (MenuInsertLyXFile): ditto
16541         (workAreaExpose): don't init minibuffer
16542         (update): remove commented code, simplify
16543
16544         * BufferView2.C (openStuff): use LFUN_MESSAGE
16545         (toggleFloat): ditto
16546         (menuUndo): ditto
16547         (menuRedo): ditto
16548         (copyEnvironment): ditto
16549         (pasteEnvironment): ditto
16550         (copy): ditto
16551         (cut): ditto
16552         (paste): ditto
16553         (gotoInset): ditto
16554         (updateInset): remove some commented code
16555
16556         * lastfiles.h: inherit privately from noncopyable
16557         * layout.h: ditto
16558         * lyx_gui.h: ditto
16559         * lyx_main.h: ditto
16560         * lyxlex.h: ditto
16561         * lyxlex_pimpl.h: ditto
16562
16563         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16564         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16565         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16566
16567         * LyXAction.h: inherit privately from noncopyable, add methods
16568         func_begin, func_end, returning iterators to the func map.
16569
16570         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16571         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16572         (func_begin): new method
16573         (func_end): new method
16574
16575         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16576         and not)
16577         (copySelection): ditto
16578         (pasteSelection): ditto
16579
16580         * BufferView.C: whitespace change
16581         * BufferView.h: inherit privately from noncopyable
16582
16583 2001-04-16  Allan Rae  <rae@lyx.org>
16584
16585         * tabular-old.C (l_getline):
16586         * spellchecker.C (sc_check_word):
16587         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16588         an unrecognised preprocessor directive.  So ensure they're wrapped.
16589
16590 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16591
16592         * src/exporter.C (Export): Give an error message when path to file
16593         contains spaces.
16594
16595 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16596
16597         * LaTeX.C (deplog): Always check that foundfile exists.
16598
16599 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16600
16601         * lyx_main.h:
16602         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16603
16604 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16605
16606         * tabular.[Ch] (getLabelList): implement new method
16607
16608         * minibuffer.h: comment ouf setTiimer
16609
16610         * minibuffer.C (ExecutingCB): constify res
16611         (peek_event): constify s
16612         (Set): constify ntext
16613         (Init): constify nicename
16614
16615         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16616
16617         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16618         (savePosition): use two params to Minibuffer::Set
16619         (restorePosition): ditto
16620
16621 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16622
16623         * lyx_main.C: include language.h
16624
16625         * Makefile.am (lyx_main.o): add language.h
16626
16627 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16628
16629         * exporter.C:
16630         * paragraph.C:
16631         * screen.C:
16632         * tabular.C:
16633         * CutAndPaste.C: include gettext.h
16634
16635         * lyxfont.h: remove old hack with ON and OFF.
16636
16637         * lyxparagraph.h:
16638         * lyxfont.h: do not include language.h...
16639
16640         * BufferView2.C:
16641         * LaTeXFeatures.C:
16642         * Painter.C:
16643         * bufferview_funcs.C:
16644         * font.C:
16645         * lyxfont.C:
16646         * text.C:
16647         * text2.C:
16648         * trans_mgr.C:
16649         * paragraph.C: ... but do it here instead
16650
16651 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16652
16653         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16654
16655         * tabular.C: small reformat
16656
16657         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16658         NEW_INSETS version
16659         (GetChar): ditto
16660         (BreakParagraph): ditto
16661         (SetOnlyLayout): ditto
16662         (SetLayout): ditto
16663
16664         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16665         with one arg less.
16666
16667         * lastfiles.C: removed most using decl, add std:: where needed
16668
16669         * buffer.C: ws changes
16670
16671         * MenuBackend.C (class compare_format): put into anon namespace
16672         (expand): constify label, names, action, action2
16673         (expand):
16674
16675         * text.C (SingleWidth): constify font
16676         (IsBoundary): constify rtl2
16677         (GetVisibleRow): constify ww
16678
16679         * LaTeX.C (deplog): constify logfile
16680
16681         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16682         start_x, end_x
16683         (workAreaExpose): constify widthChange, heightChange
16684
16685         * lyxrow.C (par): moved
16686         (height): moved
16687         (next): moved
16688         * lyxrow.h: as inlines here
16689
16690         * lyxfont.h (shape): moved from lyxfont.C
16691         (emph): moved from lyxfont.C
16692
16693         * lyxfont.C (LyXFont): use initialization list for all
16694         constructors
16695         (shape): move to lyxfont.h as inline
16696         (emph): move to lyxfont.h as inline
16697
16698
16699 2001-04-04  Juergen Vigna  <jug@sad.it>
16700
16701         * vspace.C: had to include stdio.h for use of sscanf
16702
16703 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16704
16705         * BufferView.h:
16706         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16707         independent of xforms.
16708
16709 2001-04-02  Juergen Vigna  <jug@sad.it>
16710
16711         * spellchecker.C: fixed namespace placing!
16712
16713 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16714
16715         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16716         the LyXParagraph * is 0.
16717
16718 2001-03-29  Juergen Vigna  <jug@sad.it>
16719
16720         * vspace.C: added support for %, c%, p%, l%.
16721         (stringFromUnit): added helper function.
16722         (asLatexString): changed to give right results for the %-values.
16723
16724         * buffer.C: convert the widthp in a width%.
16725
16726 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16727
16728         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16729         figureForm.[Ch].
16730
16731         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16732         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16733
16734         * lyx_cb.[Ch]: see above.
16735
16736         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16737         form1.[Ch].
16738
16739         * form1.[Ch]:
16740         * lyx.[Ch]: replaced by figure_form.[Ch].
16741
16742         * lyx_gui.C:
16743         * lyx_gui_misc.C:
16744         * lyxfunc.C: changed headers associated with above changes.
16745
16746 2001-03-27  Juergen Vigna  <jug@sad.it>
16747
16748         * BufferView_pimpl.C: set the temporary cursor right!
16749
16750 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16751
16752         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16753
16754 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16755
16756         * LString.h: removed "using std::getline"!
16757
16758         * BufferView_pimpl.C (Dispatch): changes due to changes in
16759         InsetInclude::Params.
16760
16761         * buffer.C (tag_name): removed redundant break statements as they were
16762         producing lots of warnings with my compiler.
16763
16764 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16765
16766         * LString.h: add "using std::getline" when using the real <string>.
16767
16768 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16769
16770         * buffer.C: removed bitset usage.
16771         PAR_TAG moved to an anonymous name space.
16772         (tag_name): new funtion, also in the anonymous namespace.
16773         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16774         (makeDocBookFile): clean code. Completed transition from string arrays
16775         to string vectors.
16776         (SimpleDocBookOnePar): code clean.
16777
16778 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16779
16780         * tabular.C: add some comments.
16781
16782 2001-03-22  Juergen Vigna  <jug@sad.it>
16783
16784         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16785         compatibility read a bit and fixed bug with minipage in different
16786         depth.
16787
16788 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16789
16790         * buffer.C (pop_tag): removed.
16791         (push_tag): removed.
16792         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16793         array replaced with vector. Added support for CDATA sections.
16794         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16795         at any nest level.
16796         (makeDocBookFile): XML conformant declaration of CDATA section,
16797         fixed bug related to <emphasis> in the first paragraph char.
16798         (sgmlOpenTag): exclude empty tags.
16799         (sgmlCloseTag): ditto.
16800
16801         * buffer.h (pop_tag): removed.
16802         (push_tag): removed.
16803
16804 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16805
16806         * language.h (Languages): added size_type and size().
16807
16808 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16809
16810         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16811         response on compability reading of minipages. One probliem is that
16812         the old usage of minipages was «flertydig»
16813
16814         * several files here and in subdirs: don't use static at file
16815         scope use anon namespaces instead.
16816
16817 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16818
16819         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16820         LaTeX output. This is necessary for Literate document
16821         processing.
16822
16823 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16824
16825         * buffer.C: insert hfill when needed.
16826
16827         * tabular.C (l_getline): use string::erase, small whitespace change.
16828
16829         * BufferView_pimpl.C: try the anon namespace.
16830         * WorkArea.C: ditto
16831
16832 2001-03-16  Juergen Vigna  <jug@sad.it>
16833
16834         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16835         otherwise it won't open options-dialogs.
16836
16837         * buffer.C: honor pextraWidth(p) on converting minipages.
16838
16839         * tabular.C (l_getline): changed the functions to strip trailing \r.
16840
16841 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16842
16843         * BufferView_pimpl.C:
16844         * minibuffer..C: added "using SigC::slot" declaration.
16845
16846 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16847
16848         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16849
16850         * text2.C: ditto
16851
16852         * text.C: ditto
16853
16854         * paragraph.C: ditto
16855
16856         * lyxtext.h: NO_PEXTRA
16857
16858         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16859
16860         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16861         * ParameterStruct.h: ditto
16862         * ParagraphParameters.h: ditto
16863         * lyxparagraph.h: ditto
16864
16865 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16866
16867         * buffer.C: add compability for minipage alignment.
16868         (latexParagraphs): remove unwanted pextra check.
16869
16870         * several files: remove CXX_WORKING_NAMESPACES
16871
16872         * buffer.C (pop_tag): tie is in namespace boost
16873
16874         * BufferView.h: noncopyable is in namespace boost
16875         * lyxlex.h: ditto
16876         * lyx_main.h: ditto
16877         * lyx_gui.h: ditto
16878         * layout.h: ditto
16879         * lastfiles.h: ditto
16880         * bufferlist.h: ditto
16881         * ShareContainer.h: ditto
16882         * LyXView.h: ditto
16883         * LyXAction.h: ditto
16884         * LaTeX.h: ditto
16885
16886 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16887
16888         * Merging changes from BRANCH_MVC back into HEAD.
16889
16890         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16891
16892 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16893
16894         * BufferView_pimpl.C: change from intl.C
16895
16896         * combox.h:
16897         * combox.C:
16898         * Makefile.am: move combox.*
16899
16900         * form1.h:
16901         * form1.C:
16902         * lyx_gui.C:
16903         * intl.h:
16904         * intl.C: remove dialog (covered by prefs)
16905
16906 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16907
16908         * lyxfunc.C (Dispatch): removed redundant break statement.
16909
16910 2001-03-14  Juergen Vigna  <jug@sad.it>
16911
16912         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16913
16914 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16915
16916         * buffer.C: add hack to fix compability reading of minipages.
16917
16918 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16919
16920         * buffer.C (getLists): Cleanup.
16921
16922 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16923
16924         * lyxfont.C (update): don't honor toggleall on font size.
16925
16926 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16927
16928         * bmtable.c:
16929         * bmtable.h:
16930         * Makefile.am: moved to frontends/xforms/
16931
16932         * lyx_gui_misc.C:
16933         * lyxfunc.C:
16934         * BufferView_pimpl.C: changes for moved mathpanel
16935
16936 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16937
16938         * gettext.h: fix gettext_init() in --disable-nls
16939
16940 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16941
16942         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16943
16944 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16945
16946         * lyx.C:
16947         * lyx.h: strip external form
16948
16949 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16950
16951         * BufferView_pimpl.C: add comment, destroySplash()
16952
16953 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16954
16955         * BufferView_pimpl.C:
16956         * LyXAction.C:
16957         * buffer.C:
16958         * commandtags.h:
16959         * lyxfunc.C: use re-worked insetinclude
16960
16961 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16962
16963         * buffer.C: add using std::stringstream.
16964
16965         * lyx_cb.C: readd using std::ios.
16966
16967         * buffer.C: add using std::map.
16968
16969         * BufferView_pimpl.C: add using std::vector.
16970
16971         * ShareContainer.h: add std:: to swap.
16972
16973         * buffer.h: add some typedefs
16974         * buffer.C (getLists): use them
16975         (getLists): renamed from getTocList.
16976         add a counter for the different float types and use it in the
16977         generated string.
16978         (getLists): use the same counter for the NEW_INSETS and the "non"
16979         NEW_INSETS
16980
16981         * lyx_cb.h: remove unused items, includes, using etc.
16982
16983         * ShareContainer.h: remove some commented code, add more comments
16984         and "documentation".
16985
16986 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16987
16988         * buffer.C (getTocList): make the list also when NEW_INSETS is
16989         defined.
16990
16991         * buffer.h: remove TocType
16992
16993         * buffer.C (getTocList): change to return a map<string,
16994         vector<TocItem> >, implement for dynamic number of list.
16995
16996         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16997         * text2.C (PasteSelection): adjust
16998         * CutAndPaste.C (pasteSelection): adjust
16999
17000         * FloatList.C (FloatList): update from the new_insets branch.
17001         * Floating.[Ch]: ditto
17002         * LaTeXFeatures.C: ditto
17003         * buffer.C: ditto
17004         * lyxlex_pimpl.C: ditto
17005
17006         * paragraph.C (Last): remove when NEW_INSETS is defined.
17007
17008         * other file: changes because of the above.
17009
17010 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17011
17012         * lyxparagraph.h: rename next to next_, previous to previous_,
17013         make them private for NEW_INSETS. Rename Next() to next(),
17014         Previous() to previous().
17015
17016         * other files: changes because of the above.
17017
17018 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17019
17020         * BufferView.h:
17021         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17022         problem.
17023
17024 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17025
17026         * main.C (main): pass lyx_localedir to gettext_init().
17027
17028         * gettext.h: remove locale_init and gettext_init macros
17029
17030         * gettext.C (locale_init): new function
17031         (gettext_init): new function
17032
17033         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17034         setlocale().
17035
17036 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17037
17038         * Moved credits to frontends:
17039         * credits.[Ch]: removed
17040         * credits_form.[Ch]: removed
17041         * lyx_gui_misc.C: remove credits stuff
17042         * Makefile.am:
17043
17044 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17045
17046         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17047
17048         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17049         unneeded destructor.
17050
17051         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17052         a standalone pointer again.
17053
17054         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17055
17056 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17057
17058         * Makefile.am:
17059         * filedlg.h:
17060         * filedlg.C:
17061         * LyXAction.C:
17062         * ToolbarDefaults.C:
17063         * bufferlist.C:
17064         * commandtags.h:
17065         * form1.C:
17066         * form1.h:
17067         * lyx_cb.C:
17068         * lyx_cb.h:
17069         * lyxfunc.h:
17070         * lyxfunc.C:
17071         * BufferView_pimpl.C: use new file dialog in GUII
17072
17073         * lyx_cb.h:
17074         * lyx_cb.C: remove LayoutsCB to Toolbar
17075
17076 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17077
17078         * ShareContainer.h (get): add std:: qualifier
17079
17080 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17081
17082         * ShareContainer.h: define a proper ShareContainer::value_type
17083         type (and use typename to please compaq cxx)
17084
17085 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17086
17087         * lyxparagraph.h: move serveral local vars to
17088         ParameterStruct/ParagraphParameters., use ShareContainer in
17089         FontTable., make vars in FontTable private and add getter and
17090         setter.
17091
17092         * paragraph.C: changes because of the above.
17093
17094         * lyxfont.h: remove copy constructor and copy assignment. (the
17095         default ones is ok), move number inside FontBits. move inlines to
17096         lyxfont.C
17097
17098         * lyxfont.C: add number to initializaton of statics, move several
17099         inlines here. constify several local vars. some whitespace
17100         cleanup. Dont hide outerscope variables.
17101
17102         * Spacing.h: add two new constructors to match the set methods.
17103
17104         * ShareContainer.h: new file, will perhaps be moved to support
17105
17106         * ParameterStruct.h: new file
17107
17108         * ParagraphParameters.h: new file
17109
17110         * ParagraphParameters.C: new file
17111
17112         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17113         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17114
17115         * BufferView_pimpl.C: ParagraphParameter changes.
17116         * buffer.C: Likewise.
17117         * bufferview_funcs.C: Likewise.
17118         * text.C: Likewise.
17119         * text2.C: Likewise.
17120
17121 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17122
17123         * lyxfind.C (LyXReplace): do not redefine default argument in
17124         implementation.
17125         (IsStringInText): ditto
17126         (SearchForward): ditto
17127         (SearchBackward): ditto
17128
17129 2001-03-06  Juergen Vigna  <jug@sad.it>
17130
17131         * lyxfind.C (IsStringInText): put parentes around expressions.
17132
17133 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17134
17135         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17136
17137 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17138
17139         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17140
17141         * stl_string_fwd.h: add comment
17142
17143         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17144
17145         * tabular.h:
17146         * tabular.C: remove unused DocBook methods
17147
17148         * intl.C:
17149         * language.C:
17150         * paragraph.C:
17151         * buffer.C:
17152         killed DO_USE_DEFAULT_LANGUAGE
17153
17154 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17155
17156         * lyx_gui.C: do not include language.h.
17157
17158         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17159         arguments in function implementation.
17160
17161 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17162
17163         * BufferView_pimpl.C: add <ctime>
17164
17165 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17166
17167         * BufferView_pimpl.C: add using std::find_if
17168
17169 2001-02-27  José Matos  <jamatos@fep.up.pt>
17170
17171         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17172         by OnlyPath.
17173
17174 2001-02-11  José Matos  <jamatos@fep.up.pt>
17175
17176         * buffer.C (makeDocBookFile): command styles now have a parameter as
17177         "title" by default.
17178
17179 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17180
17181         * layout_forms.[Ch]: removed
17182         * lyx_cb.[Ch]: out character
17183         * lyx_gui.C: out character
17184         * lyx_gui_misc.C: out character
17185         * bufferview_funcs.C: : out character,
17186         added toggleall as parameter in ToggleAndShow
17187
17188 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17189
17190         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17191
17192         * text2.C (SetCurrentFont): Disable number property at boundary.
17193
17194 2001-02-26  Juergen Vigna  <jug@sad.it>
17195
17196         * lyxfunc.C (getStatus): added a string argument override function so
17197         that this is correctly called from LyXFunc::Dispatch if it contains a
17198         do_not_use_argument which is used!
17199         (Dispatch): added check for "custom" export and call appropriate func.
17200
17201 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17202
17203         * lyxrc.C: Add language_command_local, language_use_babel and
17204         language_global_options.
17205
17206         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17207
17208         * buffer.C (makeLaTeXFile): Use language_use_babel and
17209         language_global_options.
17210
17211 2001-02-23  Juergen Vigna  <jug@sad.it>
17212
17213         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17214         which works with LyXText and putted it inside BufferView. Here now we
17215         only call for that part the BufferView::Dispatch() function.
17216
17217         * BufferView.C (Dispatch): added.
17218
17219         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17220         functions which needs to use a LyXText over from LyXFunc.
17221         (MenuInsertLyXFile): added
17222         (getInsetByCode): added
17223         (moveCursorUpdate): added
17224         (static TEXT): added
17225
17226 2001-02-22  Juergen Vigna  <jug@sad.it>
17227
17228         * BufferView_pimpl.C (update): call a status update to see if LyXText
17229         needs it.
17230
17231 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17232
17233         * vc-backend.C (revert): implement for CVS
17234         (getLog): implement for CVS
17235
17236 2001-02-20  Juergen Vigna  <jug@sad.it>
17237
17238         * text2.C (ClearSelection): added BufferView param for inset_owner call
17239
17240         * lyxfunc.C (TEXT): added this function and use it instead of
17241         directly owner->view()-text of getLyXText().
17242
17243 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17244
17245         * src/layout_forms.C: out preamble
17246         * src/layout_forms.h: out preamble
17247         * src/lyx_cb.C: out preamble
17248         * src/lyx_cb.h: out preamble
17249         * src/lyx_gui.C: out preamble
17250         * src/lyx_gui_misc.C: out preamble
17251         * src/lyxfunc.C: connect with guii preamble
17252
17253 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17254
17255         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17256
17257 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17258
17259         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17260         whether to run bibtex.
17261
17262 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17263
17264         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17265
17266 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17267
17268         * Makefile.am (lyx_SOURCES): removed bibforms.h
17269
17270         * vspace.h: doxygen
17271
17272         * text.C (GetVisibleRow): make several local vars const
17273
17274         * tabular.C: small cleanup.
17275
17276         * lyxserver.C (callback): use compare instead of strncmp
17277
17278         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17279         inlines to after class or to paragraph.C
17280
17281         * lyxfont.h: remove friend operator!=
17282
17283         * converter.h: move friend bool operator< to non friend and after
17284         class def.
17285
17286         * combox.h: small cleanup
17287
17288         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17289         to inlines after class def.
17290
17291         * buffer.C (pop_tag): use string operations instead of strcmp
17292
17293         * bmtable.c: doxygen, small cleanup
17294
17295         * LaTeX.h: remove friend operator==
17296
17297 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17298
17299         * screen.C:
17300         * lyxrc.[Ch]:
17301         * lyxfunc.C:
17302         * lyxfont.[Ch]:
17303         * lyx_cb.C:
17304         * intl.[Ch]:
17305         * commandtags.h:
17306         * buffer.C:
17307         * WorkArea.[Ch]:
17308         * LyXAction.C:
17309         * BufferView_pimpl.C:
17310         * BufferView.[Ch]: remove cruft
17311
17312 2001-02-14  Juergen Vigna  <jug@sad.it>
17313
17314         * lyxfunc.C: removed #if 0 unused code
17315
17316         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17317
17318         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17319
17320         * text2.C (SetSelection): added a BufferView * parameter
17321
17322 2001-02-13  Juergen Vigna  <jug@sad.it>
17323
17324         * lyxfunc.C (Dispatch): fixed protected blank problem.
17325         * BufferView2.C (protectedBlank): added LyxText * parameter.
17326
17327         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17328         (AppendColumn): same as above for column_info.
17329
17330         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17331         (moveCursorUpdate): use a LyXText param for support of InsetText.
17332
17333         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17334         (tripleClick): ditto
17335
17336         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17337
17338         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17339
17340         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17341
17342         * text2.C (SetSelection): set correct update status if inset_owner
17343         (ToggleFree): ditto
17344
17345 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17346
17347         * tabular.C: remove some commented code.
17348
17349 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17350
17351         * BufferView_pimpl.C: call hideSplash()
17352
17353         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17354
17355         * include_form.h:
17356         * bibforms.h: remove
17357
17358         * lyxfunc.C:
17359         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17360           add LFUN_CHILD_CREATE
17361
17362         * counters.h: fix tiny typo
17363
17364         * lyx_cb.C:
17365         * lyx.h:
17366         * lyx_gui.C:
17367         * lyx.C: move splash to frontends/xforms/
17368
17369         * lyx_gui_misc.C: move Include and Bibform to frontends
17370
17371         * lyxvc.h: clarify comment
17372
17373         * vspace.C: tiny housekeeping
17374
17375 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17376
17377         * text.C (PrepareToPrint): RTL Fix.
17378
17379         * paragraph.C (GetUChar): New method.
17380         (String):  Use GetUChar.
17381
17382         * buffer.C (asciiParagraph): Use GetUChar.
17383
17384 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17385
17386         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17387
17388 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17389
17390         * buffer.h:
17391         * buffer.C: rename to getLogName(), handle
17392           build log / latex log nicely
17393
17394 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17395
17396         * MenuBackend.C:
17397         * MenuBackend.h: remove support for reference menuitem type.
17398
17399 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17400
17401         * BufferView_pimpl.C: housekeeping
17402         * BufferView_pimpl.h:
17403         * LyXView.h:
17404         * Makefile.am:
17405         * Timeout.C:
17406         * Timeout.h:
17407         * minibuffer.h: move Timeout GUI-I
17408
17409 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17410
17411         * lyxrc.C (read): Update converters data-structures.
17412
17413 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17414
17415         * LaTeX.h (operator!=): add operator != for Aux_Info
17416
17417 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17418
17419         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17420
17421         * LaTeXLog.C: deleted, useful code moved to Buffer
17422
17423         * buffer.h:
17424         * buffer.C: new function getLatexLogName()
17425
17426         * lyx_gui_misc.C:
17427         * lyx_gui.C:
17428         * lyxvc.C:
17429         * lyxvc.h:
17430         * lyxfunc.C: use frontends for LaTeX and VC logs
17431
17432 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17433
17434         * LaTeX.h: yet another std:: that Allan forgot.
17435
17436         * Variables.C (set): renamed from isset(), because this clashes
17437         with some HP-UX macros (grr).
17438
17439 2001-02-06  Allan Rae  <rae@lyx.org>
17440
17441         * LaTeX.h: Another bug fix.  Missing std:: this time.
17442
17443 2001-02-04  Allan Rae  <rae@lyx.org>
17444
17445         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17446         floats problem. I've left it commented out because it's not quite
17447         correct.  It should also test that the current object is a table or
17448         figure inset.  But I haven't gotten around to figuring out how to do
17449         that.  I *think* it'll be something like: "table" == inset.type()
17450
17451         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17452         bool.
17453
17454 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17455
17456         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17457         all the citation/databases/styles in the auxilary file.
17458         (run): Rerun latex if there was a babel language error.
17459
17460 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17461
17462         * text.C (Backspace): Preserve the font when changing newline char
17463         with a space.
17464         (BreakParagraph): If the cursor is before a space, delete the space.
17465
17466         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17467
17468 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17469
17470         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17471         new argument (code).
17472         (ChangeCitationsIfUnique): New method.
17473
17474         * paragraph.C (GetPositionOfInset): Handle bibkey.
17475
17476 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17477
17478         * BufferView_pimpl.h: change type of Position::par_pos to
17479         LyXParagraph::size_type.
17480
17481 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17482
17483         * BufferView_pimpl.C (savePosition, restorePosition): Write
17484         messages to minibuffer.
17485
17486 2001-01-28  José Matos  <jamatos@fep.up.pt>
17487
17488         * buffer.C (makeDocBookFile): adds support for document language.
17489         A silly restriction on the name of LatexCommand types where removed.
17490         Added support for CDATA sections, allows to chars unescaped, used
17491         among others in code, to avoid escape < and >.
17492
17493 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17494
17495         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17496         saved positions instrad of a stack. Furthermore, a position is
17497         stored using paragraph id/paragraph position.
17498
17499         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17500         Remove LFUN_REF_BACK.
17501
17502 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17503
17504         * converter.C (dvipdfm_options): New method.
17505
17506 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17507
17508         * vspace.C (isValidLength): Fix for empty input string.
17509
17510 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17511
17512         * LyXAction.C (init): change description of LFUN_FIGURE to
17513         "Insert Graphics"
17514
17515 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17516
17517         * LaTeX.C: add using directive
17518
17519 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17520
17521         * MenuBackend.C (expand): Fix the sorting of the formats.
17522
17523 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17524
17525         * lyx_main.C: tiny error message fix
17526
17527 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17528
17529         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17530         calling fl_initialize(). This fixes the problem with ',' as
17531         decimal separator in text files.
17532
17533 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17534
17535         * trans.C (process): Fix the keymap bug.
17536
17537 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17538
17539         * LaTeX.C (scanAuxFiles): New method. Provides support for
17540         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17541         (scanLogFile) Scan for "run BibTeX" messages.
17542
17543         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17544         OT1 font encoding. Also, load the aecompl package if the ae
17545         package is loaded.
17546
17547         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17548
17549 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17550
17551         * texrow.C (increasePos): turn two error messages into debug
17552         messages.
17553
17554 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17555
17556         * LaTeX.C (scanAux): Handle the \@input macro.
17557         (runBibTeX): Use scanAux().
17558
17559         * language.C (latex_options_): New field.
17560
17561         * LaTeXFeatures.C (getMacros): Add language macros.
17562
17563         * buffer.C (makeLaTeXFile): Small fix.
17564
17565 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17566
17567         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17568
17569         * text2.C: add a using directive.
17570
17571 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17572
17573         * BufferView2.C:
17574         * lyx_gui_misc.h:
17575         * lyxfr1.C:
17576         * lyxfunc.C: kill LyXBell.
17577
17578 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17579
17580         * text.C (IsBoundary): Remove the error message
17581
17582         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17583
17584         * lyxrc.C (setDefaults): Correct initialization value for
17585         font_norm_type.
17586
17587 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17588
17589         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17590         gotoError().
17591
17592         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17593         and GotoNextNote().
17594
17595         * src/LyXAction.C: Added reference-next.
17596
17597         * text.C (InsertChar): Use contains instead of strchr.
17598
17599         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17600
17601 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17602
17603         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17604         alignment commands (when needed).
17605
17606         * text.C (InsertChar): Add ':' to number separator chars.