]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix setOnOff handling in LyXText::getStatus
[lyx.git] / src / ChangeLog
1 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * text3.C (getStatus): immediately return after setOnOff        
4
5         * rowpainter.C: fix drawing of appendix start
6
7 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
8
9         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
10         SwitchBetweenClasses and remove the unused return value.
11         Handle character styles, too
12
13 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
14
15         * factory.C (createInset): handle undefined character styles
16
17 2005-05-02  Angus Leeming  <leeming@lyx.org>
18
19         * buffer.C: protect the #include of utime.h with a preprocessor
20         guard.
21
22 2005-05-02  Angus Leeming  <leeming@lyx.org>
23
24         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
25         function so that suto-saving works, albeit in a blocking manner.
26
27         * Makefile.am: make compilation of the client sub directory, of
28         apsellC, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
29         on conditionals set at configure time.
30
31         * SpellBase.[Ch]: no longer an abstract base class. Instead,
32         it can be compiled in its own right but has no-op functionality.
33
34         * aspell.C, pspell.C: remove preprocessor guards. The files should
35         be compiled only if the necessary functionality exists.
36
37         * lyxserver.C, lyxsocket.C: disable on Windows.
38
39 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
40
41         * text.C (leftMargin): Fix the parindent use bug (1764)
42         by dirty trick
43
44 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
45
46         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
47         argument.
48
49 2005-04-25  Angus Leeming  <leeming@lyx.org>
50
51         * Bidi.[Ch]:
52         * coordcache.[Ch]:
53         * ispell.C:
54         * lyxserver.C:
55         * mover.C:
56         * pch.h:
57         include <config.h> in .C files, not .h ones.
58         add licence blurb.
59         protect headers inside preprocessor guards.
60
61 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
62
63         * FuncStatus.h (StatusCodes): document
64
65 2005-04-21  André Pönitz  <poenitz@gmx.net>
66
67         * FuncStatus.h (enabled, onoff): document
68
69 2005-04-19  Angus Leeming  <leeming@lyx.org>
70
71         * BufferView_pimpl.C (cursorToggle): no longer test whether
72         any child processes have been reaped before calling
73         handleCompletedProcesses().
74
75 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
76
77         * text3.C (dispatch): fix, finally fix, the language problem in
78         new lyxtexts, without disabling on-the-fly font changes (Helge's
79         bug report)
80
81 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
82
83         * text3.C (dispatch): set cursor on double/triple click events
84         (bug 1811)
85
86 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
87
88         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
89         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
90
91         * rowpainter.C (paintFirst): simplify the code a little bit. In
92         particular, remove the test for secnumdepth.
93         * text.C (setHeightOfRow): only allocate space for chapter number
94         when updateCounters provided an actual label, instead of looking
95         at secnumdepth directly.
96
97         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
98
99         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
100         paragraphs when secnumdepth is large enough or, for environments,
101         when they are not the first in a sequence.
102
103 2005-04-17  Angus Leeming  <leeming@lyx.org>
104
105         * buffer.C (makeLaTeXFile): replace code to manipulate a path
106         containing space and '~' characters with a call to latex_path().
107
108 2005-04-17  Angus Leeming  <leeming@lyx.org>
109
110         * converter.C (convert): protect all args of convertDefault.sh
111         script with quotes.
112
113 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * text3.C (dispatch): change the layout to "Caption" after inserting
116         a float.
117
118 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
119
120         * text3.C (dispatch): fix language problem in newly created
121         textinsets (and main text) in non-english docs
122
123 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
124
125         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
126         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
127         * text3.C (getStatus): disable LFUN_INSET_MODIFY
128
129 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
130
131         * lyxtext.h:
132         * text.C (metrics):
133         * text2.C (getFont):
134         * rowpainter.C (getFont): Fix metrics bug introduced by inset
135         fonts fix
136
137 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
138
139         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
140         output of \item arguments without trailing text.
141
142 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * FontIterator.C (operator*): avoid a copy of the font.
145
146 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
147
148         * rowpainter.C (getFont): fix language bug from previous fix
149
150 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
151
152         * rowpainter.C (RowPainter, getFont): fix font inside inset
153         (bugs 1766, 1809)
154
155 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
156
157         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
158         preventing inserted font, deco, delim insets jumping to start of
159         surrounding inset.
160
161 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
162
163         * lyxfunc.C (dispatch): translate message before sending it to the
164         minibuffer.
165
166 2005-03-29  Angus Leeming  <leeming@lyx.org>
167
168         * lyx_main.C (priv_exec): call os::internal_path on each file passed
169         to LyX on the command line.
170
171 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
172
173         * vc-backend.C: use QuoteName to protect file names wherever
174         necessary.
175
176 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
177
178         * buffer.[Ch]:
179         * BranchList.h: fix bugs 1844,1845: document settings don't
180         stick
181
182 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * lyxrc.C (setDefaults, read, output, getDescription): add support
185         for tex_allows_spaces.
186
187         * exporter.C (Export): allows files in directory containing spaces
188         if tex_allows_spaces is true.
189
190         * buffer.C (makeLaTeXFile): if the document path contains spaces,
191         output it in double quotes.
192
193 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
194
195         * rowpainter.C: use default text height for drawing change tracker
196         strikeout lines.
197
198 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
199
200         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
201
202 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
203
204         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
205         directory is missing.
206
207 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
208
209         * text2.C: fixed the fix, extended to other case.
210
211 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
212
213         * text2.C: fix for cursor up/down stuck in math [bug 1792]
214
215 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
216
217         * text2.C (cursorUp): get rid of a crash
218         * text.C (x2pos): add an assert
219
220 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
221
222         * lyxfunc.C (getStatus): fix warning when assertions are disabled
223
224         * text3.C:
225         * lyxfunc.C:
226         * dociterator.C: include <boost/current_function.hpp>, which is
227         needed when assertions are disabled.
228
229 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
230
231         * text2.C: fix for stuck cursor when traversing two
232         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
233
234 2005-02-25  Andreas Vox  <avox@arcor.de>
235
236         * output_docbook.C (makeParagraph): suppress trailing newline
237         after a run of paragraphs
238
239 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
240
241         * paragraph.C: fix for confused change tracker when pasting
242         text that begins with a lineseparator. [bug 1827]
243         (setChange(0, Change::INSERTED);)
244
245         * paragraph_funcs.C: fix for lost changes on triple-paste
246         in change tracking mode [bug 1827] (par.setChange()).
247
248 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * text2.C (updateCounters, setCounter, expandLabel): move to
251         buffer_funcs.
252
253         * buffer_funcs.C (updateCounters): turn into a free standing
254         function and add a buffer parameter. Remove dead code for tracking
255         labelstring change.
256         (setCounter): change into a free-standing function which gets a
257         dociterator as argument. Use this iterator to fix captions in a
258         simple way. When no float is found above the caption, use the
259         labelstring of the caption layout as default.
260
261         * text.C (breakParagraph, backspace):
262         * text2.C (init, setLayout, changeDepth):
263         * text3.C (dispatch):
264         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
265         updateCounters.
266
267         * dociterator.C (forwardPar): make it much faster by calling
268         forwardPos() only when really necessary.
269
270         * output_docbook.C (makeCommand): adapt to expandLabel move.
271
272         * cursor.C: remove unused variable
273
274 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
275
276         * paragraph_funcs.C: fix crash when pasting insets in change
277         tracking mode [bug 1277] (honour change type in moveItem).
278
279 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
280
281         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
282
283 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
284
285         * BufferView.C (setCursor): change to use a DocIterator.
286         (gotoLabel): use BufferView::setCursor (other part of bug 781).
287         (putSelectionAt): adapt to BufferView::setCursor change.
288
289         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
290         moved here from LyXText and rewritten to use proper cursor
291         methods. Fixes bug 1787, 616 and 835.
292
293         * BufferView_pimpl.C (restorePosition): set the cursor correctly
294         when inside an inset (part of bug 781).
295         (dispatch): adapt to change of BufferView::setCursor.
296         (getStatus, dispatch): handle LFUN_GOTOERROR,
297         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
298
299         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
300         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
301         * text3.C (gotoNextInset, gotoInset): removed.
302
303 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
304
305         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
306
307 2005-02-15  Angus Leeming  <leeming@lyx.org>
308
309         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
310         can be used meaningfully in a comparison.
311
312 2005-02-13  André Pönitz  <poenitz@gmx.net>
313
314         * bufferview_funcs.C (coordOffset): improve cursor drawing
315
316 2005-02-13  André Pönitz  <poenitz@gmx.net>
317
318         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
319         * Cursor.C (dispatch): use fixIfBroken
320         * lyxfunc.C (getStatus): use fixIfBroken
321
322 2005-02-15  Angus Leeming  <leeming@lyx.org>
323
324         * lyx_main.C (error_handler):
325         * lyxfunc.C:
326         * lyxrc.C (setDefaults):
327         s/GetEnv/getEnv/.
328         #include "environment.h".
329
330         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
331
332 2005-02-15  Angus Leeming  <leeming@lyx.org>
333
334         * lyxserver.C (startPipe): squash MSVC warning "local variable
335         'fd' used without having been initialized".
336
337 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
338
339         * BufferView_pimpl.C: revert accidental commit.
340
341 2005-02-14  André Pönitz  <poenitz@gmx.net>
342
343         * dociterator.[Ch]: new member forwardPosNoDescent(),
344         which doesn't enter nested insets.
345         * text2.C (setFont): use forwardPosNoDescent() instead
346         of ForwardPos() (fixes crash on font change).
347
348 2005-02-13  Angus Leeming  <leeming@lyx.org>
349
350         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
351         only if lyxrc.path_prefix is not empty.
352
353 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
354
355         * bufferparams.C (readGraphicsDriver): prevent crash
356
357 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
358
359         * text2.C (setCounter): check for inInset() == 0
360
361 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
362
363         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
364         but use update() to get correct screen display; use convert
365         instead of istringstream.
366         (getStatus): handle LFUN_GOTO_PARAGRAPH
367
368         * lyxfunc.C (dispatch, getStatus): do not handle
369         LFUN_GOTO_PARAGRAPH here.
370
371 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
372
373         * text3.C (dispatch): size() -> depth()
374
375         * text2.C: remove some debug output
376
377         * paragraph.C: ws changes only
378
379         * lyxfunc.C (getStatus): size() -> depth()
380
381         * dociterator.h (clear, push_back, pop_back, internalData,
382         operator[], resize, empty): new functions
383         Make StableDocIterator and operator== be friends. Don't inherit
384         from std::vector use a privat class variable slices_ instead.
385         Modify to fit.
386
387         * dociterator.C: update because of not inheriting from std::vector
388         anymore. Call explictly to slices_ instead. Use depth() instead of
389         size() and top() instead of back()
390
391         * cursor.C: chagne size() -> depth and back() -> top(). Also
392         remove some direct operator[](i) calls in favour of foo[i]
393         (getFont): remove some dead code
394
395         * bufferview_funcs.C (coordOffset): size() -> depth()
396
397         * buffer.C: ws changes only
398
399         * CutAndPaste.C (eraseSelection): back() -> top()
400
401         * BufferView_pimpl.C (selectionRequested): back() -> top()
402
403         * BufferView.C (setCursor): size() -> depth()
404
405 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
406
407         * text3.C (cursorPrevious): return true if depm changed something
408         (cursorNext): ditto
409         (dispatch): rename sl to oldTopSlice, remove moving use the new
410         NoUpdate func attrib instead. Make sure that needsUpdate is set
411         for function that have NoUpdate, but where depm might have changed
412         the buffer anyway.
413
414         * text2.C (cursorLeft): make us return true if depm changed
415         something
416         (cursorRight): ditto
417         (cursorUpParagraph): ditto
418         (curosrDownParagraph): ditto
419         (cursorUp, cursorDown): ditto, make sure to read comments in code
420         (deleteEmptyParagraphMechanism): remove an assert, also return
421         true if just a single char was deleted.
422
423         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
424         cursor that we modify, to avoid modifying an active cursor before
425         we call setCursor. This allows depm to run. Also return true if
426         depm deleted something.
427
428         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
429         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
430         cursorDownParagraph, cursorPrevious and cursorNext, return true if
431         something was changed in the buffer because of them (ie. depm run)
432
433         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
434         debug messages. Make update by default be false. Make sure that
435         the result of update is retained throught several calls down to
436         dispatch.
437
438         * LyXAction.h: add a new func_attrib: NoUpdate
439
440         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
441         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
442         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
443         and LFUN_WORDLEFT
444         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
445
446 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
447
448         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
449         bv_->owner(), bv_->buffer() by direct references to the private
450         members.
451         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
452         (getStatus): isSavedPosition() is in BufferView::Pimpl.
453         (fitCursor): center() is in BufferView::Pimpl.
454         (getStatus, trackChanges, dispatch): no need for a temporary buf
455         variable
456         (fitCursor, workAreaDispatch): use workarea().workheight()
457
458 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
459
460         * CutAndPaste.C (pasteSelectionHelper): fix a crash
461
462 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
463
464         * buffer.C: format up to 241.
465         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
466         break if pasting into ERT
467         * lyxfunc.C (getStatus): suppress mathpanel and
468         LFUN_DIALOG_SHOW_NEW_INSET in ERT
469
470 2005-02-01  Angus Leeming  <leeming@lyx.org>
471
472         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
473
474 2005-02-01  Angus Leeming  <leeming@lyx.org>
475
476         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
477         calling fs::is_directory().
478
479 2005-01-31  Angus Leeming  <leeming@lyx.org>
480
481         * lyx_main.C (priv_exec): specify explicitly the relative location
482         of the top level build directory when run in-place.
483
484 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
485
486         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
487         LyXText containing the cursor, not the top-level one.
488
489         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
490         true.
491         (insertStringAsLines): rename par to pit; use temporary variable
492         par to hold a Paragraph; do not store par.layout() in a variable,
493         since the pointer may die when breaking paragraphs; pass pars to
494         breakParagraph() instead of Buffer::paragraphs().
495
496 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
497
498         * lyxlex_pimpl.h: #include <fstream>.
499
500         * BufferView.[Ch] (getLyXText): add a const version.
501
502         * BufferView_pimpl.C: add debug aids.
503
504         * RowList_fwd.h:
505         * buffer.h:
506         * lyxrow.h:
507         * paragraph_funcs.h: add commentary explaining what the class does.
508
509
510         * coordcache.[Ch]: add lots of commentary.
511         (startUpdating, doneUpdating): debug aids.
512         (arrays, insets, parPos, getParPos): accessors to private data.
513
514         * cursor_slice.[Ch] (text): add a const version.
515         * dociterator.[Ch] (text, innerText): add const versions.
516
517         * lyxtext.h (breakParagraph): change the keep_layout arg to a
518         bool.
519
520         * paragraph.C (getRow, pos2ros): add asserts.
521
522         * paragraph.h: add commentary. Lots of.
523
524         * paragraph.[Ch] (metrucs, draw): removed.
525
526         * cursor.C:
527         * rowpainter.[Ch]: const-correct changes.
528
529         * text.C: various obvious clean-ups. Removal of ancient cruft.
530         Bug fixes, even.
531
532 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
533
534         * vc-backend.C (find_file): rewrite to use boost.filesystem
535         (scanMaster): ditto
536
537         * main.C (main): set default name check for boost.filesystem to
538         no check
539
540         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
541         (open): ditto
542         (doImport): ditto
543         (actOnUpdatedPrefs): ditto
544
545         * lyx_main.C (init): rewrite to use boost.filesystem
546         (queryUserLyXDir): ditto
547
548         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
549         (getContentsOfAsciiFile): ditto
550
551         * lastfiles.C (readFile): rewrite to use boost.filesystem
552
553         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
554
555         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
556         (loadLyXFile): ditto
557
558         * buffer.C (Buffer): adjust for destroydir
559         (getLogName): rewrite to use boost.filesystem
560         (setFileName): ditto
561         (save): use fs::copy_file (from fs_extras)
562
563         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
564
565         * LaTeX.C (run): rewrite to use boost.filesystem
566         (scanAuxFiles): ditto
567         (handleFoundFile): ditto
568
569 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
570
571         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
572
573         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
574
575 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
576
577         * lyxlayout.[Ch]: change some vars from float to double
578
579         * buffer.C (readFile): make a local var const
580
581         * Several files: use convert<> instead of atoi,strToXXX and friends
582
583 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
584
585         * LaTeXFeatures.[Ch]: Add a static list packages_ that
586         holds the contents of packages.lst. New functions getAvailable
587         and isAvailable to parse and check that list, resp.
588
589         * LyXAction.C:
590         * lfuns.h:
591         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
592
593         * bufferparams.[Ch]: new param output_changes.
594
595         * Buffer.C: increase file format to 240.
596         Use output_changes and isVailable.
597
598         * changes.[Ch]:
599         * paragraph.C:
600         * paragraph_pimpl.C: Use output_changes and isVailable.
601
602 2005-01-23  Angus Leeming  <leeming@lyx.org>
603
604         * output_latex.C: #include "insetbibitem.h", rather than
605         forward declare function bibitemWidest.
606
607 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
608
609         * lyx_main.C (init): make it compile on the Mac.
610
611 2005-01-20  Angus Leeming  <leeming@lyx.org>
612
613         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
614         (setLyXMisc): (char string literal) != (char string literal) is
615         performing a comparison on the addresses. Convert one operand
616         explicitly to string to guarantee expected behaviour.
617         From MSVC warning.
618
619 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
620
621         * buffer.C:
622         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
623
624         * output_plaintext.C: remove unneeded #include gzstream.h.
625
626 2005-01-20  Angus Leeming  <leeming@lyx.org>
627
628         * SpellBase.h: rename some of the elements of the Result enum.
629
630         * aspell_local.h:
631         * ispell.h:
632         * pspell.h:
633         * aspell.C (check):
634         * ispell.C (check):
635         * pspell.C (check): ditto
636
637 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
638
639         * buffer.C: add #include <fstream>.
640
641         * lyx_main.C (init): Compile fix.
642
643         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
644
645 2005-01-20  Angus Leeming  <leeming@lyx.org>
646
647         * mover.h: change commentary to reflect the changed meaning of
648         the $$s placeholder.
649
650 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
651
652         * output_linuxdoc.C (linuxdocParagraphs): silence warning
653
654         * lyxfind.C (MatchString::operator()): remove bogus semicolon
655
656 2005-01-20  Angus Leeming  <leeming@lyx.org>
657
658         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
659         printing diagnostic data by not dereferecing an iterator past the
660         end.
661
662 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
663
664         * buffer.C (readHeader): use "&&" rather than "and".
665
666         * lyxserver.h (inPipeName, outPipeName): make these const.
667
668 2005-01-19  Angus Leeming  <leeming@lyx.org>
669
670         * lyx_main.C (error_handler, init): protect SIGHUP with
671         #ifdef SIGHUP guards.
672
673 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
674
675         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
676
677 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
678
679         * text.C (setHeightOfRow): add a margin at the top and bottom of
680         the document (bug 1761)
681
682 2005-01-17  Angus Leeming  <leeming@lyx.org>
683
684         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
685         with "python ". Workaround for a brain-dead Windows.
686
687 2005-01-16  Angus Leeming  <leeming@lyx.org>
688
689         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
690         for MacOSX and Windows to use prependEnvPath.
691         Strip out the hard-coded block to add elements to the PATH for
692         MacOSX and replace it with a call to prependEnvPath using the
693         contents of LyXRC::path_prefix.
694         (queryUserLyXDir): strip out the code to run reconfigure, instead
695         returning a boolean indicating the necessity to do so.
696         (reconfigureUserLyXDir): contains the code to reconfigure the
697         user support directory. Is now called after the various LyXRC data
698         files have been read.
699
700         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
701
702 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
703
704         * converter.[Ch] (convert): take a new parameter try_default. Use
705         a default converter (imagemagick) if try_default is true.
706
707 2005-01-13  Angus Leeming  <leeming@lyx.org>
708
709         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
710         os::cygwin_path_fix.
711         (write): output LyXRC::cygwin_path_fix as necessary.
712
713 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
714
715         * lyxrc.h:
716         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
717
718 2005-01-12  Angus Leeming  <leeming@lyx.org>
719
720         * lyx_main.C (init): set the PATH variable to include the
721         directory containing the LyX binary when running on Mac or Windows.
722
723 2005-01-12  Angus Leeming  <leeming@lyx.org>
724
725         * lyx_main.C (init): remove cruft that purports to set the locale
726         dir. It doesn't and is not needed anyway.
727
728 2005-01-10  Angus Leeming  <leeming@lyx.org>
729
730         * Makefile.am: remove the lyx_main.C special casing.
731
732         * BufferView_pimpl.C:
733         * bufferlist.C:
734         * exporter.C:
735         * lyx_cb.C:
736         * lyx_main.C:
737         * lyxfunc.C:
738         * messages.C: use support/package.h to provide the paths to the
739         various directories used by LyX.
740
741 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
742
743         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
744         layout if pasting into an empty paragraph)
745
746 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
747
748         * tex-accent.C: add <string>
749
750 2005-01-06  José Matos  <jamatos@lyx.org>
751
752         * ParagraphParameters.C (write): put every parameter in its own line.
753         * paragraph.C (write): reduce number of consecutive empty lines exported.
754         * buffer.C (LYX_FORMAT): increase file format to 239.
755
756 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
757
758         * everywhere: change support/tostr.h -> support/convert.h
759
760         * tabular.C: make all write_attributes templates, tostr -> convert
761
762         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
763         (emptyTag): and -> &&, and fix type for ret from getChar
764         (getFirstWord): fix type for ret from getChar
765         (onlyText): and -> &&
766         (simpleDocBookOnePar): and not -> && !, fix type for ret from
767         getChar
768
769         * toc.C (goTo, action):
770         * text3.C (dispatch):
771         * text.C (currentState):
772         * tex-accent.C (DoAccent):
773         * sgml.C:
774         * lyxrc.C:
775         * lyxfunc.C (menuNew):
776         * lyxfinc.C (replace):
777         * counters.C (laberItem):
778         * bufferview_funcs.C (font2string):
779         * bufferparams.C (writeFile):
780         * buffer.C (readFile):
781         * Spacing.C (set):
782         * MenuBackend.C: tostr -> convert
783
784         * LaTeX.C (runMessage): fix format
785         (scanAuxFiles): tostr -> convert
786
787         * BufferView_pimpl.C (savePosition): fix format
788         (restorePosition): ditto
789         (dispatch): ditto
790
791 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
792
793         * Spacing.[Ch]: New method getValueAsString().
794
795         * Spacing.[Ch]:
796         * bufferparams.C:
797         * ParagraphParameters.C:
798         * lyxlayout.C:
799         * text.C:
800         * text3.C: store/read spacing value as string.
801
802         * rowpainter.C: change float value (spacing_val) to double.
803
804         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
805         broken custom document spacing).
806
807 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
808
809         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
810         namespace, also more use of temp references and const
811
812         * cursor.[Ch] (getStatus): move to lyxfunc.C
813
814         * bufferparams.C: reformat slightly
815
816         * bufferview_funcs.C (font2string): constify arg
817
818         * changes.C:
819         * converter.C:
820         * counters.C:
821         * bufferlist.C:
822         * buffer_funcs.C: (many funcs): constify arg on function
823         definitions, also make more local vars const, also add ASSERTS on
824         pointer args.
825
826         * buffer.C (LYX_FORMAT): put const in correct place
827         (many funcs): constify arg on function definitions, also make
828         more local vars const
829
830         * aspell_local.h: remove "struct" from typdef setup
831
832         * aspell.C (check): make word_ok const
833         (nextMiss): simplify slightly
834         (error): ditto
835
836 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
837
838         * lyxrc.[Ch]: store all float values as strings.
839         use int (not float) for lyxrc.dpi.
840
841 2005-01-04  Angus Leeming  <leeming@lyx.org>
842
843         * lyx_cb.C (Reconfigure):
844         * lyx_main.C (queryUserLyXDir):
845         to run the <system_lyxdir>/configure correctly on Windows, prefix
846         the path to the script with "sh " when generating the string that
847         is passed to system().
848
849 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
850
851         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
852
853 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
854
855         * lyxlength.C (asLatexString): get rid of setprecision
856
857 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
858
859         * text2.C (setLayout): remove unused variable endpit.
860         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
861
862         * paragraph.C (onlyText): remove unused variable style.
863
864         * cursor.C (bruteFind): remove unused variables beg and end.
865
866         * Makefile.am (dist_noinset_DATA): not needed anymore
867
868         * cheaders/*: remove.
869
870 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
871
872         * text3.C: fix LFUN_MATH_MODE.
873
874 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
875
876         * buffer_funcs.C (countWords): new function. Counts words between
877         two iterators.
878
879         * BufferView_pimpl.C (getStatus, dispatch): handle
880         LFUN_WORDS_COUNT.
881
882         * LyXAction.C (init):
883         * lfuns.h: add LFUN_WORDS_COUNT.
884
885 2004-12-19  Angus Leeming  <leeming@lyx.org>
886
887         * buffer.C (save): s/slashify_path/internal_path/.
888
889 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
890
891         * lyxfind.C (findChange): do not search for end of pars, because
892         the change tracker cannot handle this (fixes bug 1719).
893
894 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
895
896         * paragraph.[Ch] (autoBreakRows): remove
897
898         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
899
900         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
901         avoid using the paragraph one
902
903         * text2.C (LyXText, insertStringAsLines): adjust
904
905 2004-12-16  Angus Leeming  <leeming@lyx.org>
906
907         * bufferlist.C:
908         * lyx_main.C:
909         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
910
911 2004-12-14  Angus Leeming  <leeming@lyx.org>
912
913         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
914
915         * bufferlist.C (emergencyWrite):
916         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
917         GetEnvPath("HOME").
918
919 2004-12-14  Angus Leeming  <leeming@lyx.org>
920
921         * main.C: (main): no longer pass pointers to os::init.
922
923 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
924
925         * undo.C (textUndoOrRedo): simplify logic, fix a crash
926         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
927
928 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
929
930         * lyxfunc.C:
931         * text3.C: remove selection_possible global flag
932
933 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
934
935         * text2.C (getSelectionSpan): remove
936         (changeDepth, changeDepthAllowed): adjust
937
938 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
939
940         * Makefile.am (BOOST_LIBS): use boost variables
941
942 2004-12-03  José Matos  <jamatos@lyx.org>
943
944         * buffer.C: format up to 238.
945
946 2004-12-03  José Matos  <jamatos@lyx.org>
947
948         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
949
950 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
951
952         * cursor.C (goUpDown): remove call to idxUpDown2
953
954 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
955
956         * tabular.[Ch]: use size_t-like types for cell, row and column
957         indices
958
959 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
960
961         * lyxfunc.C (getStatus): do not lose previous information when
962         calling BufferView::getStatus; do not set a default "Command
963         disabled" message at the beginning, but just before returning.
964
965 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
966
967         * cursor.h (getStatus): add better comment from src/cursor.C
968
969 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
970
971         * text3.C (getStatus): return false when the lfun is not handled
972
973 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
974
975         * broken_headers.h: remove
976
977         * Makefile.am (lyx_SOURCES): remove broken_headers.h
978
979 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
980
981         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
982         offset_ref accessors
983
984         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
985         top_y_, merge fitcursor with update
986         (updateScrollbar, scrollDocView, fitCursor, center, update): new
987         coord scheme
988         (metrics): introduce
989         (workAreaDispatch): adapt to new coord scheme
990         (redoCurrentBuffer): remove
991
992         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
993
994         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
995         CurStatus enum.
996
997         * coordcache.[Ch]: add paragraph cache and helpers
998
999         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1000         adjust everywhere
1001
1002         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1003         (targetX, setTargetX): introduce
1004
1005         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1006         baseline -> ascent, as the rest of lyx
1007
1008         * lyxtext.h: remove redoParagraphs, updateParPositions,
1009         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1010         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1011         have ascent/descent (ascent is ascent of first par)
1012
1013         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1014         step of BufferView
1015
1016         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1017
1018         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1019
1020         * pariterator.C: fix infinite loop introduced in par->pit renaming
1021
1022         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1023         in insets and LyXText, draw two off-screen paragraphs using
1024         NullPainter, and adapt to new coord scheme
1025
1026         * text.C:
1027         * text2.C:
1028         * text3.C: adapt lfun handlers to the new coord scheme, which
1029         means: there's only guaranteed coord information for onscreen pars
1030         plus one above and one below. This implies that one can do search
1031         from y coordinates in the range [-1,workHeight]
1032
1033 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1034
1035         * rename a lot of InsetOld to InsetBase
1036
1037 2004-11-25  Angus Leeming  <leeming@lyx.org>
1038
1039         * BufferView_pimpl.C:
1040         * lyx_cb.C:
1041         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1042
1043 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1044
1045         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1046         call BufferView::getStatus if LCursor::getStatus did nothing
1047         (setStatusMessage, getStatusMessage): removed.
1048
1049         * FuncStatus.C (message): new methods. Used to provide an error
1050         message indicating why a command is disabled.
1051         (clear, |=, FuncStatus): update for message.
1052
1053 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1054
1055         * lyxfunc.C (dispatch): always call sendDispatchMessage
1056
1057 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1058
1059         * BufferView.C:
1060         * BufferView_pimpl.C:
1061         * CutAndPaste.C:
1062         * FontIterator.C:
1063         * buffer.C:
1064         * cursor.C:
1065         * cursor_slice.[Ch]:
1066         * dociterator.[Ch]:
1067         * lyxfind.C:
1068         * paragraph_funcs.C:
1069         * pariterator.C:
1070         * rowpainter.C:
1071         * text.C:
1072         * text2.C:
1073         * text3.C:
1074         * undo.C: par->pit renaming
1075
1076 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1077
1078         * tabular.C (cellstruct): use initialization, store a shared_ptr
1079         to insettext instead of the insettext directly, adjust to fit.
1080         (operator=):  new function
1081         (swap): new function
1082         (rowstruct): use initialization
1083         (columnstruct): use initialization
1084         (ltType): use initialization
1085
1086
1087         * lyxlength.h (swap): new function
1088
1089         * LColor.[Ch] (operator=): use the common semantics
1090
1091 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1092
1093         * lyxfind.C (findNextChange): update the bufferview after setting
1094         the selection.
1095
1096 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1097
1098         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1099         number of InsetOptArgs has already been inserted.
1100
1101         * output_latex.C (latexOptArgInsets): new method. This outputs all
1102         the optarg insets, up to the limit defined in the layout file.
1103         (optArgInset): removed
1104         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1105
1106 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1107
1108         * paragraph.C (isLetter): remove special spellchecker-related
1109         code; return true also for digits
1110         (isWord, isKomma): remove
1111
1112         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1113         * lyxfind.C (MatchString()): use isLetter instead of isWord
1114
1115 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1116
1117         * pariterator.h (operatir=): comment out un-implemented member
1118         function.
1119
1120         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1121         static cast.
1122
1123 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1124
1125         * lyxfont.h: include LColor.h to satisfy concept checks.
1126
1127 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1128
1129         * pariterator.h: add typdefs for value_type, difference_type,
1130         pointer and reference to satisfy concept checks. Also add default
1131         constructor for same reason.
1132
1133         * pariterator.C (operator++): add post-increment operator to
1134         satisfy concept checks.
1135
1136         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1137         checks.
1138
1139         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1140
1141         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1142         checks. Also rename base_type to BaseType to follow naming
1143         standard better.
1144
1145         * FloatList.h: include Floating.h to satisfy concept checks.
1146
1147 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1148
1149         * lyxfunc.C (getStatus): when the origin of the request is menu or
1150         toolbar, and the LyXView does not have focus, do as if there was
1151         no buffer (bug 1720)
1152
1153         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1154         FuncRequest to individual entries of LFUN_SEQUENCE
1155
1156 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1157
1158         * output_latex.C (TeXOnePar): override runparams.moving_arg
1159         according to the needprotect value of the current paragraph (bug
1160         1739)
1161
1162         * paragraph.C (simpleTeXOnePar): no need to override
1163         runparams.moving_args here
1164
1165 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1166
1167         * vspace.C: fix off-by-one-error, related to fix #1682
1168
1169 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1170
1171         * lengthcommon.C: a more general fix for bug 1682
1172
1173 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1174
1175         * text.C (backspace): fix crash
1176
1177 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1178
1179         * format.[Ch] (getFormatFromFile): new method
1180         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1181
1182 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1183
1184         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1185
1186 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1187
1188         * lyxfunc.C (dispatch): remove the verbose argument
1189         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1190         instead
1191
1192         * kbmap.C (defkey): set the origin of func to KEYBOARD
1193
1194         * MenuBackend.C (MenuItem):
1195         * ToolbarBackend.C (add): set the origin of func to UI
1196
1197         * funcrequest.[Ch]: add origin member, which indicates which part
1198         of LyX requests an action
1199
1200 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1201
1202         * converter.C (move): don't lie in the error message
1203         * converter.h (isReachable, move): document
1204
1205 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1206
1207         * buffer.C: remove unused using lyx::support::atoi
1208         * paragraph_funcs.C: ditto
1209
1210 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1211
1212         * bufferlist.C (exists): use bind and equal_to instead of
1213         compare_memfun
1214         (getBuffer): ditto
1215         * lyxtextclasslist.C (NumberOfClass): ditto
1216
1217         * cursor.C (insert): use for_each instead of explicit for loop
1218
1219         * bufferlist.C (getFileNames): use std::transform and
1220         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1221
1222         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1223         for loop
1224
1225         * buffer.C (changeLanguage): use for_each instead of explicit for
1226         loop
1227         (hasParWithID): implement using getParFromID
1228
1229         * LaTeXFeatures.C: ws change only
1230
1231         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1232         to cleanup a bit.
1233
1234         * BufferView_pimpl.C (trackChanges): use for_each instead of
1235         expilicit for loop
1236
1237 2004-11-04  André Pönitz  <poenitz@gmx.net>
1238
1239         * undo.h:
1240         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1241
1242         * dociterator.C (asDocIterator): use hard assert again.
1243
1244 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1245
1246         * lyxlength.C (asLatexString): rewrite so that it does not use
1247         snprintf anymore
1248
1249 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1250
1251         * text3.C (specialChar, dispatch): make sure cursor moves to the
1252         right after inserting an inset
1253
1254 2004-11-02  José Matos  <jamatos@lyx.org>
1255
1256         * output_docbook.C (docbook):
1257         * paragraph.C (getID):
1258         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1259         garantee that the output is always legal.
1260
1261         * tabular.C (docbook):
1262         * outputprams.[Ch]: remove mixed contents.
1263
1264 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1265
1266         * text2.C (setCounter): prevent endless loop
1267
1268 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1269
1270         * exporter.C (copyFile): use the mover instead of support::copy()
1271         * exporter.C (Export): pass format and latex name to copyFile()
1272         * exporter.h (addExternalFile): document
1273         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1274
1275 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1276
1277         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1278
1279 2004-10-30  José Matos  <jamatos@lyx.org>
1280
1281         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1282         text and no inset or font change. This allows to use CDATA
1283         sections just for the whole paragraph.
1284
1285 2004-10-30  José Matos  <jamatos@lyx.org>
1286
1287         * paragraph.C (getFirstWord): remove unused variable.
1288
1289 2004-10-30  José Matos  <jamatos@lyx.org>
1290
1291         * paragraph.C (getFirstWord): the content should always be escaped
1292         there.
1293         (simpleDocBookOnePar):
1294         * output_docbook.C (makeEnvironment): replace reference to CDATA
1295         to style pass_thru.
1296
1297 2004-10-30  José Matos  <jamatos@lyx.org>
1298
1299         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1300
1301 2004-10-30  José Matos  <jamatos@lyx.org>
1302
1303         * output_docbook.C (makeParagraphs):
1304         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1305         standard paragraph has only a given type of content drop the wrapper.
1306
1307 2004-10-29  José Matos  <jamatos@lyx.org>
1308
1309         * output_docbook.C (makeEnvironment):
1310         * sgml.C (openTag):
1311         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1312
1313 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1314
1315         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1316         (cleanID): sanitize any id.
1317
1318 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1319
1320         * buffer.C, lyxlex_pimpl.C:
1321         * lyxlex_pimpl.C (setFile):
1322         s/getExtFromContents/getFormatFromContents/
1323
1324 2004-10-28  José Matos  <jamatos@lyx.org>
1325
1326         * output_docbook.C (makeEnvironment): move id to broadest possible
1327         scope.
1328
1329         * sgml.C (openTag): apply substitution of <> for all attributes.
1330
1331 2004-10-28  José Matos  <jamatos@lyx.org>
1332
1333         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1334         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1335         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1336
1337         * sgml.[Ch]: new version for open and closeTag for paragraph and
1338         for strings. Now they handle the ids of paragraphs.
1339
1340 2004-10-26  Angus Leeming  <leeming@lyx.org>
1341
1342         * Makefile.am: add mover.[Ch].
1343
1344         * converter.C (convert, move): use the new Movers to move external
1345         files to the temp directory.
1346
1347         * lyx_main.C (init): ensure that the global system_movers data
1348         is initialised.
1349
1350         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1351         preferences file.
1352
1353         * mover.[Ch]: new files, defining a Mover as a utility to move an
1354         external file between directories and, if necessary, manipulate this
1355         file using a helper script.
1356
1357 2004-10-25  José Matos  <jamatos@lyx.org>
1358
1359         * output_docbook.C (makeCommand): merge two if's that tested the
1360         same condition.
1361
1362 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1363
1364         * sgml.C (escapeString): fix warning in a better way
1365
1366 2004-10-25  José Matos  <jamatos@lyx.org>
1367
1368         * sgml.C (escapeString): import the require boosts header file for
1369         tie, and avoid a signed unsigned comparison.
1370
1371 2004-10-25  José Matos  <jamatos@lyx.org>
1372
1373         * sgml.h: add #include <string>
1374
1375 2004-10-25  José Matos  <jamatos@lyx.org>
1376
1377         * sgml.[Ch] (escapeString): new function to escape all the string.
1378
1379 2004-10-24  José Matos  <jamatos@lyx.org>
1380
1381         * paragraph.[Ch] (getFirstWord): new function to get the first
1382         word. Useful for description.
1383         (simpleDocBookOnePar): remove depth argument, add another that
1384         says where to start the paragraph.
1385
1386         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1387         use the new functions to fix cleanly the support for descriptions.
1388
1389 2004-10-24  José Matos  <jamatos@lyx.org>
1390
1391         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1392         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1393         * output_linuxdoc.C (linuxdocParagraphs):
1394         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1395         add buffer as argument.
1396
1397 2004-10-24  José Matos  <jamatos@lyx.org>
1398
1399         * output_docbook.C (makeEnvironment, searchEnvironment): place
1400         CDATA inside paragraphs and fix scope for listitems.
1401
1402 2004-10-24  José Matos  <jamatos@lyx.org>
1403
1404         * output_docbook.C: remove using statement for stack.
1405
1406 2004-10-23  José Matos  <jamatos@lyx.org>
1407
1408         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1409         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1410         docbook. The new scheme is recursive and makes use of iterators, the
1411         same as latex export works.
1412         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1413         directly with the paragraph contents. This code was moved up to
1414         output_docbook.C (docbookParagraphs).
1415         * sgml.C (openTag, closeTag): removed unneeded newlines.
1416         (closeEnvTags) removed.
1417
1418 2004-10-23  André Pönitz  <poenitz@gmx.net>
1419
1420         * undo.C (textUndoOrRedo):
1421         * dociterator.C (asDocIterator): work around crash
1422
1423         * cursor.C (getStatus): replace ASSERT by more verbose error message
1424           and manual correction of the problem. Should increase stability
1425           while providing more sensible information.
1426
1427 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1428
1429         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1430
1431         * bufferlist.C (previous, next): new methods
1432
1433         * lfuns.h:
1434         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1435
1436 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1437
1438         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1439         entities to preamble.
1440
1441 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1442
1443         * messages.C (Pimpl): strip off translation context information
1444
1445 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1446
1447         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1448         the cursor is correct (bug 1694)
1449
1450 2004-10-13  José Matos  <jamatos@lyx.org>
1451
1452         * output_docbook.C (docbookParagraphs): fix closing tags in the
1453         end of the document.
1454
1455 2004-10-09  José Matos  <jamatos@lyx.org>
1456
1457         * buffer.C: format up to 237.
1458         * bufferparams.C (write): use tostr to convert booleans to strings.
1459
1460 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1461
1462         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1463
1464 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1465
1466         * LaTeX.C: implement use of babel language in xindy.
1467
1468 2004-10-05  José Matos  <jamatos@lyx.org>
1469
1470         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1471         Add new translators to help reading and writing the lyx file.
1472
1473 2004-10-05  José Matos  <jamatos@lyx.org>
1474
1475         * ParagraphParameters.C (read):
1476         * text.C (readParToken): replace nexToken by more appropriate lex
1477         methods.
1478
1479 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1480
1481         * LaTeX.C (runMakeIndex):
1482         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1483         (usually 'makeindex') configurable.
1484
1485         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1486         with a variable rather than with a number.
1487
1488 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * output_latex.C (TeXOnePar): make sure font setting is the first
1491         thing that gets output (and the last at the end). Should fix bug
1492         1404.
1493
1494 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1495
1496         * pch.h: use proper signal include
1497
1498         * LaTeX.h: Use preferred calling of Boost.Signal
1499         * buffer.h: ditto
1500
1501 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1502
1503         * pch.h: dont include <boost/function/function0.hpp>
1504
1505         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1506
1507         * paragraph_pimpl.h: remove usage of ShareContainer
1508
1509         * paragraph_pimpl.C: remove initialization of ShareContainer.
1510
1511 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1512
1513         Fix bug #1666
1514
1515         * BufferView.C (putSelectionAt): change the semantics when
1516         backwards == true: now, this just swaps cursor and anchor wrt the
1517         forward case
1518
1519         * BufferView.h (putSelectionAt): add some documentation
1520
1521         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1522         make sure backwardChar is done at least once (to avoid getting
1523         stuck)
1524         (findNextChange): use putSelectionAt in the forward direction
1525         (operator()): use Paragraph::isWord
1526
1527 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1528
1529         * Spacing.C (set): c_str fix
1530
1531 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1532
1533         * lyx_cb.C (Reconfigure): quote the name of configure script in
1534         case it contains spaces
1535
1536 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1537
1538         * client: new dir
1539
1540         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1541         (BOOST_LIBS): use top_buildir when looking for the file
1542
1543 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1544
1545         * pch.h: do not use include boost/format.hpp, multiple symbols
1546                 will result (gcc bug)
1547
1548
1549 2004-08-23  José Matos  <jamatos@lyx.org>
1550
1551         * bufferparams.C (readToken): fix reading of the author field.
1552
1553 2004-08-20  José Matos  <jamatos@lyx.org>
1554
1555         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1556
1557 2004-08-20  José Matos  <jamatos@lyx.org>
1558
1559         * lyxlex.[Ch] (findToken): remove function.
1560
1561         * ParagraphParameters.C (findToken):
1562         * bufferparams.C (findToken): replace call for previous function
1563         with local copy. This local function has one more argument, the
1564         read string argument.
1565
1566 2004-08-16  José Matos  <jamatos@lyx.org>
1567
1568         * ParagraphParameters.C (write):
1569         * Spacing.C (writeFile):
1570         * bufferparams.C (writeLaTeX):
1571         * lyx_cb.C (Reconfigure):
1572         * paragraph.C (write):
1573         * tabular.C (write): remove unnecessary space at end of line.
1574
1575
1576 2004-08-16  José Matos  <jamatos@lyx.org>
1577
1578         * text.C (readParagraph): remove debug message.
1579
1580 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1581
1582         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1583         crash
1584
1585         * output_plaintext.C (asciiParagraph): set depth correctly
1586
1587         * outputparams.h: add member depth
1588
1589         * paragraph_funcs.C (ownerPar): remove.
1590
1591         * text2.C (setCounter): remove first_pit; comment out some
1592         non-working code that uses ownerPar
1593
1594         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1595         uses ownerPar
1596
1597 2004-08-16  José Matos  <jamatos@lyx.org>
1598
1599         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1600         For the same level of importance use the same chanel to report problems.
1601         (read): add code to deal with \begin_body and \end_body.
1602
1603
1604 2004-08-15  José Matos  <jamatos@lyx.org>
1605
1606         * lyxlex.C (getString): fix comment, buffer::readBody is now
1607         buffer:readDocument.
1608
1609         * tex-strings.C (string_papersize): Default -> default,
1610         Custom -> custom, for consistency with other options.
1611
1612 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1613
1614         * pch.h: new file
1615
1616         * Makefile.am: support pch
1617
1618 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1619
1620         * text.C (readParToken): remove the static LyXFont variable and
1621         pass it as a parameter instead. This fixes a nasty bug where an
1622         inset will be inserted with a bad font in some situations
1623         (readParagraph): adapt
1624
1625         * text2.C (setCounter): reduce number of calls to pars_[pit]
1626
1627         * text.C (singleWidth): add an assert, fix a test
1628
1629         * rowpainter.C (paintText): reduce number of calls to singleWidth
1630
1631         * paragraph.C (isHfill):
1632         (isNewline): ws only
1633
1634 2004-08-14  André Pönitz  <poenitz@gmx.net>
1635
1636         * text.C:
1637         * text2.C:
1638         * rowpainter.C:
1639         * lyxtext.h (several functions): use a Paragraph & argument
1640         instead of par_type
1641
1642 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1643
1644         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1645
1646         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1647
1648         * text.C (singleWidth): remove useless test
1649
1650 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1651
1652         * tabular.h: remove bogus comments
1653
1654         * tabular.C (getDescentOfRow):
1655         (isPartOfMultiColumn): add assertions
1656
1657         * lyxlength.C (inPixels): remove #warning
1658
1659 2004-08-14  André Pönitz  <poenitz@gmx.net>
1660
1661         * paragraph.h: inline getChar()
1662
1663         * BufferView.h: remove unused declarations
1664
1665 2004-08-14  José Matos  <jamatos@lyx.org>
1666
1667         * Buffer.[Ch] (readDocument): new name for old readBody.
1668         * Buffer.C: new file format, new keywords: \begin_document,
1669         \begin_header, \begin_body, \end_body.
1670
1671         * bufferparams.C (readToken): replace all calls to lex.nextToken
1672         by lex.next(). Do the same to eatLine except where really needed.
1673
1674         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1675         line when writing to the lyx file.
1676
1677         * output_plaintext.C (asciiParagraph): fix Bibliography style
1678         handling.
1679
1680         * text.C (read): fix end of file handling.
1681
1682 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1683
1684         * MenuBackend.C (Menu::operator[]): new method to access
1685         individual menu items
1686         (Menu::hasFunc): new method. search for an item that corresponds
1687         to a given func
1688         (MenuBackend::specialMenu): new method
1689         (MenuBackend::expand): if a special menu has been set, skip
1690         entries whose func() appears in this menu
1691
1692 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1693
1694         * text3.C: use Debug::DEBUG a bit more
1695
1696         * text.C (leftMargin): try to simplify a tiny bit change var x to
1697         l_margin. Dont output the wide margins always.
1698         (rightMargin): no margin in inner texts
1699
1700         * rowpainter.h (nestMargin): new func
1701         (changebarMargin): new func
1702         (rightMargin): new func
1703
1704         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1705         now functions.
1706         (paintLast): ditto
1707
1708         * factory.C (createInset): modify setDrawFrame
1709
1710         * cursor.C: use Debug::DEBUG a bit more
1711
1712 2004-08-14  André Pönitz  <poenitz@gmx.net>
1713
1714         * coordcache.[Ch]:
1715         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1716         cache for all insets in (at least partially) visible (top-level)
1717         paragraphs.
1718
1719         * BufferView_pimpl.C: reset external coord cache before every update.
1720         This means the coord cache only contains valid entries.
1721
1722 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1723
1724         bug 1096
1725         * BufferView_pimpl.C (getInsetByCode): move function out of class
1726         and change in to a template in anon namespace. Also fix to do what
1727         suits us better.
1728
1729 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1730
1731         bug 1305
1732         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1733         of char
1734         (breakParagraph): rename par to par_offset and use a local
1735         reference. Add code to keep the language over a rebreak.
1736         (breakParagraphConservative): rename par to par_offset, use a
1737         local reference
1738         (mergeParagraph): ditto
1739         (outerHook): ditto
1740         (isFirstInSequence): ditto
1741         (outerFont): rename pit to par_offset
1742
1743         * paragraph.C: ws change
1744         * paragraph.h: ditto
1745         * text3.C: ditto
1746         * text.C: ditto
1747
1748 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1749
1750         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1751         treatment for ']'
1752
1753         * paragraph.C (simpleTeXOnePar): when we have a \item with
1754         optional argument, enclose the argument with curly brackets (in
1755         case it contains a closing square bracket)
1756
1757         * text2.C (editXY):
1758         * text2.C (editXY):
1759         * text3.C (checkInsetHit): constify
1760
1761 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1762
1763         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1764         documents (bug 1629)
1765
1766 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1767
1768         Fix toggling of collapsable insets with the mouse (bug 1558)
1769
1770         * lyxfunc.C (dispatch): adapt to LCursor changes
1771
1772         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1773         make sure that dispatch is not invoked twice
1774
1775         * cursor.C (needsUpdate): new method
1776         (dispatch): return void
1777         (result): new method, to access the DispatchResult of the cursor.
1778
1779 2004-08-13  José Matos  <jamatos@lyx.org>
1780
1781         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1782
1783 2004-08-13  André Pönitz  <poenitz@gmx.net>
1784
1785         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1786
1787         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1788           multiple cells
1789
1790 2004-08-12  André Pönitz  <poenitz@gmx.net>
1791
1792         * text3.C: take out the 'cursor right' form insertInset and only
1793         do it in those places when it is really needed. Fixes crash on
1794         C-m...
1795
1796 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1797
1798         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1799
1800         * BufferView_pimpl.C (setBuffer): initialize the current font of
1801         the underlying LyXText
1802
1803 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1804
1805         * kbsequence.C (print): use UI native formatting for menu
1806         shortcuts
1807
1808         * text.C (insertChar): call Paragraph::insertChar with a font
1809         argument (cosmetic)
1810
1811         * paragraph.C (insertInset, insertChar): the version that takes a
1812         LyXFont argument is now a wrapper around the other one (the
1813         opposite used to be true).
1814
1815         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1816         argument. Font setting is done in Paragraph now.
1817
1818 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1819
1820         * outputparams.h: add new members intitle and lang.
1821
1822         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1823         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1824
1825 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1826
1827         * text3.C (dispatch): remove special handling of button 4 and 5,
1828         it is now taken care of in the frontend code.
1829
1830 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1831
1832         * Spacing.h: add <string> (STLPort compile fix)
1833
1834 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1835
1836         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1837
1838 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1839
1840         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1841         to bool.
1842
1843         * converter.C (showMessage): inherit from unary_function, make
1844         operator() const.
1845
1846         * buffer.C (writeFile): initialize retval
1847
1848         * InsetList.h: rename private variable list to list_
1849         * InsetList.[Ch]: adjust accordingly.
1850
1851 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1852
1853         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1854         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1855         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1856         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1857         * ParagraphParameters.C, LaTeXFeatures.C: replace
1858         "support/std_sstream.h" with <sstream>
1859
1860 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1861
1862         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1863         * lyxsocket.C (LyXServerSocket): ditto
1864         (serverCallback): ditto
1865
1866 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1867
1868         * LaTeXFeatures.C: check release date when loading jurabib.
1869
1870 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1871
1872         * lyxserver.C (startPipe): call register_socket_callback
1873         (endPipe): call unregister_socket_callback
1874
1875 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1876
1877         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1878         (LyXServerSocket): register the callback
1879         (LyXServerSocket): unregister the callback
1880         (fd): delete function
1881         (serverCallback): improve error checking and setup the callbacks.
1882         (dataCallback): change arg to fd.
1883         (writeln): new func (copied fro the client socket) used for server
1884         write to client.
1885         (LyXDataSocket): simplify
1886         (~LyXDataSocket): close ann unregiser callback
1887         (server): delete function
1888         (fd): delete function
1889         (readln): small changes, improve some std::string usage
1890         (writeln): constify a bit
1891
1892 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1893
1894         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1895         Qt frontend
1896
1897 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1898
1899         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1900         after it has been populated
1901
1902 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1903
1904         * text2.C (insertInset): move cursor when inserting inset.
1905
1906 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1907
1908         * kbmap.C (findbindings): a couple of new methods. returns a
1909         container of kb_sequence objects. The real work is done by the
1910         private recursive version
1911         (printbindings): uses findbindings to print out a bracketed list
1912         of bindings (renamed from findbinding).
1913
1914         * MenuBackend.C (binding): use kb_keymap::findbindings
1915
1916         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1917
1918 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1919
1920         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1921
1922 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1923
1924         * paragraph.C (isWord): return true on insets that report
1925         isLetter().
1926
1927         * text.C (getWord): use Paragraph::isWord to decide what is in a
1928         word and what is not; fix bug 1609.
1929
1930 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1931
1932         * tex-strings.C: add "none" to string_paperpackages[], fixes
1933         off-by-one-error in the paperpackage selection.
1934
1935         * lyxlex.[Ch]:
1936         * tex-strings.[Ch]: char const * string[n]
1937         -> char const * const string[]
1938
1939 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1940
1941         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1942         command, return early.
1943
1944 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1945
1946         * debug.h: add DEBUG to enum and fix size of ANY.
1947
1948         * debug.C: add support for Debug::DEBUG
1949         (showTags): cast errorTags.level to unsigned int
1950
1951         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1952         (redoCurrentBuffer): ditto
1953         (updateScrollbar): ditto
1954         * cursor.C (dispatch): ditto
1955         * text2.C (setLayout): ditto
1956         (setFont): ditto
1957         (updateCounters): ditto
1958         (editXY): ditto
1959         (deleteEmptyParagraphMechanism): ditto
1960
1961 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1962
1963         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1964         annotations to cleanup the Makefile slightly.
1965
1966 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1967
1968         * lyxrc.C: do not set user_email to a default value but use empty
1969         instead. The entry used to be translated, which does not work
1970         since at the point where lyxrc is constructed there is no
1971         translation service available
1972
1973         * messages.C (getLocaleDir): remove and use directly
1974         lyx_localedir() instead
1975
1976 2004-06-02  Angus Leeming  <leeming@lyx.org>
1977
1978         Fix crash caused by dereferencing null pointer 'exportdata' in
1979         OutputParams by creating a new ExportData variable on the heap,
1980         storing it in a boost::shared_ptr.
1981         The crash was triggered when generating an Instant Preview
1982         of an external inset.
1983
1984         * Makefile.am: add outputparams.C
1985
1986         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1987         (c-tor): allocate memory to it.
1988
1989         * exporter.C (c-tor): associated changes.
1990
1991 2004-06-01  Angus Leeming  <leeming@lyx.org>
1992
1993         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1994         contains data before calling isInset(0). (Bug 1513.)
1995
1996 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1997
1998         * exporter.C (checkOverwrite): new method
1999         * exporter.C (copyFile): new method
2000         * exporter.C (Export): copy referenced files to the document dir
2001         * exporter.[Ch]: new class ExportedFile
2002         * exporter.[Ch]: new class ExportData. Contains currently the
2003         names of referenced external files
2004         * outputparams.h: add exportdata member.
2005
2006 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2007
2008         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2009         version.C-tmp
2010
2011 2004-05-19  Angus Leeming  <leeming@lyx.org>
2012
2013         * LaTeXFeatures.C:
2014         * ToolbarBackend.C:
2015         * bufferparams.C:
2016         * lyxfunc.C: small changes due to the introduction of namespace
2017         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2018
2019 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2020
2021         * text3.C (dispatch): supress update when only moving the cursor
2022         * cursor.C (selHandle): remove commented code
2023
2024 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2025
2026         * paragraph.C (startTeXParParams): correct column count
2027         * CutAndPaste.C (pasteSelection): remove const_cast
2028         * output_docbook.C (docbookParagraphs): remove const_cast
2029         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2030         const_cast and return ParagraphList::const_iterator
2031         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2032         * output_plaintext.C (writeFileAscii): remove const_cast
2033         * paragraph.[Ch] (simpleTeXOnePar): make const
2034         * paragraph_funcs.C (outerPar): use const iterators
2035         * paragraph_pimpl.C (validate): use const iterators
2036         * text.C (setHeightOfRow): use const iterators
2037
2038 2004-05-17  Angus Leeming  <leeming@lyx.org>
2039
2040         * lfuns.h:
2041         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2042
2043         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2044         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2045         if the citation engine has changed.
2046
2047 2004-05-14  José Matos  <jamatos@lyx.org>
2048
2049         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2050         if the textclass does not provide it. Have it different for sgml and
2051         xml.
2052         support the language of document.
2053         * output_docbook.C (docbookParagraphs):
2054         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2055         first anchor as the id of the paragraph, remove special case code.
2056         * sgml.C (escapeChar): escape only < & >.
2057
2058 2004-05-14  Angus Leeming  <leeming@lyx.org>
2059
2060         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2061         dependencies on src/frontends/controllers/biblio.h. Define a
2062         CiteEngine_enum wrapper class to enable the enum to be forward
2063         declared.
2064
2065 2004-05-12  Angus Leeming  <leeming@lyx.org>
2066
2067         * buffer.C: up LYX_FORMAT to 234.
2068         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2069         use_numerical_citations with a single biblio::CiteEngine cite_engine
2070         variable.
2071         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2072
2073 2004-05-13  José Matos  <jamatos@lyx.org>
2074
2075         * converter.h:
2076         * converter.C (Converter, readFlags): add xml member.
2077         * outputparams.h: add XML flavor.
2078         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2079
2080 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2081
2082         * lyxfunc.C (dispatch):
2083         (getStatus): fix handling of LFUN_SEQUENCE
2084
2085 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2086
2087         * debug.C (showLevel): do not forget the end-of-line marker
2088
2089 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2090
2091         * kbmap.C (read): do not stop parsing a bind file when an error
2092         occurs (bug 1575)
2093
2094 2004-04-29  Angus Leeming  <leeming@lyx.org>
2095
2096         * cursor.C:
2097         * factory.C:
2098         * pariterator.C:
2099         * text2.C: wrap a bunch of #warning statements
2100         inside #ifdef WITH_WARNINGS blocks.
2101
2102 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2103
2104         * buffer.C: increment format to 233.
2105
2106 2004-04-28  Angus Leeming  <leeming@lyx.org>
2107
2108         * BufferView_pimpl.C:
2109         * lyxfunc.C:
2110         * text3.C:
2111         s/updateToolbar()/updateToolbars()/
2112         s/Toolbar.h/Toolbars.h/
2113
2114 2004-04-28  Angus Leeming  <leeming@lyx.org>
2115
2116         * BufferView.[Ch] (c-tor):
2117         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2118         No longer passes these data to the WorkArea generator.
2119
2120 2004-04-28  Angus Leeming  <leeming@lyx.org>
2121
2122         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2123
2124 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2125
2126         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2127
2128 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2129
2130         * output_latex.C (TeXEnvironment): make sure that there is a line
2131         break before \end{foo} for the last paragraph of a document
2132         (TeXOnePar): if the paragraph is at the end of the document (or
2133         inset) and the language has to be reset, then make sure that the
2134         line break is _before_ the language command, not after (fixes bug
2135         1225); also make sure that the language reset command is the first
2136         thing after the paragraph (to ensure proper nesting of
2137         environments and thus fix bug 1404)
2138
2139 2004-04-21  John Levon  <levon@movementarian.org>
2140
2141         * ToolbarBackend.h:
2142         * ToolbarBackend.C: make "name" be a programmatic name
2143         and a gui_name field.
2144
2145         * lyxfunc.C: display the minibuffer on M-x
2146
2147 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2148
2149         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2150         (bug 1526)
2151
2152 2004-04-19  Angus Leeming  <leeming@lyx.org>
2153
2154         * BufferView_pimpl.C (setBuffer): changed preview interface.
2155
2156         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2157         possible values.
2158
2159 2004-04-19  John Levon  <levon@movementarian.org>
2160
2161         * BufferView_pimpl.C:
2162         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2163
2164 2004-04-05  Angus Leeming  <leeming@lyx.org>
2165
2166         * text.C (redoParagraphs): add call to updateCounters(), thereby
2167         fixing the missing "Figure #:" label from the caption of a
2168         figure float.
2169
2170 2004-04-13  Angus Leeming  <leeming@lyx.org>
2171
2172         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2173         cursor is clicked out of an inset.
2174
2175 2004-04-13  Angus Leeming  <leeming@lyx.org>
2176
2177         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2178         than an InsetOld one.
2179
2180 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2181
2182         * format.[Ch]: add editor to Format
2183         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2184         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2185
2186 2004-04-08  André Pönitz  <poenitz@gmx.net>
2187
2188         * metricsinfo.h: remove PainterInfo::width member
2189
2190 2004-04-08  Angus Leeming  <leeming@lyx.org>
2191
2192         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2193         "\providecommand" rather than "\newcommand", thereby preventing
2194         clashes with packages that define "\boldsymbol" themselves.
2195         Eg, beamer.
2196
2197 2004-04-08  Angus Leeming  <leeming@lyx.org>
2198
2199         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2200         thereby squashing an unnecessary warning.
2201
2202 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2203
2204         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2205         setBuffer()
2206
2207 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2208
2209         * BufferView.C (setCursor): call redoParagraph (some insets could
2210         have been opened)
2211         (putSelectionAt): remove the 'double update' trick
2212
2213         * BufferView_pimpl.C (fitCursor): call refreshPar
2214         (workAreaDispatch): remove an uneeded update call
2215         (dispatch): remove some manual update calls
2216
2217         * cursor.[Ch]: remove cached_y_, updatePos
2218         (selHandle): set noUpdate when appropriate
2219
2220         * lyxfunc.C (dispatch): track if we need an update
2221
2222         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2223
2224         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2225         (paintSelection): cheap optimization, do not call cursorX when not
2226         needed
2227         (paintPars): change signature
2228         (refreshPar): add
2229         (paintText): adjust
2230         (paintTextInset): adjust
2231
2232         * text.C: adjust
2233
2234 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2235
2236         * lengthcommon.C: compilation fix: remove explicit array size from
2237         unit_name[] and friends
2238
2239 2004-04-05  Angus Leeming  <leeming@lyx.org>
2240
2241         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2242
2243         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2244         present only for the preferences dialog.
2245         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2246
2247 2004-04-05  Angus Leeming  <leeming@lyx.org>
2248
2249         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2250         to enable the frontends to export changes to lyxrc correctly.
2251
2252         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2253
2254 2004-04-07  André Pönitz  <poenitz@gmx.net>
2255
2256         * cursor.[Ch] (selClear, adjust): remove math
2257
2258         * cursor_slice.C: more agressive assert
2259
2260         * lyxfunc.C:
2261         * BufferView_pimpl.C: rework mouse event dispatch
2262
2263         * dociterator.C:
2264         * paragraph.C:
2265         * text2.C:
2266         * text3.C: adjust
2267
2268 2004-04-05  André Pönitz  <poenitz@gmx.net>
2269
2270         * cursor.[Ch] (valign, halign...): remove unneeded functions
2271
2272 2004-04-05  Angus Leeming  <leeming@lyx.org>
2273
2274         * lyxlength.[Ch] (unit_name et al.): const-correct.
2275
2276 2004-04-05  Angus Leeming  <leeming@lyx.org>
2277
2278         * BufferView_pimpl.C:
2279         * buffer.C:
2280         * counters.C:
2281         * cursor.C:
2282         * lyxfunc.C
2283         * paragraph.C:
2284         * pariterator.C:
2285         * text.C:
2286         * text2.C:
2287         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2288
2289 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2290
2291         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2292
2293 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2294
2295         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2296         * BufferView_pimpl.[Ch] (getStatus)
2297         * BufferView.[Ch] (getStatus): add
2298         * lyxfunc.C (getStatus): move lfuns handled in
2299         BufferView::dispatch to te function above
2300         * Cursor.C (setSelection): set selection() = true
2301
2302 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2303
2304         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2305
2306 2004-03-31  Angus Leeming  <leeming@lyx.org>
2307
2308         * lyxfunc.C (dispatch): Fall through to the generic
2309         Dialogs::show("preamble").
2310
2311 2004-03-31  Angus Leeming  <leeming@lyx.org>
2312
2313         * lyxfunc.C (dispatch): Fall through to the generic
2314         Dialogs::show("spellchecker").
2315
2316 2004-03-31  Angus Leeming  <leeming@lyx.org>
2317
2318         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2319         preferences dialog.
2320
2321 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2322
2323         * BufferView.C
2324         * cursor.[Ch]
2325         * dociterator.[Ch]:
2326         * insetiterator.[Ch]:
2327         * lyxfind.C:
2328         * lyxfunc.C:
2329         * pariterator.[Ch]:
2330         * text2.C:
2331         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2332
2333 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2334
2335         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2336         insets where we are putting the cursor.
2337
2338 2004-03-31  Angus Leeming  <leeming@lyx.org>
2339
2340         * lfuns.h:
2341         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2342
2343         * lyxrc.[Ch] (read, write): overloaded member functions taking
2344         a std::[io]stream arguments.
2345
2346         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2347
2348 2004-03-31  Angus Leeming  <leeming@lyx.org>
2349
2350         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2351         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2352
2353         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2354         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2355
2356 2004-03-31  Angus Leeming  <leeming@lyx.org>
2357
2358         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2359         the LFUN_ALL_INSETS_TOGGLE code.
2360
2361 2004-03-30  Angus Leeming  <leeming@lyx.org>
2362
2363         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2364         has died. Fall through to the generic Dialogs::show("document").
2365
2366 2004-03-30  Angus Leeming  <leeming@lyx.org>
2367
2368         * lfuns.h:
2369         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2370         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2371
2372         * lyxfunc.C (getStatus, dispatch): define the actions for these
2373         lfuns. Little more than a cut and pste job from ControlDocument.C
2374
2375         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2376
2377 2004-03-30  Angus Leeming  <leeming@lyx.org>
2378
2379         * lfuns.h:
2380         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2381         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2382
2383         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2384         open/closed state of ollapsable insets. Usage:
2385
2386         all-inset-toggle <state> <name>, where
2387         <state> == "open" || "closed" || "toggle" and
2388         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2389
2390         * lyxtext.h, text2.C (toggleInset): removed.
2391
2392         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2393         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2394         now passes LFUN_INSET_TOGGLE to the found inset.
2395
2396         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2397         is now invoked as "all-insets-toggle toggle branch".
2398
2399 2004-03-30  Angus Leeming  <leeming@lyx.org>
2400
2401         * dociterator.C:
2402         * insetiterator.C:
2403         * pariterator.[Ch]: added/corrected header blurb.
2404
2405 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2406
2407         * dociterator.[Ch]: add an inset_ member
2408         (backwardPos): implemented
2409         (backwardPos, forwardPos): use inset_ when the stack is empty.
2410         (doc_iterator_begin, doc_iterator_end): implemented
2411         * pariterator.[Ch]: adjust, add begin, end
2412         * insetiterator.[Ch]: adjust, add begin, end
2413         * cursor.C:
2414         * document.C:
2415         * BufferView.C:
2416         * BufferView_pimpl.C:
2417         * CutAndPaste.C: adjust
2418
2419 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2420
2421         * buffer.C: increment file format to 232.
2422         * LaTeXFeatures.C: add bibtopic package.
2423         * bufferparams.[Ch]: param \use_bibtopic.
2424
2425         * lyxrc.[Ch]: add lyxrc bibtex_command
2426         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2427
2428         * buffer.C: increment file format to 231.
2429
2430 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2431
2432         * dociterator.C: implement forwardPar
2433         * iterators.[Ch]: remove, replaced by
2434         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2435         * BufferView.C:
2436         * BufferView_pimpl.C:
2437         * CutAndPaste.C:
2438         * buffer.C:
2439         * bufferview_funcs.C:
2440         * cursor.C:
2441         * lyxfind.C
2442         * lyxfunc.C
2443         * paragraph_funcs.C
2444         * toc.C:
2445         * Makefile.am: adjust
2446
2447 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2448
2449         * CutAndPaste.C (pasteSelection): fix 2 crashes
2450         (eraseSelection): fix a crash
2451         * paragraph_funcs.C: remove a warning
2452
2453 2004-03-28  Angus Leeming  <leeming@lyx.org>
2454
2455         * lfuns.h:
2456         * LyXAction.C (init): new LFUN_PRINT.
2457
2458         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2459
2460 2004-03-27  Angus Leeming  <leeming@lyx.org>
2461
2462         * lfuns.h:
2463         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2464
2465         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2466
2467 2004-03-27  Angus Leeming  <leeming@lyx.org>
2468
2469         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2470         insetlist always contains non-null pointers to insets.
2471
2472 2004-03-26  Angus Leeming  <leeming@lyx.org>
2473
2474         * src/BufferView_pimpl.C:
2475         * src/CutAndPaste.C:
2476         * src/buffer.C:
2477         * src/iterators.C:
2478         * src/output_plaintext.C:
2479         * src/outputparams.h:
2480         * src/paragraph_funcs.C:
2481         * src/rowpainter.C:
2482         * src/text.C:
2483         * src/text2.C:
2484         * src/frontends/controllers/ControlErrorList.C:
2485         * src/frontends/gtk/FileDialogPrivate.C:
2486         * src/frontends/gtk/GPainter.C:
2487         * src/frontends/gtk/GToolbar.C:
2488         * src/frontends/qt2/QRef.C:
2489         * src/mathed/math_scriptinset.C: squash compiler warnings.
2490
2491 2004-03-26  Angus Leeming  <leeming@lyx.org>
2492
2493         * ispell.C (LaunchIspell::start):
2494         * lyx_cb.C (AutoSaveBuffer::start):
2495         invoke run(DontWait) rather than runNonBlocking().
2496
2497 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2498
2499         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2500
2501 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2502
2503         * kbsequence.C (print): adjust
2504
2505         * kbmap.C (printKeySym): rename and change signature
2506         (printKey): use LyXKeySym::print()
2507
2508 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2509
2510         * undo.C: add using std::advance to compile for stlport
2511
2512 2004-03-24  Angus Leeming  <leeming@lyx.org>
2513
2514         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2515         it leads to a crash when no buffer is present.
2516
2517 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2518             Martin Vermeer  <martin.vermeer@hut.fi>
2519
2520         * lyxfunc.C (dispatch):
2521         * bufferparams.C (readToken): use the new LColor::setColor
2522
2523         * LColor.[Ch] (setColor): new version that takes two strings as
2524         argument and creates a new color entry if necessary
2525
2526 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2527
2528         * buffer.C (makeLaTeXFile): if the main latex file that is
2529         processed is usually a subdocument of some master, then pretend
2530         for a while that it is actually the master
2531
2532 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2533
2534         * buffer.C (getLabelList):
2535         (getBibkeyList): use getMasterBuffer()
2536         (getMasterBuffer): new method. Returns the main document in the
2537         case where one is using included documents.
2538
2539 2004-03-25  André Pönitz  <poenitz@gmx.net>
2540
2541         * Makefile.am:
2542         * iterators.[Ch]:
2543         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2544
2545         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2546
2547         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2548         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2549
2550         * ParameterStruct.h: merge with ParagraphParameters
2551
2552         * lyxtext.h: remove LyXText::parOffset() and getPar()
2553
2554         * text3.C: Remove all 'manual' update calls. We do now one per user
2555         interaction which is completely sufficient.
2556
2557         * Bidi.C:
2558         * BufferView.[Ch]:
2559         * BufferView_pimpl.C:
2560         * FontIterator.[Ch]:
2561         * MenuBackend.C:
2562         * ParagraphParameters.[Ch]:
2563         * buffer.C:
2564         * buffer.h:
2565         * bufferlist.C:
2566         * cursor.[Ch]:
2567         * cursor_slice.[Ch]:
2568         * dociterator.[Ch]:
2569         * errorlist.[Ch]:
2570         * factory.C:
2571         * lfuns.h:
2572         * lyxfind.C:
2573         * lyxfunc.C:
2574         * output_docbook.[Ch]:
2575         * output_latex.[Ch]:
2576         * output_linuxdoc.[Ch]:
2577         * output_plaintext.[Ch]:
2578         * paragraph.[Ch]:
2579         * paragraph_funcs.[Ch]:
2580         * paragraph_pimpl.[Ch]:
2581         * rowpainter.C:
2582         * tabular.[Ch]:
2583         * text.C:
2584         * text2.C:
2585         * toc.C:
2586         * undo.[Ch]: adjust
2587
2588         * frontends/controllers/ControlDocument.C:
2589         * frontends/controllers/ControlErrorList.C:
2590         * frontends/controllers/ControlSpellchecker.C:
2591         * insets/inset.C:
2592         * insets/inset.h:
2593         * insets/insetbase.h:
2594         * insets/insetbibitem.C:
2595         * insets/insetbox.C:
2596         * insets/insetbranch.C:
2597         * insets/insetcaption.C:
2598         * insets/insetcharstyle.C:
2599         * insets/insetcharstyle.h:
2600         * insets/insetcollapsable.C:
2601         * insets/insetcollapsable.h:
2602         * insets/insetert.C:
2603         * insets/insetfloat.C:
2604         * insets/insetfoot.C:
2605         * insets/insetmarginal.C:
2606         * insets/insetnote.C:
2607         * insets/insetoptarg.C:
2608         * insets/insettabular.C:
2609         * insets/insettext.C:
2610         * insets/insettext.h:
2611         * insets/insetwrap.C:
2612         * mathed/math_mboxinset.C:
2613         * mathed/math_nestinset.C:
2614         * mathed/math_scriptinset.C:
2615         * mathed/math_scriptinset.h:
2616         * support/types.h:
2617
2618 2004-03-24  Angus Leeming  <leeming@lyx.org>
2619
2620         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2621         deal with any child processes that have finished but are waiting to
2622         communicate this fact to the rest of LyX.
2623
2624 2004-03-24  Angus Leeming  <leeming@lyx.org>
2625
2626         64-bit compile fixes.
2627
2628         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2629         (c-tor): pass lyx::pos_types rather than ints.
2630
2631         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2632         lyx::pos_type.
2633
2634         * text.C (Delete): compile fix.
2635         (getPar): ensure that function declaration is the same as that in
2636         the header file.
2637
2638 2004-03-23  Angus Leeming  <leeming@lyx.org>
2639
2640         * ispell.C (LaunchIspell):
2641         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2642         a boost::shred_ptr rather than a std::auto_ptr.
2643
2644 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2645
2646         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2647         handle LFUN_FILE_INSERT_*
2648
2649         * lyxrc.C (setDefaults, getDescription, output, read):
2650         * lyxrc.h: remove ps_command
2651
2652 2004-03-22  Angus Leeming  <leeming@lyx.org>
2653
2654         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2655         Ensure that error_handler is processed once only and that all data
2656         is saved before attempting to output any warning messages.
2657
2658         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2659
2660 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2661
2662         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2663
2664 2004-03-19  André Pönitz  <poenitz@gmx.net>
2665
2666         * cursor.[Ch] (reset): take main text inset as argument
2667
2668         * BufferView: adjust
2669         * BufferView_pimpl.C: adjust
2670
2671         * paragraph.[Ch]: fix completely broken operator=()
2672
2673 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2674
2675         * LColor.C (getFromLyXName): make sure that the color name is used
2676         as lowercase.
2677
2678 2004-03-17  Angus Leeming  <leeming@lyx.org>
2679
2680         * lfuns.h:
2681         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2682
2683         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2684         dialog and to kill a forked process.
2685
2686 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2687
2688         * text2.C (setCursorFromCoordinates): fix font problem
2689
2690 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2691
2692         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2693         bogus "rebuild cursor" code
2694
2695 2004-03-11  André Pönitz  <poenitz@gmx.net>
2696
2697         * buffer.[Ch]: use InsetText instead of LyXText as container for
2698         the main lyx text.
2699
2700         * dociterator.[Ch]: drop the BufferView * member which is not needed
2701         anymore after the change to buffer.C
2702
2703         * paragraph_funcs.C:
2704         * text.C:
2705         * text2.C:
2706         * BufferView.[Ch]:
2707         * BufferView_pimpl.[Ch]:
2708         * cursor.[Ch]:
2709         * cursor_slice.[Ch]: adjust
2710
2711         * text3.C: fix bug in mathDispatch
2712
2713 2004-03-08  André Pönitz  <poenitz@gmx.net>
2714
2715         * undo.[Ch]: use 'StableDocumentIterator' as base for
2716         the Undo struct.
2717
2718 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2719
2720         * LaTeXFeatures.C:
2721         * bufferparams.[Ch]: add jurabib support and param.
2722
2723         * LaTeX.C: add FIXME/comment.
2724
2725 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2726
2727         * buffer.C: increment file format to 230.
2728
2729 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2730
2731         * cursor.C (dispatch): avoid infinite loops
2732
2733 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2734
2735         * rowpainter.C (paintSelection): fix x coordinates
2736
2737 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2738
2739         * text.C (rowBreakPoint): fix breaking before displayed insets
2740
2741 2004-03-01  André Pönitz  <poenitz@gmx.net>
2742
2743         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2744
2745         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2746
2747         * Makefile.am:
2748         * BufferView.C:
2749         * BufferView_pimpl.C:
2750         * buffer.C:
2751         * lyxfind.C:
2752         * lyxfunc.C:
2753         * text.C:
2754         * text2.C:
2755         * text3.C: adjust
2756
2757 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2758
2759         * lyxtext.h:
2760         * text.C:
2761         * text2.C:
2762         * rowpainter.C:
2763         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2764         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2765
2766 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2767
2768         * Bidi.[Ch] (computeTables): const correctness
2769         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2770         fill_hfill, fill_label_hfill and x from Row
2771         * lyxtext.h: prepareToPrint returns a RowMetrics
2772         * rowPainter.C: adjust
2773         * text.C (prepareToPrint): use width, not textWidth. adjust
2774         (redoParagraphInternal, cursorX): adjust
2775         * text2.C (getColumnNearX): adjust
2776         (init): put a default value to the top LyXText::width
2777
2778 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2779
2780         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2781
2782 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2783
2784         * lyxtext.h: add FontIterator class
2785
2786         * text.C (FontIterator, operator*, operator->, operator++): add
2787         (rowBreakPoint, setRowWidth): adjust (fixing a
2788         rebreaking bug)
2789
2790 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2791
2792         * BufferView_pimpl.C (workAreaDispatch): allow also
2793         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2794
2795 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2796
2797         * text.C (rowBreakPoint): fix a bug showing with very large insets
2798
2799 2004-02-25  André Pönitz  <poenitz@gmx.net>
2800
2801         * text3.C:
2802         * cursor.[Ch]: move some mathed specific code to mathed
2803
2804 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2805
2806         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2807         use_tempdir in preferences
2808         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2809         tempfile creation
2810         * lyx_main.C: ensure that tempdir is valid
2811         * lyxlex.h: correct typo
2812         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2813         * paragraph.[Ch] (isMultiLingual): make const
2814         * cursor.[Ch] (openable): make const
2815
2816 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2817
2818         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2819
2820 2004-02-20  André Pönitz  <poenitz@gmx.net>
2821
2822         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2823
2824         * cursor.[Ch]: prepare for localized getStatus()
2825
2826         * lyxtext.h:
2827         * tabular.C:
2828         * text.C:
2829         * text2.C:
2830         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2831
2832 2004-02-20  André Pönitz  <poenitz@gmx.net>
2833
2834         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2835
2836 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2837
2838         * text2.C (setCursorFromCoordinates): switch to absolute coords
2839         (cursorUp): adjust
2840         (cursorDown): adjust
2841         * text3.C (dispatch): adjust
2842
2843 2004-02-16  André Pönitz  <poenitz@gmx.net>
2844
2845         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2846           insets/ChangeLog)
2847
2848         * cursor_slice.[Ch]: remove unneeded acessor function
2849
2850         * lyxtext.h: rename rtl() to isRTL()
2851
2852         * rowpainter.C:
2853         * tabular.C:
2854         * text.C:
2855         * text2.C:
2856         * text3.C: adjust
2857
2858 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2859
2860         * rowpainter.C (paintSelection): coord fix
2861
2862 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2863
2864         * Spacing.C: compile fix
2865
2866 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2867
2868         * cursor.C (dispatch): restore current_ before returning
2869
2870 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2871
2872         * text2.C (cursorUp, cursorDown): fix coords
2873         (moveUp): fix crash
2874
2875 2004-02-12  André Pönitz  <poenitz@gmx.net>
2876
2877         * lyxtext.h:
2878         * text.C:
2879         * text2.C:
2880         * text3.C: add LCursor & parameter to most cursor movement functions
2881           remove usage of LyXText::cursorRow() and cursorPar()
2882
2883         * cursor.[Ch]: add textRow() needed members
2884
2885         * BufferView.C:
2886         * BufferView_pimpl.C:
2887         * paragraph.[Ch]:
2888         * BufferView.C:
2889         * BufferView_pimpl.C: adjust
2890
2891 2004-02-11  André Pönitz  <poenitz@gmx.net>
2892
2893         * lyxfunc.C:
2894         * BufferView.[Ch]:
2895         * BufferView_pimpl.C: shift undo/redo handling
2896
2897         * cursor.[Ch]: fix mathed crash
2898
2899         * lyxfind.C:
2900         * lyxtext.h: move selectionAsText to LCursor
2901
2902         * output_latex.C:
2903         * paragraph.C:
2904         * text.C:
2905         * text2.C:
2906         * text3.C: adjust
2907
2908         * rowpainter.C: fix excessive drawing
2909
2910 2004-02-06  André Pönitz  <poenitz@gmx.net>
2911
2912         * BufferView.[Ch]:
2913         * BufferView_pimpl.[Ch]:
2914         * text3.C: move some text specific LFUN handling
2915
2916 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2917
2918         * text3.C (checkInsetHit): adjust coords
2919         * text2.C (getColumnNearX): adjust coords
2920         (edit): adjust coords
2921         * text.C (getRowNearY): add two asserts
2922
2923 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2924
2925         * converter.C:
2926         * format.C: add using std::distance to compile on gcc 2.95/stlport
2927
2928 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2929
2930         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2931
2932 2004-02-04  André Pönitz  <poenitz@gmx.net>
2933
2934         * BufferView.[Ch] (insertInset):
2935         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2936
2937         * text2.C:
2938         * text3.C: adjust
2939
2940 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2941
2942         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2943         on the default clause of the switch
2944         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2945         wasn't catched by LCursor::dispatch
2946
2947 2004-02-03  André Pönitz  <poenitz@gmx.net>
2948
2949         * BufferView.C:
2950         * cursor.[Ch]: some additional asserts
2951
2952         * undo.[Ch]: remove LyXText dependency in interface
2953
2954         * lyxfunc.C: adjust
2955
2956         * lyxtext.h (firstPar, lastPar): remove dead functions
2957
2958         * text.C:
2959         * text2.C:
2960         * text3.C:
2961         * paragraph.[Ch]: adjust
2962
2963 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2964
2965         * lyxfind.C (find): fix argument order in call to ::find
2966
2967 2004-02-02  André Pönitz  <poenitz@gmx.net>
2968
2969         * cursor.[Ch]: remove direct access to anchor
2970
2971         * text.C: remove findText() hack
2972
2973 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2974
2975         * iterators.[Ch] (lockPath): remove in favour of...
2976         * BufferView.[Ch] (setCursor): this addition
2977         * BufferView.C (putSelectionAt): adjust
2978         * undo.C (performUndoOrRedo): adjust
2979         * lyxfunc.C (dispatch): adjust
2980
2981 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2982
2983         * iterators.C (lockPath): add a missing slice
2984         * undo.C (performUndoOrRedo): remove redundant positioning code
2985
2986 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2987
2988         * vc-backend.C (scanMaster): ";" -> ';'
2989
2990 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2991
2992         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2993         std::binary_function
2994
2995         * lyxtextclass.C (compare_name): rename to...
2996         (LayoutNamesEqual): ...this
2997
2998         * lyxlex_pimpl.C (compare_tags): inherit from
2999         std::binary_function, put back into anon namespace
3000
3001         * lyxfind.C (MatchString): inherig from std::binary_function
3002         (findChange): use empty() istead of !size()
3003
3004         * format.C (FormatNamesEqual): new functor
3005         (getFormat): use it
3006         (getNumber): use it
3007         (add): use it
3008         (erase): use it
3009         (setViewer): use it
3010
3011         * converter.C (compare_Converter): rename to...
3012         (ConverterEqual): ...this, and fixup a bit.
3013         (getConverter): use it, and make function const
3014         (getNumber): use it, and make function const
3015         (add): use it
3016         (erase): use it:
3017
3018         * bufferlist.C: add using boost::bind
3019
3020         * MenuBackend.C (MenuNamesEqual): new functor
3021         (hasMenu): use it, and make function const
3022         (hasSubmenu): use nested bind to get rid of compare_memfun.
3023
3024 2004-01-30  André Pönitz  <poenitz@gmx.net>
3025
3026         * BufferView_pimpl.C:
3027         * cursor.C:
3028         * cursor.h:
3029         * cursor_slice.[Ch]:
3030         * lyxfunc.C:
3031         * lyxtext.h:
3032         * paragraph_funcs.C:
3033         * paragraph_funcs.h:
3034         * rowpainter.C:
3035         * text.C:
3036         * text2.C:
3037         * text3.C: move some of the edit(x,y) handling to the insets
3038         some coordinate changes.
3039
3040 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3041
3042         * text.C: add using statements for std::advance and std::distance
3043
3044         * paragraph.C: add using statement for std::distance
3045
3046         * lyxfind.C: add using statement for std::advance
3047
3048         * cursor.C (region): remove std:: from swap
3049         (openable): use nucleus in stead of operator->
3050
3051         * BufferView.C: add using statements for std::distance and std::swap
3052
3053 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3054
3055         * iterators.C: Remove the pimple, move the needed structures to
3056         the header file. Create accessor for the positions stack.
3057         (asPosIterator): remove function
3058
3059         * PosIterator.C (PosIterator): move constructors to top of file
3060         (PosIterator): reimplement the constructor taking a ParIterator in
3061         terms of setFrom.
3062         (setFrom): new function
3063         (operator!=): inline it
3064
3065 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3066
3067         * lyxfind.C (replaceAll): use std::advance
3068
3069         * iterators.h: inherit from std::iterator.
3070
3071         * PosIterator.C (advance, distance): remove
3072         * PosIterator.h: interit from std::iterator.
3073
3074 2004-01-26  André Pönitz  <poenitz@gmx.net>
3075
3076         * BufferView.[Ch]:
3077         * BufferView_pimpl.[Ch]:
3078         * InsetList.[Ch]:
3079         * PosIterator.[Ch]:
3080         * buffer.h:
3081         * bufferview_funcs.C:
3082         * cursor.[Ch]:
3083         * cursor_slice.h:
3084         * factory.[Ch]:
3085         * iterators.[Ch]:
3086         * lyxfind.C:
3087         * lyxfunc.C:
3088         * lyxtext.h:
3089         * output_docbook.C:
3090         * output_latex.C:
3091         * output_linuxdoc.C:
3092         * output_plaintext.C:
3093         * paragraph.[Ch]:
3094         * paragraph_funcs.[Ch]:
3095         * paragraph_pimpl.[Ch]:
3096         * rowpainter.C:
3097         * tabular.C:
3098         * tabular.h:
3099         * text.C:
3100         * text2.C:
3101         * text3.C: more IU:  dumps most of the rest of the mathcursor
3102     implementation into cursor.[Ch]; "globalize" a bit of it.
3103
3104 2004-01-25  Angus Leeming  <leeming@lyx.org>
3105
3106         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3107
3108 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3109
3110         * LaTeXFeatures.h: add nice_ and nice() const
3111         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3112
3113 2004-01-20  André Pönitz  <poenitz@gmx.net>
3114
3115         * BufferView.[Ch]:
3116         * BufferView_pimpl.C:
3117         * PosIterator.C:
3118         * bufferview_funcs.C:
3119         * cursor.[Ch]:
3120         * cursor_slice.[Ch]:
3121         * factory.C:
3122         * iterators.C:
3123         * lyx_cb.C:
3124         * lyxfind.C:
3125         * lyxfunc.C:
3126         * lyxtext.h:
3127         * rowpainter.C:
3128         * text.C:
3129         * text2.C:
3130         * text3.C:
3131         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3132           LCursor and mathcursor parts to LCursor and InsetBase.
3133
3134 2004-01-15  André Pönitz  <poenitz@gmx.net>
3135
3136         * cursor_slice.[Ch]: add a few covienience functions
3137
3138         * funcrequest.[Ch]: remove BufferView * member
3139
3140         * BufferView_pimpl.C:
3141         * cursor.C:
3142         * factory.[Ch]:
3143         * lyxfind.[Ch]:
3144         * lyxfunc.C:
3145         * lyxtext.h:
3146         * text3.C:
3147         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3148
3149 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3150
3151         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3152         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3153
3154 2004-01-13  André Pönitz  <poenitz@gmx.net>
3155
3156         * textcursor.[Ch]:
3157         * lyxtext.h: hide cursor and selection anchor behind accessor function
3158
3159         * BufferView.C:
3160         * BufferView_pimpl.[Ch]:
3161         * PosIterator.C:
3162         * bufferview_funcs.C:
3163         * cursor.h:
3164         * lyxfind.C:
3165         * lyxfunc.C:
3166         * text.C:
3167         * text2.C:
3168         * text3.C:
3169         * undo.C: adjust
3170
3171         * cursor.h:
3172         * cursor_slice.[Ch]: some integer type changes for inset unification
3173
3174         * lyxcursor.[hC]: remove, it's CursorSlice now.
3175
3176         * Makefile.am:
3177         * BufferView_pimpl.[Ch]:
3178         * bufferview_funcs.C:
3179         * cursor_slice.C:
3180         * lyxtext.h:
3181         * text.C:
3182         * text2.C:
3183         * text3.C:
3184         * textcursor.[Ch]: adjust
3185
3186 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3187
3188         * text2.C (undoSpan): add and use
3189         * text.C (breakParagraph): use undoSpan (fix bug 578)
3190         * lyxtext.h: adjust
3191
3192 2004-01-08  Angus Leeming  <leeming@lyx.org>
3193
3194         * BufferView_pimpl.C (MenuInsertLyXFile):
3195         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3196         * lyxfunc.C (menuNew, open, doImport):
3197         FileFilterList change to the FileDialog open and save functions.
3198
3199 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3200
3201         * ShareContainer.h: make isEqual and isUnique adaptable
3202
3203         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3204
3205 2004-01-07  Angus Leeming  <leeming@lyx.org>
3206
3207         * LyXAction.C:
3208         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3209
3210         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3211
3212         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3213         functions replacing find, replace and replaceAll.
3214
3215         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3216         LFUN_WORDFIND(FORWARD|BACKWARD).
3217
3218 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3219
3220         * text.C (breakParagraph): remove an outdated #warning
3221
3222 2004-01-07  André Pönitz  <poenitz@gmx.net>
3223
3224         * lyxfind.C: somewhat clearer logic
3225
3226         * text.C: prevent crash in cursorX on unitialized row cache
3227
3228 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3229
3230         * lyxcursor.[Ch] (operator>): add
3231         * textcursor.C (selStart, selEnd): use std::min and std::max
3232
3233 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3234
3235         * Chktex.C: include boost/format.hpp
3236
3237 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3238
3239         * InsetList.C: replace functor MathcIt with adaptable functor
3240         InsetTablePosLess
3241         (insetIterator): modify accordingly
3242
3243         * BranchList.h: move the BranchNamesEqual functor here from...
3244         * BranchList.C: ... to here
3245
3246         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3247         SameName and match.
3248         (add): replace a finding loop with std::find_if.
3249
3250 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3251
3252         * output_docbook.C: moving LatexParam functionality into
3253         .layout files
3254
3255 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3256
3257         * buffer.C: increment format to 229.
3258
3259 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3260
3261         * LaTeXFeatures.C:
3262         * lyx_sty.[Ch]: remove minipageindent_def
3263
3264         * LyXAction.C:
3265         * factory.C:
3266         * lfuns.h:
3267         * lyxfunc.C:
3268         * text3.C: remove LFUN_INSET_MINIPAGE
3269
3270 2003-12-28  Angus Leeming  <leeming@lyx.org>
3271
3272         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3273
3274 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3275
3276         * text2.C (setParagraph): fix off-by-one crash
3277
3278 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3279
3280         * output_docbook.C: header stuff for AGU
3281
3282 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3283
3284         * text2.C (redoCursor): remove
3285         * text.C:
3286         * text3.C:
3287         * BufferView_pimpl.C: remove calls to redoCursor and
3288         setCursor(cursor.par(), cursor.pos()) all around
3289
3290 2003-12-15  Angus Leeming  <leeming@lyx.org>
3291
3292         * buffer.C: up the format to 228.
3293
3294 2003-12-15  André Pönitz  <poenitz@gmx.net>
3295
3296         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3297         slices
3298
3299         * Makefile.am:
3300
3301         * BufferView_pimpl.C:
3302         * cursor.[Ch]:
3303         * lyxcursor.[Ch]:
3304         * rowpainter.[Ch]:
3305         * lyxtext.h:
3306         * text.C:
3307         * text2.C:
3308         * text3.C: adjust
3309
3310 2003-12-15  Angus Leeming  <leeming@lyx.org>
3311
3312         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3313         than getFromGUIName to manipulate the color.
3314
3315 2003-12-14  Angus Leeming  <leeming@lyx.org>
3316
3317         * BranchList.[Ch]: minimize the API.
3318         (Branch::getBranch, getColor): now return a 'const &'.
3319         (Branch::setSelected) now returns a bool set to true if the
3320         selection status changes.
3321         (BranchList::clear, size, getColor, setColor, setSelected,
3322         allBranches, allSelected, separator): removed.
3323         (BranchList::find): new functions, returning the Branch with
3324         the given name.
3325         (BranchList::add, remove): return a bool indicating that
3326         the operation was successful.
3327
3328         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3329         new InsetBranch::isBranchSlected member function.
3330
3331         * LColor.[Ch]: mimimize the API.
3332         (fill): renamed as addColor and made private.
3333         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3334         versions of these functions taking a string arg have been removed.
3335
3336         * bufferparams.C (readToken):
3337         * lyxfunc.C (dispatch):
3338         * lyxrc.C (read): changes due to the altered BranchList and
3339         LColor APIs.
3340
3341         * factory.C (createInset, readInset): changes due to altered
3342         InsetBranch c-tor.
3343
3344 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3345
3346         * factory.C:
3347         * lyxfunc.C: remove insetminipage. "minipage-insert"
3348         now produces a frameless minipage box inset.
3349
3350 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3351
3352         * textcursor.[Ch] (selStart,selEnd): add new methods
3353         remove selection::start, end, use LyXCursor::operator<
3354         * lyxcursor.[Ch] (operator<): add
3355         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3356         * BufferView.[Ch] (unsetXSel): add
3357         * text2.C (clearSelection): use unsetXSel,adjust
3358         * text.C: adjust
3359         * text3.C: adjust
3360         * rowpainter.C: adjust
3361         * bufferview_funcs.C (put_selection_at): adjust
3362
3363 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3364
3365         * BufferView_pimpl.C: small coord. correction
3366
3367 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3368
3369         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3370         dragging over the splash screen.
3371
3372 2003-12-11  Angus Leeming  <leeming@lyx.org>
3373
3374         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3375         as it is now handled in LyXText::dispatch.
3376
3377         * text3.C (doInsertInset): remove a level of nesting.
3378
3379 2003-12-11  Angus Leeming  <leeming@lyx.org>
3380
3381         * factory.C (createInset): changes due to the changed interface to
3382         InsetCommandMailer::string2params.
3383
3384 2003-12-10  Angus Leeming  <leeming@lyx.org>
3385
3386         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3387         'dialog-show-new-inset <inset name>'
3388
3389 2003-12-10  Angus Leeming  <leeming@lyx.org>
3390
3391         * buffer.C: up the format to 227.
3392
3393         * factory.C: the box inset is now identified simply by 'Box'.
3394
3395 2003-12-10  Angus Leeming  <leeming@lyx.org>
3396
3397         * buffer.C: up the format to 226.
3398
3399         * factory.C: the note inset is now identified simply by 'Note'.
3400
3401 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3402
3403         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3404         when a pit is enough. Standarize a couple of loops.
3405
3406 2003-12-05  Angus Leeming  <leeming@lyx.org>
3407
3408         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3409         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3410         data to the re-worked "log" dialog.
3411
3412 2003-12-03  André Pönitz  <poenitz@gmx.net>
3413
3414         * PosIterator.C:
3415         * iterators.C:
3416         * lyxtext.h:
3417         * output_latex.C:
3418         * paragraph_funcs.C:
3419         * text.C:
3420         * text2.C: use Inset::getText instead of Inset::getParagraph
3421
3422 2003-12-03  André Pönitz  <poenitz@gmx.net>
3423
3424         * buffer.[Ch]:
3425         * lyxtext.h:
3426         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3427         InsetText::read() as LyXText::read()
3428
3429 2003-12-02  Angus Leeming  <leeming@lyx.org>
3430
3431         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3432         type. Add a comment in the implementation that the function uses
3433         the stream's bad() function rather than fail() as the std::streams
3434         would do.
3435
3436 2003-12-02  André Pönitz  <poenitz@gmx.net>
3437
3438         * lyxlex.[Ch]: make interface more similar to std::stream
3439
3440         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3441
3442 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3443
3444         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3445
3446 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3447
3448         * vspace.[Ch]: remove VSpace::NONE
3449
3450 2003-12-01  André Pönitz  <poenitz@gmx.net>
3451
3452         * buffer.[Ch]:
3453         * lyxtext.h: move ParagraphList member to LyXText
3454         rename LyXText::ownerParagraphs to LyXText::paragraph
3455
3456         * CutAndPaste.C:
3457         * bufferview_funcs.C:
3458         * iterators.[Ch]:
3459         * lyx_cb.C:
3460         * paragraph.C:
3461         * rowpainter.C:
3462         * tabular.C:
3463         * text.C:
3464         * text2.C:
3465         * text3.C: adjust
3466
3467         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3468
3469         * undo.C: fix cursor positioning
3470
3471 2003-12-01  John Levon  <levon@movementarian.org>
3472
3473         * BufferView_pimpl.C: fix a crash on exit with
3474         a buffer open
3475
3476 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3477
3478         * BranchList.C: fix setSelected() method.
3479
3480 2003-11-28  André Pönitz  <poenitz@gmx.net>
3481
3482         * ParagraphParameters.[Ch]:
3483         * ParameterStruct.h: remove space above/below from Paragraph to
3484          InsetVSpace
3485
3486         * BufferView_pimpl.C:
3487         * factory.C:
3488         * lyxfunc.C:
3489         * lyxtext.h:
3490         * output_latex.C:
3491         * paragraph.C:
3492         * paragraph_funcs.C:
3493         * rowpainter.[Ch]:
3494         * text.C:
3495         * text2.C:
3496         * text3.C: adjust
3497
3498 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3499
3500         * factory.C: Syntax change for CharStyles
3501
3502 2003-11-28  André Pönitz  <poenitz@gmx.net>
3503
3504         * BufferView.[Ch]:
3505         * BufferView.[Ch]:
3506         * buffer.[Ch]:
3507         * buffer.[Ch]: move LyXText member
3508
3509 2003-11-28  André Pönitz  <poenitz@gmx.net>
3510
3511         * BufferView.[Ch]: make LyXText * text a private member
3512
3513         * BufferView_pimpl.C:
3514         * cursor.C:
3515         * iterators.C:
3516         * lyx_cb.C:
3517         * lyxfind.C:
3518         * lyxtext.h:
3519         * rowpainter.[Ch]:
3520         * text.C:
3521         * text2.C:
3522         * undo.C: adjust
3523
3524         * output_plaintext.C: cleanup
3525
3526 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3527
3528         * buffer.C:
3529         * lyxtextclass.[Ch]: parametrize SGML document header
3530
3531 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3532
3533         * converter.[Ch]:
3534         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3535         getFlavor().
3536
3537 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3538
3539         * text2.C (setFont): rework using PosIterator (no more recursive)
3540         (setCharFont): no more needed
3541         (setLayout): no more selection cursors fiddling (done by redoCursor)
3542         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3543         destroy remaining ones)
3544
3545 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3546
3547         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3548         * lyxtext.h: ditto
3549         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3550         selection cursors
3551         * lyxfunc.C: adjust
3552         * text3.C: adjust + re-allow multi par depth changes
3553         * textcursor.C: simplify a bit
3554
3555 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3556
3557         * src/buffer.C:
3558         * src/lyxlayout.C:
3559         * src/lyxlayout.h:
3560         * src/lyxtext.h:
3561         * src/output_docbook.C:
3562         * src/output_latex.C:
3563         * src/paragraph.C:
3564         * src/paragraph.h:
3565         * src/sgml.C:
3566         * src/sgml.h:
3567         * src/text2.C: Introducing a number of tags parametrizing various
3568         XML formats that we may want to support
3569
3570 2003-11-25  André Pönitz  <poenitz@gmx.net>
3571
3572         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3573
3574         * lyxtext.h (leftMargin/rightMargin): simplify interface
3575
3576         * rowpainter.C:
3577         * text.C:
3578         * text2.C:
3579         * text3.C: adjust
3580
3581 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3582
3583         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3584         master file to any child files. Fixes bug 546.
3585
3586 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3587
3588         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3589
3590 2003-11-24  André Pönitz  <poenitz@gmx.net>
3591
3592         * rowpainter.C: simplification
3593
3594         * text2.C (updateCounters): remove call to redoParagraph on
3595         changed labels as this is far too expensive.
3596
3597 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3598
3599         * converter.C (convert): fix a crash: this function gets
3600         called with buffer == 0 from importer code.
3601
3602 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3603
3604         * text3.C (cursorPrevious): make sure that we do not compare
3605         iterators form different containers.
3606         (cursorNext): ditto
3607
3608         * rowpainter.C (paintSelection): make sure that we do not compare
3609         iterators from different containers.
3610
3611         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3612         iterators from different ParagraphList containers.
3613         [NEXT] ditto
3614
3615         * text2.C (LyXText): change order of initialization slightly
3616         (operator=): new function. copy all variables except cache_par_
3617         (moveUp): make sure that we do not compare iterators from
3618         different ParagraphList constainers.
3619         (moveDown): ditto
3620
3621         * text.C (firstPar): new function
3622         (lastPar): new function
3623         (endPar): new function
3624
3625         * lyxtext.h: move things around and group public functions, public
3626         variables, private functions, private variables
3627
3628 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3629
3630         * factory.C: change call to InsetERT constructor to avoid
3631         additional invocation of method status
3632         * text2.C (toggleInset): remove redundant update() call
3633         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3634         instead of a Bufferview pointer
3635
3636 2003-11-21  André Pönitz  <poenitz@gmx.net>
3637
3638         * rowpainter.C: simplification
3639
3640 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3641
3642         * text3.C (dispatch): make possible to extend a word/row selection
3643         with the mouse
3644
3645 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3646
3647         * lyxtext.h: x0_,y0_ -> xo_,yo_
3648         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3649         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3650         * rowpainter.C (paintRows): paint full paragraphs
3651
3652 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3653
3654         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3655         screen coordinates)
3656
3657 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3658
3659         * lyxtext.h: add x0_, y0_
3660         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3661         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3662
3663 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3664
3665         * text2.C (setCursorIntern): move the x_target update here *
3666         * text3.C: change some bv() to true/false in calls to
3667         cursorUp/Down/Right/Left
3668         * cursor.C: use helper function.
3669
3670 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3671
3672         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3673         * paragraph_funcs.[Ch]: correct comment
3674         * rowpainter.C: do not paint selections away from bv->cursor()
3675         Fix a long standing selection painting bug.
3676         * text3.C: generalize mouse-selection code to LyXTexts other that
3677         top one
3678         * textcursor.C: do not use y coords if we can use par offsets
3679
3680 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3681
3682         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3683         cursor position after e.g. inset insert)
3684
3685 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3686
3687         * lyxfind.C (replace): adjust to locking removal + some
3688         code simplification
3689
3690 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3691
3692         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3693         of the path
3694
3695 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3696
3697         * lyxlayout.[Ch]:
3698         * output_docbook.C: XML sanitation: new layout
3699         parameters InnerTag and CommandDepth
3700
3701 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3702
3703         * BufferView_pimpl.C:
3704         * factory.C:
3705         * text3.C: Fix the insertion and modification of button-style
3706         insets
3707
3708 2003-11-13  André Pönitz  <poenitz@gmx.net>
3709
3710         * InsetList.[Ch]: remove deleteLyXText
3711
3712         * paragraph.[Ch]: cache beginOfBody position
3713
3714         * Bidi.C:
3715         * text.C:
3716         * text2.C:
3717         * text3.C: remove superfluous update() calls
3718
3719         * vspace.C: cleanup
3720
3721 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3722
3723         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3724         * BufferView.C (fitLockedInsetCursor): remove
3725         * cursor.[Ch] (getDim): add
3726         * text.C (getRowNearY): add faster version
3727         * text3.C: remove some update calls
3728
3729 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3730
3731         * LaTeXFeatures.C:
3732         * LyXAction.C:
3733         * MenuBackend.C:
3734         * MenuBackend.h:
3735         * dispatchresult.h:
3736         * factory.C:
3737         * lfuns.h:
3738         * lyxfunc.C:
3739         * lyxtextclass.C:
3740         * lyxtextclass.h:
3741         * text3.C: The Character Style /XML short element patch.
3742
3743 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3744
3745         * text3.C:
3746         * factory.C: Small step to solving 'unable to insert some insets'
3747         problem
3748
3749 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3750
3751         * cursor.[Ch] (updatePos): new function for updating the y
3752         position of the tip inset
3753         * bufferview_funcs.C (put_selection_at):
3754         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3755
3756 2003-11-11  André Pönitz  <poenitz@gmx.net>
3757
3758         * text.C: remove big comment on invalid Paragraph pointers as it is
3759         not valid anymore
3760
3761 2003-11-11  André Pönitz  <poenitz@gmx.net>
3762
3763         * text_funcs.[Ch]: merge with ...
3764
3765         * text.C: ... this
3766
3767         * lyxtext.h:
3768         * text2.C:
3769         * text3.C: adjust
3770
3771         * Makefile.am: remove text_funcs.[Ch]
3772
3773 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3774
3775         * cursor.C (getPos): return absolute cached y coord
3776
3777         * BufferView_pimpl.C (fitCursor): new simplistic code
3778         (workAreaDispatch): add a fitCursor call
3779
3780 2003-11-10  André Pönitz  <poenitz@gmx.net>
3781
3782         * BufferView.[Ch]:
3783         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3784
3785 2003-11-10  André Pönitz  <poenitz@gmx.net>
3786
3787         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3788         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3789         indicate that the cursor needs to leave an inset
3790
3791         * lyxtext.h: remove inset locking
3792
3793         * cursor.[Ch]: re-implement functionality provided by inset locking
3794
3795         * BufferView.[Ch]:
3796         * BufferView_pimpl.[Ch]:
3797         * LyXAction.C:
3798         * bufferview_funcs.[Ch]:
3799         * factory.C:
3800         * funcrequest.[Ch]:
3801         * iterators.C:
3802         * lyx_cb.C:
3803         * lyxfind.C:
3804         * lyxfunc.C:
3805         * text.C:
3806         * text2.C:
3807         * text3.C:
3808         * undo.C: adjust
3809
3810 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3811
3812         * PosIterator.[Ch]: replace the stack with a vector, add inset
3813         accesor
3814         * iterators.[C]: adjust
3815
3816 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3817
3818         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3819         replaced
3820         * paragraph_funcs.C (readParToken): put the correct id in the
3821         error item, not the id of the top paragraph
3822
3823 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3824
3825         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3826         * bufferview_funcs.C (put_selection_at): use the above
3827
3828 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3829
3830         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3831
3832 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3833
3834         * output_linuxdoc.h:
3835         * output_plaintext.h:
3836         * output.h:
3837         * output_docbook.h: add #include statements
3838
3839 2003-11-05  José Matos  <jamatos@lyx.org>
3840
3841         * output_docbook.[Ch]:
3842         * output_latex.[Ch]:
3843         * output_linuxdoc.[Ch]:
3844         * output_plaintext.[Ch]: New files for output formats.
3845         * output.[Ch]: New file for helper functions.
3846
3847         * buffer.[Ch]:
3848         * paragraph_funcs.[Ch]: output functions moved to new files.
3849
3850         * outputparams.h: rename of latexrunparams.h
3851
3852         * LaTeX.[Ch]:
3853         * buffer.[Ch]:
3854         * bufferlist.[Ch]:
3855         * converter.[Ch]:
3856         * exporter.C:
3857         * paragraph.[Ch]:
3858         * paragraph_funcs.[Ch]:
3859         * paragraph_pimpl.[Ch]:
3860         * tabular.[Ch]: rename ascii to plaintext
3861         and LatexRunParams to OutputParams.
3862
3863 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3864
3865         * iterators.[Ch] (text): require bv argument
3866         * undo.C (recordUndo):
3867         * lyxfunc.C (dispatch):
3868         * bufferview_funcs.C (put_selection_at): adjust
3869
3870 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3871
3872         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3873
3874 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3875
3876         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3877         nestings
3878
3879 2003-11-04  André Pönitz  <poenitz@gmx.net>
3880
3881         * cursor.[Ch]: restructure
3882
3883         * BufferView.[Ch]:
3884         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3885
3886         * iterators.[Ch] (asCursor): remove
3887
3888         * lfuns.h: remove LFUN_INSET_EDIT
3889
3890         * lyxfunc.C:
3891         * tabular.C:
3892         * text.C:
3893         * text2.C:
3894         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3895
3896 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3897
3898         * lyxfind.[Ch]: complete overhaul
3899         * BufferView_pimpl.C:
3900         * lyxfunc.C: adjust
3901         * paragraph.[Ch] (insert): add
3902
3903 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3904
3905         * BufferView.[Ch]:
3906         * lyxtext.h:
3907         * text.C: remove dead spellcheck code
3908
3909 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3910
3911         * dispatchresult.h: add a val setter
3912
3913         * cursor.C (dispatch): use a tempvar for data_[i]
3914
3915 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3916
3917         * PosIterator.[Ch]: compile fix
3918
3919 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3920
3921         * text.C (cursorPar): deactivate the cursor cache
3922
3923 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3924
3925         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3926
3927 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3928
3929         * text3.C (dispatch): adjust for new DisptchResult semantics.
3930
3931         * lyxfunc.C (dispatch): handle update when return from
3932         Cursor::dispatch, adjust for new DispatchResult semantics.
3933
3934         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3935         DispatchResult(true) mean to not update. Add class functions for
3936         setting dispatched and update, as well as reading.
3937
3938         * cursor.C (dispatch): don't handle update here
3939
3940 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3941
3942         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3943         * trans_mgr.C: adjust
3944
3945         * paragraph_funcs.C (readParToken): exception safety
3946
3947         * lyxvc.h: store the vcs pointer in a scoped_ptr
3948         * lyxvc.C: adjust
3949
3950         * lyxsocket.C (serverCallback): exception safety
3951
3952         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3953
3954         * ispell.C (clone): make it return a auto_ptr
3955
3956         * factory.C (createInset): exception safety
3957         (readInset): exception safety
3958
3959         * bufferlist.C (newBuffer): exception safety
3960
3961         * Thesaurus.C (Thesaurus): use initialization for aik_
3962
3963         * MenuBackend.C (expandToc): exception safety.
3964
3965 2003-11-03  André Pönitz  <poenitz@gmx.net>
3966
3967         * buffer.C:
3968         * buffer.h:
3969         * bufferview_funcs.C: remove getInsetFromId()
3970
3971         * lyxcursor.[Ch]:
3972         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3973
3974         * lyxfunc.C:
3975         * text2.C:
3976         * text3.C: adjust
3977
3978 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3979
3980         * PosIterator.C (distance, advance): new
3981         * bufferview_funcs.[Ch] (put_selection_at): new
3982         * iterators.[Ch] (lockPath): new
3983
3984 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3985
3986         * iterators.[Ch] (asPosIterator): added
3987         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3988         * PosIterator.[Ch]: added
3989
3990 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3991
3992         * text3.C:
3993         * lyxfunc.C:
3994         * cursor.C (dispatch):
3995         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3996
3997         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3998         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3999         contructor, add a class function dispatched. Remove operator>=
4000
4001 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4002
4003         * debug.C: only use the default constructor for debugstream
4004         (lyxerr) here.
4005
4006         * main.C (main): include debug.h and setup the lyxerr streambuf
4007         here.
4008
4009 2003-10-31  José Matos  <jamatos@lyx.org>
4010
4011         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4012
4013         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4014         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4015         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4016         * paragraph_pimpl.C (simpleTeXSpecialC):
4017         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4018         add LatexRunParams argument.
4019
4020         * exporter.C (Export): change call accordingly.
4021
4022         * latexrunparams.h: add new member to take care of the other backends.
4023 2003-10-30  José Matos  <jamatos@lyx.org>
4024
4025         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4026         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4027         factorise code for paragraph output.
4028         * buffer.[Ch]:
4029         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4030         move functions.
4031
4032 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4033
4034         * text3.C (dispatch):
4035         * lyxfunc.C (dispatch):
4036         * cursor.C (dispatch):
4037         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4038
4039         * dispatchresult.h: make the dispatch_result_t ctor explicit
4040
4041 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4042
4043         * sgml.[Ch]:
4044         * buffer.C: small refactoring of docbook stuff
4045
4046 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4047
4048         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4049         meaning.
4050
4051 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4052
4053         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4054         operator dispatch_result_t, and operators for == != and >=
4055
4056         * cursor.C (dispatch): adjust for operator dispatch_result_t
4057         removal. comment out call to update
4058
4059         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4060
4061 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4062
4063         * text3.C:
4064         * text2.C:
4065         * text.C:
4066         * lyxtext.h:
4067         * lyxfunc.C:
4068         * cursor.C:
4069         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4070         (dispatch):
4071
4072         * dispatchresult.h: new file, DispatchResult broken out of
4073         insets/insetbase.h
4074
4075         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4076
4077 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4078
4079         * text.C (rowBreakPoint): put a hack inside #if 0
4080
4081 2003-10-28  André Pönitz  <poenitz@gmx.net>
4082
4083         * lyxtext.h:
4084         * metricsinfo.C:
4085         * paragraph_funcs.C:
4086         * rowpainter.C:
4087         * text.C:
4088         * text2.C: general cleanup (lots of small stuff)
4089
4090 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4091
4092         * text2.C (cursorEnd): simple fix to the "end key goes to one
4093         before the end on last row" bug
4094
4095 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4096
4097         * text.C (backspace): fix the "zombie characters"
4098
4099 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4100
4101         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4102
4103 2003-10-27  André Pönitz  <poenitz@gmx.net>
4104
4105         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4106
4107         * factory.C: handle new InsetPagebreak, InsetLine
4108
4109         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4110         and move handling into new InsetPagebreak, InsetLine
4111
4112         * BufferView_pimpl.C:
4113         * LyXAction.C:
4114         * ParagraphParameters.C:
4115         * ParameterStruct.h:
4116         * lyxfunc.C:
4117         * lyxtext.h:
4118         * paragraph.C:
4119         * paragraph.h:
4120         * paragraph_funcs.C:
4121         * paragraph_pimpl.C:
4122         * rowpainter.C:
4123         * text.C:
4124         * text2.C:
4125         * text3.C: adjust
4126
4127 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4128
4129         * text.C:
4130         * lyxrow_funcs.[Ch]:
4131         * Bidi.C:
4132         * paragraph.C:
4133         * lyxtext.h:
4134         * rowpainter.C:
4135         * text2.C:
4136         * text3.C: remove lastPos uses in favour of Row::endpos
4137
4138 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4139
4140         * undo.C (performUndoOrRedo): fix two crashes by setting a
4141         cursor by hand and reordering some calls. Use bv->lockInset instead
4142         of inset->edit because the latter loses cursor information
4143
4144 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4145
4146         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4147         by Martin
4148         (rowBreakPoint): fix width. change point to point + 1.
4149         Add a missing check.
4150
4151 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4152
4153         * MenuBackend.C:
4154         * lyxfunc.C: fix (at least partly) the problems
4155         with the Nav menu and headers inside branch insets
4156         reported by Kayvan
4157
4158 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4159
4160         * paragraph.C (getChar): add strong asserts
4161
4162         * lyxrow_funcs.C (lastPos): remove hideous hack
4163
4164         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4165         (fill): adjust to that (avoid an infinite loop)
4166
4167 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4168
4169         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4170
4171 2003-10-23  André Pönitz  <poenitz@gmx.net>
4172
4173         * RowList_fwd.h: change list<> to vector<> to gain speed
4174         after suggestion from Alfredo
4175
4176 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4177
4178         * lyxtext.h: move the bidi stuff from here...
4179         * text.C: and here
4180         * text2.C: and here
4181         * Bidi.[Ch]: ... to here
4182
4183 2003-10-23  André Pönitz  <poenitz@gmx.net>
4184
4185         * lyxtext.h:
4186         * text.C (isLastRow, isFirstRow): new functions
4187
4188         * paragraph.h: new width cache member
4189
4190         * rowpainter.C: replace RowList::iterator with Row & where possible
4191
4192         * lyxfunc.C: replace several view()->text with a single call
4193
4194         * toc.C: fix 'unused' warning
4195
4196 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4197
4198         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4199         when woring with stream::pos_type
4200         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4201
4202 2003-10-22  André Pönitz  <poenitz@gmx.net>
4203
4204         * lyxtext.h:
4205         * text.C: use Row & instead of RowList::iterator
4206
4207         * lyxrow.h: rename end() to endpos()
4208
4209         * rowpainter.C:
4210         * text.C:
4211         * text2.C: adjust
4212
4213 2003-10-22  Angus Leeming  <leeming@lyx.org>
4214
4215         * buffer.[Ch] (fully_loaded): new member function, returning true
4216         only when the file has been loaded fully.
4217         Used to prevent the premature generation of previews and by the
4218         citation inset to prevent computation of the natbib-style label.
4219
4220         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4221         templates are all set up.
4222
4223         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4224
4225 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4226
4227         * text.C: fixed an "oops" in the "is a bit silly"
4228         bug fix
4229
4230 2003-10-21  André Pönitz  <poenitz@gmx.net>
4231
4232         * FuncStatus.[Ch]: small stuff, whitespace
4233
4234         * lyxfont.[Ch]: operator<<() for debug reasons
4235
4236         * lyxfunc.C:
4237         * lyxrow_funcs.C:
4238         * lyxtext.h: whitespace, spelling
4239
4240         * paragraph.C: naming of variables
4241
4242         * text.C:
4243         * text2.C: small stuff
4244
4245
4246 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4247
4248         * text.C: (1) finish off the inset display() work;
4249         (2) fix the "is a bit silly" bug (accessing char
4250         past end of par).
4251
4252 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4253
4254         * text.C: re-introduce display() for insets, fixing the
4255         various bugs (stretch of line above, math inset
4256         positioning, ...)
4257
4258 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4259
4260         * text.C (rightMargin): remove spurious semicolon
4261
4262         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4263         1415)
4264
4265 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4266
4267         * text3.C: fix one crash due to wrong cursor def
4268
4269 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4270
4271         * vc-backend.C (scanMaster): make the regex static
4272
4273         * LaTeX.C (scanAuxFile): make the regexs static
4274
4275         * text3.C (doInsertInset, dispatch, dispatch):
4276         * text2.C (cursorUp, cursorDown):
4277         * text.C (selectNextWordToSpellcheck):
4278         * BufferView_pimpl.C (dispatch):
4279         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4280
4281 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4282
4283         * lyxsocket.C: include <cerrno>
4284
4285 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4286
4287         * lyxfunc.C (dispatch): remove textcache stuff
4288
4289         * bufferlist.C (release): remove textcache stuff
4290         (closeAll): ditto
4291
4292         * TextCache.C: delete file
4293         * TextCache.h: delete file
4294
4295         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4296
4297         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4298         delete of the bv_->text.
4299         (resizeCurrentBuffer): remove texcache stuff
4300         (workAreaResize): ditto
4301
4302 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4303
4304         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4305         action.
4306
4307 2003-10-16  André Pönitz  <poenitz@gmx.net>
4308
4309         * lyxrow.[Ch]:
4310         * paragraph.h:
4311         * rowpainter.C:
4312         * text.C:
4313         * text2.C:
4314         * text3.C: speed up by storing y positions per paragraph plus per-row
4315         offset instead of having a 'full' y position in the row.
4316
4317 2003-10-15  André Pönitz  <poenitz@gmx.net>
4318
4319         * iterators.[Ch]:
4320         * iterators.[Ch]:
4321         * undo.[Ch]: make undo aware of inner insets
4322
4323 2003-10-14  Angus Leeming  <leeming@lyx.org>
4324
4325         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4326         static member functions LyX::ref() and LyX::cref.
4327         (lastfiles): new accessor functions for the new lastfiles_ member var.
4328         (addLyXView, views_): add a new LyXView to the list of views_.
4329         (updateInset): loop over all LyXViews to call their own updateInset
4330         member function, returning a pointer to the Buffer owning the inset.
4331
4332         * BufferView_pimpl.C (loadLyXFile):
4333         * MenuBackend.C (expandLastfiles):
4334         * bufferlist.C (MenuWrite, QuitLyX):
4335         lastfiles is no longer a global variable.
4336         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4337
4338         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4339         static function. Access through LyX::cref().emergencyCleanup().
4340
4341 2003-10-14  André Pönitz  <poenitz@gmx.net>
4342
4343         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4344
4345         * undo.[Ch]: restoring part of 'undo in insets'
4346
4347         * Makefile.am:
4348         * undo_funcs.[Ch]: merge with undo.[Ch]
4349
4350         * tabular.C: small cleansing stuff
4351
4352 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4353
4354         * paragraph_funcs.C (readParToken): report unknown insets as error
4355         boxes. Use the outer paragraph as location (also for unknown
4356         tokens).
4357
4358         * factory.C (readInset): do not abort on reading an unknown inset.
4359         Eat it and return 0.
4360
4361 2003-10-13  Angus Leeming  <leeming@lyx.org>
4362
4363         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4364
4365         * lyxrc.C: displayTranslator is now a function,
4366         declared in GraphicsTypes.h.
4367
4368 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4369
4370         * format.C: new placeholder $$a to pass the socket address.
4371
4372         * bufferlist.[Ch]: new function getBufferFromTmp.
4373
4374         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4375           files in the temporary dir.
4376
4377 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4378
4379         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4380
4381         * Makefile.am: add lyxsocket.[Ch].
4382
4383         * lyx_main.C (error_handler): handle SIGPIPE.
4384
4385 2003-10-13  André Pönitz  <poenitz@gmx.net>
4386
4387         * BufferView_pimpl.C:
4388         * lyxtext.h:
4389         * text.C:
4390         * text2.C:
4391         * text3.C:
4392         * undo_funcs.[Ch]: use paroffset_type instead of
4393           ParagraphList::iterators to prevent multiple conversion
4394           (and get a more robust interface)
4395
4396 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4397
4398         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4399         * lyxtext.h: ditto
4400         * text3.C (dispatch): ditto
4401
4402 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4403
4404         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4405         move the onlyfile, use onlyfile instead of foundfile in a couple
4406         of places.
4407
4408         * DepTable.C (update): flush the error stream a bit more
4409
4410 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4411
4412         * lyxserver.C (callback): adjust
4413
4414         * lyxfunc.C (getStatus): add a missing brace in commented code
4415         (ensureBufferClean): reindent
4416         (dispatch): delete version taking a string
4417
4418 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4419
4420         * LaTeX.C (deplog): move found file handlig from here...
4421         (handleFoundFile): .. to new function here.
4422         (deplog): make sure to discover several files mentioned on the
4423         same log line.
4424
4425 2003-10-10  André Pönitz  <poenitz@gmx.net>
4426
4427         * lyxfunc.C:
4428         * lyxtext.h:
4429         * tabular.C:
4430         * text.C:
4431         * text2.C:
4432         * text3.C: fix some of the tabular crashes
4433
4434 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4435
4436         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4437
4438         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4439
4440 2003-10-09  André Pönitz  <poenitz@gmx.net>
4441
4442         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4443
4444         * BufferView.C:
4445         * BufferView_pimpl.C:
4446         * bufferview_funcs.C:
4447         * lyx_cb.C:
4448         * lyxcursor.C:
4449         * lyxfind.C:
4450         * lyxfunc.C:
4451         * lyxtext.h:
4452         * text.C:
4453         * text2.C:
4454         * text3.C:
4455         * text_funcs.[Ch]:
4456         * textcursor.[Ch]:
4457         * undo_funcs.C: adjust
4458
4459 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4460
4461         * text2.C (incrementItemDepth): new function, use a backtracking
4462         algorithm to discover the correct item depth.
4463         (resetEnumCounterIfNeeded): new function, use a backtracking
4464         algorithm to discover if counter reset is needed.
4465         (setCounter): use them. Simplify a bit. Add different labels for
4466         different item depths for itemize.
4467
4468         * paragraph.C (Paragraph): remove initialization of enumdepth
4469         (operator=): ditto
4470
4471         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4472         enumerate and itemize. Change the type of itemdepth to signed char.
4473
4474 2003-10-08  André Pönitz  <poenitz@gmx.net>
4475
4476         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4477           thing assignable.
4478         * text.C:
4479         * text2.C: adjust
4480
4481         * tabular.[Ch]: fix crash after 'row-insert'
4482
4483 2003-10-08  Angus Leeming  <leeming@lyx.org>
4484
4485         Fix doxygen warnings.
4486
4487         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4488         Remove CutAndPaste:: prefix from header file declaration.
4489
4490         * LColor.h (fill): remove LColor:: prefix from declaration.
4491
4492         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4493         use lyx::depth_type rather than Paragraph::depth_type so that
4494         header file and .C file match.
4495
4496         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4497
4498         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4499         * aspell.C: \file aspell_local.C -> \file aspell.C
4500         * gettext.C: \file gettext.C -> \file src/gettext.C
4501         * gettext.h: \file gettext.h -> \file src/gettext.h
4502         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4503         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4504         * text.C: \file text.C -> \file src/text.C
4505
4506         * toc.C: move comment so that doxygen is not confused.
4507
4508 2003-10-07  Angus Leeming  <leeming@lyx.org>
4509
4510         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4511
4512 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4513
4514         * aspell.C:
4515         * aspell_local.h: add forgotten std::string's.
4516
4517 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4518
4519         * LaTeXFeatures.C:
4520         * LyXAction.C:
4521         * factory.C:
4522         * lfuns.h:
4523         * lyxfunc.C:
4524         * text3.C: The Box patch. Fancybox support, minipage, parbox
4525
4526 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4527
4528         * CutAndPaste.h:
4529         * DepTable.h:
4530         * FloatList.h:
4531         * LaTeXFeatures.h:
4532         * ParagraphParameters.h:
4533         * TextCache.h:
4534         * Thesaurus.h:
4535         * bufferlist.h:
4536         * exporter.h:
4537         * importer.h:
4538         * lastfiles.h:
4539         * lyxfind.h:
4540         * lyxfont.h:
4541         * lyxlex.h:
4542         * lyxtextclasslist.h:
4543         * messages.h:
4544         * paragraph.h:
4545         * paragraph_pimpl.C:
4546         * textcursor.h: add <string> and other small fixes to make Lars'
4547         std::string patch compile with STLport.
4548
4549 2003-10-06  Angus Leeming  <leeming@lyx.org>
4550
4551         * LColor.h: Add missing #include <string>.
4552
4553 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4554
4555         * All most all file in all subdirs: Make <string> be the prefered
4556         way of getting to std::string, add using declarations.
4557
4558 2003-10-06  André Pönitz  <poenitz@gmx.net>
4559
4560         * metricsinfo.C: initialize LyXFont before changing attribute.
4561         (fixes the 'math in \emph is upright' bug)
4562
4563 2003-10-06  André Pönitz  <poenitz@gmx.net>
4564
4565         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4566
4567 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4568
4569         * graph.C:
4570         * paragraph_pimpl.C: Small fixes to build using STLport
4571
4572 2003-10-02  André Pönitz  <poenitz@gmx.net>
4573
4574         * lyxfunc.C:
4575         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4576
4577 2003-10-01  André Pönitz  <poenitz@gmx.net>
4578
4579         * factory.C: assert early
4580
4581 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4582
4583         * lyx_main.C: remove the global debug object
4584
4585         * debug.h: adjust for new debugstream
4586
4587         * debug.C: adjust for new debugstream and keep the global debug
4588         object here.
4589
4590 2003-09-22  Angus Leeming  <leeming@lyx.org>
4591
4592         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4593         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4594         an incomplete class LyXFont.
4595
4596 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4597
4598         * factory.C: bug fix in branches
4599
4600 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4601
4602         * lyxfunc.C (processKeySym): adjust
4603         (dispatch): adjust
4604         (dispatch): change arg name from ev to func, adjust
4605         (sendDispatchMessage): ditto
4606
4607         * lyx_main.C (defaultKeyBindings): adjust keybindings
4608         (deadKeyBindings): ditto
4609
4610         * kbsequence.C (addkey): return a FuncRequest
4611
4612         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4613
4614         * kbmap.C (bind): take a FuncRequest as arg, adjust
4615         (read): adjust
4616         (lookup): adjust
4617         (defkey): change to take a FuncRequest as arg, adjust
4618         (findbinding): take a FuncRequest as arg, adjust.
4619
4620         * funcrequest.h (operator=): added
4621
4622         * funcrequest.C (FuncRequest): default kb_action changed from
4623         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4624
4625         * buffer.C (dispatch): simplify
4626         (dispatch): adjust to take a FuncRequest as arg, adjust
4627
4628         * boost.C (assertion_failed): change assertion message slightly
4629
4630         * ToolbarBackend.C (read): simplify
4631
4632         * MenuBackend.C (binding): adjust call to findbinding, add a
4633         message if no binding is found.
4634         (read): simplify
4635         (expandToc): correct by adding a empty FuncRequest
4636
4637         * LyXAction.C: include <boost/assert.hpp>
4638         (isPseudoAction): delete function
4639         (LookupFunc): change name to...
4640         (lookupFunc): this. change return type to FuncRequest.
4641         (getActionName): take kb_action as arg, simplify
4642         (funcHasFlag): add an assert, simplify.
4643
4644 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4645
4646         * toc.C (action): return a FuncRequest, simplify
4647
4648         * lyxfunc.C (processKeySym): adjust
4649         (getStatus): delete version that takes an int.
4650         (getStatus): adjust
4651         (dispatch): delete version that takes action as int
4652         (dispatch): adjust
4653         (sendDispatchMessage): simplify and adjust
4654
4655         * funcrequest.C (getArg): take unsigned int as arg
4656
4657         * ToolbarBackend.C (read): adjust
4658         (add): delete version that takes func as a string.
4659         (getIton): take a FuncRequest as arg
4660
4661         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4662         action.
4663
4664         * MenuBackend.C (MenuItem): add a new construct that only takes a
4665         Kind, simplify the constructor use for submenus.
4666         (add): adjust
4667         (expandLastfiles): adjust
4668         (expandDocuments): adjust
4669         (expandFormats): adjust
4670         (expandFloatListInsert): adjust
4671         (expandFloatInsert): adjust
4672         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4673
4674         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4675         Remove class variables lyx_pseudo_map and lyx_arg_map
4676
4677         * LyXAction.C (searchActionArg): delete function
4678         (getPseudoAction): delete function
4679         (retrieveActionArg): delete function
4680         (LookupFunc): make it return kb_action, simplify.
4681         (getActionName): simplify
4682
4683         * factory.C (createInset): fix new bug
4684
4685 2003-09-19  Angus Leeming  <leeming@lyx.org>
4686
4687         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4688         masterFilename_ parameter in the include inset.
4689
4690         * factory.C (createInset): changes due to the changes to InsetInclude.
4691
4692 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4693
4694         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4695
4696 2003-09-18  Angus Leeming  <leeming@lyx.org>
4697
4698         * buffer.C:
4699         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4700         Inset::fillWithBibKeys.
4701         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4702
4703 2003-09-18  Angus Leeming  <leeming@lyx.org>
4704
4705         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4706         variables.
4707         (ctor): pass and store a 'Buffer const &'
4708         (buffer): new member function.
4709
4710         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4711         '*this' to the LaTeXFeatures ctor.
4712
4713 2003-09-18  Angus Leeming  <leeming@lyx.org>
4714
4715         * LColor.h:
4716         * lyxfont.C:
4717         * lyxfont.h:
4718         * lyxtext.h:
4719         * text.C: rename EnumLColor as LColor_color.
4720
4721 2003-09-18  Angus Leeming  <leeming@lyx.org>
4722
4723         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4724         remove #include "insets/insetbase.h" from cursor.h.
4725
4726 2003-09-18  Angus Leeming  <leeming@lyx.org>
4727
4728         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4729         InsetOld_code to remove #include "inset.h".
4730
4731         * iterators.C: add #include "insets/inset.h"
4732
4733 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4734
4735         * BufferView.C: remove more locking stuff that apparently doesn't
4736         do anything sensible.
4737
4738 2003-09-16  André Pönitz  <poenitz@gmx.net>
4739
4740         * paragraph.[Ch]:
4741         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4742           performance boost.
4743
4744 2003-09-16  Angus Leeming  <leeming@lyx.org>
4745
4746         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4747
4748         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4749         arg/return type.
4750
4751         * paragraph.h: remove #include "lyxfont.h". Forward declare
4752         LyXFont_size.
4753
4754 2003-09-16  Angus Leeming  <leeming@lyx.org>
4755
4756         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4757         of support/textutils.h.
4758         (isWord): move the contents of support/textutils.h's IsWordChar here.
4759
4760         * buffer.C:
4761         * lyxfind.C:
4762         * rowpainter.C:
4763         * text.C:
4764         * text2.C: add #include "paragraph.h".
4765
4766         * rowpainter.C:
4767         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4768
4769 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4770
4771         * main.C:
4772         * lyx_main.C:
4773         * lyx_cb.C:
4774         * buffer.C:
4775         * LaTeX.C: use namespace alias for lyx::support::os
4776
4777 2003-09-16  Angus Leeming  <leeming@lyx.org>
4778
4779         * bufferparams.C:
4780         * bufferview_funcs.C:
4781         * factory.C:
4782         * lyxfunc.C:
4783         * paragraph_pimpl.C:
4784         * rowpainter.C:
4785         * text.C: add #include "LColor.h".
4786
4787 2003-09-16  Angus Leeming  <leeming@lyx.org>
4788
4789         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4790         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4791         return LyXFont &.
4792         Store the FontBits::color variable as an int rather than as an
4793         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4794         file.
4795
4796         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4797         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4798         string calls together.
4799
4800         * lyxrc.C: add #include "LColor.h".
4801
4802 2003-09-15  Angus Leeming  <leeming@lyx.org>
4803
4804         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4805         a cow_ptr.
4806
4807 2003-09-15  Angus Leeming  <leeming@lyx.org>
4808
4809         * LColor.h: add an EnumLColor wrapper for LColor::color.
4810
4811         * lyxfont.[Ch] (color, setColor, realColor):
4812         * lyxtext.h, text.C (backgroundColor):
4813         pass EnumLColor args to/from the functions, rather than LColor::color
4814         ones.
4815
4816         * lyxfont.h:
4817         * lyxtext.h: forward declare EnumLColor.
4818
4819         * lyx_main.C: add #include "LColor.h".
4820
4821 2003-09-15  Angus Leeming  <leeming@lyx.org>
4822
4823         * .cvsignore: add lyx-gtk.
4824
4825 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4826
4827         * Chktex.C
4828         * LaTeX.C
4829         * LaTeXFeatures.C
4830         * ParagraphParameters.C
4831         * Spacing.C
4832         * buffer.C
4833         * bufferparams.C
4834         * bufferview_funcs.C
4835         * chset.C
4836         * counters.C
4837         * funcrequest.C
4838         * lyxfont.C
4839         * lyxgluelength.C
4840         * lyxlength.C
4841         * paragraph.C
4842         * paragraph_funcs.C
4843         * text3.C
4844         * vc-backend.C: remove usage of STRCONV
4845
4846 2003-09-15  Angus Leeming  <leeming@lyx.org>
4847
4848         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4849         explicitly define the color passed to the painter.
4850
4851 2003-09-15  Angus Leeming  <leeming@lyx.org>
4852
4853         * bufferparams.C (BufferParams): reorder member initializers to avoid
4854         compiler warning.
4855
4856 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4857
4858         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4859         * text.C (updateRowPositions): remove an unusual nop
4860
4861 2003-09-12  André Pönitz  <poenitz@gmx.net>
4862
4863         * BufferView_pimpl.C:
4864         * Bullet.C:
4865         * layout.h:
4866         * lyxfunc.C:
4867         * lyxlayout.[Ch]:
4868         * lyxtextclass.C:
4869         * rowpainter.C:
4870         * text.C:
4871         * text2.C:
4872         * Counters.[Ch]: finish the 'automatic counters' job
4873
4874 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4875
4876         * aspell.C: include <boost/assert.cpp> (compile fix)
4877
4878 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4879
4880         * boost.C (assertion_failed): use lyx::support::abort instead of
4881         assert.
4882
4883 2003-09-10  Angus Leeming  <leeming@lyx.org>
4884
4885         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4886         with their _fwd progeny.
4887
4888 2003-09-09  Angus Leeming  <leeming@lyx.org>
4889
4890         134 files throughtout the source tree: replace 'using namespace abc;'
4891         directives with the appropriate 'using abc::xyz;' declarations.
4892
4893 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4894
4895         * boost.C (emergencyCleanup): moved here from LAssert.c
4896         (assertion_failed): new function, called by BOOST_ASSERT
4897
4898         * several files: change Assert to BOOST_ASSERT
4899
4900 2003-09-09  Angus Leeming  <leeming@lyx.org>
4901
4902         * buffer.[Ch]: Add an Impl class and move Buffer's member
4903         variables into it. As a result move several header files out of
4904         buffer.h.
4905
4906         Add header files to lots of .C files all over the tree as a result.
4907
4908 2003-09-09  Angus Leeming  <leeming@lyx.org>
4909
4910         * buffer.[Ch]: make Buffer's member variables private. Add
4911         accessor functions.
4912
4913         Lots of changes all over the tree as a result.
4914
4915 2003-09-08  Angus Leeming  <leeming@lyx.org>
4916
4917         * graph.C: #include <config.h>.
4918
4919 2003-09-08  Angus Leeming  <leeming@lyx.org>
4920
4921         * BranchList.C:
4922         * BufferView.C:
4923         * BufferView_pimpl.C:
4924         * CutAndPaste.C:
4925         * DepTable.C:
4926         * LaTeX.C:
4927         * LaTeXFeatures.C:
4928         * LyXAction.C:
4929         * MenuBackend.C:
4930         * TextCache.C:
4931         * aspell.C:
4932         * buffer.C:
4933         * bufferlist.C:
4934         * changes.C:
4935         * chset.C:
4936         * converter.C:
4937         * counters.C:
4938         * debug.C:
4939         * graph.C:
4940         * ispell.C:
4941         * lyx_cb.C:
4942         * lyxfind.C:
4943         * lyxfunc.C:
4944         * lyxlex_pimpl.C:
4945         * lyxrc.C:
4946         * lyxrow.C:
4947         * paragraph.C:
4948         * rowpainter.C:
4949         * texrow.C:
4950         * text.C:
4951         * text2.C:
4952         * toc.C: remove redundant using directives.
4953
4954 2003-09-07  Angus Leeming  <leeming@lyx.org>
4955
4956         * LaTeXFeatures.h: remove #include "support/types.h".
4957         * ToolbarBackend.h: remove #include <algorithm>.
4958         * changes.h: remove #include <ctime>.
4959         * debug.h: remove #include <iosfwd>.
4960         * graph.h: remove #include "support/std_string.h".
4961         * lyx_main.h: remove #include <csignal>.
4962         * lyxlex_pimpl.h: remove #include <fstream>.
4963         * sgml.h: remove #include <algorithm>, <utility>.
4964         * toc.h: remove #include "support/std_ostream.h".
4965         Add #include <iosfwd>.
4966
4967 2003-09-07  Angus Leeming  <leeming@lyx.org>
4968
4969         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4970
4971         * converter.h: forward declare LatexRunParams.
4972         * encoding.h: remove #include "lyxrc.h".
4973         * lyxtext.h: remove #include "LColor.h".
4974         * lyxtextclass.h: remove #include "support/types.h".
4975         * trans.h: remove #include "tex-accent.h".
4976         * trans_mgr.h: remove #include "tex-accent.h".
4977         * insets/inset.h: remove #include "support/types.h", <vector>.
4978         * insets/insetcollapsable.h: remove #include "LColor.h".
4979         * insets/insetinclude.h: remove #include "dimension.h".
4980         * insets/insetlatexaccent.h: remove #include "dimension.h".
4981         * insets/insetoptarg.h:: remove #include "insettext.h".
4982         * insets/insettext.h: remove #include "dimension.h",
4983         <boost/shared_ptr.hpp>
4984
4985         * insets/renderers.h: add #include "dimension.h".
4986         * insets/updatableinset.h: add #include "support/types.h".
4987
4988         * many .C files: Associated changes.
4989
4990 2003-09-06  Angus Leeming  <leeming@lyx.org>
4991
4992         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4993         one, inside testInvariant.
4994
4995         * PrinterParams.C: new file.
4996         * PrinterParams.[Ch]: move the function bodies out of line.
4997
4998 2003-09-06  Angus Leeming  <leeming@lyx.org>
4999
5000         * ParagraphParameters.h: forward declare ParameterStruct rather than
5001         including its header file.
5002         (depth): moved out-of-line.
5003
5004 2003-09-06  Angus Leeming  <leeming@lyx.org>
5005
5006         * BufferView_pimpl.h:
5007         * kbmap.h:
5008         * kbsequence.h:
5009         * lyxfunc.h: forward declare LyXKeySym rather than
5010         #include "frontends/LyXKeySym.h".
5011
5012         * BufferView_pimpl.C:
5013         * kbmap.C:
5014         * kbsequence.C:
5015         * lyxfunc.C: associated changes.
5016
5017 2003-09-06  Angus Leeming  <leeming@lyx.org>
5018
5019         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5020         As a result, can remove the #include "insets/inset.h" from BufferView.h
5021
5022 2003-09-06  Angus Leeming  <leeming@lyx.org>
5023
5024         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5025         As a result, can remove the #include "insets/inset.h" from BufferView.h
5026
5027 2003-09-06  Angus Leeming  <leeming@lyx.org>
5028
5029         * buffer_funcs.C:
5030         * buffer.h:
5031         * bufferlist.C:
5032         * BufferView.C:
5033         * bufferview_funcs.C:
5034         * BufferView_pimpl.C:
5035         * CutAndPaste.C:
5036         * lyx_cb.C:
5037         * lyxfunc.C:
5038         * paragraph.h:
5039         * ParagraphParameters.C:
5040         * tabular.C:
5041         * text3.C:
5042         * toc.C:
5043         * undo_funcs.C:
5044         * frontends/controllers/ControlDocument.C:
5045         * insets/insetcaption.C: rearrange the #includes into some sort of
5046         coherent order.
5047
5048         * buffer.h: remove #includes ErrorList.h, undo.h
5049
5050 2003-09-06  Angus Leeming  <leeming@lyx.org>
5051
5052         * support/types.h: add a 'depth_type' typedef, used to store the
5053         nesting depth of a paragraph.
5054
5055         * paragraph.h:
5056         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5057         defining explicitly.
5058
5059         * buffer.h:
5060         * paragraph_funcs.h:
5061         * ParagraphParameters.h:
5062         * sgml.h: use lyx::depth_type rather than Paragraph or
5063         ParameterStruct's depth_type.
5064
5065         * buffer.h
5066         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5067
5068         * BufferView.C:
5069         * BufferView_pimpl.C:
5070         * CutAndPaste.C:
5071         * ParagraphParameters.C:
5072         * buffer_funcs.C:
5073         * bufferlist.C:
5074         * bufferview_funcs.C:
5075         * lyx_cb.C:
5076         * lyxfunc.C:
5077         * tabular.C:
5078         * text3.C:
5079         * toc.C:
5080         * undo_funcs.C:
5081         * frontends/LyXView.C:
5082         * frontends/controllers/ControlDocument.C:
5083         * frontends/controllers/ControlErrorList.C:
5084         * insets/insetbibitem.C:
5085         * insets/insetbranch.C:
5086         * insets/insetcaption.C:
5087         * insets/insetcollapsable.C:
5088         * insets/insetenv.C:
5089         * insets/insetert.C:
5090         * insets/insetfloat.C:
5091         * insets/insetfoot.C:
5092         * insets/insetfootlike.C:
5093         * insets/insetnewline.C:
5094         * insets/insetquotes.C:
5095         * insets/insettabular.C:
5096         * insets/insettext.C:
5097         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5098
5099         * frontends/controllers/ControlChanges.C: #include "changes.h".
5100
5101 2003-09-06  Angus Leeming  <leeming@lyx.org>
5102
5103         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5104         than #including paragraph.h.
5105
5106         * ParagraphList.h:
5107         * RowList.h: deleted. Superfluous.
5108
5109         * CutAndPaste.h:
5110         * iterators.h:
5111         * lyxcursor.h:
5112         * lyxtext.h:
5113         * text_funcs.h:
5114         * undo.h:
5115         * undo_funcs.h:
5116         * insets/inset.h:
5117         * insets/insettext.h: use ParagraphList_fwd.h rather than
5118         ParagraphList.h.
5119
5120         * paragraph.h: don't forward declare ParagraphList.
5121
5122         * buffer.h:
5123         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5124         rather than ParagraphList.h. paragraph.h is still needed for the
5125         Paragraph::depth_type parameters.
5126
5127         * textcursor.h: enable it to compile stand-alone in light of the
5128         above changes.
5129
5130         * bufferview_funcs.C:
5131         * iterators.C:
5132         * lyxfunc.C:
5133         * lyxrow_funcs.C:
5134         * paragraph.C:
5135         * rowpainter.C:
5136         * text.C:
5137         * text2.C:
5138         * text3.C:
5139         * text_funcs.C:
5140         * textcursor.C:
5141         * undo.C:
5142         * frontends/controllers/ControlParagraph.C:
5143         * frontends/controllers/ControlTabular.C:
5144         * insets/insetmarginal.C:
5145         * insets/insetminipage.C:
5146         * insets/insetnote.C:
5147         * insets/insetoptarg.C: add header files needed to compile again.
5148
5149 2003-09-06  Angus Leeming  <leeming@lyx.org>
5150
5151         * RowList_fwd.h: new file, forward-declaring Row rather than
5152         #including lyxrow.h.
5153
5154         * lyxrow_funcs.h:
5155         * lyxtext.h:
5156         * paragraph.h:
5157         * insets/insettext.h: use it instead of RowList.h
5158
5159         * bufferview_funcs.C:
5160         * lyxfunc.C:
5161         * lyxrow_funcs.C:
5162         * paragraph.C:
5163         * rowpainter.C:
5164         * text.C:
5165         * text2.C:
5166         * text3.C: #include "RowList.h".
5167
5168 2003-09-05  Angus Leeming  <leeming@lyx.org>
5169
5170         * factory.C (createInset):
5171         * vspace.C (c-tor): replace sscanf call with an istringstream.
5172         * ispell.C: re-add missing HP/UX headers.
5173         * lyxserver.C: re-add missing  os2 headers.
5174
5175 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5176
5177         * BranchList.C:
5178         * graph.C:
5179         * ispell.C:
5180         * lastfiles.C:
5181         * lyx_cb.C:
5182         * lyxserver.C:
5183         * texrow.C:
5184         * text3.C: re-add missing system headers, needed for 2.95.2.
5185
5186 2003-09-05  Angus Leeming  <leeming@lyx.org>
5187
5188         Changes most place everywhere due to the removal of using directives
5189         from support/std_sstream.h.
5190
5191 2003-09-05  Angus Leeming  <leeming@lyx.org>
5192
5193         Replace LString.h with support/std_string.h,
5194         Lsstream.h with support/std_sstream.h,
5195         support/LIstream.h with support/std_istream.h,
5196         support/LOstream.h with support/std_ostream.h.
5197
5198         Changes resulting throughout the tree.
5199
5200 2003-09-05  Angus Leeming  <leeming@lyx.org>
5201
5202         * sgml.h: ensure that the header file can be compiled stand-alone.
5203         * *.C: strip out redundant #includes. (320 in total.)
5204
5205 2003-09-04  Angus Leeming  <leeming@lyx.org>
5206
5207         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5208         here (from getPackages).
5209
5210         * debug.[Ch]: add a new EXTERNAL tag.
5211
5212 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5213
5214         * text2.C (cursorEnd): simplify
5215         (setCursor): adjust
5216         (getColumnNearX): adjust
5217
5218         * text.C (computeBidiTables): adjust
5219         (fill): adjust
5220
5221         * rowpainter.C (paintChars): adjust
5222         (paintSelection): adjust
5223         (paintChangeBar): adjust
5224         (paintText): adjust
5225
5226         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5227         lastPos instead.
5228         (numberOfSeparators): adjust
5229
5230 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5231
5232         * LyXAction.C:
5233         * box.[Ch]:
5234         * lfuns.h:
5235         * lyxfunc.C:
5236         * text3.C: Restricts the mouse click functionality
5237         of insets like bibtex, include, toc and floatlist to the visible
5238         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5239         up the dialogs. Cursor has to be in front of the inset (i.e.
5240         start of row) for this to function.
5241
5242 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5243
5244         * bufferview_funcs.C (currentState): output row information
5245
5246 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5247
5248         * bufferview_funcs.C (currentState): output paragraph position
5249
5250 2003-09-04  Angus Leeming  <leeming@lyx.org>
5251
5252         * FloatList.h: move out #include "Floating.h".
5253         * LaTeX.h: move out #include "DepTable.h".
5254         * LyXAction.h: move out #include "funcrequest.h".
5255         * buffer.h: move out #include "author.h", "iterators.h".
5256         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5257         * lyx_main.h: move out #include "errorlist.h".
5258         * lyxfunc.h: move out #include "FuncStatus.h".
5259         * lyxtext: move out #include "lyxcursor.h".
5260         * paragraph_pimpl.h: move out #include "counters.h".
5261
5262 2003-09-03  Angus Leeming  <leeming@lyx.org>
5263
5264         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5265         preamble_snippets list, enabling us to add snippets to the preamble
5266         only if the snippet was not there already.
5267
5268 2003-09-04  Angus Leeming  <leeming@lyx.org>
5269
5270         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5271
5272 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5273
5274         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5275         update
5276
5277 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5278
5279         * BranchList.C: point fix, earlier forgotten
5280
5281 2003-09-02  Angus Leeming  <leeming@lyx.org>
5282
5283         * box.C (contains): renamed from 'contained' after a fantastic
5284         amount of hot air.
5285
5286 2003-09-02  John Levon  <levon@movementarian.org>
5287
5288         * BufferView.C:
5289         * lyxcursor.h:
5290         * lyxcursor.C:
5291         * lyxfunc.C:
5292         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5293
5294 2003-09-02  John Levon  <levon@movementarian.org>
5295
5296         * text2.C: simplification of cursorEnd(), including partial
5297         fix for bug 1376
5298
5299 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5300
5301         * buffer.C (readFile): add a space
5302
5303 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5304
5305         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5306
5307 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5308
5309         * buffer.C (readFile): new function, take a filename and a
5310         ParagraphList::iterator
5311         (readFile): adjust
5312         (readFile): adjust, make it private. don't use setStream, make
5313         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5314         always contain the filename.
5315
5316         * BufferView.C (insertLyXFile): simplify and make it work for
5317         gzipped files.
5318
5319 2003-08-30  John Levon  <levon@movementarian.org>
5320
5321         * Makefile.am: fix dist (from Kayvan)
5322
5323 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5324
5325         * most files: change to use const Buffer refs
5326
5327 2003-08-27  André Pönitz  <poenitz@gmx.net>
5328
5329         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5330         on top of ownerPar().
5331
5332 2003-08-27  John Levon  <levon@movementarian.org>
5333
5334         * funcrequest.C: properly initialise POD members
5335
5336 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5337
5338         * lyxtext.h (top_y): move top_y from here
5339         * text.C:
5340         * text2.C:
5341         * text3.C:
5342         * BufferView.[Ch]:
5343         * BufferView_pimpl.[Ch]: to here
5344         * frontends/screen.C:
5345         * insets/insettabular.C:
5346         * insets/insettext.C: adjust
5347         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5348
5349 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5350
5351         * BufferView.[Ch]:
5352         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5353
5354 2003-08-26  André Pönitz  <poenitz@gmx.net>
5355
5356         * paragraph_func.[Ch] (outerPar): new function
5357
5358         * paragraph.C:
5359         * paragraph_funcs.C:
5360         * paragraph_funcs.h:
5361         * paragraph_pimpl.C:
5362         * text2.C: remove Inset::par_owner
5363
5364 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5365
5366         * lyxrow_funcs.C:
5367         * lyxtext.h:
5368         * text.C:
5369         * text2.C: eliminates the needFullRow/display() stuff
5370         altogether, putting the logic in metrics/draw in the insets.
5371
5372 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5373
5374         * text2.C (redoParagraphInternal, redoParagraphs):
5375         * text.C (redoParagraph): add a call to updateRowPositions at the
5376         end of each 'metrics-like' call. Remove all others.
5377         (getRow): remove the 'y-computing' version.
5378         (getRowNearY): do not compute nor return the real y. Solve the
5379         'y < 0' problem and simplify.
5380
5381 2003-08-22  Angus Leeming  <leeming@lyx.org>
5382
5383         * *.[Ch]: clean-up of licence and author blurbs.
5384         Also move config.h out of a few .h files and into a few .C files.
5385
5386 2003-08-22  André Pönitz  <poenitz@gmx.net>
5387
5388         * lyxrow.[Ch]: add x_ and *fill_ members
5389
5390         * lyxtext.h:
5391         * text.C:
5392         * rowpainter.C:
5393         * text2.C: adjust/remove prepareToPrint() calls
5394
5395 2003-08-22  André Pönitz  <poenitz@gmx.net>
5396
5397         * lyxrow.[Ch]: add  end_ member
5398
5399         * lyxrow_funcs.C: use LyXRow::end_
5400
5401         * lyxtext.h (singleWidth): add LyXFont parameter
5402
5403         * rowpainter.C:
5404         * text2.C: adjust LyXText::singleWidth() calls
5405
5406         * text.C (redoParagraph): simplify row breaking logic
5407
5408
5409 2003-08-19  André Pönitz  <poenitz@gmx.net>
5410
5411         * funcrequest.C: initialize button_ member
5412
5413         * text3.C:
5414         * rowpainter.[Ch]: interface consolidation
5415
5416 2003-08-18  André Pönitz  <poenitz@gmx.net>
5417
5418         * BufferView.C:
5419         * BufferView_pimpl.C:
5420         * lyxfind.C:
5421         * paragraph_funcs.C:
5422         * rowpainter.C:
5423         * text3.C: remove LyXScreen::draw() and fitCursor calls
5424
5425         * BranchList.h: remove spurious semicolons
5426
5427         * MenuBackend.C: fix branchlist related crash
5428
5429 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5430
5431         * BranchList.[Ch]:
5432         * InsetList.[Ch]:
5433         * LColor.[Ch]:
5434         * LyXAction.C:
5435         * Makefile.am:
5436         * MenuBackend.[Ch]:
5437         * bufferparams.[Ch]:
5438         * factory.C:
5439         * lfuns.h:
5440         * lyxfunc.C:
5441         * text3.C: implements the 'branch inset'
5442         idea. This allows the output of various versions of a document
5443         from a single source version, selectively outputing or suppressing
5444         output of parts of the text.
5445         This implementation contains a 'branch list editor' in a separate
5446         tab of the document settings dialog. Branches are user definable
5447         and have a "display colour" to distinguish them on-screen.
5448
5449         ColorHandler was somewhat cleaned up.
5450         (1) make possible a dynamically growing LColor list by allowing
5451         the graphic context cache to grow along (vector);
5452         (2) eliminate an IMHO unnecessary step in colour allocation.
5453
5454 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5455
5456         * BufferView_pimpl.C: compile fix
5457
5458 2003-08-15  André Pönitz  <poenitz@gmx.net>
5459
5460         * rowpainter.C: remove extra metrics calls
5461
5462         * lyxtext.h: merge the two constructors into a single one,
5463           pass reference to owner's par list
5464
5465         * BufferView_pimpl.C:
5466         * text.C:
5467         * text2.C: adjust
5468
5469 2003-08-15  André Pönitz  <poenitz@gmx.net>
5470
5471         * lyxrow_funcs.[Ch]:
5472         * lyxtext.h:
5473         * paragraph.h:
5474         * paragraph_funcs.C:
5475         * rowpainter.C:
5476         * text.C:
5477         * text2.C:
5478         * text3.C:
5479         * text_funcs.C: split LyXText::rowlist_ into individual
5480         Paragraph::rows_ chunks
5481
5482         * BufferView.[Ch]:
5483         * BufferView_pimpl.[Ch]:
5484         * lyxfind.C:
5485         * lyxtext.h:
5486         * text3.C: remove toggleSelection()
5487
5488 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5489
5490         * bufferlist.C: beautify two alerts (shorter text of buttons)
5491         * buffer.C: Remove redundant ' ' from message
5492         * tabular.h:
5493         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5494         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5495         rename VALIGN_CENTER to VALIGN_MIDDLE
5496
5497 2003-08-11  André Pönitz  <poenitz@gmx.net>
5498
5499         * lyxtext.h (getPar):
5500         * text.C: new function
5501
5502 2003-08-11  André Pönitz  <poenitz@gmx.net>
5503
5504         * Makefile.am:
5505         * tracer.[Ch]: remove unneeded files
5506
5507         * InsetList.[Ch]: remove resizeInsetsLyXText()
5508
5509         * lyxtext.h:
5510         * text.C:
5511         * text2.C:
5512         * text3.C: merge insertParagraphs() and appendParagraph()
5513         remove breakAgain(), update()
5514
5515         * BufferView_pimpl.[Ch]:
5516         * bufferview_funcs.[Ch]:
5517         * lyxfunc.C:
5518         * paragraph.[Ch]:
5519         * rowpainter.C:
5520         * tabular.C: adjust after text & InsetList changes.
5521
5522 2003-08-08  André Pönitz  <poenitz@gmx.net>
5523
5524         * text.C (insertChar, backspace): replace rowlist fiddling
5525         with rebreak of full par
5526
5527         * lyxtext.h:
5528         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5529         checkParagraph, updateInset): removed
5530
5531 2003-08-07  André Pönitz  <poenitz@gmx.net>
5532
5533         * paragraph.C:
5534         * text3.C: merge some LFUN handlers, remove dead code
5535
5536 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5537
5538         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5539
5540 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5541
5542         * text2.C (DEPM): fix part of bug 1255 and 1256
5543
5544 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5545
5546         * BufferView_pimpl.C (workAreaDispatch): change to use
5547         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5548         that are no mouse related.
5549
5550 2003-08-05  André Pönitz  <poenitz@gmx.net>
5551
5552         * BufferView.[Ch]:
5553         * BufferView_pimpl.[Ch]:
5554         * bufferview_funcs.C:
5555         * text2.C:
5556         * text3.C: rip out "deep update"
5557
5558         * textcursor.[Ch] (last_sel_cursor): remove unused member
5559
5560 2003-08-04  André Pönitz  <poenitz@gmx.net>
5561
5562         * BufferView.[Ch]:
5563         * BufferView_pimpl.[Ch]:
5564         * ParagraphParameters.C:
5565         * bufferview_funcs.C:
5566         * lyx_cb.C:
5567         * lyxfind.C:
5568         * lyxfunc.C:
5569         * text.C:
5570         * text2.C:
5571         * text3.C: replace "complicated" BufferView::update(...) calls with
5572         simpler ones.
5573
5574         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5575
5576 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5577
5578         * Makefile.am (lyx_SOURCES): add paper.h
5579
5580 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5581
5582         * Makefile.am: move things around so that both lyx-qt and
5583         lyx-xforms can be built (according to --with-frontend). Then lyx
5584         is a symbolic link to lyx-[firstfrontend]
5585
5586 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5587
5588         * Always use std::endl with lyxerr
5589
5590 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5591
5592         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5593
5594 2003-08-01  André Pönitz  <poenitz@gmx.net>
5595
5596         * BufferView.[Ch]:
5597         * BufferView_pimpl.[Ch]:
5598         * lyxfunc.C:
5599         * text3.C: merge BufferView::repaint() and BufferView::update()
5600
5601 2003-08-01  José Matos  <jamatos@lyx.org>
5602
5603         * buffer.[Ch]: file_format is no longer a buffer data element.
5604
5605 2003-08-01  André Pönitz  <poenitz@gmx.net>
5606
5607         * BufferView.C:
5608         * lyxtext.h:
5609         * text.C:
5610         * text2.C: make redoParagraph more independent of current cursor
5611
5612         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5613         * text.C:
5614         * text2.C: remove unneeded members
5615
5616 2003-07-30  André Pönitz  <poenitz@gmx.net>
5617
5618         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5619
5620         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5621           create a single function...
5622
5623         * paragraph_funcs.C (moveItem): ... here.
5624
5625         * text.C:
5626           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5627
5628 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5629
5630         * LColor.[Ch]: Add comment and greyedout logical colors.
5631
5632 2003-07-30  André Pönitz  <poenitz@gmx.net>
5633
5634         * tabular.C: don't use Assert too heavily. This crashes where it
5635           shouldn't
5636
5637 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5638
5639         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5640         is disabled (bug 1232)
5641
5642 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5643
5644         * factory.C: limited 'arg' scope
5645
5646 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5647
5648         * factory.C: fixed Note submenu issues
5649
5650 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5651
5652         * factory.C: submenu for Note/Comment/Greyedout
5653
5654 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5655
5656         * lyx_main.C (LyX):
5657         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5658
5659 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5660
5661         * LaTeXFeatures.C:
5662         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5663         greyedout. Patch provided by Jürgen Spitzmüller.
5664
5665 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5666
5667         * kbmap.C (read): fix error message when reading bind files
5668
5669 2003-07-29  Angus Leeming  <leeming@lyx.org>
5670
5671         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5672         certainly does not do what it purports to do. I am doing it, and
5673         us, a favour by killing it.
5674
5675 2003-07-28  José Matos  <jamatos@lyx.org>
5676
5677         * buffer.C (readBody, do_writeFile):
5678         * paragraph.C(readParagraph): \end_document replaces \the_end.
5679
5680 2003-07-29  André Pönitz  <poenitz@gmx.net>
5681
5682         * BufferView.[Ch]:
5683         * BufferView_pimpl.[Ch]:
5684         * lyxfunc.C:
5685         * text2.C:
5686         * text3.C:
5687         * textcursor.[Ch]: remove toggleToggle & Co
5688
5689 2003-07-28  José Matos  <jamatos@fep.up.pt>
5690
5691         * buffer.C (readParagraph):
5692         * params_func (readParToken, readParagraph):
5693         * paragraph.C (write): \layout -> \begin_layout.
5694
5695 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5696
5697         * lyxlex_pimpl.C (setFile): clean up slightly.
5698
5699         * bufferparams.h: add compressed var
5700
5701         * buffer_funcs.C (readFile): adjust for LyXLex change
5702         (newFile): ditto + simplify
5703
5704         * buffer.C (writeFile): handle writing of compressed files
5705
5706         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5707         Check if the file is compressed and set a bufferparm if so.
5708
5709         * Makefile.am (lyx_LDADD): remove explicit -lz
5710
5711 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5712
5713         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5714         makeDocBookFile): put the real LyX version in the first line of
5715         the file
5716
5717         * version.h:
5718         * version.C.in: remove lyx_docversion
5719
5720         * tabular.C (write_attribute): add a template-based version to
5721         write enums properly
5722
5723 2003-07-28  André Pönitz  <poenitz@gmx.net>
5724
5725         * lyxtext.h:
5726         * text.C:
5727         * text2.C:
5728         * text3.C: use doubles again for x-coordinates. They are needed.
5729
5730 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5731
5732         * messages.C (getLocaleDir): use lyx_localedir()
5733
5734         * lyxlex_pimpl.C (setFile): compress stuff
5735
5736         * buffer.C (writeFile): add some compression stuff
5737         (do_writeFile): new func, dont call expliti close... will this
5738         breake anything?
5739
5740         * Makefile.am (lyx_LDADD): add -lz
5741
5742 2003-07-28  José Matos  <jamatos@fep.up.pt>
5743
5744         * buffer.C: increment file format.
5745         * paragraph_funcs (readParagraph, readParToken):
5746         * paragraph.C (readParagraph): add \end_layout.
5747
5748 2003-07-27  Angus Leeming  <leeming@lyx.org>
5749
5750         * Makefile.am: remove special casing for configure-time setting of
5751         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5752
5753         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5754         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5755
5756 2003-07-26  André Pönitz  <poenitz@gmx.net>
5757
5758         * paragraph_func.[Ch]:
5759         * paragraph.C (realizeFont): inline it whereever it is used
5760
5761         * rowpainter.C:
5762         * text.C:
5763         * text2.C:
5764         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5765
5766
5767 2003-07-26  André Pönitz  <poenitz@gmx.net>
5768
5769         *       lyxtext.h:
5770         * text.C:
5771         * text2.C: get rid of LyXText::need_break_row
5772
5773 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5774
5775         * toc.[Ch]: put namespace toc inside namespace lyx
5776
5777         * MenuBackend.C (expandToc2): adjust for lyx::toc
5778         (expandToc): ditto
5779
5780         * lyxfunc.C (dispatch): adjust for lyx::find
5781
5782         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5783         lyx::find instead. Reorganize a bit.
5784         (LyXReplace): rename to replace
5785         (LyXFind): rename to find
5786
5787         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5788         (dispatch): ditto
5789
5790 2003-07-26  André Pönitz  <poenitz@gmx.net>
5791
5792         * text.C (setHeightOfRow): restrict scope of temporary variable
5793
5794         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5795           code (never has been used?)
5796
5797 2003-07-27  Asger Alstrup  <alstrup@local>
5798
5799         * text.C (fill): Optimise algorithm to exploit that we can reuse
5800         the LyXFont for many characters.
5801         (setHeightOfRow): Same thing.
5802         (rowBreakPoint): Same thing.
5803
5804 2003-07-26  Asger Alstrup  <alstrup@local>
5805
5806         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5807
5808         * text.C (singleWidth): Spurious font copying in hot-spot
5809         singleWidth avoided. Reorder tests for arabic for efficiency.
5810
5811         * text.C (fill): handle empty paragraphs better.
5812
5813 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5814
5815         * ispell.C:
5816         * encoding.h: add includes
5817
5818         * lyxrc.C: remove reading of bind files
5819
5820         * lyx_main.C (init): setup bindings and menus only if we have a
5821         gui.
5822
5823         * kbmap.C (read): new method. Do the actual reading of bind
5824         files.
5825
5826         * converter.C (dvipdfm_options):
5827         * bufferparams.C:
5828         * lyxrc.C (read):
5829         (output): adapt PAPER_* enums.
5830
5831         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5832
5833         * bufferparams.h: remove paper-related enums from there
5834
5835         * paper.h: New file. A trivial header file to hold paper-related
5836         enums. It should later expand to contain many paper-related
5837         horrors access.
5838
5839         * lyxrc.C: declare extern displayTranslator
5840
5841 2003-07-27  José Matos  <jamatos@fep.up.pt>
5842
5843         * tabular.[Ch] (linuxdoc): add support for tables and figures
5844         (linuxdoc).
5845
5846 2003-07-27  José Matos  <jamatos@fep.up.pt>
5847
5848         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5849         consistency in both functions.
5850         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5851
5852 2003-07-26  Asger Alstrup  <alstrup@local>
5853
5854         * rowpainter.C (paintRows): Change algorithm to work directly on
5855         the insets rather than asking every character in the document
5856         whether its an inset.
5857
5858 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5859
5860         * buffer.C (openFileWrite): factorize some code
5861
5862 2003-07-26  Angus Leeming  <leeming@lyx.org>
5863
5864         * lyx_cb.C:
5865         * lyx_main.[Ch]: replace occurances of system_tempdir with
5866         os::getTmpDir().
5867
5868 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5869
5870         * rename Inset to InsetOld
5871
5872 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5873
5874         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5875         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5876         which I think is a bit clearer. EDIT is gone, since it was
5877         premature optimisation, and broken for mathed anyway.
5878         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5879         with cursor positioning in insets as well (math insets still do not
5880         work, but that's a different story anyway.) It mysteriously
5881         crashes sometimes with undo in the first paragraph, but I'm fairly
5882         confident that this is a compiler bug.
5883
5884 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5885
5886         * paragraph.C (Paragraph): adjust for new clone return type
5887         (operator==): ditto
5888         (copyIntoMinibuffer): ditto
5889
5890 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5891
5892         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5893         by not having a special case, and always doing a full rebreak of
5894         the document after undo.
5895
5896 2003-07-23  Angus Leeming  <leeming@lyx.org>
5897
5898         * factory.C (createInset): InsetExternal::setParams now takes a
5899         Buffer const * arg.
5900
5901 2003-07-23  Angus Leeming  <leeming@lyx.org>
5902
5903         * factory.C (createInset): changed interface to the external and
5904         graphics mailers' string2params functions.
5905
5906 2003-07-23  Angus Leeming  <leeming@lyx.org>
5907
5908         * factory.C (createInset): pass a
5909         Buffer const * parameter to InsetExternalMailer's string2params.
5910
5911 2003-07-22  John Levon  <levon@movementarian.org>
5912
5913         * Thesaurus.h: include the right aiksaurus header
5914
5915 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5916
5917         * MenuBackend.C (expand): check menu shortcuts unconditionally
5918
5919 2003-07-21  Angus Leeming  <leeming@lyx.org>
5920
5921         * factory.C (createInset): pass a
5922         buffer_path parameter to InsetGraphicsMailer's string2params.
5923
5924 2003-07-21  Angus Leeming  <leeming@lyx.org>
5925
5926         * BufferView_pimpl.C (buffer):
5927         * buffer.C (d-tor):
5928         * lyx_main.C (LyX):
5929         * lyxfunc.C (dispatch):
5930         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5931         rather than the grfx shortcut.
5932
5933 2003-07-21  André Pönitz  <poenitz@gmx.net>
5934
5935         * rowpainter.C: remove unused variables
5936
5937         * tabular_funcs.C:
5938         * tabular_funcs.h: move to tabular.C
5939         * Makefile.am: adjust
5940
5941         * tabular.[Ch]: basic optical cleaning
5942
5943         * author.h: pass references, not values
5944
5945 2003-07-18  André Pönitz  <poenitz@gmx.net>
5946
5947         * lyxtext.h:
5948         * metricsinfo.C:
5949         * metricsinfo.h:
5950         * rowpainter.C:
5951         * text.C:
5952         * text2.C:
5953         * text3.C: two-phase drawing for InsetText and InsetTabular
5954         some float -> int changes.
5955
5956 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5957
5958         * lyx_main.C: fix the fix
5959
5960 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5961
5962         * lyx_main.C: fix a crash in batch mode if no files specified
5963         * converter.C: ws
5964
5965 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5966
5967         * format.[Ch] (papersize): moved to BufferParams
5968         * converter.[Ch] (dvips_options): moved to BufferParams
5969         (dvipdfm_options): moved to anon namespace
5970         * bufferparams.[Ch]: added above functions.
5971
5972 2003-07-17  André Pönitz  <poenitz@gmx.net>
5973
5974         * lyxtext.h:
5975         * rowpainter.C:
5976         * text2.C: don't call inset->update() anymore
5977
5978         * metricsinfo.[Ch]: add convenience constructor
5979
5980 2003-07-16  André Pönitz  <poenitz@gmx.net>
5981
5982         * lyxcursor.[Ch]:
5983         * lyxfunc.[Ch]:
5984         * text.C:
5985         * text2.C: replace the LyXCursor::irow_ member with
5986          on-demand computation of the value
5987
5988 2003-07-16  John Levon  <levon@movementarian.org>
5989
5990         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5991
5992 2003-07-15  André Pönitz  <poenitz@gmx.net>
5993
5994         * text.C:
5995         * text2.C: remove no more needed refresh_row
5996
5997 2003-07-15  André Pönitz  <poenitz@gmx.net>
5998
5999         * lyxtext.h:
6000         * rowpainter.C:
6001         * text2.C:
6002         * text3.C: refresh_status tristate -> need_update bool
6003
6004 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6005
6006         * lyxtext.h (init): remove reinit argument (act as if always true)
6007         * text2.C: adjust to that
6008
6009 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6010
6011         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6012         * text3.C: use it to delete selections in some cases
6013         (bugs 441, 673, 702, 954).
6014
6015 2003-07-14  André Pönitz  <poenitz@gmx.net>
6016
6017         * rowpainter.[Ch]: reduce interface
6018
6019 2003-07-14  André Pönitz  <poenitz@gmx.net>
6020
6021         * BufferView_pimpl.C:
6022         * text2.C: adjust after removing unused BufferView * argument
6023
6024 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6025
6026         * text2.C (init): fix a crash fired on resize
6027
6028 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6029
6030         * buffer.[Ch]: added new closing signal
6031         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6032         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6033         BufferView::Pimpl via the closing the signal
6034
6035 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6036
6037         * buffer.[Ch]: take out all bv-related from buffer
6038         * BufferView.C:
6039         * BufferView_pimpl.[Ch]: connect to new signals
6040         * CutAndPaste.C: removed useless asserts
6041         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6042         * lyxvc.[Ch]:
6043         * vc-backend.[Ch]:
6044         * lyxfunc.C: moved view-related funciontality from vc here
6045         * paragraph.C: removed outdated comments
6046         * text.C: ws
6047
6048 2003-07-10  André Pönitz  <poenitz@gmx.net>
6049
6050         * BufferView_pimpl.C:
6051         * tabular.h:
6052         * tabular_funcs.C:
6053         * text.C:
6054         * text2.C: remove InsetText::InnerCache, clean up consequences
6055
6056 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6057
6058         * ispell.C: fix two typos in error messages
6059
6060 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6061
6062         * Extend Note inset to other forms of annotation like Comment
6063         and Greyedout. Right button click gives dialog.
6064
6065         Files modified or added (+):
6066
6067         * insetnote.[Ch]
6068         * FormNote.[Ch]      +
6069         * ControlNote.[Ch]   +
6070         * form_note.fd       +
6071         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6072         frontends/controllers
6073         * xforms/Dialogs.C
6074         * factory.C
6075
6076 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6077
6078         * aspell.C: add missing namespace lyx::support
6079
6080 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6081
6082         * BufferView.[Ch] (newFile): Add
6083         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6084         * LaTeX.[Ch] (message): added this signal and use it
6085         * buffer.[Ch] (busy, message): added these signals and use them
6086         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6087         * converter.C:
6088         * exporter.C:
6089         * format.C:
6090         * importer.C: use buffer signals instead of direct bv calling
6091         * lyx_cb.[Ch] (ShowMessage): removed
6092         * lyx_main.C:
6093         * lyxfunc.C:
6094         * paragraph_funcs.C:
6095         * text2.C: use buffer signals
6096
6097 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * introduce namespace lyx::graphics
6100
6101 2003-07-02  André Pönitz  <poenitz@gmx.net>
6102
6103         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6104
6105 2003-07-01  André Pönitz  <poenitz@gmx.net>
6106
6107         * text.C:
6108         * text2.C:
6109         * text3.C:
6110         * text_funcs.[Ch]:
6111         * textcursor.h:
6112         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6113           text*.C to text_func.C
6114
6115 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * introduce namespace lyx::support
6118
6119 2003-06-30  André Pönitz  <poenitz@gmx.net>
6120
6121         * Chktex.C:
6122         * funcrequest.C:
6123         * lyxtext.h:
6124         * text.C: re-enable --with-included-string
6125
6126 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6127
6128         * textcursor.C: add <config.h>
6129
6130         * text.C (getWord): remove const from word_location arg
6131
6132         * lyxvc.C (getLogFile): fix const type order
6133
6134         * lyxtext.h: remove const from word_location arg, add arg name
6135
6136         * lyxlayout.h: currect type on labeltype.
6137
6138         * importer.C: correct \file
6139
6140         * converter.C (intToFormat): use std:: on ret val, ws changes
6141
6142         * bufferlist.h: correct \file
6143
6144         * buffer.C (makeLinuxDocFile): fix const type order
6145         (makeDocBookFile): ditto
6146         (fillWithBibKeys): use std:: on stdlib args.
6147
6148         * CutAndPaste.C: fix authors.
6149         (availableSelections): use std:: on return vector
6150
6151 2003-06-27  André Pönitz  <poenitz@gmx.net>
6152
6153         * BufferView_pimpl.C:
6154         * bufferview_funcs.C:
6155         * lyxcursor.C:
6156         * lyxcursor.h:
6157         * lyxfunc.C:
6158         * lyxtext.h:
6159         * rowpainter.C:
6160         * text.C:
6161         * text2.C:
6162         * text3.C: remove LyXCursor::row_ member
6163
6164         * lyxtext.h:
6165         * text.C: rename fullRebreak() to partialRebreak() and implement
6166           a fullRebreak() that really bereks fully
6167
6168         * textcursor.h: new struct for cursor-related data
6169
6170 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6171
6172         * lyx_main.C (LyX): get full path of document loaded on the
6173         command line
6174
6175 2003-06-26  André Pönitz  <poenitz@gmx.net>
6176
6177         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6178           remove unused/broken operator>,<,>=.
6179
6180         *       text.C: remove only use of broken operator<= in an Assert().
6181
6182 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6183
6184         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6185         moved errorlist_.clear to showErrorList
6186
6187 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6188
6189         * converter.C (scanLog, runLaTeX):
6190         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6191         move the bv->showErrorList call to the callers
6192         * lyxfunc.C: i.e. here...
6193         * text2.C: and here
6194         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6195         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6196         namespace, the second to...
6197         * buffer_funcs (BufferFormat, parseErrors): added
6198         * errorlist.C (ErrorList(TeXErrors const &)): removed
6199
6200 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6201
6202         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6203
6204 2003-06-24  "Garst R. Reese" <reese@isn.net>
6205
6206         * debug.C: fix typo
6207
6208 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6209
6210         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6211
6212         * version.C.in: change docversion to 1.4
6213
6214 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6215
6216         * buffer.C: fix a bug just introduced
6217
6218 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6219
6220         * buffer.[Ch]: added the parseError signal and use it, removed
6221         sgmlError
6222         * BufferView.[Ch] (addError): moved to ...
6223         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6224         to the Buffer::parseError signal to catch (guess what) parse errors
6225         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6226
6227 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6228
6229         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6230         ability to create a buffer and to return an existing one from
6231         the list. Moved these functions to...
6232         * buffer_funcs.[Ch]: added
6233         * BufferView.[Ch] (loadLyXFile): added
6234         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6235         job removed from bufferlist::loadLyXFile.
6236         * buffer.C (setReadOnly): make it work without view
6237         (i.e added an if (users))
6238
6239 2003-06-19  Angus Leeming  <leeming@lyx.org>
6240
6241         * lfuns.h:
6242         * LyXAction.C (init):
6243         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6244         with LFUN_DIALOG_SHOW <name> <data>.
6245
6246 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6247
6248         * CutAndPaste.C (availableSelections): small compilation fix for
6249         ancient (gcc 2.9x) compilers
6250
6251 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6252
6253         * text3.C (cursorNext): add tmp var
6254
6255         * text2.C (updateCounters): for function calling out of for clause
6256         (replaceSelectionWithString): ditto
6257         (insertStringAsParagraphs): ditto
6258         (getColumnNearX): add tmp var
6259         (setCursorFromCoordinates): add tmp var
6260         (cursorDownParagraph): add tmp var
6261         (deleteEmptyParagraphMechanism): add tmp var
6262
6263         * text.C (insertChar): add tmp var
6264
6265         * rowpainter.C (paintDepthBar): add tmp var
6266
6267         * CutAndPaste.C (availableSelections): potentially check all
6268         paragraphs in a cut to fill the shown strings.
6269
6270 2003-06-18  André Pönitz  <poenitz@gmx.net>
6271
6272         * kbmap.[Ch]: use vector<> instead of list<>
6273
6274 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6275
6276         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6277         pasteSelection with index
6278
6279         * text2.C (pasteSelection): modify, call pasteSelection with index
6280
6281         * paragraph.C (asString): reimplement version with no interval to
6282         call the one with interval.
6283
6284         * lyxtext.h: add index arg to pasteSelection
6285
6286         * MenuBackend.C (MenuItem): handle PasteRecent
6287         (Menu::read::Menutags): add md_pasterecent
6288         (read): handle it
6289         (expandPasteRecent): new function
6290         (expand): use it
6291
6292         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6293
6294         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6295         the limited stack
6296         (availableSelections): new function
6297
6298 2003-06-17  Angus Leeming  <leeming@lyx.org>
6299
6300         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6301
6302 2003-06-17  Angus Leeming  <leeming@lyx.org>
6303
6304         * lfuns.h:
6305         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6306
6307         * lyxfunc.C (dispatch): invoke it.
6308
6309 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6310
6311         * iterators.C (operator++, ParPosition): reintroduce some
6312         const_cast for the benefit of older compilers.
6313
6314 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6315
6316         * text3.C (dispatch): do not modify clipboard when doing
6317         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6318         LFUN_DELETE_SKIP on a selection selection
6319
6320 2003-06-16  André Pönitz  <poenitz@gmx.net>
6321
6322         * BufferView.C:
6323         * buffer.C:
6324         * buffer.h:
6325         * paragraph.C:
6326         * tabular.[Ch]: IU of clone() and getLabelList();
6327
6328 2003-06-13  André Pönitz  <poenitz@gmx.net>
6329
6330         * tabular.h: compactification
6331
6332 2003-06-12  André Pönitz  <poenitz@gmx.net>
6333
6334         * tabular.C:
6335         * tabular.h:
6336         * tabular_funcs.h: some renaming plus whitespace
6337
6338 2003-06-12  André Pönitz  <poenitz@gmx.net>
6339
6340         * BufferView.C:
6341         * BufferView_pimpl.C:
6342         * CutAndPaste.C:
6343         * buffer.C:
6344         * iterators.[Ch]:
6345         * lyxfunc.C:
6346         * text.C:
6347         * toc.C: Return a Paragraph & for ParIterator::operator*()
6348
6349 2003-06-11  John Levon  <levon@movementarian.org>
6350
6351         * lyx_main.C:
6352         * ToolbarBackend.h:
6353         * ToolbarBackend.C: add "Toolbars" section and
6354         put the flags there
6355
6356 2003-06-10  Angus Leeming  <leeming@lyx.org>
6357
6358         * lfuns.h:
6359         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6360
6361         * lyxfunc.C (dispatch): invoke it.
6362
6363 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6364
6365         * main.C: protect <ios> with HAVE_IOS
6366         (main): protect sync_with_stdio with HAVE_IOS
6367
6368 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6369
6370         * text2.C (cutSelection): adjust
6371         (pasteSelection): adjust
6372
6373         * messages.C: handle get of empty string
6374
6375         * main.C (main): use sync_with_stdio(false)
6376
6377         * lyxfunc.C (dispatch): adjust
6378
6379         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6380         (WriteAs): remove unneeded BufferView arg.
6381
6382         * bufferparams.h: use correct types on papersize, papersize2 and
6383         paperpackage.
6384
6385         * bufferparams.C (readToken): adjust for type
6386         (writeLaTeX): add missing cases to switch.
6387
6388         * bufferlist.C (quitWriteBuffer): adjust
6389         (close): adjust
6390
6391         * buffer.C (asciiParagraph): remove some commented code.
6392
6393         * CutAndPaste.C: remove current_view extern variable.
6394         (cutSelection): add BufferParams arg.
6395         (eraseSelection): add BufferParams arg.
6396         (pasteSelection): add Buffer const & arg
6397
6398 2003-06-07  John Levon  <levon@movementarian.org>
6399
6400         * buffer.C:
6401         * paragraph_funcs.C:
6402         * paragraph_pimpl.C:
6403         * text.C:
6404         * text2.C:
6405         * paragraph.h:
6406         * paragraph.C: allow InsetERT to freely space lines,
6407         and some consolidation of code
6408
6409 2003-06-06  José Matos  <jamatos@fep.up.pt>
6410
6411         * buffer.C (makeDocBookFile): fix bug #821
6412
6413 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6414
6415         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6416
6417 2003-06-04  Angus Leeming  <leeming@lyx.org>
6418
6419         * buffer.C: bump format to 224.
6420
6421 2003-06-05  André Pönitz  <poenitz@gmx.net>
6422
6423         * text2.C (redoParagraphs): remove two const_cast<>
6424
6425 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6426
6427         * ParagraphList.h: remove last remnants of NO_STD_LIST
6428
6429 2003-06-03  Angus Leeming  <leeming@lyx.org>
6430
6431         * factory.C (createInset): small change to the way InsetExternal's params
6432         are set.
6433
6434 2003-06-04  André Pönitz  <poenitz@gmx.net>
6435
6436         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6437
6438         * paragraph_pimpl.h:
6439         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6440
6441         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6442
6443         * undo_funcs.C: make some simple cases of undo work again
6444
6445 2003-06-03  John Levon  <levon@movementarian.org>
6446
6447         * ispell.C: HPUX doesn't have sys/select.h
6448         (from Albert Chin)
6449
6450 2003-06-03  John Levon  <levon@movementarian.org>
6451
6452         * CutAndPaste.C: update tabular and include inset
6453         buffer references
6454
6455         * buffer.h:
6456         * paragraph.h:
6457         * paragraph.C: remove owningBuffer(), don't pass Buffer
6458         to clone()
6459
6460         * factory.C: insetGraphicsParams changed
6461
6462 2003-06-02  John Levon  <levon@movementarian.org>
6463
6464         * LyXAction.C:
6465         * factory.C:
6466         * lfuns.h:
6467         * lyxfunc.C:
6468         * text3.C: remove insetparent
6469
6470 2003-06-02  John Levon  <levon@movementarian.org>
6471
6472         * buffer.h:
6473         * buffer.C: fix inset_iterator.end(), move out of line
6474         (bug 1149)
6475
6476 2003-06-01  John Levon  <levon@movementarian.org>
6477
6478         * text3.C: use a proper cut/paste when doing inset
6479         insert (from Jürgen Spitzmüller)
6480
6481 2003-06-01  John Levon  <levon@movementarian.org>
6482
6483         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6484
6485 2003-05-30  André Pönitz  <poenitz@gmx.net>
6486
6487         * rowpainter.C: unify second drawing phase
6488
6489 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6490
6491         * trans_mgr.C: remove one case of current_view
6492
6493         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6494
6495         * paragraph_funcs.h: remove paragraph.h include
6496
6497         * paragraph.h: delete NO_STD_LIST stuff
6498
6499         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6500
6501         * buffer.h: remove paragraph.h include
6502
6503         * ParagraphList.C: delete file
6504
6505         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6506
6507         * toc.C (getTocList): adjust
6508
6509         * paragraph_pimpl.C (validate): adjust
6510
6511         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6512
6513         * paragraph.C (Paragraph): adjust
6514         (getPositionOfInset): use const_iterator, adjust
6515         (bibitem): use const_iterator, adjust
6516         (setInsetOwner): adjust
6517
6518         * iterators.C (operator++): adjust
6519
6520         * InsetList.[Ch]: Replace selfmade iterator with standard
6521         vector::iterator also introduce const_iterator. Remove getPos,
6522         getInset and setInset from InsetTable. Adjust accordingly.
6523
6524         * BufferView.C (lockInset): adjust
6525         (ChangeInsets): adjust
6526
6527         * tabular.[Ch]: delete commented same_id functions
6528
6529 2003-05-28  John Levon  <levon@movementarian.org>
6530
6531         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6532
6533 2003-05-28  André Pönitz  <poenitz@gmx.net>
6534
6535         * metricsinfo.[Ch]: remove 'fullredraw' member
6536
6537 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6538
6539         * lyxtextclass.C (operator): remove caching.
6540
6541 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6542
6543         * text3.C: adjust
6544
6545         * text2.C (cursorBottom): adjust
6546         (setCounter): use ParagraphList::find, adjust
6547
6548         * text.C (workWidth): use ParagraphList::find, adjust
6549
6550         * lyxcursor.C (LyXCursor): adjust
6551
6552         * buffer.C (inset_iterator): adjust
6553
6554         * ParagraphList.h: make iterator(value_type) private, make
6555         ParagraphList a friend of iterator.
6556
6557         * ParagraphList.C (find): new function
6558
6559         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6560
6561 2003-05-27  André Pönitz  <poenitz@gmx.net>
6562
6563         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6564
6565 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6566
6567         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6568
6569 2003-05-26  John Levon  <levon@movementarian.org>
6570
6571         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6572
6573 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6574
6575         * remove same_id from function signatures, adjust.
6576
6577 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6578
6579         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6580
6581         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6582
6583         * paragraph.C (Paragraph): get rid of same_ids parameter
6584
6585         * ParagraphList.C (insert): adjust
6586         (push_back): adjust
6587
6588 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6589
6590         * paragraph_funcs.C (breakParagraph): adjust
6591         (breakParagraphConservative): adjust
6592
6593         * buffer.C (readParagraph): adjust
6594
6595         * ParagraphList.C (insert): take a reference instead of a pointer
6596         (insert): adjust
6597
6598         * paragraph.[Ch] (id): new function
6599
6600         * bufferlist.C (newFile): adjust
6601
6602         * ParagraphList.C (ParagraphList): adjust
6603         (assign): adjust
6604         (push_back): take a reference instead of a pointer.
6605
6606         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6607
6608         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6609         instead.
6610
6611         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6612         set else use old code.
6613
6614         * ParagraphList.C: remove all NO_NEXT code and only compile this
6615         code of NO_STD_LIST is set.
6616
6617 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6618
6619         * BufferView_pimpl.C:
6620         * TextCache.C:
6621         * TextCache.h:
6622         * bufferlist.C:
6623         * errorlist.h:
6624         * format.C:
6625         * format.h:
6626         * graph.C:
6627         * lyxfunc.C:
6628         * lyxrc.C:
6629         * graphics/GraphicsConverter.C:
6630         * graphics/PreviewLoader.C: header adjustment
6631
6632 2003-05-23  Angus Leeming  <leeming@lyx.org>
6633
6634         * LaTeXFeatures.[Ch] (useBabel): new method.
6635         * bufferparams.C (writeLaTeX): use it.
6636
6637 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6638
6639         * ParagraphList.h (set): remove unused function.
6640
6641 2003-05-23  André Pönitz  <poenitz@gmx.net>
6642
6643         * BufferView.C:
6644         * BufferView_pimpl.C:
6645         * buffer.C:
6646         * buffer.h:
6647         * lyxfunc.C:
6648         * undo_funcs.C: setUndo reworked
6649
6650         * iterators.[Ch]: add access to topmost ParagraphList
6651
6652         * lyxtext.[Ch] (workWidth): add a const
6653
6654 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6655
6656         * texrow.[Ch] (increasePos): remove function
6657         * exporter.C (export): removed unused var and outdated comment
6658
6659 2003-05-23  Angus Leeming  <leeming@lyx.org>
6660
6661         * latexrunparams.h: rename fragile as moving_arg.
6662         * paragraph.C (simpleTeXOnePar): ditto.
6663         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6664
6665 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6666
6667         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6668         (createUndo): ditto
6669         (textUndoOrRedo): comment out a currently unused var.
6670
6671         * paragraph.h (NO_NEXT): enable NO_NEXT
6672
6673         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6674
6675         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6676
6677         * exporter.C (Export): adjust for removeAutoInsets removal.
6678
6679         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6680
6681         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6682
6683         * BufferView.[Ch] (removeAutoInsets): delete function
6684
6685 2003-05-22  Angus Leeming  <leeming@lyx.org>
6686
6687         * latexrunparams.h: add a free_spacing variable.
6688
6689         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6690         to pass moving_arg, as the data is stored in runparams.fragile.
6691
6692         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6693         to Inset::latexOptional or to simpleTeXOnePar.
6694
6695         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6696         free_spacing arg to Inset::latexOptional.
6697
6698         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6699         free_spacing arg.
6700
6701 2003-05-22  Angus Leeming  <leeming@lyx.org>
6702
6703         * latexrunparams.h: add fragile and use_babel variables.
6704
6705         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6706         * buffer.C (makeLaTeXFile): store this returned value in
6707         runparams.use_babel, thus passing it to the inset::latex methods.
6708
6709         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6710         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6711
6712         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6713         longer has a fragile arg, as it is stored in runparams.fragile.
6714
6715         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6716         moving_arg parameter as the data is stored in runparams.fragile.
6717
6718         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6719         a fragile parameter as the data is stored in runparams.fragile.
6720
6721 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6722
6723         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6724
6725 2003-05-22  Angus Leeming  <leeming@lyx.org>
6726
6727         * latexrunparams.h: add a 'bool nice' which defaults to false.
6728
6729         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6730         now encapsulated within runparams.
6731
6732         * bufferlist.C (updateIncludedTeXfiles):
6733         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6734
6735 2003-05-22  Angus Leeming  <leeming@lyx.org>
6736
6737         * latexrunparams.h: new file containing struct LatexRunParams.
6738         * Makefile.am: add new file.
6739
6740         * LaTeX.[Ch] (c-tor, run):
6741         * buffer.[Ch] (makeLaTeXFile):
6742         * bufferlist.[Ch] (updateIncludedTeXfiles):
6743         * converter.C (convert, scanLog):
6744         * converter.[Ch] (runLaTeX):
6745         * exporter.C (Export):
6746         * paragraph.[Ch] (simpleTeXOnePar):
6747         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6748         * paragraph_funcs.[Ch] (latexParagraphs):
6749         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6750         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6751         pass around a LatexRunParams parameter.
6752
6753 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6754
6755         * paragraph.[Ch]: remove unused constructor
6756
6757         * ParagraphList.C (erase): new function, taking two iterators
6758
6759 2003-05-22  André Pönitz  <poenitz@gmx.net>
6760
6761         * undo_funcs.C: remove duplicated code
6762
6763         * iterator.[Ch]: operator=
6764
6765 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6766
6767         * tabular.C (SetMultiColumn): ws changes
6768
6769         * rowpainter.C (paintFirst): get rid of a ->previous
6770
6771         * lyx_cb.C (getPossibleLabel): parlist simplification
6772
6773         * BufferView.C (ChangeInsets): simplify slightly.
6774
6775 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6776
6777         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6778         * lfuns.h: new LFUN_SPACE
6779         * lyxfunc.C: protected space has a new lfun
6780         * paragraph_funcs.C: read new space insets
6781         * text3.C:
6782         * factory.C: handle new space insets
6783
6784 2003-05-22  André Pönitz  <poenitz@gmx.net>
6785
6786         * BufferView.C:
6787         * BufferView_pimpl.C:
6788         * buffer.[Ch]:
6789         * lyxfunc.C:
6790         * undo_funcs.C: return a ParIterator from getParFromID.
6791
6792         * iterators.[Ch]: add two const's
6793
6794 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6795
6796         * toc.C (getTocList): adjust
6797
6798         * iterators.[Ch]: rework for parlist
6799
6800         * buffer.C (par_iterator_begin): adjust
6801         (par_iterator_end): adjust
6802
6803         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6804
6805         * BufferView.C (removeAutoInsets): adjust
6806         (ChangeInsets): adjust
6807
6808 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6809
6810         * text.C (top_y): fix bug 1110
6811
6812 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6813
6814         * errorlist.[Ch]: added
6815         * buffer.C:
6816         * BufferView.[Ch]:
6817         * BufferView_pimpl.C:
6818         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6819         instead
6820
6821 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6822
6823         * Makefile.am: ensure that lyx is relinked upon changes to the
6824         various "convenience" libs.
6825
6826 2003-05-20  Angus Leeming  <leeming@lyx.org>
6827
6828         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6829         files are compiled in alphabetical order again.
6830
6831         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6832
6833 2003-05-19  Angus Leeming  <leeming@lyx.org>
6834
6835         * gettext.[Ch]: remove "char const * _(char const *)".
6836
6837 2003-05-19  André Pönitz  <poenitz@gmx.net>
6838
6839         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6840
6841         * Makefile.am:
6842         * BufferView.C:
6843         * DepTable.h:
6844         * LaTeXFeatures.C:
6845         * buffer.C:
6846         * lyxfont.C:
6847         * lyxlex.h:
6848         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6849
6850 2003-05-19  André Pönitz  <poenitz@gmx.net>
6851
6852         * buffer.C:
6853         * lyxlayout.[Ch]:
6854         * lyxtextclass.[Ch]:
6855         * paragraph.C:
6856         * paragraph_funcs.[Ch]:
6857         * text2.C:
6858         * text3.C: more insetenv work
6859
6860 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6861
6862         * ParagraphParameters.C (params2string): small bug fixed
6863
6864 2003-05-16  André Pönitz  <poenitz@gmx.net>
6865
6866         * debug.C:
6867         * bufferview_funcs.C: patch from Kornel Benko to prevent
6868           crash when _(...) is called twice in a statement
6869
6870 2003-05-16  André Pönitz  <poenitz@gmx.net>
6871
6872         * BufferView.C:
6873         * lyxfunc.C:
6874         * text.C:
6875         * text2.C:
6876         * text3.C:
6877         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6878
6879 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6880
6881         * lyx_main.C (init): remove spurious static_cast
6882
6883 2003-05-14  André Pönitz  <poenitz@gmx.net>
6884
6885         * BufferView.C: fix format string
6886
6887 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6888
6889         * BufferView.[Ch] (insertErrors): removed
6890         * BufferView.[Ch] (showErrorList): added
6891         * buffer.C (runChkTeX):
6892         * converter.C (scanLog): call showErrorList instead of inserterrors
6893
6894 2003-05-13  André Pönitz  <poenitz@gmx.net>
6895
6896         * BufferView_pimpl.C:
6897         * buffer.C:
6898         * bufferview_func.C:
6899         * MenuBackend.C:
6900         * lyxfunc.C:
6901         * lyxrc.C:
6902         * tex-accent.C:
6903         * text3.C:
6904         * toc.C:
6905         * tabular_funcs.h: tostr() from its own header
6906
6907         * ParagraphParameters.C:
6908         * ToolbarBackend.C:
6909         * bufferparams.C:
6910         * format.C:
6911         * lyxlex_pimpl.C:
6912         * text3.C: STRCONV()
6913
6914 2003-05-12  André Pönitz  <poenitz@gmx.net>
6915
6916         * BufferView.C:
6917         * BufferView_pimpl.C:
6918         * CutAndPaste.C:
6919         * LaTeX.C:
6920         * LaTeXFeatures.C:
6921         * ParagraphParameters.C:
6922         * buffer.C:
6923         * bufferlist.C:
6924         * bufferparams.C:
6925         * bufferview_funcs.C:
6926         * converter.C:
6927         * counters.C:
6928         * debug.C:
6929         * exporter.C:
6930         * format.C:
6931         * importer.C:
6932         * lyx_cb.C:
6933         * lyx_main.C:
6934         * lyxfont.C:
6935         * lyxfunc.C:
6936         * lyxvc.C:
6937         * paragraph.C:
6938         * paragraph_funcs.C:
6939         * tabular.C:
6940         * tabular_funcs.C:
6941         * text2.C:
6942         * text3.C:  boost::format -> bformat  all over the place
6943
6944
6945 2003-05-09  André Pönitz  <poenitz@gmx.net>
6946
6947         * LColor.[Ch]: Pimpl the #include <map> away
6948
6949 2003-05-09  John Levon  <levon@movementarian.org>
6950
6951         * bufferlist.C: never remove emergency saves
6952
6953 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6954
6955         * Makefile.am: better lib building
6956
6957 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6958
6959         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6960         instead.
6961         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6962         (simpleTeXSpecialChars): adjust
6963         (simpleTeXSpecialChars): adjust
6964         * paragraph.C (simpleTeXOnePar): adjust
6965         * buffer.C (makeLaTeXFile): adjust
6966
6967         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6968
6969         * text2.C (changeDepth): parlist cleanup
6970         (getColumnNearX): ditto
6971
6972         * rowpainter.C (getLabelFont): parlist cleanup
6973
6974         * bufferlist.C (newFile): parlist cleanup
6975
6976         * CutAndPaste.C (eraseSelection): parlist cleanup
6977
6978         * BufferView_pimpl.C (trackChanges): parlist cleanup
6979         (dispatch): ditto
6980
6981         * BufferView.C (lockInset): parlist cleanup.
6982         (ChangeInsets): ditto
6983
6984 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6985
6986         * CutAndPaste.h: Update file header.
6987
6988         * CutAndPaste.C: Update file header.
6989         Store the parts cut out of the Document in a limited_stack.
6990         (copySelection): adjust
6991         (pasteSelection): new function, takes the index in the limited stack.
6992         (nrOfParagraphs): adjust
6993         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6994         simplify error inset insertion.
6995         (checkPastePossible): adjust
6996
6997 2003-05-06  John Levon  <levon@movementarian.org>
6998
6999         * text2.C: don't cast wrap inset to float
7000
7001 2003-05-05  André Pönitz  <poenitz@gmx.net>
7002
7003         * iterator.C:
7004         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7005
7006         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7007           few naked Paragraph *.
7008
7009 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7010
7011         * bufferparams.C: Output warning if a document with missing
7012         TeX document class is loaded
7013         * exporter.C: Disable TeX exports if the document class is missing
7014         * lyxtextclass.C:
7015         * lyxtextclass.h:
7016         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7017         isTeXClassAvailable()
7018
7019 2003-05-03  John Levon  <levon@movementarian.org>
7020
7021         * BufferView.h:
7022         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7023         explicit cursor show/hide
7024
7025         * BufferView_pimpl.h:
7026         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7027         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7028
7029         * lyxfunc.C: hide cursor before dispatching.
7030
7031         * lyx_cb.C:
7032         * lyxfind.C:
7033         * text.C:
7034         * text3.C: remove explicit cursor hides
7035
7036 2003-05-02  André Pönitz  <poenitz@gmx.net>
7037
7038         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7039
7040         * undo_funcs.C:
7041         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7042           linked lists
7043
7044         * text2.C: tiny whitespace
7045
7046 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7047
7048         * undo_funcs.C: almost only ws changes.
7049
7050         * ParagraphList.C (splice): just return if pl is empty.
7051
7052 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7053
7054         * ParagraphList.C (splice): new function.
7055
7056         * CutAndPaste.C (pasteSelection): use it
7057
7058 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7059
7060         * CutAndPaste.C (pasteSelection): remove the last next and
7061         previous from this file.
7062
7063 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7064
7065         * CutAndPaste.C (pasteSelection): more clean up, user proper
7066         ParagraphList functions for pasteing.
7067
7068         * ParagraphList.C (insert): new function, three arg insert
7069
7070 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7071
7072         * ParagraphList.C (insert): new function, three arg insert
7073
7074         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7075         not on paragraphs.
7076
7077 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7078
7079         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7080
7081 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7082
7083         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7084
7085 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7086
7087         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7088         (copySelection): clean up a bit.
7089         (pasteSelection): use make_pair
7090
7091         * ParagraphList.C (ParagraphList): implement copy constructor
7092         (operator=): implement, base on copy constructor.
7093         (assign): new func
7094
7095         * paragraph.C (erase): return a bool
7096
7097         * paragraph_pimpl.C (erasePos): remove function, move contents...
7098         (erase): ... here. Return a bool.
7099         (erase): call erase instead of erasePos.
7100
7101 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7102
7103         * ParagraphList.h: define PitPosPair
7104         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7105         ParagraphList, fix a bug on pasting multiple pars
7106         * text2.C: change interface to C&P
7107
7108 2003-04-30  André Pönitz  <poenitz@gmx.net>
7109
7110         * undo_func.C: revert part of yesterday's patch 2
7111
7112 2003-04-30  John Levon  <levon@movementarian.org>
7113
7114         * LColor.C: s/tabular/table/
7115
7116 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * text3.C (dispatch): do not convert iterator -> pointer
7119         * undo_funcs.C (setCursorParUndo): ditto
7120         * text_funcs.C (transposeChars): ditto
7121
7122         * text2.C (setLayout): ws changes only
7123
7124         * text.C (breakParagraph): do not convert iterator -> pointer
7125         (insertChar): ditto
7126         (acceptChange): ditto
7127         (rejectChange): ditto
7128         (changeCase): ditto
7129         (Delete): ditto
7130         (backspace): ditto
7131
7132         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7133         pointer
7134
7135 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7136
7137         * text3.C (gotoInset): YABG (yet another bad getChar)
7138
7139 2003-04-29  André Pönitz  <poenitz@gmx.net>
7140
7141         * paragraph.h: make operator= private unimplemented as long as
7142           it is unusable
7143
7144         * ParagraphList.C: whitespace
7145
7146         * paragraph.[Ch]:
7147         * paragraph_pimpl.[Ch]:
7148         * paragraph_funcs.C:
7149         * CutAndPaste.C:
7150         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7151
7152         * text2.C:
7153           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7154
7155 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7156
7157         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7158         * paragraph.[Ch] (erase):
7159         * paragraph_pimpl.[Ch] (erase): change return type and value
7160         * text2.C (cutSelection): some rework
7161
7162 2003-04-28  John Levon  <levon@movementarian.org>
7163
7164         * bufferlist.C: changes for unsaved changes dialog
7165
7166 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * bufferlist.C (newFile): set language (messages_) for new
7169         documents also.
7170
7171         * buffer.C (readFile): ws changes only.
7172
7173 2003-04-28  André Pönitz  <poenitz@gmx.net>
7174
7175         * undo_funcs.C:
7176         * lyxfunc.C:
7177         * buffer.[Ch]:
7178         * BufferView_pimpl.C:
7179         * BufferView.C: getParFromID related ParagraphList::iterator changes
7180
7181 2003-04-28  André Pönitz  <poenitz@gmx.net>
7182
7183         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7184           Changes
7185
7186 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7187
7188         * messages.C: remove one more localedir class variable.
7189
7190 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * messages.C (getLocaleDir): singleton generation function
7193         (Pimpl): use it.
7194         (Messages): add a default constructor.
7195
7196         * main.C (main): do not setup localedir here, do not call
7197         gettext_init.
7198
7199         * gettext.C (_): use it.
7200         (gettext_init): delete funciton
7201
7202 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7203
7204         * gettext.C (getLyXMessages): new singleton generating function.
7205
7206         * buffer.C (updateDocLang): adjust
7207
7208         * Makefile.am (messages.o): add target
7209         (main.o): remove target
7210
7211 2003-04-27  John Levon  <levon@movementarian.org>
7212
7213         * bufferlist.C:
7214         * lyx_cb.C:
7215         * lyxfunc.C:
7216         * lyxvc.C: specify cancel button in Alert::prompt
7217
7218 2003-04-26  John Levon  <levon@movementarian.org>
7219
7220         * text3.C:
7221         * lyxfunc.C:
7222         * lfuns.h:
7223         * LyXAction.C: add LFUN_INSET_SETTINGS
7224
7225         * lyxfunc.C: don't enable tabular-feature when there's
7226         just any locking inset
7227
7228 2003-04-26  John Levon  <levon@movementarian.org>
7229
7230         * bufferlist.C: re-add Cancel to buffer close question
7231
7232         * lyxfunc.C: fix import UI a bit
7233
7234 2003-04-25  John Levon  <levon@movementarian.org>
7235
7236         * gettext.C: remove the broken asserts for now
7237
7238 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7239
7240         * messages.C: make case where setlocale cannot comply work better.
7241
7242         * buffer.C (updateDocLang): new function
7243         (changeLanguage): use it
7244         (readFile): use it
7245
7246         * text2.C (setCounter): use B_ a bit.
7247
7248         * lyxlayout.C (Read): be sure to trim the label strings.
7249
7250         * messages.C (Messages): fix typo in comment
7251
7252         * buffer.C (readFile): set message_ after file is loaded.
7253         (makeDocBookFile): remove double return
7254         (changeLanguage): reset message_ upon language change.
7255         (B_): new func, use this to get translated buffer strings.
7256
7257         * main.C: add myself and Jean Marc as authors.
7258
7259 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7260
7261         * messages.[hC]: pimplify Messages, and three different pimpls to be
7262         used in different circumstances.
7263
7264         * gettext.[Ch]: change for use with new message code.
7265
7266 2003-04-24 André Pönitz <poenitz@gmx.net>
7267
7268         * factory.C: support for eqref
7269
7270 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7271
7272         * messages.[Ch]: add missing char
7273
7274         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7275
7276         * messages.[Ch]: New files
7277
7278 2003-04-18  John Levon  <levon@movementarian.org>
7279
7280         * BufferView.h:
7281         * BufferView.C:
7282         * BufferView_pimpl.C:
7283         * lfuns.h:
7284         * LyXAction.C:
7285         * lyxtext.h:
7286         * text2.C: remove layout-copy/paste (bug 778)
7287
7288 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7289
7290         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7291
7292 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7293
7294         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7295         if they succeed. Act accordingly.
7296
7297 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7298
7299         * text2.C (setCharFont): adjust
7300         (setCounter): adjust
7301         (insertStringAsLines): adjust
7302
7303         * text.C (leftMargin): adjust
7304         (setHeightOfRow): adjust
7305
7306         * rowpainter.C (paintFirst): adjust
7307         (paintLast): adjust
7308
7309         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7310         (outerHook): ditto
7311         (isFirstInSequence): ditto
7312         (getEndLabel): ditto
7313         (outerFont): adjust
7314
7315         * paragraph.C (getParLanguage): comment out some hard stuff.
7316
7317         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7318         (sgmlError): ditto
7319         (simpleDocBookOnePar): ditto
7320         (makeDocBookFile): use ParagraphList::iterator
7321
7322         * CutAndPaste.C (pasteSelection): adjust
7323
7324 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7325
7326         * text2.C (getFont): adjust
7327         (getLayoutFont): adjust
7328         (getLabelFont): adjust
7329
7330         * paragraph_funcs.C (TeXOnePar): adjust
7331
7332         * buffer.C (simpleLinuxDocOnePar): adjust
7333         (simpleDocBookOnePar): adjust
7334
7335         * CutAndPaste.C (pasteSelection): adjust
7336
7337         * BufferView.C (getEncoding): adjust
7338
7339         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7340
7341 2003-04-16  John Levon  <levon@movementarian.org>
7342
7343         * lyxfind.C: use parlist stuff for search/changes
7344
7345 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7346
7347         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7348
7349         * text2.C (deleteEmptyParagraphMechanism): adjust
7350
7351         * text2.[Ch] (ownerParagraph): delete func (both of them
7352
7353 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7354
7355         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7356
7357 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7358
7359         * ParagraphList.C: prepare for NO_NEXT
7360
7361 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7362
7363         * text2.C (getFont): adjust
7364         (getLayoutFont): adjust
7365         (getLabelFont): adjust
7366
7367         * paragraph.C (getFont): adjust
7368         (getLabelFont): adjust
7369         (getLayoutFont): adjust
7370
7371         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7372
7373 2003-04-15  John Levon  <levon@movementarian.org>
7374
7375         From Angus Leeming
7376
7377         * lyx_main.C: handle Include in .ui files
7378
7379 2003-04-15  John Levon  <levon@movementarian.org>
7380
7381         * MenuBackend.C: make the doc files length shorter
7382
7383         * ToolbarBackend.h:
7384         * ToolbarBackend.C: handle toolbar placement flags,
7385         Minibuffer
7386
7387 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7388
7389         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7390         adjust
7391
7392         * paragraph_funcs.C (TeXOnePar): adjust
7393
7394         * paragraph.C (getLabelFont): add outerfont arg, adjust
7395         (getLayoutFont): ditto
7396         (simpleTeXOnePar): adjust
7397
7398         * paragraph_pimpl.C (realizeFont): delete func
7399
7400 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7401
7402         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7403         row argument, constify cur argument.
7404
7405 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7406
7407         * text2.C (getFont): adjust
7408         (getLayoutFont): adjust
7409         (getLabelFont): adjust
7410
7411         * paragraph_funcs.C (TeXOnePar): adjust
7412         (outerFont): new func...
7413         (realizeFont): ...moved out from here, changed this to facilitate
7414         transition
7415
7416         * paragraph.C (getFont): take outerfont as arg, adjust
7417         (simpleTeXOnePar): add outerfont arg, adjust
7418
7419         * buffer.C (simpleLinuxDocOnePar): adjust
7420         (simpleDocBookOnePar): adjust
7421
7422         * CutAndPaste.C (pasteSelection): adjust
7423
7424         * BufferView.C (getEncoding): adjust
7425
7426 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7427
7428         * text2.C (setCharFont): adjust
7429         (setCounter): adjust
7430
7431         * text.C (leftMargin): adjust
7432         (setHeightOfRow): adjust
7433
7434         * rowpainter.C (paintFirst): adjust
7435         (paintLast): adjust
7436
7437         * paragraph_pimpl.C (realizeFont): adjust
7438
7439         * paragraph.C (isFirstInSequence): move from here...
7440         * paragraph_funcs.C (isFirstInSequence): ...to here
7441
7442         * paragraph.C (outerHook): move from here...
7443         * paragraph_funcs.C (outerHook): ...to here
7444
7445         * paragraph.C (depthHook): move from here...
7446         * paragraph_funcs.C (depthHook): ...to here
7447
7448         * paragraph.C (getEndLabel): move from here...
7449         * paragraph_funcs.C (getEndLabel): ...to here
7450
7451         * text2.C (realizeFont): move from here...
7452         * paragraph_funcs.C (realizeFont): ...to here
7453
7454 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7455
7456         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7457
7458 2003-04-14  Angus Leeming  <leeming@lyx.org>
7459
7460         * LColor.[Ch]: scrap LColor mathcursor.
7461
7462 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7463
7464         * lyxlex.[Ch] (text): delete function
7465         * trans.C (Load): adjust
7466         * paragraph_funcs.C (readParToken): adjust
7467
7468 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7469
7470         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7471         vector<char> instead of a char[].
7472
7473         * lyxlex_pimpl.C (getString): adjust
7474         (next): adjust
7475         (lex): use getString
7476         (eatLine): adjust
7477         (nextToken): adjust
7478
7479         * lyxlex.C (text): use pimpl_->getString()
7480         (getBool): ditto
7481         (findToken): ditto
7482
7483 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7484
7485         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7486         (makeFontEntriesLayoutSpecific): temp var for par.size()
7487         (setLayout): temp var for ownerParagraphs().end()
7488         (fullRebreak): temp var for rows().end()
7489         (selectionAsString): temp var for boost::next(startpit), realize
7490         that the while really is a regular for loop.
7491         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7492         setCursor in one place.
7493         (setParagraph): temp vr for ownerParagraphs().end()
7494         (updateCounters): make the while loop a for loop
7495         (cutSelection): temp var for ownerParagraphs().end()
7496         (updateInset): make the do {} while() a regular for loop
7497         (getCursorX): use temp vars
7498         (setCurrentFont): use temp vars
7499         (getColumnNearX): use temp vars
7500
7501 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7502
7503         * text.C (transformChar): use temp var for getChar
7504         (computeBidiTables): use temp var for row->par()
7505         (fill): move temp vars for row->par() and pit->layout() earlier in
7506         the function.
7507         (labelFill): use temp var for row->par()
7508         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7509         asc and desc, realize that pit never changes and that firstpit is
7510         just a duplicate and not needed. Exchange rit->par() with pit in a
7511         lot of places.
7512         (breakAgain): use a temp var for boost::next(rit)
7513         (breakAgainOneRow): ditto
7514         (breakParagraph): use a temp var for rows().begin()
7515         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7516         (cursorRightOneWord): use temp var for cursor.par() and
7517         cursor.pos(), remove usage of tmpcursor.
7518         (cursorLeftOneWord): use temp var for cursor.par() and
7519         cursor.pos() only set cur at end of function.
7520
7521 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7522
7523         * text.C, text2.C: exchange all usage of Paragraph::next with
7524         boost::next(ParagraphList::iterator)
7525
7526         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7527
7528         * text2.C (cursorTop): simplify implementation
7529         (cursorBottom): ditto
7530         (setParagraph): use ParagraphList::iterator
7531         (setCurrentFont): adjust
7532         (getColumnNearX): adjust
7533         (cursorRight): adjust
7534         (cursorLeft): remove usage of Paragraph::previous
7535         (cursorUpParagraph): ditto
7536         (deleteEmptyParagraphMechanism): slight cleanup
7537
7538         * text.C (isBoundary): take a Paragraph const & instead of a
7539         pointer as arg.
7540         (addressBreakPoint): ditto
7541         (leftMargin): remove usage of Paragraph::previous.
7542         (setHeightOfRow): ditto
7543         (cursorLeftOneWord): ditto
7544         (selectNextWordToSpellcheck): ditto
7545         (Delete): ditto
7546         (backspace): ditto
7547         (breakParagraph): remove one usage of Paragraph::next
7548         (redoParagraph): ditto
7549         (acceptChange): ditto
7550         (insertChar): adjust
7551         (rowBreakPoint): adjust
7552
7553         * bufferview_funcs.C (toggleAndShow): adjust
7554
7555 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7556
7557         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7558         methods to access it.
7559         * lyxtext.h:
7560         * text.C: Added updateRowPositions to compute all row positions.
7561         Make top_y and getRowNearY() to use the cached y position
7562
7563 2003-04-11  John Levon  <levon@movementarian.org>
7564
7565         * text.C (rowBreakPoint): reintroduce the labelEnd
7566         checks, code copied from the row fill stuff. Deep voodoo.
7567
7568         * text.C (fill): add a comment and debugging for the
7569         next poor soul.
7570
7571 2003-04-11  John Levon  <levon@movementarian.org>
7572
7573         * text.C: make sure fullrow insets get wrapped to the next line,
7574         even when they're in a manual label
7575
7576 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7577
7578         * text2.C (insertParagraph): make it take ParagraphList::iterator
7579         as arg.
7580         (setLayout): make it return ParagraphList::iterator
7581         (redoParagraphs): ditto
7582         (setCounter): ditto
7583         (checkParagraph): ditto
7584
7585         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7586
7587         * text2.C: adjust several funcs.
7588         (realizeFont): take a ParagraphList::iterator as arg.
7589         (getLayoutFont): ditto
7590         (getLabelFont): ditto
7591         (setCharFont): ditto
7592
7593         * text.C: adjust several funcs.
7594
7595 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7596
7597         * text.C (selectNextWordToSpellcheck): don't accidentally
7598         skip insets
7599
7600 2003-04-10  John Levon  <levon@movementarian.org>
7601
7602         * ToolbarBackend.C (getIcon): special handling for
7603         LFUN_MATH_DELIM
7604
7605 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7606
7607         * text2.C (cursorRight): a getChar assert fixed
7608
7609 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7610
7611         * text2.C (getFont): change to take a ParagraphList::iterator
7612         instead of Paragraph*
7613         Adjust several functions.
7614
7615         * text.C (transformChar): change to take a ParagraphList::iterator
7616         instead of Paragraph*
7617         (singleWidth): ditto
7618         Adjust several functions.
7619
7620         * rowpainter.C: adjust several functions
7621         * rowpainter.h:store a ParagraphList::iterator and not a
7622         Paragraph&.
7623
7624
7625 2003-04-09  John Levon  <levon@movementarian.org>
7626
7627         * lyxfunc.C:
7628         * lfuns.h:
7629         * LyXAction.h:
7630         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7631         and the "help" bits as well
7632
7633 2003-04-09  John Levon  <levon@movementarian.org>
7634
7635         * ToolbarBackend.h:
7636         * ToolbarBackend.C: allow multiple toolbars
7637
7638 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7639
7640         * undo_funcs.C (setCursorParUndo): adjust
7641
7642         * text_funcs.C (transposeChars): adjust
7643
7644         * text3.C (gotoNextInset): adjust
7645         (dispatch): adjust
7646
7647         * text2.C (setLayout): adjust
7648         (changeDepth): adjust
7649         (setFont): adjust
7650         (redoParagraphs): adjust
7651         (selectionAsString): adjust
7652         (setParagraph): adjust
7653         (insertInset): adjust
7654         (cutSelection): adjust
7655         (copySelection): adjust
7656         (pasteSelection): adjust
7657         (insertStringAsLines): adjust
7658         (updateInset): adjust
7659         (setCursor): change to take a ParagraphList::iterator parameter
7660         (setCursorIntern): change to take a ParagraphList::iterator parameter
7661         (setCurrentFont): adjust
7662         (cursorLeft): adjust
7663         (cursorRight): adjust
7664         (deleteEmptyParagraphMechanism): adjust
7665
7666         * text.C (breakParagraph): adjust
7667         (insertChar): adjust
7668         (acceptChange): adjust
7669         (rejectChange): adjust
7670         (selectNextWordToSpellcheck): adjust
7671         (changeCase): adjust
7672         (Delete): adjust
7673         (backspace): adjust
7674
7675         * lyxfind.C (SearchForward): adjust
7676         (SearchBackward): adjust
7677         (nextChange): adjust
7678
7679         * lyxcursor.C (par): adjust
7680
7681         * lyxcursor.h: store a ParagraphList::iterator instead of a
7682         Paragraph*
7683
7684         * lyx_cb.C (getPossibleLabel): adjust
7685
7686         * bufferview_funcs.C (toggleAndShow): adjust
7687
7688         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7689         (dispatch): adjust
7690
7691         * BufferView.C (removeAutoInsets): adjust
7692         (lockedInsetStoreUndo): adjust
7693
7694 2003-04-09  John Levon  <levon@movementarian.org>
7695
7696         * ToolbarBackend.C: try icon without argument
7697         if with argument fails
7698
7699 2003-04-08  John Levon  <levon@movementarian.org>
7700
7701         * ToolbarBackend.h:
7702         * ToolbarBackend.C: add getIcon(), handle tooltip,
7703         and change from "Icon" to "Item".
7704
7705 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7706
7707         * BufferView.C (lockInset): another bad getchar crunched
7708
7709 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7710
7711         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7712         again)
7713
7714 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7715
7716         * lyxfind.C (searchForward, searchBackwards): bug 782
7717
7718 2003-04-07  John Levon  <levon@movementarian.org>
7719
7720         * paragraph.C: remove dead comment
7721
7722         * text.C: remove troublesome depth-fiddling code
7723         in leftMargin() and rightMargin() (bug 1017)
7724
7725         * text.C: fix breaking of rows in nested lists
7726         (bug 1004)
7727
7728         * text2.C (updateCounters): fix up depth values
7729         (bug 1013)
7730
7731 2003-04-07  John Levon  <levon@movementarian.org>
7732
7733         * BufferView_pimpl.C: clear message when doc finishes resizing,
7734         and after a mouse event
7735
7736         * lyxfunc.C: clear message after exiting inset
7737
7738 2003-04-07  John Levon  <levon@movementarian.org>
7739
7740         * bufferview_funcs.C: show math status not outside
7741         status in the statusbar
7742
7743 2003-04-07  John Levon  <levon@movementarian.org>
7744
7745         * lyxfunc.C: note status changed after a depth change
7746
7747 2003-04-04  Angus Leeming  <leeming@lyx.org>
7748
7749         * LaTeX.h: move AuxInfo operator==, != out of line.
7750         Remove LaTeX virtual destructor; nothing derives from it.
7751         Move operator()() out of public area and rename it startscript().
7752         Change protected for private.
7753
7754 2003-04-04  Angus Leeming  <leeming@lyx.org>
7755
7756         * lyxfunc.C:
7757         * text2.C: remove unneeded #includes.
7758
7759 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7760
7761         * text2.C (dEPM): fix the heigth of the next row
7762
7763 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7764
7765         * text.C: squashed an invalid getChar requester + some ws changes
7766
7767 2003-04-03  John Levon  <levon@movementarian.org>
7768
7769         * bufferview_funcs.h:
7770         * bufferview_funcs.C:
7771         * lyxfunc.C:
7772         * lyxtext.h:
7773         * text2.C: make getStatus work for the env depth lfuns
7774
7775 2003-04-03  John Levon  <levon@movementarian.org>
7776
7777         * bufferview_funcs.h:
7778         * bufferview_funcs.C:
7779         * lyxfunc.C:
7780         * lyxtext.h:
7781         * text2.C: parlistize decDepth(), by merging it with incDepth()
7782
7783 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7784
7785         * lyxrow.h: store a ParagraphList::iterator instead of a
7786         Paragraph* and adjust other class functions to suit.
7787
7788         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7789         above.
7790
7791 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7792
7793         * text2.C (setCursor): do not anchor to cursor row for the time being
7794
7795 2003-04-02  John Levon  <levon@movementarian.org>
7796
7797         * LyXAction.C:
7798         * lfuns.h:
7799         * lyx_main.C:
7800         * lyxtext.h:
7801         * text.C:
7802         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7803
7804 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * paragraph.h: make ParagraphList and ParagraphList::iterator
7807         friends of Paragraph.
7808
7809         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7810
7811         * ParagraphList.C: Use the private next_ and previous_ from
7812         Paragraph.
7813
7814 2003-04-01  John Levon  <levon@movementarian.org>
7815
7816         * ToolbarBackend.h:
7817         * ToolbarBackend.C:
7818         * Makefile.am: rename, remove defaults gunk
7819
7820         * MenuBackend.h:
7821         * MenuBackend.C: remove defaults gunk
7822
7823         * Languages.h:
7824         * Languages.C: remove defaults gunk
7825
7826         * lyx_main.h:
7827         * lyx_main.C: error out if files couldn't be found.
7828
7829 2003-04-02  John Levon  <levon@movementarian.org>
7830
7831         * text2.C: make incDepth() use parlist
7832
7833 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7834
7835         * undo_funcs.C (firstUndoParagraph): adjust
7836
7837         * text3.C (gotoInset): adjust
7838         (dispatch): adjust, and rewrite loop.
7839
7840         * text2.C (init): adjust, and rewrite loop.
7841         (redoParagraphs): adjust
7842         (updateInset): adjust, and rewrite loop.
7843         (deleteEmptyParagraphMechanism): adjust
7844
7845         * tabular.C (LyXTabular): adjust
7846         (SetMultiColumn): adjust
7847         (TeXRow): adjust
7848
7849         * lyxtext.[Ch] (ownerParagraph): delete function
7850         (ownerParagraphs): new function returns a ParagraphList.
7851
7852         * BufferView.C (removeAutoInsets): adjust
7853         (insertErrors): adjust
7854         (setCursorFromRow): adjust
7855
7856 2003-04-01  Angus Leeming  <leeming@lyx.org>
7857
7858         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7859         in the frontends.
7860
7861 2003-04-02  John Levon  <levon@movementarian.org>
7862
7863         * lyxtext.h:
7864         * text.C:
7865         * Makefile.am:
7866         * text_funcs.h:
7867         * text_funcs.C: make transposeChars a free function
7868
7869         * lyxrow_funcs.C: remove wrong comment
7870
7871 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7872
7873         * lyxtext.h: adjust
7874         * rowpainter.C: adjust
7875         * text.C: adjust
7876         * text2.C: adjust
7877         * text3.C: adjust
7878
7879         * lyxrow_funcs. [Ch]: new files
7880
7881         * lyxrow.[Ch]: remove next and previous pointers
7882         (next,previous): remove accessor functions
7883         (isParEnd): move to lyxrow_funcs
7884         (lastPos): move to lyxrow_funcs
7885         (nextRowIsAllInset): move to lyxrow_funcs
7886         (lastPrintablePos): move to lyxrow_funcs
7887         (numberOfSeparators): move to lyxrow_funcs
7888         (numberOfHfills): move to lyxrow_funcs
7889         (numberOfLabelHfills): move to lyxrow_funcs
7890         (hfillExpansion): move to lyxrow_funcs
7891
7892         * lyxfunc.C: adjust
7893
7894         * bufferview_funcs.C (toggleAndShow): adjust
7895
7896         * RowList.h: Remove class RowList from file leave just a
7897         std::list<Row>.
7898
7899         * RowList.C: delete file
7900
7901         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7902         and lyxrow_funcs.h
7903
7904 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7905
7906         * text3.C (cursorPrevious): adjust
7907         (cursorNext): adjust
7908         (dispatch): adjust
7909
7910         * text2.C (redoHeightOfParagraph): adjust
7911         (redoDrawingOfParagraph): adjust
7912         (setCursor): adjust
7913
7914         * text.C (breakParagraph): adjust
7915         (insertChar): adjust
7916         (backspace): adjust
7917
7918         * rowpainter.C (RowPainter): adjust
7919         (leftMargin): simplify and adjust
7920         (most rowpainter functions): adjust.
7921
7922         * rowpainter.h: store the row as RowList::iterator not as Row*
7923
7924         * lyxcursor.C (row): taka RowList::iterator as arg
7925         (irow): ditto
7926
7927         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7928         of Row*.
7929
7930 2003-04-01  Angus Leeming  <leeming@lyx.org>
7931
7932         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7933         stuff like bool Bool.
7934
7935 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7936
7937         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7938         rewrite a loop
7939
7940 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7941
7942         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7943         RowList::iterator.
7944
7945         * lyxtext.h (rows): drop one version and leve a const variant that
7946         returns a RowList::iterator.
7947
7948 2003-03-31  Angus Leeming  <leeming@lyx.org>
7949
7950         * text.C (fill): ensure that the signature is the same as that in the
7951         header file.
7952
7953 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7954
7955         * text2.C (redoParagraphs): adjust
7956         (updateCounters): adjust
7957         (checkParagraph): adjust
7958         (getColumnNearX): adjust and reformat a bit.
7959
7960         * text.C (top_y): adjust
7961         (workWidth): adjust
7962         (leftMargin): adjust
7963         (prepareToPrint): adjust
7964         (getRow): adjust
7965         (getRowNearY): adjust
7966
7967         * lyxtext.h: make rowlist_ mutable.
7968
7969         * RowList.h: add const_iterator
7970         * RowList.C: adjust for RowList::const_iterator.
7971
7972         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7973         adjust.
7974
7975 2003-03-31  John Levon  <levon@movementarian.org>
7976
7977         * lyxrc.h:
7978         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7979
7980         * lyx_main.C: set default fonts from using lyx_gui funcs
7981
7982         * exporter.C: pdf_mode moved from lyxrc
7983
7984         * lyx_cb.C:
7985         * lyxfunc.C: changes from above
7986
7987 2003-03-31  John Levon  <levon@movementarian.org>
7988
7989         * lyx_main.C: fix to the last fix
7990
7991 2003-03-31  John Levon  <levon@movementarian.org>
7992
7993         * bufferlist.C: "Load original" -> "Load Original"
7994
7995         * converter.C:
7996         * exporter.C:
7997         * importer.C:
7998         * lyx_main.C:
7999         * format.C: more Alert cleanups
8000
8001 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8002
8003         * text2.C (removeParagraph): make it take a RowList::iterator as
8004         arg, adjust.
8005         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8006         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8007
8008         * text.C (anchor_row): make it take a RowList::iterator as arg,
8009         adjust.
8010         (computeBidiTables): make it take a const reference to Row instead
8011         of Row pointer, adjust.
8012         (leftMargin): make it take a RowList::iterator as arg, adjust.
8013         (rowBreakPoint): adjust
8014         (breakAgainOneRow): make it take a RowList::iterator as arg,
8015         adjust.
8016         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8017
8018         * bufferview_funcs.C (toggleAndShow): adjust
8019
8020 2003-03-30  John Levon  <levon@movementarian.org>
8021
8022         * Makefile.am:
8023         * BoostFormat.h:
8024         * boost-inst.C: moved to support
8025
8026         * several files: changes as a result
8027
8028 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8029
8030         * text2.C (LyXText): adjust.
8031         (init): adjust
8032         (removeRow): make it take a RowList::iterator as arg, adjust.
8033         (fullRebreak): adjust
8034         (deleteEmptyParagraphMechanism): adjust
8035         (clearPaint): adjust
8036         (postPaint): adjust
8037
8038         * text.C (top_y): adjust
8039         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8040         (breakAgain): make it take a RowList::iterator as arg, adjust.
8041         (breakParagraph): adjust
8042         (insertChar): adjust
8043         (backspace): adjust
8044
8045         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8046         need_break_row, and refresh_row.
8047
8048         * text3.C (dispatch): adjust
8049
8050         * text2.C (checkParagraph): adjust
8051         (setCursor): adjust
8052         (setCursorFromCoordinates): adjust
8053
8054         * text.C (top_y): adjust
8055         (workWidth): adjust
8056         (getRow): make it return a RowList::iterator, adjust
8057         (getRowNearY): make it return a RowList::iterator, adjust
8058
8059         * text2.C (init): adjust
8060         (insertRow): remove function
8061         (insertParagraph): adjust
8062         (redoParagraphs): adjust
8063         (fullRebreak): adjust
8064         (updateCounters): adjust
8065
8066         * text.C (top_y): rewrite to use RowList iterators.
8067         (top_y): adjust
8068         (setHeightOfRow): rewrite to sue RowList iterators.
8069         (appendParagraph): adjust
8070         (breakAgain): adjust
8071         (breakAgainOneRow): adjust
8072         (breakParagraph): adjust
8073         (getRow): adjust
8074         (getRowNearY): adjust, and remove commented code.
8075
8076         * lyxtext.h (firstRow): delete function
8077         (lastRow): delete function
8078         (rows): new function (const and non-const versions.)
8079         (insertRow): delete function
8080
8081         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8082
8083 2003-03-29  John Levon  <levon@movementarian.org>
8084
8085         * BufferView_pimpl.C: always update scrollbar top
8086         because pasting text when we're anchored could mean we
8087         miss an update altogether
8088
8089 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8090
8091         * text2.C (init): use rowlist_.end() and not 0.
8092         (insertRow): change to take a RowList::iterator as arg, adjust
8093         for this.
8094         (insertParagraph): change to take a RowList::iterator as arg,
8095         adjust for this.
8096         (redoParagraphs): remove some debug msgs.
8097
8098         * text.C (appendParagraph): change to take a RowList::iterator
8099         arg, adjust for this.
8100         (breakAgain): add an assert
8101         (breakAgainOneRow): ditto
8102
8103 2003-03-29  John Levon  <levon@movementarian.org>
8104
8105         * text2.C: do not clear selection after inc/decDepth
8106         (bug 550)
8107
8108 2003-03-29  John Levon  <levon@movementarian.org>
8109
8110         * BufferView.C:
8111         * buffer.C: fix broken strerrors according to Lars
8112
8113 2003-03-29  John Levon  <levon@movementarian.org>
8114
8115         * converters.C: more Alert cleanups
8116
8117 2003-03-29  John Levon  <levon@movementarian.org>
8118
8119         * bufferview_funcs.C: remove pointless Alert
8120
8121         * buffer.C: fix confusing error message when
8122         a template is chmoded 000
8123
8124 2003-03-29  John Levon  <levon@movementarian.org>
8125
8126         * BufferView.C:
8127         * BufferView.h:
8128         * BufferView_pimpl.C: Alert fixes
8129
8130         * Makefile.am:
8131         * tabular.C:
8132         * tabular-old.C: remove unused table compat reading
8133
8134 2003-03-29  John Levon  <levon@movementarian.org>
8135
8136         * BufferView.C:
8137         * buffer.C:
8138         * lyx_cb.h:
8139         * lyx_cb.C: more Alert cleanups
8140
8141         * lyxfunc.C: don't allow chktex if not latex document
8142
8143 2003-03-29  John Levon  <levon@movementarian.org>
8144
8145         * lyx_cb.C:
8146         * BufferView.C:
8147         * buffer.C: warnings pushed down from support/,
8148         kill err_alert
8149
8150 2003-03-29  John Levon  <levon@movementarian.org>
8151
8152         * lyxfunc.C: safety check for C-r (revert)
8153
8154 2003-03-29  John Levon  <levon@movementarian.org>
8155
8156         * bufferlist.h:
8157         * bufferlist.C: several UI fixes using Alert::prompt.
8158         Fix the pointless looping quit code. Fix stupid revert
8159         behaviour (bug 938)
8160
8161         * lyxvc.h:
8162         * lyxvc.C:
8163         * lyx_cb.C: use Alert::prompt
8164
8165         * lyx_main.C: remove a silly question
8166
8167         * lyxfunc.C: remove a couple of silly questions,
8168         use Alert::prompt
8169
8170 2003-03-28  John Levon  <levon@movementarian.org>
8171
8172         * text2.C: fix bug 974 (End on empty par)
8173
8174 2003-03-28  John Levon  <levon@movementarian.org>
8175
8176         * BufferView_pimpl.C:
8177         * LyXAction.C:
8178         * lfuns.h: remove do-nothing math greek lfuns
8179
8180 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8181
8182         * lyxgluelength.h (isValidGlueLength): add default arg on
8183         parameter 2. Remove default arg from friend in class.
8184
8185         * lyxlength.h (isValidLength): add default arg on parameter 2.
8186         Remove default arg from friend in class.
8187
8188         * text2.C (LyXText): adjust, initialize refresh_row.
8189         (init): adjust
8190         (removeRow): adjust
8191         (insertRow): adjust
8192         (insertParagraph): adjst
8193         (redoParagraphs): adjust
8194         (fullRebreak): adjust
8195         (updateCounters): adjust
8196         (deleteEmptyParagraphMechanism): first attempt at fixing a
8197         crashing bug.
8198
8199         * text.C (top_y): adjust
8200         (setHeightOfRow): adjust
8201         (getRow): adjust
8202         (getRowNearY): adjust
8203
8204         * lyxtext.h: include RowList.h
8205         (~LyXText): not needed anymore, deleted.
8206         (firstRow): modify for RowList
8207         (lastRow): new function
8208         Delete firstrow and lastrow class variables, add a Rowlist
8209         rowlist_ class variable.
8210
8211         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8212         paragraph is empty.
8213
8214         * RowList.C (insert): fix case where it == begin().
8215
8216 2003-03-26  Angus Leeming  <leeming@lyx.org>
8217
8218         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8219         the thesaurus dialog.
8220
8221 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8222
8223         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8224
8225         * RowList.[Ch]: new files
8226
8227         * ParagraphList.C (erase): handle the case where it == begin
8228         correctly.
8229
8230 2003-03-25  John Levon  <levon@movementarian.org>
8231
8232         * Makefile.am:
8233         * aspell_local.h:
8234         * aspell.C: add new aspell support
8235
8236         * lyxrc.h:
8237         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8238         have it accessible.
8239
8240 2003-03-25  Angus Leeming  <leeming@lyx.org>
8241
8242         * lfuns.h:
8243         * LyXAction.C (init): new LFUN_INSET_INSERT.
8244
8245         * BufferView_pimpl.C (dispatch): split out part of the
8246         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8247
8248         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8249         LFUN_INSET_APPLY.
8250
8251 2003-03-25  Angus Leeming  <leeming@lyx.org>
8252
8253         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8254
8255 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8256
8257         * text2.C:
8258         * text3.C: remove useless row->height(0)
8259
8260 2003-03-25  John Levon  <levon@movementarian.org>
8261
8262         * lyxtext.h:
8263         * text2.C:
8264         * text3.C: rename the refreshing stuff to better names
8265
8266 2003-03-24  John Levon  <levon@movementarian.org>
8267
8268         * BufferView_pimpl.h:
8269         * BufferView_pimpl.C: update layout choice on a mouse
8270         press/release
8271
8272 2003-03-23  John Levon  <levon@movementarian.org>
8273
8274         * Makefile.am: fix commandtags.h reference
8275
8276 2003-03-22  John Levon  <levon@movementarian.org>
8277
8278         * BufferView_pimpl.C:
8279         * lyxtext.h:
8280         * rowpainter.C:
8281         * rowpainter.h:
8282         * text.C:
8283         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8284
8285 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8286
8287         * lyxtext.h:
8288         * text.C: take the rtl methods out of line
8289
8290 2003-03-21 André Pönitz <poenitz@gmx.net>
8291
8292         * metricsinfo.[Ch]: new files containing structures to be passed around
8293         during the two-phase-drawing...
8294
8295 2003-03-21 André Pönitz <poenitz@gmx.net>
8296
8297         * lyxtextclass.C: read 'environment' tag.
8298
8299 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8300
8301         * text2.C (removeRow): fix bug 964
8302
8303 2003-03-20  John Levon  <levon@movementarian.org>
8304
8305         * rowpainter.C:
8306         * text.C:
8307         * text2.C: paint cleanups. Inset::update() dropped font
8308         parameter
8309
8310 2003-03-19  John Levon  <levon@movementarian.org>
8311
8312         * lyxfunc.C: only fitcursor/markDirty if available()
8313
8314 2003-03-19  John Levon  <levon@movementarian.org>
8315
8316         * commandtags.h: rename to ...
8317
8318         * lfuns.h: ... this, and renumber / cleanup
8319
8320 2003-03-19  John Levon  <levon@movementarian.org>
8321
8322         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8323         fit the cursor after an lfun
8324
8325         * BufferView.h:
8326         * BufferView.C:
8327         * BufferView_pimpl.h:
8328         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8329
8330         * LyXAction.C: layout-character should have ReadOnly
8331
8332         * ParagraphParameters.C:
8333         * buffer.C:
8334         * bufferview_funcs.C:
8335         * lyx_cb.C:
8336         * lyxfind.C:
8337         * lyxtext.h:
8338         * text.C:
8339         * text2.C:
8340         * text3.C:
8341         * undo_funcs.C: changes from above
8342
8343 2003-03-18  John Levon  <levon@movementarian.org>
8344
8345         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8346         remove it from update()
8347
8348         * lyxfunc.C: update layout choice after an lfun
8349
8350         * text3.C: remove extra updateLayoutChoice()s
8351
8352 2003-03-18  John Levon  <levon@movementarian.org>
8353
8354         * text.C: top_y change means full repaint, fix
8355         a drawing bug with cursor movement
8356
8357 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8358
8359         * lyxtext.h:
8360         * text.C:
8361         * text2.C: anchor row on setCursor
8362
8363 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8364
8365         * lyxtext.h: remove almost all mutable keywords
8366         * text.C:
8367         * text2.C:
8368         * text3.C: remove const keywords accordingly
8369
8370 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8371
8372         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8373         anon namespace
8374         (TeXEnvironment): ditto
8375         (TeXOnePar): ditto
8376
8377 2003-03-17  John Levon  <levon@movementarian.org>
8378
8379         * text.C (rowBreakPoint): remove attempt to fix displayed
8380         math insets inside a manual label
8381
8382 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8383
8384         * lyxtext.h: remove BufferView* as first arg from almost all class
8385         functions.
8386         * other files: adjust.
8387
8388 2003-03-17  John Levon  <levon@movementarian.org>
8389
8390         * lyxtext.h:
8391         * undo_funcs.C:
8392         * text2.C: more paint cleanups
8393
8394         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8395
8396         * rowpainter.h:
8397         * rowpainter.C: remove "smart" background painting code
8398
8399 2003-03-16  John Levon  <levon@movementarian.org>
8400
8401         * lyxtext.h:
8402         * text.C:
8403         * text2.C:
8404         * text3.C: add helper functions for setting refresh_row/y
8405
8406 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8407
8408         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8409         newline inset which *can* get inserted in the pass_thru layouts.
8410         This is primarily for literate documents.
8411
8412 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8413
8414         * buffer.C: increment LYX_FORMAT to 223
8415
8416 2003-03-14 André Pönitz <poenitz@gmx.net>
8417
8418         * textclass.h: prepare for environment handling, ws changes
8419         * lyxlayout.C: read latexheader and latexfooter tags
8420
8421 2003-03-14  John Levon  <levon@movementarian.org>
8422
8423         * text2.C: rewrite ::status() a bit
8424
8425 2003-03-13  John Levon  <levon@movementarian.org>
8426
8427         * lyxtext.h: add some docs
8428
8429 2003-03-13  John Levon  <levon@movementarian.org>
8430
8431         * lyxtext.h:
8432         * text.C:
8433         * text2.C:
8434         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8435
8436 2003-03-13  John Levon  <levon@movementarian.org>
8437
8438         * text3.C: fix appendix redrawing
8439
8440 2003-03-13  John Levon  <levon@movementarian.org>
8441
8442         * text.C (setHeightOfRow):
8443         * rowpainter.h:
8444         * rowpainter.C: make appendix mark have the text
8445           "Appendix" so the user knows what it is
8446
8447         * LColor.h:
8448         * LColor.C: s/appendixline/appendix/ from above
8449
8450 2003-03-13  John Levon  <levon@movementarian.org>
8451
8452         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8453
8454         * text.C: fix a getChar(pos) bug properly
8455
8456 2003-03-13  Angus Leeming  <leeming@lyx.org>
8457
8458         * commandtags.h:
8459         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8460         Probably only temporary. Let's see how things pan out.
8461
8462         * BufferView.C (unlockInset):
8463         * BufferView_pimpl.C (fitCursor):
8464         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8465
8466         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8467         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8468
8469         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8470         new functions that convert ParagraphParameters to and from a string.
8471
8472         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8473         BufferView::Pimpl's dispatch.
8474         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8475
8476 2003-03-13 André Pönitz <poenitz@gmx.net>
8477
8478         * lyxfunc.C:
8479         * text3.C:
8480         * factory.C: make it aware of InsetEnv
8481
8482 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8483
8484         * text2.C (setCursor): never ask for one past last
8485         (setCursor): add some debugging messages.
8486
8487         * text.C (singleWidth): never ask for one past last
8488         (singleWidth): ditto
8489         (leftMargin): ditto
8490         (rightMargin): ditto
8491         (rowBreakPoint): ditto
8492         (setHeightOfRow): ditto
8493         (prepareToPrint): ditto
8494
8495         * rowpainter.C (paintBackground): never ask for one past last
8496         (paintText): never ask for one past last
8497
8498         * paragraph_pimpl.C (getChar): make the assert stricter, never
8499         allow the one past last pos to be taken
8500
8501         * paragraph.C (getChar): ws changes only
8502
8503         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8504         (numberOfSeparators): ditto
8505         (numberOfHfills): ditto
8506
8507 2003-03-12  John Levon  <levon@movementarian.org>
8508
8509         * author.h:
8510         * author.C:
8511         * bufferparams.h:
8512         * bufferparams.C:
8513         * paragraph_funcs.C: fix per-buffer authorlists
8514
8515 2003-03-12  John Levon  <levon@movementarian.org>
8516
8517         * text.C: fix newline in right address
8518
8519 2003-03-12  Angus Leeming  <leeming@lyx.org>
8520
8521         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8522         duplicate those in LyXFunc::dispatch.
8523
8524         * commandtags.h:
8525         * LyXAction.C:
8526         * ToolbarDefaults.C:
8527         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8528         Add LFUN_FONTFREE_UPDATE.
8529
8530         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8531         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8532
8533         * bufferview_func.[Ch]: several new functions to facilliate
8534         transfer of data to and from the character dialog.
8535
8536 2003-03-12  John Levon  <levon@movementarian.org>
8537
8538         * buffer.C:
8539         * paragraph.h:
8540         * paragraph.C:
8541         * paragraph_funcs.C:
8542         * paragraph_pimpl.C:
8543         * sgml.C:
8544         * tabular.C:
8545         * text.C:
8546         * text3.C: remove META_NEWLINE in favour of an inset
8547
8548         * rowpainter.h:
8549         * rowpainter.C: remove paintNewline (done by inset)
8550
8551 2003-03-12  John Levon  <levon@movementarian.org>
8552
8553         * paragraph_pimpl.C: complain about bad getChar()s
8554         for a while at least
8555
8556 2003-03-12  John Levon  <levon@movementarian.org>
8557
8558         * buffer.h:
8559         * buffer.C: move paragraph read into a separate function,
8560         a little renaming to reflect that.
8561
8562         * bufferparams.h:
8563         * bufferparams.C: remove the author_ids map, not necessary now
8564
8565         * factory.h:
8566         * factory.C: moved Buffer::readInset to here
8567
8568         * paragraph_funcs.h:
8569         * paragraph_funcs.C: readParagraph free function moved from
8570         buffer.C
8571
8572         * tabular.C: name change
8573
8574 2003-03-12  John Levon  <levon@movementarian.org>
8575
8576         * buffer.C:
8577         * ParagraphParameters.C: move par params input to
8578         a read() method
8579
8580         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8581         behave like a normal read from the stream wrt reading
8582         a line vs. a \\token
8583
8584 2003-03-12  John Levon  <levon@movementarian.org>
8585
8586         * paragraph.C:
8587         * ParagraphParameters.h:
8588         * ParagraphParameters.C: move output code to a
8589         ::write() method
8590
8591 2003-03-12  John Levon  <levon@movementarian.org>
8592
8593         * BufferView.C (insertLyXFile):
8594         * buffer.h:
8595         * buffer.C:
8596         * tabular.C: use a parlist iterator for creating the
8597           document.
8598
8599 2003-03-12  John Levon  <levon@movementarian.org>
8600
8601         * buffer.C: make current_change static local not
8602           static file-scope
8603
8604 2003-03-12  John Levon  <levon@movementarian.org>
8605
8606         * buffer.C: fix insertStringAsLines for change tracking
8607
8608 2003-03-12  John Levon  <levon@movementarian.org>
8609
8610         * BufferView.C:
8611         * tabular.C:
8612         * buffer.h:
8613         * buffer.C:
8614         * bufferparams.h:
8615         * bufferparams.C: move author list into params. Rename some
8616           functions. Move the header reading into a separate token
8617           loop. Move the header token reading into BufferParams.
8618
8619 2003-03-12  John Levon  <levon@movementarian.org>
8620
8621         * changes.C: put debug inside lyxerr.debugging() checks
8622
8623 2003-03-11 André Pönitz <poenitz@gmx.net>
8624
8625         * factory.C: make it aware of InsetHFill
8626
8627 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8628
8629         * buffer.C (latexParagraphs): move function from here...
8630         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8631         args.
8632
8633 2003-03-10  Angus Leeming  <leeming@lyx.org>
8634
8635         * LyXAction.C (init): fix bug in poplating array with multiple entries
8636         with the same LFUN (spotted by JMarc).
8637
8638 2003-03-10  John Levon  <levon@movementarian.org>
8639
8640         * text.C:
8641         * text2.C: move getColumnNearX() near its
8642         only call site
8643
8644 2003-03-10  John Levon  <levon@movementarian.org>
8645
8646         * text.C: fix break before a minipage
8647
8648 2003-03-10  John Levon  <levon@movementarian.org>
8649
8650         * text.C: fix the last commit
8651
8652 2003-03-09  John Levon  <levon@movementarian.org>
8653
8654         * lyxtext.h:
8655         * text.C:
8656         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8657         bug 365 (don't break before insets unless needed). Don't
8658         return a value > last under any circumstances.
8659
8660 2003-03-09  Angus Leeming  <leeming@lyx.org>
8661
8662         * BufferView_pimpl.C (trackChanges, dispatch): call
8663         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8664
8665 2003-03-09  Angus Leeming  <leeming@lyx.org>
8666
8667         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8668         than Dialogs::showAboutlyx().
8669
8670 2003-03-09  Angus Leeming  <leeming@lyx.org>
8671
8672         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8673         than Dialogs::showTabularCreate().
8674
8675 2003-03-09  John Levon  <levon@movementarian.org>
8676
8677         * lyxtext.h:
8678         * text.C:
8679         * text2.C: 3rd arg to nextBreakPoint was always the same.
8680           Use references.
8681
8682 2003-03-08  John Levon  <levon@movementarian.org>
8683
8684         * lyxrow.C:
8685         * paragraph.C:
8686         * paragraph.h:
8687         * rowpainter.C:
8688         * text.C:
8689         * text2.C: Remove the "main" bit from the "main body"
8690           notion.
8691
8692 2003-03-08  John Levon  <levon@movementarian.org>
8693
8694         * text.C (leftMargin): The left margin of an empty
8695         manual label paragraph should not include the label width
8696         string length.
8697
8698         * text.C (prepareToPrint): don't attempt to measure hfills
8699         for empty manual label paragraphs - the answer should be 0
8700
8701 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8702
8703         * CutAndPaste.C: remove commented code and reindent.
8704
8705 2003-03-08  John Levon  <levon@movementarian.org>
8706
8707         * lyxfunc.h:
8708         * lyxfunc.C: move reloadBuffer()
8709
8710         * BufferView.h:
8711         * BufferView.C: to here
8712
8713         * lyxvc.C: add comment
8714
8715         * vc-backend.h:
8716         * vc-backend.C: call bv->reload() to avoid
8717           getStatus() check on MENURELOAD
8718
8719 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8720
8721         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8722         to an old format .dep file.
8723
8724 2003-03-07  Angus Leeming  <leeming@lyx.org>
8725
8726         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8727         when the LFUN_MOUSE_RELEASE should have been handled by
8728         inset->localDispatch.
8729
8730 2003-03-07  Angus Leeming  <leeming@lyx.org>
8731
8732         * BufferView_pimpl.C (dispatch):
8733         * LyXAction.C (init):
8734         * ToolbarDefaults.C (init):
8735         * commandtags.h:
8736         * lyxfunc.C (getStatus):
8737         remove LFUN_INSET_GRAPHICS.
8738
8739         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8740
8741 2003-03-07  Angus Leeming  <leeming@lyx.org>
8742
8743         * commandtags.h:
8744         * LyXAction.C (init):
8745         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8746
8747         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8748
8749         * commandtags.h:
8750         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8751
8752         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8753         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8754
8755 2003-03-07  Angus Leeming  <leeming@lyx.org>
8756
8757         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8758         remove "ert".
8759
8760 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8761
8762         * ParagraphList.C (front): new function
8763         (back): implement
8764
8765 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8766
8767         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8768         and top_row_offset_. removed var first_y.
8769         * text.C (top_y):
8770         * text2.C (LyXText, removeRow):
8771         * text3.C:
8772         * BufferView_pimpl.C:
8773         use these methods instead of using first_y
8774
8775 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8776
8777         * text2.C (pasteSelection): adjust for checkPastePossible
8778
8779         * CutAndPaste.C: remove Paragraph * buf and replace with
8780         ParagraphList paragraphs.
8781         (DeleteBuffer): delete
8782         (cutSelection): change the tc type to textclass_type
8783         (copySelection): change the tc type to textclass_type
8784         (copySelection): adjust for ParagraphList
8785         (pasteSelection): change the tc type to textclass_type
8786         (pasteSelection): adjust for Paragraphlist
8787         (nrOfParagraphs): simplify for ParagraphList
8788         (checkPastePossible): simplify for ParagraphList
8789         (checkPastePossible): remove unused arg
8790
8791         * ParagraphList.C (insert): handle the case where there are no
8792         paragraphs yet.
8793
8794         * CutAndPaste.h: make CutAndPaste a namespace.
8795
8796         * text3.C (dispatch): adjust
8797
8798         * text.C (breakParagraph): add a ParagraphList as arg
8799
8800         * paragraph_funcs.C (breakParagraph): change to take a
8801         BufferParams and a ParagraphList as args.
8802         (breakParagraphConservative): ditto
8803         (mergeParagraph): ditto
8804         (TeXDeeper): add a ParagraphList arg
8805         (TeXEnvironment): ditto
8806         (TeXOnePar): ditto
8807
8808         * buffer.C (readLyXformat2): adjust
8809         (insertStringAsLines): adjust
8810         (latexParagraphs): adjust
8811
8812         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8813         (cutSelection): adjust
8814         (pasteSelection): adjust
8815
8816         * BufferView_pimpl.C (insertInset): adjust
8817
8818 2003-03-05  Angus Leeming  <leeming@lyx.org>
8819
8820         * commandtags.h:
8821         * LyXAction.C (init):
8822         * BufferView_pimpl.C (dispatch):
8823         * lyxfunc.C (getStatus):
8824         remove LFUN_CHILD_INSERT.
8825
8826         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8827
8828 2003-03-05  Angus Leeming  <leeming@lyx.org>
8829
8830         * commandtags.h:
8831         * LyXAction.C (init):
8832         * src/factory.C (createInset):
8833         * lyxfunc.C (getStatus):
8834         * text3.C (dispatch):
8835         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8836
8837         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8838
8839 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8840
8841         * ParagraphList.C (insert): handle insert right before end()
8842         (erase): fix cases where it can be first or last paragraph.
8843
8844 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8845
8846         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8847         Paragraph::next and Paragraph::previous
8848         (TeXOnePar): ditto
8849
8850         * text.C (breakParagraph): adjust
8851
8852         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8853         BufferParams& as arg.
8854         (breakParagraph): use ParagraphList::insert
8855         (breakParagraphConservative): take a Buffer* instead of a
8856         BufferParams& as arg.
8857         (breakParagraphConservative): use ParagraphList::insert.
8858
8859         * buffer.C (insertStringAsLines): un-const it
8860         (insertStringAsLines): adjust
8861
8862         * ParagraphList.C (insert): new function
8863
8864         * CutAndPaste.C (pasteSelection): adjust
8865
8866         * text.C (backspace): adjust
8867
8868         * tabular.C (SetMultiColumn): adjust
8869
8870         * CutAndPaste.C (cutSelection): adjust
8871         (pasteSelection): adjust
8872
8873         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8874         Buffer const * as arg
8875
8876         * ParagraphList.C (erase): new function
8877         * paragraph_funcs.C (mergeParagraph): use it
8878         (mergeParagraph): make it take a Buffer* instead of a
8879         BufferParams* as arg
8880
8881         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8882         as arg
8883         (breakParagraphConservative): ditto
8884
8885         * paragraph.h: remove the breakParagraph friend
8886
8887         * paragraph.C (eraseIntern): new function
8888         (setChange): new function
8889
8890         * paragraph_funcs.C (mergeParagraph): make it take a
8891         ParagraphList::iterator instead of a Paragraph *, adjust
8892         accordingly.
8893
8894         * paragraph.h: move an #endif so that the change tracking stuff
8895         also works in the NO_NEXT case.
8896
8897 2003-03-04  Angus Leeming  <leeming@lyx.org>
8898
8899         * commandtags.h:
8900         * LyXAction.C: new LFUN_INSET_MODIFY.
8901
8902         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8903         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8904
8905 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8906
8907         * several files: ws changes only
8908
8909         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8910         (TeXEnvironment): ditto
8911         (TeXDeeper): ditto
8912
8913         * buffer.C (makeLaTeXFile): adjust
8914         (latexParagraphs): make it take ParagraphList::iterator as args
8915
8916 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8917
8918         * buffer.C (latexParagraphs): adjust
8919
8920         * paragraph.C (TeXOnePar): move function...
8921         (optArgInset): move function...
8922         (TeXEnvironment): move function...
8923         * paragraph_pimpl.C (TeXDeeper): move function...
8924         * paragraph_funcs.C: ...here
8925
8926         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8927
8928 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8929
8930         * buffer.C (readInset): remove compability code for old Figure and
8931         InsetInfo insets
8932
8933 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8934
8935         * buffer.C: ws changes
8936         (readInset):
8937
8938         * BufferView_pimpl.C: ditto
8939         * author.C: ditto
8940         * buffer.h: ditto
8941         * bufferlist.h: ditto
8942         * changes.h: ditto
8943         * lyxfunc.C: ditto
8944
8945 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8946
8947         * converter.[Ch]: split into itself +
8948         * graph.[Ch]
8949         * format.[Ch]
8950         * Makefile.am: += graph.[Ch] + format.[Ch]
8951         * MenuBackend.C
8952         * buffer.C
8953         * exporter.C
8954         * importer.C
8955         * lyx_main.C
8956         * lyxfunc.C
8957         * lyxrc.C: added #include "format.h"
8958
8959 2003-02-27  Angus Leeming  <leeming@lyx.org>
8960
8961         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8962           a label.
8963
8964         * factory.C (createInset): add "label" to the factory.
8965
8966         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8967           string and do no more.
8968
8969 2003-02-27  Angus Leeming  <leeming@lyx.org>
8970
8971         * commandtags.h:
8972         * LyXAction.C (init):
8973         * factory.C (createInset):
8974         * BufferView_pimpl.C (dispatch):
8975           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8976
8977         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8978
8979         * lyxfunc.C (dispatch):
8980         * text3.C (dispatch): pass name to params2string.
8981
8982 2003-02-26  Angus Leeming  <leeming@lyx.org>
8983
8984         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8985           blocks together.
8986           Rearrange the ~includes. Strip out the unnecessary ones.
8987
8988         * factory.C (createInset): reformat.
8989           create new insets for the various LFUN_XYZ_APPLY lfuns.
8990
8991 2003-02-26  John Levon  <levon@movementarian.org>
8992
8993         * lyxrow.h:
8994         * lyxrow.C: add isParStart,isParEnd helpers
8995
8996         * paragraph.h: make isInserted/DeletedText take refs
8997
8998         * paragraph_funcs.h:
8999         * paragraph_funcs.C: remove #if 0'd code
9000
9001         * lyxtext.h:
9002         * text3.C:
9003         * text2.C:
9004         * text.C: use lyxrow helpers above.
9005           Move draw and paint routines to RowPainter.
9006           Make several methods use refs not pointers.
9007           Make backgroundColor() const.
9008           Add markChangeInDraw(), isInInset().
9009           Merge changeRegionCase into changeCase.
9010           Make workWidth() shouldn't-happen code into an Assert.
9011
9012         * rowpainter.h:
9013         * rowpainter.C: new class for painting a row.
9014
9015         * vspace.h:
9016         * vspace.C: make inPixels take a ref
9017
9018 2003-02-26  Angus Leeming  <leeming@lyx.org>
9019
9020         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9021         LFUN_REF_APPLY.
9022
9023 2003-02-25  John Levon  <levon@movementarian.org>
9024
9025         * ispell.C: give the forked command a more accurate name
9026
9027 2003-02-22  John Levon  <levon@movementarian.org>
9028
9029         * toc.h:
9030         * toc.C: make TocItem store an id not a Paragraph *
9031           (bug #913)
9032
9033 2003-02-21  Angus Leeming  <leeming@lyx.org>
9034
9035         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9036           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9037           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9038           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9039           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9040           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9041
9042         * BufferView_pimpl.C (dispatch):
9043         * LyXAction.C (init):
9044         * factory.C (createInset):
9045         * lyxfunc.C (getStatus, dispatch):
9046         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9047
9048 2003-02-21  Angus Leeming  <leeming@lyx.org>
9049
9050         * BufferView_pimpl.C (MenuInsertLyXFile):
9051         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9052         * lyxfunc.C (menuNew, open, doImport):
9053           no longer pass a LyXView & to fileDlg.
9054
9055 2003-02-21  Angus Leeming  <leeming@lyx.org>
9056
9057         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9058         * LyXAction.C: change, BIBKEY to BIBITEM.
9059         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9060         Change InsetBibKey to InsetBibitem.
9061         Change BIBKEY_CODE to BIBITEM_CODE.
9062         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9063         * factory.C: replace insetbib.h with insetbibitem.h.
9064         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9065         * paragraph.C: replace insetbib.h with insetbibitem.h.
9066         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9067         Change bibkey() to bibitem().
9068         * text.C: remove insetbib.h.
9069         * text2.C: replace insetbib.h with insetbibitem.h.
9070         change bibkey() to bibitem().
9071         * text3.C: remove insetbib.h.
9072         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9073
9074 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9075
9076         * lyxrc.C (output): enclose user email in quotes (in case there are
9077         several words)
9078
9079 2003-02-18  John Levon  <levon@movementarian.org>
9080
9081         * buffer.h: add std::
9082
9083 2003-02-17  John Levon  <levon@movementarian.org>
9084
9085         * SpellBase.h:
9086         * ispell.h:
9087         * ispell.C:
9088         * pspell.h:
9089         * pspell.C: reworking. Especially in ispell, a large
9090           number of clean ups and bug fixes.
9091
9092         * lyxfunc.C: fix revert to behave sensibly
9093
9094 2003-02-17 André Pönitz <poenitz@gmx.net>
9095
9096         * LyXAction.C:
9097         * commandtags.h: new LFUN_INSERT_BIBKEY
9098
9099         * layout.h:
9100         * lyxlayout.C:
9101         * buffer.C:
9102         * factory.C:
9103         * text.C:
9104         * text2.C:
9105         * text3.C:
9106         * paragraph.[Ch]:
9107         * paragraph_func.C: remove special bibkey handling
9108
9109 2003-02-17  John Levon  <levon@movementarian.org>
9110
9111         * text.C (Delete): fix case where delete at the end of
9112           the very first paragraph would not merge the pars
9113
9114 2003-02-17  John Levon  <levon@movementarian.org>
9115
9116         * lyxrow.C: fix lastPrintablePos()
9117
9118 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9119
9120         * bufferparams.C (writeLaTeX): add a std:here
9121
9122         * buffer.C: and remove a using directive there
9123
9124 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9125
9126         * buffer.C (makeLaTeXFile): move the code that generates the
9127           preamble...
9128
9129         * bufferparams.C (writeLaTeX): ... in this new method
9130
9131         * LaTeXFeatures.C (getEncodingSet): make const
9132           (getLanguages): make const
9133
9134         * MenuBackend.C (binding): returns the binding associated to this
9135           action
9136           (add): sets the status of each item by calling getStatus. Adds
9137           some intelligence.
9138           (read): add support for OptSubMenu
9139           (expand): remove extra separator at the end of expanded menu
9140
9141 2003-02-15  John Levon  <levon@movementarian.org>
9142
9143         * BufferView.C:
9144         * BufferView_pimpl.C:
9145         * bufferlist.h:
9146         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9147           inset code that had no actual effect. Remove unneeded status
9148           code.
9149
9150 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9151
9152         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9153           in preamble
9154
9155 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9156
9157         * text.C (drawLengthMarker): also draw an arrow marker for
9158           symbolic lengths (medskip...)
9159
9160 2003-02-14  John Levon  <levon@movementarian.org>
9161
9162         * tabular.h:
9163         * tabular.C: better method names
9164
9165 2003-02-14  John Levon  <levon@movementarian.org>
9166
9167         * BufferView_pimpl.C:
9168         * bufferlist.C:
9169         * buffer.C:
9170         * converter.C:
9171         * lyx_cb.C:
9172         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9173           it's a more accurate name. Remove some pointless uses.
9174
9175 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9176
9177         * text2.C (LyXText): change order of initilizers to shut off
9178           warnings
9179
9180 2003-02-14  John Levon  <levon@movementarian.org>
9181
9182         * buffer.C: use ParIterator for getParFromID()
9183
9184         * paragraph.h:
9185         * paragraph.C:
9186         * paragraph_pimpl.h:
9187         * paragraph_pimpl.C: remove unused getParFromID()
9188
9189 2003-02-14  John Levon  <levon@movementarian.org>
9190
9191         * buffer.C: remove some very old #if 0'd parse code
9192
9193 2003-02-13  John Levon  <levon@movementarian.org>
9194
9195         * text.h:
9196         * text.C:
9197         * text2.C: move hfillExpansion(), numberOfSeparators(),
9198           rowLast(), rowLastPrintable(), numberofHfills(),
9199           numberOfLabelHfills() ...
9200
9201         * lyxrow.h:
9202         * lyxrow.C: ... to member functions here.
9203
9204         * paragraph.h:
9205         * paragraph.C:
9206         * lyxtext.h:
9207         * text.C: remove LyXText::beginningOfMainBody(), and call
9208           p->beginningOfMainBody() directly. Move the check for
9209           LABEL_MANUAL into the latter.
9210
9211         * text.h:
9212         * text.C:
9213         * text2.C:
9214         * vspace.C:
9215         * BufferView.h:
9216         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9217
9218         * text.h:
9219         * text.C:
9220         * text2.C:
9221         * text3.C:
9222         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9223           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9224
9225 2003-02-13  John Levon  <levon@movementarian.org>
9226
9227         * CutAndPaste.C: remove debug
9228
9229 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9230
9231         * paragraph.C (asString): remove two unused variables
9232
9233         * lyxtextclass.C (readTitleType):
9234           (Read):
9235           (LyXTextClass): handle new members titletype_ and titlename_
9236
9237         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9238
9239 2003-02-09  John Levon  <levon@movementarian.org>
9240
9241         * buffer.h:
9242         * buffer.C: replace hand-coded list with a map for the dep clean
9243
9244 2003-02-08  John Levon  <levon@movementarian.org>
9245
9246         * LaTeX.C: consolidate code into showRunMessage() helper
9247
9248 2003-02-08  John Levon  <levon@movementarian.org>
9249
9250         * lyxfind.C:
9251         * lyxtext.h:
9252         * text2.C:
9253         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9254           and pass the size in explicitly
9255
9256         * BufferView_pimpl.h:
9257         * BufferView_pimpl.C:
9258         * BufferView.h:
9259         * BufferView.C: add getCurrentChange()
9260
9261         * BufferView_pimpl.h:
9262         * BufferView_pimpl.C: handle change lfuns
9263
9264         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9265           for changes. Mark pasted paragraphs as new.
9266
9267         * support/lyxtime.h:
9268         * support/lyxtime.C:
9269         * DepTable.C: abstract time_t as lyx::time_type
9270
9271         * LColor.h:
9272         * LColor.C: add colours for new text, deleted text, changebars
9273
9274         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9275           package use "usenames" option.
9276
9277         * commandtags.h:
9278         * lyxfunc.C:
9279         * LyXAction.C: add change lfuns
9280
9281         * Makefile.am:
9282         * author.h:
9283         * author.C: author handling
9284
9285         * buffer.h:
9286         * buffer.C: add a per-buffer author list, with first entry as
9287           current author. Handle new .lyx tokens for change tracking. Output
9288           author list to .lyx file. Output dvipost stuff to .tex preamble.
9289           Bump lyx format to 222.
9290
9291         * bufferlist.h:
9292         * bufferlist.C: add setCurrentAuthor() to reset current author details
9293           in all buffers.
9294
9295         * bufferparams.h:
9296         * bufferparams.C: add param for tracking
9297
9298         * bufferview_funcs.C: output change info in minibuffer
9299
9300         * Makefile.am:
9301         * changes.h:
9302         * changes.C: add change-tracking structure
9303
9304         * debug.h:
9305         * debug.C: add CHANGES debug flag
9306
9307         * lyxfind.h:
9308         * lyxfind.C: add code for finding the next change piece
9309
9310         * lyxrc.h:
9311         * lyxrc.C: add user_name and user_email
9312
9313         * lyxrow.h:
9314         * lyxrow.C: add a metric for the top of the text line
9315
9316         * lyxtext.h:
9317         * text.C: implement accept/rejectChange()
9318
9319         * lyxtext.h:
9320         * text.C: paint changebars. Paint new/deleted text in the chosen
9321         colours. Strike through deleted text.
9322
9323         * paragraph.h:
9324         * paragraph.C:
9325         * paragraph_pimpl.h:
9326         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9327           in the current change to the insert functions. Rework erase to
9328           mark text as deleted, adding an eraseIntern() and a range-based
9329           erase(). Implement per-paragraph change lookup and
9330           accept/reject.
9331
9332         * paragraph_funcs.C: Fixup paste for change tracking.
9333
9334         * tabular.C: mark added row/columns as new.
9335
9336         * text.C: fix rowLast() to never return -1. Don't allow
9337           spellchecking of deleted text. Track transpose changes. Don't
9338           allow paragraph break or merge where appropriate.
9339
9340         * text2.C: leave cursor at end of selection after a cut.
9341
9342 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9343
9344         * text.C (getLengthMarkerHeight):
9345         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9346         visible on screen too.
9347
9348 2003-02-07  John Levon  <levon@movementarian.org>
9349
9350         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9351
9352 2003-02-05  Angus Leeming  <leeming@lyx.org>
9353
9354         * lyxserver.C (read_ready): revert my patch of 11 September last year
9355         as it sends PC cpu through the roof. Presumably this means that
9356         the lyxserver will no longer run on an Alpha...
9357
9358 2003-01-30  Angus Leeming  <leeming@lyx.org>
9359
9360         * factory.C (createInset): create an InsetCommandParam of type "index"
9361         and use it to 'do the right thing'.
9362
9363         * text2.C (getStringToIndex): ensure that cursor position is always
9364         reset to the reset_cursor position.
9365
9366 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9367
9368         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9369         disabled.
9370
9371 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9372
9373         * bufferview.C:
9374         * lyxcb.C:
9375         * lyxfunc.C: Output messages with identical spelling, punctuation,
9376         and spaces
9377
9378 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9379
9380         * MenuBackend.C (expandFormats): List only viewable export formats
9381         in "View" menu
9382
9383         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9384         message
9385
9386         * lyxfunc.C (getStatus): Make sure that formats other than
9387         "fax" can also be disabled
9388
9389 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9390
9391         * text3.C (dispatch): put the lfuns that insert insets in 3
9392         groups, and call doInsertInset with appropriate arguments.
9393         (doInsertInset): new function, that creates an inset and inserts
9394         it according to some boolean parameters.
9395
9396 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9397
9398         * buffer.C (readFile): remember to pass on 'par' when calling
9399         readFile recursively.
9400
9401 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9402
9403         * MenuBackend.C (expandFormats): add "..." to import formats.
9404
9405 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9406
9407         * paragraph.C (asString): Remove XForms RTL hacks.
9408
9409 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9410         * buffer.C: fix typo
9411
9412 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9413
9414         * Makefile.am (LIBS): delete var
9415         (lyx_LDADD): add @LIBS@ here instead.
9416
9417 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9418
9419         * Clarify the meaning of "wheel mouse jump"
9420
9421 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9422
9423         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9424         tabular in a float
9425
9426 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9427
9428         * importer.C (Loaders): do not preallocate 3 elements in the
9429         vector, since one ends up with 6 elements otherwise
9430
9431 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9432
9433         * DepTable.C (write): write the file name as last element of the
9434         .dep file (because it may contain spaces)
9435         (read): read info in the right order
9436
9437 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9438
9439         * paragraph_pimpl.C (simpleTeXBlanks):
9440         (simpleTeXSpecialChars):
9441         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9442
9443         * tabular.C (latex): add some missing case statements. Reindent.
9444
9445         * MenuBackend.C (expandToc): remove unused variable.
9446
9447 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9448
9449         * LColor.C:
9450         * LaTeX.C:
9451         * LyXAction.C:
9452         * MenuBackend.C:
9453         * buffer.C:
9454         * exporter.C:
9455         * lyxfunc.C:
9456         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9457         and the like.
9458
9459 2003-01-05  John Levon  <levon@movementarian.org>
9460
9461         * BufferView.h:
9462         * BufferView.C: add getEncoding()
9463
9464         * kbsequence.h:
9465         * kbsequence.C: do not store last keypress
9466
9467         * lyxfunc.h:
9468         * lyxfunc.C: store last keypress here instead. Pass encoding
9469           to getISOEncoded()
9470
9471 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9472
9473         * lyx_main.C (init): remove annoying error message when following
9474         symbolic links (bug #780)
9475
9476 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9477
9478         * text.C (insertChar):
9479         * lyxrc.C (getDescription): remove extra spaces
9480
9481 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9482
9483         * lyxrc.C (getDescription): remove extra spaces
9484
9485 2002-12-20  John Levon  <levon@movementarian.org>
9486
9487         * text3.C: hack fix for page up/down across tall rows
9488
9489 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9490
9491         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9492         not been invoked
9493
9494 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9495
9496         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9497         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9498         thesaurus is not compiled in
9499
9500 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9501
9502         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9503
9504 2002-12-16  Angus Leeming  <leeming@lyx.org>
9505
9506         * lyxrc.[Ch]:
9507         * lyx_main.C (init): remove override_x_deadkeys stuff.
9508
9509 2002-12-12  John Levon  <levon@movementarian.org>
9510
9511         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9512           insert. Only remove shift modifier under strict
9513           circumstances.
9514
9515 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9516
9517         * MenuBackend.C (expandToc): fix crash.
9518
9519 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9520
9521         * MenuBackend.C (expandToc): gettext on float names.
9522
9523 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9524
9525         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9526         implement bool empty() [bug 490]
9527
9528 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9529
9530         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9531
9532 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9533
9534         * several files: ws changes
9535
9536 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9537
9538         * text2.C (setCounter): clean up a bit, use boost.format.
9539         (updateCounters): initialize par upon declaration.
9540
9541         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9542         if the layout exists. We do not just store the layout any more.
9543         (SwitchLayoutsBetweenClasses): use boost.format
9544
9545 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9546
9547         * converter.C (convert): if from and to files are the same, use a
9548         temporary files as intermediary
9549
9550 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9551
9552         * commandtags.h:
9553         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9554
9555 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9556
9557         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9558
9559 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9560
9561         * tabular.C (asciiPrintCell): use string(size, char) instead of
9562         explicit loop.
9563
9564         * sgml.C (openTag): fix order of arguments to string constructor
9565         (closeTag): ditto
9566
9567         * lyxfunc.C (dispatch): use boost.format
9568
9569         * lots of files: change "c" -> 'c'
9570
9571 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9572
9573         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9574
9575 2002-11-25  Angus Leeming  <leeming@lyx.org>
9576
9577         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9578
9579         * lyx_main.C (init): compile fix.
9580
9581 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9582
9583         * lyx_cb.C (start): boost.formatify
9584         do not include <iostream>
9585
9586         * lengthcommon.C: ws only
9587
9588         * boost-inst.C,BoostFormat.h: add more explict instantations
9589
9590 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9591
9592         * lots of files: handle USE_BOOST_FORMAT
9593
9594 2002-11-21  John Levon  <levon@movementarian.org>
9595
9596         * pspell.C: fix compile
9597
9598 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9599
9600         * lyxfunc.C (dispatch): use boost::format
9601         (open): ditto
9602         (doImport): ditto
9603
9604         * lyxfont.C (stateText): use boost::format
9605
9606         * lyx_main.C (LyX): use boost::format
9607         (init): ditto
9608         (queryUserLyXDir): ditto
9609         (readRcFile): ditto
9610         (parse_dbg): ditto
9611         (typedef boost::function): use the recommened syntax.
9612
9613         * importer.C (Import): use boost::format
9614
9615         * debug.C (showLevel): use boost::format
9616
9617         * converter.C (view): use boost::format
9618         (convert): ditto
9619         (move): ditto
9620         (scanLog): ditto
9621
9622         * bufferview_funcs.C (currentState): use boost::format
9623
9624         * bufferlist.C (emergencyWrite): use boost::format
9625
9626         * buffer.C (readLyXformat2): use boost::format
9627         (parseSingleLyXformat2Token): ditto
9628
9629         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9630
9631         * LaTeX.C (run): use boost::format
9632
9633         * Chktex.C (scanLogFile): use boost::format
9634
9635         * BufferView_pimpl.C (savePosition): use boost::format
9636         (restorePosition): ditto
9637         (MenuInsertLyXFile): ditto
9638
9639         * BoostFormat.h: help file for explicit instation.
9640
9641 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9642
9643         * tabular.C (latex): Support for block alignment in fixed width
9644         columns.
9645
9646 2002-11-17  John Levon  <levon@movementarian.org>
9647
9648         * BufferView_pimpl.C:
9649         * lyx_cb.C:
9650         * lyxfunc.C: split filedialog into open/save
9651
9652 2002-11-08  Juergen Vigna  <jug@sad.it>
9653
9654         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9655         by my last patch (hopefully).
9656
9657 2002-11-08  John Levon  <levon@movementarian.org>
9658
9659         * iterators.h:
9660         * iterators.C:
9661         * buffer.h:
9662         * buffer.C:
9663         * paragraph.h:
9664         * paragraph.C:
9665         * toc.h:
9666         * toc.C: ParConstIterator, and use it (from Lars)
9667
9668 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9669
9670         * lyxtextclass.[Ch]: revise and add doxygen comments
9671
9672 2002-11-07  John Levon  <levon@movementarian.org>
9673
9674         * text.C: fix progress value for spellchecker
9675
9676         * toc.C: fix navigate menu for insetwrap inside minipage
9677
9678         * paragraph_funcs.C: added FIXME for suspect code
9679
9680 2002-11-07  John Levon  <levon@movementarian.org>
9681
9682         * BufferView_pimpl.C: fix redrawing of insets
9683           on buffer switch
9684
9685 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9686
9687         * text2.C (updateCounters): fix bug 668
9688
9689 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9690
9691         * text3.C (dispatch): Do not make the buffer dirty when moving the
9692         cursor.
9693
9694 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9695
9696         * vc-backend.C: STRCONV
9697         (scanMaster): ditto
9698
9699         * text2.C (setCounter): STRCONV
9700
9701         * paragraph.C (asString): STRCONV
9702
9703         * lyxlength.C (asString): STRCONV
9704         (asLatexString): ditto
9705
9706         * lyxgluelength.C (asString): STRCONV
9707         (asLatexString): ditto
9708
9709         * lyxfunc.C (dispatch): STRCONV
9710         (open): ditto
9711
9712         * lyxfont.C (stateText): STRCONV
9713
9714         * importer.C (Import): STRCONV
9715
9716         * counters.C (labelItem): STRCONV
9717         (numberLabel): ditto
9718         (numberLabel): remove unused ostringstream o
9719
9720         * chset.C: STRCONV
9721         (loadFile): ditto
9722
9723         * bufferview_funcs.C (currentState): STRCONV
9724
9725         * buffer.C (readFile): STRCONV
9726         (asciiParagraph): ditto
9727         (makeLaTeXFile): ditto
9728
9729         * Spacing.C (writeEnvirBegin): STRCONV
9730
9731         * LaTeXFeatures.C (getLanguages): STRCONV
9732         (getPackages): ditto
9733         (getMacros): ditto
9734         (getBabelOptions): ditto
9735         (getTClassPreamble): ditto
9736         (getLyXSGMLEntities): ditto
9737         (getIncludedFiles): ditto
9738
9739         * LaTeX.C: STRCONV
9740         (run): ditto
9741         (scanAuxFile): ditto
9742         (deplog): ditto
9743
9744         * LString.h: add the STRCONV macros
9745
9746         * BufferView_pimpl.C (savePosition): STRCONV
9747         (restorePosition): ditto
9748         (MenuInsertLyXFile): ditto
9749
9750         * vc-backend.C (scanMaster): change from submatch[...] to
9751         submatch.str(...)
9752
9753         * funcrequest.C: include config.h
9754
9755         * factory.C: include config.h
9756
9757         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9758
9759         * box.C: include config.h
9760
9761         * LaTeX.C (scanAuxFile): change from submatch[...] to
9762         submatch.str(...)
9763         (deplog): ditto
9764
9765 2002-10-25  Angus Leeming  <leeming@lyx.org>
9766
9767         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9768
9769         * ispell.[Ch] (setError): new method.
9770         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9771         Use setError() insetead of goto END.
9772
9773         * lyx_cb.C (AutoSave): move out child process into new class
9774         AutoSaveBuffer.
9775
9776 2002-10-30  John Levon  <levon@movementarian.org>
9777
9778         * text3.C: make start appendix undoable
9779
9780 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9781
9782         * lyxlength.C (inPixels): Fix returned value.
9783
9784         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9785         environment.
9786
9787 2002-10-24  Angus Leeming  <leeming@lyx.org>
9788
9789         * lyxgluelength.h: no need to forward declare BufferParams
9790         or BufferView, so don't.
9791
9792 2002-10-21  John Levon  <levon@movementarian.org>
9793
9794         * BufferView.C: menuUndo ->undo, redo
9795
9796         * BufferView.h: document, remove dead, make some methods private
9797
9798         * paragraph_funcs.h:
9799         * paragraph_funcs.C:
9800         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9801
9802         * buffer.h:
9803         * buffer.C:
9804         * sgml.h:
9805         * sgml.C: move sgml open/close tag into sgml.C
9806
9807         * bufferview_funcs.h: unused prototype
9808
9809         * lyxfunc.h:
9810         * lyxfunc.C: remove unused
9811
9812         * lyxtext.h:
9813         * text.C: remove unused
9814
9815 2002-10-21  John Levon  <levon@movementarian.org>
9816
9817         * BufferView.h:
9818         * BufferView.C:
9819         * BufferView_pimpl.h:
9820         * BufferView_pimpl.C: fix mouse wheel handling based on
9821           patch from Darren Freeman
9822
9823 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9824
9825         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9826
9827 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9828
9829         * lyxlength.C (inPixels): Fix hanfling of negative length.
9830         Fix LyXLength::MU case.
9831
9832 2002-10-16  John Levon  <levon@movementarian.org>
9833
9834         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9835
9836 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9837
9838         * converter.C (view): add support for $$i (file name) and $$p
9839         (file path) for the viewer command. If $$i is not specified, then
9840         it is appended to the command (for compatibility with old syntax)
9841
9842 2002-10-14  Juergen Vigna  <jug@sad.it>
9843
9844         * undo_funcs.C (textHandleUndo): alter the order in which the
9845         new undopar is added to the LyXText, as we have to set first
9846         the right prev/next and then add it as otherwise the rebuild of
9847         LyXText is not correct. Also reset the cursor to the right paragraph,
9848         with this IMO we could remove the hack in "redoParagraphs()".
9849
9850 2002-10-09  Angus Leeming  <leeming@lyx.org>
9851
9852         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9853         to turn off an optimisation if a new inset is to be inserted.
9854
9855 2002-10-11 André Pönitz <poenitz@gmx.net>
9856
9857         * lyxtext.h: make some functions public to allow access
9858         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9859
9860 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9861
9862         * text3.C (dispatch): when changing layout, avoid an infinite loop
9863         [bug #652]
9864
9865 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9866
9867         * lyxrc.C (read): treat a viewer or converter command of "none" as
9868         if it were empty.
9869
9870         * MenuBackend.C (expandFormats): for an update, also allow the
9871         formats that are not viewable
9872
9873         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9874         script if it is newer than the lyxrc.defaults in user directory
9875
9876 2002-10-07 André Pönitz <poenitz@gmx.net>
9877
9878         * text.C: Vitaly Lipatov's small i18n fix
9879
9880 2002-09-25  Angus Leeming  <leeming@lyx.org>
9881
9882         * ispell.h: doxygen fix.
9883
9884 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9885
9886         * buffer.h (readFile): Add a new argument to the method, to allow
9887         reading of old-format templates.
9888
9889 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9890
9891         * toc.C (getTocList): Get TOC from InsetWrap.
9892
9893 2002-09-16  John Levon  <levon@movementarian.org>
9894
9895         * lyxfunc.C: check tabular for cut/copy too
9896
9897 2002-09-12  John Levon  <levon@movementarian.org>
9898
9899         * LyXAction.C: tidy
9900
9901         * factory.h:
9902         * factory.C: add header
9903
9904         * paragraph_funcs.h:
9905         * paragraph_funcs.C: cleanup
9906
9907 2002-09-11  John Levon  <levon@movementarian.org>
9908
9909         * PrinterParams.h: odd/even default to true
9910
9911 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9912
9913         * PrinterParams.h: update printer parameters for new xforms dialog
9914
9915 2002-09-11  Angus Leeming  <leeming@lyx.org>
9916
9917         * lyxserver.C (read_ready): re-write to make it more transparent
9918         and to make it work in coherent fashion under Tru64 Unix.
9919
9920 2002-09-11  André Pönitz <poenitz@gmx.net>
9921
9922         * commandtags.h:
9923         * LyXAction.C:
9924         * text3.C: implement LFUN_WORDSEL
9925
9926 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9927
9928         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9929         make floatlist_ a boost::shared_ptr<FloatList>
9930
9931         * lyxtextclass.C: include FloatList.h
9932         (LyXTextClass): initialize floatlist_
9933         (TextClassTags): add TC_NOFLOAT
9934         (Read): match "nofloat" to TC_NOFLOAT and use it.
9935         (readFloat): modify call to floatlist_
9936         (floats): ditto
9937         (floats): ditto
9938
9939         * FloatList.[Ch] (FloatList): remove commented out float
9940         initialization.
9941         (erase): new function
9942
9943 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9944
9945         * MenuBackend.C (expandToc): fix crash when there is no document
9946         open
9947
9948 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9949
9950         * many files: Add insetwrap.
9951
9952 2002-09-09  John Levon  <levon@movementarian.org>
9953
9954         * text2.C: remove confusing and awkward depth wraparound
9955
9956 2002-09-09  John Levon  <levon@movementarian.org>
9957
9958         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9959
9960         * buffer.h:
9961         * buffer.C: remove getIncludeonlyList()
9962
9963         * paragraph.C:
9964         * lyxfunc.C: remove headers
9965
9966 2002-09-09  Juergen Vigna  <jug@sad.it>
9967
9968         * text.C (getColumnNearX): fix form Michael this is most
9969         probably a cut&paste bug.
9970
9971 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9972
9973         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9974
9975         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9976         references, ws changes.
9977
9978         * text2.C (init): update counters after init
9979         (insertParagraph): no need to set counter on idividual paragraphs.
9980         (setCounter): access the counters object in the textclass object
9981         on in the buffer object.
9982         (updateCounters): ditto
9983
9984         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9985         shared_ptr<Counters> to avoid loading counters.h in all
9986         compilation units.
9987         (LyXTextClass): initialize ctrs_
9988         (TextClassTags): add TC_COUNTER, and ...
9989         (Read): use it here.
9990         (CounterTags): new tags
9991         (readCounter): new function
9992         (counters): new funtion
9993         (defaultLayoutName): return a const reference
9994
9995         * counters.C (Counters): remove contructor
9996         (newCounter): remove a couple of unneeded statements.
9997         (newCounter): simplify a bit.
9998         (numberLabel): some small formatting changes.
9999
10000         * buffer.[Ch]: remove all traces of counters, move the Counters
10001         object to the LyXTextClass.
10002
10003 2002-09-06  Alain Castera  <castera@in2p3.fr>
10004
10005         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10006         package to set the horizontal alignment on fixed width columns.
10007
10008         * lyx_sty.C:
10009         * lyx_sty.h: added tabularnewline macro def.
10010
10011         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10012
10013 2002-09-06  John Levon  <levon@movementarian.org>
10014
10015         * LyXAction.C: tooltips for sub/superscript
10016
10017         * MenuBackend.C: a bit more verbose
10018
10019         * lyxfunc.C: tiny clean
10020
10021         * undo_funcs.C: document undo_frozen
10022
10023 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10024
10025         * counters.C (Counters): add missing algorithm counter.
10026
10027         * text2.C (setCounter): lookup the counter with layouts latexname
10028         instead of by section number.
10029         (setCounter): use a hackish way to lookup the correct enum
10030         counter.
10031         a float name->type change
10032         reset enum couners with counter name directly instead of depth value.
10033
10034         * counters.C (Counters): remove the push_backs, change to use the
10035         float type not the float name.
10036         (labelItem): remove unused string, float name->type change
10037
10038         * counters.h: don't include vector, loose the enums and sects vectors
10039
10040 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10041
10042         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10043         (Read): add float->TC_FLOAT to textclassTags
10044         (Read): and handle it in the switch
10045         (readFloat): new function
10046
10047         * FloatList.C (FloatList): comment out the hardcoded float
10048         definitions.
10049
10050         * lyxlayout.h: ws change.
10051
10052 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10053
10054         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10055
10056 2002-09-03  Angus Leeming  <leeming@lyx.org>
10057
10058         * BufferView_pimpl.h: qualified name is not allowed in member
10059         declaration: WorkArea & Pimpl::workarea() const;
10060
10061         * factory.C: added using std::endl directive.
10062
10063         * text3.C: added using std::find and std::vector directives.
10064
10065 2002-08-29  André Pönitz <poenitz@gmx.net>
10066
10067         * lyxtext.h:
10068         * text2.C: remove unused member number_of_rows
10069
10070         * Makefile.am:
10071         * BufferView2.C: remove file, move contents to...
10072         * BufferView.C: ... here
10073
10074         * BufferView_pimpl.C:
10075         * factory.C: move more inset creation to factory
10076
10077         * vspace.C: avoid direct usage of LyXText, ws changes
10078
10079         * BufferView.[Ch]:
10080                 don't provide direct access to WorkArea, use two simple
10081                 acessors haveSelction() and workHeight() instead
10082
10083
10084 2002-08-29  John Levon  <levon@movementarian.org>
10085
10086         * BufferView_pimpl.C (dispatch): do not continue when
10087           no buffer
10088
10089 2002-08-28  André Pönitz <poenitz@gmx.net>
10090
10091         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10092
10093         * BufferView.h:
10094         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10095
10096 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10097
10098         * buffer.C: increment LYX_FORMAT to 221
10099
10100         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10101         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10102
10103         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10104
10105         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10106
10107 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10108
10109         * factory.C (createInset): use LyXTextClass::floats
10110
10111         * MenuBackend.C (expandFloatListInsert):
10112         (expandFloatInsert):
10113         (expandToc):
10114
10115         * text2.C (setCounter):
10116
10117         * LaTeXFeatures.C (useFloat):
10118         (getFloatDefinitions):
10119
10120         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10121
10122         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10123         floatlist_, with accessor floats().
10124
10125         * FloatList.h: remove global FloatList
10126
10127 2002-08-26  André Pönitz <poenitz@gmx.net>
10128
10129         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10130
10131         * BufferView.h:
10132         * BufferView2.C:
10133         * BufferView_pimpl.C:
10134         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10135
10136 2002-08-25  John Levon  <levon@movementarian.org>
10137
10138         * LyXAction.C: fix margin note description
10139
10140 2002-08-24  John Levon  <levon@movementarian.org>
10141
10142         * buffer.C:
10143         * bufferlist.C:
10144         * bufferview_funcs.C:
10145         * lyxfont.C:
10146         * undo_funcs.C: cleanups
10147
10148         * lyxfunc.C: disable CUT/COPY when no selection
10149
10150 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10151
10152         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10153         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10154
10155         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10156         Add backward compatibility to "mono", "gray" and "no".
10157
10158 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10159
10160         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10161         (and file_format >= 200).
10162
10163 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10164
10165         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10166
10167 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10168
10169         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10170
10171 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10172
10173         * BufferView_pimpl.C:
10174         * LyXAction.C:
10175         * buffer.C:
10176         * commandtags.h:
10177         * lyxfunc.C:
10178         * paragraph.[Ch]:
10179         * text2.C:
10180         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10181         inset and code to make it  work with the paragraph code. The inset
10182         can be anywhere in the paragraph, but will only do the expected
10183         thing in LaTeX if the layout file contains the parameter line
10184                         OptionalArgs    1
10185         (or more generally, a nonzero value) for that layout.
10186
10187 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10188
10189         * paragraph.h: remove the declaration of undefined counters class
10190         function.
10191
10192 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10193
10194         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10195         Dr. Richard Hawkins.
10196
10197 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10198
10199         * paragraph_funcs.h: remove some unneeded includes
10200
10201         * text.C (backspace): pasteParagraph now in global scipe
10202
10203         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10204         (pasteSelection): ditto
10205
10206         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10207         * paragraph_funcs.C (pasteParagraph): ... here
10208
10209 2002-08-20  André Pönitz <poenitz@gmx.net>
10210
10211         * commandtags.h: new LFUNs for swapping/copying table row/colums
10212
10213         * LyXAction.C:
10214         * lyxfunc.C: support for new lfuns
10215
10216 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10217
10218         * tabular.C:
10219         * buffer.[Ch]: remove NO_COMPABILITY stuff
10220
10221 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10222
10223         * boost.C (throw_exception): new file, with helper function for
10224         boost compiled without exceptions.
10225
10226         * paragraph.h:
10227         * lyxlength.C:
10228         * buffer.C:
10229         * ParameterStruct.h:
10230         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10231
10232         * bufferlist.C (emergencyWriteAll): use boost bind
10233
10234         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10235
10236         * text.C: include paragraph_funcs.h
10237         (breakParagraph): breakParagraph is now in global scope
10238
10239         * paragraph_funcs.[Ch]: new files
10240
10241         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10242         global scope
10243
10244         * buffer.C: include paragraph_funcs.h
10245         (insertStringAsLines): breakParagraph is now in global scope
10246
10247         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10248         paragraph_funcs.C
10249
10250         * CutAndPaste.C: include paragraph_funcs.h
10251         (cutSelection): breakParagraphConservative is now in global scope
10252         (pasteSelection): ditto
10253
10254         * buffer.h: declare oprator== and operator!= for
10255         Buffer::inset_iterator
10256
10257         * bufferlist.C (emergencyWrite): don't use fmt(...)
10258
10259         * text3.C: add using std::endl
10260
10261         * BufferView.C (moveCursorUpdate): remove default arg
10262
10263 2002-08-20  André Pönitz <poenitz@gmx.net>
10264
10265         * buffer.[Ch]: move inline functions to .C
10266
10267         * BufferView2.C:
10268         * BufferView_pimpl.C:
10269         * text.C:
10270         * buffer.[Ch]: use improved inset_iterator
10271
10272         * buffer.C:
10273         * paragraph.[Ch]: write one paragraph at a time
10274
10275 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10276
10277         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10278         style if style is not specified.
10279
10280 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10281
10282         * text2.C (setCounter): when searching for right label for a
10283         caption, make sure to recurse to parent insets (so that a caption
10284         in a minipage in a figure float works) (bug #568)
10285
10286 2002-08-20  André Pönitz <poenitz@gmx.net>
10287
10288         * text3.C: new file for LyXText::dispatch() and helpers
10289
10290         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10291
10292         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10293
10294 2002-08-19  André Pönitz <poenitz@gmx.net>
10295
10296         * lyxtext.h:
10297         * text.C: new LyXText::dispatch()
10298
10299         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10300
10301 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10302
10303         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10304
10305         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10306         Hebrew text.
10307
10308 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10309
10310         * Makefile.am: use $(variables) instead of @substitutions@
10311
10312 2002-08-15  André Pönitz <poenitz@gmx.net>
10313
10314         * lyxfunc.C:
10315         * BufferView_pimpl.C: streamlining mathed <-> outer world
10316         interaction
10317
10318         * commandtags.h:
10319         * LyXAction.C: remove unused LFUN_MATH
10320
10321 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10322
10323         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10324
10325 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10326
10327         * paragraph.C (Paragraph): reformat a bit
10328         (cutIntoMinibuffer): use builtin InsetList function instad of
10329         doing it manually.
10330         (getInset): ditto
10331
10332         * buffer.C: include boost/bind.hpp, add using std::for_each
10333         (writeFileAscii): use ParagraphList iterators
10334         (validate): use for_each for validate traversal of paragraphs
10335         (getBibkeyList): use ParagraphList iterators
10336         (resizeInsets): use for_each to resizeInsetsLyXText for all
10337         paragraphs.
10338         (getParFromID): use ParagraphList iterators
10339
10340         * BufferView2.C (lockInset): use paragraph list and iterators
10341
10342 2002-08-14  John Levon  <levon@movementarian.org>
10343
10344         * lyxserver.C: remove spurious xforms include
10345
10346 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10347
10348         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10349
10350 2002-08-13  André Pönitz <poenitz@gmx.net>
10351
10352         * LyXAction.[Ch]:
10353         * lyxfunc.C: further cleaning
10354
10355 2002-08-13  André Pönitz <poenitz@gmx.net>
10356
10357         * funcrequest.h: new constructor
10358
10359         * funcrequest.C: move stuff here from .h
10360
10361         * Makefile.am:
10362         * BufferView_pimpl.C:
10363         * LyXAction.C:
10364         * toc.C:
10365         * lyxfunc.C: subsequent changes
10366
10367         * lyxfunc.h: new view() member function
10368
10369         * lyxfunc.C: subsequent changes
10370
10371 2002-08-13  Angus Leeming  <leeming@lyx.org>
10372
10373         * BufferView2.C:
10374         * BufferView_pimpl.C:
10375         * buffer.C:
10376         * converter.C:
10377         * importer.C:
10378         * lyxfunc.C:
10379         * lyxvc.C:
10380         * toc.C:
10381         * vc-backend.C:
10382         changes due to the changed LyXView interface that now returns references
10383         to member variables not pointers.
10384
10385 2002-08-13  Angus Leeming  <leeming@lyx.org>
10386
10387         * WordLangTuple (word, lang_code): return references to strings,
10388         not strings.
10389
10390         * BufferView.h:
10391         * SpellBase.h:
10392         * lyxtext.h: forward-declare WordLangTuple.
10393
10394         * BufferView2.C:
10395         * ispell.C:
10396         * pspell.C:
10397         * text.C: #include "WordLangTuple.h".
10398
10399         * lyxtext.h:
10400         * text.C: (selectNextWordToSpellcheck): constify return type.
10401
10402 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10403
10404         * buffer.C:
10405         * buffer.h:
10406         * lyxtext.h:
10407         * paragraph.C:
10408         * paragraph_pimpl.h:
10409         * text.C:
10410         * text2.C:
10411         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10412         suggested by Angus.
10413         Made updateCounter always count from start of buffer, and removed
10414         second argument (par).
10415         Reverted floats number display to '#'. Perhaps I'll try again when the
10416         code base is sanitized a bit.
10417
10418 2002-08-12  Angus Leeming  <leeming@lyx.org>
10419
10420         * buffer.[Ch] (getLabelList): constify.
10421
10422 2002-08-07  André Pönitz <poenitz@gmx.net>
10423
10424         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10425
10426         * funcrequest.h: extension to keep mouse (x,y) position
10427
10428 2002-08-12  Juergen Vigna  <jug@sad.it>
10429
10430         * BufferView2.C (insertErrors): forbid undo when inserting error
10431         insets.
10432
10433         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10434
10435 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10436
10437         * ParagraphList.[Ch]: new files
10438
10439         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10440
10441         * BufferView2.C (lockInset): ParagraphList changes
10442         * toc.C: ditto
10443         * text2.C: ditto
10444         * bufferlist.C: ditto
10445         * buffer.h: ditto
10446         * buffer.C: ditto
10447
10448 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10449
10450         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10451         unused class variable counter_,
10452
10453         * paragraph.[Ch] (getFirstCounter): delete unused function
10454
10455         * counters.C: include LAssert.h
10456         (reset): add a new function with no arg, change other version to
10457         not have def. arg and to not allow empty arg.
10458
10459         * text2.C (setCounter): remove empty arg from call to Counters::reset
10460
10461 2002-08-11  John Levon  <levon@movementarian.org>
10462
10463         * Makefile.am: add WordLangTuple.h
10464
10465 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10466
10467         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10468         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10469
10470         * insets/insettext.C: InsetList changes
10471
10472         * graphics/GraphicsSupport.C (operator()): InsetList changes
10473
10474         * toc.C (getTocList): InsetList changes
10475
10476         * paragraph_pimpl.[Ch]: InsetList changes
10477
10478         * paragraph.[Ch]: InsetList changes
10479
10480         * buffer.C (inset_iterator): InsetList changes
10481         (setParagraph): ditto
10482         * buffer.h (inset_iterator): ditto
10483         * iterators.C (operator++): ditto
10484         * iterators.h: ditto
10485
10486         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10487
10488         * InsetList.[Ch]: new files, most InsetList handling moved out of
10489         paragraph.C.
10490
10491         * BufferView2.C (removeAutoInsets): InsetList changes
10492         (lockInset): ditto
10493         (ChangeInsets): ditto
10494
10495 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10496
10497         * paragraph_pimpl.h (empty): new function
10498
10499         * paragraph.[Ch] (empty): new function
10500
10501         * other files: use the new Paragraph::empty function
10502
10503 2002-08-09  John Levon  <levon@movementarian.org>
10504
10505         * lyxtext.h: remove unused refresh_height
10506
10507 2002-08-09  John Levon  <levon@movementarian.org>
10508
10509         * Makefile.am:
10510         * sgml.h:
10511         * sgml.C:
10512         * buffer.C:
10513         * paragraph.h:
10514         * paragraph.C: move sgml char escaping out of paragraph
10515
10516         * paragraph.h:
10517         * paragraph.C: remove id setter
10518
10519         * buffer.C:
10520         * paragraph.C:
10521         * paragraph_pimpl.C: remove dead tex_code_break_column
10522
10523         * bufferview_funcs.C: small cleanup
10524
10525         * lyxfunc.C: remove dead proto
10526
10527         * lyxtext.h: make some stuff private. Remove some dead stuff.
10528
10529         * lyxgluelength.C: make as[LyX]String() readable
10530
10531 2002-08-08  John Levon  <levon@movementarian.org>
10532
10533         * LyXAction.h:
10534         * LyXAction.C:
10535         * MenuBackend.C:
10536         * ToolbarDefaults.C:
10537         * lyxfunc.C:
10538         * lyxrc.C:
10539         * toc.C: lyxaction cleanup
10540
10541 2002-08-08  John Levon  <levon@movementarian.org>
10542
10543         * BufferView2.C: small cleanup
10544
10545         * lyxfind.h:
10546         * lyxfind.C: move unnecessary header into the .C
10547
10548 2002-08-08  John Levon  <levon@movementarian.org>
10549
10550         * funcrequest.h: just tedious nonsense
10551
10552         * lyx_main.h:
10553         * lyx_main.C: cleanups
10554
10555         * buffer.C:
10556         * vspace.C: remove dead header lyx_main.h
10557
10558 2002-08-07  Angus Leeming  <leeming@lyx.org>
10559
10560         * Paragraph.[Ch]:
10561         * paragraph_pimpl.h:
10562         Forward declare class Counters in paragraph.h by moving the ctrs member
10563         variable into Paragraph::Pimpl.
10564         (counters): new method, returning a reference to pimpl_->ctrs.
10565
10566         * text2.C: ensuing changes.
10567
10568 2002-08-07  John Levon  <levon@movementarian.org>
10569
10570         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10571
10572         * BufferView_pimpl.C: announce X selection on double/triple
10573           click
10574
10575         * lyx_main.C: use correct bool in batch dispatch
10576
10577         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10578
10579 2002-08-07  André Pönitz <poenitz@gmx.net>
10580
10581         * funcrequest.h: new class to wrap a kb_action and its argument
10582
10583         * BufferView.[Ch]:
10584         * BufferView_pimpl[Ch]:
10585         * LaTeX.C:
10586         * LyXAction.[Ch]:
10587         * lyxfunc.[Ch]:
10588         * lyxrc.C: subsequent changes
10589
10590
10591 2002-08-07  John Levon  <levon@movementarian.org>
10592
10593         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10594           document options change.
10595
10596 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10597
10598         * counters.[Ch]
10599         * text2.C
10600         * paragraph.[Ch]
10601         * makefile.am: move counters functionality over from
10602         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10603
10604 2002-08-06  John Levon  <levon@movementarian.org>
10605
10606         * WordLangTuple.h: new file for word + language code tuple
10607
10608         * SpellBase.h:
10609         * pspell.h:
10610         * pspell.C:
10611         * ispell.h:
10612         * ispell.C:
10613         * lyxtext.h:
10614         * text.C:
10615         * text2.C:
10616         * BufferView.h:
10617         * BufferView2.C: use WordLangTuple
10618
10619         * layout.h:
10620         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10621
10622 2002-08-06  John Levon  <levon@movementarian.org>
10623
10624         * lyx_main.C: fix cmdline batch handling
10625
10626 2002-08-06  André Pönitz <poenitz@gmx.net>
10627
10628         * lyxrc.C: set default for show_banner to true
10629
10630 2002-08-06  John Levon  <levon@movementarian.org>
10631
10632         * pspell.C: fix a crash, and allow new aspell to work
10633
10634 2002-08-06  John Levon  <levon@movementarian.org>
10635
10636         * lyxfunc.C:
10637         * kbmap.C: small cleanup
10638
10639         * vspace.h:
10640         * vspace.C: add const
10641
10642 2002-08-05  John Levon  <levon@movementarian.org>
10643
10644         * LyXAction.C: back to tabular-insert
10645
10646 2002-08-04  John Levon  <levon@movementarian.org>
10647
10648         * BufferView.h:
10649         * BufferView.C: cosmetic change
10650
10651         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10652
10653         * bufferlist.C:
10654         * buffer.h:
10655         * buffer.C:
10656         * lyxcb.h:
10657         * lyxcb.C:
10658         * lyxserver.C:
10659         * lyxvc.C:
10660         * vc-backend.C:
10661         * BufferView2.C: purge all "Lyx" not "LyX" strings
10662
10663         * lyxcursor.h:
10664         * lyxcursor.C: attempt to add some documentation
10665
10666         * lyxfunc.C:
10667         * commandtags.h:
10668         * LyXAction.C:
10669         * ToolbarDefaults.C:
10670         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10671           merge with LFUN_TABULAR_INSERT
10672
10673         * Makefile.am:
10674         * SpellBase.h:
10675         * ispell.h:
10676         * ispell.C:
10677         * pspell.h:
10678         * pspell.C: split up i/pspell implementations into separate
10679           files, many cleanups
10680
10681         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10682
10683         * text2.C: some cleanup
10684
10685         * lyxfunc.C: don't check for isp_command == "none" any more, it
10686           didn't make any sense
10687
10688 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10689
10690         * counters.[Ch]
10691         * text2.C
10692         * paragraph.[Ch]
10693         * makefile.am: move counters functionality over
10694         from text2.C/paragraph.[Ch] to counters.[Ch], and
10695         make proper C++.
10696 2002-08-02  John Levon  <levon@movementarian.org>
10697
10698         * buffer.C: s/lyxconvert/lyx2lyx/
10699
10700 2002-08-02  Angus Leeming  <leeming@lyx.org>
10701
10702         * lyxlex.C: revert John's change as it breaks reading of the user
10703         preamble.
10704
10705 2002-08-02  Angus Leeming  <leeming@lyx.org>
10706
10707         * importer.C (Import):
10708         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10709         changes due to LyXView::view() now returning a boost::shared_ptr.
10710
10711 2002-08-02  John Levon  <levon@movementarian.org>
10712
10713         * lyxlex.C: small cleanup
10714
10715 2002-08-02  John Levon  <levon@movementarian.org>
10716
10717         * text2.C (status): small cleanup, no logic change
10718
10719 2002-08-01  John Levon  <levon@movementarian.org>
10720
10721         * buffer.h:
10722         * buffer.C (writeFile): don't output alerts, caller
10723           handles this
10724
10725         * bufferlist.C:
10726         * lyx_cb.C: from above
10727
10728         * lyxfunc.C: allow to open non-existent files
10729
10730 2002-07-31  John Levon  <levon@movementarian.org>
10731
10732         * lyxserver.C: don't let incidental errors get
10733           in the way (errno)
10734
10735 2002-07-30  John Levon  <levon@movementarian.org>
10736
10737         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10738
10739 2002-07-30  John Levon  <levon@movementarian.org>
10740
10741         * lyxserver.h:
10742         * lyxserver.C: remove I/O callback too
10743
10744 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10745
10746         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10747         log.
10748
10749 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10750
10751         * many files: strip,frontStrip -> trim,ltrim,rtrim
10752
10753 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10754
10755         * PrinterParams.h: remove extern containsOnly, and include
10756         support/lstrings.h instead.
10757
10758         * LaTeX.C (scanAuxFile): modify because of strip changes
10759         (deplog): ditto
10760         * buffer.C (makeLaTeXFile): ditto
10761         * bufferparams.C (writeFile): ditt
10762         * lyxfont.C (stateText): ditto
10763         * lyxserver.C (read_ready): ditto
10764         * vc-backend.C (scanMaster): ditto
10765
10766         * BufferView_pimpl.h: ws changes
10767
10768         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10769
10770 2002-07-26  André Pönitz <poenitz@gmx.net>
10771
10772         * kb_sequence.C: remove unnedred usings
10773
10774 2002-07-26  Juergen Vigna  <jug@sad.it>
10775
10776         * lyxfind.C (LyXReplace): we have to check better if the returned
10777         text is not of theLockingInset()->getLockingInset().
10778
10779 2002-07-25  Juergen Vigna  <jug@sad.it>
10780
10781         * lyxfind.C (LyXReplace): don't replace if we don't get the
10782         right LyXText.
10783
10784         * undo_funcs.C (createUndo): remove debugging code.
10785
10786 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10787
10788         * buffer.C (parseSingleLyXformat2Token): Use default placement
10789         when reading old floats.
10790
10791         * FloatList.C (FloatList): Change the default placement of figure
10792         and tables to "tbp".
10793
10794 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10795
10796         * MenuBackend.C: using std::max
10797
10798 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10799
10800         * MenuBackend.C (expandToc):
10801         (expandToc2): code moved from xforms menu frontend. It is now
10802         generic and TOCs are transparent to menu frontends.
10803
10804 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10805
10806         * toc.C (getTocList): protect against buf=0
10807
10808         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10809         Menu as first parameter. Now, this calls itself recursively to
10810         expand a whole tree (this will be useful for TOC handling)
10811         (expandFloatInsert): remove 'wide' version of floats
10812
10813         * MenuBackend.h (submenuname): returns the name of the submenu.
10814         (submenu): returns the submenu itself, provided it has been
10815         created by MenuBackend::expand
10816
10817 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10818
10819         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10820         insets which have noFontChange == true. (bug #172)
10821
10822 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10823
10824         * BufferView_pimpl.C: add connection objects and use them...
10825         (Pimpl): here.
10826
10827 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10828
10829         * MenuBackend.C (expandLastfiles):
10830         (expandDocuments):
10831         (expandFormats):
10832         (expandFloatListInsert):
10833         (expandFloatInsert):
10834         (expand): split expand in parts
10835
10836 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10837
10838         * lyx_gui.C: use lyx_gui::exit()
10839
10840 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10841
10842         * LyXAction.C: show the failing pseudo action
10843
10844 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10845
10846         * buffer.C (readFile): Run the lyxconvert script in order to read
10847         old files.
10848
10849 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10850
10851         * LyXAction.C:
10852         * commandtags.h:
10853         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10854
10855 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10856
10857         * LyXAction.C:
10858         * commandtags.h:
10859         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10860
10861 2002-07-22  Herbert Voss  <voss@lyx.org>
10862
10863         * lengthcommon.C:
10864         * lyxlength.[Ch]: add support for the vertical lengths
10865
10866 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10867
10868         * toc.[Ch]: std:: fixes
10869
10870 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10871
10872         * lyxrc.C: do not include lyx_main.h
10873
10874         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10875         for layouts
10876
10877         * lyxrc.C:
10878         * encoding.C:
10879         * bufferlist.C:
10880         * BufferView2.C: include "lyxlex.h"
10881
10882         * tabular.h:
10883         * bufferparams.h: do not #include "lyxlex.h"
10884
10885         * lyxtextclasslist.C (Add): remove method
10886         (classlist): renamed to classlist_
10887
10888         * paragraph_pimpl.C:
10889         * paragraph.C:
10890         * text2.C:
10891         * CutAndPaste.C:
10892         * bufferview_funcs.C:
10893         * bufferlist.C:
10894         * text.C:
10895         * LaTeXFeatures.C:
10896         * buffer.C:
10897         * toc.C (getTocList): use BufferParams::getLyXTextClass
10898
10899         * toc.C (getTocList): use InsetFloat::addToToc
10900
10901         * toc.[Ch]: new files, containing helper functions to handle table
10902         of contents
10903
10904         * lyxfunc.C (dispatch): no need to remove spaces around command
10905         given as a string
10906         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10907         first command of the sequence; it is not very clever, but I do not
10908         have a better idea, actually
10909
10910         * LyXAction.C (LookupFunc): make sure to remove space at the
10911         beginning and end of the command
10912
10913 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10914
10915         * MenuBackend.C (getMenubar): new method: return the menubar of
10916         this menu set
10917         (read): treat differently reading of menu and menubar (in
10918         particular, the menubar has no name now)
10919         (Menu::menubar): remove
10920
10921         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10922         saving is finished
10923
10924 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10925
10926         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10927         a bibitem inset in a RTL paragraph.
10928
10929 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10930
10931         * paragraph_pimpl.C: constify
10932
10933         * BufferView_pimpl.C:
10934         * LaTeX.C:
10935         * lyxfunc.C: fix dispatch in a nicer way
10936
10937 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10938
10939         * lyxfunc.C (dispatch):
10940         * BufferView_pimpl.C:
10941         * BufferView_pimpl.h:
10942         * BufferView.C:
10943         * BufferView.h: rename Dispatch() to dispatch()
10944
10945         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10946
10947         * lyxlayout.C (Read): honor DependsOn tag
10948
10949         * lyxlayout.[Ch] (depends_on): new method
10950
10951         * version.C.in: update lyx_docversion
10952
10953         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10954
10955         * paragraph.C (validate): remove from here...
10956         * paragraph_pimpl.C (validate): ... and move here
10957         (isTextAt): make it const
10958
10959         * buffer.C (getLists): ws cleanup
10960
10961 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10962
10963         * language.C (read): Use iso8859-1 encoding in latex_lang
10964         (this prevents LyX from crashing when using iso10646-1 encoding).
10965
10966 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10967
10968         * text2.C (toggleInset): if cursor is inside an inset, close the
10969         inset and leave cursor _after_ it
10970
10971 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10972
10973         * lyxfunc.C: move minibuffer completion handling out of here
10974
10975 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10976
10977         * BufferView_pimpl.C:
10978         * LaTeX.C: fix dispatch calls
10979
10980 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10981
10982         * text.C (drawChars): Fix Arabic text rendering.
10983
10984 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10985
10986         * LyXAction.C:
10987         * commandtags.h:
10988         * lyxfunc.C: remove message-push/pop
10989
10990         * lyxserver.C:
10991         * lyxfunc.h:
10992         * lyxfunc.C: rationalise some code by removing verboseDispatch
10993           in favour of a bool argument to dispatch()
10994
10995 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10996
10997         * lyx_main.C (init): make sure to read symlinks as absolute paths
10998
10999 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11000
11001         * lyxfunc.h:
11002         * lyxfunc.C: no need for commandshortcut to be a member
11003
11004 2002-07-15  André Pönitz <poenitz@gmx.net>
11005
11006         * converter.C: add support for $$s (scripts from lib/scripts dir)
11007         * lyx_main.C: white space
11008
11009 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11010
11011         * bufferlist.C:
11012         * lyxrc.h:
11013         * lyxrc.C: remove second exit confirmation
11014
11015 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11016
11017         * BufferView.h:
11018         * BufferView.C:
11019         * BufferView2.C:
11020         * BufferView_pimpl.h:
11021         * BufferView_pimpl.C:
11022         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11023
11024 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11025
11026         * MenuBackend.C (expand): add numeric shortcuts to document menu
11027
11028         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11029
11030 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11031
11032         * lyxfont.C (setLyXFamily):
11033         (setLyXSeries):
11034         (setLyXShape):
11035         (setLyXSize):
11036         (setLyXMisc):
11037         (lyxRead):
11038         * debug.C (value):
11039         * buffer.C (asciiParagraph): use ascii_lowercase
11040
11041 2002-07-15  Mike Fabian  <mfabian@suse.de>
11042
11043         * lyxlex_pimpl.C (search_kw):
11044         * lyxlex.C (getLongString):
11045         * converter.h (operator<):
11046         * converter.C (operator<):
11047         * buffer.C (parseSingleLyXformat2Token):
11048         (asciiParagraph):
11049         * ToolbarDefaults.C (read):
11050         * MenuBackend.C (checkShortcuts):
11051         (read):
11052         * LColor.C (getFromGUIName):
11053         (getFromLyXName): use the compare_ascii_no_case instead of
11054         compare_no_case, because in turkish, 'i' is not the lowercase
11055         version of 'I', and thus turkish locale breaks parsing of tags.
11056
11057 2002-07-16  Angus Leeming  <leeming@lyx.org>
11058
11059         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11060         now takes a Buffer const & argument.
11061
11062 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11063
11064         * BufferView.C (resize): check there's a buffer to resize
11065
11066 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11067
11068         * lyxfunc.C: remove dead code
11069
11070         * lyxserver.h:
11071         * lyxserver.C: use lyx_guii::set_read_callback
11072
11073 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11074
11075         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11076         an inset in a RTL paragraph.
11077
11078 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * lyxfunc.C: repaint after a font size update
11081
11082 2002-07-15  André Pönitz <poenitz@gmx.net>
11083
11084         * lyxlength.C: inBP should be able to return negative values
11085
11086 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11087
11088         * lyxfunc.C: use lyx_gui::update_fonts()
11089
11090 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11091
11092         * lyxfunc.C: use lyx_gui::update_color()
11093
11094 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11095
11096         * bufferlist.C:
11097         * lyxfunc.h:
11098         * lyxfunc.C:
11099         * lyxrc.h:
11100         * lyxrc.C: remove file->new asks for name option, and let
11101           buffer-new take an argument
11102
11103 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11104
11105         * BufferView_pimpl.C: remove unneeded extra repaint()
11106
11107 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11108
11109         * LyXAction.C: allow command-sequence with NoBuffer
11110
11111         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11112
11113 2002-07-10  Angus Leeming  <leeming@lyx.org>
11114
11115         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11116
11117 2002-07-09  Angus Leeming  <leeming@lyx.org>
11118
11119         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11120
11121 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * lengthcommon.h: whitespace
11124
11125         * lyxfunc.C: update scrollbar after goto paragraph
11126
11127         * lyxtext.h: factor out page break drawing, and fix it so
11128           page break/added space paints as selected nicely
11129
11130 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11131
11132         * BufferView_pimpl.C: add FIXMEs, clean up a little
11133
11134 2002-07-09  André Pönitz <poenitz@gmx.net>
11135
11136         * lyxfont.[Ch]: support for wasy symbols
11137
11138 2002-07-08  André Pönitz <poenitz@gmx.net>
11139
11140         * BufferView_pimpl.C: apply John's patch for #93.
11141
11142 2002-07-05  Angus Leeming  <leeming@lyx.org>
11143
11144         * BufferView_pimpl.C (buffer): generate previews if desired.
11145
11146         * LColor.h: add "preview" to the color enum.
11147
11148         * LColor.C (LColor): add a corresponding entry to the items array.
11149
11150         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11151         with this buffer.
11152
11153 2002-07-05  Angus Leeming  <leeming@lyx.org>
11154
11155         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11156         The body of the code is now in the method that is passed an ostream &
11157         rather than a file name.
11158         Pass an additional only_preamble parameter, useful for the forthcoming
11159         preview stuff.
11160
11161 2002-07-03  André Pönitz <poenitz@gmx.net>
11162
11163         * lyxfunc.C: simplify getStatus() a bit for math stuff
11164
11165 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11166
11167         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11168
11169 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11170
11171         * text.C (changeRegionCase): do not change case of all the
11172         document when region ends at paragraph end (bug #461)
11173
11174 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11175
11176         * paragraph.C (startTeXParParams):
11177         (endTeXParParams): add \protect when necessary
11178
11179 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11180
11181         * BufferView_pimpl.C (workAreaExpose): remove warning
11182
11183 2002-06-27  Angus Leeming  <leeming@lyx.org>
11184
11185         * Makefile.am: add lyxlayout_ptr_fwd.h.
11186
11187 2002-06-26  André Pönitz <poenitz@gmx.net>
11188
11189         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11190
11191 2002-06-25  Angus Leeming  <leeming@lyx.org>
11192
11193         * lyxfunc.C (dispatch): Comment out the call to
11194         grfx::GCache::changeDisplay. The method no longer exists now that the
11195         pixmap generation part of the graphics loader has been moved into
11196         InsetGraphics.
11197
11198 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11199
11200         * text2.C: layout as layout
11201
11202         * text.C: layout as layout
11203
11204         * tabular.C (OldFormatRead): layout as layout
11205
11206         * paragraph_pimpl.C (TeXDeeper): layout as layout
11207         (realizeFont): layout as layout
11208
11209         * paragraph.C (writeFile): layout as layout
11210         (validate): layout as layout
11211         (getFont): layout as layout
11212         (getLabelFont): layout as layout
11213         (getLayoutFont): layout as layout
11214         (breakParagraph): layout as layout
11215         (stripLeadingSpaces): layout as layout
11216         (getEndLabel): layout as layout
11217         (getMaxDepthAfter): layout as layout
11218         (applyLayout): layout as layout
11219         (TeXOnePar): layout as layout
11220         (simpleTeXOnePar): layout as layout
11221         (TeXEnvironment): layout as layout
11222         (layout): layout as layout
11223         (layout): layout as layout
11224
11225         * lyxtextclass.C (compare_name): new functor to work with
11226         shared_ptr, layout as layout
11227         (Read): layout as layout
11228         (hasLayout): layout as layout
11229         (operator): layout as layout
11230         (delete_layout): layout as layout
11231         (defaultLayout): layout as layout
11232
11233         * lyxlayout_ptr_fwd.h: new file
11234
11235         * lyxlayout.C (Read): layout as layout
11236
11237         * lyx_cb.C (MenuInsertLabel): layout as layout
11238
11239         * bufferlist.C (newFile): layout as layout
11240
11241         * buffer.C (readLyXformat2): layout as layout
11242         (parseSingleLyXformat2Token): layout as layout
11243         (insertStringAsLines): layout as layout
11244         (asciiParagraph): layout as layout
11245         (latexParagraphs): layout as layout
11246         (makeLinuxDocFile): layout as layout
11247         (simpleLinuxDocOnePar): layout as layout
11248         (makeDocBookFile): layout as layout
11249         (simpleDocBookOnePar): layout as layout
11250         (getLists): layout as layout
11251
11252         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11253
11254         * CutAndPaste.C (cutSelection): layout as layout
11255         (pasteSelection): layout as layout
11256         (SwitchLayoutsBetweenClasses): layout as layout
11257
11258         * BufferView_pimpl.C (Dispatch): layout as layout
11259         (smartQuote): layout as layout
11260
11261         * BufferView2.C (unlockInset): layout as layout
11262
11263 2002-06-24  André Pönitz <poenitz@gmx.net>
11264
11265         * lyxfunc.C: fix #487
11266
11267 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11268
11269         * lyxrc.h:
11270         * lyxrc.C:
11271         * lyxfunc.C: remove display_shortcuts, show_banner
11272
11273 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11274
11275         * Buffer_pimpl.C: oops, update on resize
11276
11277 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11278
11279         * buffer.C:
11280         * converter.C:
11281         * exporter.C:
11282         * lyxfunc.C:
11283         * BufferView.h:
11284         * BufferView.C: use repaint()
11285
11286         * BufferView_pimpl.h:
11287         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11288           as it's a clearer description. Remove superfluous
11289           redraws.
11290
11291 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11292
11293         * text.C: fix bug 488. Not ideal, but getting
11294           getWord() to work properly for the insets that
11295           matter is more difficult ...
11296
11297 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11298
11299         * BufferView_pimpl.C:
11300         * LyXAction.C:
11301         * commandtags.h:
11302         * lyxfunc.C: remove the six million index lyxfuncs to just
11303           one, and DTRT (bug 458)
11304
11305 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11306
11307         * BufferView.h:
11308         * BufferView.C:
11309         * BufferView_pimpl.h:
11310         * BufferView_pimpl.C: clean up resize() stuff,
11311           and unnecessary updateScreen()s
11312
11313 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11314
11315         * BufferView.h:
11316         * BufferView.C:
11317         * BufferView_pimpl.h:
11318         * BufferView_pimpl.C:
11319         * lyxfind.h:
11320         * lyxfind.C:
11321         * minibuffer.C: remove focus management of workarea,
11322           not needed. Use screen's greyOut()
11323
11324 2002-06-17  Herbert Voss  <voss@lyx.org>
11325
11326         * converter.C: (convert) do not post a message, when converting
11327         fails, let the calling function decide what to do in this case
11328
11329 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11330
11331         * lyxfunc.C: tidy up a little
11332
11333 2002-06-16    <alstrup@diku.dk>
11334
11335         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11336         Got rid of FORMS_H_LOCATION include. Now we are
11337         GUII.
11338
11339 2002-06-15  LyX Development team  <lyx@rilke>
11340
11341         * buffer.[Ch] (sgmlOpenTag):
11342         (sgmlCloseTag): Added support for avoiding pernicious mixed
11343         content. Return number of lines written.
11344
11345         (makeLinuxDocFile):
11346         (makeDocBookFile): Fixed calls to sgml*Tag.
11347         Simple white space clean.
11348
11349         (simpleDocBookOnePar): Simple white space clean.
11350
11351         * tabular.[Ch] (docBook): Renamed to docbook and got another
11352         argument to related with the pernicious mixed content.
11353
11354         (docbookRow): Fixed calls for docbook inset method.
11355
11356 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11357
11358         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11359         so it's X11 independent.
11360
11361         * kb*.[Ch]: ditto.
11362
11363         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11364
11365 2002-06-15  Lyx Development team  <lyx@electronia>
11366
11367         * intl.h: Renamed getTrans to getTransManager.
11368
11369 2002-06-14  Angus Leeming  <leeming@lyx.org>
11370
11371         * Makefile.am: nuke forgotten stl_string_fwd.h.
11372
11373 2002-06-12  Angus Leeming  <leeming@lyx.org>
11374
11375         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11376
11377 2002-06-13  Angus Leeming  <leeming@lyx.org>
11378
11379         * LaTeX.C:
11380         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11381
11382 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11383
11384         * kbmap.C (getiso): add support for cyrillic and greek
11385
11386 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11387
11388         * BufferView.h:
11389         * BufferView.C:
11390         * BufferView_pimpl.h:
11391         * BufferView_pimpl.C: move bogus scrolling logic
11392           to xforms
11393
11394 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11395
11396         * lyxfunc.C:
11397         * BufferView_pimpl.C: view->resize() change
11398
11399 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11400
11401         * BufferView_pimpl.C: topCursorVisible
11402           prototype change
11403
11404 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11405
11406         * Makefile.am:
11407         * lyx_gui.h:
11408         * lyx_gui.C: move to frontends/
11409
11410         * main.C:
11411         * lyx_main.h:
11412         * lyx_main.C: changes from above
11413
11414 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11415
11416         * intl.C:
11417         * intl.h:
11418         * kbmap.C:
11419         * kbsequence.C:
11420         * lyx_cb.C:
11421         * lyx_main.C: minor tidy
11422
11423 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11424
11425         * BufferView_pimpl.h:
11426         * BufferView_pimpl.C:
11427         * BufferView.h:
11428         * BufferView.C: make painter() const,
11429           remove dead code
11430
11431         * BufferView2.C: use screen() accessor
11432
11433         * lyx_main.h:
11434         * lyx_main.C: some minor cleanup
11435
11436 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11437
11438         * BufferView_pimpl.h:
11439         * BufferView_pimpl.C: remove enter/leaveView,
11440           use workHeight()
11441
11442 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11443
11444         * BufferView.h:
11445         * BufferView.C:
11446         * BufferView2.C:
11447         * BufferView_pimpl.h:
11448         * BufferView_pimpl.C: only construct screen once,
11449           rename
11450
11451         * lyxrc.C: remove pointless comment
11452
11453 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11454
11455         * BufferView.h:
11456         * BufferView.C: remove active() and belowMouse()
11457
11458         * BufferView_pimpl.h:
11459         * BufferView_pimpl.C: use workarea() not workarea_,
11460           and make it use a scoped_ptr instead
11461
11462 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11463
11464         * lyx_gui.C: add debug message on BadWindow
11465
11466 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11467
11468         * sp_spell.C: fdopen is not part of the C++ standard.
11469
11470         * paragraph.C (InsetIterator): use >= instead of ==
11471
11472 2002-06-07  Angus Leeming  <leeming@lyx.org>
11473
11474         Fixes needed to compile with Compaq cxx 6.5.
11475         * BufferView_pimpl.C:
11476         * DepTable.C:
11477         * buffer.C:
11478         * converter.C:
11479         * encoding.C:
11480         * lyx_gui.C:
11481         * lyx_main.C:
11482         * lyxtextclasslist.C:
11483         * minibuffer.C:
11484         * sp_spell.C:
11485         * tabular_funcs.C:
11486         * vc-backend.C:
11487         all c-library variables have been moved into namespace std. Wrap
11488         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11489
11490         * lyxlength.C:
11491         * tabular-old.C:
11492         * tabular.C:
11493         Add a using std::abs declaration.
11494
11495         * kbmap.h (modifier_pair):
11496         * paragraph.h (InsetTable, InsetList):
11497         * lyxfont.h (FontBits):
11498         type definition made public.
11499
11500         * bufferlist.C (emergencyWriteAll): the compiler complains that
11501         there is more than one possible lyx::class_fun template to choose from.
11502         I re-named the void specialisation as lyx::void_class_fun.
11503
11504         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11505
11506         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11507         the compiler is is unable to find tostr in write_attribute.
11508
11509 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11510
11511         * buffer.C (sgmlError): hide #warning
11512
11513 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11514
11515         * xtl/*: get rid of xtl, which is not in use anyway
11516
11517         * LyXAction.C (init):
11518         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11519         were unimplemented xtl experimentation
11520
11521 2002-06-04  André Pönitz <poenitz@gmx.net>
11522
11523         * lyxfunc.C: disable array operation on simple formulae
11524
11525 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11526
11527         * converter.C: constify a bit
11528
11529 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11530
11531         * lyx_gui.C: check xforms version correctly
11532
11533 2002-04-30  Herbert Voss  <voss@lyx.org>
11534
11535         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11536         "keep" option
11537
11538 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11541           attempt to register it with a VCS)
11542
11543 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11544
11545         * lyx_main.C (init): honor variables LYX_DIR_13x and
11546         LYX_USERDIR_13x
11547
11548 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11549
11550         * buffer.h:
11551         * buffer.C:
11552         * lyx_main.C: fix a crash on bad command line,
11553           and give a useful exit status on error
11554
11555         * lyxfunc.C (doImport): allow -i lyx to work
11556
11557 2002-03-30  André Pönitz <poenitz@gmx.net>
11558
11559         * lyxfunc.C: mathed font changes
11560
11561 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11562
11563         * LaTeX.C:
11564         * importer.h:
11565         * importer.C:
11566         * lyx_sty.h:
11567         * lyx_sty.C:
11568         * lyxlex.C:
11569         * lyxrow.h:
11570         * lyxtext.h:
11571         * paragraph.h:
11572         * paragraph.C:
11573         * texrow.h:
11574         * texrow.C:
11575         * text.C:
11576         * trans_mgr.h: srcdocs, and some minor cleanups
11577
11578 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11579
11580         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11581         call getFont all the time)
11582
11583 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11584
11585         * switch from SigC signals to boost::signals
11586
11587 2002-05-29  André Pönitz <poenitz@gmx.net>
11588
11589         * paragraph_pimpl.C (getChar): don't call size() too often...
11590
11591 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11592
11593         * paragraph_pimpl.C (insertChar): do not try to update tables when
11594         appending (pos == size())
11595
11596         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11597         in order to reduce drastically the number of comparisons needed to
11598         parse a large document
11599
11600 2002-05-29  André Pönitz <poenitz@gmx.net>
11601
11602         * text.C:
11603         * text2.C:
11604         * lyxtextclass.C:
11605         * sp_pspell.h:
11606         * textclasslist.[Ch]:
11607         * sp_ispell.h: whitespace change
11608
11609 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11610
11611         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11612         lyxaction directly now.
11613
11614 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11615
11616         * trans.C:
11617         * lyxfont.C:
11618         * lyxvc.C: remove unused headers
11619
11620 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11621
11622         * Makefile.am:
11623         * buffer.h:
11624         * undostack.h:
11625         * undostack.C:
11626         * undo_funcs.h:
11627         * undo_funcs.C: some cleanups. Use shared_ptr
11628           and a template for the undo stacks.
11629
11630 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11631
11632         * BufferView_pimpl.h:
11633         * BufferView_pimpl.C:
11634         * kbmap.h:
11635         * kbmap.C:
11636         * kbsequence.h:
11637         * kbsequence.C:
11638         * lyxfunc.h:
11639         * lyxfunc.C:
11640         * text2.C: use key_state/mouse_state
11641
11642 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11643
11644         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11645         and LSubstring
11646
11647         * chset.C: change include order
11648         (loadFile): use boost regex and get rid of LRegex and LSubstring
11649
11650         * Makefile.am (BOOST_LIBS): new variable
11651         (lyx_LDADD): use it
11652
11653         * LaTeX.C: change include order.
11654         (scanAuxFile): use boost regex and get rid of LRegex and
11655         LSubstring
11656         (deplog): ditto
11657
11658 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11659
11660         * ColorHandler.h:
11661         * ColorHandler.C:
11662         * FontInfo.h:
11663         * FontInfo.C: moved to frontends/xforms/
11664
11665         * FontLoader.h:
11666         * FontLoader.C: moved into frontends for GUIIzation
11667
11668         * Makefile.am:
11669         * lyx_gui.C:
11670         * lyxfont.C:
11671         * lyxfunc.C: changes from above
11672
11673 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11674
11675         * LColor.C: remove spurious X include
11676
11677         * BufferView_pimpl.C:
11678         * Makefile.am:
11679         * font.h:
11680         * font.C:
11681         * text.C:
11682         * text2.C: move font metrics to frontends/
11683
11684 2002-05-24  Juergen Vigna  <jug@sad.it>
11685
11686         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11687         setting the undo_cursor.
11688
11689         * ParagraphParameters.h: include local includes first.
11690
11691 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11692
11693         * BufferView_pimpl.C:
11694         * BufferView_pimpl.h:
11695         * Makefile.am:
11696         * WorkArea.h:
11697         * WorkArea.C:
11698         * screen.C: move WorkArea into frontends/
11699
11700         * lyxscreen.h:
11701         * screen.C:
11702         * text.C:
11703         * BufferView.C:
11704         * BufferView2.C: move LyXScreen into frontends/
11705
11706         * lyxlookup.h:
11707         * lyxlookup.C:
11708         * lyx_gui.C: move lyxlookup into frontends/xforms/
11709
11710 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * BufferView2.C:
11713         * BufferView_pimpl.C:
11714         * FontLoader.C:
11715         * LyXView.h:
11716         * LyXView.C:
11717         * Makefile.am:
11718         * WorkArea.C:
11719         * XFormsView.h:
11720         * XFormsView.C:
11721         * buffer.C:
11722         * bufferlist.C:
11723         * bufferview_funcs.C:
11724         * converter.C:
11725         * importer.C:
11726         * lyx_cb.C:
11727         * lyx_gui.C:
11728         * lyx_main.C:
11729         * lyx_find.C:
11730         * lyxfunc.C:
11731         * lyxvc.C:
11732         * minibuffer.C:
11733         * text.C:
11734         * text2.C:
11735         * trans.C:
11736         * vc-backend.C: move LyX/XFormsView into frontends/
11737
11738 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11739
11740         * Makefile.am:
11741         * PainterBase.C:
11742         * PainterBase.h:
11743         * Painter.C:
11744         * Painter.h:
11745         * WorkArea.C:
11746         * WorkArea.h:
11747         * screen.C:
11748         * tabular.C:
11749         * text.C:
11750         * text2.C: move Painter to frontends/
11751
11752 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11753
11754         * buffer.C: comment out some some code that depend upon lyx_format
11755         < 220
11756
11757         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11758         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11759
11760         * buffer.h (NO_COMPABILITY): turn off compability
11761
11762         * ColorHandler.C: include scoped_array.hpp
11763
11764         * font.C: Use more specific smart_ptr header.
11765         * Painter.C: ditto
11766         * gettext.C: ditto
11767         * ShareContainer.h: ditto
11768         * lyx_main.h: ditto
11769         * kbmap.h: ditto
11770         * FontInfo.h: ditto
11771         * BufferView_pimpl.h: ditto
11772         * ColorHandler.h: ditto
11773
11774         * kbmap.C (defkey): change call to shared_ptr::reset
11775
11776 2002-05-21  Juergen Vigna  <jug@sad.it>
11777
11778         * buffer.C (insertErtContents): fix to insert ert asis if it is
11779         non empty. Skip it completely if it contains only whitespaces.
11780
11781 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11782
11783         * BufferView_pimpl.C:
11784         * BufferView2.C: clear selection on paste (bug 393)
11785
11786 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11787
11788         * DepTable.C: include ctime
11789
11790 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11791
11792         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11793
11794 2002-05-14  Juergen Vigna  <jug@sad.it>
11795
11796         * text.C (breakParagraph): fixed function to honor the keepempty
11797         layout in the right maner and also to permit the right breaking
11798         algorithm on empty or non empyt keepempty paragraphs.
11799
11800         * paragraph.C (breakParagraph): we have to check also if the par
11801         is really empty (!size()) for isempty otherwise we do the wrong
11802         paragraph break.
11803
11804 2002-05-10  Juergen Vigna  <jug@sad.it>
11805
11806         * buffer.[Ch] : The following are only changes to the ert
11807         compatibility read reading old LaTeX layout and font stuff and
11808         convert it to ERTInsets.
11809
11810         * buffer.h: added isErtInset().
11811
11812         * buffer.C (struct ErtComp): add a fromlayout bool to check
11813         if we're inside a LaTeX layout.
11814         (isErtInset): new helper function.
11815         (insertErtContents): look for other ert insets before this one
11816         and insert the contents there, so that we don't have subsequent
11817         ERT insets with nothing between them. This way we create only one
11818         inset with multiple paragraphs. Also check if we don't insert only
11819         spaces ' ' as they are ignored anyway afterwards in the .tex file
11820         so if we have only spaces we will ignore this latex part in the
11821         new file.
11822         (parseSingleLyXformat2Token \\layout): better compatibility when
11823         reading layout-latex stuff.
11824         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11825         language tag.
11826         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11827         stuff after reading the inset only get the information back from
11828         the stack.
11829
11830 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11831
11832         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11833
11834         * LaTeXFeatures.C (getBabelOptions): New method.
11835
11836 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11837
11838         * BufferView_pimpl.C (Dispatch): work around missing argument for
11839         'layout'
11840
11841 2002-05-08  Juergen Vigna  <jug@sad.it>
11842
11843         * text.C (leftMargin): handle paragraph leftindent.
11844
11845         * paragraph.C (writeFile): write the new \\leftindent tag.
11846         (validate): handle leftindent code.
11847         (TeXEnvironment): handle paragraphleftindent code again.
11848
11849         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11850
11851         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11852         for paragrap_extra indent code and new token \\leftindent.
11853         (latexParagraphs): handle the leftindent as environment.
11854
11855         * ParameterStruct.h: added leftindent support.
11856
11857         * ParagraphParameters.C (leftIndent): added support functions for
11858         the paragraph left indent.
11859
11860         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11861         more appropriate.
11862
11863 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11864
11865         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11866         inside insetERT.
11867
11868         * text.C (computeBidiTables): No bidi in insetERT.
11869
11870         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11871         in RTL documents.
11872
11873 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11874
11875         * version.C.in: pre 5
11876
11877 2002-05-02  José Matos  <jamatos@fep.up.pt>
11878         * buffer.C (makeDocBookFile): white space changes, add newline to
11879         command styles.
11880         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11881
11882         * tabular.C (docBook): fix typo.
11883
11884 2002-05-03  Juergen Vigna  <jug@sad.it>
11885
11886         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11887         change in LyXText as we can not be sure it was not freed.
11888         (drawOneRow): remove unused code.
11889
11890         * text.C (drawInset): redo the calculation of the need_break_row as
11891         it could have a row which was already freed.
11892         (draw): look at the return value of drawInset and return false if
11893         it also returned false.
11894         (paintRowText): look at the return value of draw and return false if
11895         it also returned false.
11896
11897         * lyxtext.h: added bool return type to drawInset() and draw() so that
11898         if we have a change in the row so that the rowbreak has to be redone
11899         we abort drawing as it will be called again.
11900
11901 2002-05-02  Juergen Vigna  <jug@sad.it>
11902
11903         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11904         a change in the maintext also if we're inside an inset.
11905         (Dispatch): set the cursor again after a break line and after the
11906         screen has been updated as it could be we're in a different row.
11907
11908         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11909         to set the cursor behind the pargraph with > size().
11910         (setCursor): check also for the same paragraph when checking where
11911         to put the cursor if we have a NFR inset.
11912
11913         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11914         parts of layout read further up as it still was in the wrong
11915         position.
11916
11917 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11918
11919         * screen.C (drawFromTo): change sine fullRebreak always return
11920         true.
11921
11922         * buffer.C (parseSingleLyXformat2Token): reindent some
11923
11924         * BufferView_pimpl.C (update): change since fullRebreak always
11925         return true.
11926         (Dispatch): git rid of the last hardcoded "Standard"s.
11927
11928 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11929
11930         * text2.[Ch] (fullRebreak): make it return void now that we always
11931         returned true.
11932
11933 2002-04-30  Juergen Vigna  <jug@sad.it>
11934
11935         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11936         ert compatibility check for "latex" layout.
11937
11938 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11939
11940         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11941         minipages: use col% instead of p%, and also use the current font.
11942         (makeLaTeXFile): Fix use babel condition.
11943         (parseSingleLyXformat2Token): Correct font when reading old floats.
11944
11945 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11946
11947         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11948         inserting list of floats.
11949
11950 2002-04-25  Herbert Voss  <voss@lyx.org>
11951
11952         * MenuBackend.C (expand): don't add the graphics extensions to the
11953         export menu
11954
11955 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11956
11957         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11958         non-existing layout, do not complain if it was the default layout
11959         of the original class (bug #342)
11960
11961 2002-04-24  Juergen Vigna  <jug@sad.it>
11962
11963         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11964         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11965
11966 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11967
11968         * buffer.C (getBibkeyList): If using \bibliography, return the
11969         option field with the reference itself. Enables us to provide natbib
11970         support when using \bibliography.
11971
11972 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11973
11974         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11975
11976         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11977         natbib is provided by the LaTeX class.
11978
11979 2002-04-23  Juergen Vigna  <jug@sad.it>
11980
11981         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11982         Wakeup functions.
11983
11984         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11985
11986 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11987
11988         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11989
11990         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11991         ensuremath around textordmasculine, textordfeminine and
11992         textdegree.
11993
11994 2002-04-19  Juergen Vigna  <jug@sad.it>
11995
11996         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11997         reinitializing the buffer otherwise row-dimensions may be wrong.
11998         (update): reset also the selection cursors if they do exits otherwise
11999         their x/y positions may be wrong.
12000
12001         * text2.C (cursorDown): don't enter the inset if we came from a row
12002         above and are one row over the inset.
12003
12004         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12005         really leaving an inset.
12006
12007 2002-04-18  Juergen Vigna  <jug@sad.it>
12008
12009         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12010         of the selected paragraph does not have the selected layout also if
12011         the last one had!
12012
12013         * text2.C (setLayout): fixed bug which did not change last selected
12014         paragraph.
12015
12016         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12017         changed the read and substituted \\end_float with \\end_inset!
12018
12019         * BufferView_pimpl.C (cursorPrevious):
12020         (cursorNext): fixed to make it work with rows heigher than the work
12021         area without moving the cursor only the draw of the row.
12022         (workAreaMotionNotify): fix jumping over high rows.
12023
12024 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12025
12026         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12027         Ressler.
12028
12029 2002-04-16  Juergen Vigna  <jug@sad.it>
12030
12031         * text2.C (setCursor): set also the irow().
12032         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12033         (cursorUp):
12034         (cursorDown): support for locking an inset if the x_fix value goes
12035         inside it. That way I can transverse insets too with cursor up/down.
12036
12037         * lyxrow.h: added irow helper function same as other (i) functions.
12038
12039         * BufferView_pimpl.C (cursorPrevious):
12040         (cursorNext): fixed for insets!
12041
12042 2002-04-15  Juergen Vigna  <jug@sad.it>
12043
12044         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12045         position otherwise it is wrong in some cases.
12046
12047         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12048         inside the inset before the call.
12049
12050 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12051
12052         * buffer.[Ch] (getBibkeyList): make it const.
12053
12054 2002-04-12  Juergen Vigna  <jug@sad.it>
12055
12056         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12057
12058         * text2.C (getCursorX): new helper function
12059         (setCursor): compute also ix_
12060         (setCursorFromCoordinates): set also ix.
12061
12062         * lyxcursor.h: added ix_ and helper functions.
12063
12064         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12065
12066         * buffer.C (insertStringAsLines): dont break paragraph if the this
12067         paragraph is inside an inset which does not permit it!
12068
12069         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12070         also with no chars on this paragraph.
12071         (paintRowText): only paint stuff if it's inside the workarea!
12072
12073         * paragraph.C (breakParagraph): honor keepempty flag and break the
12074         paragraph always below not above.
12075
12076         * BufferView2.C (unlockInset): update the paragraph layout on inset
12077         unlock as we changed paragraph in such a case.
12078
12079         * lyxfind.C (LyXFind): clear the former selection if not found!
12080
12081         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12082         again called in insertChar().
12083
12084         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12085         an inset which uses the whole row!
12086         (rightMargin): ditto.
12087         (insertChar): force a rebreak if we inserted an inset!
12088
12089 2002-03-28  Herbert Voss  <voss@lyx.org>
12090
12091         * lyxlength.[Ch]: add inBP() to get the right PS-point
12092         units (BigPoint). With inPixels we have rounding errors
12093
12094 2002-04-11  Juergen Vigna  <jug@sad.it>
12095
12096         * text2.C (setCursorFromCoordinates): set iy to the right value.
12097         (setCursor): add check if row->previous exists!
12098
12099         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12100         an old float_type as this was the case in the old code!
12101
12102         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12103
12104         * BufferView2.C (showLockedInsetCursor): use iy
12105         (fitLockedInsetCursor): ditto
12106
12107         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12108         locked insets as there we have the right value now.
12109
12110         * lyxcursor.C: added iy_ variable and iy functions to set to the
12111         baseline of cursor-y of the locked inset.
12112
12113         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12114         (setCursor): fixed for insets which need a full row.
12115
12116         * text.C (rowLastPrintable): don't ignore the last space when before
12117         an inset which needs a full row.
12118         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12119         as last character of a row when before a inset which needs a full row.
12120
12121 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12122
12123         * version.C.in: update date
12124
12125         * text2.C (fullRebreak): try to always return true and see what
12126         happens...
12127
12128 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12129
12130         * MenuBackend.C (expand): use Floating::listName
12131
12132         * FloatList.C (FloatList): add listName argument to the built-in
12133         floats
12134
12135         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12136         text associated with the float.
12137
12138 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12139
12140         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12141
12142 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12143
12144         * ShareContainer.h: add a couple of missing typenames.
12145
12146 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12147
12148         * lyxrc.C (getDescription): use _() correctly rather than N_().
12149
12150 2002-03-28  Herbert Voss  <voss@lyx.org>
12151
12152         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12153         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12154
12155 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12156
12157         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12158         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12159
12160 2002-03-29  Juergen Vigna  <jug@sad.it>
12161
12162         * lyxfunc.C (dispatch): add a missing fitCursor call.
12163
12164         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12165         it was scrolled by a cursor move, so return the bool status.
12166
12167         * BufferView.C (fitCursor): return the bool flag also to the outside
12168         world as this is needed.
12169
12170         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12171
12172         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12173         call the edit() as it is not needed (and wrong) IMO.
12174         (workAreaButtonPress): set the screen_first variable before evt.
12175         unlock the inset as this may change screen_first and then we have
12176         a wrong y position for the click!
12177
12178 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12179
12180         * MenuBackend.C (expand): another translation that I missed
12181
12182 2002-03-28  Juergen Vigna  <jug@sad.it>
12183
12184         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12185
12186         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12187
12188 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12189
12190         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12191
12192         * MenuBackend.C (expand): fix export/view/update when there is no
12193         document open.
12194
12195 2002-03-27  Herbert Voss  <voss@lyx.org>
12196
12197         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12198         and text%
12199
12200 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12201
12202         * bufferview_funcs.C (currentState): only show paragraph number
12203         for is DEVEL_VERSION is set.
12204
12205         * lyxfunc.C (dispatch): put warning in INFO channel
12206
12207         * MenuBackend.C (expand): translate the name of floats
12208
12209         * FloatList.C (FloatList): mark the float names for translation
12210
12211         * converter.C (convert): use LibScriptSearch
12212
12213 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12214
12215         * MenuBackend.C (defaults): fix default menu (we might as well get
12216         rid of it...)
12217
12218 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12219
12220         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12221         directory.
12222
12223 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12224
12225         * lyxvc.C: reorder includes.
12226
12227 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12228
12229         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12230           properly
12231
12232 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12233
12234         * CutAndPaste.C: change layouts earlier on paste
12235           to avoid crashing when calling getFont()
12236
12237 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12238
12239         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12240         irritating #error.
12241
12242 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12243
12244         * WorkArea.C: remove 'Pending' debug message.
12245
12246         * most files: ws cleanup
12247
12248         * buffer.[Ch]: ws changes
12249
12250         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12251
12252 2002-03-21  Juergen Vigna  <jug@sad.it>
12253
12254         * tabular.C (SetMultiColumn): collapse also the contents of the
12255         cells and set the last border right. Added a Buffer const * param.
12256
12257 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12258
12259         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12260         linking or not.
12261
12262 2002-03-19  Juergen Vigna  <jug@sad.it>
12263
12264         * text2.C (clearSelection): reset also xsel_cache.
12265
12266         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12267         where it needs to be called (John tells us to do so too :)
12268         (selectionLost): reset sel_cache.
12269
12270         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12271
12272 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12273
12274         * text2.C (setCursorIntern): put debuging code in INSETS channel
12275
12276 2002-03-19  André Pönitz <poenitz@gmx.net>
12277
12278         * lyxfunc.C: tiny whitespace change
12279
12280 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12281
12282         * ToolbarDefaults.C (init):
12283         * LyXAction.C (init):
12284         * commandtags.h:
12285         * BufferView_pimpl.C (Dispatch):
12286         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12287
12288 2002-03-19  Allan Rae  <rae@lyx.org>
12289
12290         * exporter.C (Export): removeAutoInsets before doing anything else.
12291         While I've just introduced a dependency on BufferView this really is
12292         the best place to clean the buffer otherwise you need to cleanup in
12293         a dozen places before calling export or cleanup in a dozen functions
12294         that export calls.
12295
12296         * converter.C (runLaTeX):
12297         (scanLog): Better handling of removeAutoInsets and screen updates.
12298
12299         * lyxfunc.C (dispatch): small whitespace changes
12300
12301 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12302
12303         * WorkArea.C (C_WorkAreaEvent): return a value.
12304         (event_cb): return 1 if we handled the event, 0 otherwise.
12305
12306         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12307
12308 2002-03-18  Juergen Vigna  <jug@sad.it>
12309
12310         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12311         (GetAdditionalWidth): ditto.
12312         (RightLine): ditto.
12313         (LeftLine): ditto.
12314
12315         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12316         inset if we're there actually (probably not used right now but this
12317         is the direction to go for unifying code).
12318         (paste): disable code to clear the selection.
12319
12320         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12321         inside an InsetText and move the check further up as it is in the
12322         wrong place.
12323
12324         * text2.C (pasteSelection): set a selection over the pasted text.
12325
12326 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12327
12328         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12329         and libgraphics to build on Cygwin.
12330
12331 2002-03-15  Juergen Vigna  <jug@sad.it>
12332
12333         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12334         inserting an Inset into the paragraph. I know this is not the best
12335         fix but we already use current_view in CutAndPaste so we will remove
12336         all of it's using at the same time.
12337
12338         * buffer.C (sgmlError): deactivated function till it is rewritten in
12339         the right mode, now it can create problems.
12340
12341         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12342         before accessing it.
12343
12344 2002-03-14  Juergen Vigna  <jug@sad.it>
12345
12346         * undo_funcs.C (textHandleUndo): do the right thing when updating
12347         the inset after the undo/redo.
12348
12349         * text2.C (setCursor): just some testcode for #44 not ready yet.
12350
12351         * undo_funcs.C (textHandleUndo): set the next() and previous()
12352         pointers of the paragraph to 0 before deleting otherwise we have
12353         problems with the Paragraph::[destructor].
12354
12355         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12356         on a paragraph insertion.
12357
12358 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12359
12360         * buffer.C (asciiParagraph): use += operator for char append to
12361         string.
12362
12363         * paragraph.C (getFontSettings): compare >= not just >
12364         (highestFontInRange): ditto
12365         (setFont): ditto
12366
12367 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12368
12369         * paragraph.C: change several algorithm to be more appripriate for
12370         the problem domain. This is lookip in FontList and in the InsetList.
12371
12372 2002-03-13  André Pönitz <poenitz@gmx.net>
12373
12374         * commandtags.h:
12375         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12376
12377 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12378
12379         * commandtags.h:
12380         * LyXAction.C:
12381         * lyxfunc.C:
12382         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12383
12384 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12385
12386         * Painter.C (display): anon helper function, adjust code for this
12387         change.
12388         (pixmap): remove function.
12389
12390         * Painter.h: remove private display variable.
12391
12392         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12393
12394 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12395
12396         * WorkArea.[Ch]: remove figinset_canvas cruft.
12397
12398 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12399
12400         * lyxtextclass.C (operator): add one item cache optimization.
12401
12402         * bufferlist.h: doxy changes
12403
12404         * bufferlist.C: ws changes
12405
12406         * DepTable.[Ch] (ext_exist): place const in the right spot.
12407
12408         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12409         call resizeInsets.
12410         (workAreaExpose): call resizeInsets when the with BufferView changes.
12411         (Dispatch): adjust for protectedBlank removal
12412         (specialChar): call updateInset if the insert went ok.
12413
12414         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12415         specialChar instead.
12416
12417         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12418
12419         * BufferView.h: doxy change
12420
12421         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12422
12423         * lyxtextclass.C (operator[]): remove non-const version
12424         (defaultLayout): remove non-const version
12425
12426 2002-03-12  Juergen Vigna  <jug@sad.it>
12427
12428         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12429         did resize the LyXText too.
12430
12431         * buffer.C (readLyXformat2): set layout information on newly allocated
12432         paragraphs.
12433
12434         * tabular.C (OldFormatRead): set layout information on the paragraph.
12435
12436 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12437
12438         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12439
12440 2002-03-11  Juergen Vigna  <jug@sad.it>
12441
12442         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12443         plainly wrong.
12444         (resizeCurrentBuffer): force also the insets to resize themselfes.
12445         (moveCursorUpdate): fixed up for InsetText.
12446
12447 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12448
12449         * commandtags.h:
12450         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12451         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12452         value of Dialogs::tooltipsEnabled().
12453         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12454
12455 2002-03-08  Juergen Vigna  <jug@sad.it>
12456
12457         * BufferView_pimpl.C (updateInset): update inset inside inset also
12458         if it isn't inside theLockingInset().
12459
12460 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12461
12462         * buffer.C (asciiParagraph): redo some of the word and line length
12463         handling.
12464         (getLists): look for Caption instead of caption.
12465
12466 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12467
12468         * buffer.C (Buffer): initialize niceFile to true
12469         (makeLaTeXFile):
12470         (makeLinuxDocFile):
12471         (makeDocBookFile): make sure niceFile is true on exit
12472
12473 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12474
12475         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12476
12477 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12478
12479         * LyXSendto.C: remove.
12480         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12481         * lyx_gui.C: remove now-redundant comment.
12482         * ColorHandler.h: remove forward declaration of class WorkArea.
12483         * lyxfunc.C: remove #include "WorkArea.h".
12484
12485 2002-03-07  Juergen Vigna  <jug@sad.it>
12486
12487         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12488         got moved away with the DEPM and also set the inset_owner always
12489         right which before could have been omitted.
12490
12491 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12492
12493         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12494         wanted layout is not found.
12495
12496 2002-03-07  Juergen Vigna  <jug@sad.it>
12497
12498         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12499
12500 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12501
12502         * paragraph.C (breakParagraph): use default layout not layout of
12503         prev paragraph.
12504         (Paragraph): clear ParagraphParameters.
12505
12506 2002-03-06  Juergen Vigna  <jug@sad.it>
12507
12508         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12509         otherwise it would not be a valid lenght. Fixed a special case in
12510         the minipage compatibility read where we end the document with a
12511         minipage.
12512
12513         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12514         was set as it could be 0 for InsetTexts first entry.
12515
12516 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12517
12518         * paragraph.C (writeFile): if layout is empty write out
12519         defaultLayoutName().
12520
12521         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12522         file without named layout we set layout to defaultLayoutName().
12523
12524 2002-03-06  Juergen Vigna  <jug@sad.it>
12525
12526         * CutAndPaste.C (copySelection): set layout for new paragraph.
12527
12528         * text.C (prepareToPrint): leave ERT inset left aligned
12529         (leftMargin): don't indent paragraphs inside ERT insets
12530
12531 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12532
12533         * paragraph.C (breakParagraph): dont call clear do the work manually
12534
12535         * paragraph.[Ch] (clear): remove function
12536
12537 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12538
12539         * paragraph.C (Paragraph): dont call clear, the work has already
12540         been done.
12541
12542         * lyxtextclass.C (operator): assert if n is empty
12543
12544         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12545         work manually instead.
12546
12547 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * BufferView_pimpl.C: protect selectionLost against text == 0
12550
12551 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12552
12553         * text.C (breakParagraph): fix a setting layout to '0' problem.
12554
12555 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12556
12557         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12558         final location of file, for the included files, and graphics.
12559
12560 2002-03-05  Juergen Vigna  <jug@sad.it>
12561
12562         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12563
12564 2002-03-04  Juergen Vigna  <jug@sad.it>
12565
12566         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12567
12568         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12569         last column of multicolumn cells.
12570         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12571
12572 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12573
12574         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12575         file if it doesn't go to a temporary file.
12576
12577         * buffer.C (sgmlOpenTag):
12578         (sgmlCloseTag):  remove extra newline insertion.
12579
12580 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12581
12582         * text.C (getRowNearY): comment out debug msg
12583
12584 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12585
12586         * text2.C: first -> first_y
12587
12588         * text.C (getRowNearY): add some attemts at a possible
12589         optimization, not working.
12590
12591         * tabular.[Ch]: add BufferParams to several function so that newly
12592         created paragraph can be initialized to he default layotu for the
12593         buffers textclass.
12594
12595         * tabular-old.C (ReadOld): add buf->params to call of Init
12596
12597         * screen.C: rename text->first to text->first_y
12598
12599         * paragraph.C (breakParagraph): always set layout in the broken
12600         paragraph
12601
12602         * lyxtextclass.C (Read): remove lowercase
12603         (hasLayout): ditto
12604         (operator): ditto
12605         (delete_layout): ditto
12606
12607         * lyxtext.h: rename first -> first_y
12608
12609         * lyxlayout.C (Read): remove lowercase
12610         (name): ditto
12611         (setName): ditto
12612         (obsoleted_by): ditto
12613
12614         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12615
12616         * buffer.C (insertErtContents): add params are to InsetERT
12617         (parseSingleLyXformat2Token): add code to check if a paragraphs
12618         layout really exist.
12619         (parseSingleLyXformat2Token): add params to several inset
12620         constructors
12621         (asciiParagraph): remove lowercase, do the layout comparisons with
12622         no_case
12623
12624         * BufferView_pimpl.C (cursorNext): first -> first_y
12625         (resizeCurrentBuffer): first -> first_y
12626         (updateScrollbar): first -> first_y
12627         (scrollCB): first -> first_y
12628         (workAreaMotionNotify): first -> first_y
12629         (workAreaButtonPress): first -> first_y
12630         (checkInsetHit): first -> first_y
12631         (cursorPrevious): first -> first_y
12632         (cursorNext): first -> first_y
12633         (Dispatch): add buffer_->params to severl inset contructors
12634
12635 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12636
12637         * lyxlayout.C (Read): remove some debug info that I forgot.
12638
12639         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12640         clean up the code slightly.
12641         (makeLinuxDocFile): ditto
12642         (makeDocBookFile): ditto
12643
12644         * text2.C: layout as string
12645
12646         * text.C: layout as string
12647
12648         * paragraph_pimpl.C: layout as string
12649
12650         * paragraph.[Ch]: layout as string
12651
12652         * lyxtextclasslist.[Ch]: layout as string
12653
12654         * lyxtextclass.[Ch]: layout as string
12655
12656         * lyxtext.h: layout as string
12657
12658         * lyxlayout.[Ch]: layout as string
12659
12660         * lyx_cb.C: layout as string
12661
12662         * bufferview_funcs.C: layout as string
12663
12664         * bufferparams.C: layout as string
12665
12666         * buffer.C: layout as string
12667
12668         * LyXView.[Ch]: layout as string
12669
12670         * LaTeXFeatures.[Ch]: layout as string
12671
12672         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12673
12674         * BufferView_pimpl.C: change current_layout to string, remove
12675         lyx::layout_type.
12676         (Dispatch):
12677         (smartQuote):
12678         (insertInset):
12679         (workAreaButtonRelease): layout as string
12680
12681         * BufferView2.C (unlockInset): adjust
12682
12683         * vspace.C (asLatexCommand): use an explict temp variable.
12684
12685 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12686
12687         * Makefile.am: use FRONTEND_*
12688
12689 2002-03-01  Juergen Vigna  <jug@sad.it>
12690
12691         * tabular.C (SetWidthOfMulticolCell): changed to something better
12692         I hope but still work in progress.
12693         (recalculateMulticolumnsOfColumn): renamed function from
12694         recalculateMulticolCells as it is more appropriate now.
12695         (SetWidthOfCell): calculate multicols better.
12696
12697 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12698
12699         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12700
12701         * lyxfunc.C (processKeySym): print sequence also if it is
12702         `deleted' (complete)
12703
12704         * kbsequence.C (print): print sequence even if it is deleted
12705         (complete would be a better word, actually).
12706
12707         * lyxfunc.C (dispatch): print complete options after a prefix key
12708
12709         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12710
12711 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12712
12713         * text2.C (setCharFont): eliminate setCharFont code duplication.
12714
12715 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12716
12717         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12718         LFUN_TABULAR_FEATURE (bug #177)
12719
12720 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12721
12722         * Makefile.am: remove figure.h
12723
12724 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12725
12726         * Bufferview_pimpl.C:
12727         * CutAndPasteC:
12728         * LaTeX.C:
12729         * LyXSendto.C:
12730         * buffer.C:
12731         * bufferlist.C:
12732         * converter.C:
12733         * language.C:
12734         * lyxfunc.C:
12735         * lyxvc.C:
12736         * paragraph.C:
12737         * text.C:
12738         * text2.C: remove #include "lyx_gui_misc.h".
12739
12740         * LaTeX.C: added #include <cstdio>
12741
12742 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12743
12744         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12745         that the paragraph following this one can have.
12746
12747         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12748
12749         * vspace.C (asLatexCommand): fix bogus gcc warning
12750
12751         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12752
12753 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12754
12755         * text2.C (setLayout): get rid of redundant code
12756
12757 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12758
12759         * text2.C (incDepth): make sure depth cannot be increased beyond
12760         reasonable values.
12761
12762 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12763
12764         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12765         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12766
12767         * PainterBase.h (image):
12768         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12769         a LyXImage const *.
12770
12771 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * BufferView.C:
12774         * BufferView.h:
12775         * BufferView_pimpl.C:
12776         * BufferView_pimpl.h:
12777         * LaTeXFeatures.C:
12778         * LyXAction.C:
12779         * LyXView.C:
12780         * Makefile.am:
12781         * UpdateList.h:
12782         * UpdateList.C:
12783         * buffer.C:
12784         * figure.h:
12785         * figureForm.C:
12786         * figureForm.h:
12787         * figure_form.C:
12788         * figure_form.h:
12789         * lyx_cb.C:
12790         * lyx_gui.C:
12791         * lyx_gui_misc.C:
12792         * lyxfunc.C:
12793         * sp_base.h:
12794         * sp_ispell.h:
12795         * sp_pspell.h:
12796         * sp_spell.C: remove fig inset, and the crap house of
12797           cards that follows it
12798
12799 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12800
12801         * Makefile.am:
12802         * lyxserver.C:
12803         * os2_defines.h:
12804         * os2_errortable.h:
12805         * nt_defines.h: move .h into support/
12806
12807         * vms_defines.h: remove
12808
12809         * WorkArea.C: add space in debug output
12810
12811         * text2.C:
12812         * paragraph.C:
12813         * buffer.C: add WITH_WARNINGS
12814
12815         * vc-backend.h:
12816         * vc-backend.C:
12817         * bufferlist.C: s/retrive/retrieve/, add docs
12818
12819         * vspace.h:
12820         * vspace.C:
12821         * kbmap.h:
12822         * lyxlength.h:
12823         * lyxgluelength.h:
12824         * length_common.h:
12825         * chset.h:
12826         * chset.C: add docs
12827
12828         * lyxgui.C: add ID to X error handler
12829
12830         * lyxtestclass.c: fix typo
12831
12832 2002-02-26  Juergen Vigna  <jug@sad.it>
12833
12834         * tabular_funcs.C (write_attribute): changed so that some default
12835         attributes are not written at all.
12836         (getTokenValue): set default values before trying to read the
12837         value so we have the return value always set as default if we don't
12838         find the token we search for.
12839
12840         * tabular.C (Write): write bools as bools not as strings!
12841
12842 2002-02-22  Juergen Vigna  <jug@sad.it>
12843
12844         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12845         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12846
12847         * text.C (leftMargin): don't add an indent for paragraphs inside
12848         tabular cells (fix #208).
12849
12850 2002-02-21  José Matos  <jamatos@fep.up.pt>
12851
12852         * tabular.C (docBook): fixed support for long tables.
12853
12854 2002-02-20  Juergen Vigna  <jug@sad.it>
12855
12856         * text2.C (getFont): get the drawing font of the Inset if this
12857         paragraph is inside an inset (only important for InsetERT for now).
12858
12859         * buffer.C (insertErtContents): use new lanugage params in ERT
12860         constructor.
12861
12862         * CutAndPaste.C: commenting out seemingly uneeded code.
12863
12864 2002-02-19  Allan Rae  <rae@lyx.org>
12865
12866         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12867         Iterators might be simple to use but they also get invalidated.
12868         (removeAutoInsets): renamed saved cursor tracking variables and added
12869         some comments to clarify what everything does.
12870
12871 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12872
12873         * Chktex.C:
12874         * LaTeX.C:
12875         * LyXSendto.C:
12876         * converter.C:
12877         * lyx_cb.C:
12878         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12879         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12880
12881         * lyxfunc.C:
12882         * vc-backend.h: remove #include "support/syscall.h"
12883
12884         * LaTeX.C:
12885         * LyXSendto.C:
12886         * converter.C: rearrange #includes in Lars' approved fashion.
12887
12888         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12889         forward declare class Timeout in the header file.
12890
12891         * XFormsView.C: changes due to the above.
12892
12893         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12894         similar to LyXView.
12895
12896         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12897         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12898
12899 2002-02-18  José Matos  <jamatos@fep.up.pt>
12900
12901         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12902         insets contents.
12903
12904 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12905
12906         * a lot of small ws changes
12907         * add a lot of using std::XXX
12908         * use std construcs some places where approp.
12909         * use some exisint stuff from lyxfunctional where approp.
12910         * Make file changes to use partial linking (lets test this now...)
12911
12912 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12913
12914         * Chktex.C:
12915         * buffer.C:
12916         remove #include "support/syscontr.h" as it's redundant. Always has been.
12917
12918         * Chktex.C:
12919         * LaTeX.C:
12920         * LyXSendto.C:
12921         * converter.C:
12922         * lyx_cb.C:
12923         * vc-backend.C:
12924         change Systemcalls::System to Systemcalls::Wait and
12925         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12926         No change of functionality, just reflects the stripped down Systemcalls
12927         class.
12928
12929 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12930
12931         * debug.[Ch]: add a GRAPHICS type to the enum.
12932
12933 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12934
12935         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12936
12937         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12938         there is an inset.
12939
12940 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12941
12942         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12943         match the changes below.
12944
12945         * text2.C (toggleInset): if there is not editable inset at cursor
12946         position, try to see if cursor is _inside_ a collapsable inset
12947         and close it.
12948
12949 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12950
12951         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12952         document menu has a nice checkbox
12953
12954 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12955
12956         * lyxlength.C (asLatexString): change PW to output as percent of
12957         \textwidth.
12958
12959         * lengthcommon.C: change '%' to 't%'
12960
12961         * lyxfunc.C (dispatch): a few comments from Martin
12962
12963 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12964
12965         * WorkArea.h:
12966         * WorkArea.C:
12967         * BufferView_pimpl.h:
12968         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12969           the X selection.
12970
12971 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12972
12973         * vspace.C (inPixels): fix compiler warning
12974
12975 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12976
12977         * lyxfunc.C (getStatus): fix status message for disabled commands.
12978
12979 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12980
12981         * BufferView_pimpl.C: fix crash on close buffer
12982         during selection (#227)
12983
12984 2002-01-27  Herbert Voss  <voss@lyx.org>
12985
12986         * buffer.C: link old Figure to new graphic inset
12987
12988 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12989
12990         * FontLoader.C (getFontinfo): Change the latex font names in order
12991         to match the names of type1inst.
12992
12993 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12994
12995         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12996
12997         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12998         (extchanged): ditto
12999         (ext_exist): ditto
13000         (remove_files_with_extension): ditto
13001         (remove_file): ditto
13002         (write): ditto
13003
13004         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13005         document is smaller than the work area height. Do not initialize
13006         static variables to 0.
13007
13008 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13009
13010         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13011
13012         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13013         LFUN_LAYOUT_PARAGRAPHS.
13014
13015         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13016         tabular. It is possible to provide a possible cell, which will
13017         typically be the actcell from the corresponding insettabular
13018
13019         * lyxfunc.C (getStatus): small cleanup; disable
13020         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13021         true
13022
13023 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13024
13025         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13026
13027         * paragraph.C (startTeXParParams):
13028         (endTeXParParams): new methods. The LaTeX code to
13029         start/end paragraph formatting
13030         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13031         empty (fixes bug #200)
13032
13033         * vspace.C (inPixels): adapt to the change below
13034         (inPixels): [later] more cleanups (remove unused variables)
13035
13036         * lyxlength.C (inPixels): change to use a width and a height as
13037         parameter.
13038
13039 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13040
13041         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13042         Replaced with \paperwidth
13043
13044         * DepTable.C (insert): add std:: qualifier
13045
13046 2002-01-18  Allan Rae  <rae@lyx.org>
13047
13048         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13049         updated also?
13050
13051         * text.C (drawInset): Turned out I didn't know enough about how
13052         rebreaking worked.  This fixes most of the redraw problems.  I see
13053         an occasional cursor trail when a line is broken now and the cursor
13054         placement can seem out by a few pixels also after a rebreak.
13055
13056 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13057
13058         * buffer.C (parseSingleLyXformat2Token): update because minipage
13059         width is now a LyXLength
13060
13061         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13062
13063         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13064         math insets
13065
13066 2002-01-17  Juergen Vigna  <jug@sad.it>
13067
13068         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13069
13070         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13071         is set correctly and the inset is updated correctly.
13072
13073 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13074
13075         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13076         the beginning of the loop.
13077
13078 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13079
13080         * lyxrc.C: improve help for use_scalable_fonts
13081
13082 2002-01-17  Allan Rae  <rae@lyx.org>
13083
13084         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13085
13086 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13087
13088         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13089         make sure to set their inset_owner to the right value (bug #171)
13090
13091 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13092
13093         * DepTable.h
13094         * DepTable.C: Implement mtime checking to reduce time spent doing
13095         CRCs.
13096
13097 2002-01-16  Juergen Vigna  <jug@sad.it>
13098
13099         * tabular.C (GetAdditionalHeight): one of error fixed.
13100
13101         * lyxrc.C (output): small fix in writing use_pspell.
13102
13103 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13104
13105         * sp_base.h: #include LString.h
13106
13107 2002-01-16  Allan Rae  <rae@lyx.org>
13108
13109         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13110         Can someone check this please?
13111
13112         * text.C (drawInset): It was possible that p.row would be removed by
13113         breakAgainOneRow upsetting a few other settings.  There may be another
13114         small tweak possible by setting need_break_row = 0 when p.row has been
13115         removed but I don't know enough about the logic here.
13116
13117 2002-01-15  Allan Rae  <rae@lyx.org>
13118
13119         * text.C (insertChar): removed conditional truism.
13120
13121         * BufferView2.C (removeAutoInsets): More tweaks.
13122         cur_par_prev could be a stray pointer.  Check for trailing empty line
13123         in case last line was cur_par and only had an error inset on it.
13124
13125 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13126
13127         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13128         absolute
13129
13130         * vc-backend.C (most methods):
13131         * exporter.C (Export):
13132         * converter.C (convert):
13133         (runLaTeX):
13134         * LyXSendto.C (SendtoApplyCB):
13135         * lyxfunc.C (dispatch):
13136         (menuNew):
13137         (open):
13138         (doImport):
13139         * lyx_cb.C (AutoSave):
13140         (InsertAsciiFile):
13141         * BufferView_pimpl.C (MenuInsertLyXFile):
13142         * buffer.C (runChktex): use Buffer::filePath().
13143
13144         * buffer.h: rename filename to filename_; rename filepath to
13145         filepath_ and make it private
13146         (filePath): new method
13147
13148         * buffer.C (writeFile): use fileName()
13149         (getLatexName):
13150
13151         * lyx_main.C (init): fix starting  of LyX when the binary is a
13152         link from so,ewhere else.
13153
13154         * minibuffer.C: include <cctype> for isprint
13155
13156 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13157
13158         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13159         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13160         name clash with InsetCollapsable's width function.
13161
13162 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * lastfiles.C: include <iterator>
13165
13166 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13167
13168         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13169         std::count.
13170
13171         * buffer.C (makeLaTeXFile): ditto.
13172         Also make loop operation more transparent.
13173
13174 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13175
13176         * ToolbarDefaults.C: remove trailing comma closing namespace.
13177
13178         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13179
13180         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13181         as in WorkArea.
13182
13183         * trans.C (Load): comment out unused variable, allowed.
13184
13185 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13186
13187         * minibuffer.[Ch] (append_char): new method to recieve input from the
13188         drop-down completion browser. If a key was pressed, then recieve this
13189         char and append it to the existing string.
13190         (peek_event): modify the positioning data passed to the completion
13191         browser so that it can be placed above the minibuffer rather than below.
13192 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13193
13194         * LyXAction.C (init): alloe error-next for readonly documents.
13195
13196         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13197         count.
13198
13199 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13200
13201         * bufferlist.C (readFile): create the buffer _after_ checking that
13202         the file exists.
13203
13204         * lyxfunc.C (verboseDispatch): fix handling of arguments
13205
13206         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13207
13208         * lyxrc.C: use string::erase() instead of initializing to "".
13209
13210
13211 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13212
13213         * BufferView_pimpl.h:
13214         * BufferView_pimpl.C:
13215         * WorkArea.h:
13216         * WorkArea.C:
13217         * text2.C: tell X when we have made a selection for copying
13218
13219 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13220
13221         * BufferView_pimpl.C (MenuInsertLyXFile):
13222         * lyxfunc.C (menuNew):
13223         (open):
13224         (doImport): add shortcuts to directory buttons
13225
13226         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13227         open a float)
13228
13229         * lyxfunc.C (setStatusMessage):
13230         (getStatusMessage): new methods
13231         (getStatus):use setStatusMessage instead of setErrorMessage
13232         (dispatch): when function is disabled, set error message here
13233         [instead of in getStatus previously]
13234
13235         * BufferView_pimpl.C (workAreaButtonRelease): update
13236         toolbar/menubar here too.
13237
13238 2002-01-13  Allan Rae  <rae@lyx.org>
13239
13240         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13241         Now seems indestructible.  Remaining task is to audit all other
13242         code affected by deleteEmptyParagraphMechanism.  One small quirk
13243         left is that an empty document with an error in the preamble can
13244         be made to report an error but no error box appears.  I don't know
13245         where it goes.
13246         (removeAutoInsets): Improved comments.
13247
13248 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13249
13250         * Thesaurus.h:
13251         * Thesaurus.C: update for Aiksaurus 0.14
13252
13253 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13254
13255         * text2.C (firstParagraph): removed member function, all uses
13256         replaces with ownerParagraph
13257         (redoParagraphs): here
13258         (updateInset): here
13259         (toggleAppendix): here
13260         * BufferView2.C (insertErrors): here
13261         (setCursorFromRow): here
13262
13263 2002-01-13  Allan Rae  <rae@lyx.org>
13264
13265         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13266         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13267         There is still a way to segfault this although you may have to do this
13268         multiple times: Have an InsetERT with an unknown command in it.
13269         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13270         <down-arrow>, <Enter> again, View->DVI, BANG!
13271
13272         * text2.C (setCursor):
13273         (deleteEmptyParagraphMechanism):
13274         * lyxtext.h (setCursor):
13275         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13276         Making use of the return value may help fix other bugs.
13277
13278 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13279
13280         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13281
13282         * LyXView.C (updateMenubar): call MenuBar::update here
13283         (updateToolbar): but not here
13284         (showState): do not update toolbar/menubar
13285
13286         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13287         should need to care about that.
13288
13289         * lyxfunc.C (verboseDispatch): simplify a bit
13290         (getStatus): have a version which takes a pseudoaction, and
13291         another which requires a (kb_action,string).
13292
13293         * LyXAction.C (retrieveActionArg): make it work also when action
13294         is not a pseudo-action.
13295         (getActionName): simplify a bit
13296         (helpText):
13297
13298 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13299
13300         * lyxfunc.C (verboseDispatch): new families of methods with
13301         several ways to specify a command and a bool to indicate whether
13302         the command name and shortcut should be displayed in minibuffer
13303         (eventually, we could extend that to a finer bitmask like
13304         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13305         (dispatch): the pristine dispatch command which just, well,
13306         dispatchs! Note it still sets its result to minibuffer; I'm not
13307         sure we want that.
13308
13309         * lyxfunc.h: remove setHintMessage
13310
13311         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13312
13313 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13314
13315         * BufferView_pimpl.C (specialChar): delete new inset if we have
13316         not been able to insert it.
13317
13318         * kbmap.C: revert to using int instead of kb_action, since all we
13319         are dealing with is pseudo-actions.
13320
13321         * LyXAction.C (searchActionArg): change to return int instead of
13322         kb_action, since the result is a pseudoaction.
13323
13324 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13325
13326         * buffer.C (insertErtContents): Fix (partially) the font bug.
13327
13328 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13329
13330         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13331         as the other one is broken on my machine!
13332
13333 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13334
13335         * commandtags.h:
13336         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13337
13338 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13339
13340         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13341         reflect their actual use. Provide compatibility code for older lyxrc
13342         files.
13343
13344         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13345         FL_NORMAL_STYLE.
13346         change names of popup font variables in line with the changes to lyxrc.C
13347
13348 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13349
13350         * buffer.C (asciiParagraph): avoid outputing a word twice after
13351         an inset.
13352
13353         * lyxrc.C (getDescription): document that document_path and
13354         template_path can be empty.
13355
13356 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13357
13358         * LaTeXFeatures.C (getMacros):
13359         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13360
13361         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13362
13363         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13364         getPackages.
13365         (getPackages): rename feature "floats" to "float". Use an array to
13366         iterate over 'simple' features (i.e. just a \usepackage). Add
13367         handling of "amsmath" (renamed from "amsstyle").
13368
13369 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13370
13371         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13372         features list.
13373
13374 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13375
13376         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13377         FuncStaus::FuncStatus & FuncStaus::some_method().
13378
13379 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13380
13381         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13382         of the func_satus stuff. Edited and massaged in various ways by
13383         JMarc.
13384
13385         * lyxfunc.C (getStatus): use FuncStatus
13386
13387 2002-01-08  Juergen Vigna  <jug@sad.it>
13388
13389         * text.C (nextBreakPoint): use function Inset::isChar().
13390
13391         * paragraph.C (TeXOnePar): use function
13392         Inset::forceDefaultParagraphs.
13393
13394         * buffer.C (latexParagraphs): use function
13395         Inset::forceDefaultParagraphs.
13396
13397 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13398
13399         * lyx_gui.C (init): set the style of the menu popups to
13400         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13401
13402 2002-01-07  Juergen Vigna  <jug@sad.it>
13403
13404         * text.C (setHeightOfRow): small fix
13405         (prepareToPrint): don't look at alignment if we don't have the place
13406         for doing it.
13407
13408 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13409
13410         * box.C: New file. Move the Box methods and functions out of box.h,
13411         following Lars' suggestion.
13412
13413 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13414
13415         * box.h: #include "support/LOstream.h", needed for inlined function.
13416
13417         * lyxtextclass.C:
13418         * lyxtextclasslist.C: added some using std declarations.
13419
13420 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13421
13422         * box.h: make signed dimensions to allow insets wider than
13423           the screen (bug #162)
13424
13425         * BufferView_pimpl.C: add some insetHit debug
13426
13427 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13428
13429         * vc-backend.C: add FIXME
13430
13431 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13432
13433         * lyxfunc.C (getStatus): enable code for showing math font status
13434         in toolbar/menu.
13435
13436 2002-01-07  Juergen Vigna  <jug@sad.it>
13437
13438         * text.C (nextBreakPoint): removed debug output not needed anymore.
13439
13440 2002-01-06  Juergen Vigna  <jug@sad.it>
13441
13442         * text.C (nextBreakPoint): fixed up this function we had this bug
13443         since ever but now hopefully we break row better.
13444         (insertChar): we have to check if an inset is the next char as it
13445         could now happen that a large inset is causing a break.
13446
13447 2002-01-05  Juergen Vigna  <jug@sad.it>
13448
13449         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13450         if it doesn't like to be drawed.
13451
13452 2002-01-04  Juergen Vigna  <jug@sad.it>
13453
13454         * BufferView2.C (lockInset): forgot to set a cursor.
13455
13456         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13457
13458 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13459
13460         * FormMathsPanel.C:
13461         * FormMathsPanel.h
13462         * MathsSymbols.C:
13463         * form_maths_panel.C:
13464         * form_maths_panel.h:
13465         * form_maths_panel.fd: implemented sub- and super- buttons in math
13466         panel.
13467
13468         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13469         (or ^ space) to be used as in TeX (req'd by André).
13470
13471         * lyxfunc.C: Allow ^ and _ again to be used both as
13472         super/subscript (mathed) and as themselves (in text).
13473
13474 2002-01-03  Allan Rae  <rae@lyx.org>
13475
13476         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13477         "LyX" or the filename of the current buffer if it has one.  This is a
13478         modified form of John Levon's patch.
13479
13480         * XFormsView.C (setWindowTitle): also set icon title.
13481
13482         * LyXView.h (setWindowTitle): signature changed.
13483         * XFormsView.h (setWindowTitle): ditto.
13484
13485 2002-01-02  Juergen Vigna  <jug@sad.it>
13486
13487         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13488
13489 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13490
13491         * screen.C (topCursorVisible): introduce a temp var for
13492         text->cursor.row(), handle the case where this row is null. (kindo
13493         hachish)
13494
13495         * text2.C (setCursor): add a couple of asserts.
13496
13497         * paragraph.h (inset_iterator): add -> operator
13498
13499         * paragraph.[Ch] (autoDeleteInsets): remove member function
13500
13501         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13502         cursor pos correctly and handle inset deletion by itself.
13503         (insertErrors): move iterator declaration out of for expression
13504
13505         * lyxtextclass.C: add <algorithm>
13506
13507         * Makefile.am: added the new files to sources, removed layout.C
13508
13509         * layout.C: removed file
13510
13511         * layout.h: remove LYX_DUMMY_LAYOUT
13512
13513         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13514         layout.
13515
13516         * lyxlayout.[Ch]:
13517         * lyxtextclass.[Ch]:
13518         * lyxtextclasslist.[Ch]: new files
13519
13520         * include order changes to a lot of files, also changes because of
13521         the six new files.
13522
13523 2001-12-27  Juergen Vigna  <jug@sad.it>
13524
13525         * buffer.C (asciiParagraph): more fixes.
13526
13527         * tabular.C (ascii): make ascii export support export of only the
13528         data separated by a column-delimiter.
13529         (ascii): better support for ascii export.
13530
13531         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13532
13533 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13534
13535         * tabular_funcs.C: use a "using std::getline" instead of the
13536         previous fix from Angus (necessary for cxx + lyxstring)
13537
13538 2001-12-24  Juergen Vigna  <jug@sad.it>
13539
13540         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13541
13542         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13543         problems. First check a minipage also if we have some ert-contents
13544         (not only on par->size(), second set the right depth of the paragraph
13545         on the relink to the root-paragraph-list!
13546
13547         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13548         which then did not anymore update the main paragraphs on undo/redo!
13549
13550 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13551
13552         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13553         code. Support all font-changing funcs (even those which are not in
13554         menu currently). Support for reporting font settings in
13555         mathed (disabled until Andre provides a function on mathed's side).
13556
13557         * func_status.h (toggle): small helper function to set toggle
13558         state on a flag.
13559
13560 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13561
13562         * tabular_funcs.C: getline -> std::getline
13563
13564 2001-12-21  Juergen Vigna  <jug@sad.it>
13565
13566         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13567         accessed and could be 0 (I couldn't generate this but it seems
13568         Michael could!).
13569
13570 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13571
13572         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13573         * tabular_funcs.h: here and include iosfwd
13574
13575 2001-12-20  Juergen Vigna  <jug@sad.it>
13576
13577         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13578         inside inset but undo_par was.
13579
13580 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13581
13582         * Thesaurus.C: always include <config.h> in sources.
13583
13584         * Painter.h:
13585         * lyxlookup.h:
13586         * box.h: do not include <config.h> in header files
13587
13588         * text.C (paintLastRow): remove unused variable
13589
13590         * text.C (transformChar):
13591         (insertChar):
13592         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13593
13594         * Painter.C (text):
13595         * font.C (width): rewrite to use uppercase() instead of
13596         islower/toupper.
13597
13598         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13599
13600 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13601
13602         * lyxfind.C: clean up of find failure position change
13603
13604 2001-12-20  Juergen Vigna  <jug@sad.it>
13605
13606         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13607
13608         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13609         (TeXRow): added to LaTeX a single tabular row.
13610         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13611         (Latex): simplified and finally good LT-h/f support.
13612         (various_functions): just small adaptions for LT-h/f support.
13613
13614         * tabular_funcs.[hC]: added and moved here all not classfunctions
13615         of LyXTabular.
13616
13617 2001-12-19  Juergen Vigna  <jug@sad.it>
13618
13619         * tabular.[Ch]: better support for longtabular options (not finished
13620         yet!)
13621
13622 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13623
13624         * text.C (paintLastRow): use the label font instead of the font of
13625         the last character to compute the size of *_BOX. This makes more
13626         sense and avoids a crash with empty paragraphs.
13627         Use Painter::rectangle to draw EMPTY_BOX.
13628
13629 2001-12-19  Juergen Vigna  <jug@sad.it>
13630
13631         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13632         the paragraphs if the replaced paragraph is not the first one!
13633         Tried to delete not used paragraphs but does not work yet so for
13634         now it's inside #ifdef's and by default off!
13635
13636 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13637
13638         * MenuBackend.C: include "lyx_main.h" instead of declaring
13639         lastfiles (actually was declared as LastFiles* instead of a
13640         scoped_ptr).
13641
13642 2001-12-17  Juergen Vigna  <jug@sad.it>
13643
13644         * tabular.C (AppendColumn): applied John's fix
13645
13646 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13647
13648         * BufferView.h:
13649         * BufferView.C:
13650         * BufferView_pimpl.h:
13651         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13652
13653         * Makefile.am:
13654         * box.h: new start of class for above
13655
13656         * lyxfunc.C: ignore space-only minibuffer dispatches.
13657           Show the command name when it doesn't exist
13658
13659         * minibuffer.C: don't add empty lines to the history
13660
13661         * minibuffer.C: add a space on dropdown completion
13662
13663 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13664
13665         * text.C: fix line above/below drawing in insets
13666
13667 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13668
13669         * lyxlength.C (LyXLength): Initialize private variables.
13670
13671 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13672
13673         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13674         when inserting error insets.
13675
13676 2001-12-13  Juergen Vigna  <jug@sad.it>
13677
13678         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13679         actually sometimes the before-paragraph.
13680         (setUndo): don't clear the redostack if we're not actually undoing!
13681
13682 2001-12-06  Juergen Vigna  <jug@sad.it>
13683
13684         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13685         and fixed redoing of main paragraph, so we can use it now ;)
13686
13687         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13688
13689 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13690
13691         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13692         Juergen's request
13693
13694 2001-12-13  André Pönitz <poenitz@gmx.net>
13695
13696         * undostack.[Ch]:
13697         * undo_func.C: minor cleanup
13698
13699 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13700
13701         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13702         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13703         font in urw-fonts package which is marked as -urw-fontspecific and
13704         does not work (incidentally, changing the encoding in the
13705         fonts.dir of this package to -adobe-fontspecific fixes the
13706         problem).
13707
13708         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13709         is a crash when undoing first paragraph (Juergen, please take a
13710         look). THis does not mean the undo fix is wrong, just that it
13711         uncovers problems.
13712
13713         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13714         the (Paragraph*) version when needed instead of duplicating the
13715         code.
13716
13717         * text.C (workWidth): use Inset::parOwner to find out where the
13718         inset has been inserted. This is a huge performance gain for large
13719         documents with lots of insets. If Inset::parOwner is not set, fall
13720         back on the brute force method
13721
13722         * paragraph_pimpl.C (insertInset):
13723         * paragraph.C (Paragraph):
13724         (cutIntoMinibuffer): set parOwner of insets when
13725         inserting/removing them
13726
13727         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13728
13729 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13730
13731         * commandtags.h:
13732         * LyXAction.C:
13733         * lyx_main.C:
13734         * lyxfunc.C:
13735         * mathed/formulabase.C:
13736         * mathed/math_cursor.[Ch]:
13737         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13738
13739
13740 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13741
13742         * lyxlength.[Ch] (operator!=): new function
13743
13744 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13745
13746         * text.C (workWidth): use Inset::parOwner to find out where the
13747         inset has been inserted. This is a huge performance gain for large
13748         documents with lots of insets. If Inset::parOwner is not set, fall
13749         back on the brute force method
13750
13751         * paragraph_pimpl.C (insertInset):
13752         * paragraph.C (Paragraph):
13753         (cutIntoMinibuffer): set parOwner of insets when
13754         inserting/removing them
13755
13756         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13757
13758 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13759
13760         * tabular-old.C (getTokenValue):
13761         * tabular.C (getTokenValue):
13762         (write_attribute): new versions for LyXLength
13763         (everywhere): adjust the use of widths
13764
13765         * tabular.h: change the type of widths from string to LyXLength
13766
13767 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13768
13769         * paragraph.C: fixed missing line number count when exporting
13770         Environments to LaTeX file
13771
13772         * buffer.C: added informational message for checking line numbers.
13773
13774 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13775
13776         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13777         paragraph, do the 'double space' part, but not the 'empty
13778         paragraph' one.
13779
13780         * text.C (workWidth): small optimization
13781         (getLengthMarkerHeight): use minimal size for negative lengths.
13782
13783 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13784
13785         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13786
13787         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13788
13789 2001-12-11  André Pönitz <poenitz@gmx.net>
13790
13791         * FontLoader.C:
13792         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13793
13794 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13795
13796         * text2.C: keep selection on a setFont()
13797
13798 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13799
13800         * lyx_cb.C: another bv->text misuse, from insert label
13801
13802 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13803
13804         * kbsequence.h:
13805         * kbsequence.C: re-instate nmodifier mask
13806
13807 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13808
13809         * lyx_main.h: make lyxGUI private.
13810
13811 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13812
13813         * lyxfind.C: place the cursor correctly on failed search
13814
13815 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13816
13817         * text.C (getLengthMarkerHeight): for small heights, the arrows
13818         are not always on top/bottom of the text
13819         (drawLengthMarker): smaller arrows; take the left margin in
13820         account; draw also vfills.
13821         (paintFirstRow):
13822         (paintLastRow): remove special code for vfill and standard spaces,
13823         since everything is handled in drawLengthMarker now.
13824
13825 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13826
13827         * buffer.C (insertErtContents): try to handle font and language
13828         interaction a bit better.g
13829
13830         * ColorHandler.C (updateColor): change the hash to cover the whole
13831         LColor enum, ws cleanup
13832         (getGCLinepars): ditto
13833         (getGCLinepars): only lookup in the linecache once.
13834
13835 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13836
13837         * iterators.C (operator++): Make the iterator more robust
13838
13839         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13840         (John's patch)
13841         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13842
13843 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13844
13845         * lyxtext.h:
13846         * text.C: better added space drawing
13847
13848 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13849
13850         * LyXView.C:
13851         * BufferView2.C: fix layout combo update on inset unlock
13852
13853 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13854
13855         * Makefile.am: don't compile unused files
13856
13857 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13858
13859         * lyxfunc.C:
13860         * commandtags.h:
13861         * LyXAction.C: remove old LFUN_LAYOUTNO
13862
13863 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13864
13865         * paragraph_pimpl.h:
13866         * paragraph_pimpl.C: isTextAt() doesn't need font param
13867
13868 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13869
13870         * lyxlex.h:
13871         * lyxlex.C: little cleanup
13872
13873 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13874
13875         * BufferView_pimpl.C: fix insertAscii for insets
13876
13877 2001-12-05  Juergen Vigna  <jug@sad.it>
13878
13879         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13880         set the right font on the "multi" paragraph paste!
13881
13882 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13883
13884         * trans_decl.h:
13885         * trans_mgr.[Ch]:
13886         * trans.[Ch]:
13887         * lyxgluelength.C:
13888         * lyxlength.C: remove out-commented code.
13889
13890         * BufferView_pimpl:
13891         * CutAndPaste.C:
13892         * DepTable.C:
13893         * buffer.C:
13894         * chset.C:
13895         * lastfiles.C:
13896         * lyxlex.C:
13897         * lyxlex_pimpl.C:
13898         * lyxserver.C:
13899         * screen.C:
13900         * tabular-old.C:
13901         * tabular.C:
13902         * text.C:
13903         * trans_mgr.C:
13904         * vc-backend.C: change "while(" to "while ("
13905
13906         * lyxlength.[Ch]: add zero function to check if length is zero or
13907         not
13908         * lyxgluelength.C: use it
13909
13910 2001-12-05  Allan Rae  <rae@lyx.org>
13911
13912         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13913         Works for 2.95.3, from what I understand of Garst's reports this should
13914         work for other g++ versions.  We're screwed if the abs(int) definition
13915         changed between bugfix releases of gcc.
13916
13917 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13918
13919         * text.C: fix chapter label offset !
13920
13921 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13922
13923         * lyxtext.h:
13924         * text.C: fix hfill at end of line, clean up
13925
13926 2001-12-04  Juergen Vigna  <jug@sad.it>
13927
13928         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13929         that we force an update of the inset and it's owners if neccessary.
13930
13931 2001-12-03  Juergen Vigna  <jug@sad.it>
13932
13933         * text.C (rowLast): simplified code
13934
13935 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13936
13937         * lyxfunc.C: fix show options on timeout
13938
13939 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13940
13941         * screen.C (topCursorVisible): scroll half a page when the cursor
13942         reached top of bottom of screen
13943
13944 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13945
13946         * minibuffer.C: deactivate on loss of focus
13947
13948 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13949
13950         * vspace.[Ch] (operator!=): add operator.
13951
13952 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13953
13954         * BufferView_pimpl.C: refuse to open an inset when
13955         there's a selection.
13956
13957 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13958
13959         * BufferView_pimpl.C: allow to click on RHS of full row insets
13960
13961 2001-11-30  Juergen Vigna  <jug@sad.it>
13962
13963         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13964         insets for undo reasons.
13965
13966 2001-11-28  André Pönitz <poenitz@gmx.net>
13967
13968         * vspace.[Ch]: cosmetical changes
13969
13970 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13971
13972         * LyXAction.h:
13973         * LyXAction.C:
13974         * lyxfunc.h:
13975         * lyxfunc.C:
13976         * kbmap.h:
13977         * kbmap.C:
13978         * lyxrc.C:
13979         * kbsequence.h:
13980         * kbsequence.C: part re-write of old kb code
13981
13982         * Painter.C:
13983         * WorkArea.C: remove Lgb_bug_find_hack
13984
13985 2001-11-30  José Matos <jamatos@fep.up.pt>
13986
13987         * buffer.C (makeDocBookFile): add a comment to point a hack.
13988         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13989         Fixed a double write of labels.
13990
13991 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13992
13993         * LaTeX.C:
13994         * LaTeX.h Fixed bug in LaTeX class where it would not
13995         re-run latex if no depfiles were changed, but the .dvi was removed.
13996
13997 2001-11-28  André Pönitz <poenitz@gmx.net>
13998
13999         * all the files from the change on 2001/11/26:
14000         use lyx::layout_type instead of LyXTextClass::size_type
14001         use lyx::textclass_type instead of LyXTextClassList::size_type
14002
14003 2001-11-29  Juergen Vigna  <jug@sad.it>
14004
14005         * text.C: added support for paragraph::isFreeSpacing()
14006
14007         * buffer.C: same as above
14008
14009         * paragraph.h: inserted isFreeSpacing() function to enable
14010         FreeSpacing inside InsetERT.
14011
14012         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14013         of the paragraph's in the cut/copy buffer to 0!
14014
14015         * text2.C (removeRow): remove the assert as it can!
14016
14017         * lyxtext.h: added helper function firstRow returning firstrow and
14018         made firstrow private again.
14019
14020         * BufferView2.C (lockInset): don't relock if we're already locked!
14021
14022         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14023         the only paragraph.
14024         (removeRow): added Assert::(firstrow)
14025
14026         * debug.C: forgot to add INSETTEXT here.
14027
14028 2001-11-28  Juergen Vigna  <jug@sad.it>
14029
14030         * sp_spell.C (initialize): changed error text to more general
14031         spellchecker command use (not only ispell!)
14032
14033         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14034
14035         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14036
14037 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14038
14039         * vspace.C: initialise lyxgluelength on failure
14040
14041 2001-11-28  Allan Rae  <rae@lyx.org>
14042
14043         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14044         declaration & definition that looks like a function declaration.
14045
14046 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14047
14048         * BufferView2.C (copy):
14049         (copyEnvironment): do not clear the selection when doing a copy.
14050
14051         * text.C (paintFirstRow): compilation fix
14052
14053 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14054
14055         * tabular.C (Latex): correct line count when writing latex.
14056
14057 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14058
14059         * paragraph_pimpl.h:
14060         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14061           bug a bit
14062
14063 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14064
14065         * text.C:
14066         * LColor.h:
14067         * LColor.C: change vfillline->added_space
14068
14069         * text.C: add markers and text for added space
14070
14071         * vspace.C: fix comment
14072
14073 2001-11-28  André Pönitz <poenitz@gmx.net>
14074
14075         * paragraph.C: whitespace changes
14076         * all the other files from the change on 2001/11/26:
14077         change *::pos_type into lyx::pos_type
14078
14079 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14080
14081         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14082         language of the document when inserting error insets.
14083
14084 2001-11-26  André Pönitz <poenitz@gmx.net>
14085
14086         * BufferView_pimpl.[Ch]:
14087         *       CutAndPaste.C:
14088         * buffer.[Ch]:
14089         * lyxcursor.[Ch]:
14090         * lyxfind.C:
14091         * lyxfunc.C:
14092         * lyxrow.[Ch]:
14093         * paragraph.[Ch]:
14094         * paragraph_pimpl.[Ch]:
14095         * sp_spell.C:
14096         * text.C:
14097         * text2.C: reduce header dependencies, introduce type for positions
14098
14099 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14100
14101         * <various>: change to use Alert.h
14102
14103 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14104
14105         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14106         when encountering an unknown token.
14107         (readLyXformat2): Show an error message if there were unknown tokens.
14108
14109 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14110
14111         * BufferView2.C:
14112         * BufferView_pimpl.C:
14113         * buffer.C:
14114         * paragraph.h:
14115         * text.C:
14116         * text2.C: use par->isInset()
14117
14118 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14119
14120         * paragraph_pimpl.h:
14121         * paragraph_pimpl.C: cleanup
14122
14123 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14124
14125         * text2.C (removeRow):
14126         * text.C (setHeightOfRow): remove useless (and costly) call to
14127         getRow.
14128
14129 2001-11-20  Allan Rae  <rae@lyx.org>
14130
14131         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14132         Now need Inset*::checkInsertChar() to return true for appropriate
14133         cases so that the characters in the minibuffer will actually be
14134         inserted.
14135
14136 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14137
14138         * text.C: change the order of the includes.
14139         (workWidth): initialize it at once.
14140         (workWidth): make maxw unsigned
14141         (setHeightOfRow): remove unused variable (inset)
14142         (selectSelectedWord): remove unused variable (inset)
14143         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14144
14145 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14146
14147         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14148         server is not running.
14149         (openConnection):
14150         (closeConnection): add debug info when server is disabled.
14151
14152         * ColorHandler.C (getGCForeground): send debug message to GUI
14153         channel.
14154
14155         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14156
14157         * kbmap.C (bind): modify because return conventions of
14158         kb_sequence::parse have changed.
14159
14160         * kbsequence.C (parse): only ignore spaces and not any stupid
14161         control character. This avoids tests like s[i] <= ' ', which are
14162         guaranteed to fail with 8bit characters and signed chars.
14163         Change return code to string::npos when there have been no error
14164         (0 was a bad idea when error is at first character)
14165
14166 2001-11-14  José Matos  <jamatos@fep.up.pt>
14167
14168         * buffer.h:
14169         * buffer.C (simpleDocBookOnePar): removed unused argument.
14170
14171 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14172
14173         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14174         insets which are part of a word. Paragraph::isLetter takes care of
14175         that now. Use Paragraph::isInset to identify insets.
14176         (selectSelectedWord): do not test for hyphenation break.
14177
14178         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14179         that protected spaces are considered as spaces.
14180
14181         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14182         Inset::isLetter.
14183
14184 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14185
14186         * lyxserver.h:
14187         * lyxserver.C: fix it. and small cleanup.
14188
14189 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14190
14191         * BufferView_pimpl.C: use inline helpers
14192
14193         * LaTeXFeatures.h:
14194         * LaTeXFeatures.C: fix typos
14195
14196         * Spacing.h:
14197         * Spacing.C: move spacing_string into class
14198
14199         * ToolbarDefaults.C: move stuff into namespace anon
14200
14201         * layout.h: update enum
14202
14203         * lyxfunc.C: use better debug
14204
14205         * minibuffer.h: fix typo
14206
14207         * debug.h:
14208         * debug.C:
14209         * WorkArea.C: add and use Debug::WORKAREA
14210
14211         * lyxtext.h:
14212         * text.C:
14213         * text2.C: code re-organisation, inline helpers
14214
14215 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14216
14217         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14218         std::vector.empty().
14219
14220 2001-11-09  Allan Rae  <rae@lyx.org>
14221
14222         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14223         '\n's after tables.  Tabular and ERT inset work now makes this no
14224         longer necessary.
14225
14226 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14227
14228         * minibuffer.h:
14229         * minibuffer.C: fix crash, improve drop-down completion
14230
14231 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14232
14233         * lyxserver.h:
14234         * lyxserver.C: invalidate fd's when doing endPipe()
14235
14236 2001-11-08  José Matos  <jamatos@fep.up.pt>
14237
14238         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14239         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14240
14241         * paragraph.h:
14242         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14243
14244 2001-11-07  José Matos  <jamatos@fep.up.pt>
14245
14246         * buffer.h:
14247         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14248         const qualifier.
14249
14250         * buffer.C (sgmlOpenTag):
14251         * buffer.C (sgmlCloseTag): removed debug info.
14252
14253         * buffer.h (sgmlOpenTag):
14254         * buffer.h (sgmlCloseTag): made public.
14255
14256 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14257
14258         * buffer.C (saveParamsAsDefaults):
14259         * lyx_cb.C (MenuLayoutSave): remove
14260
14261         * LyXAction.C (init):
14262         * commandtags.h:
14263         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14264
14265 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14266
14267         * buffer.C (setPaperStuff): removed from here...
14268
14269         * bufferparams.C (setPaperStuff): ... and moved there.
14270
14271 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14272
14273         * minibuffer.h:
14274         * minibuffer.C:
14275         * XFormsView.C: add support for drop-down completion
14276
14277 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14278
14279         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14280         commands.
14281
14282 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14283
14284         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14285         disabled.
14286
14287 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14288
14289         * lyx_main.C: change ref to known bugs
14290
14291 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14292
14293         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14294         to work around older babel problems.
14295
14296 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14297
14298         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14299
14300 2001-10-24  Juergen Vigna  <jug@sad.it>
14301
14302         * tabular-old.C (ReadOld): below variable changes reflected.
14303
14304         * tabular.[Ch]: added ltType struct for longtable header/footer
14305         defines and changed all instances where they are used. Added
14306         future support for double top/bottom rows.
14307
14308 2001-10-24  José Matos  <jamatos@fep.up.pt>
14309
14310         * buffer.h (docbookHandleCaption):
14311         * buffer.C (docbookHandleCaption): removed unused function.
14312         (makeDocBookFile): moved docbook supported version to v4.1.
14313
14314 2001-10-24  José Matos  <jamatos@fep.up.pt>
14315
14316         * tabular.h:
14317         * tabular.C (docbookRow): new function to export docbook code of a row.
14318         (DocBook): now honors the longtable flags.
14319
14320 2001-10-23  José Matos  <jamatos@fep.up.pt>
14321
14322         * LaTeXFeatures.h:
14323         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14324         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14325
14326         * buffer.C (makeLinuxDocFile):
14327         (makeDocBookFile): reworked the preamble, more clean, and with
14328         support for lyx defined entities. Changed the document declaration
14329         to be more XML friendly.
14330
14331         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14332         if we need to output XML that should be done with a filter.
14333
14334 2001-10-22  Juergen Vigna  <jug@sad.it>
14335
14336         * sp_pspell.h (class PSpell): add alive function needed in the
14337         controller to see if the spellchecker could be started.
14338
14339 2001-10-22  Juergen Vigna  <jug@sad.it>
14340
14341         * buffer.C (insertStringAsLines): modify the font for inserting
14342         chars in certain conditions by calling checkInsertChar(font).
14343
14344 2001-10-19  Juergen Vigna  <jug@sad.it>
14345
14346         * text.C (workWidth): use getRow instead of wrong algorithm.
14347         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14348
14349 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14350
14351         * lyxserver.h:
14352         * lyxserver.C:
14353         * lyx_main.h:
14354         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14355
14356 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14357
14358         * text.C (workWidth): do not search for the exact row when
14359         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14360         optimization for big documents.
14361
14362 2001-10-18  Juergen Vigna  <jug@sad.it>
14363
14364         * text.C (workWidth): new function with added Inset * parameter.
14365
14366 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14367
14368         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14369
14370         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14371         change return type of getColumnNearX.
14372
14373
14374         * text.C (changeRegionCase): use uppercase/lowercase instead of
14375         toupper/tolower.
14376         (leftMargin):
14377         (rightMargin): simplify code by factoring out the uses of
14378         textclasslist.
14379         (labelFill):
14380         (numberOfHfills):
14381         (setHeightOfRow):
14382         (appendParagraph): use Paragraph::size_type
14383
14384 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14385
14386         * vspace.C (asLatexString): add a missing break
14387
14388 2001-10-15  Herbert Voss  <voss@perce.de>
14389
14390         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14391
14392 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14393
14394         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14395         is not available.
14396
14397 2001-10-10  André Pönitz <poenitz@gmx.net>
14398
14399         * lyxfunc.C: removed greek_kb_flag.
14400
14401 2001-10-10  Herbert Voss  <voss@perce.de>
14402
14403         * lyx_main.C: delete global string help_lyxdir.
14404
14405 2001-10-09  Herbert Voss  <voss@perce.de>
14406
14407         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14408
14409         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14410
14411         * lyx_main.C: added global string help_lyxdir.
14412
14413         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14414
14415 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14416
14417         * lyxrc.C (set_font_norm_type): support iso8859-4
14418
14419 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14420
14421         * LaTeX.C (deplog): add another regex for MikTeX
14422
14423 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14424
14425         * lyxrc.C (set_font_norm_type): support iso8859-3
14426
14427 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14428
14429         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14430
14431         * LaTeXFeatures.C: remove special case of french and index
14432
14433         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14434         before \begin{document}). This solves several incompatibilities.
14435
14436 2001-10-03  Garst Reese  <reese@isn.net>
14437
14438         * lyx_cb.C: change CheckTex error msg.
14439
14440 2001-10-03  José Matos  <jamatos@fep.up.pt>
14441
14442         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14443
14444 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14445
14446         * .cvsignore: update
14447
14448         * lyx_main.C (commandLineVersionInfo): use new style version info.
14449
14450         * buffer.C (writeFile):
14451         (makeLaTeXFile):
14452         (makeLinuxDocFile):
14453         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14454
14455         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14456
14457         * version.h: update to use stuff in version.C
14458
14459         * version.C.in: new file. Contains version information determined
14460         at compile time. This is a merging of version.h and
14461         version_info.h.in.
14462
14463 2001-10-03  Juergen Vigna  <jug@sad.it>
14464
14465         * BufferView_pimpl.C (update): don't change "dirty" status in
14466         updateInset call.
14467
14468 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14469
14470         * WorkArea.C (c-tor): re-position version string slightly.
14471
14472 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14473
14474         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14475         revert to previous code.
14476
14477         WorkArea.[Ch]: (show, destroySplash): methods removed.
14478
14479         WorkArea.C: rework code so that it's an amalgam of the codes before and
14480         after the splash screen was moved to WorkArea.
14481
14482 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14483
14484         * lyxrc.C (read):
14485         * vspace.C (inPixels):
14486         (lyx_advance):
14487         * kbmap.C (bind):
14488         * buffer.C (insertStringAsLines):
14489         (asciiParagraph): fix types to be large enough
14490
14491         * lyxlex_pimpl.h: change member status from short to int
14492
14493         * layout.h: fix type of endlabeltype
14494
14495         * kbmap.C (bind):
14496         * kbsequence.C (parse): change return type to string::size_type
14497
14498         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14499         variable
14500
14501         * Bullet.C (bulletSize):
14502         (bulletEntry): do not use short ints as parameters
14503
14504         * BufferView2.C (insertLyXFile): change a char to an int.
14505
14506         * WorkArea.C (WorkArea): remove unneeded floats in computation
14507
14508 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14509
14510         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14511
14512         * paragraph.C (asString): Do not ignore newline/hfill chars when
14513         copying to the clipboard.
14514
14515 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14516
14517         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14518         after a multi-line inset.
14519
14520 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14521
14522         * paragraph.C (validate): Set NeedLyXFootnoteCode
14523
14524 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14525
14526         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14527         and decrease-error to decrease.
14528
14529 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14530
14531         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14532         it more readable (should be equivalent)
14533
14534 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14535
14536         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14537
14538 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14539
14540         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14541         of a cursor (row, etc.) after a character has been deleted
14542         (deleteEmptyParagraphMechanism): call the method above on _all_
14543         cursors held by the LyXText when a double space has been
14544         detected/deleted.
14545
14546 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14547
14548         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14549         pixmap.
14550         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14551
14552         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14553         background. Use greyOut() and the new show() methods to toggle between
14554         the foreground and background. Add code to remove the splash after
14555         its initial showing.
14556
14557         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14558         (create_forms): no longer call Dialogs::showSplash.
14559
14560 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14561
14562         * .cvsignore: add version_info.h
14563
14564 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14565
14566         * version_info.h.in: new file
14567
14568         * Makefile.am: add version_info.h.in
14569
14570         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14571         version_info.h instead of VERSION_INFO
14572
14573 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14574
14575         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14576         The ERT inset now returns string().
14577
14578 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14579
14580         * lyxtext.h, text.C (selectNextWord): renamed as
14581         selectNextWordToSpellcheck.
14582
14583         * text.C (selectNextWordToSpellcheck): Modified to not select
14584         words inside an ERT inset.
14585
14586 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14587
14588         * lyx_cb.C (MenuLayoutSave): change a bit the question
14589
14590         * sp_base.h: include <sys/types.h>
14591
14592 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14593
14594         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14595
14596 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14597
14598         * several files: fix typos in user-visible strings
14599
14600 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14601
14602         * text2.C (pasteSelection): do not set the selection, since it
14603         will be cleared later. Actually, the intent was to fix the way the
14604         selection was set, but I figured rmoving the code was just as good.
14605
14606 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14607
14608         * FontLoader.C (available): Check if font is available without
14609         loading the font.
14610
14611 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14612
14613         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14614
14615 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14616
14617         * lyxrc.[Ch]: added display_graphics variable and associated code.
14618
14619 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14620
14621         * bufferparams.C (hasClassDefaults): new method. Returns true if
14622         the buffer parameters correspond to known class defaults
14623
14624 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14625
14626         * XFormsView.C (show): set minimum size to the main window.
14627
14628 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14629
14630         * text2.C (copySelection):
14631         (cutSelection):
14632         * lyxfind.C (LyXReplace):
14633         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14634         LyXText::selectionAsString.
14635
14636         * paragraph.C (asString): add "label" argument to the second form
14637
14638         * text2.C (selectionAsString): add "label" argument and pass it to
14639         Paragraph::asString.
14640
14641 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14642
14643         * lyx_main.C (commandLineHelp): remove version information
14644
14645 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14646
14647         * lyx_main.C: add -version commandline option
14648
14649 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14650
14651         * paragraph.h: make the optional constructor arg required instead.
14652         some modifications to other files because of this.
14653
14654         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14655
14656         * lyxserver.C (C_LyXComm_callback): make it static
14657
14658         * lyx_main.C (error_handler): make it static
14659
14660         * lyx_gui.C (LyX_XErrHandler): make it static
14661
14662         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14663
14664         * WorkArea.C: make the extern "C" methods static.
14665
14666         * Makefile.am (lyx_LDADD): simplify
14667
14668 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14669
14670         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14671         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14672
14673         * LyXAction.C (init):
14674         * lyxfunc.C (dispatch): associated code removal.
14675
14676 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14677
14678         * lyxfont.h (isSymbolFont): shut off warning
14679
14680         * text.C (setHeightOfRow):
14681         (getVisibleRow): fix crash with empty paragraphs which have a
14682         bottom line
14683
14684 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14685
14686         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14687         code.
14688
14689 2001-09-04  José Matos  <jamatos@fep.up.pt>
14690         * buffer.C
14691         * buffer.h
14692         * tabular.C (docbook): rename docBook method to docbook.
14693
14694 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14695
14696         * Makefile.am: add dependencies to main.o.
14697
14698 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14699
14700         * FontLoader.C (available): Return false if !lyxrc.use_gui
14701
14702 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14703
14704         * FontInfo.C (query):
14705         * converter.C (view):
14706         * importer.C (Import):
14707         * exporter.C (Export): Can not -> cannot.
14708
14709 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14710
14711         * BufferView_pimpl.C: allow to create index inset even if
14712           string is empty
14713
14714 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14715
14716         * buffer.C (getLists): replace boost::tie code with an explicit pair
14717         as boost::tie can break some compilers.
14718
14719         * iterators.h: Added a std:: declaration to the return type of
14720         ParIterator::size.
14721
14722 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14723
14724         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14725           case.
14726
14727 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14728
14729         * iterators.[Ch]: New files. Provide paragraph iterators.
14730
14731         * buffer.C (changeLanguage): Use paragraph iterators.
14732         (isMultiLingual): ditto
14733
14734         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14735
14736 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14737
14738         * FontLoader.C: Support for cmr font.
14739
14740 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14741
14742         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14743         (available): New method.
14744
14745         * FontInfo.C (getFontname): Use scalable fonts even when
14746         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14747         found.
14748
14749 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14750
14751         * converter.C (Formats::view): reverted! Incorrect fix.
14752
14753 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14754
14755         * converter.C (Formats::view): only output the -paper option
14756         if the dvi viewer is xdvi, thereby fixing bug #233429.
14757
14758 2001-08-23  Herbert Voss  <voss@perce>
14759
14760         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14761
14762 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14763
14764         * Spacing.h (Spacing): Set space to Default on in the default
14765         constructor.
14766
14767 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14768
14769         * vc-backend.h (RCS::versionString): add RCS to version
14770         (CVS::versionString): add CVS to version
14771
14772         * vc-backend.C (scanMaster): do not add CVS to version.
14773         (scanMaster): do not add RCS to version
14774
14775         * lyxvc.C (versionString): new method
14776
14777         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14778
14779 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14780
14781         * Spacing.C (set): initialize fval
14782
14783 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14784
14785         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14786         " or \.
14787
14788 2001-08-16  Juergen Vigna  <jug@sad.it>
14789
14790         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14791
14792 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14793
14794         * BufferView_pimpl.C:
14795         * figureForm.C:
14796         * lyxtext.h:
14797         * text2.C: setParagraph takes linespacing now
14798
14799 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14800
14801         * LyxAction.C: add internal LFUN_CITATION_INSERT
14802
14803         * LyXView.C: actually apply fix
14804
14805         * bufferlist.C: fix open non-existent file
14806
14807         * lyxfind.C: fix indentation
14808
14809         * lyxfunc.C: remove unneeded assert, fix typo
14810
14811 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14812
14813         * MenuBackend.C: use "Floatname List"
14814
14815 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14816
14817         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14818         when converting LaTeX layout to insetERT.
14819         Generate a non-collapsed float when reading old float
14820
14821 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14822
14823         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14824         ERT insets.
14825
14826 2001-08-13  Juergen Vigna  <jug@sad.it>
14827
14828         * text.C (fill): return 0 instead of 20 as this seems to be the more
14829         correct value.
14830
14831 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14832
14833         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14834         lyxrc.font_norm.
14835
14836 2001-08-13  Juergen Vigna  <jug@sad.it>
14837
14838         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14839         casesensitive off.
14840         (SearchBackward): comment out the unlocking of the inset_owner this
14841         should not be needed!
14842
14843 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14844
14845         * Many files: Remove inherit_language, and add latex_language
14846
14847         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14848         collapsible insets.
14849
14850 2001-08-10  Juergen Vigna  <jug@sad.it>
14851
14852         * text.C (prepareToPrint): fixed hfill-width in draw!
14853
14854         * BufferView2.C (selectLastWord): save the selection cursor as this
14855         now is cleared in the function LyXText::clearSelection!
14856
14857 2001-08-08  Juergen Vigna  <jug@sad.it>
14858
14859         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14860         BACKSPACE type functions.
14861
14862         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14863         is only cutted from the document but not put in the cut-buffer, where
14864         still the old stuff should be.
14865
14866         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14867
14868         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14869
14870         * tabular.C (SetWidthOfCell): fixed special case where the width
14871         was not updated!
14872         (LeftLine): handle '|' in align_special.
14873         (RightLine): ditto
14874         (LeftAlreadyDrawed): ditto
14875         (SetWidthOfCell): ditto
14876
14877 2001-08-07  Juergen Vigna  <jug@sad.it>
14878
14879         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14880
14881 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14882
14883         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14884         * lyxlex.[hC]: ditto
14885
14886 2001-08-06  Juergen Vigna  <jug@sad.it>
14887
14888         * text.C (getVisibleRow): fix up row clearing a bit.
14889
14890 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14891
14892         * minibuffer.C: make sure the X server sees the changes in the input.
14893
14894 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14895
14896         * paragraph.C (getFont): split into...
14897         (getLabelFont): this
14898         (getLayoutFont): and this
14899         * paragraph_pimpl.C (realizeFont): calling this
14900
14901         * text2.C (getFont): split into...
14902         (getLayoutFont): this
14903         (getLabelFont): and this
14904         (realizeFont): all three calling this
14905
14906         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14907         files where used.
14908
14909 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14910
14911         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14912
14913 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14914
14915         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14916         layouts from the Quote inset insertion.
14917
14918 2001-08-03  Juergen Vigna  <jug@sad.it>
14919
14920         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14921
14922         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14923         only if status not is already CHANGED_IN_DRAW (second level).
14924
14925         * text.C (draw): don't set the need_break_row when inside an
14926         InsetText LyXText.
14927
14928 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14929
14930         * buffer.C (parseSingleLyXformat2Token): handle more latex
14931         conversion cases.
14932
14933         * bufferview_funcs.[hC]: change function names to
14934         begin with small char, adjust other files.
14935
14936 2001-08-02  André Pönitz <poenitz@gmx.net>
14937
14938         * lyxfunc.C:
14939         BufferView_pimpl.C: remove broken special code for math-greek
14940
14941 2001-08-02  Juergen Vigna  <jug@sad.it>
14942
14943         * BufferView_pimpl.C (update): redone this function so that we
14944         update the text again if there was a CHANGE_IN_DRAW.
14945
14946         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14947         (drawFromTo): added a new internal bool which is used by draw() and
14948         redraw() function.
14949         (general): some cursor drawing problems fixed.
14950
14951 2001-08-01  Juergen Vigna  <jug@sad.it>
14952
14953         * lyxfind.C (LyXFind): fixed
14954         (SearchForward): ditto
14955         (SearchBackward): ditto
14956
14957         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14958         spurius drawing of the cursor in the main area.
14959
14960         * text2.C (status): small fix which could lead to a segfault!
14961         (clearSelection): remove unneeded BufferView param.
14962
14963 2001-08-01  André Pönitz <poenitz@gmx.net>
14964
14965         * lyxfunc.C: small change due to changed mathed interface
14966
14967 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14968
14969         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14970
14971 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14972
14973         * lyxfunc.c: fail gracefully if file doesn't exist
14974
14975         * LyXSendto.C:
14976         * buffer.C:
14977         * lyxfunc.C:
14978         * BufferView_pimpl.C: IsDirWriteable() proto changed
14979
14980         * LyXView.C: fix updateWindowTitle() to store the last title
14981
14982 2001-07-31  Juergen Vigna  <jug@sad.it>
14983
14984         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14985         the font (wrong since using of Paragraph::highestFontInRange).
14986
14987         * paragraph.C (highestFontInRange): added a default_size parameter.
14988
14989         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14990         (setHeightOfRow): reformat
14991
14992 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14993
14994         * converter.[hC] + affected files: move to (inital-char)lowercase
14995         function names.
14996
14997         * ParagraphParameters.C (ParagraphParameters): remove commented code
14998
14999         * PainterBase.[Ch]: remove commented code
15000
15001         * LaTeXFeatures.h: add "bool floats" for float.sty
15002
15003         * LaTeXFeatures.C (LaTeXFeatures): init floats
15004         (require): handle float
15005         (getPackages): do it with floats
15006
15007 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15008
15009         * BufferView_pimpl.C (Dispatch): improve handling of
15010         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15011
15012         * commandtags.h: #include lyxfont.h here temporarily to avoid
15013         keybinding bug.
15014
15015         * bufferlist.h: include LString.h here.
15016
15017 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15018
15019         * text2.C (getStringToIndex): new method.
15020
15021 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15022
15023         * *: Reduced header file dependencies all over.
15024
15025 2001-07-30  Baruch Even  <baruch@lyx.org>
15026
15027         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15028
15029 2001-07-29  Baruch Even  <baruch@lyx.org>
15030
15031         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15032
15033 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15034
15035         * ParameterStruct.h (endif): add a default constructor to make
15036         sure that all variables is initialized.
15037
15038         * ParagraphParameters.C (ParagraphParameters): adjust
15039
15040 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15041
15042         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15043         index; also, check that there is something to index, and that it
15044         does not span over several paragraphs.
15045         (doubleClick): use WHOLE_WORD_STRICT for double click.
15046
15047         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15048
15049         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15050         scheme.
15051
15052 2001-07-26  Baruch Even  <baruch@lyx.org>
15053
15054         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15055         an InsetFig figure, backwards compatible reading of old figure code.
15056
15057 2001-07-27  Juergen Vigna  <jug@sad.it>
15058
15059         * text2.C: font.realize function adaption.
15060
15061         * text.C (draw): add a warnings lyxerr text if needed.
15062
15063         * layout.C: font.realize function adaption.
15064
15065         * language.C: add inherit_language and implement it's handlings
15066
15067         * bufferview_funcs.C (StyleReset): remove language parameter from
15068         font creation (should be language_inherit now).
15069
15070         * bufferparams.C (writeFile): handle ignore_language.
15071
15072         * paragraph.C (getFontSettings): the language has to be resolved
15073         otherwise we have problems in LyXFont!
15074
15075         * lyxfont.C (lyxWriteChanges): added document_language parameter
15076         (update): removed unneeded language parameter
15077
15078         * paragraph.C (validate): fixed wrong output of color-package when
15079         using interface colors for certain fonts in certain environments,
15080         which should not seen as that on the final output.
15081
15082 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15083
15084         * BufferView_pimpl.C:
15085         * Thesaurus.h:
15086         * Thesaurus.C:
15087         * Makefile.am:
15088         * commandtags.h:
15089         * LyXAction.C: add thesaurus support
15090
15091         * lyxfind.h:
15092         * lyxfind.C: add "once" parameter, for thesaurus, to not
15093           move to the next match
15094
15095 2001-07-26  Juergen Vigna  <jug@sad.it>
15096
15097         * lyxfont.C (realize): honor ignore_language too!
15098         (resolved): ditto.
15099
15100         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15101
15102         * text.C (draw): one place more for ignore_language to not draw
15103         itself!
15104
15105 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15106
15107         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15108
15109 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15110
15111         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15112         the minipage conversion problem.
15113
15114 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15115
15116         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15117         insert an inset.
15118
15119 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15120
15121         * BufferView.h: don't forward declare WorkArea
15122
15123         * BufferView.C: don't include WorkArea.h
15124
15125 2001-07-25  André Pönitz <poenitz@gmx.net>
15126
15127         * commandtags.h:
15128         * LyXAction.C:
15129         * lyxfunc.C:  new LFUN 'math-space'
15130
15131         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15132
15133 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15134
15135         * text2.C (toggleInset): call open/close
15136
15137 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15138
15139         * lyxfunc.C (dispatch): add debug for the disabled case
15140
15141         * font.C (buttonText): make similar to rectText
15142
15143         * buffer.C (readInset): comment out parsing of insetlist and
15144         insttheorem
15145
15146         * PainterBase.C (rectText): small correction
15147
15148         * BufferView_pimpl.C: comment out insettheorem and insetlist
15149         * LyXAction.C: ditto
15150         * commandtags.h: ditto
15151
15152 2001-07-24  Juergen Vigna  <jug@sad.it>
15153
15154         * text.C (draw): honor the ignore_language.
15155
15156         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15157
15158 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15159
15160         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15161         char inset.
15162
15163 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15164
15165         * lyxtext.h: remove unused (and unimplemented) methods
15166
15167 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15168
15169         * text.C (getVisibleRow): honor background color
15170
15171         * PainterBase.h:
15172         * Painter.h: remove default color argument for fillRectangle
15173
15174         * text.C (backgroundColor): new method
15175
15176 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15177
15178         * text.C (getVisibleRow): adjust
15179
15180         * font.[Ch] (rectText): new method, metrics
15181         (buttonText): new method, metrics
15182
15183         * PainterBase.[hC]: make rectText and buttonText always draw and take
15184         fewer paramteres.
15185
15186 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15187
15188         * ToolbarDefaults.C (read):
15189         * MenuBackend.C (read): allow escaping in all strings
15190
15191         * BufferView_pimpl.C (insertAndEditInset): new method.
15192         (Dispatch): use insertAndEditInset whenever appropriate.
15193
15194         * BufferView_pimpl.C (insertNote): removed
15195
15196         * BufferView_pimpl.C (smartQuote): new method, moved from
15197         BufferView; if an insetquote cannot be inserted, insert a '"'
15198         character instead.
15199
15200         * BufferView2.C: remove insertCorrectQuote();
15201
15202         * lyxfunc.C (getStatus): Add support for all remaingin
15203         inset-insert lfuns.
15204
15205         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15206
15207         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15208         command (necessary to pass " as parameter of self-insert.
15209
15210         * text.C (selectWordWhenUnderCursor):
15211         (selectWord): add word_location parameter
15212         (selectWordWhenUnderCursor): same + remove special code for word
15213         boundary.
15214         (selectNextWord): use kind() to guess type of insetspecialchar,
15215         not latex().
15216
15217         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15218         (insertErtContents): create ert insets as collapsed.
15219         (readInset): better compatibility code for Info inset.
15220
15221 2001-07-20  Juergen Vigna  <jug@sad.it>
15222
15223         * lyxfunc.C (dispatch): use always LyXFind now!
15224
15225         * text2.C (init): add a reinit flag so that the LyXText can be
15226         reinited instead of deleted and reallocated (used in InsetText).
15227
15228         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15229
15230         * text.C: ditto
15231
15232         * text2.C: ditto
15233
15234 2001-07-18  Juergen Vigna  <jug@sad.it>
15235
15236         * text.C (selectNextWord): handle insets inside inset by calling
15237         always the bv->text functions so that we can go up the_locking_inset!
15238
15239         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15240         in strange locations when inside an inset!
15241
15242         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15243         handling to include insets.
15244
15245         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15246
15247 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15248
15249         * LyXAction.C (init):
15250         * commandtags.h:
15251         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15252         LIGATURE_BREAK, since the name is so stupid.
15253
15254 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15255
15256         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15257         InsetInfos.
15258
15259         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15260
15261         * sp_form.[Ch]: remove.
15262
15263         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15264
15265         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15266         InsetInfo.
15267
15268         * src/buffer.C (readInset): ditto.
15269
15270 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15271
15272         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15273         menuSeparator(), endOfSentenceDot(), ldots() and
15274         hyphenationPoint(), which are therefore removed.
15275         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15276
15277         * LyXAction.C (init):
15278         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15279
15280         * paragraph.C (getWord): removed.
15281
15282         * BufferView_pimpl.C (Dispatch): use last word or selection for
15283         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15284
15285         * lyx_main.C (queryUserLyXDir): do not ask before creating
15286         user_dir, except if it has been named explicitely.
15287
15288 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15289
15290         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15291         a document of zero size.
15292
15293 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15294
15295         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15296         approriately in the c-tor and in require().
15297         (getPackages): output the appropriate LaTeX for natbib support.
15298
15299         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15300         variables "use_natbib" and "use_numerical_citations" when reading the
15301         LyX file.
15302         (readInset): read the various natbib cite commands.
15303         (validate): white-space change.
15304
15305         * bufferparams.[Ch]: new variables "bool use_natbib" and
15306         "bool use_numerical_citations".
15307         (writeFile): output them in the LyX file.
15308
15309 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15310
15311         * lyxfunc.C (getStatus): add support for all the inset insertion
15312         commands.
15313
15314         * text2.C (insertInset):
15315         * paragraph.C (insetAllowed):
15316         * BufferView_pimpl.C (insertInset): update to take in account the
15317         renaming of insertInsetAllowed
15318
15319         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15320
15321         * text2.C (getInset): new method. returns inset at cursor position.
15322
15323         * BufferView_pimpl.C (Dispatch): changes because of this.
15324
15325         * LyXAction.C (init): rename open-stuff to inset-toggle.
15326
15327         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15328
15329         * text2.C (toggleInset): renamed from openStuff; use
15330         Inset::open().
15331
15332 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15333
15334         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15335
15336         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15337
15338 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15339
15340         * buffer.C (readLyXformat2): Add filename to the error dialog
15341
15342 2001-07-18  Juergen Vigna  <jug@sad.it>
15343
15344         * tabular.C (GetCellNumber): put an assert here instead of the check!
15345
15346 2001-07-17  Juergen Vigna  <jug@sad.it>
15347
15348         * BufferView_pimpl.C (toggleSelection): adapted too.
15349
15350         * text.C (selectNextWord): adapted for use with insets.
15351         (selectSelectedWord): ditto
15352
15353 2001-07-17  Juergen Vigna  <jug@sad.it>
15354
15355         * sp_spell.C (PSpell): fix initialitation order.
15356
15357 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15358
15359         * paragraph.C: spacing
15360
15361 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15362
15363         * sp_spell.C: repair language selection for pspell
15364
15365 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15366
15367         * lyxfunc.h: change more methods to begin with lower char.
15368
15369 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15370
15371         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15372         for unknown layouts.
15373
15374 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15375
15376         * buffer.C (readLyXformat2): Generate an error dialog if there are
15377         unknown layouts.
15378
15379 2001-07-16  Juergen Vigna  <jug@sad.it>
15380
15381         * sp_spell.C: always compile ISpell part.
15382
15383         * lyxrc.C: added use_pspell entry and it's handling.
15384
15385 2001-07-13  Juergen Vigna  <jug@sad.it>
15386
15387         * sp_spell.C: removed double includes.
15388
15389 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15390
15391         Consistent use of Lsstream.h:
15392         * Lsstream.h: added using std::stringstream for consistencies sake.
15393
15394         * buffer.C: removed using std::stringstream
15395
15396         * lyxfont.C (stateText):
15397         * paragraph.C (asString):
15398         * text.C (selectNextWord, selectSelectedWord):
15399         * text2.C (setCounter):
15400         * vspace.C (asString, asLatexString):
15401         std::ostringstream -> ostringstream.
15402
15403 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15404
15405         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15406         * commandtags.h: add LFUN_HELP_ABOUTLYX
15407         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15408
15409 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15410
15411         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15412         cursorToggle()
15413         * lyx_gui_misc.C: remove spellchecker
15414         * lyxfunc.C: showSpellchecker
15415         * sp_base.h: added
15416         * sp_ispell.h: added
15417         * sp_pspell.h: added
15418         * sp_spell.C: added
15419         * sp_form.[Ch]: removed
15420         * spellchecker.[Ch]: removed
15421
15422 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15423
15424         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15425         is set.
15426         (simpleTeXSpecialChars): Simply print the input character without
15427         any special translation if pass_thru is set.
15428
15429         * layout.h: Added bool pass_thru to layout class for being able to
15430         implement pass through of a paragraph for Literate Programming.
15431
15432         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15433         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15434         * layout.C (Read): add "passthru" to list of layout tags and add
15435         code to set the pass_thru boolean when it is read.
15436
15437 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15438
15439         * trans_decl.h: remove allowed from KmodInfo
15440
15441         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15442         remove allowed code
15443         (Load): adjust
15444
15445         * paragraph_pimpl.C (erase): use boost::prior
15446
15447         * Painter.C (text): use data() instead of c_str() when length is
15448         also provided.
15449         * WorkArea.C (putClipboard): ditto
15450         * font.h (width): ditto
15451
15452         * BufferView2.C: use it-> instead of (*it). for iterators
15453         * texrow.C: ditto
15454         * paragraph_pimpl.C: ditto
15455         * paragraph.C: ditto
15456         * minibuffer.C: ditto
15457         * language.C: ditto
15458         * kbmap.C: ditto
15459         * encoding.C: ditto
15460         * counters.C: ditto
15461         * converter.C: ditto
15462         * chset.C: ditto
15463         * Variables.C: ditto
15464         * TextCache.C: ditto
15465         * MenuBackend.C: ditto
15466         * LyXAction.C: ditto
15467         * LColor.C: ditto
15468         * FloatList.C: ditto
15469         * DepTable.C: ditto
15470         * ColorHandler.C (LyXColorHandler): ditto
15471
15472 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15473
15474         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15475
15476         * text2.C (openStuff): reintroduce this method (which had been
15477         nuked in NEW_INSETS frenzy).
15478
15479         * lyxfunc.C (Dispatch): when an action has not been handled, use
15480         its name in the error message, not its number.
15481
15482         * paragraph.C (inInset): change method name to begin with lowercase.
15483
15484         * undo_funcs.C:
15485         * text2.C: updates because of this.
15486
15487 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15488
15489         * ToolbarDefaults.C (add): add spaces in error message
15490
15491 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15492
15493         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15494         (readLyXformat2): rename return_par to first_par, use lyxlex's
15495         pushToken and remove the manual push handling.
15496         (parseSingleLyXformat2Token): add another ert comp. variable:
15497         in_tabular, rename return_par to first_par. handle newlines better
15498
15499 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15500
15501         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15502
15503 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15504
15505         * text2.C (getParFromID): removed
15506
15507         * buffer.C (getParFromID): new method moved form lyxtext.
15508         * BufferView2.C (insertErrors): adjust
15509         (setCursorFromRow): adjust
15510         * BufferView_pimpl.C (restorePosition): adjust
15511         * lyxfunc.C (Dispatch): adjust
15512         * undo_funcs.C (textUndo): adjust
15513         (textRedo): adjust
15514         (textHandleUndo): adjust
15515         (textHandleUndo): adjust
15516
15517 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15518
15519         * buffer.C: up' the LYX_FORMAT
15520
15521         * lyxfont.h: turn NO_LATEX on as default
15522
15523         * buffer.C (insertErtContents): new methods of tex style compability.
15524         (parseSingleLyXformat2Token): use it several places.
15525         * tabular.C (OldFormatRead): and here
15526
15527 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15528
15529         * text2.C: remove some commented code.
15530         reindent file.
15531
15532         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15533         * trans.C: changes because of the above.
15534
15535 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15536
15537         * text2.C (setCounter): Fix counters bug with bibliography layout.
15538
15539 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15540
15541         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15542         own member functions
15543         (simpleTeXSpecialChars): ditto
15544
15545 2001-07-06  Juergen Vigna  <jug@sad.it>
15546
15547         * a lot of files: changed the access to LyXText::status and the
15548         call of undo-functions.
15549
15550         * undo.[Ch]: added a inset_id to the undo informations.
15551
15552         * undo_funcs.[Ch]: added and moved here all undo functions.
15553
15554         * lyxtext.h: give the status enum a weight, made status_ a private
15555         variable and made accessor functions for it, removed the whole bunch
15556         of undo-functions as they are now in their own file, make some
15557         functions publically available. Added function ownerParagraph with
15558         int parameter.
15559
15560         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15561         made InInset() a const function, added getParFromID() function.
15562
15563         * buffer.[Ch]: added const version for inset_iterator functions,
15564         added getInsetFromID() function.
15565
15566         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15567         changed undo functions for new version.
15568
15569 2001-07-05  Juergen Vigna  <jug@sad.it>
15570
15571         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15572         unknow mechanism does not call the proper constructor but only this
15573         one also if I request the other!?
15574
15575 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15576
15577         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15578
15579         * text2.C (LyXText): use initialization lists.
15580
15581         * lyxtext.h (Selection): initialize set_ and mark_
15582         (init): remove method
15583
15584 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15585
15586         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15587
15588 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15589
15590         * screen.[Ch]: change method names to begin with lowercase
15591
15592         * BufferView_pimpl.C (updateScrollbar): simplify further and
15593         hopefully make it a bit faster.
15594
15595 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15596
15597         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15598         calling directly xforms functions.
15599
15600         * Painter.C (Painter):
15601         * lyx_cb.C (MenuWrite):
15602         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15603         fl_display.
15604
15605         * lyx_gui.C: remove bogus guiruntime extern declaration.
15606
15607 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15608
15609         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15610         in NEW_INSETS
15611         (redoDrawingOfParagraph): ditto
15612         (redoParagraphs): ditto
15613         (cutSelection): don't create a object for CutAndPaste use the
15614         static method directly
15615         (pasteSelection): ditto
15616
15617         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15618         LyXview (+ rename)
15619
15620 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15621
15622         * modifications to some other files because of this.
15623
15624         * Makefile.am (lyx_SOURCES): add XFormsView
15625
15626         * XFormsView.[Ch]: new files
15627
15628         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15629         the main window. Move the gui dependent stuff to XFormsView
15630
15631 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15632
15633         * tabular.C (GetCellInset): update cur_cell also in the row/col
15634         version of this function.
15635
15636         * lyxfunc.C: no need to include figure_form.h here.
15637
15638         * FontLoader.h:
15639         * lyxfunc.h:
15640         * lyxscreen.h:
15641         * text2.C:
15642         * lyxvc.C: no need to include forms.h here.
15643
15644 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15645
15646         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15647
15648         * lyxfunc.C (Dispatch):
15649         * Spacing.C (set):
15650         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15651         constructor argument.
15652
15653 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15654
15655         * paragraph.C (Paragraph): dont't clear, and just set layout.
15656         (makeSameLayout): use params's copy contructor.
15657
15658         * ParagraphParameters.[Ch] (makeSame): delete method
15659
15660 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15661
15662         * Variables.[Ch]: fix indentation, rename set to isSet
15663
15664 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15665
15666         * lyxfunc.C (Dispatch): fix typo
15667
15668 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15669
15670         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15671         upper_bound.
15672
15673         * bufferlist.C: include assert.h for emergencyWrite().
15674
15675 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15676
15677         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15678           give up at last (bug #425202) !
15679
15680 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15681
15682         * lyx_gui_misc.C:
15683         * sp_form.h:
15684         * sp_form.C:
15685         * spellchecker.h:
15686         * spellchecker.C: strip spellchecker options and bring up
15687           preferences tab instead
15688
15689 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15690
15691         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15692         the istringstream constructor
15693
15694 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15695
15696         * paragraph.C (getLayout): fix return value
15697
15698         * paragraph.h: do not declare getLayout as inline.
15699
15700         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15701
15702 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15703
15704         * lyxcursor.h (operator<): new func
15705         (operator>): new func
15706         (operator>=): new func
15707         (operator<=): new func
15708
15709         * text.C (changeCase): use selection.start and selection.end
15710         (changeRegionCase): require from to be <= to. Require par to be a
15711         valid paragraph.
15712
15713         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15714
15715 2001-06-27  Juergen Vigna  <jug@sad.it>
15716
15717         * text.C (cursorLeftOneWord): changed to return the cursor and added
15718         overlay with BufferView * parameter which calls this one.
15719         (getWord): added
15720         (selectWord): use new getWord function.
15721         (changeCase): renamed from changeWordCase as and extended to work
15722         also on selections.
15723
15724         * lyxtext.h: added enum word_location
15725
15726         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15727         changeCase as this operates now also on selections.
15728
15729 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15730
15731         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15732
15733         * many files: send debug output to Debug::INFO instead of
15734         Debug::ANY.
15735
15736         * converter.C (View):
15737         (Convert):
15738         (Move): send debug output to Debug::FILES instead of console.
15739
15740 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15741
15742         * lyxfunc.C (getStatus): use func_status
15743
15744         * func_status.h: new header, describing the results of
15745         LyXFunc::getStatus;
15746
15747         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15748         LFUN_MATH_HALIGN.
15749
15750 2001-06-25  The LyX Project  <jug@sad.it>
15751
15752         * buffer.C (sgmlOpenTag):
15753         (sgmlCloseTag):
15754         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15755
15756 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15757
15758         * text2.C: remove some dead code
15759
15760         * tabular.C (GetCellInset): store the last cell checked (gotten)
15761
15762         * tabular.h: add the helper for the speedup
15763
15764         * lyxtext.h: remove some dead code
15765
15766 2001-06-26  The LyX Project  <Asger>
15767
15768         * paragraph.C: Change export to LaTeX of alignment to
15769         \begin{center} and family for better roundtrip work with reLyX.
15770
15771         * Tune the math drawing a bit.
15772
15773 2001-06-25  The LyX Project  <Asger>
15774
15775         * LColor.C (LColor): New color for math background. New color
15776         for buttons.
15777
15778 2001-06-25  The LyX Project  <jug@sad.it>
15779
15780         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15781
15782         * lyxfunc.C (Open):
15783         * bufferlist.C (newFile): do not restrict to files ending with
15784         .lyx
15785
15786         * BufferView_pimpl.C (MenuInsertLyXFile):
15787
15788 2001-06-24  The LyX Project  <jug@sad.it>
15789
15790         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15791         of compare_no_case
15792
15793 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15794
15795         * lyxtext.h: rename most methods to begin with a small char.
15796         Lots of changes because of this.
15797
15798         * paragraph.C (Paragraph): do not call fitToSize
15799         (erase): call Pimpl::erase
15800         (insertChar): call Pimpl::insertChar
15801         (insertInset): call Pipl::insertInset
15802         (breakParagraph): do not call fitToSize
15803         (breakParagraphConservative): do not call fitToSize
15804         (fitToSize): remove method
15805
15806         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15807
15808 2001-06-24  The LyX Project  <Asger>
15809
15810         * Fix Qt compilation^2
15811
15812 2001-06-24  The LyX Project  <jug@sad.it>
15813
15814         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15815         depthHook(getDepth()-1).
15816
15817         * paragraph.h:
15818         * ParagraphParameters.h:
15819         * ParameterStruct.h: change type of depth to unsigned int ==
15820         depth_type. Many adaptations to other files before of that.
15821
15822 2001-06-24  The LyX Project  <Asger>
15823
15824         * Fix Qt compilation.
15825
15826 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15827
15828         * paragraph.h: renamed several methods to begin with small letter.
15829         several changes to many parts of the code because of this.
15830
15831 2001-06-23  The LyX Project  <jug@sad.it>
15832
15833         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15834         rewritten to discard all double spaces when KeepEmpty is off
15835         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15836         to only handle newlines but not fiddle with spaces and friends.
15837
15838         * lyxfunc.C (MenuNew): when doing 'new from template', use
15839         template_path as default directory
15840
15841 2001-06-23  The LyX Project  <Asger>
15842
15843         * Clean-up of header file includes all over
15844         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15845
15846 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15847
15848         * paragraph.h: renamed from lyxparagraph.h
15849
15850 2001-06-23  Asger  <lyx@violet.home.sad.it>
15851
15852         * Buffer.h: Removed Buffer::resize
15853         * BufferList.h: Removed BufferList::resize
15854         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15855         the document lazily when we change the width, or the font settings.
15856
15857 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15858
15859         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15860
15861 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15862
15863         * buffer.h: remove out of date comment
15864
15865 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15866
15867         * lyxscreen.h:
15868         * screen.C: fix "theoretical" GC leak
15869
15870 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15871
15872         * LaTeX.C (scanAuxFile):
15873         (deplog): remove trailing \r when reading stream (useful under
15874         win32)
15875
15876 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15877
15878         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15879         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15880         and BufferView::theLockingInset(Inset*), so should use them and not
15881         access bv_->text->the_locking_inset directly.
15882
15883         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15884
15885 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15886
15887         * Makefile.am:
15888         * tex-defs.h: remove old unused file
15889
15890 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15891
15892         * BufferView_pimpl.C: fix typo, remove minibuffer message
15893           when buffer has loaded
15894
15895 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15896
15897         * lyxfunc.C (Dispatch): use stringstream
15898         (MenuNew): use stringstream
15899         (Open): use stringstream
15900
15901         * importer.C (Import): use stringstream
15902
15903         * bufferview_funcs.C (CurrentState): use stringstream
15904
15905         * LaTeX.C (run): use stringstream
15906
15907         * BufferView_pimpl.C (savePosition): use stringstream
15908         (restorePosition): use stringstream
15909         (MenuInsertLyXFile): use stringstream
15910
15911 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15912
15913         * BufferView.C:
15914         * Bullet.C:
15915         * ColorHandler.C:
15916         * FontInfo.C:
15917         * FontLoader.C:
15918         * LColor.C:
15919         * LaTeXFeatures.C:
15920         * Painter.C:
15921         * gettext.C:
15922         * lyx_gui_misc.C:
15923         * lyxserver.C:
15924         * vspace.C: removed // -*- C++ -*- as first line.
15925
15926         * lyxfind.h:
15927         * version.h: added // -*- C++ -*- as first line.
15928
15929 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15930
15931         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15932
15933         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15934         of string
15935
15936 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15937
15938         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15939         of floats.
15940
15941 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15942
15943         * gettext.C: include LString.h even when --disable-nls is on.
15944
15945 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15946
15947         * converter.h (Get): changed argument type from int to
15948         FormatList::size_type to avoid unnecessary conversion.
15949
15950         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15951         before using it.
15952
15953 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15954
15955         * gettext.h: include LString.h even when --disable-nls is on.
15956
15957 2001-06-07  Juergen Vigna  <jug@sad.it>
15958
15959         * text.C (BreakAgain): subst spaces with tabs.
15960
15961         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15962         (resizeInsetsLyXText): set force on resizeLyXText.
15963
15964 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15965
15966         * gettext.h (gettext_init):
15967         (locale_init): use a real definition instead of a macro
15968
15969 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15970
15971         * Bufferview_pimpl.C:
15972         * LColor.h:
15973         * LColor.C: further lcolor tidies
15974
15975 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15976
15977         * BufferView_pimpl.C (updateScrollbar): simplify.
15978
15979         * BufferView2.C: don't include insets/insetinfo.h, change
15980         prototype for insertInset and call the Pimpl version. let
15981         updateInset call Pimpl version.
15982
15983         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15984         gotoInset to BufferView::Pimpl
15985
15986 2001-06-01  Juergen Vigna  <jug@sad.it>
15987
15988         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15989         inside a LockingInset (is the update needed at all?).
15990
15991 2001-05-31  Juergen Vigna  <jug@sad.it>
15992
15993         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15994         here not the old one otherwise how should we compare it afterwards
15995         if it's the same!
15996
15997 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15998
15999         * lyxfont.C:
16000         * tabular.C:
16001         * tabular-old.C:
16002         * FontInfo.C: bring C functions into global namespace when
16003         necessary
16004
16005 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16006
16007         * LString.h: make sure config.h has been loaded before LString.h.
16008
16009         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16010         (one for each char read by EatLine!).
16011
16012         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16013         variables.
16014
16015 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16016
16017         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16018         to the same as the par we break from
16019
16020 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16021
16022         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16023
16024         * MenuBackend.C (expand): also create menu entries for wide
16025         versions of the floats.
16026
16027         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16028
16029         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16030
16031         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16032         frontends/Makefile.am
16033
16034         * text2.C: adjust
16035         * text.C: adjust
16036
16037
16038         * tabular.C (getTokenValue): add std::
16039
16040         * tabular-old.C (getTokenValue): add std::
16041         (getTokenValue): ditto
16042         (getTokenValue): ditto
16043
16044         * screen.C (ToggleSelection): adjust
16045
16046         * lyxtext.h: put selection cursors inside a Selection struct.
16047
16048         * lyxfunc.C (moveCursorUpdate): adjust
16049
16050         * lyxfont.C (latexWriteStartChanges): add std::
16051
16052         * lyxfind.C: adjust
16053
16054         * font.h: delete with(char const *, LyXFont const &)
16055
16056         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16057
16058         * FontInfo.C (getFontname): add std::
16059
16060         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16061         (workAreaButtonPress): adjust
16062         (tripleClick): adjust
16063         (update): adjust
16064         (moveCursorUpdate): adjust
16065         (Dispatch): adjust
16066
16067         * BufferView2.C (gotoInset): adjust
16068
16069 2001-05-30  Juergen Vigna  <jug@sad.it>
16070
16071         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16072         to check pspell I add this as default as I now have new pspell
16073         libraries and they seem to use this.
16074
16075 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16076
16077         * text2.C (CutSelection): make the cursor valid before the call to
16078         ClearSelection.
16079
16080 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16081
16082         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16083         relied on 0 terminated strings and other horrors. Bug found due to
16084         the new assert in lyxstring!
16085
16086         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16087         KP_ keys.
16088
16089 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16090
16091         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16092         to latinkeys.bind.
16093
16094         * lyxfunc.C (processKeySym): change method of getting to the
16095         self-insert char.
16096
16097         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16098         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16099         * BufferView_pimpl.[Ch]: here as private methods.
16100
16101 2001-05-28  Juergen Vigna  <jug@sad.it>
16102
16103         * text.C (SetHeightOfRow): added the update() call again as it is
16104         needed to initialize inset dimensions!
16105
16106 2001-05-16  Juergen Vigna  <jug@sad.it>
16107
16108         * text2.C (SetCharFont): Add new function with BufferView * and
16109         bool toggleall parameters for setting insets internal fonts.
16110         (SetFont): Freeze the undo as we may change fonts in Insets and
16111         all this change should be inside only one Undo!
16112
16113         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16114         setting font's in insets as for them we have the SetFont function!
16115
16116 2001-05-15  Juergen Vigna  <jug@sad.it>
16117
16118         * text2.C (ClearSelection): to be sure we REALLY don't have any
16119         selection anymore!
16120
16121         * tabular.C (TeXCellPreamble): fixed the left border problem for
16122         multicolumn cells.
16123
16124 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16125
16126         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16127         dependancy file
16128
16129 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16130
16131         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16132         LFUN_BREAKPARAGRAPH.
16133
16134         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16135         help test to "internal only", similar for LFUN_INSERT_URL
16136
16137         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16138         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16139         auto_region_delete and deadkeys.
16140
16141 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16142
16143         * LColor.h:
16144         * LColor.C: remove some dead entries, tidy a little
16145
16146 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16147
16148         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16149         commented code.
16150         (Dispatch): implement LFUN_ESCAPE
16151
16152         * commandtags.h: add LFUN_ESCAPE
16153
16154         * LyXAction.C (init): add entry for LFUN_ESCAPE
16155
16156         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16157         Remove commented code.
16158         (insertNote): moved here
16159         (open_new_inset): moved here
16160
16161         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16162         BufferView_pimpl
16163
16164 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16165
16166         * kbmap.C (findbinding): clean it up and make it work correctly.
16167
16168         * lyx_main.C (init): do not pass argc and argv as parameters
16169
16170 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16171
16172         * buffer.C: fix path for OS/2 & Win32
16173
16174         * lyx_gui.C:
16175         * lyx_main:
16176         * lyx_main.C: Added os:: class.
16177
16178         * os2_defines.h: update
16179
16180 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16181
16182         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16183         better by trying again with reduced state.
16184
16185 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16186
16187         * lyxrc.C (read): print error about invalid key sequence only when
16188         debugging (because not all latinX keysyms are known to some X
16189         servers)
16190
16191         * kbsequence.C (getiso): add a few std:: qualifiers
16192         (getiso): comment out extra return statement.
16193
16194 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16195
16196         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16197         handling.
16198         (Dispatch): enhance the accent inset a bit. (not perfect)
16199
16200 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16201
16202         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16203
16204 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16205
16206         * bufferlist.C (emergencyWrite): fix assert() call
16207
16208 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16209
16210         * text.C (InsertChar): Added trivial patch to only send the "you
16211         can not do multiple spaces this way" message once during a
16212         session.
16213
16214 2001-05-08  Baruch Even  <baruch@lyx.org>
16215
16216         * Makefile.am: Changed order of libraries to get LyX to link properly
16217         with the gnome frontend.
16218
16219 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16220
16221         * LaTeXFeatures.h: add a std:: qualifier
16222
16223 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16224
16225         * paragraph.C (String): use stringstream
16226
16227 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16228
16229         * paragraph.C (writeFile): remove footflag arg
16230
16231         * buffer.C (makeLaTeXFile): use stringstream
16232         (latexParagraphs): remove footnot gurba
16233
16234         * LaTeXFeatures.C (getPackages): use stringstream
16235         (getMacros): likewise
16236         (getTClassPreamble): likewise
16237         (getFloatDefinitions): new method
16238
16239         * paragraph.C (writeFile): reindent
16240         (Erase): reindent
16241
16242         * WorkArea.h: revert the xpos + etc changes.
16243
16244         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16245
16246         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16247
16248         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16249         (pasteSelection): likewise
16250         * text2.C (CreateUndo): likewise
16251
16252 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16253
16254         * minibuffer.C (peek_event): temporarily reduce the functionality
16255         of the minibuffer (to allow args on lfuns)
16256
16257         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16258         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16259
16260         * buffer.C (readInset): add compability reading of old float
16261         lists, add reading of new style float list.
16262         (readInset): avoid reevaluation of inscmd.getCmdName()
16263         (getLists): reindent
16264
16265         * MenuBackend.C (MenuItem): implement parsing of
16266         md_floatlistinsert and md_floatinsert.
16267         (expand::LastFiles): move initalizaton of iterators out of loop,
16268         avoid reevaluation.
16269         (expand::Documents): introduce typdedef vector<string> Strings,
16270         and use it.
16271         (expand::ExportFormats): introduce typedef vector<Format const *>
16272         Formats, and use it.
16273         (expand): implement FloatListInsert and FloatInsert.
16274
16275         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16276         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16277         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16278
16279         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16280         handling.
16281         (Dispatch::LFUN_FLOAT_LIST): implement
16282
16283 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16284
16285         * LaTeX.C (run): Fix problem with --export code.
16286
16287 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16288
16289         * BufferView.[Ch] (workarea): removed.
16290         (getClipboard) new method; wrapper for workarea()->getClipboard()
16291
16292         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16293         bug.
16294
16295         * WorkArea.h (width, height, xpos, ypos): These methods all
16296         returned the dimensions of the work_area sub-area of WorkArea,
16297         resulting in a position error if the WorkArea were resized. Now
16298         return the dimensions of the entire WorkArea.
16299
16300         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16301
16302 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16303
16304         * LaTeX.C (deplog): correct the syntax of regex reg1
16305
16306 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16307
16308         * undo.C: remove !NEW_INSETS cruft
16309
16310 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16311
16312         * text2.C: remove !NEW_INSETS cruft
16313
16314         * text.C: remove !NEW_INSETS cruft
16315
16316         * tabular.C: remove !NEW_INSETS cruft
16317
16318         * spellchecker.C: remove !NEW_INSETS cruft
16319
16320         * lyxtext.h: remove !NEW_INSETS cruft
16321
16322         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16323
16324         * lyxfunc.C: remove !NEW_INSETS cruft
16325
16326         * lyxfind.C: remove !NEW_INSETS cruft
16327
16328         * lyx_cb.C: remove !NEW_INSETS cruft
16329
16330         * figureForm.C: remove  !NEW_INSETS cruft
16331
16332         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16333
16334         * buffer.[Ch]: remove !NEW_INSETS cruft
16335
16336         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16337
16338         * CutAndPaste.C: remove !NEW_INSETS cruft
16339
16340         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16341
16342         * BufferView2.C: remove !NEW_INSETS cruft
16343
16344         * BufferView.h: remove !NEW_INSETS cruft
16345
16346 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16347
16348         * Lsstream.h: include LString.h before the sstream headers to
16349         fix problem with gcc 2.95.3 and lyxstring
16350
16351 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16352
16353         * lyx_main.C: add using directives when needed for C functions
16354         declared in std:: namespace.
16355
16356 2001-04-27  Juergen Vigna  <jug@sad.it>
16357
16358         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16359         (SetHeightOfRow): comment out the update call should not be needed!
16360
16361 2001-04-13  Juergen Vigna  <jug@sad.it>
16362
16363         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16364         (LyXTabular): tried to minimize operator= operations (and realized
16365         hopfully Lars wish).
16366
16367 2001-04-27  Juergen Vigna  <jug@sad.it>
16368
16369         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16370
16371 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16372
16373         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16374
16375         * buffer.C (readInset): hack to make listof algorithm work
16376
16377         * BufferView_pimpl.C: hack to make listof algorithm work
16378
16379 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16380
16381         * LyXAction.C: removed all !NEW_INSETS cruft
16382         (init): moved lfun_item in method
16383
16384         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16385
16386 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16387
16388         * BufferView2.C (theLockingInset): white space.
16389
16390 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16391
16392         * minibuffer.C: include <iostream>
16393
16394         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16395
16396         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16397
16398         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16399
16400         * text.[Ch] (TransposeChars): new method
16401
16402 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16403
16404         * call message directly through LyXView instead of through LyXFunc
16405         * BufferView2.C: adjust
16406         * BufferView_pimpl.C: adjust
16407         * FontLoader.C: adjust
16408         * buffer.C: adjust
16409         * bufferview_funcs.C: adjust
16410         * converter.C: adjust
16411         * figureForm.C: adjust
16412         * importer.C: adjust
16413         * lyx_cb.C: adjust
16414         * lyx_gui_misc.C: adjust
16415         * lyxfunc.C: adjust
16416         * lyxvc.C: adjust
16417         * text2.C: adjust
16418         + more files in subdirs
16419
16420         * lyxparagraph.h (size): move up int file
16421         (GetLayout): ditto
16422
16423         * adjust all uses of Assert to lyx::Assert.
16424
16425         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16426         lyxfunctional in namespace lyx
16427         * layout.C (hasLayout): ditto
16428         (GetLayout): ditto
16429         (GetLayout): ditto
16430         (delete_layout): ditto
16431         (NumberOfClass): ditto
16432         * converter.C (GetFormat): ditto
16433         (GetNumber): ditto
16434         (Add): ditto
16435         (Delete): ditto
16436         (SetViewer): ditto
16437         * bufferlist.C (getFileNames): ditto
16438         (emergencyWriteAll): ditto
16439         (exists): ditto
16440         (getBuffer): ditto
16441         * MenuBackend.C (hasSubmenu): ditto
16442         (hasMenu): ditto
16443         (getMenu): ditto
16444         * BufferView_pimpl.C (getInsetByCode): ditto
16445
16446 2001-04-18  Juergen Vigna  <jug@sad.it>
16447
16448         * vspace.C (asLatexString): fixed the 100% problem.
16449
16450 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16451
16452         * lyxfunc.C (Dispatch):
16453         * minibuffer.C:
16454         * minibuffer.h: add a few std:: qualifiers
16455
16456 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16457
16458         * minibuffer.[Ch]: reimplement so that commands is initiated and
16459         run from lyxfunc, simplified som handling, and made the completion
16460         and history code for complete. wip.
16461
16462         * lyxfunc.C (processKeySym): call message
16463         (miniDispatch): new temporary method
16464         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16465         (LFUN_MESSAGE): implement
16466         (LFUN_MESSAGE_PUSH): implement
16467         (LFUN_MESSAGE_POP): implement
16468         (initMiniBuffer): the initial/defualt minibuffer message.
16469
16470         * lyxfont.[Ch]: inline some more getters
16471
16472         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16473
16474         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16475
16476         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16477         (AutoSave): use LFUN_MESSAGE
16478         (Reconfigure): ditto
16479
16480         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16481
16482         * figureForm.C: use LFUN_MESSAGE
16483
16484         * converter.C (runLaTeX): use LFUN_MESSAGE
16485
16486         * bufferview_funcs.C: use LFUN_MESSAGE
16487         (Melt): ditto
16488         (changeDepth): ditto
16489
16490         * bufferparams.h: use boost::
16491
16492         * bufferlist.h: inherit privately from noncopyable
16493
16494         * bufferlist.C (loadLyXFile): remove some commented code.
16495
16496         * buffer.C (runChktex): use LFUN_MESSAGE
16497
16498         * ShareContainer.h: inherit privately from noncopyable
16499
16500         * ParagraphParameters.[hC] (depth): inline it.
16501
16502         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16503         methods.
16504         (message): new method
16505         (messagePush): ditto
16506         (messagePop): ditto
16507         (show): init minibuffer
16508         (showState): direct call
16509
16510         * LaTeX.[Ch]: inherit privately from noncopyable
16511         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16512         instead of WriteStatus.
16513
16514         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16515
16516         * BufferView_pimpl.C (buffer): don't init minibuffer
16517         (workAreaButtonPress): use LFUN_MESSAGE
16518         (workAreaButtonRelease): ditto
16519         (savePosition): ditto
16520         (restorePosition): ditto
16521         (MenuInsertLyXFile): ditto
16522         (workAreaExpose): don't init minibuffer
16523         (update): remove commented code, simplify
16524
16525         * BufferView2.C (openStuff): use LFUN_MESSAGE
16526         (toggleFloat): ditto
16527         (menuUndo): ditto
16528         (menuRedo): ditto
16529         (copyEnvironment): ditto
16530         (pasteEnvironment): ditto
16531         (copy): ditto
16532         (cut): ditto
16533         (paste): ditto
16534         (gotoInset): ditto
16535         (updateInset): remove some commented code
16536
16537         * lastfiles.h: inherit privately from noncopyable
16538         * layout.h: ditto
16539         * lyx_gui.h: ditto
16540         * lyx_main.h: ditto
16541         * lyxlex.h: ditto
16542         * lyxlex_pimpl.h: ditto
16543
16544         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16545         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16546         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16547
16548         * LyXAction.h: inherit privately from noncopyable, add methods
16549         func_begin, func_end, returning iterators to the func map.
16550
16551         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16552         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16553         (func_begin): new method
16554         (func_end): new method
16555
16556         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16557         and not)
16558         (copySelection): ditto
16559         (pasteSelection): ditto
16560
16561         * BufferView.C: whitespace change
16562         * BufferView.h: inherit privately from noncopyable
16563
16564 2001-04-16  Allan Rae  <rae@lyx.org>
16565
16566         * tabular-old.C (l_getline):
16567         * spellchecker.C (sc_check_word):
16568         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16569         an unrecognised preprocessor directive.  So ensure they're wrapped.
16570
16571 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16572
16573         * src/exporter.C (Export): Give an error message when path to file
16574         contains spaces.
16575
16576 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16577
16578         * LaTeX.C (deplog): Always check that foundfile exists.
16579
16580 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16581
16582         * lyx_main.h:
16583         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16584
16585 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16586
16587         * tabular.[Ch] (getLabelList): implement new method
16588
16589         * minibuffer.h: comment ouf setTiimer
16590
16591         * minibuffer.C (ExecutingCB): constify res
16592         (peek_event): constify s
16593         (Set): constify ntext
16594         (Init): constify nicename
16595
16596         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16597
16598         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16599         (savePosition): use two params to Minibuffer::Set
16600         (restorePosition): ditto
16601
16602 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16603
16604         * lyx_main.C: include language.h
16605
16606         * Makefile.am (lyx_main.o): add language.h
16607
16608 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16609
16610         * exporter.C:
16611         * paragraph.C:
16612         * screen.C:
16613         * tabular.C:
16614         * CutAndPaste.C: include gettext.h
16615
16616         * lyxfont.h: remove old hack with ON and OFF.
16617
16618         * lyxparagraph.h:
16619         * lyxfont.h: do not include language.h...
16620
16621         * BufferView2.C:
16622         * LaTeXFeatures.C:
16623         * Painter.C:
16624         * bufferview_funcs.C:
16625         * font.C:
16626         * lyxfont.C:
16627         * text.C:
16628         * text2.C:
16629         * trans_mgr.C:
16630         * paragraph.C: ... but do it here instead
16631
16632 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16633
16634         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16635
16636         * tabular.C: small reformat
16637
16638         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16639         NEW_INSETS version
16640         (GetChar): ditto
16641         (BreakParagraph): ditto
16642         (SetOnlyLayout): ditto
16643         (SetLayout): ditto
16644
16645         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16646         with one arg less.
16647
16648         * lastfiles.C: removed most using decl, add std:: where needed
16649
16650         * buffer.C: ws changes
16651
16652         * MenuBackend.C (class compare_format): put into anon namespace
16653         (expand): constify label, names, action, action2
16654         (expand):
16655
16656         * text.C (SingleWidth): constify font
16657         (IsBoundary): constify rtl2
16658         (GetVisibleRow): constify ww
16659
16660         * LaTeX.C (deplog): constify logfile
16661
16662         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16663         start_x, end_x
16664         (workAreaExpose): constify widthChange, heightChange
16665
16666         * lyxrow.C (par): moved
16667         (height): moved
16668         (next): moved
16669         * lyxrow.h: as inlines here
16670
16671         * lyxfont.h (shape): moved from lyxfont.C
16672         (emph): moved from lyxfont.C
16673
16674         * lyxfont.C (LyXFont): use initialization list for all
16675         constructors
16676         (shape): move to lyxfont.h as inline
16677         (emph): move to lyxfont.h as inline
16678
16679
16680 2001-04-04  Juergen Vigna  <jug@sad.it>
16681
16682         * vspace.C: had to include stdio.h for use of sscanf
16683
16684 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16685
16686         * BufferView.h:
16687         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16688         independent of xforms.
16689
16690 2001-04-02  Juergen Vigna  <jug@sad.it>
16691
16692         * spellchecker.C: fixed namespace placing!
16693
16694 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16695
16696         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16697         the LyXParagraph * is 0.
16698
16699 2001-03-29  Juergen Vigna  <jug@sad.it>
16700
16701         * vspace.C: added support for %, c%, p%, l%.
16702         (stringFromUnit): added helper function.
16703         (asLatexString): changed to give right results for the %-values.
16704
16705         * buffer.C: convert the widthp in a width%.
16706
16707 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16708
16709         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16710         figureForm.[Ch].
16711
16712         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16713         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16714
16715         * lyx_cb.[Ch]: see above.
16716
16717         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16718         form1.[Ch].
16719
16720         * form1.[Ch]:
16721         * lyx.[Ch]: replaced by figure_form.[Ch].
16722
16723         * lyx_gui.C:
16724         * lyx_gui_misc.C:
16725         * lyxfunc.C: changed headers associated with above changes.
16726
16727 2001-03-27  Juergen Vigna  <jug@sad.it>
16728
16729         * BufferView_pimpl.C: set the temporary cursor right!
16730
16731 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16732
16733         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16734
16735 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16736
16737         * LString.h: removed "using std::getline"!
16738
16739         * BufferView_pimpl.C (Dispatch): changes due to changes in
16740         InsetInclude::Params.
16741
16742         * buffer.C (tag_name): removed redundant break statements as they were
16743         producing lots of warnings with my compiler.
16744
16745 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16746
16747         * LString.h: add "using std::getline" when using the real <string>.
16748
16749 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16750
16751         * buffer.C: removed bitset usage.
16752         PAR_TAG moved to an anonymous name space.
16753         (tag_name): new funtion, also in the anonymous namespace.
16754         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16755         (makeDocBookFile): clean code. Completed transition from string arrays
16756         to string vectors.
16757         (SimpleDocBookOnePar): code clean.
16758
16759 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16760
16761         * tabular.C: add some comments.
16762
16763 2001-03-22  Juergen Vigna  <jug@sad.it>
16764
16765         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16766         compatibility read a bit and fixed bug with minipage in different
16767         depth.
16768
16769 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16770
16771         * buffer.C (pop_tag): removed.
16772         (push_tag): removed.
16773         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16774         array replaced with vector. Added support for CDATA sections.
16775         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16776         at any nest level.
16777         (makeDocBookFile): XML conformant declaration of CDATA section,
16778         fixed bug related to <emphasis> in the first paragraph char.
16779         (sgmlOpenTag): exclude empty tags.
16780         (sgmlCloseTag): ditto.
16781
16782         * buffer.h (pop_tag): removed.
16783         (push_tag): removed.
16784
16785 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16786
16787         * language.h (Languages): added size_type and size().
16788
16789 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16790
16791         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16792         response on compability reading of minipages. One probliem is that
16793         the old usage of minipages was «flertydig»
16794
16795         * several files here and in subdirs: don't use static at file
16796         scope use anon namespaces instead.
16797
16798 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16799
16800         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16801         LaTeX output. This is necessary for Literate document
16802         processing.
16803
16804 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16805
16806         * buffer.C: insert hfill when needed.
16807
16808         * tabular.C (l_getline): use string::erase, small whitespace change.
16809
16810         * BufferView_pimpl.C: try the anon namespace.
16811         * WorkArea.C: ditto
16812
16813 2001-03-16  Juergen Vigna  <jug@sad.it>
16814
16815         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16816         otherwise it won't open options-dialogs.
16817
16818         * buffer.C: honor pextraWidth(p) on converting minipages.
16819
16820         * tabular.C (l_getline): changed the functions to strip trailing \r.
16821
16822 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16823
16824         * BufferView_pimpl.C:
16825         * minibuffer..C: added "using SigC::slot" declaration.
16826
16827 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16828
16829         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16830
16831         * text2.C: ditto
16832
16833         * text.C: ditto
16834
16835         * paragraph.C: ditto
16836
16837         * lyxtext.h: NO_PEXTRA
16838
16839         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16840
16841         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16842         * ParameterStruct.h: ditto
16843         * ParagraphParameters.h: ditto
16844         * lyxparagraph.h: ditto
16845
16846 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16847
16848         * buffer.C: add compability for minipage alignment.
16849         (latexParagraphs): remove unwanted pextra check.
16850
16851         * several files: remove CXX_WORKING_NAMESPACES
16852
16853         * buffer.C (pop_tag): tie is in namespace boost
16854
16855         * BufferView.h: noncopyable is in namespace boost
16856         * lyxlex.h: ditto
16857         * lyx_main.h: ditto
16858         * lyx_gui.h: ditto
16859         * layout.h: ditto
16860         * lastfiles.h: ditto
16861         * bufferlist.h: ditto
16862         * ShareContainer.h: ditto
16863         * LyXView.h: ditto
16864         * LyXAction.h: ditto
16865         * LaTeX.h: ditto
16866
16867 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16868
16869         * Merging changes from BRANCH_MVC back into HEAD.
16870
16871         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16872
16873 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16874
16875         * BufferView_pimpl.C: change from intl.C
16876
16877         * combox.h:
16878         * combox.C:
16879         * Makefile.am: move combox.*
16880
16881         * form1.h:
16882         * form1.C:
16883         * lyx_gui.C:
16884         * intl.h:
16885         * intl.C: remove dialog (covered by prefs)
16886
16887 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16888
16889         * lyxfunc.C (Dispatch): removed redundant break statement.
16890
16891 2001-03-14  Juergen Vigna  <jug@sad.it>
16892
16893         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16894
16895 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16896
16897         * buffer.C: add hack to fix compability reading of minipages.
16898
16899 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16900
16901         * buffer.C (getLists): Cleanup.
16902
16903 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16904
16905         * lyxfont.C (update): don't honor toggleall on font size.
16906
16907 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16908
16909         * bmtable.c:
16910         * bmtable.h:
16911         * Makefile.am: moved to frontends/xforms/
16912
16913         * lyx_gui_misc.C:
16914         * lyxfunc.C:
16915         * BufferView_pimpl.C: changes for moved mathpanel
16916
16917 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16918
16919         * gettext.h: fix gettext_init() in --disable-nls
16920
16921 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16922
16923         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16924
16925 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16926
16927         * lyx.C:
16928         * lyx.h: strip external form
16929
16930 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16931
16932         * BufferView_pimpl.C: add comment, destroySplash()
16933
16934 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16935
16936         * BufferView_pimpl.C:
16937         * LyXAction.C:
16938         * buffer.C:
16939         * commandtags.h:
16940         * lyxfunc.C: use re-worked insetinclude
16941
16942 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16943
16944         * buffer.C: add using std::stringstream.
16945
16946         * lyx_cb.C: readd using std::ios.
16947
16948         * buffer.C: add using std::map.
16949
16950         * BufferView_pimpl.C: add using std::vector.
16951
16952         * ShareContainer.h: add std:: to swap.
16953
16954         * buffer.h: add some typedefs
16955         * buffer.C (getLists): use them
16956         (getLists): renamed from getTocList.
16957         add a counter for the different float types and use it in the
16958         generated string.
16959         (getLists): use the same counter for the NEW_INSETS and the "non"
16960         NEW_INSETS
16961
16962         * lyx_cb.h: remove unused items, includes, using etc.
16963
16964         * ShareContainer.h: remove some commented code, add more comments
16965         and "documentation".
16966
16967 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16968
16969         * buffer.C (getTocList): make the list also when NEW_INSETS is
16970         defined.
16971
16972         * buffer.h: remove TocType
16973
16974         * buffer.C (getTocList): change to return a map<string,
16975         vector<TocItem> >, implement for dynamic number of list.
16976
16977         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16978         * text2.C (PasteSelection): adjust
16979         * CutAndPaste.C (pasteSelection): adjust
16980
16981         * FloatList.C (FloatList): update from the new_insets branch.
16982         * Floating.[Ch]: ditto
16983         * LaTeXFeatures.C: ditto
16984         * buffer.C: ditto
16985         * lyxlex_pimpl.C: ditto
16986
16987         * paragraph.C (Last): remove when NEW_INSETS is defined.
16988
16989         * other file: changes because of the above.
16990
16991 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16992
16993         * lyxparagraph.h: rename next to next_, previous to previous_,
16994         make them private for NEW_INSETS. Rename Next() to next(),
16995         Previous() to previous().
16996
16997         * other files: changes because of the above.
16998
16999 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17000
17001         * BufferView.h:
17002         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17003         problem.
17004
17005 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17006
17007         * main.C (main): pass lyx_localedir to gettext_init().
17008
17009         * gettext.h: remove locale_init and gettext_init macros
17010
17011         * gettext.C (locale_init): new function
17012         (gettext_init): new function
17013
17014         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17015         setlocale().
17016
17017 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17018
17019         * Moved credits to frontends:
17020         * credits.[Ch]: removed
17021         * credits_form.[Ch]: removed
17022         * lyx_gui_misc.C: remove credits stuff
17023         * Makefile.am:
17024
17025 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17026
17027         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17028
17029         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17030         unneeded destructor.
17031
17032         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17033         a standalone pointer again.
17034
17035         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17036
17037 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17038
17039         * Makefile.am:
17040         * filedlg.h:
17041         * filedlg.C:
17042         * LyXAction.C:
17043         * ToolbarDefaults.C:
17044         * bufferlist.C:
17045         * commandtags.h:
17046         * form1.C:
17047         * form1.h:
17048         * lyx_cb.C:
17049         * lyx_cb.h:
17050         * lyxfunc.h:
17051         * lyxfunc.C:
17052         * BufferView_pimpl.C: use new file dialog in GUII
17053
17054         * lyx_cb.h:
17055         * lyx_cb.C: remove LayoutsCB to Toolbar
17056
17057 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17058
17059         * ShareContainer.h (get): add std:: qualifier
17060
17061 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17062
17063         * ShareContainer.h: define a proper ShareContainer::value_type
17064         type (and use typename to please compaq cxx)
17065
17066 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17067
17068         * lyxparagraph.h: move serveral local vars to
17069         ParameterStruct/ParagraphParameters., use ShareContainer in
17070         FontTable., make vars in FontTable private and add getter and
17071         setter.
17072
17073         * paragraph.C: changes because of the above.
17074
17075         * lyxfont.h: remove copy constructor and copy assignment. (the
17076         default ones is ok), move number inside FontBits. move inlines to
17077         lyxfont.C
17078
17079         * lyxfont.C: add number to initializaton of statics, move several
17080         inlines here. constify several local vars. some whitespace
17081         cleanup. Dont hide outerscope variables.
17082
17083         * Spacing.h: add two new constructors to match the set methods.
17084
17085         * ShareContainer.h: new file, will perhaps be moved to support
17086
17087         * ParameterStruct.h: new file
17088
17089         * ParagraphParameters.h: new file
17090
17091         * ParagraphParameters.C: new file
17092
17093         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17094         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17095
17096         * BufferView_pimpl.C: ParagraphParameter changes.
17097         * buffer.C: Likewise.
17098         * bufferview_funcs.C: Likewise.
17099         * text.C: Likewise.
17100         * text2.C: Likewise.
17101
17102 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17103
17104         * lyxfind.C (LyXReplace): do not redefine default argument in
17105         implementation.
17106         (IsStringInText): ditto
17107         (SearchForward): ditto
17108         (SearchBackward): ditto
17109
17110 2001-03-06  Juergen Vigna  <jug@sad.it>
17111
17112         * lyxfind.C (IsStringInText): put parentes around expressions.
17113
17114 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17115
17116         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17117
17118 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17119
17120         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17121
17122         * stl_string_fwd.h: add comment
17123
17124         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17125
17126         * tabular.h:
17127         * tabular.C: remove unused DocBook methods
17128
17129         * intl.C:
17130         * language.C:
17131         * paragraph.C:
17132         * buffer.C:
17133         killed DO_USE_DEFAULT_LANGUAGE
17134
17135 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17136
17137         * lyx_gui.C: do not include language.h.
17138
17139         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17140         arguments in function implementation.
17141
17142 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17143
17144         * BufferView_pimpl.C: add <ctime>
17145
17146 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17147
17148         * BufferView_pimpl.C: add using std::find_if
17149
17150 2001-02-27  José Matos  <jamatos@fep.up.pt>
17151
17152         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17153         by OnlyPath.
17154
17155 2001-02-11  José Matos  <jamatos@fep.up.pt>
17156
17157         * buffer.C (makeDocBookFile): command styles now have a parameter as
17158         "title" by default.
17159
17160 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17161
17162         * layout_forms.[Ch]: removed
17163         * lyx_cb.[Ch]: out character
17164         * lyx_gui.C: out character
17165         * lyx_gui_misc.C: out character
17166         * bufferview_funcs.C: : out character,
17167         added toggleall as parameter in ToggleAndShow
17168
17169 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17170
17171         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17172
17173         * text2.C (SetCurrentFont): Disable number property at boundary.
17174
17175 2001-02-26  Juergen Vigna  <jug@sad.it>
17176
17177         * lyxfunc.C (getStatus): added a string argument override function so
17178         that this is correctly called from LyXFunc::Dispatch if it contains a
17179         do_not_use_argument which is used!
17180         (Dispatch): added check for "custom" export and call appropriate func.
17181
17182 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17183
17184         * lyxrc.C: Add language_command_local, language_use_babel and
17185         language_global_options.
17186
17187         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17188
17189         * buffer.C (makeLaTeXFile): Use language_use_babel and
17190         language_global_options.
17191
17192 2001-02-23  Juergen Vigna  <jug@sad.it>
17193
17194         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17195         which works with LyXText and putted it inside BufferView. Here now we
17196         only call for that part the BufferView::Dispatch() function.
17197
17198         * BufferView.C (Dispatch): added.
17199
17200         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17201         functions which needs to use a LyXText over from LyXFunc.
17202         (MenuInsertLyXFile): added
17203         (getInsetByCode): added
17204         (moveCursorUpdate): added
17205         (static TEXT): added
17206
17207 2001-02-22  Juergen Vigna  <jug@sad.it>
17208
17209         * BufferView_pimpl.C (update): call a status update to see if LyXText
17210         needs it.
17211
17212 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17213
17214         * vc-backend.C (revert): implement for CVS
17215         (getLog): implement for CVS
17216
17217 2001-02-20  Juergen Vigna  <jug@sad.it>
17218
17219         * text2.C (ClearSelection): added BufferView param for inset_owner call
17220
17221         * lyxfunc.C (TEXT): added this function and use it instead of
17222         directly owner->view()-text of getLyXText().
17223
17224 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17225
17226         * src/layout_forms.C: out preamble
17227         * src/layout_forms.h: out preamble
17228         * src/lyx_cb.C: out preamble
17229         * src/lyx_cb.h: out preamble
17230         * src/lyx_gui.C: out preamble
17231         * src/lyx_gui_misc.C: out preamble
17232         * src/lyxfunc.C: connect with guii preamble
17233
17234 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17235
17236         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17237
17238 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17239
17240         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17241         whether to run bibtex.
17242
17243 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17244
17245         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17246
17247 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17248
17249         * Makefile.am (lyx_SOURCES): removed bibforms.h
17250
17251         * vspace.h: doxygen
17252
17253         * text.C (GetVisibleRow): make several local vars const
17254
17255         * tabular.C: small cleanup.
17256
17257         * lyxserver.C (callback): use compare instead of strncmp
17258
17259         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17260         inlines to after class or to paragraph.C
17261
17262         * lyxfont.h: remove friend operator!=
17263
17264         * converter.h: move friend bool operator< to non friend and after
17265         class def.
17266
17267         * combox.h: small cleanup
17268
17269         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17270         to inlines after class def.
17271
17272         * buffer.C (pop_tag): use string operations instead of strcmp
17273
17274         * bmtable.c: doxygen, small cleanup
17275
17276         * LaTeX.h: remove friend operator==
17277
17278 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17279
17280         * screen.C:
17281         * lyxrc.[Ch]:
17282         * lyxfunc.C:
17283         * lyxfont.[Ch]:
17284         * lyx_cb.C:
17285         * intl.[Ch]:
17286         * commandtags.h:
17287         * buffer.C:
17288         * WorkArea.[Ch]:
17289         * LyXAction.C:
17290         * BufferView_pimpl.C:
17291         * BufferView.[Ch]: remove cruft
17292
17293 2001-02-14  Juergen Vigna  <jug@sad.it>
17294
17295         * lyxfunc.C: removed #if 0 unused code
17296
17297         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17298
17299         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17300
17301         * text2.C (SetSelection): added a BufferView * parameter
17302
17303 2001-02-13  Juergen Vigna  <jug@sad.it>
17304
17305         * lyxfunc.C (Dispatch): fixed protected blank problem.
17306         * BufferView2.C (protectedBlank): added LyxText * parameter.
17307
17308         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17309         (AppendColumn): same as above for column_info.
17310
17311         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17312         (moveCursorUpdate): use a LyXText param for support of InsetText.
17313
17314         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17315         (tripleClick): ditto
17316
17317         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17318
17319         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17320
17321         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17322
17323         * text2.C (SetSelection): set correct update status if inset_owner
17324         (ToggleFree): ditto
17325
17326 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17327
17328         * tabular.C: remove some commented code.
17329
17330 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17331
17332         * BufferView_pimpl.C: call hideSplash()
17333
17334         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17335
17336         * include_form.h:
17337         * bibforms.h: remove
17338
17339         * lyxfunc.C:
17340         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17341           add LFUN_CHILD_CREATE
17342
17343         * counters.h: fix tiny typo
17344
17345         * lyx_cb.C:
17346         * lyx.h:
17347         * lyx_gui.C:
17348         * lyx.C: move splash to frontends/xforms/
17349
17350         * lyx_gui_misc.C: move Include and Bibform to frontends
17351
17352         * lyxvc.h: clarify comment
17353
17354         * vspace.C: tiny housekeeping
17355
17356 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17357
17358         * text.C (PrepareToPrint): RTL Fix.
17359
17360         * paragraph.C (GetUChar): New method.
17361         (String):  Use GetUChar.
17362
17363         * buffer.C (asciiParagraph): Use GetUChar.
17364
17365 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17366
17367         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17368
17369 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17370
17371         * buffer.h:
17372         * buffer.C: rename to getLogName(), handle
17373           build log / latex log nicely
17374
17375 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17376
17377         * MenuBackend.C:
17378         * MenuBackend.h: remove support for reference menuitem type.
17379
17380 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17381
17382         * BufferView_pimpl.C: housekeeping
17383         * BufferView_pimpl.h:
17384         * LyXView.h:
17385         * Makefile.am:
17386         * Timeout.C:
17387         * Timeout.h:
17388         * minibuffer.h: move Timeout GUI-I
17389
17390 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17391
17392         * lyxrc.C (read): Update converters data-structures.
17393
17394 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17395
17396         * LaTeX.h (operator!=): add operator != for Aux_Info
17397
17398 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17399
17400         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17401
17402         * LaTeXLog.C: deleted, useful code moved to Buffer
17403
17404         * buffer.h:
17405         * buffer.C: new function getLatexLogName()
17406
17407         * lyx_gui_misc.C:
17408         * lyx_gui.C:
17409         * lyxvc.C:
17410         * lyxvc.h:
17411         * lyxfunc.C: use frontends for LaTeX and VC logs
17412
17413 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17414
17415         * LaTeX.h: yet another std:: that Allan forgot.
17416
17417         * Variables.C (set): renamed from isset(), because this clashes
17418         with some HP-UX macros (grr).
17419
17420 2001-02-06  Allan Rae  <rae@lyx.org>
17421
17422         * LaTeX.h: Another bug fix.  Missing std:: this time.
17423
17424 2001-02-04  Allan Rae  <rae@lyx.org>
17425
17426         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17427         floats problem. I've left it commented out because it's not quite
17428         correct.  It should also test that the current object is a table or
17429         figure inset.  But I haven't gotten around to figuring out how to do
17430         that.  I *think* it'll be something like: "table" == inset.type()
17431
17432         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17433         bool.
17434
17435 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17436
17437         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17438         all the citation/databases/styles in the auxilary file.
17439         (run): Rerun latex if there was a babel language error.
17440
17441 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17442
17443         * text.C (Backspace): Preserve the font when changing newline char
17444         with a space.
17445         (BreakParagraph): If the cursor is before a space, delete the space.
17446
17447         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17448
17449 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17450
17451         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17452         new argument (code).
17453         (ChangeCitationsIfUnique): New method.
17454
17455         * paragraph.C (GetPositionOfInset): Handle bibkey.
17456
17457 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17458
17459         * BufferView_pimpl.h: change type of Position::par_pos to
17460         LyXParagraph::size_type.
17461
17462 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17463
17464         * BufferView_pimpl.C (savePosition, restorePosition): Write
17465         messages to minibuffer.
17466
17467 2001-01-28  José Matos  <jamatos@fep.up.pt>
17468
17469         * buffer.C (makeDocBookFile): adds support for document language.
17470         A silly restriction on the name of LatexCommand types where removed.
17471         Added support for CDATA sections, allows to chars unescaped, used
17472         among others in code, to avoid escape < and >.
17473
17474 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17475
17476         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17477         saved positions instrad of a stack. Furthermore, a position is
17478         stored using paragraph id/paragraph position.
17479
17480         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17481         Remove LFUN_REF_BACK.
17482
17483 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17484
17485         * converter.C (dvipdfm_options): New method.
17486
17487 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17488
17489         * vspace.C (isValidLength): Fix for empty input string.
17490
17491 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17492
17493         * LyXAction.C (init): change description of LFUN_FIGURE to
17494         "Insert Graphics"
17495
17496 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17497
17498         * LaTeX.C: add using directive
17499
17500 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17501
17502         * MenuBackend.C (expand): Fix the sorting of the formats.
17503
17504 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17505
17506         * lyx_main.C: tiny error message fix
17507
17508 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17509
17510         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17511         calling fl_initialize(). This fixes the problem with ',' as
17512         decimal separator in text files.
17513
17514 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17515
17516         * trans.C (process): Fix the keymap bug.
17517
17518 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17519
17520         * LaTeX.C (scanAuxFiles): New method. Provides support for
17521         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17522         (scanLogFile) Scan for "run BibTeX" messages.
17523
17524         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17525         OT1 font encoding. Also, load the aecompl package if the ae
17526         package is loaded.
17527
17528         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17529
17530 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17531
17532         * texrow.C (increasePos): turn two error messages into debug
17533         messages.
17534
17535 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17536
17537         * LaTeX.C (scanAux): Handle the \@input macro.
17538         (runBibTeX): Use scanAux().
17539
17540         * language.C (latex_options_): New field.
17541
17542         * LaTeXFeatures.C (getMacros): Add language macros.
17543
17544         * buffer.C (makeLaTeXFile): Small fix.
17545
17546 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17547
17548         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17549
17550         * text2.C: add a using directive.
17551
17552 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17553
17554         * BufferView2.C:
17555         * lyx_gui_misc.h:
17556         * lyxfr1.C:
17557         * lyxfunc.C: kill LyXBell.
17558
17559 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17560
17561         * text.C (IsBoundary): Remove the error message
17562
17563         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17564
17565         * lyxrc.C (setDefaults): Correct initialization value for
17566         font_norm_type.
17567
17568 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17569
17570         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17571         gotoError().
17572
17573         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17574         and GotoNextNote().
17575
17576         * src/LyXAction.C: Added reference-next.
17577
17578         * text.C (InsertChar): Use contains instead of strchr.
17579
17580         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17581
17582 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17583
17584         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17585         alignment commands (when needed).
17586
17587         * text.C (InsertChar): Add ':' to number separator chars.