]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
undefined charstyle fixes from Martin and me
[lyx.git] / src / ChangeLog
1 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
4         SwitchBetweenClasses and remove the unused return value.
5         Handle character styles, too
6
7 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
8
9         * factory.C (createInset): handle undefined character styles
10
11 2005-05-02  Angus Leeming  <leeming@lyx.org>
12
13         * buffer.C: protect the #include of utime.h with a preprocessor
14         guard.
15
16 2005-05-02  Angus Leeming  <leeming@lyx.org>
17
18         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
19         function so that suto-saving works, albeit in a blocking manner.
20
21         * Makefile.am: make compilation of the client sub directory, of
22         apsellC, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
23         on conditionals set at configure time.
24
25         * SpellBase.[Ch]: no longer an abstract base class. Instead,
26         it can be compiled in its own right but has no-op functionality.
27
28         * aspell.C, pspell.C: remove preprocessor guards. The files should
29         be compiled only if the necessary functionality exists.
30
31         * lyxserver.C, lyxsocket.C: disable on Windows.
32
33 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
34
35         * text.C (leftMargin): Fix the parindent use bug (1764)
36         by dirty trick
37
38 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
39
40         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
41         argument.
42
43 2005-04-25  Angus Leeming  <leeming@lyx.org>
44
45         * Bidi.[Ch]:
46         * coordcache.[Ch]:
47         * ispell.C:
48         * lyxserver.C:
49         * mover.C:
50         * pch.h:
51         include <config.h> in .C files, not .h ones.
52         add licence blurb.
53         protect headers inside preprocessor guards.
54
55 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
56
57         * FuncStatus.h (StatusCodes): document
58
59 2005-04-21  André Pönitz  <poenitz@gmx.net>
60
61         * FuncStatus.h (enabled, onoff): document
62
63 2005-04-19  Angus Leeming  <leeming@lyx.org>
64
65         * BufferView_pimpl.C (cursorToggle): no longer test whether
66         any child processes have been reaped before calling
67         handleCompletedProcesses().
68
69 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
70
71         * text3.C (dispatch): fix, finally fix, the language problem in
72         new lyxtexts, without disabling on-the-fly font changes (Helge's
73         bug report)
74
75 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
76
77         * text3.C (dispatch): set cursor on double/triple click events
78         (bug 1811)
79
80 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
81
82         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
83         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
84
85         * rowpainter.C (paintFirst): simplify the code a little bit. In
86         particular, remove the test for secnumdepth.
87         * text.C (setHeightOfRow): only allocate space for chapter number
88         when updateCounters provided an actual label, instead of looking
89         at secnumdepth directly.
90
91         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
92
93         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
94         paragraphs when secnumdepth is large enough or, for environments,
95         when they are not the first in a sequence.
96
97 2005-04-17  Angus Leeming  <leeming@lyx.org>
98
99         * buffer.C (makeLaTeXFile): replace code to manipulate a path
100         containing space and '~' characters with a call to latex_path().
101
102 2005-04-17  Angus Leeming  <leeming@lyx.org>
103
104         * converter.C (convert): protect all args of convertDefault.sh
105         script with quotes.
106
107 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * text3.C (dispatch): change the layout to "Caption" after inserting
110         a float.
111
112 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
113
114         * text3.C (dispatch): fix language problem in newly created
115         textinsets (and main text) in non-english docs
116
117 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
118
119         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
120         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
121         * text3.C (getStatus): disable LFUN_INSET_MODIFY
122
123 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
124
125         * lyxtext.h:
126         * text.C (metrics):
127         * text2.C (getFont):
128         * rowpainter.C (getFont): Fix metrics bug introduced by inset
129         fonts fix
130
131 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
132
133         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
134         output of \item arguments without trailing text.
135
136 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
137
138         * FontIterator.C (operator*): avoid a copy of the font.
139
140 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
141
142         * rowpainter.C (getFont): fix language bug from previous fix
143
144 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
145
146         * rowpainter.C (RowPainter, getFont): fix font inside inset
147         (bugs 1766, 1809)
148
149 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
150
151         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
152         preventing inserted font, deco, delim insets jumping to start of
153         surrounding inset.
154
155 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
156
157         * lyxfunc.C (dispatch): translate message before sending it to the
158         minibuffer.
159
160 2005-03-29  Angus Leeming  <leeming@lyx.org>
161
162         * lyx_main.C (priv_exec): call os::internal_path on each file passed
163         to LyX on the command line.
164
165 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
166
167         * vc-backend.C: use QuoteName to protect file names wherever
168         necessary.
169
170 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
171
172         * buffer.[Ch]:
173         * BranchList.h: fix bugs 1844,1845: document settings don't
174         stick
175
176 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
177
178         * lyxrc.C (setDefaults, read, output, getDescription): add support
179         for tex_allows_spaces.
180
181         * exporter.C (Export): allows files in directory containing spaces
182         if tex_allows_spaces is true.
183
184         * buffer.C (makeLaTeXFile): if the document path contains spaces,
185         output it in double quotes.
186
187 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
188
189         * rowpainter.C: use default text height for drawing change tracker
190         strikeout lines.
191
192 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
193
194         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
195
196 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
197
198         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
199         directory is missing.
200
201 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
202
203         * text2.C: fixed the fix, extended to other case.
204
205 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
206
207         * text2.C: fix for cursor up/down stuck in math [bug 1792]
208
209 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
210
211         * text2.C (cursorUp): get rid of a crash
212         * text.C (x2pos): add an assert
213
214 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215
216         * lyxfunc.C (getStatus): fix warning when assertions are disabled
217
218         * text3.C:
219         * lyxfunc.C:
220         * dociterator.C: include <boost/current_function.hpp>, which is
221         needed when assertions are disabled.
222
223 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
224
225         * text2.C: fix for stuck cursor when traversing two
226         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
227
228 2005-02-25  Andreas Vox  <avox@arcor.de>
229
230         * output_docbook.C (makeParagraph): suppress trailing newline
231         after a run of paragraphs
232
233 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
234
235         * paragraph.C: fix for confused change tracker when pasting
236         text that begins with a lineseparator. [bug 1827]
237         (setChange(0, Change::INSERTED);)
238
239         * paragraph_funcs.C: fix for lost changes on triple-paste
240         in change tracking mode [bug 1827] (par.setChange()).
241
242 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
243
244         * text2.C (updateCounters, setCounter, expandLabel): move to
245         buffer_funcs.
246
247         * buffer_funcs.C (updateCounters): turn into a free standing
248         function and add a buffer parameter. Remove dead code for tracking
249         labelstring change.
250         (setCounter): change into a free-standing function which gets a
251         dociterator as argument. Use this iterator to fix captions in a
252         simple way. When no float is found above the caption, use the
253         labelstring of the caption layout as default.
254
255         * text.C (breakParagraph, backspace):
256         * text2.C (init, setLayout, changeDepth):
257         * text3.C (dispatch):
258         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
259         updateCounters.
260
261         * dociterator.C (forwardPar): make it much faster by calling
262         forwardPos() only when really necessary.
263
264         * output_docbook.C (makeCommand): adapt to expandLabel move.
265
266         * cursor.C: remove unused variable
267
268 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
269
270         * paragraph_funcs.C: fix crash when pasting insets in change
271         tracking mode [bug 1277] (honour change type in moveItem).
272
273 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
274
275         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
276
277 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
278
279         * BufferView.C (setCursor): change to use a DocIterator.
280         (gotoLabel): use BufferView::setCursor (other part of bug 781).
281         (putSelectionAt): adapt to BufferView::setCursor change.
282
283         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
284         moved here from LyXText and rewritten to use proper cursor
285         methods. Fixes bug 1787, 616 and 835.
286
287         * BufferView_pimpl.C (restorePosition): set the cursor correctly
288         when inside an inset (part of bug 781).
289         (dispatch): adapt to change of BufferView::setCursor.
290         (getStatus, dispatch): handle LFUN_GOTOERROR,
291         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
292
293         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
294         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
295         * text3.C (gotoNextInset, gotoInset): removed.
296
297 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
300
301 2005-02-15  Angus Leeming  <leeming@lyx.org>
302
303         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
304         can be used meaningfully in a comparison.
305
306 2005-02-13  André Pönitz  <poenitz@gmx.net>
307
308         * bufferview_funcs.C (coordOffset): improve cursor drawing
309
310 2005-02-13  André Pönitz  <poenitz@gmx.net>
311
312         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
313         * Cursor.C (dispatch): use fixIfBroken
314         * lyxfunc.C (getStatus): use fixIfBroken
315
316 2005-02-15  Angus Leeming  <leeming@lyx.org>
317
318         * lyx_main.C (error_handler):
319         * lyxfunc.C:
320         * lyxrc.C (setDefaults):
321         s/GetEnv/getEnv/.
322         #include "environment.h".
323
324         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
325
326 2005-02-15  Angus Leeming  <leeming@lyx.org>
327
328         * lyxserver.C (startPipe): squash MSVC warning "local variable
329         'fd' used without having been initialized".
330
331 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
332
333         * BufferView_pimpl.C: revert accidental commit.
334
335 2005-02-14  André Pönitz  <poenitz@gmx.net>
336
337         * dociterator.[Ch]: new member forwardPosNoDescent(),
338         which doesn't enter nested insets.
339         * text2.C (setFont): use forwardPosNoDescent() instead
340         of ForwardPos() (fixes crash on font change).
341
342 2005-02-13  Angus Leeming  <leeming@lyx.org>
343
344         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
345         only if lyxrc.path_prefix is not empty.
346
347 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
348
349         * bufferparams.C (readGraphicsDriver): prevent crash
350
351 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
352
353         * text2.C (setCounter): check for inInset() == 0
354
355 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
356
357         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
358         but use update() to get correct screen display; use convert
359         instead of istringstream.
360         (getStatus): handle LFUN_GOTO_PARAGRAPH
361
362         * lyxfunc.C (dispatch, getStatus): do not handle
363         LFUN_GOTO_PARAGRAPH here.
364
365 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
366
367         * text3.C (dispatch): size() -> depth()
368
369         * text2.C: remove some debug output
370
371         * paragraph.C: ws changes only
372
373         * lyxfunc.C (getStatus): size() -> depth()
374
375         * dociterator.h (clear, push_back, pop_back, internalData,
376         operator[], resize, empty): new functions
377         Make StableDocIterator and operator== be friends. Don't inherit
378         from std::vector use a privat class variable slices_ instead.
379         Modify to fit.
380
381         * dociterator.C: update because of not inheriting from std::vector
382         anymore. Call explictly to slices_ instead. Use depth() instead of
383         size() and top() instead of back()
384
385         * cursor.C: chagne size() -> depth and back() -> top(). Also
386         remove some direct operator[](i) calls in favour of foo[i]
387         (getFont): remove some dead code
388
389         * bufferview_funcs.C (coordOffset): size() -> depth()
390
391         * buffer.C: ws changes only
392
393         * CutAndPaste.C (eraseSelection): back() -> top()
394
395         * BufferView_pimpl.C (selectionRequested): back() -> top()
396
397         * BufferView.C (setCursor): size() -> depth()
398
399 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
400
401         * text3.C (cursorPrevious): return true if depm changed something
402         (cursorNext): ditto
403         (dispatch): rename sl to oldTopSlice, remove moving use the new
404         NoUpdate func attrib instead. Make sure that needsUpdate is set
405         for function that have NoUpdate, but where depm might have changed
406         the buffer anyway.
407
408         * text2.C (cursorLeft): make us return true if depm changed
409         something
410         (cursorRight): ditto
411         (cursorUpParagraph): ditto
412         (curosrDownParagraph): ditto
413         (cursorUp, cursorDown): ditto, make sure to read comments in code
414         (deleteEmptyParagraphMechanism): remove an assert, also return
415         true if just a single char was deleted.
416
417         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
418         cursor that we modify, to avoid modifying an active cursor before
419         we call setCursor. This allows depm to run. Also return true if
420         depm deleted something.
421
422         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
423         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
424         cursorDownParagraph, cursorPrevious and cursorNext, return true if
425         something was changed in the buffer because of them (ie. depm run)
426
427         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
428         debug messages. Make update by default be false. Make sure that
429         the result of update is retained throught several calls down to
430         dispatch.
431
432         * LyXAction.h: add a new func_attrib: NoUpdate
433
434         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
435         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
436         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
437         and LFUN_WORDLEFT
438         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
439
440 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
441
442         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
443         bv_->owner(), bv_->buffer() by direct references to the private
444         members.
445         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
446         (getStatus): isSavedPosition() is in BufferView::Pimpl.
447         (fitCursor): center() is in BufferView::Pimpl.
448         (getStatus, trackChanges, dispatch): no need for a temporary buf
449         variable
450         (fitCursor, workAreaDispatch): use workarea().workheight()
451
452 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
453
454         * CutAndPaste.C (pasteSelectionHelper): fix a crash
455
456 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
457
458         * buffer.C: format up to 241.
459         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
460         break if pasting into ERT
461         * lyxfunc.C (getStatus): suppress mathpanel and
462         LFUN_DIALOG_SHOW_NEW_INSET in ERT
463
464 2005-02-01  Angus Leeming  <leeming@lyx.org>
465
466         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
467
468 2005-02-01  Angus Leeming  <leeming@lyx.org>
469
470         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
471         calling fs::is_directory().
472
473 2005-01-31  Angus Leeming  <leeming@lyx.org>
474
475         * lyx_main.C (priv_exec): specify explicitly the relative location
476         of the top level build directory when run in-place.
477
478 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
481         LyXText containing the cursor, not the top-level one.
482
483         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
484         true.
485         (insertStringAsLines): rename par to pit; use temporary variable
486         par to hold a Paragraph; do not store par.layout() in a variable,
487         since the pointer may die when breaking paragraphs; pass pars to
488         breakParagraph() instead of Buffer::paragraphs().
489
490 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
491
492         * lyxlex_pimpl.h: #include <fstream>.
493
494         * BufferView.[Ch] (getLyXText): add a const version.
495
496         * BufferView_pimpl.C: add debug aids.
497
498         * RowList_fwd.h:
499         * buffer.h:
500         * lyxrow.h:
501         * paragraph_funcs.h: add commentary explaining what the class does.
502
503
504         * coordcache.[Ch]: add lots of commentary.
505         (startUpdating, doneUpdating): debug aids.
506         (arrays, insets, parPos, getParPos): accessors to private data.
507
508         * cursor_slice.[Ch] (text): add a const version.
509         * dociterator.[Ch] (text, innerText): add const versions.
510
511         * lyxtext.h (breakParagraph): change the keep_layout arg to a
512         bool.
513
514         * paragraph.C (getRow, pos2ros): add asserts.
515
516         * paragraph.h: add commentary. Lots of.
517
518         * paragraph.[Ch] (metrucs, draw): removed.
519
520         * cursor.C:
521         * rowpainter.[Ch]: const-correct changes.
522
523         * text.C: various obvious clean-ups. Removal of ancient cruft.
524         Bug fixes, even.
525
526 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
527
528         * vc-backend.C (find_file): rewrite to use boost.filesystem
529         (scanMaster): ditto
530
531         * main.C (main): set default name check for boost.filesystem to
532         no check
533
534         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
535         (open): ditto
536         (doImport): ditto
537         (actOnUpdatedPrefs): ditto
538
539         * lyx_main.C (init): rewrite to use boost.filesystem
540         (queryUserLyXDir): ditto
541
542         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
543         (getContentsOfAsciiFile): ditto
544
545         * lastfiles.C (readFile): rewrite to use boost.filesystem
546
547         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
548
549         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
550         (loadLyXFile): ditto
551
552         * buffer.C (Buffer): adjust for destroydir
553         (getLogName): rewrite to use boost.filesystem
554         (setFileName): ditto
555         (save): use fs::copy_file (from fs_extras)
556
557         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
558
559         * LaTeX.C (run): rewrite to use boost.filesystem
560         (scanAuxFiles): ditto
561         (handleFoundFile): ditto
562
563 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
564
565         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
566
567         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
568
569 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
570
571         * lyxlayout.[Ch]: change some vars from float to double
572
573         * buffer.C (readFile): make a local var const
574
575         * Several files: use convert<> instead of atoi,strToXXX and friends
576
577 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
578
579         * LaTeXFeatures.[Ch]: Add a static list packages_ that
580         holds the contents of packages.lst. New functions getAvailable
581         and isAvailable to parse and check that list, resp.
582
583         * LyXAction.C:
584         * lfuns.h:
585         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
586
587         * bufferparams.[Ch]: new param output_changes.
588
589         * Buffer.C: increase file format to 240.
590         Use output_changes and isVailable.
591
592         * changes.[Ch]:
593         * paragraph.C:
594         * paragraph_pimpl.C: Use output_changes and isVailable.
595
596 2005-01-23  Angus Leeming  <leeming@lyx.org>
597
598         * output_latex.C: #include "insetbibitem.h", rather than
599         forward declare function bibitemWidest.
600
601 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
602
603         * lyx_main.C (init): make it compile on the Mac.
604
605 2005-01-20  Angus Leeming  <leeming@lyx.org>
606
607         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
608         (setLyXMisc): (char string literal) != (char string literal) is
609         performing a comparison on the addresses. Convert one operand
610         explicitly to string to guarantee expected behaviour.
611         From MSVC warning.
612
613 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
614
615         * buffer.C:
616         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
617
618         * output_plaintext.C: remove unneeded #include gzstream.h.
619
620 2005-01-20  Angus Leeming  <leeming@lyx.org>
621
622         * SpellBase.h: rename some of the elements of the Result enum.
623
624         * aspell_local.h:
625         * ispell.h:
626         * pspell.h:
627         * aspell.C (check):
628         * ispell.C (check):
629         * pspell.C (check): ditto
630
631 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
632
633         * buffer.C: add #include <fstream>.
634
635         * lyx_main.C (init): Compile fix.
636
637         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
638
639 2005-01-20  Angus Leeming  <leeming@lyx.org>
640
641         * mover.h: change commentary to reflect the changed meaning of
642         the $$s placeholder.
643
644 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         * output_linuxdoc.C (linuxdocParagraphs): silence warning
647
648         * lyxfind.C (MatchString::operator()): remove bogus semicolon
649
650 2005-01-20  Angus Leeming  <leeming@lyx.org>
651
652         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
653         printing diagnostic data by not dereferecing an iterator past the
654         end.
655
656 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
657
658         * buffer.C (readHeader): use "&&" rather than "and".
659
660         * lyxserver.h (inPipeName, outPipeName): make these const.
661
662 2005-01-19  Angus Leeming  <leeming@lyx.org>
663
664         * lyx_main.C (error_handler, init): protect SIGHUP with
665         #ifdef SIGHUP guards.
666
667 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
668
669         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
670
671 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
672
673         * text.C (setHeightOfRow): add a margin at the top and bottom of
674         the document (bug 1761)
675
676 2005-01-17  Angus Leeming  <leeming@lyx.org>
677
678         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
679         with "python ". Workaround for a brain-dead Windows.
680
681 2005-01-16  Angus Leeming  <leeming@lyx.org>
682
683         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
684         for MacOSX and Windows to use prependEnvPath.
685         Strip out the hard-coded block to add elements to the PATH for
686         MacOSX and replace it with a call to prependEnvPath using the
687         contents of LyXRC::path_prefix.
688         (queryUserLyXDir): strip out the code to run reconfigure, instead
689         returning a boolean indicating the necessity to do so.
690         (reconfigureUserLyXDir): contains the code to reconfigure the
691         user support directory. Is now called after the various LyXRC data
692         files have been read.
693
694         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
695
696 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
697
698         * converter.[Ch] (convert): take a new parameter try_default. Use
699         a default converter (imagemagick) if try_default is true.
700
701 2005-01-13  Angus Leeming  <leeming@lyx.org>
702
703         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
704         os::cygwin_path_fix.
705         (write): output LyXRC::cygwin_path_fix as necessary.
706
707 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
708
709         * lyxrc.h:
710         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
711
712 2005-01-12  Angus Leeming  <leeming@lyx.org>
713
714         * lyx_main.C (init): set the PATH variable to include the
715         directory containing the LyX binary when running on Mac or Windows.
716
717 2005-01-12  Angus Leeming  <leeming@lyx.org>
718
719         * lyx_main.C (init): remove cruft that purports to set the locale
720         dir. It doesn't and is not needed anyway.
721
722 2005-01-10  Angus Leeming  <leeming@lyx.org>
723
724         * Makefile.am: remove the lyx_main.C special casing.
725
726         * BufferView_pimpl.C:
727         * bufferlist.C:
728         * exporter.C:
729         * lyx_cb.C:
730         * lyx_main.C:
731         * lyxfunc.C:
732         * messages.C: use support/package.h to provide the paths to the
733         various directories used by LyX.
734
735 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
736
737         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
738         layout if pasting into an empty paragraph)
739
740 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
741
742         * tex-accent.C: add <string>
743
744 2005-01-06  José Matos  <jamatos@lyx.org>
745
746         * ParagraphParameters.C (write): put every parameter in its own line.
747         * paragraph.C (write): reduce number of consecutive empty lines exported.
748         * buffer.C (LYX_FORMAT): increase file format to 239.
749
750 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
751
752         * everywhere: change support/tostr.h -> support/convert.h
753
754         * tabular.C: make all write_attributes templates, tostr -> convert
755
756         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
757         (emptyTag): and -> &&, and fix type for ret from getChar
758         (getFirstWord): fix type for ret from getChar
759         (onlyText): and -> &&
760         (simpleDocBookOnePar): and not -> && !, fix type for ret from
761         getChar
762
763         * toc.C (goTo, action):
764         * text3.C (dispatch):
765         * text.C (currentState):
766         * tex-accent.C (DoAccent):
767         * sgml.C:
768         * lyxrc.C:
769         * lyxfunc.C (menuNew):
770         * lyxfinc.C (replace):
771         * counters.C (laberItem):
772         * bufferview_funcs.C (font2string):
773         * bufferparams.C (writeFile):
774         * buffer.C (readFile):
775         * Spacing.C (set):
776         * MenuBackend.C: tostr -> convert
777
778         * LaTeX.C (runMessage): fix format
779         (scanAuxFiles): tostr -> convert
780
781         * BufferView_pimpl.C (savePosition): fix format
782         (restorePosition): ditto
783         (dispatch): ditto
784
785 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
786
787         * Spacing.[Ch]: New method getValueAsString().
788
789         * Spacing.[Ch]:
790         * bufferparams.C:
791         * ParagraphParameters.C:
792         * lyxlayout.C:
793         * text.C:
794         * text3.C: store/read spacing value as string.
795
796         * rowpainter.C: change float value (spacing_val) to double.
797
798         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
799         broken custom document spacing).
800
801 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
802
803         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
804         namespace, also more use of temp references and const
805
806         * cursor.[Ch] (getStatus): move to lyxfunc.C
807
808         * bufferparams.C: reformat slightly
809
810         * bufferview_funcs.C (font2string): constify arg
811
812         * changes.C:
813         * converter.C:
814         * counters.C:
815         * bufferlist.C:
816         * buffer_funcs.C: (many funcs): constify arg on function
817         definitions, also make more local vars const, also add ASSERTS on
818         pointer args.
819
820         * buffer.C (LYX_FORMAT): put const in correct place
821         (many funcs): constify arg on function definitions, also make
822         more local vars const
823
824         * aspell_local.h: remove "struct" from typdef setup
825
826         * aspell.C (check): make word_ok const
827         (nextMiss): simplify slightly
828         (error): ditto
829
830 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
831
832         * lyxrc.[Ch]: store all float values as strings.
833         use int (not float) for lyxrc.dpi.
834
835 2005-01-04  Angus Leeming  <leeming@lyx.org>
836
837         * lyx_cb.C (Reconfigure):
838         * lyx_main.C (queryUserLyXDir):
839         to run the <system_lyxdir>/configure correctly on Windows, prefix
840         the path to the script with "sh " when generating the string that
841         is passed to system().
842
843 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
844
845         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
846
847 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
848
849         * lyxlength.C (asLatexString): get rid of setprecision
850
851 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
852
853         * text2.C (setLayout): remove unused variable endpit.
854         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
855
856         * paragraph.C (onlyText): remove unused variable style.
857
858         * cursor.C (bruteFind): remove unused variables beg and end.
859
860         * Makefile.am (dist_noinset_DATA): not needed anymore
861
862         * cheaders/*: remove.
863
864 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
865
866         * text3.C: fix LFUN_MATH_MODE.
867
868 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
869
870         * buffer_funcs.C (countWords): new function. Counts words between
871         two iterators.
872
873         * BufferView_pimpl.C (getStatus, dispatch): handle
874         LFUN_WORDS_COUNT.
875
876         * LyXAction.C (init):
877         * lfuns.h: add LFUN_WORDS_COUNT.
878
879 2004-12-19  Angus Leeming  <leeming@lyx.org>
880
881         * buffer.C (save): s/slashify_path/internal_path/.
882
883 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
884
885         * lyxfind.C (findChange): do not search for end of pars, because
886         the change tracker cannot handle this (fixes bug 1719).
887
888 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
889
890         * paragraph.[Ch] (autoBreakRows): remove
891
892         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
893
894         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
895         avoid using the paragraph one
896
897         * text2.C (LyXText, insertStringAsLines): adjust
898
899 2004-12-16  Angus Leeming  <leeming@lyx.org>
900
901         * bufferlist.C:
902         * lyx_main.C:
903         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
904
905 2004-12-14  Angus Leeming  <leeming@lyx.org>
906
907         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
908
909         * bufferlist.C (emergencyWrite):
910         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
911         GetEnvPath("HOME").
912
913 2004-12-14  Angus Leeming  <leeming@lyx.org>
914
915         * main.C: (main): no longer pass pointers to os::init.
916
917 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
918
919         * undo.C (textUndoOrRedo): simplify logic, fix a crash
920         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
921
922 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
923
924         * lyxfunc.C:
925         * text3.C: remove selection_possible global flag
926
927 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
928
929         * text2.C (getSelectionSpan): remove
930         (changeDepth, changeDepthAllowed): adjust
931
932 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
933
934         * Makefile.am (BOOST_LIBS): use boost variables
935
936 2004-12-03  José Matos  <jamatos@lyx.org>
937
938         * buffer.C: format up to 238.
939
940 2004-12-03  José Matos  <jamatos@lyx.org>
941
942         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
943
944 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
945
946         * cursor.C (goUpDown): remove call to idxUpDown2
947
948 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
949
950         * tabular.[Ch]: use size_t-like types for cell, row and column
951         indices
952
953 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
954
955         * lyxfunc.C (getStatus): do not lose previous information when
956         calling BufferView::getStatus; do not set a default "Command
957         disabled" message at the beginning, but just before returning.
958
959 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
960
961         * cursor.h (getStatus): add better comment from src/cursor.C
962
963 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
964
965         * text3.C (getStatus): return false when the lfun is not handled
966
967 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
968
969         * broken_headers.h: remove
970
971         * Makefile.am (lyx_SOURCES): remove broken_headers.h
972
973 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
974
975         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
976         offset_ref accessors
977
978         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
979         top_y_, merge fitcursor with update
980         (updateScrollbar, scrollDocView, fitCursor, center, update): new
981         coord scheme
982         (metrics): introduce
983         (workAreaDispatch): adapt to new coord scheme
984         (redoCurrentBuffer): remove
985
986         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
987
988         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
989         CurStatus enum.
990
991         * coordcache.[Ch]: add paragraph cache and helpers
992
993         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
994         adjust everywhere
995
996         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
997         (targetX, setTargetX): introduce
998
999         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1000         baseline -> ascent, as the rest of lyx
1001
1002         * lyxtext.h: remove redoParagraphs, updateParPositions,
1003         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1004         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1005         have ascent/descent (ascent is ascent of first par)
1006
1007         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1008         step of BufferView
1009
1010         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1011
1012         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1013
1014         * pariterator.C: fix infinite loop introduced in par->pit renaming
1015
1016         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1017         in insets and LyXText, draw two off-screen paragraphs using
1018         NullPainter, and adapt to new coord scheme
1019
1020         * text.C:
1021         * text2.C:
1022         * text3.C: adapt lfun handlers to the new coord scheme, which
1023         means: there's only guaranteed coord information for onscreen pars
1024         plus one above and one below. This implies that one can do search
1025         from y coordinates in the range [-1,workHeight]
1026
1027 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1028
1029         * rename a lot of InsetOld to InsetBase
1030
1031 2004-11-25  Angus Leeming  <leeming@lyx.org>
1032
1033         * BufferView_pimpl.C:
1034         * lyx_cb.C:
1035         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1036
1037 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1038
1039         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1040         call BufferView::getStatus if LCursor::getStatus did nothing
1041         (setStatusMessage, getStatusMessage): removed.
1042
1043         * FuncStatus.C (message): new methods. Used to provide an error
1044         message indicating why a command is disabled.
1045         (clear, |=, FuncStatus): update for message.
1046
1047 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1048
1049         * lyxfunc.C (dispatch): always call sendDispatchMessage
1050
1051 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1052
1053         * BufferView.C:
1054         * BufferView_pimpl.C:
1055         * CutAndPaste.C:
1056         * FontIterator.C:
1057         * buffer.C:
1058         * cursor.C:
1059         * cursor_slice.[Ch]:
1060         * dociterator.[Ch]:
1061         * lyxfind.C:
1062         * paragraph_funcs.C:
1063         * pariterator.C:
1064         * rowpainter.C:
1065         * text.C:
1066         * text2.C:
1067         * text3.C:
1068         * undo.C: par->pit renaming
1069
1070 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1071
1072         * tabular.C (cellstruct): use initialization, store a shared_ptr
1073         to insettext instead of the insettext directly, adjust to fit.
1074         (operator=):  new function
1075         (swap): new function
1076         (rowstruct): use initialization
1077         (columnstruct): use initialization
1078         (ltType): use initialization
1079
1080
1081         * lyxlength.h (swap): new function
1082
1083         * LColor.[Ch] (operator=): use the common semantics
1084
1085 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1086
1087         * lyxfind.C (findNextChange): update the bufferview after setting
1088         the selection.
1089
1090 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1091
1092         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1093         number of InsetOptArgs has already been inserted.
1094
1095         * output_latex.C (latexOptArgInsets): new method. This outputs all
1096         the optarg insets, up to the limit defined in the layout file.
1097         (optArgInset): removed
1098         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1099
1100 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1101
1102         * paragraph.C (isLetter): remove special spellchecker-related
1103         code; return true also for digits
1104         (isWord, isKomma): remove
1105
1106         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1107         * lyxfind.C (MatchString()): use isLetter instead of isWord
1108
1109 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1110
1111         * pariterator.h (operatir=): comment out un-implemented member
1112         function.
1113
1114         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1115         static cast.
1116
1117 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1118
1119         * lyxfont.h: include LColor.h to satisfy concept checks.
1120
1121 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1122
1123         * pariterator.h: add typdefs for value_type, difference_type,
1124         pointer and reference to satisfy concept checks. Also add default
1125         constructor for same reason.
1126
1127         * pariterator.C (operator++): add post-increment operator to
1128         satisfy concept checks.
1129
1130         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1131         checks.
1132
1133         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1134
1135         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1136         checks. Also rename base_type to BaseType to follow naming
1137         standard better.
1138
1139         * FloatList.h: include Floating.h to satisfy concept checks.
1140
1141 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1142
1143         * lyxfunc.C (getStatus): when the origin of the request is menu or
1144         toolbar, and the LyXView does not have focus, do as if there was
1145         no buffer (bug 1720)
1146
1147         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1148         FuncRequest to individual entries of LFUN_SEQUENCE
1149
1150 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1151
1152         * output_latex.C (TeXOnePar): override runparams.moving_arg
1153         according to the needprotect value of the current paragraph (bug
1154         1739)
1155
1156         * paragraph.C (simpleTeXOnePar): no need to override
1157         runparams.moving_args here
1158
1159 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1160
1161         * vspace.C: fix off-by-one-error, related to fix #1682
1162
1163 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1164
1165         * lengthcommon.C: a more general fix for bug 1682
1166
1167 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1168
1169         * text.C (backspace): fix crash
1170
1171 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1172
1173         * format.[Ch] (getFormatFromFile): new method
1174         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1175
1176 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1177
1178         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1179
1180 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1181
1182         * lyxfunc.C (dispatch): remove the verbose argument
1183         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1184         instead
1185
1186         * kbmap.C (defkey): set the origin of func to KEYBOARD
1187
1188         * MenuBackend.C (MenuItem):
1189         * ToolbarBackend.C (add): set the origin of func to UI
1190
1191         * funcrequest.[Ch]: add origin member, which indicates which part
1192         of LyX requests an action
1193
1194 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1195
1196         * converter.C (move): don't lie in the error message
1197         * converter.h (isReachable, move): document
1198
1199 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1200
1201         * buffer.C: remove unused using lyx::support::atoi
1202         * paragraph_funcs.C: ditto
1203
1204 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1205
1206         * bufferlist.C (exists): use bind and equal_to instead of
1207         compare_memfun
1208         (getBuffer): ditto
1209         * lyxtextclasslist.C (NumberOfClass): ditto
1210
1211         * cursor.C (insert): use for_each instead of explicit for loop
1212
1213         * bufferlist.C (getFileNames): use std::transform and
1214         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1215
1216         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1217         for loop
1218
1219         * buffer.C (changeLanguage): use for_each instead of explicit for
1220         loop
1221         (hasParWithID): implement using getParFromID
1222
1223         * LaTeXFeatures.C: ws change only
1224
1225         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1226         to cleanup a bit.
1227
1228         * BufferView_pimpl.C (trackChanges): use for_each instead of
1229         expilicit for loop
1230
1231 2004-11-04  André Pönitz  <poenitz@gmx.net>
1232
1233         * undo.h:
1234         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1235
1236         * dociterator.C (asDocIterator): use hard assert again.
1237
1238 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1239
1240         * lyxlength.C (asLatexString): rewrite so that it does not use
1241         snprintf anymore
1242
1243 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1244
1245         * text3.C (specialChar, dispatch): make sure cursor moves to the
1246         right after inserting an inset
1247
1248 2004-11-02  José Matos  <jamatos@lyx.org>
1249
1250         * output_docbook.C (docbook):
1251         * paragraph.C (getID):
1252         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1253         garantee that the output is always legal.
1254
1255         * tabular.C (docbook):
1256         * outputprams.[Ch]: remove mixed contents.
1257
1258 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1259
1260         * text2.C (setCounter): prevent endless loop
1261
1262 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1263
1264         * exporter.C (copyFile): use the mover instead of support::copy()
1265         * exporter.C (Export): pass format and latex name to copyFile()
1266         * exporter.h (addExternalFile): document
1267         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1268
1269 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1270
1271         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1272
1273 2004-10-30  José Matos  <jamatos@lyx.org>
1274
1275         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1276         text and no inset or font change. This allows to use CDATA
1277         sections just for the whole paragraph.
1278
1279 2004-10-30  José Matos  <jamatos@lyx.org>
1280
1281         * paragraph.C (getFirstWord): remove unused variable.
1282
1283 2004-10-30  José Matos  <jamatos@lyx.org>
1284
1285         * paragraph.C (getFirstWord): the content should always be escaped
1286         there.
1287         (simpleDocBookOnePar):
1288         * output_docbook.C (makeEnvironment): replace reference to CDATA
1289         to style pass_thru.
1290
1291 2004-10-30  José Matos  <jamatos@lyx.org>
1292
1293         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1294
1295 2004-10-30  José Matos  <jamatos@lyx.org>
1296
1297         * output_docbook.C (makeParagraphs):
1298         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1299         standard paragraph has only a given type of content drop the wrapper.
1300
1301 2004-10-29  José Matos  <jamatos@lyx.org>
1302
1303         * output_docbook.C (makeEnvironment):
1304         * sgml.C (openTag):
1305         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1306
1307 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1308
1309         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1310         (cleanID): sanitize any id.
1311
1312 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1313
1314         * buffer.C, lyxlex_pimpl.C:
1315         * lyxlex_pimpl.C (setFile):
1316         s/getExtFromContents/getFormatFromContents/
1317
1318 2004-10-28  José Matos  <jamatos@lyx.org>
1319
1320         * output_docbook.C (makeEnvironment): move id to broadest possible
1321         scope.
1322
1323         * sgml.C (openTag): apply substitution of <> for all attributes.
1324
1325 2004-10-28  José Matos  <jamatos@lyx.org>
1326
1327         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1328         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1329         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1330
1331         * sgml.[Ch]: new version for open and closeTag for paragraph and
1332         for strings. Now they handle the ids of paragraphs.
1333
1334 2004-10-26  Angus Leeming  <leeming@lyx.org>
1335
1336         * Makefile.am: add mover.[Ch].
1337
1338         * converter.C (convert, move): use the new Movers to move external
1339         files to the temp directory.
1340
1341         * lyx_main.C (init): ensure that the global system_movers data
1342         is initialised.
1343
1344         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1345         preferences file.
1346
1347         * mover.[Ch]: new files, defining a Mover as a utility to move an
1348         external file between directories and, if necessary, manipulate this
1349         file using a helper script.
1350
1351 2004-10-25  José Matos  <jamatos@lyx.org>
1352
1353         * output_docbook.C (makeCommand): merge two if's that tested the
1354         same condition.
1355
1356 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1357
1358         * sgml.C (escapeString): fix warning in a better way
1359
1360 2004-10-25  José Matos  <jamatos@lyx.org>
1361
1362         * sgml.C (escapeString): import the require boosts header file for
1363         tie, and avoid a signed unsigned comparison.
1364
1365 2004-10-25  José Matos  <jamatos@lyx.org>
1366
1367         * sgml.h: add #include <string>
1368
1369 2004-10-25  José Matos  <jamatos@lyx.org>
1370
1371         * sgml.[Ch] (escapeString): new function to escape all the string.
1372
1373 2004-10-24  José Matos  <jamatos@lyx.org>
1374
1375         * paragraph.[Ch] (getFirstWord): new function to get the first
1376         word. Useful for description.
1377         (simpleDocBookOnePar): remove depth argument, add another that
1378         says where to start the paragraph.
1379
1380         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1381         use the new functions to fix cleanly the support for descriptions.
1382
1383 2004-10-24  José Matos  <jamatos@lyx.org>
1384
1385         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1386         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1387         * output_linuxdoc.C (linuxdocParagraphs):
1388         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1389         add buffer as argument.
1390
1391 2004-10-24  José Matos  <jamatos@lyx.org>
1392
1393         * output_docbook.C (makeEnvironment, searchEnvironment): place
1394         CDATA inside paragraphs and fix scope for listitems.
1395
1396 2004-10-24  José Matos  <jamatos@lyx.org>
1397
1398         * output_docbook.C: remove using statement for stack.
1399
1400 2004-10-23  José Matos  <jamatos@lyx.org>
1401
1402         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1403         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1404         docbook. The new scheme is recursive and makes use of iterators, the
1405         same as latex export works.
1406         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1407         directly with the paragraph contents. This code was moved up to
1408         output_docbook.C (docbookParagraphs).
1409         * sgml.C (openTag, closeTag): removed unneeded newlines.
1410         (closeEnvTags) removed.
1411
1412 2004-10-23  André Pönitz  <poenitz@gmx.net>
1413
1414         * undo.C (textUndoOrRedo):
1415         * dociterator.C (asDocIterator): work around crash
1416
1417         * cursor.C (getStatus): replace ASSERT by more verbose error message
1418           and manual correction of the problem. Should increase stability
1419           while providing more sensible information.
1420
1421 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1422
1423         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1424
1425         * bufferlist.C (previous, next): new methods
1426
1427         * lfuns.h:
1428         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1429
1430 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1431
1432         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1433         entities to preamble.
1434
1435 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1436
1437         * messages.C (Pimpl): strip off translation context information
1438
1439 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1440
1441         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1442         the cursor is correct (bug 1694)
1443
1444 2004-10-13  José Matos  <jamatos@lyx.org>
1445
1446         * output_docbook.C (docbookParagraphs): fix closing tags in the
1447         end of the document.
1448
1449 2004-10-09  José Matos  <jamatos@lyx.org>
1450
1451         * buffer.C: format up to 237.
1452         * bufferparams.C (write): use tostr to convert booleans to strings.
1453
1454 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1455
1456         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1457
1458 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1459
1460         * LaTeX.C: implement use of babel language in xindy.
1461
1462 2004-10-05  José Matos  <jamatos@lyx.org>
1463
1464         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1465         Add new translators to help reading and writing the lyx file.
1466
1467 2004-10-05  José Matos  <jamatos@lyx.org>
1468
1469         * ParagraphParameters.C (read):
1470         * text.C (readParToken): replace nexToken by more appropriate lex
1471         methods.
1472
1473 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1474
1475         * LaTeX.C (runMakeIndex):
1476         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1477         (usually 'makeindex') configurable.
1478
1479         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1480         with a variable rather than with a number.
1481
1482 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1483
1484         * output_latex.C (TeXOnePar): make sure font setting is the first
1485         thing that gets output (and the last at the end). Should fix bug
1486         1404.
1487
1488 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1489
1490         * pch.h: use proper signal include
1491
1492         * LaTeX.h: Use preferred calling of Boost.Signal
1493         * buffer.h: ditto
1494
1495 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1496
1497         * pch.h: dont include <boost/function/function0.hpp>
1498
1499         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1500
1501         * paragraph_pimpl.h: remove usage of ShareContainer
1502
1503         * paragraph_pimpl.C: remove initialization of ShareContainer.
1504
1505 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1506
1507         Fix bug #1666
1508
1509         * BufferView.C (putSelectionAt): change the semantics when
1510         backwards == true: now, this just swaps cursor and anchor wrt the
1511         forward case
1512
1513         * BufferView.h (putSelectionAt): add some documentation
1514
1515         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1516         make sure backwardChar is done at least once (to avoid getting
1517         stuck)
1518         (findNextChange): use putSelectionAt in the forward direction
1519         (operator()): use Paragraph::isWord
1520
1521 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1522
1523         * Spacing.C (set): c_str fix
1524
1525 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1526
1527         * lyx_cb.C (Reconfigure): quote the name of configure script in
1528         case it contains spaces
1529
1530 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1531
1532         * client: new dir
1533
1534         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1535         (BOOST_LIBS): use top_buildir when looking for the file
1536
1537 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1538
1539         * pch.h: do not use include boost/format.hpp, multiple symbols
1540                 will result (gcc bug)
1541
1542
1543 2004-08-23  José Matos  <jamatos@lyx.org>
1544
1545         * bufferparams.C (readToken): fix reading of the author field.
1546
1547 2004-08-20  José Matos  <jamatos@lyx.org>
1548
1549         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1550
1551 2004-08-20  José Matos  <jamatos@lyx.org>
1552
1553         * lyxlex.[Ch] (findToken): remove function.
1554
1555         * ParagraphParameters.C (findToken):
1556         * bufferparams.C (findToken): replace call for previous function
1557         with local copy. This local function has one more argument, the
1558         read string argument.
1559
1560 2004-08-16  José Matos  <jamatos@lyx.org>
1561
1562         * ParagraphParameters.C (write):
1563         * Spacing.C (writeFile):
1564         * bufferparams.C (writeLaTeX):
1565         * lyx_cb.C (Reconfigure):
1566         * paragraph.C (write):
1567         * tabular.C (write): remove unnecessary space at end of line.
1568
1569
1570 2004-08-16  José Matos  <jamatos@lyx.org>
1571
1572         * text.C (readParagraph): remove debug message.
1573
1574 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1575
1576         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1577         crash
1578
1579         * output_plaintext.C (asciiParagraph): set depth correctly
1580
1581         * outputparams.h: add member depth
1582
1583         * paragraph_funcs.C (ownerPar): remove.
1584
1585         * text2.C (setCounter): remove first_pit; comment out some
1586         non-working code that uses ownerPar
1587
1588         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1589         uses ownerPar
1590
1591 2004-08-16  José Matos  <jamatos@lyx.org>
1592
1593         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1594         For the same level of importance use the same chanel to report problems.
1595         (read): add code to deal with \begin_body and \end_body.
1596
1597
1598 2004-08-15  José Matos  <jamatos@lyx.org>
1599
1600         * lyxlex.C (getString): fix comment, buffer::readBody is now
1601         buffer:readDocument.
1602
1603         * tex-strings.C (string_papersize): Default -> default,
1604         Custom -> custom, for consistency with other options.
1605
1606 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1607
1608         * pch.h: new file
1609
1610         * Makefile.am: support pch
1611
1612 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1613
1614         * text.C (readParToken): remove the static LyXFont variable and
1615         pass it as a parameter instead. This fixes a nasty bug where an
1616         inset will be inserted with a bad font in some situations
1617         (readParagraph): adapt
1618
1619         * text2.C (setCounter): reduce number of calls to pars_[pit]
1620
1621         * text.C (singleWidth): add an assert, fix a test
1622
1623         * rowpainter.C (paintText): reduce number of calls to singleWidth
1624
1625         * paragraph.C (isHfill):
1626         (isNewline): ws only
1627
1628 2004-08-14  André Pönitz  <poenitz@gmx.net>
1629
1630         * text.C:
1631         * text2.C:
1632         * rowpainter.C:
1633         * lyxtext.h (several functions): use a Paragraph & argument
1634         instead of par_type
1635
1636 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1637
1638         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1639
1640         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1641
1642         * text.C (singleWidth): remove useless test
1643
1644 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1645
1646         * tabular.h: remove bogus comments
1647
1648         * tabular.C (getDescentOfRow):
1649         (isPartOfMultiColumn): add assertions
1650
1651         * lyxlength.C (inPixels): remove #warning
1652
1653 2004-08-14  André Pönitz  <poenitz@gmx.net>
1654
1655         * paragraph.h: inline getChar()
1656
1657         * BufferView.h: remove unused declarations
1658
1659 2004-08-14  José Matos  <jamatos@lyx.org>
1660
1661         * Buffer.[Ch] (readDocument): new name for old readBody.
1662         * Buffer.C: new file format, new keywords: \begin_document,
1663         \begin_header, \begin_body, \end_body.
1664
1665         * bufferparams.C (readToken): replace all calls to lex.nextToken
1666         by lex.next(). Do the same to eatLine except where really needed.
1667
1668         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1669         line when writing to the lyx file.
1670
1671         * output_plaintext.C (asciiParagraph): fix Bibliography style
1672         handling.
1673
1674         * text.C (read): fix end of file handling.
1675
1676 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1677
1678         * MenuBackend.C (Menu::operator[]): new method to access
1679         individual menu items
1680         (Menu::hasFunc): new method. search for an item that corresponds
1681         to a given func
1682         (MenuBackend::specialMenu): new method
1683         (MenuBackend::expand): if a special menu has been set, skip
1684         entries whose func() appears in this menu
1685
1686 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1687
1688         * text3.C: use Debug::DEBUG a bit more
1689
1690         * text.C (leftMargin): try to simplify a tiny bit change var x to
1691         l_margin. Dont output the wide margins always.
1692         (rightMargin): no margin in inner texts
1693
1694         * rowpainter.h (nestMargin): new func
1695         (changebarMargin): new func
1696         (rightMargin): new func
1697
1698         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1699         now functions.
1700         (paintLast): ditto
1701
1702         * factory.C (createInset): modify setDrawFrame
1703
1704         * cursor.C: use Debug::DEBUG a bit more
1705
1706 2004-08-14  André Pönitz  <poenitz@gmx.net>
1707
1708         * coordcache.[Ch]:
1709         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1710         cache for all insets in (at least partially) visible (top-level)
1711         paragraphs.
1712
1713         * BufferView_pimpl.C: reset external coord cache before every update.
1714         This means the coord cache only contains valid entries.
1715
1716 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1717
1718         bug 1096
1719         * BufferView_pimpl.C (getInsetByCode): move function out of class
1720         and change in to a template in anon namespace. Also fix to do what
1721         suits us better.
1722
1723 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1724
1725         bug 1305
1726         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1727         of char
1728         (breakParagraph): rename par to par_offset and use a local
1729         reference. Add code to keep the language over a rebreak.
1730         (breakParagraphConservative): rename par to par_offset, use a
1731         local reference
1732         (mergeParagraph): ditto
1733         (outerHook): ditto
1734         (isFirstInSequence): ditto
1735         (outerFont): rename pit to par_offset
1736
1737         * paragraph.C: ws change
1738         * paragraph.h: ditto
1739         * text3.C: ditto
1740         * text.C: ditto
1741
1742 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1743
1744         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1745         treatment for ']'
1746
1747         * paragraph.C (simpleTeXOnePar): when we have a \item with
1748         optional argument, enclose the argument with curly brackets (in
1749         case it contains a closing square bracket)
1750
1751         * text2.C (editXY):
1752         * text2.C (editXY):
1753         * text3.C (checkInsetHit): constify
1754
1755 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1756
1757         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1758         documents (bug 1629)
1759
1760 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1761
1762         Fix toggling of collapsable insets with the mouse (bug 1558)
1763
1764         * lyxfunc.C (dispatch): adapt to LCursor changes
1765
1766         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1767         make sure that dispatch is not invoked twice
1768
1769         * cursor.C (needsUpdate): new method
1770         (dispatch): return void
1771         (result): new method, to access the DispatchResult of the cursor.
1772
1773 2004-08-13  José Matos  <jamatos@lyx.org>
1774
1775         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1776
1777 2004-08-13  André Pönitz  <poenitz@gmx.net>
1778
1779         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1780
1781         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1782           multiple cells
1783
1784 2004-08-12  André Pönitz  <poenitz@gmx.net>
1785
1786         * text3.C: take out the 'cursor right' form insertInset and only
1787         do it in those places when it is really needed. Fixes crash on
1788         C-m...
1789
1790 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1791
1792         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1793
1794         * BufferView_pimpl.C (setBuffer): initialize the current font of
1795         the underlying LyXText
1796
1797 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1798
1799         * kbsequence.C (print): use UI native formatting for menu
1800         shortcuts
1801
1802         * text.C (insertChar): call Paragraph::insertChar with a font
1803         argument (cosmetic)
1804
1805         * paragraph.C (insertInset, insertChar): the version that takes a
1806         LyXFont argument is now a wrapper around the other one (the
1807         opposite used to be true).
1808
1809         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1810         argument. Font setting is done in Paragraph now.
1811
1812 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1813
1814         * outputparams.h: add new members intitle and lang.
1815
1816         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1817         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1818
1819 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1820
1821         * text3.C (dispatch): remove special handling of button 4 and 5,
1822         it is now taken care of in the frontend code.
1823
1824 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1825
1826         * Spacing.h: add <string> (STLPort compile fix)
1827
1828 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1829
1830         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1831
1832 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1833
1834         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1835         to bool.
1836
1837         * converter.C (showMessage): inherit from unary_function, make
1838         operator() const.
1839
1840         * buffer.C (writeFile): initialize retval
1841
1842         * InsetList.h: rename private variable list to list_
1843         * InsetList.[Ch]: adjust accordingly.
1844
1845 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1846
1847         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1848         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1849         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1850         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1851         * ParagraphParameters.C, LaTeXFeatures.C: replace
1852         "support/std_sstream.h" with <sstream>
1853
1854 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1855
1856         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1857         * lyxsocket.C (LyXServerSocket): ditto
1858         (serverCallback): ditto
1859
1860 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1861
1862         * LaTeXFeatures.C: check release date when loading jurabib.
1863
1864 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1865
1866         * lyxserver.C (startPipe): call register_socket_callback
1867         (endPipe): call unregister_socket_callback
1868
1869 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1870
1871         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1872         (LyXServerSocket): register the callback
1873         (LyXServerSocket): unregister the callback
1874         (fd): delete function
1875         (serverCallback): improve error checking and setup the callbacks.
1876         (dataCallback): change arg to fd.
1877         (writeln): new func (copied fro the client socket) used for server
1878         write to client.
1879         (LyXDataSocket): simplify
1880         (~LyXDataSocket): close ann unregiser callback
1881         (server): delete function
1882         (fd): delete function
1883         (readln): small changes, improve some std::string usage
1884         (writeln): constify a bit
1885
1886 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1887
1888         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1889         Qt frontend
1890
1891 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1892
1893         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1894         after it has been populated
1895
1896 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1897
1898         * text2.C (insertInset): move cursor when inserting inset.
1899
1900 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1901
1902         * kbmap.C (findbindings): a couple of new methods. returns a
1903         container of kb_sequence objects. The real work is done by the
1904         private recursive version
1905         (printbindings): uses findbindings to print out a bracketed list
1906         of bindings (renamed from findbinding).
1907
1908         * MenuBackend.C (binding): use kb_keymap::findbindings
1909
1910         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1911
1912 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1913
1914         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1915
1916 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1917
1918         * paragraph.C (isWord): return true on insets that report
1919         isLetter().
1920
1921         * text.C (getWord): use Paragraph::isWord to decide what is in a
1922         word and what is not; fix bug 1609.
1923
1924 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1925
1926         * tex-strings.C: add "none" to string_paperpackages[], fixes
1927         off-by-one-error in the paperpackage selection.
1928
1929         * lyxlex.[Ch]:
1930         * tex-strings.[Ch]: char const * string[n]
1931         -> char const * const string[]
1932
1933 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1934
1935         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1936         command, return early.
1937
1938 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1939
1940         * debug.h: add DEBUG to enum and fix size of ANY.
1941
1942         * debug.C: add support for Debug::DEBUG
1943         (showTags): cast errorTags.level to unsigned int
1944
1945         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1946         (redoCurrentBuffer): ditto
1947         (updateScrollbar): ditto
1948         * cursor.C (dispatch): ditto
1949         * text2.C (setLayout): ditto
1950         (setFont): ditto
1951         (updateCounters): ditto
1952         (editXY): ditto
1953         (deleteEmptyParagraphMechanism): ditto
1954
1955 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1956
1957         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1958         annotations to cleanup the Makefile slightly.
1959
1960 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1961
1962         * lyxrc.C: do not set user_email to a default value but use empty
1963         instead. The entry used to be translated, which does not work
1964         since at the point where lyxrc is constructed there is no
1965         translation service available
1966
1967         * messages.C (getLocaleDir): remove and use directly
1968         lyx_localedir() instead
1969
1970 2004-06-02  Angus Leeming  <leeming@lyx.org>
1971
1972         Fix crash caused by dereferencing null pointer 'exportdata' in
1973         OutputParams by creating a new ExportData variable on the heap,
1974         storing it in a boost::shared_ptr.
1975         The crash was triggered when generating an Instant Preview
1976         of an external inset.
1977
1978         * Makefile.am: add outputparams.C
1979
1980         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1981         (c-tor): allocate memory to it.
1982
1983         * exporter.C (c-tor): associated changes.
1984
1985 2004-06-01  Angus Leeming  <leeming@lyx.org>
1986
1987         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1988         contains data before calling isInset(0). (Bug 1513.)
1989
1990 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1991
1992         * exporter.C (checkOverwrite): new method
1993         * exporter.C (copyFile): new method
1994         * exporter.C (Export): copy referenced files to the document dir
1995         * exporter.[Ch]: new class ExportedFile
1996         * exporter.[Ch]: new class ExportData. Contains currently the
1997         names of referenced external files
1998         * outputparams.h: add exportdata member.
1999
2000 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2001
2002         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2003         version.C-tmp
2004
2005 2004-05-19  Angus Leeming  <leeming@lyx.org>
2006
2007         * LaTeXFeatures.C:
2008         * ToolbarBackend.C:
2009         * bufferparams.C:
2010         * lyxfunc.C: small changes due to the introduction of namespace
2011         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2012
2013 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2014
2015         * text3.C (dispatch): supress update when only moving the cursor
2016         * cursor.C (selHandle): remove commented code
2017
2018 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2019
2020         * paragraph.C (startTeXParParams): correct column count
2021         * CutAndPaste.C (pasteSelection): remove const_cast
2022         * output_docbook.C (docbookParagraphs): remove const_cast
2023         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2024         const_cast and return ParagraphList::const_iterator
2025         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2026         * output_plaintext.C (writeFileAscii): remove const_cast
2027         * paragraph.[Ch] (simpleTeXOnePar): make const
2028         * paragraph_funcs.C (outerPar): use const iterators
2029         * paragraph_pimpl.C (validate): use const iterators
2030         * text.C (setHeightOfRow): use const iterators
2031
2032 2004-05-17  Angus Leeming  <leeming@lyx.org>
2033
2034         * lfuns.h:
2035         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2036
2037         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2038         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2039         if the citation engine has changed.
2040
2041 2004-05-14  José Matos  <jamatos@lyx.org>
2042
2043         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2044         if the textclass does not provide it. Have it different for sgml and
2045         xml.
2046         support the language of document.
2047         * output_docbook.C (docbookParagraphs):
2048         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2049         first anchor as the id of the paragraph, remove special case code.
2050         * sgml.C (escapeChar): escape only < & >.
2051
2052 2004-05-14  Angus Leeming  <leeming@lyx.org>
2053
2054         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2055         dependencies on src/frontends/controllers/biblio.h. Define a
2056         CiteEngine_enum wrapper class to enable the enum to be forward
2057         declared.
2058
2059 2004-05-12  Angus Leeming  <leeming@lyx.org>
2060
2061         * buffer.C: up LYX_FORMAT to 234.
2062         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2063         use_numerical_citations with a single biblio::CiteEngine cite_engine
2064         variable.
2065         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2066
2067 2004-05-13  José Matos  <jamatos@lyx.org>
2068
2069         * converter.h:
2070         * converter.C (Converter, readFlags): add xml member.
2071         * outputparams.h: add XML flavor.
2072         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2073
2074 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2075
2076         * lyxfunc.C (dispatch):
2077         (getStatus): fix handling of LFUN_SEQUENCE
2078
2079 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2080
2081         * debug.C (showLevel): do not forget the end-of-line marker
2082
2083 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2084
2085         * kbmap.C (read): do not stop parsing a bind file when an error
2086         occurs (bug 1575)
2087
2088 2004-04-29  Angus Leeming  <leeming@lyx.org>
2089
2090         * cursor.C:
2091         * factory.C:
2092         * pariterator.C:
2093         * text2.C: wrap a bunch of #warning statements
2094         inside #ifdef WITH_WARNINGS blocks.
2095
2096 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2097
2098         * buffer.C: increment format to 233.
2099
2100 2004-04-28  Angus Leeming  <leeming@lyx.org>
2101
2102         * BufferView_pimpl.C:
2103         * lyxfunc.C:
2104         * text3.C:
2105         s/updateToolbar()/updateToolbars()/
2106         s/Toolbar.h/Toolbars.h/
2107
2108 2004-04-28  Angus Leeming  <leeming@lyx.org>
2109
2110         * BufferView.[Ch] (c-tor):
2111         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2112         No longer passes these data to the WorkArea generator.
2113
2114 2004-04-28  Angus Leeming  <leeming@lyx.org>
2115
2116         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2117
2118 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2119
2120         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2121
2122 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2123
2124         * output_latex.C (TeXEnvironment): make sure that there is a line
2125         break before \end{foo} for the last paragraph of a document
2126         (TeXOnePar): if the paragraph is at the end of the document (or
2127         inset) and the language has to be reset, then make sure that the
2128         line break is _before_ the language command, not after (fixes bug
2129         1225); also make sure that the language reset command is the first
2130         thing after the paragraph (to ensure proper nesting of
2131         environments and thus fix bug 1404)
2132
2133 2004-04-21  John Levon  <levon@movementarian.org>
2134
2135         * ToolbarBackend.h:
2136         * ToolbarBackend.C: make "name" be a programmatic name
2137         and a gui_name field.
2138
2139         * lyxfunc.C: display the minibuffer on M-x
2140
2141 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2142
2143         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2144         (bug 1526)
2145
2146 2004-04-19  Angus Leeming  <leeming@lyx.org>
2147
2148         * BufferView_pimpl.C (setBuffer): changed preview interface.
2149
2150         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2151         possible values.
2152
2153 2004-04-19  John Levon  <levon@movementarian.org>
2154
2155         * BufferView_pimpl.C:
2156         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2157
2158 2004-04-05  Angus Leeming  <leeming@lyx.org>
2159
2160         * text.C (redoParagraphs): add call to updateCounters(), thereby
2161         fixing the missing "Figure #:" label from the caption of a
2162         figure float.
2163
2164 2004-04-13  Angus Leeming  <leeming@lyx.org>
2165
2166         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2167         cursor is clicked out of an inset.
2168
2169 2004-04-13  Angus Leeming  <leeming@lyx.org>
2170
2171         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2172         than an InsetOld one.
2173
2174 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2175
2176         * format.[Ch]: add editor to Format
2177         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2178         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2179
2180 2004-04-08  André Pönitz  <poenitz@gmx.net>
2181
2182         * metricsinfo.h: remove PainterInfo::width member
2183
2184 2004-04-08  Angus Leeming  <leeming@lyx.org>
2185
2186         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2187         "\providecommand" rather than "\newcommand", thereby preventing
2188         clashes with packages that define "\boldsymbol" themselves.
2189         Eg, beamer.
2190
2191 2004-04-08  Angus Leeming  <leeming@lyx.org>
2192
2193         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2194         thereby squashing an unnecessary warning.
2195
2196 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2197
2198         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2199         setBuffer()
2200
2201 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2202
2203         * BufferView.C (setCursor): call redoParagraph (some insets could
2204         have been opened)
2205         (putSelectionAt): remove the 'double update' trick
2206
2207         * BufferView_pimpl.C (fitCursor): call refreshPar
2208         (workAreaDispatch): remove an uneeded update call
2209         (dispatch): remove some manual update calls
2210
2211         * cursor.[Ch]: remove cached_y_, updatePos
2212         (selHandle): set noUpdate when appropriate
2213
2214         * lyxfunc.C (dispatch): track if we need an update
2215
2216         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2217
2218         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2219         (paintSelection): cheap optimization, do not call cursorX when not
2220         needed
2221         (paintPars): change signature
2222         (refreshPar): add
2223         (paintText): adjust
2224         (paintTextInset): adjust
2225
2226         * text.C: adjust
2227
2228 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2229
2230         * lengthcommon.C: compilation fix: remove explicit array size from
2231         unit_name[] and friends
2232
2233 2004-04-05  Angus Leeming  <leeming@lyx.org>
2234
2235         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2236
2237         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2238         present only for the preferences dialog.
2239         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2240
2241 2004-04-05  Angus Leeming  <leeming@lyx.org>
2242
2243         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2244         to enable the frontends to export changes to lyxrc correctly.
2245
2246         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2247
2248 2004-04-07  André Pönitz  <poenitz@gmx.net>
2249
2250         * cursor.[Ch] (selClear, adjust): remove math
2251
2252         * cursor_slice.C: more agressive assert
2253
2254         * lyxfunc.C:
2255         * BufferView_pimpl.C: rework mouse event dispatch
2256
2257         * dociterator.C:
2258         * paragraph.C:
2259         * text2.C:
2260         * text3.C: adjust
2261
2262 2004-04-05  André Pönitz  <poenitz@gmx.net>
2263
2264         * cursor.[Ch] (valign, halign...): remove unneeded functions
2265
2266 2004-04-05  Angus Leeming  <leeming@lyx.org>
2267
2268         * lyxlength.[Ch] (unit_name et al.): const-correct.
2269
2270 2004-04-05  Angus Leeming  <leeming@lyx.org>
2271
2272         * BufferView_pimpl.C:
2273         * buffer.C:
2274         * counters.C:
2275         * cursor.C:
2276         * lyxfunc.C
2277         * paragraph.C:
2278         * pariterator.C:
2279         * text.C:
2280         * text2.C:
2281         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2282
2283 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2284
2285         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2286
2287 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2288
2289         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2290         * BufferView_pimpl.[Ch] (getStatus)
2291         * BufferView.[Ch] (getStatus): add
2292         * lyxfunc.C (getStatus): move lfuns handled in
2293         BufferView::dispatch to te function above
2294         * Cursor.C (setSelection): set selection() = true
2295
2296 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2297
2298         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2299
2300 2004-03-31  Angus Leeming  <leeming@lyx.org>
2301
2302         * lyxfunc.C (dispatch): Fall through to the generic
2303         Dialogs::show("preamble").
2304
2305 2004-03-31  Angus Leeming  <leeming@lyx.org>
2306
2307         * lyxfunc.C (dispatch): Fall through to the generic
2308         Dialogs::show("spellchecker").
2309
2310 2004-03-31  Angus Leeming  <leeming@lyx.org>
2311
2312         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2313         preferences dialog.
2314
2315 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2316
2317         * BufferView.C
2318         * cursor.[Ch]
2319         * dociterator.[Ch]:
2320         * insetiterator.[Ch]:
2321         * lyxfind.C:
2322         * lyxfunc.C:
2323         * pariterator.[Ch]:
2324         * text2.C:
2325         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2326
2327 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2328
2329         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2330         insets where we are putting the cursor.
2331
2332 2004-03-31  Angus Leeming  <leeming@lyx.org>
2333
2334         * lfuns.h:
2335         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2336
2337         * lyxrc.[Ch] (read, write): overloaded member functions taking
2338         a std::[io]stream arguments.
2339
2340         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2341
2342 2004-03-31  Angus Leeming  <leeming@lyx.org>
2343
2344         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2345         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2346
2347         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2348         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2349
2350 2004-03-31  Angus Leeming  <leeming@lyx.org>
2351
2352         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2353         the LFUN_ALL_INSETS_TOGGLE code.
2354
2355 2004-03-30  Angus Leeming  <leeming@lyx.org>
2356
2357         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2358         has died. Fall through to the generic Dialogs::show("document").
2359
2360 2004-03-30  Angus Leeming  <leeming@lyx.org>
2361
2362         * lfuns.h:
2363         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2364         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2365
2366         * lyxfunc.C (getStatus, dispatch): define the actions for these
2367         lfuns. Little more than a cut and pste job from ControlDocument.C
2368
2369         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2370
2371 2004-03-30  Angus Leeming  <leeming@lyx.org>
2372
2373         * lfuns.h:
2374         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2375         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2376
2377         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2378         open/closed state of ollapsable insets. Usage:
2379
2380         all-inset-toggle <state> <name>, where
2381         <state> == "open" || "closed" || "toggle" and
2382         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2383
2384         * lyxtext.h, text2.C (toggleInset): removed.
2385
2386         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2387         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2388         now passes LFUN_INSET_TOGGLE to the found inset.
2389
2390         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2391         is now invoked as "all-insets-toggle toggle branch".
2392
2393 2004-03-30  Angus Leeming  <leeming@lyx.org>
2394
2395         * dociterator.C:
2396         * insetiterator.C:
2397         * pariterator.[Ch]: added/corrected header blurb.
2398
2399 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2400
2401         * dociterator.[Ch]: add an inset_ member
2402         (backwardPos): implemented
2403         (backwardPos, forwardPos): use inset_ when the stack is empty.
2404         (doc_iterator_begin, doc_iterator_end): implemented
2405         * pariterator.[Ch]: adjust, add begin, end
2406         * insetiterator.[Ch]: adjust, add begin, end
2407         * cursor.C:
2408         * document.C:
2409         * BufferView.C:
2410         * BufferView_pimpl.C:
2411         * CutAndPaste.C: adjust
2412
2413 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2414
2415         * buffer.C: increment file format to 232.
2416         * LaTeXFeatures.C: add bibtopic package.
2417         * bufferparams.[Ch]: param \use_bibtopic.
2418
2419         * lyxrc.[Ch]: add lyxrc bibtex_command
2420         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2421
2422         * buffer.C: increment file format to 231.
2423
2424 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2425
2426         * dociterator.C: implement forwardPar
2427         * iterators.[Ch]: remove, replaced by
2428         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2429         * BufferView.C:
2430         * BufferView_pimpl.C:
2431         * CutAndPaste.C:
2432         * buffer.C:
2433         * bufferview_funcs.C:
2434         * cursor.C:
2435         * lyxfind.C
2436         * lyxfunc.C
2437         * paragraph_funcs.C
2438         * toc.C:
2439         * Makefile.am: adjust
2440
2441 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2442
2443         * CutAndPaste.C (pasteSelection): fix 2 crashes
2444         (eraseSelection): fix a crash
2445         * paragraph_funcs.C: remove a warning
2446
2447 2004-03-28  Angus Leeming  <leeming@lyx.org>
2448
2449         * lfuns.h:
2450         * LyXAction.C (init): new LFUN_PRINT.
2451
2452         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2453
2454 2004-03-27  Angus Leeming  <leeming@lyx.org>
2455
2456         * lfuns.h:
2457         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2458
2459         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2460
2461 2004-03-27  Angus Leeming  <leeming@lyx.org>
2462
2463         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2464         insetlist always contains non-null pointers to insets.
2465
2466 2004-03-26  Angus Leeming  <leeming@lyx.org>
2467
2468         * src/BufferView_pimpl.C:
2469         * src/CutAndPaste.C:
2470         * src/buffer.C:
2471         * src/iterators.C:
2472         * src/output_plaintext.C:
2473         * src/outputparams.h:
2474         * src/paragraph_funcs.C:
2475         * src/rowpainter.C:
2476         * src/text.C:
2477         * src/text2.C:
2478         * src/frontends/controllers/ControlErrorList.C:
2479         * src/frontends/gtk/FileDialogPrivate.C:
2480         * src/frontends/gtk/GPainter.C:
2481         * src/frontends/gtk/GToolbar.C:
2482         * src/frontends/qt2/QRef.C:
2483         * src/mathed/math_scriptinset.C: squash compiler warnings.
2484
2485 2004-03-26  Angus Leeming  <leeming@lyx.org>
2486
2487         * ispell.C (LaunchIspell::start):
2488         * lyx_cb.C (AutoSaveBuffer::start):
2489         invoke run(DontWait) rather than runNonBlocking().
2490
2491 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2492
2493         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2494
2495 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2496
2497         * kbsequence.C (print): adjust
2498
2499         * kbmap.C (printKeySym): rename and change signature
2500         (printKey): use LyXKeySym::print()
2501
2502 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2503
2504         * undo.C: add using std::advance to compile for stlport
2505
2506 2004-03-24  Angus Leeming  <leeming@lyx.org>
2507
2508         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2509         it leads to a crash when no buffer is present.
2510
2511 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2512             Martin Vermeer  <martin.vermeer@hut.fi>
2513
2514         * lyxfunc.C (dispatch):
2515         * bufferparams.C (readToken): use the new LColor::setColor
2516
2517         * LColor.[Ch] (setColor): new version that takes two strings as
2518         argument and creates a new color entry if necessary
2519
2520 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2521
2522         * buffer.C (makeLaTeXFile): if the main latex file that is
2523         processed is usually a subdocument of some master, then pretend
2524         for a while that it is actually the master
2525
2526 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2527
2528         * buffer.C (getLabelList):
2529         (getBibkeyList): use getMasterBuffer()
2530         (getMasterBuffer): new method. Returns the main document in the
2531         case where one is using included documents.
2532
2533 2004-03-25  André Pönitz  <poenitz@gmx.net>
2534
2535         * Makefile.am:
2536         * iterators.[Ch]:
2537         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2538
2539         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2540
2541         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2542         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2543
2544         * ParameterStruct.h: merge with ParagraphParameters
2545
2546         * lyxtext.h: remove LyXText::parOffset() and getPar()
2547
2548         * text3.C: Remove all 'manual' update calls. We do now one per user
2549         interaction which is completely sufficient.
2550
2551         * Bidi.C:
2552         * BufferView.[Ch]:
2553         * BufferView_pimpl.C:
2554         * FontIterator.[Ch]:
2555         * MenuBackend.C:
2556         * ParagraphParameters.[Ch]:
2557         * buffer.C:
2558         * buffer.h:
2559         * bufferlist.C:
2560         * cursor.[Ch]:
2561         * cursor_slice.[Ch]:
2562         * dociterator.[Ch]:
2563         * errorlist.[Ch]:
2564         * factory.C:
2565         * lfuns.h:
2566         * lyxfind.C:
2567         * lyxfunc.C:
2568         * output_docbook.[Ch]:
2569         * output_latex.[Ch]:
2570         * output_linuxdoc.[Ch]:
2571         * output_plaintext.[Ch]:
2572         * paragraph.[Ch]:
2573         * paragraph_funcs.[Ch]:
2574         * paragraph_pimpl.[Ch]:
2575         * rowpainter.C:
2576         * tabular.[Ch]:
2577         * text.C:
2578         * text2.C:
2579         * toc.C:
2580         * undo.[Ch]: adjust
2581
2582         * frontends/controllers/ControlDocument.C:
2583         * frontends/controllers/ControlErrorList.C:
2584         * frontends/controllers/ControlSpellchecker.C:
2585         * insets/inset.C:
2586         * insets/inset.h:
2587         * insets/insetbase.h:
2588         * insets/insetbibitem.C:
2589         * insets/insetbox.C:
2590         * insets/insetbranch.C:
2591         * insets/insetcaption.C:
2592         * insets/insetcharstyle.C:
2593         * insets/insetcharstyle.h:
2594         * insets/insetcollapsable.C:
2595         * insets/insetcollapsable.h:
2596         * insets/insetert.C:
2597         * insets/insetfloat.C:
2598         * insets/insetfoot.C:
2599         * insets/insetmarginal.C:
2600         * insets/insetnote.C:
2601         * insets/insetoptarg.C:
2602         * insets/insettabular.C:
2603         * insets/insettext.C:
2604         * insets/insettext.h:
2605         * insets/insetwrap.C:
2606         * mathed/math_mboxinset.C:
2607         * mathed/math_nestinset.C:
2608         * mathed/math_scriptinset.C:
2609         * mathed/math_scriptinset.h:
2610         * support/types.h:
2611
2612 2004-03-24  Angus Leeming  <leeming@lyx.org>
2613
2614         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2615         deal with any child processes that have finished but are waiting to
2616         communicate this fact to the rest of LyX.
2617
2618 2004-03-24  Angus Leeming  <leeming@lyx.org>
2619
2620         64-bit compile fixes.
2621
2622         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2623         (c-tor): pass lyx::pos_types rather than ints.
2624
2625         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2626         lyx::pos_type.
2627
2628         * text.C (Delete): compile fix.
2629         (getPar): ensure that function declaration is the same as that in
2630         the header file.
2631
2632 2004-03-23  Angus Leeming  <leeming@lyx.org>
2633
2634         * ispell.C (LaunchIspell):
2635         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2636         a boost::shred_ptr rather than a std::auto_ptr.
2637
2638 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2639
2640         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2641         handle LFUN_FILE_INSERT_*
2642
2643         * lyxrc.C (setDefaults, getDescription, output, read):
2644         * lyxrc.h: remove ps_command
2645
2646 2004-03-22  Angus Leeming  <leeming@lyx.org>
2647
2648         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2649         Ensure that error_handler is processed once only and that all data
2650         is saved before attempting to output any warning messages.
2651
2652         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2653
2654 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2655
2656         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2657
2658 2004-03-19  André Pönitz  <poenitz@gmx.net>
2659
2660         * cursor.[Ch] (reset): take main text inset as argument
2661
2662         * BufferView: adjust
2663         * BufferView_pimpl.C: adjust
2664
2665         * paragraph.[Ch]: fix completely broken operator=()
2666
2667 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2668
2669         * LColor.C (getFromLyXName): make sure that the color name is used
2670         as lowercase.
2671
2672 2004-03-17  Angus Leeming  <leeming@lyx.org>
2673
2674         * lfuns.h:
2675         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2676
2677         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2678         dialog and to kill a forked process.
2679
2680 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2681
2682         * text2.C (setCursorFromCoordinates): fix font problem
2683
2684 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2685
2686         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2687         bogus "rebuild cursor" code
2688
2689 2004-03-11  André Pönitz  <poenitz@gmx.net>
2690
2691         * buffer.[Ch]: use InsetText instead of LyXText as container for
2692         the main lyx text.
2693
2694         * dociterator.[Ch]: drop the BufferView * member which is not needed
2695         anymore after the change to buffer.C
2696
2697         * paragraph_funcs.C:
2698         * text.C:
2699         * text2.C:
2700         * BufferView.[Ch]:
2701         * BufferView_pimpl.[Ch]:
2702         * cursor.[Ch]:
2703         * cursor_slice.[Ch]: adjust
2704
2705         * text3.C: fix bug in mathDispatch
2706
2707 2004-03-08  André Pönitz  <poenitz@gmx.net>
2708
2709         * undo.[Ch]: use 'StableDocumentIterator' as base for
2710         the Undo struct.
2711
2712 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2713
2714         * LaTeXFeatures.C:
2715         * bufferparams.[Ch]: add jurabib support and param.
2716
2717         * LaTeX.C: add FIXME/comment.
2718
2719 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2720
2721         * buffer.C: increment file format to 230.
2722
2723 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2724
2725         * cursor.C (dispatch): avoid infinite loops
2726
2727 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2728
2729         * rowpainter.C (paintSelection): fix x coordinates
2730
2731 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2732
2733         * text.C (rowBreakPoint): fix breaking before displayed insets
2734
2735 2004-03-01  André Pönitz  <poenitz@gmx.net>
2736
2737         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2738
2739         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2740
2741         * Makefile.am:
2742         * BufferView.C:
2743         * BufferView_pimpl.C:
2744         * buffer.C:
2745         * lyxfind.C:
2746         * lyxfunc.C:
2747         * text.C:
2748         * text2.C:
2749         * text3.C: adjust
2750
2751 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2752
2753         * lyxtext.h:
2754         * text.C:
2755         * text2.C:
2756         * rowpainter.C:
2757         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2758         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2759
2760 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2761
2762         * Bidi.[Ch] (computeTables): const correctness
2763         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2764         fill_hfill, fill_label_hfill and x from Row
2765         * lyxtext.h: prepareToPrint returns a RowMetrics
2766         * rowPainter.C: adjust
2767         * text.C (prepareToPrint): use width, not textWidth. adjust
2768         (redoParagraphInternal, cursorX): adjust
2769         * text2.C (getColumnNearX): adjust
2770         (init): put a default value to the top LyXText::width
2771
2772 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2773
2774         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2775
2776 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2777
2778         * lyxtext.h: add FontIterator class
2779
2780         * text.C (FontIterator, operator*, operator->, operator++): add
2781         (rowBreakPoint, setRowWidth): adjust (fixing a
2782         rebreaking bug)
2783
2784 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2785
2786         * BufferView_pimpl.C (workAreaDispatch): allow also
2787         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2788
2789 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2790
2791         * text.C (rowBreakPoint): fix a bug showing with very large insets
2792
2793 2004-02-25  André Pönitz  <poenitz@gmx.net>
2794
2795         * text3.C:
2796         * cursor.[Ch]: move some mathed specific code to mathed
2797
2798 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2799
2800         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2801         use_tempdir in preferences
2802         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2803         tempfile creation
2804         * lyx_main.C: ensure that tempdir is valid
2805         * lyxlex.h: correct typo
2806         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2807         * paragraph.[Ch] (isMultiLingual): make const
2808         * cursor.[Ch] (openable): make const
2809
2810 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2811
2812         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2813
2814 2004-02-20  André Pönitz  <poenitz@gmx.net>
2815
2816         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2817
2818         * cursor.[Ch]: prepare for localized getStatus()
2819
2820         * lyxtext.h:
2821         * tabular.C:
2822         * text.C:
2823         * text2.C:
2824         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2825
2826 2004-02-20  André Pönitz  <poenitz@gmx.net>
2827
2828         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2829
2830 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2831
2832         * text2.C (setCursorFromCoordinates): switch to absolute coords
2833         (cursorUp): adjust
2834         (cursorDown): adjust
2835         * text3.C (dispatch): adjust
2836
2837 2004-02-16  André Pönitz  <poenitz@gmx.net>
2838
2839         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2840           insets/ChangeLog)
2841
2842         * cursor_slice.[Ch]: remove unneeded acessor function
2843
2844         * lyxtext.h: rename rtl() to isRTL()
2845
2846         * rowpainter.C:
2847         * tabular.C:
2848         * text.C:
2849         * text2.C:
2850         * text3.C: adjust
2851
2852 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2853
2854         * rowpainter.C (paintSelection): coord fix
2855
2856 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2857
2858         * Spacing.C: compile fix
2859
2860 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2861
2862         * cursor.C (dispatch): restore current_ before returning
2863
2864 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2865
2866         * text2.C (cursorUp, cursorDown): fix coords
2867         (moveUp): fix crash
2868
2869 2004-02-12  André Pönitz  <poenitz@gmx.net>
2870
2871         * lyxtext.h:
2872         * text.C:
2873         * text2.C:
2874         * text3.C: add LCursor & parameter to most cursor movement functions
2875           remove usage of LyXText::cursorRow() and cursorPar()
2876
2877         * cursor.[Ch]: add textRow() needed members
2878
2879         * BufferView.C:
2880         * BufferView_pimpl.C:
2881         * paragraph.[Ch]:
2882         * BufferView.C:
2883         * BufferView_pimpl.C: adjust
2884
2885 2004-02-11  André Pönitz  <poenitz@gmx.net>
2886
2887         * lyxfunc.C:
2888         * BufferView.[Ch]:
2889         * BufferView_pimpl.C: shift undo/redo handling
2890
2891         * cursor.[Ch]: fix mathed crash
2892
2893         * lyxfind.C:
2894         * lyxtext.h: move selectionAsText to LCursor
2895
2896         * output_latex.C:
2897         * paragraph.C:
2898         * text.C:
2899         * text2.C:
2900         * text3.C: adjust
2901
2902         * rowpainter.C: fix excessive drawing
2903
2904 2004-02-06  André Pönitz  <poenitz@gmx.net>
2905
2906         * BufferView.[Ch]:
2907         * BufferView_pimpl.[Ch]:
2908         * text3.C: move some text specific LFUN handling
2909
2910 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2911
2912         * text3.C (checkInsetHit): adjust coords
2913         * text2.C (getColumnNearX): adjust coords
2914         (edit): adjust coords
2915         * text.C (getRowNearY): add two asserts
2916
2917 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2918
2919         * converter.C:
2920         * format.C: add using std::distance to compile on gcc 2.95/stlport
2921
2922 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2923
2924         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2925
2926 2004-02-04  André Pönitz  <poenitz@gmx.net>
2927
2928         * BufferView.[Ch] (insertInset):
2929         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2930
2931         * text2.C:
2932         * text3.C: adjust
2933
2934 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2935
2936         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2937         on the default clause of the switch
2938         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2939         wasn't catched by LCursor::dispatch
2940
2941 2004-02-03  André Pönitz  <poenitz@gmx.net>
2942
2943         * BufferView.C:
2944         * cursor.[Ch]: some additional asserts
2945
2946         * undo.[Ch]: remove LyXText dependency in interface
2947
2948         * lyxfunc.C: adjust
2949
2950         * lyxtext.h (firstPar, lastPar): remove dead functions
2951
2952         * text.C:
2953         * text2.C:
2954         * text3.C:
2955         * paragraph.[Ch]: adjust
2956
2957 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2958
2959         * lyxfind.C (find): fix argument order in call to ::find
2960
2961 2004-02-02  André Pönitz  <poenitz@gmx.net>
2962
2963         * cursor.[Ch]: remove direct access to anchor
2964
2965         * text.C: remove findText() hack
2966
2967 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2968
2969         * iterators.[Ch] (lockPath): remove in favour of...
2970         * BufferView.[Ch] (setCursor): this addition
2971         * BufferView.C (putSelectionAt): adjust
2972         * undo.C (performUndoOrRedo): adjust
2973         * lyxfunc.C (dispatch): adjust
2974
2975 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2976
2977         * iterators.C (lockPath): add a missing slice
2978         * undo.C (performUndoOrRedo): remove redundant positioning code
2979
2980 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2981
2982         * vc-backend.C (scanMaster): ";" -> ';'
2983
2984 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2985
2986         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2987         std::binary_function
2988
2989         * lyxtextclass.C (compare_name): rename to...
2990         (LayoutNamesEqual): ...this
2991
2992         * lyxlex_pimpl.C (compare_tags): inherit from
2993         std::binary_function, put back into anon namespace
2994
2995         * lyxfind.C (MatchString): inherig from std::binary_function
2996         (findChange): use empty() istead of !size()
2997
2998         * format.C (FormatNamesEqual): new functor
2999         (getFormat): use it
3000         (getNumber): use it
3001         (add): use it
3002         (erase): use it
3003         (setViewer): use it
3004
3005         * converter.C (compare_Converter): rename to...
3006         (ConverterEqual): ...this, and fixup a bit.
3007         (getConverter): use it, and make function const
3008         (getNumber): use it, and make function const
3009         (add): use it
3010         (erase): use it:
3011
3012         * bufferlist.C: add using boost::bind
3013
3014         * MenuBackend.C (MenuNamesEqual): new functor
3015         (hasMenu): use it, and make function const
3016         (hasSubmenu): use nested bind to get rid of compare_memfun.
3017
3018 2004-01-30  André Pönitz  <poenitz@gmx.net>
3019
3020         * BufferView_pimpl.C:
3021         * cursor.C:
3022         * cursor.h:
3023         * cursor_slice.[Ch]:
3024         * lyxfunc.C:
3025         * lyxtext.h:
3026         * paragraph_funcs.C:
3027         * paragraph_funcs.h:
3028         * rowpainter.C:
3029         * text.C:
3030         * text2.C:
3031         * text3.C: move some of the edit(x,y) handling to the insets
3032         some coordinate changes.
3033
3034 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3035
3036         * text.C: add using statements for std::advance and std::distance
3037
3038         * paragraph.C: add using statement for std::distance
3039
3040         * lyxfind.C: add using statement for std::advance
3041
3042         * cursor.C (region): remove std:: from swap
3043         (openable): use nucleus in stead of operator->
3044
3045         * BufferView.C: add using statements for std::distance and std::swap
3046
3047 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3048
3049         * iterators.C: Remove the pimple, move the needed structures to
3050         the header file. Create accessor for the positions stack.
3051         (asPosIterator): remove function
3052
3053         * PosIterator.C (PosIterator): move constructors to top of file
3054         (PosIterator): reimplement the constructor taking a ParIterator in
3055         terms of setFrom.
3056         (setFrom): new function
3057         (operator!=): inline it
3058
3059 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3060
3061         * lyxfind.C (replaceAll): use std::advance
3062
3063         * iterators.h: inherit from std::iterator.
3064
3065         * PosIterator.C (advance, distance): remove
3066         * PosIterator.h: interit from std::iterator.
3067
3068 2004-01-26  André Pönitz  <poenitz@gmx.net>
3069
3070         * BufferView.[Ch]:
3071         * BufferView_pimpl.[Ch]:
3072         * InsetList.[Ch]:
3073         * PosIterator.[Ch]:
3074         * buffer.h:
3075         * bufferview_funcs.C:
3076         * cursor.[Ch]:
3077         * cursor_slice.h:
3078         * factory.[Ch]:
3079         * iterators.[Ch]:
3080         * lyxfind.C:
3081         * lyxfunc.C:
3082         * lyxtext.h:
3083         * output_docbook.C:
3084         * output_latex.C:
3085         * output_linuxdoc.C:
3086         * output_plaintext.C:
3087         * paragraph.[Ch]:
3088         * paragraph_funcs.[Ch]:
3089         * paragraph_pimpl.[Ch]:
3090         * rowpainter.C:
3091         * tabular.C:
3092         * tabular.h:
3093         * text.C:
3094         * text2.C:
3095         * text3.C: more IU:  dumps most of the rest of the mathcursor
3096     implementation into cursor.[Ch]; "globalize" a bit of it.
3097
3098 2004-01-25  Angus Leeming  <leeming@lyx.org>
3099
3100         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3101
3102 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3103
3104         * LaTeXFeatures.h: add nice_ and nice() const
3105         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3106
3107 2004-01-20  André Pönitz  <poenitz@gmx.net>
3108
3109         * BufferView.[Ch]:
3110         * BufferView_pimpl.C:
3111         * PosIterator.C:
3112         * bufferview_funcs.C:
3113         * cursor.[Ch]:
3114         * cursor_slice.[Ch]:
3115         * factory.C:
3116         * iterators.C:
3117         * lyx_cb.C:
3118         * lyxfind.C:
3119         * lyxfunc.C:
3120         * lyxtext.h:
3121         * rowpainter.C:
3122         * text.C:
3123         * text2.C:
3124         * text3.C:
3125         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3126           LCursor and mathcursor parts to LCursor and InsetBase.
3127
3128 2004-01-15  André Pönitz  <poenitz@gmx.net>
3129
3130         * cursor_slice.[Ch]: add a few covienience functions
3131
3132         * funcrequest.[Ch]: remove BufferView * member
3133
3134         * BufferView_pimpl.C:
3135         * cursor.C:
3136         * factory.[Ch]:
3137         * lyxfind.[Ch]:
3138         * lyxfunc.C:
3139         * lyxtext.h:
3140         * text3.C:
3141         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3142
3143 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3144
3145         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3146         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3147
3148 2004-01-13  André Pönitz  <poenitz@gmx.net>
3149
3150         * textcursor.[Ch]:
3151         * lyxtext.h: hide cursor and selection anchor behind accessor function
3152
3153         * BufferView.C:
3154         * BufferView_pimpl.[Ch]:
3155         * PosIterator.C:
3156         * bufferview_funcs.C:
3157         * cursor.h:
3158         * lyxfind.C:
3159         * lyxfunc.C:
3160         * text.C:
3161         * text2.C:
3162         * text3.C:
3163         * undo.C: adjust
3164
3165         * cursor.h:
3166         * cursor_slice.[Ch]: some integer type changes for inset unification
3167
3168         * lyxcursor.[hC]: remove, it's CursorSlice now.
3169
3170         * Makefile.am:
3171         * BufferView_pimpl.[Ch]:
3172         * bufferview_funcs.C:
3173         * cursor_slice.C:
3174         * lyxtext.h:
3175         * text.C:
3176         * text2.C:
3177         * text3.C:
3178         * textcursor.[Ch]: adjust
3179
3180 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3181
3182         * text2.C (undoSpan): add and use
3183         * text.C (breakParagraph): use undoSpan (fix bug 578)
3184         * lyxtext.h: adjust
3185
3186 2004-01-08  Angus Leeming  <leeming@lyx.org>
3187
3188         * BufferView_pimpl.C (MenuInsertLyXFile):
3189         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3190         * lyxfunc.C (menuNew, open, doImport):
3191         FileFilterList change to the FileDialog open and save functions.
3192
3193 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3194
3195         * ShareContainer.h: make isEqual and isUnique adaptable
3196
3197         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3198
3199 2004-01-07  Angus Leeming  <leeming@lyx.org>
3200
3201         * LyXAction.C:
3202         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3203
3204         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3205
3206         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3207         functions replacing find, replace and replaceAll.
3208
3209         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3210         LFUN_WORDFIND(FORWARD|BACKWARD).
3211
3212 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3213
3214         * text.C (breakParagraph): remove an outdated #warning
3215
3216 2004-01-07  André Pönitz  <poenitz@gmx.net>
3217
3218         * lyxfind.C: somewhat clearer logic
3219
3220         * text.C: prevent crash in cursorX on unitialized row cache
3221
3222 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3223
3224         * lyxcursor.[Ch] (operator>): add
3225         * textcursor.C (selStart, selEnd): use std::min and std::max
3226
3227 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3228
3229         * Chktex.C: include boost/format.hpp
3230
3231 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3232
3233         * InsetList.C: replace functor MathcIt with adaptable functor
3234         InsetTablePosLess
3235         (insetIterator): modify accordingly
3236
3237         * BranchList.h: move the BranchNamesEqual functor here from...
3238         * BranchList.C: ... to here
3239
3240         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3241         SameName and match.
3242         (add): replace a finding loop with std::find_if.
3243
3244 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3245
3246         * output_docbook.C: moving LatexParam functionality into
3247         .layout files
3248
3249 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3250
3251         * buffer.C: increment format to 229.
3252
3253 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3254
3255         * LaTeXFeatures.C:
3256         * lyx_sty.[Ch]: remove minipageindent_def
3257
3258         * LyXAction.C:
3259         * factory.C:
3260         * lfuns.h:
3261         * lyxfunc.C:
3262         * text3.C: remove LFUN_INSET_MINIPAGE
3263
3264 2003-12-28  Angus Leeming  <leeming@lyx.org>
3265
3266         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3267
3268 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3269
3270         * text2.C (setParagraph): fix off-by-one crash
3271
3272 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3273
3274         * output_docbook.C: header stuff for AGU
3275
3276 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3277
3278         * text2.C (redoCursor): remove
3279         * text.C:
3280         * text3.C:
3281         * BufferView_pimpl.C: remove calls to redoCursor and
3282         setCursor(cursor.par(), cursor.pos()) all around
3283
3284 2003-12-15  Angus Leeming  <leeming@lyx.org>
3285
3286         * buffer.C: up the format to 228.
3287
3288 2003-12-15  André Pönitz  <poenitz@gmx.net>
3289
3290         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3291         slices
3292
3293         * Makefile.am:
3294
3295         * BufferView_pimpl.C:
3296         * cursor.[Ch]:
3297         * lyxcursor.[Ch]:
3298         * rowpainter.[Ch]:
3299         * lyxtext.h:
3300         * text.C:
3301         * text2.C:
3302         * text3.C: adjust
3303
3304 2003-12-15  Angus Leeming  <leeming@lyx.org>
3305
3306         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3307         than getFromGUIName to manipulate the color.
3308
3309 2003-12-14  Angus Leeming  <leeming@lyx.org>
3310
3311         * BranchList.[Ch]: minimize the API.
3312         (Branch::getBranch, getColor): now return a 'const &'.
3313         (Branch::setSelected) now returns a bool set to true if the
3314         selection status changes.
3315         (BranchList::clear, size, getColor, setColor, setSelected,
3316         allBranches, allSelected, separator): removed.
3317         (BranchList::find): new functions, returning the Branch with
3318         the given name.
3319         (BranchList::add, remove): return a bool indicating that
3320         the operation was successful.
3321
3322         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3323         new InsetBranch::isBranchSlected member function.
3324
3325         * LColor.[Ch]: mimimize the API.
3326         (fill): renamed as addColor and made private.
3327         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3328         versions of these functions taking a string arg have been removed.
3329
3330         * bufferparams.C (readToken):
3331         * lyxfunc.C (dispatch):
3332         * lyxrc.C (read): changes due to the altered BranchList and
3333         LColor APIs.
3334
3335         * factory.C (createInset, readInset): changes due to altered
3336         InsetBranch c-tor.
3337
3338 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3339
3340         * factory.C:
3341         * lyxfunc.C: remove insetminipage. "minipage-insert"
3342         now produces a frameless minipage box inset.
3343
3344 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3345
3346         * textcursor.[Ch] (selStart,selEnd): add new methods
3347         remove selection::start, end, use LyXCursor::operator<
3348         * lyxcursor.[Ch] (operator<): add
3349         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3350         * BufferView.[Ch] (unsetXSel): add
3351         * text2.C (clearSelection): use unsetXSel,adjust
3352         * text.C: adjust
3353         * text3.C: adjust
3354         * rowpainter.C: adjust
3355         * bufferview_funcs.C (put_selection_at): adjust
3356
3357 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3358
3359         * BufferView_pimpl.C: small coord. correction
3360
3361 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3362
3363         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3364         dragging over the splash screen.
3365
3366 2003-12-11  Angus Leeming  <leeming@lyx.org>
3367
3368         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3369         as it is now handled in LyXText::dispatch.
3370
3371         * text3.C (doInsertInset): remove a level of nesting.
3372
3373 2003-12-11  Angus Leeming  <leeming@lyx.org>
3374
3375         * factory.C (createInset): changes due to the changed interface to
3376         InsetCommandMailer::string2params.
3377
3378 2003-12-10  Angus Leeming  <leeming@lyx.org>
3379
3380         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3381         'dialog-show-new-inset <inset name>'
3382
3383 2003-12-10  Angus Leeming  <leeming@lyx.org>
3384
3385         * buffer.C: up the format to 227.
3386
3387         * factory.C: the box inset is now identified simply by 'Box'.
3388
3389 2003-12-10  Angus Leeming  <leeming@lyx.org>
3390
3391         * buffer.C: up the format to 226.
3392
3393         * factory.C: the note inset is now identified simply by 'Note'.
3394
3395 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3396
3397         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3398         when a pit is enough. Standarize a couple of loops.
3399
3400 2003-12-05  Angus Leeming  <leeming@lyx.org>
3401
3402         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3403         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3404         data to the re-worked "log" dialog.
3405
3406 2003-12-03  André Pönitz  <poenitz@gmx.net>
3407
3408         * PosIterator.C:
3409         * iterators.C:
3410         * lyxtext.h:
3411         * output_latex.C:
3412         * paragraph_funcs.C:
3413         * text.C:
3414         * text2.C: use Inset::getText instead of Inset::getParagraph
3415
3416 2003-12-03  André Pönitz  <poenitz@gmx.net>
3417
3418         * buffer.[Ch]:
3419         * lyxtext.h:
3420         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3421         InsetText::read() as LyXText::read()
3422
3423 2003-12-02  Angus Leeming  <leeming@lyx.org>
3424
3425         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3426         type. Add a comment in the implementation that the function uses
3427         the stream's bad() function rather than fail() as the std::streams
3428         would do.
3429
3430 2003-12-02  André Pönitz  <poenitz@gmx.net>
3431
3432         * lyxlex.[Ch]: make interface more similar to std::stream
3433
3434         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3435
3436 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3437
3438         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3439
3440 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3441
3442         * vspace.[Ch]: remove VSpace::NONE
3443
3444 2003-12-01  André Pönitz  <poenitz@gmx.net>
3445
3446         * buffer.[Ch]:
3447         * lyxtext.h: move ParagraphList member to LyXText
3448         rename LyXText::ownerParagraphs to LyXText::paragraph
3449
3450         * CutAndPaste.C:
3451         * bufferview_funcs.C:
3452         * iterators.[Ch]:
3453         * lyx_cb.C:
3454         * paragraph.C:
3455         * rowpainter.C:
3456         * tabular.C:
3457         * text.C:
3458         * text2.C:
3459         * text3.C: adjust
3460
3461         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3462
3463         * undo.C: fix cursor positioning
3464
3465 2003-12-01  John Levon  <levon@movementarian.org>
3466
3467         * BufferView_pimpl.C: fix a crash on exit with
3468         a buffer open
3469
3470 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3471
3472         * BranchList.C: fix setSelected() method.
3473
3474 2003-11-28  André Pönitz  <poenitz@gmx.net>
3475
3476         * ParagraphParameters.[Ch]:
3477         * ParameterStruct.h: remove space above/below from Paragraph to
3478          InsetVSpace
3479
3480         * BufferView_pimpl.C:
3481         * factory.C:
3482         * lyxfunc.C:
3483         * lyxtext.h:
3484         * output_latex.C:
3485         * paragraph.C:
3486         * paragraph_funcs.C:
3487         * rowpainter.[Ch]:
3488         * text.C:
3489         * text2.C:
3490         * text3.C: adjust
3491
3492 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3493
3494         * factory.C: Syntax change for CharStyles
3495
3496 2003-11-28  André Pönitz  <poenitz@gmx.net>
3497
3498         * BufferView.[Ch]:
3499         * BufferView.[Ch]:
3500         * buffer.[Ch]:
3501         * buffer.[Ch]: move LyXText member
3502
3503 2003-11-28  André Pönitz  <poenitz@gmx.net>
3504
3505         * BufferView.[Ch]: make LyXText * text a private member
3506
3507         * BufferView_pimpl.C:
3508         * cursor.C:
3509         * iterators.C:
3510         * lyx_cb.C:
3511         * lyxfind.C:
3512         * lyxtext.h:
3513         * rowpainter.[Ch]:
3514         * text.C:
3515         * text2.C:
3516         * undo.C: adjust
3517
3518         * output_plaintext.C: cleanup
3519
3520 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3521
3522         * buffer.C:
3523         * lyxtextclass.[Ch]: parametrize SGML document header
3524
3525 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3526
3527         * converter.[Ch]:
3528         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3529         getFlavor().
3530
3531 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3532
3533         * text2.C (setFont): rework using PosIterator (no more recursive)
3534         (setCharFont): no more needed
3535         (setLayout): no more selection cursors fiddling (done by redoCursor)
3536         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3537         destroy remaining ones)
3538
3539 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3540
3541         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3542         * lyxtext.h: ditto
3543         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3544         selection cursors
3545         * lyxfunc.C: adjust
3546         * text3.C: adjust + re-allow multi par depth changes
3547         * textcursor.C: simplify a bit
3548
3549 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3550
3551         * src/buffer.C:
3552         * src/lyxlayout.C:
3553         * src/lyxlayout.h:
3554         * src/lyxtext.h:
3555         * src/output_docbook.C:
3556         * src/output_latex.C:
3557         * src/paragraph.C:
3558         * src/paragraph.h:
3559         * src/sgml.C:
3560         * src/sgml.h:
3561         * src/text2.C: Introducing a number of tags parametrizing various
3562         XML formats that we may want to support
3563
3564 2003-11-25  André Pönitz  <poenitz@gmx.net>
3565
3566         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3567
3568         * lyxtext.h (leftMargin/rightMargin): simplify interface
3569
3570         * rowpainter.C:
3571         * text.C:
3572         * text2.C:
3573         * text3.C: adjust
3574
3575 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3576
3577         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3578         master file to any child files. Fixes bug 546.
3579
3580 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3581
3582         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3583
3584 2003-11-24  André Pönitz  <poenitz@gmx.net>
3585
3586         * rowpainter.C: simplification
3587
3588         * text2.C (updateCounters): remove call to redoParagraph on
3589         changed labels as this is far too expensive.
3590
3591 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3592
3593         * converter.C (convert): fix a crash: this function gets
3594         called with buffer == 0 from importer code.
3595
3596 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3597
3598         * text3.C (cursorPrevious): make sure that we do not compare
3599         iterators form different containers.
3600         (cursorNext): ditto
3601
3602         * rowpainter.C (paintSelection): make sure that we do not compare
3603         iterators from different containers.
3604
3605         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3606         iterators from different ParagraphList containers.
3607         [NEXT] ditto
3608
3609         * text2.C (LyXText): change order of initialization slightly
3610         (operator=): new function. copy all variables except cache_par_
3611         (moveUp): make sure that we do not compare iterators from
3612         different ParagraphList constainers.
3613         (moveDown): ditto
3614
3615         * text.C (firstPar): new function
3616         (lastPar): new function
3617         (endPar): new function
3618
3619         * lyxtext.h: move things around and group public functions, public
3620         variables, private functions, private variables
3621
3622 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3623
3624         * factory.C: change call to InsetERT constructor to avoid
3625         additional invocation of method status
3626         * text2.C (toggleInset): remove redundant update() call
3627         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3628         instead of a Bufferview pointer
3629
3630 2003-11-21  André Pönitz  <poenitz@gmx.net>
3631
3632         * rowpainter.C: simplification
3633
3634 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3635
3636         * text3.C (dispatch): make possible to extend a word/row selection
3637         with the mouse
3638
3639 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3640
3641         * lyxtext.h: x0_,y0_ -> xo_,yo_
3642         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3643         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3644         * rowpainter.C (paintRows): paint full paragraphs
3645
3646 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3647
3648         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3649         screen coordinates)
3650
3651 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3652
3653         * lyxtext.h: add x0_, y0_
3654         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3655         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3656
3657 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3658
3659         * text2.C (setCursorIntern): move the x_target update here *
3660         * text3.C: change some bv() to true/false in calls to
3661         cursorUp/Down/Right/Left
3662         * cursor.C: use helper function.
3663
3664 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3665
3666         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3667         * paragraph_funcs.[Ch]: correct comment
3668         * rowpainter.C: do not paint selections away from bv->cursor()
3669         Fix a long standing selection painting bug.
3670         * text3.C: generalize mouse-selection code to LyXTexts other that
3671         top one
3672         * textcursor.C: do not use y coords if we can use par offsets
3673
3674 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3675
3676         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3677         cursor position after e.g. inset insert)
3678
3679 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3680
3681         * lyxfind.C (replace): adjust to locking removal + some
3682         code simplification
3683
3684 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3685
3686         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3687         of the path
3688
3689 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3690
3691         * lyxlayout.[Ch]:
3692         * output_docbook.C: XML sanitation: new layout
3693         parameters InnerTag and CommandDepth
3694
3695 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3696
3697         * BufferView_pimpl.C:
3698         * factory.C:
3699         * text3.C: Fix the insertion and modification of button-style
3700         insets
3701
3702 2003-11-13  André Pönitz  <poenitz@gmx.net>
3703
3704         * InsetList.[Ch]: remove deleteLyXText
3705
3706         * paragraph.[Ch]: cache beginOfBody position
3707
3708         * Bidi.C:
3709         * text.C:
3710         * text2.C:
3711         * text3.C: remove superfluous update() calls
3712
3713         * vspace.C: cleanup
3714
3715 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3716
3717         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3718         * BufferView.C (fitLockedInsetCursor): remove
3719         * cursor.[Ch] (getDim): add
3720         * text.C (getRowNearY): add faster version
3721         * text3.C: remove some update calls
3722
3723 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3724
3725         * LaTeXFeatures.C:
3726         * LyXAction.C:
3727         * MenuBackend.C:
3728         * MenuBackend.h:
3729         * dispatchresult.h:
3730         * factory.C:
3731         * lfuns.h:
3732         * lyxfunc.C:
3733         * lyxtextclass.C:
3734         * lyxtextclass.h:
3735         * text3.C: The Character Style /XML short element patch.
3736
3737 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3738
3739         * text3.C:
3740         * factory.C: Small step to solving 'unable to insert some insets'
3741         problem
3742
3743 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3744
3745         * cursor.[Ch] (updatePos): new function for updating the y
3746         position of the tip inset
3747         * bufferview_funcs.C (put_selection_at):
3748         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3749
3750 2003-11-11  André Pönitz  <poenitz@gmx.net>
3751
3752         * text.C: remove big comment on invalid Paragraph pointers as it is
3753         not valid anymore
3754
3755 2003-11-11  André Pönitz  <poenitz@gmx.net>
3756
3757         * text_funcs.[Ch]: merge with ...
3758
3759         * text.C: ... this
3760
3761         * lyxtext.h:
3762         * text2.C:
3763         * text3.C: adjust
3764
3765         * Makefile.am: remove text_funcs.[Ch]
3766
3767 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3768
3769         * cursor.C (getPos): return absolute cached y coord
3770
3771         * BufferView_pimpl.C (fitCursor): new simplistic code
3772         (workAreaDispatch): add a fitCursor call
3773
3774 2003-11-10  André Pönitz  <poenitz@gmx.net>
3775
3776         * BufferView.[Ch]:
3777         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3778
3779 2003-11-10  André Pönitz  <poenitz@gmx.net>
3780
3781         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3782         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3783         indicate that the cursor needs to leave an inset
3784
3785         * lyxtext.h: remove inset locking
3786
3787         * cursor.[Ch]: re-implement functionality provided by inset locking
3788
3789         * BufferView.[Ch]:
3790         * BufferView_pimpl.[Ch]:
3791         * LyXAction.C:
3792         * bufferview_funcs.[Ch]:
3793         * factory.C:
3794         * funcrequest.[Ch]:
3795         * iterators.C:
3796         * lyx_cb.C:
3797         * lyxfind.C:
3798         * lyxfunc.C:
3799         * text.C:
3800         * text2.C:
3801         * text3.C:
3802         * undo.C: adjust
3803
3804 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3805
3806         * PosIterator.[Ch]: replace the stack with a vector, add inset
3807         accesor
3808         * iterators.[C]: adjust
3809
3810 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3811
3812         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3813         replaced
3814         * paragraph_funcs.C (readParToken): put the correct id in the
3815         error item, not the id of the top paragraph
3816
3817 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3818
3819         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3820         * bufferview_funcs.C (put_selection_at): use the above
3821
3822 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3823
3824         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3825
3826 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3827
3828         * output_linuxdoc.h:
3829         * output_plaintext.h:
3830         * output.h:
3831         * output_docbook.h: add #include statements
3832
3833 2003-11-05  José Matos  <jamatos@lyx.org>
3834
3835         * output_docbook.[Ch]:
3836         * output_latex.[Ch]:
3837         * output_linuxdoc.[Ch]:
3838         * output_plaintext.[Ch]: New files for output formats.
3839         * output.[Ch]: New file for helper functions.
3840
3841         * buffer.[Ch]:
3842         * paragraph_funcs.[Ch]: output functions moved to new files.
3843
3844         * outputparams.h: rename of latexrunparams.h
3845
3846         * LaTeX.[Ch]:
3847         * buffer.[Ch]:
3848         * bufferlist.[Ch]:
3849         * converter.[Ch]:
3850         * exporter.C:
3851         * paragraph.[Ch]:
3852         * paragraph_funcs.[Ch]:
3853         * paragraph_pimpl.[Ch]:
3854         * tabular.[Ch]: rename ascii to plaintext
3855         and LatexRunParams to OutputParams.
3856
3857 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3858
3859         * iterators.[Ch] (text): require bv argument
3860         * undo.C (recordUndo):
3861         * lyxfunc.C (dispatch):
3862         * bufferview_funcs.C (put_selection_at): adjust
3863
3864 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3865
3866         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3867
3868 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3869
3870         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3871         nestings
3872
3873 2003-11-04  André Pönitz  <poenitz@gmx.net>
3874
3875         * cursor.[Ch]: restructure
3876
3877         * BufferView.[Ch]:
3878         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3879
3880         * iterators.[Ch] (asCursor): remove
3881
3882         * lfuns.h: remove LFUN_INSET_EDIT
3883
3884         * lyxfunc.C:
3885         * tabular.C:
3886         * text.C:
3887         * text2.C:
3888         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3889
3890 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3891
3892         * lyxfind.[Ch]: complete overhaul
3893         * BufferView_pimpl.C:
3894         * lyxfunc.C: adjust
3895         * paragraph.[Ch] (insert): add
3896
3897 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3898
3899         * BufferView.[Ch]:
3900         * lyxtext.h:
3901         * text.C: remove dead spellcheck code
3902
3903 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3904
3905         * dispatchresult.h: add a val setter
3906
3907         * cursor.C (dispatch): use a tempvar for data_[i]
3908
3909 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3910
3911         * PosIterator.[Ch]: compile fix
3912
3913 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3914
3915         * text.C (cursorPar): deactivate the cursor cache
3916
3917 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3918
3919         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3920
3921 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3922
3923         * text3.C (dispatch): adjust for new DisptchResult semantics.
3924
3925         * lyxfunc.C (dispatch): handle update when return from
3926         Cursor::dispatch, adjust for new DispatchResult semantics.
3927
3928         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3929         DispatchResult(true) mean to not update. Add class functions for
3930         setting dispatched and update, as well as reading.
3931
3932         * cursor.C (dispatch): don't handle update here
3933
3934 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3935
3936         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3937         * trans_mgr.C: adjust
3938
3939         * paragraph_funcs.C (readParToken): exception safety
3940
3941         * lyxvc.h: store the vcs pointer in a scoped_ptr
3942         * lyxvc.C: adjust
3943
3944         * lyxsocket.C (serverCallback): exception safety
3945
3946         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3947
3948         * ispell.C (clone): make it return a auto_ptr
3949
3950         * factory.C (createInset): exception safety
3951         (readInset): exception safety
3952
3953         * bufferlist.C (newBuffer): exception safety
3954
3955         * Thesaurus.C (Thesaurus): use initialization for aik_
3956
3957         * MenuBackend.C (expandToc): exception safety.
3958
3959 2003-11-03  André Pönitz  <poenitz@gmx.net>
3960
3961         * buffer.C:
3962         * buffer.h:
3963         * bufferview_funcs.C: remove getInsetFromId()
3964
3965         * lyxcursor.[Ch]:
3966         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3967
3968         * lyxfunc.C:
3969         * text2.C:
3970         * text3.C: adjust
3971
3972 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3973
3974         * PosIterator.C (distance, advance): new
3975         * bufferview_funcs.[Ch] (put_selection_at): new
3976         * iterators.[Ch] (lockPath): new
3977
3978 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3979
3980         * iterators.[Ch] (asPosIterator): added
3981         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3982         * PosIterator.[Ch]: added
3983
3984 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3985
3986         * text3.C:
3987         * lyxfunc.C:
3988         * cursor.C (dispatch):
3989         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3990
3991         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3992         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3993         contructor, add a class function dispatched. Remove operator>=
3994
3995 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3996
3997         * debug.C: only use the default constructor for debugstream
3998         (lyxerr) here.
3999
4000         * main.C (main): include debug.h and setup the lyxerr streambuf
4001         here.
4002
4003 2003-10-31  José Matos  <jamatos@lyx.org>
4004
4005         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4006
4007         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4008         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4009         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4010         * paragraph_pimpl.C (simpleTeXSpecialC):
4011         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4012         add LatexRunParams argument.
4013
4014         * exporter.C (Export): change call accordingly.
4015
4016         * latexrunparams.h: add new member to take care of the other backends.
4017 2003-10-30  José Matos  <jamatos@lyx.org>
4018
4019         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4020         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4021         factorise code for paragraph output.
4022         * buffer.[Ch]:
4023         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4024         move functions.
4025
4026 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * text3.C (dispatch):
4029         * lyxfunc.C (dispatch):
4030         * cursor.C (dispatch):
4031         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4032
4033         * dispatchresult.h: make the dispatch_result_t ctor explicit
4034
4035 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4036
4037         * sgml.[Ch]:
4038         * buffer.C: small refactoring of docbook stuff
4039
4040 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4041
4042         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4043         meaning.
4044
4045 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4046
4047         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4048         operator dispatch_result_t, and operators for == != and >=
4049
4050         * cursor.C (dispatch): adjust for operator dispatch_result_t
4051         removal. comment out call to update
4052
4053         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4054
4055 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4056
4057         * text3.C:
4058         * text2.C:
4059         * text.C:
4060         * lyxtext.h:
4061         * lyxfunc.C:
4062         * cursor.C:
4063         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4064         (dispatch):
4065
4066         * dispatchresult.h: new file, DispatchResult broken out of
4067         insets/insetbase.h
4068
4069         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4070
4071 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4072
4073         * text.C (rowBreakPoint): put a hack inside #if 0
4074
4075 2003-10-28  André Pönitz  <poenitz@gmx.net>
4076
4077         * lyxtext.h:
4078         * metricsinfo.C:
4079         * paragraph_funcs.C:
4080         * rowpainter.C:
4081         * text.C:
4082         * text2.C: general cleanup (lots of small stuff)
4083
4084 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4085
4086         * text2.C (cursorEnd): simple fix to the "end key goes to one
4087         before the end on last row" bug
4088
4089 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4090
4091         * text.C (backspace): fix the "zombie characters"
4092
4093 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4094
4095         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4096
4097 2003-10-27  André Pönitz  <poenitz@gmx.net>
4098
4099         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4100
4101         * factory.C: handle new InsetPagebreak, InsetLine
4102
4103         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4104         and move handling into new InsetPagebreak, InsetLine
4105
4106         * BufferView_pimpl.C:
4107         * LyXAction.C:
4108         * ParagraphParameters.C:
4109         * ParameterStruct.h:
4110         * lyxfunc.C:
4111         * lyxtext.h:
4112         * paragraph.C:
4113         * paragraph.h:
4114         * paragraph_funcs.C:
4115         * paragraph_pimpl.C:
4116         * rowpainter.C:
4117         * text.C:
4118         * text2.C:
4119         * text3.C: adjust
4120
4121 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4122
4123         * text.C:
4124         * lyxrow_funcs.[Ch]:
4125         * Bidi.C:
4126         * paragraph.C:
4127         * lyxtext.h:
4128         * rowpainter.C:
4129         * text2.C:
4130         * text3.C: remove lastPos uses in favour of Row::endpos
4131
4132 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4133
4134         * undo.C (performUndoOrRedo): fix two crashes by setting a
4135         cursor by hand and reordering some calls. Use bv->lockInset instead
4136         of inset->edit because the latter loses cursor information
4137
4138 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4139
4140         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4141         by Martin
4142         (rowBreakPoint): fix width. change point to point + 1.
4143         Add a missing check.
4144
4145 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4146
4147         * MenuBackend.C:
4148         * lyxfunc.C: fix (at least partly) the problems
4149         with the Nav menu and headers inside branch insets
4150         reported by Kayvan
4151
4152 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4153
4154         * paragraph.C (getChar): add strong asserts
4155
4156         * lyxrow_funcs.C (lastPos): remove hideous hack
4157
4158         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4159         (fill): adjust to that (avoid an infinite loop)
4160
4161 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4162
4163         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4164
4165 2003-10-23  André Pönitz  <poenitz@gmx.net>
4166
4167         * RowList_fwd.h: change list<> to vector<> to gain speed
4168         after suggestion from Alfredo
4169
4170 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4171
4172         * lyxtext.h: move the bidi stuff from here...
4173         * text.C: and here
4174         * text2.C: and here
4175         * Bidi.[Ch]: ... to here
4176
4177 2003-10-23  André Pönitz  <poenitz@gmx.net>
4178
4179         * lyxtext.h:
4180         * text.C (isLastRow, isFirstRow): new functions
4181
4182         * paragraph.h: new width cache member
4183
4184         * rowpainter.C: replace RowList::iterator with Row & where possible
4185
4186         * lyxfunc.C: replace several view()->text with a single call
4187
4188         * toc.C: fix 'unused' warning
4189
4190 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4191
4192         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4193         when woring with stream::pos_type
4194         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4195
4196 2003-10-22  André Pönitz  <poenitz@gmx.net>
4197
4198         * lyxtext.h:
4199         * text.C: use Row & instead of RowList::iterator
4200
4201         * lyxrow.h: rename end() to endpos()
4202
4203         * rowpainter.C:
4204         * text.C:
4205         * text2.C: adjust
4206
4207 2003-10-22  Angus Leeming  <leeming@lyx.org>
4208
4209         * buffer.[Ch] (fully_loaded): new member function, returning true
4210         only when the file has been loaded fully.
4211         Used to prevent the premature generation of previews and by the
4212         citation inset to prevent computation of the natbib-style label.
4213
4214         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4215         templates are all set up.
4216
4217         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4218
4219 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4220
4221         * text.C: fixed an "oops" in the "is a bit silly"
4222         bug fix
4223
4224 2003-10-21  André Pönitz  <poenitz@gmx.net>
4225
4226         * FuncStatus.[Ch]: small stuff, whitespace
4227
4228         * lyxfont.[Ch]: operator<<() for debug reasons
4229
4230         * lyxfunc.C:
4231         * lyxrow_funcs.C:
4232         * lyxtext.h: whitespace, spelling
4233
4234         * paragraph.C: naming of variables
4235
4236         * text.C:
4237         * text2.C: small stuff
4238
4239
4240 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4241
4242         * text.C: (1) finish off the inset display() work;
4243         (2) fix the "is a bit silly" bug (accessing char
4244         past end of par).
4245
4246 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4247
4248         * text.C: re-introduce display() for insets, fixing the
4249         various bugs (stretch of line above, math inset
4250         positioning, ...)
4251
4252 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4253
4254         * text.C (rightMargin): remove spurious semicolon
4255
4256         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4257         1415)
4258
4259 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4260
4261         * text3.C: fix one crash due to wrong cursor def
4262
4263 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4264
4265         * vc-backend.C (scanMaster): make the regex static
4266
4267         * LaTeX.C (scanAuxFile): make the regexs static
4268
4269         * text3.C (doInsertInset, dispatch, dispatch):
4270         * text2.C (cursorUp, cursorDown):
4271         * text.C (selectNextWordToSpellcheck):
4272         * BufferView_pimpl.C (dispatch):
4273         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4274
4275 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4276
4277         * lyxsocket.C: include <cerrno>
4278
4279 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4280
4281         * lyxfunc.C (dispatch): remove textcache stuff
4282
4283         * bufferlist.C (release): remove textcache stuff
4284         (closeAll): ditto
4285
4286         * TextCache.C: delete file
4287         * TextCache.h: delete file
4288
4289         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4290
4291         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4292         delete of the bv_->text.
4293         (resizeCurrentBuffer): remove texcache stuff
4294         (workAreaResize): ditto
4295
4296 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4297
4298         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4299         action.
4300
4301 2003-10-16  André Pönitz  <poenitz@gmx.net>
4302
4303         * lyxrow.[Ch]:
4304         * paragraph.h:
4305         * rowpainter.C:
4306         * text.C:
4307         * text2.C:
4308         * text3.C: speed up by storing y positions per paragraph plus per-row
4309         offset instead of having a 'full' y position in the row.
4310
4311 2003-10-15  André Pönitz  <poenitz@gmx.net>
4312
4313         * iterators.[Ch]:
4314         * iterators.[Ch]:
4315         * undo.[Ch]: make undo aware of inner insets
4316
4317 2003-10-14  Angus Leeming  <leeming@lyx.org>
4318
4319         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4320         static member functions LyX::ref() and LyX::cref.
4321         (lastfiles): new accessor functions for the new lastfiles_ member var.
4322         (addLyXView, views_): add a new LyXView to the list of views_.
4323         (updateInset): loop over all LyXViews to call their own updateInset
4324         member function, returning a pointer to the Buffer owning the inset.
4325
4326         * BufferView_pimpl.C (loadLyXFile):
4327         * MenuBackend.C (expandLastfiles):
4328         * bufferlist.C (MenuWrite, QuitLyX):
4329         lastfiles is no longer a global variable.
4330         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4331
4332         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4333         static function. Access through LyX::cref().emergencyCleanup().
4334
4335 2003-10-14  André Pönitz  <poenitz@gmx.net>
4336
4337         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4338
4339         * undo.[Ch]: restoring part of 'undo in insets'
4340
4341         * Makefile.am:
4342         * undo_funcs.[Ch]: merge with undo.[Ch]
4343
4344         * tabular.C: small cleansing stuff
4345
4346 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4347
4348         * paragraph_funcs.C (readParToken): report unknown insets as error
4349         boxes. Use the outer paragraph as location (also for unknown
4350         tokens).
4351
4352         * factory.C (readInset): do not abort on reading an unknown inset.
4353         Eat it and return 0.
4354
4355 2003-10-13  Angus Leeming  <leeming@lyx.org>
4356
4357         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4358
4359         * lyxrc.C: displayTranslator is now a function,
4360         declared in GraphicsTypes.h.
4361
4362 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4363
4364         * format.C: new placeholder $$a to pass the socket address.
4365
4366         * bufferlist.[Ch]: new function getBufferFromTmp.
4367
4368         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4369           files in the temporary dir.
4370
4371 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4372
4373         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4374
4375         * Makefile.am: add lyxsocket.[Ch].
4376
4377         * lyx_main.C (error_handler): handle SIGPIPE.
4378
4379 2003-10-13  André Pönitz  <poenitz@gmx.net>
4380
4381         * BufferView_pimpl.C:
4382         * lyxtext.h:
4383         * text.C:
4384         * text2.C:
4385         * text3.C:
4386         * undo_funcs.[Ch]: use paroffset_type instead of
4387           ParagraphList::iterators to prevent multiple conversion
4388           (and get a more robust interface)
4389
4390 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4391
4392         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4393         * lyxtext.h: ditto
4394         * text3.C (dispatch): ditto
4395
4396 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4397
4398         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4399         move the onlyfile, use onlyfile instead of foundfile in a couple
4400         of places.
4401
4402         * DepTable.C (update): flush the error stream a bit more
4403
4404 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4405
4406         * lyxserver.C (callback): adjust
4407
4408         * lyxfunc.C (getStatus): add a missing brace in commented code
4409         (ensureBufferClean): reindent
4410         (dispatch): delete version taking a string
4411
4412 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4413
4414         * LaTeX.C (deplog): move found file handlig from here...
4415         (handleFoundFile): .. to new function here.
4416         (deplog): make sure to discover several files mentioned on the
4417         same log line.
4418
4419 2003-10-10  André Pönitz  <poenitz@gmx.net>
4420
4421         * lyxfunc.C:
4422         * lyxtext.h:
4423         * tabular.C:
4424         * text.C:
4425         * text2.C:
4426         * text3.C: fix some of the tabular crashes
4427
4428 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4429
4430         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4431
4432         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4433
4434 2003-10-09  André Pönitz  <poenitz@gmx.net>
4435
4436         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4437
4438         * BufferView.C:
4439         * BufferView_pimpl.C:
4440         * bufferview_funcs.C:
4441         * lyx_cb.C:
4442         * lyxcursor.C:
4443         * lyxfind.C:
4444         * lyxfunc.C:
4445         * lyxtext.h:
4446         * text.C:
4447         * text2.C:
4448         * text3.C:
4449         * text_funcs.[Ch]:
4450         * textcursor.[Ch]:
4451         * undo_funcs.C: adjust
4452
4453 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4454
4455         * text2.C (incrementItemDepth): new function, use a backtracking
4456         algorithm to discover the correct item depth.
4457         (resetEnumCounterIfNeeded): new function, use a backtracking
4458         algorithm to discover if counter reset is needed.
4459         (setCounter): use them. Simplify a bit. Add different labels for
4460         different item depths for itemize.
4461
4462         * paragraph.C (Paragraph): remove initialization of enumdepth
4463         (operator=): ditto
4464
4465         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4466         enumerate and itemize. Change the type of itemdepth to signed char.
4467
4468 2003-10-08  André Pönitz  <poenitz@gmx.net>
4469
4470         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4471           thing assignable.
4472         * text.C:
4473         * text2.C: adjust
4474
4475         * tabular.[Ch]: fix crash after 'row-insert'
4476
4477 2003-10-08  Angus Leeming  <leeming@lyx.org>
4478
4479         Fix doxygen warnings.
4480
4481         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4482         Remove CutAndPaste:: prefix from header file declaration.
4483
4484         * LColor.h (fill): remove LColor:: prefix from declaration.
4485
4486         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4487         use lyx::depth_type rather than Paragraph::depth_type so that
4488         header file and .C file match.
4489
4490         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4491
4492         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4493         * aspell.C: \file aspell_local.C -> \file aspell.C
4494         * gettext.C: \file gettext.C -> \file src/gettext.C
4495         * gettext.h: \file gettext.h -> \file src/gettext.h
4496         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4497         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4498         * text.C: \file text.C -> \file src/text.C
4499
4500         * toc.C: move comment so that doxygen is not confused.
4501
4502 2003-10-07  Angus Leeming  <leeming@lyx.org>
4503
4504         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4505
4506 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4507
4508         * aspell.C:
4509         * aspell_local.h: add forgotten std::string's.
4510
4511 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4512
4513         * LaTeXFeatures.C:
4514         * LyXAction.C:
4515         * factory.C:
4516         * lfuns.h:
4517         * lyxfunc.C:
4518         * text3.C: The Box patch. Fancybox support, minipage, parbox
4519
4520 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4521
4522         * CutAndPaste.h:
4523         * DepTable.h:
4524         * FloatList.h:
4525         * LaTeXFeatures.h:
4526         * ParagraphParameters.h:
4527         * TextCache.h:
4528         * Thesaurus.h:
4529         * bufferlist.h:
4530         * exporter.h:
4531         * importer.h:
4532         * lastfiles.h:
4533         * lyxfind.h:
4534         * lyxfont.h:
4535         * lyxlex.h:
4536         * lyxtextclasslist.h:
4537         * messages.h:
4538         * paragraph.h:
4539         * paragraph_pimpl.C:
4540         * textcursor.h: add <string> and other small fixes to make Lars'
4541         std::string patch compile with STLport.
4542
4543 2003-10-06  Angus Leeming  <leeming@lyx.org>
4544
4545         * LColor.h: Add missing #include <string>.
4546
4547 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4548
4549         * All most all file in all subdirs: Make <string> be the prefered
4550         way of getting to std::string, add using declarations.
4551
4552 2003-10-06  André Pönitz  <poenitz@gmx.net>
4553
4554         * metricsinfo.C: initialize LyXFont before changing attribute.
4555         (fixes the 'math in \emph is upright' bug)
4556
4557 2003-10-06  André Pönitz  <poenitz@gmx.net>
4558
4559         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4560
4561 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4562
4563         * graph.C:
4564         * paragraph_pimpl.C: Small fixes to build using STLport
4565
4566 2003-10-02  André Pönitz  <poenitz@gmx.net>
4567
4568         * lyxfunc.C:
4569         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4570
4571 2003-10-01  André Pönitz  <poenitz@gmx.net>
4572
4573         * factory.C: assert early
4574
4575 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4576
4577         * lyx_main.C: remove the global debug object
4578
4579         * debug.h: adjust for new debugstream
4580
4581         * debug.C: adjust for new debugstream and keep the global debug
4582         object here.
4583
4584 2003-09-22  Angus Leeming  <leeming@lyx.org>
4585
4586         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4587         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4588         an incomplete class LyXFont.
4589
4590 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4591
4592         * factory.C: bug fix in branches
4593
4594 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4595
4596         * lyxfunc.C (processKeySym): adjust
4597         (dispatch): adjust
4598         (dispatch): change arg name from ev to func, adjust
4599         (sendDispatchMessage): ditto
4600
4601         * lyx_main.C (defaultKeyBindings): adjust keybindings
4602         (deadKeyBindings): ditto
4603
4604         * kbsequence.C (addkey): return a FuncRequest
4605
4606         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4607
4608         * kbmap.C (bind): take a FuncRequest as arg, adjust
4609         (read): adjust
4610         (lookup): adjust
4611         (defkey): change to take a FuncRequest as arg, adjust
4612         (findbinding): take a FuncRequest as arg, adjust.
4613
4614         * funcrequest.h (operator=): added
4615
4616         * funcrequest.C (FuncRequest): default kb_action changed from
4617         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4618
4619         * buffer.C (dispatch): simplify
4620         (dispatch): adjust to take a FuncRequest as arg, adjust
4621
4622         * boost.C (assertion_failed): change assertion message slightly
4623
4624         * ToolbarBackend.C (read): simplify
4625
4626         * MenuBackend.C (binding): adjust call to findbinding, add a
4627         message if no binding is found.
4628         (read): simplify
4629         (expandToc): correct by adding a empty FuncRequest
4630
4631         * LyXAction.C: include <boost/assert.hpp>
4632         (isPseudoAction): delete function
4633         (LookupFunc): change name to...
4634         (lookupFunc): this. change return type to FuncRequest.
4635         (getActionName): take kb_action as arg, simplify
4636         (funcHasFlag): add an assert, simplify.
4637
4638 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4639
4640         * toc.C (action): return a FuncRequest, simplify
4641
4642         * lyxfunc.C (processKeySym): adjust
4643         (getStatus): delete version that takes an int.
4644         (getStatus): adjust
4645         (dispatch): delete version that takes action as int
4646         (dispatch): adjust
4647         (sendDispatchMessage): simplify and adjust
4648
4649         * funcrequest.C (getArg): take unsigned int as arg
4650
4651         * ToolbarBackend.C (read): adjust
4652         (add): delete version that takes func as a string.
4653         (getIton): take a FuncRequest as arg
4654
4655         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4656         action.
4657
4658         * MenuBackend.C (MenuItem): add a new construct that only takes a
4659         Kind, simplify the constructor use for submenus.
4660         (add): adjust
4661         (expandLastfiles): adjust
4662         (expandDocuments): adjust
4663         (expandFormats): adjust
4664         (expandFloatListInsert): adjust
4665         (expandFloatInsert): adjust
4666         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4667
4668         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4669         Remove class variables lyx_pseudo_map and lyx_arg_map
4670
4671         * LyXAction.C (searchActionArg): delete function
4672         (getPseudoAction): delete function
4673         (retrieveActionArg): delete function
4674         (LookupFunc): make it return kb_action, simplify.
4675         (getActionName): simplify
4676
4677         * factory.C (createInset): fix new bug
4678
4679 2003-09-19  Angus Leeming  <leeming@lyx.org>
4680
4681         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4682         masterFilename_ parameter in the include inset.
4683
4684         * factory.C (createInset): changes due to the changes to InsetInclude.
4685
4686 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4687
4688         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4689
4690 2003-09-18  Angus Leeming  <leeming@lyx.org>
4691
4692         * buffer.C:
4693         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4694         Inset::fillWithBibKeys.
4695         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4696
4697 2003-09-18  Angus Leeming  <leeming@lyx.org>
4698
4699         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4700         variables.
4701         (ctor): pass and store a 'Buffer const &'
4702         (buffer): new member function.
4703
4704         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4705         '*this' to the LaTeXFeatures ctor.
4706
4707 2003-09-18  Angus Leeming  <leeming@lyx.org>
4708
4709         * LColor.h:
4710         * lyxfont.C:
4711         * lyxfont.h:
4712         * lyxtext.h:
4713         * text.C: rename EnumLColor as LColor_color.
4714
4715 2003-09-18  Angus Leeming  <leeming@lyx.org>
4716
4717         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4718         remove #include "insets/insetbase.h" from cursor.h.
4719
4720 2003-09-18  Angus Leeming  <leeming@lyx.org>
4721
4722         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4723         InsetOld_code to remove #include "inset.h".
4724
4725         * iterators.C: add #include "insets/inset.h"
4726
4727 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4728
4729         * BufferView.C: remove more locking stuff that apparently doesn't
4730         do anything sensible.
4731
4732 2003-09-16  André Pönitz  <poenitz@gmx.net>
4733
4734         * paragraph.[Ch]:
4735         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4736           performance boost.
4737
4738 2003-09-16  Angus Leeming  <leeming@lyx.org>
4739
4740         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4741
4742         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4743         arg/return type.
4744
4745         * paragraph.h: remove #include "lyxfont.h". Forward declare
4746         LyXFont_size.
4747
4748 2003-09-16  Angus Leeming  <leeming@lyx.org>
4749
4750         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4751         of support/textutils.h.
4752         (isWord): move the contents of support/textutils.h's IsWordChar here.
4753
4754         * buffer.C:
4755         * lyxfind.C:
4756         * rowpainter.C:
4757         * text.C:
4758         * text2.C: add #include "paragraph.h".
4759
4760         * rowpainter.C:
4761         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4762
4763 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4764
4765         * main.C:
4766         * lyx_main.C:
4767         * lyx_cb.C:
4768         * buffer.C:
4769         * LaTeX.C: use namespace alias for lyx::support::os
4770
4771 2003-09-16  Angus Leeming  <leeming@lyx.org>
4772
4773         * bufferparams.C:
4774         * bufferview_funcs.C:
4775         * factory.C:
4776         * lyxfunc.C:
4777         * paragraph_pimpl.C:
4778         * rowpainter.C:
4779         * text.C: add #include "LColor.h".
4780
4781 2003-09-16  Angus Leeming  <leeming@lyx.org>
4782
4783         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4784         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4785         return LyXFont &.
4786         Store the FontBits::color variable as an int rather than as an
4787         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4788         file.
4789
4790         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4791         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4792         string calls together.
4793
4794         * lyxrc.C: add #include "LColor.h".
4795
4796 2003-09-15  Angus Leeming  <leeming@lyx.org>
4797
4798         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4799         a cow_ptr.
4800
4801 2003-09-15  Angus Leeming  <leeming@lyx.org>
4802
4803         * LColor.h: add an EnumLColor wrapper for LColor::color.
4804
4805         * lyxfont.[Ch] (color, setColor, realColor):
4806         * lyxtext.h, text.C (backgroundColor):
4807         pass EnumLColor args to/from the functions, rather than LColor::color
4808         ones.
4809
4810         * lyxfont.h:
4811         * lyxtext.h: forward declare EnumLColor.
4812
4813         * lyx_main.C: add #include "LColor.h".
4814
4815 2003-09-15  Angus Leeming  <leeming@lyx.org>
4816
4817         * .cvsignore: add lyx-gtk.
4818
4819 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4820
4821         * Chktex.C
4822         * LaTeX.C
4823         * LaTeXFeatures.C
4824         * ParagraphParameters.C
4825         * Spacing.C
4826         * buffer.C
4827         * bufferparams.C
4828         * bufferview_funcs.C
4829         * chset.C
4830         * counters.C
4831         * funcrequest.C
4832         * lyxfont.C
4833         * lyxgluelength.C
4834         * lyxlength.C
4835         * paragraph.C
4836         * paragraph_funcs.C
4837         * text3.C
4838         * vc-backend.C: remove usage of STRCONV
4839
4840 2003-09-15  Angus Leeming  <leeming@lyx.org>
4841
4842         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4843         explicitly define the color passed to the painter.
4844
4845 2003-09-15  Angus Leeming  <leeming@lyx.org>
4846
4847         * bufferparams.C (BufferParams): reorder member initializers to avoid
4848         compiler warning.
4849
4850 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4851
4852         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4853         * text.C (updateRowPositions): remove an unusual nop
4854
4855 2003-09-12  André Pönitz  <poenitz@gmx.net>
4856
4857         * BufferView_pimpl.C:
4858         * Bullet.C:
4859         * layout.h:
4860         * lyxfunc.C:
4861         * lyxlayout.[Ch]:
4862         * lyxtextclass.C:
4863         * rowpainter.C:
4864         * text.C:
4865         * text2.C:
4866         * Counters.[Ch]: finish the 'automatic counters' job
4867
4868 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4869
4870         * aspell.C: include <boost/assert.cpp> (compile fix)
4871
4872 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4873
4874         * boost.C (assertion_failed): use lyx::support::abort instead of
4875         assert.
4876
4877 2003-09-10  Angus Leeming  <leeming@lyx.org>
4878
4879         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4880         with their _fwd progeny.
4881
4882 2003-09-09  Angus Leeming  <leeming@lyx.org>
4883
4884         134 files throughtout the source tree: replace 'using namespace abc;'
4885         directives with the appropriate 'using abc::xyz;' declarations.
4886
4887 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4888
4889         * boost.C (emergencyCleanup): moved here from LAssert.c
4890         (assertion_failed): new function, called by BOOST_ASSERT
4891
4892         * several files: change Assert to BOOST_ASSERT
4893
4894 2003-09-09  Angus Leeming  <leeming@lyx.org>
4895
4896         * buffer.[Ch]: Add an Impl class and move Buffer's member
4897         variables into it. As a result move several header files out of
4898         buffer.h.
4899
4900         Add header files to lots of .C files all over the tree as a result.
4901
4902 2003-09-09  Angus Leeming  <leeming@lyx.org>
4903
4904         * buffer.[Ch]: make Buffer's member variables private. Add
4905         accessor functions.
4906
4907         Lots of changes all over the tree as a result.
4908
4909 2003-09-08  Angus Leeming  <leeming@lyx.org>
4910
4911         * graph.C: #include <config.h>.
4912
4913 2003-09-08  Angus Leeming  <leeming@lyx.org>
4914
4915         * BranchList.C:
4916         * BufferView.C:
4917         * BufferView_pimpl.C:
4918         * CutAndPaste.C:
4919         * DepTable.C:
4920         * LaTeX.C:
4921         * LaTeXFeatures.C:
4922         * LyXAction.C:
4923         * MenuBackend.C:
4924         * TextCache.C:
4925         * aspell.C:
4926         * buffer.C:
4927         * bufferlist.C:
4928         * changes.C:
4929         * chset.C:
4930         * converter.C:
4931         * counters.C:
4932         * debug.C:
4933         * graph.C:
4934         * ispell.C:
4935         * lyx_cb.C:
4936         * lyxfind.C:
4937         * lyxfunc.C:
4938         * lyxlex_pimpl.C:
4939         * lyxrc.C:
4940         * lyxrow.C:
4941         * paragraph.C:
4942         * rowpainter.C:
4943         * texrow.C:
4944         * text.C:
4945         * text2.C:
4946         * toc.C: remove redundant using directives.
4947
4948 2003-09-07  Angus Leeming  <leeming@lyx.org>
4949
4950         * LaTeXFeatures.h: remove #include "support/types.h".
4951         * ToolbarBackend.h: remove #include <algorithm>.
4952         * changes.h: remove #include <ctime>.
4953         * debug.h: remove #include <iosfwd>.
4954         * graph.h: remove #include "support/std_string.h".
4955         * lyx_main.h: remove #include <csignal>.
4956         * lyxlex_pimpl.h: remove #include <fstream>.
4957         * sgml.h: remove #include <algorithm>, <utility>.
4958         * toc.h: remove #include "support/std_ostream.h".
4959         Add #include <iosfwd>.
4960
4961 2003-09-07  Angus Leeming  <leeming@lyx.org>
4962
4963         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4964
4965         * converter.h: forward declare LatexRunParams.
4966         * encoding.h: remove #include "lyxrc.h".
4967         * lyxtext.h: remove #include "LColor.h".
4968         * lyxtextclass.h: remove #include "support/types.h".
4969         * trans.h: remove #include "tex-accent.h".
4970         * trans_mgr.h: remove #include "tex-accent.h".
4971         * insets/inset.h: remove #include "support/types.h", <vector>.
4972         * insets/insetcollapsable.h: remove #include "LColor.h".
4973         * insets/insetinclude.h: remove #include "dimension.h".
4974         * insets/insetlatexaccent.h: remove #include "dimension.h".
4975         * insets/insetoptarg.h:: remove #include "insettext.h".
4976         * insets/insettext.h: remove #include "dimension.h",
4977         <boost/shared_ptr.hpp>
4978
4979         * insets/renderers.h: add #include "dimension.h".
4980         * insets/updatableinset.h: add #include "support/types.h".
4981
4982         * many .C files: Associated changes.
4983
4984 2003-09-06  Angus Leeming  <leeming@lyx.org>
4985
4986         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4987         one, inside testInvariant.
4988
4989         * PrinterParams.C: new file.
4990         * PrinterParams.[Ch]: move the function bodies out of line.
4991
4992 2003-09-06  Angus Leeming  <leeming@lyx.org>
4993
4994         * ParagraphParameters.h: forward declare ParameterStruct rather than
4995         including its header file.
4996         (depth): moved out-of-line.
4997
4998 2003-09-06  Angus Leeming  <leeming@lyx.org>
4999
5000         * BufferView_pimpl.h:
5001         * kbmap.h:
5002         * kbsequence.h:
5003         * lyxfunc.h: forward declare LyXKeySym rather than
5004         #include "frontends/LyXKeySym.h".
5005
5006         * BufferView_pimpl.C:
5007         * kbmap.C:
5008         * kbsequence.C:
5009         * lyxfunc.C: associated changes.
5010
5011 2003-09-06  Angus Leeming  <leeming@lyx.org>
5012
5013         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5014         As a result, can remove the #include "insets/inset.h" from BufferView.h
5015
5016 2003-09-06  Angus Leeming  <leeming@lyx.org>
5017
5018         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5019         As a result, can remove the #include "insets/inset.h" from BufferView.h
5020
5021 2003-09-06  Angus Leeming  <leeming@lyx.org>
5022
5023         * buffer_funcs.C:
5024         * buffer.h:
5025         * bufferlist.C:
5026         * BufferView.C:
5027         * bufferview_funcs.C:
5028         * BufferView_pimpl.C:
5029         * CutAndPaste.C:
5030         * lyx_cb.C:
5031         * lyxfunc.C:
5032         * paragraph.h:
5033         * ParagraphParameters.C:
5034         * tabular.C:
5035         * text3.C:
5036         * toc.C:
5037         * undo_funcs.C:
5038         * frontends/controllers/ControlDocument.C:
5039         * insets/insetcaption.C: rearrange the #includes into some sort of
5040         coherent order.
5041
5042         * buffer.h: remove #includes ErrorList.h, undo.h
5043
5044 2003-09-06  Angus Leeming  <leeming@lyx.org>
5045
5046         * support/types.h: add a 'depth_type' typedef, used to store the
5047         nesting depth of a paragraph.
5048
5049         * paragraph.h:
5050         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5051         defining explicitly.
5052
5053         * buffer.h:
5054         * paragraph_funcs.h:
5055         * ParagraphParameters.h:
5056         * sgml.h: use lyx::depth_type rather than Paragraph or
5057         ParameterStruct's depth_type.
5058
5059         * buffer.h
5060         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5061
5062         * BufferView.C:
5063         * BufferView_pimpl.C:
5064         * CutAndPaste.C:
5065         * ParagraphParameters.C:
5066         * buffer_funcs.C:
5067         * bufferlist.C:
5068         * bufferview_funcs.C:
5069         * lyx_cb.C:
5070         * lyxfunc.C:
5071         * tabular.C:
5072         * text3.C:
5073         * toc.C:
5074         * undo_funcs.C:
5075         * frontends/LyXView.C:
5076         * frontends/controllers/ControlDocument.C:
5077         * frontends/controllers/ControlErrorList.C:
5078         * insets/insetbibitem.C:
5079         * insets/insetbranch.C:
5080         * insets/insetcaption.C:
5081         * insets/insetcollapsable.C:
5082         * insets/insetenv.C:
5083         * insets/insetert.C:
5084         * insets/insetfloat.C:
5085         * insets/insetfoot.C:
5086         * insets/insetfootlike.C:
5087         * insets/insetnewline.C:
5088         * insets/insetquotes.C:
5089         * insets/insettabular.C:
5090         * insets/insettext.C:
5091         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5092
5093         * frontends/controllers/ControlChanges.C: #include "changes.h".
5094
5095 2003-09-06  Angus Leeming  <leeming@lyx.org>
5096
5097         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5098         than #including paragraph.h.
5099
5100         * ParagraphList.h:
5101         * RowList.h: deleted. Superfluous.
5102
5103         * CutAndPaste.h:
5104         * iterators.h:
5105         * lyxcursor.h:
5106         * lyxtext.h:
5107         * text_funcs.h:
5108         * undo.h:
5109         * undo_funcs.h:
5110         * insets/inset.h:
5111         * insets/insettext.h: use ParagraphList_fwd.h rather than
5112         ParagraphList.h.
5113
5114         * paragraph.h: don't forward declare ParagraphList.
5115
5116         * buffer.h:
5117         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5118         rather than ParagraphList.h. paragraph.h is still needed for the
5119         Paragraph::depth_type parameters.
5120
5121         * textcursor.h: enable it to compile stand-alone in light of the
5122         above changes.
5123
5124         * bufferview_funcs.C:
5125         * iterators.C:
5126         * lyxfunc.C:
5127         * lyxrow_funcs.C:
5128         * paragraph.C:
5129         * rowpainter.C:
5130         * text.C:
5131         * text2.C:
5132         * text3.C:
5133         * text_funcs.C:
5134         * textcursor.C:
5135         * undo.C:
5136         * frontends/controllers/ControlParagraph.C:
5137         * frontends/controllers/ControlTabular.C:
5138         * insets/insetmarginal.C:
5139         * insets/insetminipage.C:
5140         * insets/insetnote.C:
5141         * insets/insetoptarg.C: add header files needed to compile again.
5142
5143 2003-09-06  Angus Leeming  <leeming@lyx.org>
5144
5145         * RowList_fwd.h: new file, forward-declaring Row rather than
5146         #including lyxrow.h.
5147
5148         * lyxrow_funcs.h:
5149         * lyxtext.h:
5150         * paragraph.h:
5151         * insets/insettext.h: use it instead of RowList.h
5152
5153         * bufferview_funcs.C:
5154         * lyxfunc.C:
5155         * lyxrow_funcs.C:
5156         * paragraph.C:
5157         * rowpainter.C:
5158         * text.C:
5159         * text2.C:
5160         * text3.C: #include "RowList.h".
5161
5162 2003-09-05  Angus Leeming  <leeming@lyx.org>
5163
5164         * factory.C (createInset):
5165         * vspace.C (c-tor): replace sscanf call with an istringstream.
5166         * ispell.C: re-add missing HP/UX headers.
5167         * lyxserver.C: re-add missing  os2 headers.
5168
5169 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5170
5171         * BranchList.C:
5172         * graph.C:
5173         * ispell.C:
5174         * lastfiles.C:
5175         * lyx_cb.C:
5176         * lyxserver.C:
5177         * texrow.C:
5178         * text3.C: re-add missing system headers, needed for 2.95.2.
5179
5180 2003-09-05  Angus Leeming  <leeming@lyx.org>
5181
5182         Changes most place everywhere due to the removal of using directives
5183         from support/std_sstream.h.
5184
5185 2003-09-05  Angus Leeming  <leeming@lyx.org>
5186
5187         Replace LString.h with support/std_string.h,
5188         Lsstream.h with support/std_sstream.h,
5189         support/LIstream.h with support/std_istream.h,
5190         support/LOstream.h with support/std_ostream.h.
5191
5192         Changes resulting throughout the tree.
5193
5194 2003-09-05  Angus Leeming  <leeming@lyx.org>
5195
5196         * sgml.h: ensure that the header file can be compiled stand-alone.
5197         * *.C: strip out redundant #includes. (320 in total.)
5198
5199 2003-09-04  Angus Leeming  <leeming@lyx.org>
5200
5201         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5202         here (from getPackages).
5203
5204         * debug.[Ch]: add a new EXTERNAL tag.
5205
5206 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5207
5208         * text2.C (cursorEnd): simplify
5209         (setCursor): adjust
5210         (getColumnNearX): adjust
5211
5212         * text.C (computeBidiTables): adjust
5213         (fill): adjust
5214
5215         * rowpainter.C (paintChars): adjust
5216         (paintSelection): adjust
5217         (paintChangeBar): adjust
5218         (paintText): adjust
5219
5220         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5221         lastPos instead.
5222         (numberOfSeparators): adjust
5223
5224 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5225
5226         * LyXAction.C:
5227         * box.[Ch]:
5228         * lfuns.h:
5229         * lyxfunc.C:
5230         * text3.C: Restricts the mouse click functionality
5231         of insets like bibtex, include, toc and floatlist to the visible
5232         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5233         up the dialogs. Cursor has to be in front of the inset (i.e.
5234         start of row) for this to function.
5235
5236 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5237
5238         * bufferview_funcs.C (currentState): output row information
5239
5240 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5241
5242         * bufferview_funcs.C (currentState): output paragraph position
5243
5244 2003-09-04  Angus Leeming  <leeming@lyx.org>
5245
5246         * FloatList.h: move out #include "Floating.h".
5247         * LaTeX.h: move out #include "DepTable.h".
5248         * LyXAction.h: move out #include "funcrequest.h".
5249         * buffer.h: move out #include "author.h", "iterators.h".
5250         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5251         * lyx_main.h: move out #include "errorlist.h".
5252         * lyxfunc.h: move out #include "FuncStatus.h".
5253         * lyxtext: move out #include "lyxcursor.h".
5254         * paragraph_pimpl.h: move out #include "counters.h".
5255
5256 2003-09-03  Angus Leeming  <leeming@lyx.org>
5257
5258         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5259         preamble_snippets list, enabling us to add snippets to the preamble
5260         only if the snippet was not there already.
5261
5262 2003-09-04  Angus Leeming  <leeming@lyx.org>
5263
5264         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5265
5266 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5267
5268         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5269         update
5270
5271 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5272
5273         * BranchList.C: point fix, earlier forgotten
5274
5275 2003-09-02  Angus Leeming  <leeming@lyx.org>
5276
5277         * box.C (contains): renamed from 'contained' after a fantastic
5278         amount of hot air.
5279
5280 2003-09-02  John Levon  <levon@movementarian.org>
5281
5282         * BufferView.C:
5283         * lyxcursor.h:
5284         * lyxcursor.C:
5285         * lyxfunc.C:
5286         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5287
5288 2003-09-02  John Levon  <levon@movementarian.org>
5289
5290         * text2.C: simplification of cursorEnd(), including partial
5291         fix for bug 1376
5292
5293 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5294
5295         * buffer.C (readFile): add a space
5296
5297 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5298
5299         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5300
5301 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5302
5303         * buffer.C (readFile): new function, take a filename and a
5304         ParagraphList::iterator
5305         (readFile): adjust
5306         (readFile): adjust, make it private. don't use setStream, make
5307         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5308         always contain the filename.
5309
5310         * BufferView.C (insertLyXFile): simplify and make it work for
5311         gzipped files.
5312
5313 2003-08-30  John Levon  <levon@movementarian.org>
5314
5315         * Makefile.am: fix dist (from Kayvan)
5316
5317 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5318
5319         * most files: change to use const Buffer refs
5320
5321 2003-08-27  André Pönitz  <poenitz@gmx.net>
5322
5323         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5324         on top of ownerPar().
5325
5326 2003-08-27  John Levon  <levon@movementarian.org>
5327
5328         * funcrequest.C: properly initialise POD members
5329
5330 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5331
5332         * lyxtext.h (top_y): move top_y from here
5333         * text.C:
5334         * text2.C:
5335         * text3.C:
5336         * BufferView.[Ch]:
5337         * BufferView_pimpl.[Ch]: to here
5338         * frontends/screen.C:
5339         * insets/insettabular.C:
5340         * insets/insettext.C: adjust
5341         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5342
5343 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5344
5345         * BufferView.[Ch]:
5346         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5347
5348 2003-08-26  André Pönitz  <poenitz@gmx.net>
5349
5350         * paragraph_func.[Ch] (outerPar): new function
5351
5352         * paragraph.C:
5353         * paragraph_funcs.C:
5354         * paragraph_funcs.h:
5355         * paragraph_pimpl.C:
5356         * text2.C: remove Inset::par_owner
5357
5358 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5359
5360         * lyxrow_funcs.C:
5361         * lyxtext.h:
5362         * text.C:
5363         * text2.C: eliminates the needFullRow/display() stuff
5364         altogether, putting the logic in metrics/draw in the insets.
5365
5366 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5367
5368         * text2.C (redoParagraphInternal, redoParagraphs):
5369         * text.C (redoParagraph): add a call to updateRowPositions at the
5370         end of each 'metrics-like' call. Remove all others.
5371         (getRow): remove the 'y-computing' version.
5372         (getRowNearY): do not compute nor return the real y. Solve the
5373         'y < 0' problem and simplify.
5374
5375 2003-08-22  Angus Leeming  <leeming@lyx.org>
5376
5377         * *.[Ch]: clean-up of licence and author blurbs.
5378         Also move config.h out of a few .h files and into a few .C files.
5379
5380 2003-08-22  André Pönitz  <poenitz@gmx.net>
5381
5382         * lyxrow.[Ch]: add x_ and *fill_ members
5383
5384         * lyxtext.h:
5385         * text.C:
5386         * rowpainter.C:
5387         * text2.C: adjust/remove prepareToPrint() calls
5388
5389 2003-08-22  André Pönitz  <poenitz@gmx.net>
5390
5391         * lyxrow.[Ch]: add  end_ member
5392
5393         * lyxrow_funcs.C: use LyXRow::end_
5394
5395         * lyxtext.h (singleWidth): add LyXFont parameter
5396
5397         * rowpainter.C:
5398         * text2.C: adjust LyXText::singleWidth() calls
5399
5400         * text.C (redoParagraph): simplify row breaking logic
5401
5402
5403 2003-08-19  André Pönitz  <poenitz@gmx.net>
5404
5405         * funcrequest.C: initialize button_ member
5406
5407         * text3.C:
5408         * rowpainter.[Ch]: interface consolidation
5409
5410 2003-08-18  André Pönitz  <poenitz@gmx.net>
5411
5412         * BufferView.C:
5413         * BufferView_pimpl.C:
5414         * lyxfind.C:
5415         * paragraph_funcs.C:
5416         * rowpainter.C:
5417         * text3.C: remove LyXScreen::draw() and fitCursor calls
5418
5419         * BranchList.h: remove spurious semicolons
5420
5421         * MenuBackend.C: fix branchlist related crash
5422
5423 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5424
5425         * BranchList.[Ch]:
5426         * InsetList.[Ch]:
5427         * LColor.[Ch]:
5428         * LyXAction.C:
5429         * Makefile.am:
5430         * MenuBackend.[Ch]:
5431         * bufferparams.[Ch]:
5432         * factory.C:
5433         * lfuns.h:
5434         * lyxfunc.C:
5435         * text3.C: implements the 'branch inset'
5436         idea. This allows the output of various versions of a document
5437         from a single source version, selectively outputing or suppressing
5438         output of parts of the text.
5439         This implementation contains a 'branch list editor' in a separate
5440         tab of the document settings dialog. Branches are user definable
5441         and have a "display colour" to distinguish them on-screen.
5442
5443         ColorHandler was somewhat cleaned up.
5444         (1) make possible a dynamically growing LColor list by allowing
5445         the graphic context cache to grow along (vector);
5446         (2) eliminate an IMHO unnecessary step in colour allocation.
5447
5448 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5449
5450         * BufferView_pimpl.C: compile fix
5451
5452 2003-08-15  André Pönitz  <poenitz@gmx.net>
5453
5454         * rowpainter.C: remove extra metrics calls
5455
5456         * lyxtext.h: merge the two constructors into a single one,
5457           pass reference to owner's par list
5458
5459         * BufferView_pimpl.C:
5460         * text.C:
5461         * text2.C: adjust
5462
5463 2003-08-15  André Pönitz  <poenitz@gmx.net>
5464
5465         * lyxrow_funcs.[Ch]:
5466         * lyxtext.h:
5467         * paragraph.h:
5468         * paragraph_funcs.C:
5469         * rowpainter.C:
5470         * text.C:
5471         * text2.C:
5472         * text3.C:
5473         * text_funcs.C: split LyXText::rowlist_ into individual
5474         Paragraph::rows_ chunks
5475
5476         * BufferView.[Ch]:
5477         * BufferView_pimpl.[Ch]:
5478         * lyxfind.C:
5479         * lyxtext.h:
5480         * text3.C: remove toggleSelection()
5481
5482 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5483
5484         * bufferlist.C: beautify two alerts (shorter text of buttons)
5485         * buffer.C: Remove redundant ' ' from message
5486         * tabular.h:
5487         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5488         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5489         rename VALIGN_CENTER to VALIGN_MIDDLE
5490
5491 2003-08-11  André Pönitz  <poenitz@gmx.net>
5492
5493         * lyxtext.h (getPar):
5494         * text.C: new function
5495
5496 2003-08-11  André Pönitz  <poenitz@gmx.net>
5497
5498         * Makefile.am:
5499         * tracer.[Ch]: remove unneeded files
5500
5501         * InsetList.[Ch]: remove resizeInsetsLyXText()
5502
5503         * lyxtext.h:
5504         * text.C:
5505         * text2.C:
5506         * text3.C: merge insertParagraphs() and appendParagraph()
5507         remove breakAgain(), update()
5508
5509         * BufferView_pimpl.[Ch]:
5510         * bufferview_funcs.[Ch]:
5511         * lyxfunc.C:
5512         * paragraph.[Ch]:
5513         * rowpainter.C:
5514         * tabular.C: adjust after text & InsetList changes.
5515
5516 2003-08-08  André Pönitz  <poenitz@gmx.net>
5517
5518         * text.C (insertChar, backspace): replace rowlist fiddling
5519         with rebreak of full par
5520
5521         * lyxtext.h:
5522         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5523         checkParagraph, updateInset): removed
5524
5525 2003-08-07  André Pönitz  <poenitz@gmx.net>
5526
5527         * paragraph.C:
5528         * text3.C: merge some LFUN handlers, remove dead code
5529
5530 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5531
5532         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5533
5534 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5535
5536         * text2.C (DEPM): fix part of bug 1255 and 1256
5537
5538 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5539
5540         * BufferView_pimpl.C (workAreaDispatch): change to use
5541         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5542         that are no mouse related.
5543
5544 2003-08-05  André Pönitz  <poenitz@gmx.net>
5545
5546         * BufferView.[Ch]:
5547         * BufferView_pimpl.[Ch]:
5548         * bufferview_funcs.C:
5549         * text2.C:
5550         * text3.C: rip out "deep update"
5551
5552         * textcursor.[Ch] (last_sel_cursor): remove unused member
5553
5554 2003-08-04  André Pönitz  <poenitz@gmx.net>
5555
5556         * BufferView.[Ch]:
5557         * BufferView_pimpl.[Ch]:
5558         * ParagraphParameters.C:
5559         * bufferview_funcs.C:
5560         * lyx_cb.C:
5561         * lyxfind.C:
5562         * lyxfunc.C:
5563         * text.C:
5564         * text2.C:
5565         * text3.C: replace "complicated" BufferView::update(...) calls with
5566         simpler ones.
5567
5568         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5569
5570 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5571
5572         * Makefile.am (lyx_SOURCES): add paper.h
5573
5574 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5575
5576         * Makefile.am: move things around so that both lyx-qt and
5577         lyx-xforms can be built (according to --with-frontend). Then lyx
5578         is a symbolic link to lyx-[firstfrontend]
5579
5580 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5581
5582         * Always use std::endl with lyxerr
5583
5584 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5585
5586         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5587
5588 2003-08-01  André Pönitz  <poenitz@gmx.net>
5589
5590         * BufferView.[Ch]:
5591         * BufferView_pimpl.[Ch]:
5592         * lyxfunc.C:
5593         * text3.C: merge BufferView::repaint() and BufferView::update()
5594
5595 2003-08-01  José Matos  <jamatos@lyx.org>
5596
5597         * buffer.[Ch]: file_format is no longer a buffer data element.
5598
5599 2003-08-01  André Pönitz  <poenitz@gmx.net>
5600
5601         * BufferView.C:
5602         * lyxtext.h:
5603         * text.C:
5604         * text2.C: make redoParagraph more independent of current cursor
5605
5606         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5607         * text.C:
5608         * text2.C: remove unneeded members
5609
5610 2003-07-30  André Pönitz  <poenitz@gmx.net>
5611
5612         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5613
5614         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5615           create a single function...
5616
5617         * paragraph_funcs.C (moveItem): ... here.
5618
5619         * text.C:
5620           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5621
5622 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5623
5624         * LColor.[Ch]: Add comment and greyedout logical colors.
5625
5626 2003-07-30  André Pönitz  <poenitz@gmx.net>
5627
5628         * tabular.C: don't use Assert too heavily. This crashes where it
5629           shouldn't
5630
5631 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5632
5633         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5634         is disabled (bug 1232)
5635
5636 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5637
5638         * factory.C: limited 'arg' scope
5639
5640 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5641
5642         * factory.C: fixed Note submenu issues
5643
5644 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5645
5646         * factory.C: submenu for Note/Comment/Greyedout
5647
5648 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5649
5650         * lyx_main.C (LyX):
5651         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5652
5653 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5654
5655         * LaTeXFeatures.C:
5656         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5657         greyedout. Patch provided by Jürgen Spitzmüller.
5658
5659 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5660
5661         * kbmap.C (read): fix error message when reading bind files
5662
5663 2003-07-29  Angus Leeming  <leeming@lyx.org>
5664
5665         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5666         certainly does not do what it purports to do. I am doing it, and
5667         us, a favour by killing it.
5668
5669 2003-07-28  José Matos  <jamatos@lyx.org>
5670
5671         * buffer.C (readBody, do_writeFile):
5672         * paragraph.C(readParagraph): \end_document replaces \the_end.
5673
5674 2003-07-29  André Pönitz  <poenitz@gmx.net>
5675
5676         * BufferView.[Ch]:
5677         * BufferView_pimpl.[Ch]:
5678         * lyxfunc.C:
5679         * text2.C:
5680         * text3.C:
5681         * textcursor.[Ch]: remove toggleToggle & Co
5682
5683 2003-07-28  José Matos  <jamatos@fep.up.pt>
5684
5685         * buffer.C (readParagraph):
5686         * params_func (readParToken, readParagraph):
5687         * paragraph.C (write): \layout -> \begin_layout.
5688
5689 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * lyxlex_pimpl.C (setFile): clean up slightly.
5692
5693         * bufferparams.h: add compressed var
5694
5695         * buffer_funcs.C (readFile): adjust for LyXLex change
5696         (newFile): ditto + simplify
5697
5698         * buffer.C (writeFile): handle writing of compressed files
5699
5700         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5701         Check if the file is compressed and set a bufferparm if so.
5702
5703         * Makefile.am (lyx_LDADD): remove explicit -lz
5704
5705 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5706
5707         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5708         makeDocBookFile): put the real LyX version in the first line of
5709         the file
5710
5711         * version.h:
5712         * version.C.in: remove lyx_docversion
5713
5714         * tabular.C (write_attribute): add a template-based version to
5715         write enums properly
5716
5717 2003-07-28  André Pönitz  <poenitz@gmx.net>
5718
5719         * lyxtext.h:
5720         * text.C:
5721         * text2.C:
5722         * text3.C: use doubles again for x-coordinates. They are needed.
5723
5724 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5725
5726         * messages.C (getLocaleDir): use lyx_localedir()
5727
5728         * lyxlex_pimpl.C (setFile): compress stuff
5729
5730         * buffer.C (writeFile): add some compression stuff
5731         (do_writeFile): new func, dont call expliti close... will this
5732         breake anything?
5733
5734         * Makefile.am (lyx_LDADD): add -lz
5735
5736 2003-07-28  José Matos  <jamatos@fep.up.pt>
5737
5738         * buffer.C: increment file format.
5739         * paragraph_funcs (readParagraph, readParToken):
5740         * paragraph.C (readParagraph): add \end_layout.
5741
5742 2003-07-27  Angus Leeming  <leeming@lyx.org>
5743
5744         * Makefile.am: remove special casing for configure-time setting of
5745         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5746
5747         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5748         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5749
5750 2003-07-26  André Pönitz  <poenitz@gmx.net>
5751
5752         * paragraph_func.[Ch]:
5753         * paragraph.C (realizeFont): inline it whereever it is used
5754
5755         * rowpainter.C:
5756         * text.C:
5757         * text2.C:
5758         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5759
5760
5761 2003-07-26  André Pönitz  <poenitz@gmx.net>
5762
5763         *       lyxtext.h:
5764         * text.C:
5765         * text2.C: get rid of LyXText::need_break_row
5766
5767 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5768
5769         * toc.[Ch]: put namespace toc inside namespace lyx
5770
5771         * MenuBackend.C (expandToc2): adjust for lyx::toc
5772         (expandToc): ditto
5773
5774         * lyxfunc.C (dispatch): adjust for lyx::find
5775
5776         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5777         lyx::find instead. Reorganize a bit.
5778         (LyXReplace): rename to replace
5779         (LyXFind): rename to find
5780
5781         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5782         (dispatch): ditto
5783
5784 2003-07-26  André Pönitz  <poenitz@gmx.net>
5785
5786         * text.C (setHeightOfRow): restrict scope of temporary variable
5787
5788         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5789           code (never has been used?)
5790
5791 2003-07-27  Asger Alstrup  <alstrup@local>
5792
5793         * text.C (fill): Optimise algorithm to exploit that we can reuse
5794         the LyXFont for many characters.
5795         (setHeightOfRow): Same thing.
5796         (rowBreakPoint): Same thing.
5797
5798 2003-07-26  Asger Alstrup  <alstrup@local>
5799
5800         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5801
5802         * text.C (singleWidth): Spurious font copying in hot-spot
5803         singleWidth avoided. Reorder tests for arabic for efficiency.
5804
5805         * text.C (fill): handle empty paragraphs better.
5806
5807 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5808
5809         * ispell.C:
5810         * encoding.h: add includes
5811
5812         * lyxrc.C: remove reading of bind files
5813
5814         * lyx_main.C (init): setup bindings and menus only if we have a
5815         gui.
5816
5817         * kbmap.C (read): new method. Do the actual reading of bind
5818         files.
5819
5820         * converter.C (dvipdfm_options):
5821         * bufferparams.C:
5822         * lyxrc.C (read):
5823         (output): adapt PAPER_* enums.
5824
5825         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5826
5827         * bufferparams.h: remove paper-related enums from there
5828
5829         * paper.h: New file. A trivial header file to hold paper-related
5830         enums. It should later expand to contain many paper-related
5831         horrors access.
5832
5833         * lyxrc.C: declare extern displayTranslator
5834
5835 2003-07-27  José Matos  <jamatos@fep.up.pt>
5836
5837         * tabular.[Ch] (linuxdoc): add support for tables and figures
5838         (linuxdoc).
5839
5840 2003-07-27  José Matos  <jamatos@fep.up.pt>
5841
5842         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5843         consistency in both functions.
5844         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5845
5846 2003-07-26  Asger Alstrup  <alstrup@local>
5847
5848         * rowpainter.C (paintRows): Change algorithm to work directly on
5849         the insets rather than asking every character in the document
5850         whether its an inset.
5851
5852 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5853
5854         * buffer.C (openFileWrite): factorize some code
5855
5856 2003-07-26  Angus Leeming  <leeming@lyx.org>
5857
5858         * lyx_cb.C:
5859         * lyx_main.[Ch]: replace occurances of system_tempdir with
5860         os::getTmpDir().
5861
5862 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5863
5864         * rename Inset to InsetOld
5865
5866 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5867
5868         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5869         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5870         which I think is a bit clearer. EDIT is gone, since it was
5871         premature optimisation, and broken for mathed anyway.
5872         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5873         with cursor positioning in insets as well (math insets still do not
5874         work, but that's a different story anyway.) It mysteriously
5875         crashes sometimes with undo in the first paragraph, but I'm fairly
5876         confident that this is a compiler bug.
5877
5878 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5879
5880         * paragraph.C (Paragraph): adjust for new clone return type
5881         (operator==): ditto
5882         (copyIntoMinibuffer): ditto
5883
5884 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5885
5886         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5887         by not having a special case, and always doing a full rebreak of
5888         the document after undo.
5889
5890 2003-07-23  Angus Leeming  <leeming@lyx.org>
5891
5892         * factory.C (createInset): InsetExternal::setParams now takes a
5893         Buffer const * arg.
5894
5895 2003-07-23  Angus Leeming  <leeming@lyx.org>
5896
5897         * factory.C (createInset): changed interface to the external and
5898         graphics mailers' string2params functions.
5899
5900 2003-07-23  Angus Leeming  <leeming@lyx.org>
5901
5902         * factory.C (createInset): pass a
5903         Buffer const * parameter to InsetExternalMailer's string2params.
5904
5905 2003-07-22  John Levon  <levon@movementarian.org>
5906
5907         * Thesaurus.h: include the right aiksaurus header
5908
5909 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5910
5911         * MenuBackend.C (expand): check menu shortcuts unconditionally
5912
5913 2003-07-21  Angus Leeming  <leeming@lyx.org>
5914
5915         * factory.C (createInset): pass a
5916         buffer_path parameter to InsetGraphicsMailer's string2params.
5917
5918 2003-07-21  Angus Leeming  <leeming@lyx.org>
5919
5920         * BufferView_pimpl.C (buffer):
5921         * buffer.C (d-tor):
5922         * lyx_main.C (LyX):
5923         * lyxfunc.C (dispatch):
5924         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5925         rather than the grfx shortcut.
5926
5927 2003-07-21  André Pönitz  <poenitz@gmx.net>
5928
5929         * rowpainter.C: remove unused variables
5930
5931         * tabular_funcs.C:
5932         * tabular_funcs.h: move to tabular.C
5933         * Makefile.am: adjust
5934
5935         * tabular.[Ch]: basic optical cleaning
5936
5937         * author.h: pass references, not values
5938
5939 2003-07-18  André Pönitz  <poenitz@gmx.net>
5940
5941         * lyxtext.h:
5942         * metricsinfo.C:
5943         * metricsinfo.h:
5944         * rowpainter.C:
5945         * text.C:
5946         * text2.C:
5947         * text3.C: two-phase drawing for InsetText and InsetTabular
5948         some float -> int changes.
5949
5950 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5951
5952         * lyx_main.C: fix the fix
5953
5954 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5955
5956         * lyx_main.C: fix a crash in batch mode if no files specified
5957         * converter.C: ws
5958
5959 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5960
5961         * format.[Ch] (papersize): moved to BufferParams
5962         * converter.[Ch] (dvips_options): moved to BufferParams
5963         (dvipdfm_options): moved to anon namespace
5964         * bufferparams.[Ch]: added above functions.
5965
5966 2003-07-17  André Pönitz  <poenitz@gmx.net>
5967
5968         * lyxtext.h:
5969         * rowpainter.C:
5970         * text2.C: don't call inset->update() anymore
5971
5972         * metricsinfo.[Ch]: add convenience constructor
5973
5974 2003-07-16  André Pönitz  <poenitz@gmx.net>
5975
5976         * lyxcursor.[Ch]:
5977         * lyxfunc.[Ch]:
5978         * text.C:
5979         * text2.C: replace the LyXCursor::irow_ member with
5980          on-demand computation of the value
5981
5982 2003-07-16  John Levon  <levon@movementarian.org>
5983
5984         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5985
5986 2003-07-15  André Pönitz  <poenitz@gmx.net>
5987
5988         * text.C:
5989         * text2.C: remove no more needed refresh_row
5990
5991 2003-07-15  André Pönitz  <poenitz@gmx.net>
5992
5993         * lyxtext.h:
5994         * rowpainter.C:
5995         * text2.C:
5996         * text3.C: refresh_status tristate -> need_update bool
5997
5998 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5999
6000         * lyxtext.h (init): remove reinit argument (act as if always true)
6001         * text2.C: adjust to that
6002
6003 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6004
6005         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6006         * text3.C: use it to delete selections in some cases
6007         (bugs 441, 673, 702, 954).
6008
6009 2003-07-14  André Pönitz  <poenitz@gmx.net>
6010
6011         * rowpainter.[Ch]: reduce interface
6012
6013 2003-07-14  André Pönitz  <poenitz@gmx.net>
6014
6015         * BufferView_pimpl.C:
6016         * text2.C: adjust after removing unused BufferView * argument
6017
6018 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6019
6020         * text2.C (init): fix a crash fired on resize
6021
6022 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6023
6024         * buffer.[Ch]: added new closing signal
6025         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6026         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6027         BufferView::Pimpl via the closing the signal
6028
6029 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6030
6031         * buffer.[Ch]: take out all bv-related from buffer
6032         * BufferView.C:
6033         * BufferView_pimpl.[Ch]: connect to new signals
6034         * CutAndPaste.C: removed useless asserts
6035         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6036         * lyxvc.[Ch]:
6037         * vc-backend.[Ch]:
6038         * lyxfunc.C: moved view-related funciontality from vc here
6039         * paragraph.C: removed outdated comments
6040         * text.C: ws
6041
6042 2003-07-10  André Pönitz  <poenitz@gmx.net>
6043
6044         * BufferView_pimpl.C:
6045         * tabular.h:
6046         * tabular_funcs.C:
6047         * text.C:
6048         * text2.C: remove InsetText::InnerCache, clean up consequences
6049
6050 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6051
6052         * ispell.C: fix two typos in error messages
6053
6054 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6055
6056         * Extend Note inset to other forms of annotation like Comment
6057         and Greyedout. Right button click gives dialog.
6058
6059         Files modified or added (+):
6060
6061         * insetnote.[Ch]
6062         * FormNote.[Ch]      +
6063         * ControlNote.[Ch]   +
6064         * form_note.fd       +
6065         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6066         frontends/controllers
6067         * xforms/Dialogs.C
6068         * factory.C
6069
6070 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6071
6072         * aspell.C: add missing namespace lyx::support
6073
6074 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6075
6076         * BufferView.[Ch] (newFile): Add
6077         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6078         * LaTeX.[Ch] (message): added this signal and use it
6079         * buffer.[Ch] (busy, message): added these signals and use them
6080         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6081         * converter.C:
6082         * exporter.C:
6083         * format.C:
6084         * importer.C: use buffer signals instead of direct bv calling
6085         * lyx_cb.[Ch] (ShowMessage): removed
6086         * lyx_main.C:
6087         * lyxfunc.C:
6088         * paragraph_funcs.C:
6089         * text2.C: use buffer signals
6090
6091 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6092
6093         * introduce namespace lyx::graphics
6094
6095 2003-07-02  André Pönitz  <poenitz@gmx.net>
6096
6097         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6098
6099 2003-07-01  André Pönitz  <poenitz@gmx.net>
6100
6101         * text.C:
6102         * text2.C:
6103         * text3.C:
6104         * text_funcs.[Ch]:
6105         * textcursor.h:
6106         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6107           text*.C to text_func.C
6108
6109 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6110
6111         * introduce namespace lyx::support
6112
6113 2003-06-30  André Pönitz  <poenitz@gmx.net>
6114
6115         * Chktex.C:
6116         * funcrequest.C:
6117         * lyxtext.h:
6118         * text.C: re-enable --with-included-string
6119
6120 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6121
6122         * textcursor.C: add <config.h>
6123
6124         * text.C (getWord): remove const from word_location arg
6125
6126         * lyxvc.C (getLogFile): fix const type order
6127
6128         * lyxtext.h: remove const from word_location arg, add arg name
6129
6130         * lyxlayout.h: currect type on labeltype.
6131
6132         * importer.C: correct \file
6133
6134         * converter.C (intToFormat): use std:: on ret val, ws changes
6135
6136         * bufferlist.h: correct \file
6137
6138         * buffer.C (makeLinuxDocFile): fix const type order
6139         (makeDocBookFile): ditto
6140         (fillWithBibKeys): use std:: on stdlib args.
6141
6142         * CutAndPaste.C: fix authors.
6143         (availableSelections): use std:: on return vector
6144
6145 2003-06-27  André Pönitz  <poenitz@gmx.net>
6146
6147         * BufferView_pimpl.C:
6148         * bufferview_funcs.C:
6149         * lyxcursor.C:
6150         * lyxcursor.h:
6151         * lyxfunc.C:
6152         * lyxtext.h:
6153         * rowpainter.C:
6154         * text.C:
6155         * text2.C:
6156         * text3.C: remove LyXCursor::row_ member
6157
6158         * lyxtext.h:
6159         * text.C: rename fullRebreak() to partialRebreak() and implement
6160           a fullRebreak() that really bereks fully
6161
6162         * textcursor.h: new struct for cursor-related data
6163
6164 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6165
6166         * lyx_main.C (LyX): get full path of document loaded on the
6167         command line
6168
6169 2003-06-26  André Pönitz  <poenitz@gmx.net>
6170
6171         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6172           remove unused/broken operator>,<,>=.
6173
6174         *       text.C: remove only use of broken operator<= in an Assert().
6175
6176 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6177
6178         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6179         moved errorlist_.clear to showErrorList
6180
6181 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6182
6183         * converter.C (scanLog, runLaTeX):
6184         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6185         move the bv->showErrorList call to the callers
6186         * lyxfunc.C: i.e. here...
6187         * text2.C: and here
6188         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6189         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6190         namespace, the second to...
6191         * buffer_funcs (BufferFormat, parseErrors): added
6192         * errorlist.C (ErrorList(TeXErrors const &)): removed
6193
6194 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6195
6196         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6197
6198 2003-06-24  "Garst R. Reese" <reese@isn.net>
6199
6200         * debug.C: fix typo
6201
6202 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6203
6204         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6205
6206         * version.C.in: change docversion to 1.4
6207
6208 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6209
6210         * buffer.C: fix a bug just introduced
6211
6212 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6213
6214         * buffer.[Ch]: added the parseError signal and use it, removed
6215         sgmlError
6216         * BufferView.[Ch] (addError): moved to ...
6217         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6218         to the Buffer::parseError signal to catch (guess what) parse errors
6219         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6220
6221 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6222
6223         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6224         ability to create a buffer and to return an existing one from
6225         the list. Moved these functions to...
6226         * buffer_funcs.[Ch]: added
6227         * BufferView.[Ch] (loadLyXFile): added
6228         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6229         job removed from bufferlist::loadLyXFile.
6230         * buffer.C (setReadOnly): make it work without view
6231         (i.e added an if (users))
6232
6233 2003-06-19  Angus Leeming  <leeming@lyx.org>
6234
6235         * lfuns.h:
6236         * LyXAction.C (init):
6237         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6238         with LFUN_DIALOG_SHOW <name> <data>.
6239
6240 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6241
6242         * CutAndPaste.C (availableSelections): small compilation fix for
6243         ancient (gcc 2.9x) compilers
6244
6245 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6246
6247         * text3.C (cursorNext): add tmp var
6248
6249         * text2.C (updateCounters): for function calling out of for clause
6250         (replaceSelectionWithString): ditto
6251         (insertStringAsParagraphs): ditto
6252         (getColumnNearX): add tmp var
6253         (setCursorFromCoordinates): add tmp var
6254         (cursorDownParagraph): add tmp var
6255         (deleteEmptyParagraphMechanism): add tmp var
6256
6257         * text.C (insertChar): add tmp var
6258
6259         * rowpainter.C (paintDepthBar): add tmp var
6260
6261         * CutAndPaste.C (availableSelections): potentially check all
6262         paragraphs in a cut to fill the shown strings.
6263
6264 2003-06-18  André Pönitz  <poenitz@gmx.net>
6265
6266         * kbmap.[Ch]: use vector<> instead of list<>
6267
6268 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6269
6270         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6271         pasteSelection with index
6272
6273         * text2.C (pasteSelection): modify, call pasteSelection with index
6274
6275         * paragraph.C (asString): reimplement version with no interval to
6276         call the one with interval.
6277
6278         * lyxtext.h: add index arg to pasteSelection
6279
6280         * MenuBackend.C (MenuItem): handle PasteRecent
6281         (Menu::read::Menutags): add md_pasterecent
6282         (read): handle it
6283         (expandPasteRecent): new function
6284         (expand): use it
6285
6286         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6287
6288         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6289         the limited stack
6290         (availableSelections): new function
6291
6292 2003-06-17  Angus Leeming  <leeming@lyx.org>
6293
6294         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6295
6296 2003-06-17  Angus Leeming  <leeming@lyx.org>
6297
6298         * lfuns.h:
6299         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6300
6301         * lyxfunc.C (dispatch): invoke it.
6302
6303 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6304
6305         * iterators.C (operator++, ParPosition): reintroduce some
6306         const_cast for the benefit of older compilers.
6307
6308 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6309
6310         * text3.C (dispatch): do not modify clipboard when doing
6311         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6312         LFUN_DELETE_SKIP on a selection selection
6313
6314 2003-06-16  André Pönitz  <poenitz@gmx.net>
6315
6316         * BufferView.C:
6317         * buffer.C:
6318         * buffer.h:
6319         * paragraph.C:
6320         * tabular.[Ch]: IU of clone() and getLabelList();
6321
6322 2003-06-13  André Pönitz  <poenitz@gmx.net>
6323
6324         * tabular.h: compactification
6325
6326 2003-06-12  André Pönitz  <poenitz@gmx.net>
6327
6328         * tabular.C:
6329         * tabular.h:
6330         * tabular_funcs.h: some renaming plus whitespace
6331
6332 2003-06-12  André Pönitz  <poenitz@gmx.net>
6333
6334         * BufferView.C:
6335         * BufferView_pimpl.C:
6336         * CutAndPaste.C:
6337         * buffer.C:
6338         * iterators.[Ch]:
6339         * lyxfunc.C:
6340         * text.C:
6341         * toc.C: Return a Paragraph & for ParIterator::operator*()
6342
6343 2003-06-11  John Levon  <levon@movementarian.org>
6344
6345         * lyx_main.C:
6346         * ToolbarBackend.h:
6347         * ToolbarBackend.C: add "Toolbars" section and
6348         put the flags there
6349
6350 2003-06-10  Angus Leeming  <leeming@lyx.org>
6351
6352         * lfuns.h:
6353         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6354
6355         * lyxfunc.C (dispatch): invoke it.
6356
6357 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6358
6359         * main.C: protect <ios> with HAVE_IOS
6360         (main): protect sync_with_stdio with HAVE_IOS
6361
6362 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6363
6364         * text2.C (cutSelection): adjust
6365         (pasteSelection): adjust
6366
6367         * messages.C: handle get of empty string
6368
6369         * main.C (main): use sync_with_stdio(false)
6370
6371         * lyxfunc.C (dispatch): adjust
6372
6373         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6374         (WriteAs): remove unneeded BufferView arg.
6375
6376         * bufferparams.h: use correct types on papersize, papersize2 and
6377         paperpackage.
6378
6379         * bufferparams.C (readToken): adjust for type
6380         (writeLaTeX): add missing cases to switch.
6381
6382         * bufferlist.C (quitWriteBuffer): adjust
6383         (close): adjust
6384
6385         * buffer.C (asciiParagraph): remove some commented code.
6386
6387         * CutAndPaste.C: remove current_view extern variable.
6388         (cutSelection): add BufferParams arg.
6389         (eraseSelection): add BufferParams arg.
6390         (pasteSelection): add Buffer const & arg
6391
6392 2003-06-07  John Levon  <levon@movementarian.org>
6393
6394         * buffer.C:
6395         * paragraph_funcs.C:
6396         * paragraph_pimpl.C:
6397         * text.C:
6398         * text2.C:
6399         * paragraph.h:
6400         * paragraph.C: allow InsetERT to freely space lines,
6401         and some consolidation of code
6402
6403 2003-06-06  José Matos  <jamatos@fep.up.pt>
6404
6405         * buffer.C (makeDocBookFile): fix bug #821
6406
6407 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6408
6409         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6410
6411 2003-06-04  Angus Leeming  <leeming@lyx.org>
6412
6413         * buffer.C: bump format to 224.
6414
6415 2003-06-05  André Pönitz  <poenitz@gmx.net>
6416
6417         * text2.C (redoParagraphs): remove two const_cast<>
6418
6419 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6420
6421         * ParagraphList.h: remove last remnants of NO_STD_LIST
6422
6423 2003-06-03  Angus Leeming  <leeming@lyx.org>
6424
6425         * factory.C (createInset): small change to the way InsetExternal's params
6426         are set.
6427
6428 2003-06-04  André Pönitz  <poenitz@gmx.net>
6429
6430         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6431
6432         * paragraph_pimpl.h:
6433         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6434
6435         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6436
6437         * undo_funcs.C: make some simple cases of undo work again
6438
6439 2003-06-03  John Levon  <levon@movementarian.org>
6440
6441         * ispell.C: HPUX doesn't have sys/select.h
6442         (from Albert Chin)
6443
6444 2003-06-03  John Levon  <levon@movementarian.org>
6445
6446         * CutAndPaste.C: update tabular and include inset
6447         buffer references
6448
6449         * buffer.h:
6450         * paragraph.h:
6451         * paragraph.C: remove owningBuffer(), don't pass Buffer
6452         to clone()
6453
6454         * factory.C: insetGraphicsParams changed
6455
6456 2003-06-02  John Levon  <levon@movementarian.org>
6457
6458         * LyXAction.C:
6459         * factory.C:
6460         * lfuns.h:
6461         * lyxfunc.C:
6462         * text3.C: remove insetparent
6463
6464 2003-06-02  John Levon  <levon@movementarian.org>
6465
6466         * buffer.h:
6467         * buffer.C: fix inset_iterator.end(), move out of line
6468         (bug 1149)
6469
6470 2003-06-01  John Levon  <levon@movementarian.org>
6471
6472         * text3.C: use a proper cut/paste when doing inset
6473         insert (from Jürgen Spitzmüller)
6474
6475 2003-06-01  John Levon  <levon@movementarian.org>
6476
6477         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6478
6479 2003-05-30  André Pönitz  <poenitz@gmx.net>
6480
6481         * rowpainter.C: unify second drawing phase
6482
6483 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6484
6485         * trans_mgr.C: remove one case of current_view
6486
6487         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6488
6489         * paragraph_funcs.h: remove paragraph.h include
6490
6491         * paragraph.h: delete NO_STD_LIST stuff
6492
6493         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6494
6495         * buffer.h: remove paragraph.h include
6496
6497         * ParagraphList.C: delete file
6498
6499         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6500
6501         * toc.C (getTocList): adjust
6502
6503         * paragraph_pimpl.C (validate): adjust
6504
6505         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6506
6507         * paragraph.C (Paragraph): adjust
6508         (getPositionOfInset): use const_iterator, adjust
6509         (bibitem): use const_iterator, adjust
6510         (setInsetOwner): adjust
6511
6512         * iterators.C (operator++): adjust
6513
6514         * InsetList.[Ch]: Replace selfmade iterator with standard
6515         vector::iterator also introduce const_iterator. Remove getPos,
6516         getInset and setInset from InsetTable. Adjust accordingly.
6517
6518         * BufferView.C (lockInset): adjust
6519         (ChangeInsets): adjust
6520
6521         * tabular.[Ch]: delete commented same_id functions
6522
6523 2003-05-28  John Levon  <levon@movementarian.org>
6524
6525         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6526
6527 2003-05-28  André Pönitz  <poenitz@gmx.net>
6528
6529         * metricsinfo.[Ch]: remove 'fullredraw' member
6530
6531 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6532
6533         * lyxtextclass.C (operator): remove caching.
6534
6535 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6536
6537         * text3.C: adjust
6538
6539         * text2.C (cursorBottom): adjust
6540         (setCounter): use ParagraphList::find, adjust
6541
6542         * text.C (workWidth): use ParagraphList::find, adjust
6543
6544         * lyxcursor.C (LyXCursor): adjust
6545
6546         * buffer.C (inset_iterator): adjust
6547
6548         * ParagraphList.h: make iterator(value_type) private, make
6549         ParagraphList a friend of iterator.
6550
6551         * ParagraphList.C (find): new function
6552
6553         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6554
6555 2003-05-27  André Pönitz  <poenitz@gmx.net>
6556
6557         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6558
6559 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6560
6561         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6562
6563 2003-05-26  John Levon  <levon@movementarian.org>
6564
6565         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6566
6567 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6568
6569         * remove same_id from function signatures, adjust.
6570
6571 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6572
6573         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6574
6575         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6576
6577         * paragraph.C (Paragraph): get rid of same_ids parameter
6578
6579         * ParagraphList.C (insert): adjust
6580         (push_back): adjust
6581
6582 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6583
6584         * paragraph_funcs.C (breakParagraph): adjust
6585         (breakParagraphConservative): adjust
6586
6587         * buffer.C (readParagraph): adjust
6588
6589         * ParagraphList.C (insert): take a reference instead of a pointer
6590         (insert): adjust
6591
6592         * paragraph.[Ch] (id): new function
6593
6594         * bufferlist.C (newFile): adjust
6595
6596         * ParagraphList.C (ParagraphList): adjust
6597         (assign): adjust
6598         (push_back): take a reference instead of a pointer.
6599
6600         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6601
6602         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6603         instead.
6604
6605         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6606         set else use old code.
6607
6608         * ParagraphList.C: remove all NO_NEXT code and only compile this
6609         code of NO_STD_LIST is set.
6610
6611 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6612
6613         * BufferView_pimpl.C:
6614         * TextCache.C:
6615         * TextCache.h:
6616         * bufferlist.C:
6617         * errorlist.h:
6618         * format.C:
6619         * format.h:
6620         * graph.C:
6621         * lyxfunc.C:
6622         * lyxrc.C:
6623         * graphics/GraphicsConverter.C:
6624         * graphics/PreviewLoader.C: header adjustment
6625
6626 2003-05-23  Angus Leeming  <leeming@lyx.org>
6627
6628         * LaTeXFeatures.[Ch] (useBabel): new method.
6629         * bufferparams.C (writeLaTeX): use it.
6630
6631 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6632
6633         * ParagraphList.h (set): remove unused function.
6634
6635 2003-05-23  André Pönitz  <poenitz@gmx.net>
6636
6637         * BufferView.C:
6638         * BufferView_pimpl.C:
6639         * buffer.C:
6640         * buffer.h:
6641         * lyxfunc.C:
6642         * undo_funcs.C: setUndo reworked
6643
6644         * iterators.[Ch]: add access to topmost ParagraphList
6645
6646         * lyxtext.[Ch] (workWidth): add a const
6647
6648 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6649
6650         * texrow.[Ch] (increasePos): remove function
6651         * exporter.C (export): removed unused var and outdated comment
6652
6653 2003-05-23  Angus Leeming  <leeming@lyx.org>
6654
6655         * latexrunparams.h: rename fragile as moving_arg.
6656         * paragraph.C (simpleTeXOnePar): ditto.
6657         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6658
6659 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6660
6661         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6662         (createUndo): ditto
6663         (textUndoOrRedo): comment out a currently unused var.
6664
6665         * paragraph.h (NO_NEXT): enable NO_NEXT
6666
6667         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6668
6669         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6670
6671         * exporter.C (Export): adjust for removeAutoInsets removal.
6672
6673         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6674
6675         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6676
6677         * BufferView.[Ch] (removeAutoInsets): delete function
6678
6679 2003-05-22  Angus Leeming  <leeming@lyx.org>
6680
6681         * latexrunparams.h: add a free_spacing variable.
6682
6683         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6684         to pass moving_arg, as the data is stored in runparams.fragile.
6685
6686         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6687         to Inset::latexOptional or to simpleTeXOnePar.
6688
6689         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6690         free_spacing arg to Inset::latexOptional.
6691
6692         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6693         free_spacing arg.
6694
6695 2003-05-22  Angus Leeming  <leeming@lyx.org>
6696
6697         * latexrunparams.h: add fragile and use_babel variables.
6698
6699         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6700         * buffer.C (makeLaTeXFile): store this returned value in
6701         runparams.use_babel, thus passing it to the inset::latex methods.
6702
6703         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6704         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6705
6706         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6707         longer has a fragile arg, as it is stored in runparams.fragile.
6708
6709         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6710         moving_arg parameter as the data is stored in runparams.fragile.
6711
6712         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6713         a fragile parameter as the data is stored in runparams.fragile.
6714
6715 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6716
6717         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6718
6719 2003-05-22  Angus Leeming  <leeming@lyx.org>
6720
6721         * latexrunparams.h: add a 'bool nice' which defaults to false.
6722
6723         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6724         now encapsulated within runparams.
6725
6726         * bufferlist.C (updateIncludedTeXfiles):
6727         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6728
6729 2003-05-22  Angus Leeming  <leeming@lyx.org>
6730
6731         * latexrunparams.h: new file containing struct LatexRunParams.
6732         * Makefile.am: add new file.
6733
6734         * LaTeX.[Ch] (c-tor, run):
6735         * buffer.[Ch] (makeLaTeXFile):
6736         * bufferlist.[Ch] (updateIncludedTeXfiles):
6737         * converter.C (convert, scanLog):
6738         * converter.[Ch] (runLaTeX):
6739         * exporter.C (Export):
6740         * paragraph.[Ch] (simpleTeXOnePar):
6741         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6742         * paragraph_funcs.[Ch] (latexParagraphs):
6743         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6744         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6745         pass around a LatexRunParams parameter.
6746
6747 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6748
6749         * paragraph.[Ch]: remove unused constructor
6750
6751         * ParagraphList.C (erase): new function, taking two iterators
6752
6753 2003-05-22  André Pönitz  <poenitz@gmx.net>
6754
6755         * undo_funcs.C: remove duplicated code
6756
6757         * iterator.[Ch]: operator=
6758
6759 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * tabular.C (SetMultiColumn): ws changes
6762
6763         * rowpainter.C (paintFirst): get rid of a ->previous
6764
6765         * lyx_cb.C (getPossibleLabel): parlist simplification
6766
6767         * BufferView.C (ChangeInsets): simplify slightly.
6768
6769 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6770
6771         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6772         * lfuns.h: new LFUN_SPACE
6773         * lyxfunc.C: protected space has a new lfun
6774         * paragraph_funcs.C: read new space insets
6775         * text3.C:
6776         * factory.C: handle new space insets
6777
6778 2003-05-22  André Pönitz  <poenitz@gmx.net>
6779
6780         * BufferView.C:
6781         * BufferView_pimpl.C:
6782         * buffer.[Ch]:
6783         * lyxfunc.C:
6784         * undo_funcs.C: return a ParIterator from getParFromID.
6785
6786         * iterators.[Ch]: add two const's
6787
6788 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6789
6790         * toc.C (getTocList): adjust
6791
6792         * iterators.[Ch]: rework for parlist
6793
6794         * buffer.C (par_iterator_begin): adjust
6795         (par_iterator_end): adjust
6796
6797         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6798
6799         * BufferView.C (removeAutoInsets): adjust
6800         (ChangeInsets): adjust
6801
6802 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6803
6804         * text.C (top_y): fix bug 1110
6805
6806 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6807
6808         * errorlist.[Ch]: added
6809         * buffer.C:
6810         * BufferView.[Ch]:
6811         * BufferView_pimpl.C:
6812         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6813         instead
6814
6815 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6816
6817         * Makefile.am: ensure that lyx is relinked upon changes to the
6818         various "convenience" libs.
6819
6820 2003-05-20  Angus Leeming  <leeming@lyx.org>
6821
6822         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6823         files are compiled in alphabetical order again.
6824
6825         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6826
6827 2003-05-19  Angus Leeming  <leeming@lyx.org>
6828
6829         * gettext.[Ch]: remove "char const * _(char const *)".
6830
6831 2003-05-19  André Pönitz  <poenitz@gmx.net>
6832
6833         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6834
6835         * Makefile.am:
6836         * BufferView.C:
6837         * DepTable.h:
6838         * LaTeXFeatures.C:
6839         * buffer.C:
6840         * lyxfont.C:
6841         * lyxlex.h:
6842         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6843
6844 2003-05-19  André Pönitz  <poenitz@gmx.net>
6845
6846         * buffer.C:
6847         * lyxlayout.[Ch]:
6848         * lyxtextclass.[Ch]:
6849         * paragraph.C:
6850         * paragraph_funcs.[Ch]:
6851         * text2.C:
6852         * text3.C: more insetenv work
6853
6854 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6855
6856         * ParagraphParameters.C (params2string): small bug fixed
6857
6858 2003-05-16  André Pönitz  <poenitz@gmx.net>
6859
6860         * debug.C:
6861         * bufferview_funcs.C: patch from Kornel Benko to prevent
6862           crash when _(...) is called twice in a statement
6863
6864 2003-05-16  André Pönitz  <poenitz@gmx.net>
6865
6866         * BufferView.C:
6867         * lyxfunc.C:
6868         * text.C:
6869         * text2.C:
6870         * text3.C:
6871         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6872
6873 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6874
6875         * lyx_main.C (init): remove spurious static_cast
6876
6877 2003-05-14  André Pönitz  <poenitz@gmx.net>
6878
6879         * BufferView.C: fix format string
6880
6881 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6882
6883         * BufferView.[Ch] (insertErrors): removed
6884         * BufferView.[Ch] (showErrorList): added
6885         * buffer.C (runChkTeX):
6886         * converter.C (scanLog): call showErrorList instead of inserterrors
6887
6888 2003-05-13  André Pönitz  <poenitz@gmx.net>
6889
6890         * BufferView_pimpl.C:
6891         * buffer.C:
6892         * bufferview_func.C:
6893         * MenuBackend.C:
6894         * lyxfunc.C:
6895         * lyxrc.C:
6896         * tex-accent.C:
6897         * text3.C:
6898         * toc.C:
6899         * tabular_funcs.h: tostr() from its own header
6900
6901         * ParagraphParameters.C:
6902         * ToolbarBackend.C:
6903         * bufferparams.C:
6904         * format.C:
6905         * lyxlex_pimpl.C:
6906         * text3.C: STRCONV()
6907
6908 2003-05-12  André Pönitz  <poenitz@gmx.net>
6909
6910         * BufferView.C:
6911         * BufferView_pimpl.C:
6912         * CutAndPaste.C:
6913         * LaTeX.C:
6914         * LaTeXFeatures.C:
6915         * ParagraphParameters.C:
6916         * buffer.C:
6917         * bufferlist.C:
6918         * bufferparams.C:
6919         * bufferview_funcs.C:
6920         * converter.C:
6921         * counters.C:
6922         * debug.C:
6923         * exporter.C:
6924         * format.C:
6925         * importer.C:
6926         * lyx_cb.C:
6927         * lyx_main.C:
6928         * lyxfont.C:
6929         * lyxfunc.C:
6930         * lyxvc.C:
6931         * paragraph.C:
6932         * paragraph_funcs.C:
6933         * tabular.C:
6934         * tabular_funcs.C:
6935         * text2.C:
6936         * text3.C:  boost::format -> bformat  all over the place
6937
6938
6939 2003-05-09  André Pönitz  <poenitz@gmx.net>
6940
6941         * LColor.[Ch]: Pimpl the #include <map> away
6942
6943 2003-05-09  John Levon  <levon@movementarian.org>
6944
6945         * bufferlist.C: never remove emergency saves
6946
6947 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6948
6949         * Makefile.am: better lib building
6950
6951 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6952
6953         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6954         instead.
6955         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6956         (simpleTeXSpecialChars): adjust
6957         (simpleTeXSpecialChars): adjust
6958         * paragraph.C (simpleTeXOnePar): adjust
6959         * buffer.C (makeLaTeXFile): adjust
6960
6961         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6962
6963         * text2.C (changeDepth): parlist cleanup
6964         (getColumnNearX): ditto
6965
6966         * rowpainter.C (getLabelFont): parlist cleanup
6967
6968         * bufferlist.C (newFile): parlist cleanup
6969
6970         * CutAndPaste.C (eraseSelection): parlist cleanup
6971
6972         * BufferView_pimpl.C (trackChanges): parlist cleanup
6973         (dispatch): ditto
6974
6975         * BufferView.C (lockInset): parlist cleanup.
6976         (ChangeInsets): ditto
6977
6978 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6979
6980         * CutAndPaste.h: Update file header.
6981
6982         * CutAndPaste.C: Update file header.
6983         Store the parts cut out of the Document in a limited_stack.
6984         (copySelection): adjust
6985         (pasteSelection): new function, takes the index in the limited stack.
6986         (nrOfParagraphs): adjust
6987         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6988         simplify error inset insertion.
6989         (checkPastePossible): adjust
6990
6991 2003-05-06  John Levon  <levon@movementarian.org>
6992
6993         * text2.C: don't cast wrap inset to float
6994
6995 2003-05-05  André Pönitz  <poenitz@gmx.net>
6996
6997         * iterator.C:
6998         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6999
7000         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7001           few naked Paragraph *.
7002
7003 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7004
7005         * bufferparams.C: Output warning if a document with missing
7006         TeX document class is loaded
7007         * exporter.C: Disable TeX exports if the document class is missing
7008         * lyxtextclass.C:
7009         * lyxtextclass.h:
7010         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7011         isTeXClassAvailable()
7012
7013 2003-05-03  John Levon  <levon@movementarian.org>
7014
7015         * BufferView.h:
7016         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7017         explicit cursor show/hide
7018
7019         * BufferView_pimpl.h:
7020         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7021         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7022
7023         * lyxfunc.C: hide cursor before dispatching.
7024
7025         * lyx_cb.C:
7026         * lyxfind.C:
7027         * text.C:
7028         * text3.C: remove explicit cursor hides
7029
7030 2003-05-02  André Pönitz  <poenitz@gmx.net>
7031
7032         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7033
7034         * undo_funcs.C:
7035         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7036           linked lists
7037
7038         * text2.C: tiny whitespace
7039
7040 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7041
7042         * undo_funcs.C: almost only ws changes.
7043
7044         * ParagraphList.C (splice): just return if pl is empty.
7045
7046 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7047
7048         * ParagraphList.C (splice): new function.
7049
7050         * CutAndPaste.C (pasteSelection): use it
7051
7052 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7053
7054         * CutAndPaste.C (pasteSelection): remove the last next and
7055         previous from this file.
7056
7057 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7058
7059         * CutAndPaste.C (pasteSelection): more clean up, user proper
7060         ParagraphList functions for pasteing.
7061
7062         * ParagraphList.C (insert): new function, three arg insert
7063
7064 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7065
7066         * ParagraphList.C (insert): new function, three arg insert
7067
7068         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7069         not on paragraphs.
7070
7071 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7072
7073         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7074
7075 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7076
7077         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7078
7079 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7080
7081         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7082         (copySelection): clean up a bit.
7083         (pasteSelection): use make_pair
7084
7085         * ParagraphList.C (ParagraphList): implement copy constructor
7086         (operator=): implement, base on copy constructor.
7087         (assign): new func
7088
7089         * paragraph.C (erase): return a bool
7090
7091         * paragraph_pimpl.C (erasePos): remove function, move contents...
7092         (erase): ... here. Return a bool.
7093         (erase): call erase instead of erasePos.
7094
7095 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7096
7097         * ParagraphList.h: define PitPosPair
7098         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7099         ParagraphList, fix a bug on pasting multiple pars
7100         * text2.C: change interface to C&P
7101
7102 2003-04-30  André Pönitz  <poenitz@gmx.net>
7103
7104         * undo_func.C: revert part of yesterday's patch 2
7105
7106 2003-04-30  John Levon  <levon@movementarian.org>
7107
7108         * LColor.C: s/tabular/table/
7109
7110 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * text3.C (dispatch): do not convert iterator -> pointer
7113         * undo_funcs.C (setCursorParUndo): ditto
7114         * text_funcs.C (transposeChars): ditto
7115
7116         * text2.C (setLayout): ws changes only
7117
7118         * text.C (breakParagraph): do not convert iterator -> pointer
7119         (insertChar): ditto
7120         (acceptChange): ditto
7121         (rejectChange): ditto
7122         (changeCase): ditto
7123         (Delete): ditto
7124         (backspace): ditto
7125
7126         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7127         pointer
7128
7129 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7130
7131         * text3.C (gotoInset): YABG (yet another bad getChar)
7132
7133 2003-04-29  André Pönitz  <poenitz@gmx.net>
7134
7135         * paragraph.h: make operator= private unimplemented as long as
7136           it is unusable
7137
7138         * ParagraphList.C: whitespace
7139
7140         * paragraph.[Ch]:
7141         * paragraph_pimpl.[Ch]:
7142         * paragraph_funcs.C:
7143         * CutAndPaste.C:
7144         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7145
7146         * text2.C:
7147           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7148
7149 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7150
7151         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7152         * paragraph.[Ch] (erase):
7153         * paragraph_pimpl.[Ch] (erase): change return type and value
7154         * text2.C (cutSelection): some rework
7155
7156 2003-04-28  John Levon  <levon@movementarian.org>
7157
7158         * bufferlist.C: changes for unsaved changes dialog
7159
7160 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7161
7162         * bufferlist.C (newFile): set language (messages_) for new
7163         documents also.
7164
7165         * buffer.C (readFile): ws changes only.
7166
7167 2003-04-28  André Pönitz  <poenitz@gmx.net>
7168
7169         * undo_funcs.C:
7170         * lyxfunc.C:
7171         * buffer.[Ch]:
7172         * BufferView_pimpl.C:
7173         * BufferView.C: getParFromID related ParagraphList::iterator changes
7174
7175 2003-04-28  André Pönitz  <poenitz@gmx.net>
7176
7177         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7178           Changes
7179
7180 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7181
7182         * messages.C: remove one more localedir class variable.
7183
7184 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7185
7186         * messages.C (getLocaleDir): singleton generation function
7187         (Pimpl): use it.
7188         (Messages): add a default constructor.
7189
7190         * main.C (main): do not setup localedir here, do not call
7191         gettext_init.
7192
7193         * gettext.C (_): use it.
7194         (gettext_init): delete funciton
7195
7196 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7197
7198         * gettext.C (getLyXMessages): new singleton generating function.
7199
7200         * buffer.C (updateDocLang): adjust
7201
7202         * Makefile.am (messages.o): add target
7203         (main.o): remove target
7204
7205 2003-04-27  John Levon  <levon@movementarian.org>
7206
7207         * bufferlist.C:
7208         * lyx_cb.C:
7209         * lyxfunc.C:
7210         * lyxvc.C: specify cancel button in Alert::prompt
7211
7212 2003-04-26  John Levon  <levon@movementarian.org>
7213
7214         * text3.C:
7215         * lyxfunc.C:
7216         * lfuns.h:
7217         * LyXAction.C: add LFUN_INSET_SETTINGS
7218
7219         * lyxfunc.C: don't enable tabular-feature when there's
7220         just any locking inset
7221
7222 2003-04-26  John Levon  <levon@movementarian.org>
7223
7224         * bufferlist.C: re-add Cancel to buffer close question
7225
7226         * lyxfunc.C: fix import UI a bit
7227
7228 2003-04-25  John Levon  <levon@movementarian.org>
7229
7230         * gettext.C: remove the broken asserts for now
7231
7232 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7233
7234         * messages.C: make case where setlocale cannot comply work better.
7235
7236         * buffer.C (updateDocLang): new function
7237         (changeLanguage): use it
7238         (readFile): use it
7239
7240         * text2.C (setCounter): use B_ a bit.
7241
7242         * lyxlayout.C (Read): be sure to trim the label strings.
7243
7244         * messages.C (Messages): fix typo in comment
7245
7246         * buffer.C (readFile): set message_ after file is loaded.
7247         (makeDocBookFile): remove double return
7248         (changeLanguage): reset message_ upon language change.
7249         (B_): new func, use this to get translated buffer strings.
7250
7251         * main.C: add myself and Jean Marc as authors.
7252
7253 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7254
7255         * messages.[hC]: pimplify Messages, and three different pimpls to be
7256         used in different circumstances.
7257
7258         * gettext.[Ch]: change for use with new message code.
7259
7260 2003-04-24 André Pönitz <poenitz@gmx.net>
7261
7262         * factory.C: support for eqref
7263
7264 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7265
7266         * messages.[Ch]: add missing char
7267
7268         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7269
7270         * messages.[Ch]: New files
7271
7272 2003-04-18  John Levon  <levon@movementarian.org>
7273
7274         * BufferView.h:
7275         * BufferView.C:
7276         * BufferView_pimpl.C:
7277         * lfuns.h:
7278         * LyXAction.C:
7279         * lyxtext.h:
7280         * text2.C: remove layout-copy/paste (bug 778)
7281
7282 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7283
7284         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7285
7286 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7287
7288         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7289         if they succeed. Act accordingly.
7290
7291 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7292
7293         * text2.C (setCharFont): adjust
7294         (setCounter): adjust
7295         (insertStringAsLines): adjust
7296
7297         * text.C (leftMargin): adjust
7298         (setHeightOfRow): adjust
7299
7300         * rowpainter.C (paintFirst): adjust
7301         (paintLast): adjust
7302
7303         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7304         (outerHook): ditto
7305         (isFirstInSequence): ditto
7306         (getEndLabel): ditto
7307         (outerFont): adjust
7308
7309         * paragraph.C (getParLanguage): comment out some hard stuff.
7310
7311         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7312         (sgmlError): ditto
7313         (simpleDocBookOnePar): ditto
7314         (makeDocBookFile): use ParagraphList::iterator
7315
7316         * CutAndPaste.C (pasteSelection): adjust
7317
7318 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7319
7320         * text2.C (getFont): adjust
7321         (getLayoutFont): adjust
7322         (getLabelFont): adjust
7323
7324         * paragraph_funcs.C (TeXOnePar): adjust
7325
7326         * buffer.C (simpleLinuxDocOnePar): adjust
7327         (simpleDocBookOnePar): adjust
7328
7329         * CutAndPaste.C (pasteSelection): adjust
7330
7331         * BufferView.C (getEncoding): adjust
7332
7333         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7334
7335 2003-04-16  John Levon  <levon@movementarian.org>
7336
7337         * lyxfind.C: use parlist stuff for search/changes
7338
7339 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7340
7341         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7342
7343         * text2.C (deleteEmptyParagraphMechanism): adjust
7344
7345         * text2.[Ch] (ownerParagraph): delete func (both of them
7346
7347 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7350
7351 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7352
7353         * ParagraphList.C: prepare for NO_NEXT
7354
7355 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7356
7357         * text2.C (getFont): adjust
7358         (getLayoutFont): adjust
7359         (getLabelFont): adjust
7360
7361         * paragraph.C (getFont): adjust
7362         (getLabelFont): adjust
7363         (getLayoutFont): adjust
7364
7365         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7366
7367 2003-04-15  John Levon  <levon@movementarian.org>
7368
7369         From Angus Leeming
7370
7371         * lyx_main.C: handle Include in .ui files
7372
7373 2003-04-15  John Levon  <levon@movementarian.org>
7374
7375         * MenuBackend.C: make the doc files length shorter
7376
7377         * ToolbarBackend.h:
7378         * ToolbarBackend.C: handle toolbar placement flags,
7379         Minibuffer
7380
7381 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7382
7383         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7384         adjust
7385
7386         * paragraph_funcs.C (TeXOnePar): adjust
7387
7388         * paragraph.C (getLabelFont): add outerfont arg, adjust
7389         (getLayoutFont): ditto
7390         (simpleTeXOnePar): adjust
7391
7392         * paragraph_pimpl.C (realizeFont): delete func
7393
7394 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7395
7396         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7397         row argument, constify cur argument.
7398
7399 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7400
7401         * text2.C (getFont): adjust
7402         (getLayoutFont): adjust
7403         (getLabelFont): adjust
7404
7405         * paragraph_funcs.C (TeXOnePar): adjust
7406         (outerFont): new func...
7407         (realizeFont): ...moved out from here, changed this to facilitate
7408         transition
7409
7410         * paragraph.C (getFont): take outerfont as arg, adjust
7411         (simpleTeXOnePar): add outerfont arg, adjust
7412
7413         * buffer.C (simpleLinuxDocOnePar): adjust
7414         (simpleDocBookOnePar): adjust
7415
7416         * CutAndPaste.C (pasteSelection): adjust
7417
7418         * BufferView.C (getEncoding): adjust
7419
7420 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7421
7422         * text2.C (setCharFont): adjust
7423         (setCounter): adjust
7424
7425         * text.C (leftMargin): adjust
7426         (setHeightOfRow): adjust
7427
7428         * rowpainter.C (paintFirst): adjust
7429         (paintLast): adjust
7430
7431         * paragraph_pimpl.C (realizeFont): adjust
7432
7433         * paragraph.C (isFirstInSequence): move from here...
7434         * paragraph_funcs.C (isFirstInSequence): ...to here
7435
7436         * paragraph.C (outerHook): move from here...
7437         * paragraph_funcs.C (outerHook): ...to here
7438
7439         * paragraph.C (depthHook): move from here...
7440         * paragraph_funcs.C (depthHook): ...to here
7441
7442         * paragraph.C (getEndLabel): move from here...
7443         * paragraph_funcs.C (getEndLabel): ...to here
7444
7445         * text2.C (realizeFont): move from here...
7446         * paragraph_funcs.C (realizeFont): ...to here
7447
7448 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7449
7450         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7451
7452 2003-04-14  Angus Leeming  <leeming@lyx.org>
7453
7454         * LColor.[Ch]: scrap LColor mathcursor.
7455
7456 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7457
7458         * lyxlex.[Ch] (text): delete function
7459         * trans.C (Load): adjust
7460         * paragraph_funcs.C (readParToken): adjust
7461
7462 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7463
7464         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7465         vector<char> instead of a char[].
7466
7467         * lyxlex_pimpl.C (getString): adjust
7468         (next): adjust
7469         (lex): use getString
7470         (eatLine): adjust
7471         (nextToken): adjust
7472
7473         * lyxlex.C (text): use pimpl_->getString()
7474         (getBool): ditto
7475         (findToken): ditto
7476
7477 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7478
7479         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7480         (makeFontEntriesLayoutSpecific): temp var for par.size()
7481         (setLayout): temp var for ownerParagraphs().end()
7482         (fullRebreak): temp var for rows().end()
7483         (selectionAsString): temp var for boost::next(startpit), realize
7484         that the while really is a regular for loop.
7485         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7486         setCursor in one place.
7487         (setParagraph): temp vr for ownerParagraphs().end()
7488         (updateCounters): make the while loop a for loop
7489         (cutSelection): temp var for ownerParagraphs().end()
7490         (updateInset): make the do {} while() a regular for loop
7491         (getCursorX): use temp vars
7492         (setCurrentFont): use temp vars
7493         (getColumnNearX): use temp vars
7494
7495 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7496
7497         * text.C (transformChar): use temp var for getChar
7498         (computeBidiTables): use temp var for row->par()
7499         (fill): move temp vars for row->par() and pit->layout() earlier in
7500         the function.
7501         (labelFill): use temp var for row->par()
7502         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7503         asc and desc, realize that pit never changes and that firstpit is
7504         just a duplicate and not needed. Exchange rit->par() with pit in a
7505         lot of places.
7506         (breakAgain): use a temp var for boost::next(rit)
7507         (breakAgainOneRow): ditto
7508         (breakParagraph): use a temp var for rows().begin()
7509         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7510         (cursorRightOneWord): use temp var for cursor.par() and
7511         cursor.pos(), remove usage of tmpcursor.
7512         (cursorLeftOneWord): use temp var for cursor.par() and
7513         cursor.pos() only set cur at end of function.
7514
7515 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7516
7517         * text.C, text2.C: exchange all usage of Paragraph::next with
7518         boost::next(ParagraphList::iterator)
7519
7520         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7521
7522         * text2.C (cursorTop): simplify implementation
7523         (cursorBottom): ditto
7524         (setParagraph): use ParagraphList::iterator
7525         (setCurrentFont): adjust
7526         (getColumnNearX): adjust
7527         (cursorRight): adjust
7528         (cursorLeft): remove usage of Paragraph::previous
7529         (cursorUpParagraph): ditto
7530         (deleteEmptyParagraphMechanism): slight cleanup
7531
7532         * text.C (isBoundary): take a Paragraph const & instead of a
7533         pointer as arg.
7534         (addressBreakPoint): ditto
7535         (leftMargin): remove usage of Paragraph::previous.
7536         (setHeightOfRow): ditto
7537         (cursorLeftOneWord): ditto
7538         (selectNextWordToSpellcheck): ditto
7539         (Delete): ditto
7540         (backspace): ditto
7541         (breakParagraph): remove one usage of Paragraph::next
7542         (redoParagraph): ditto
7543         (acceptChange): ditto
7544         (insertChar): adjust
7545         (rowBreakPoint): adjust
7546
7547         * bufferview_funcs.C (toggleAndShow): adjust
7548
7549 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7550
7551         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7552         methods to access it.
7553         * lyxtext.h:
7554         * text.C: Added updateRowPositions to compute all row positions.
7555         Make top_y and getRowNearY() to use the cached y position
7556
7557 2003-04-11  John Levon  <levon@movementarian.org>
7558
7559         * text.C (rowBreakPoint): reintroduce the labelEnd
7560         checks, code copied from the row fill stuff. Deep voodoo.
7561
7562         * text.C (fill): add a comment and debugging for the
7563         next poor soul.
7564
7565 2003-04-11  John Levon  <levon@movementarian.org>
7566
7567         * text.C: make sure fullrow insets get wrapped to the next line,
7568         even when they're in a manual label
7569
7570 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7571
7572         * text2.C (insertParagraph): make it take ParagraphList::iterator
7573         as arg.
7574         (setLayout): make it return ParagraphList::iterator
7575         (redoParagraphs): ditto
7576         (setCounter): ditto
7577         (checkParagraph): ditto
7578
7579         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7580
7581         * text2.C: adjust several funcs.
7582         (realizeFont): take a ParagraphList::iterator as arg.
7583         (getLayoutFont): ditto
7584         (getLabelFont): ditto
7585         (setCharFont): ditto
7586
7587         * text.C: adjust several funcs.
7588
7589 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7590
7591         * text.C (selectNextWordToSpellcheck): don't accidentally
7592         skip insets
7593
7594 2003-04-10  John Levon  <levon@movementarian.org>
7595
7596         * ToolbarBackend.C (getIcon): special handling for
7597         LFUN_MATH_DELIM
7598
7599 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7600
7601         * text2.C (cursorRight): a getChar assert fixed
7602
7603 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7604
7605         * text2.C (getFont): change to take a ParagraphList::iterator
7606         instead of Paragraph*
7607         Adjust several functions.
7608
7609         * text.C (transformChar): change to take a ParagraphList::iterator
7610         instead of Paragraph*
7611         (singleWidth): ditto
7612         Adjust several functions.
7613
7614         * rowpainter.C: adjust several functions
7615         * rowpainter.h:store a ParagraphList::iterator and not a
7616         Paragraph&.
7617
7618
7619 2003-04-09  John Levon  <levon@movementarian.org>
7620
7621         * lyxfunc.C:
7622         * lfuns.h:
7623         * LyXAction.h:
7624         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7625         and the "help" bits as well
7626
7627 2003-04-09  John Levon  <levon@movementarian.org>
7628
7629         * ToolbarBackend.h:
7630         * ToolbarBackend.C: allow multiple toolbars
7631
7632 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7633
7634         * undo_funcs.C (setCursorParUndo): adjust
7635
7636         * text_funcs.C (transposeChars): adjust
7637
7638         * text3.C (gotoNextInset): adjust
7639         (dispatch): adjust
7640
7641         * text2.C (setLayout): adjust
7642         (changeDepth): adjust
7643         (setFont): adjust
7644         (redoParagraphs): adjust
7645         (selectionAsString): adjust
7646         (setParagraph): adjust
7647         (insertInset): adjust
7648         (cutSelection): adjust
7649         (copySelection): adjust
7650         (pasteSelection): adjust
7651         (insertStringAsLines): adjust
7652         (updateInset): adjust
7653         (setCursor): change to take a ParagraphList::iterator parameter
7654         (setCursorIntern): change to take a ParagraphList::iterator parameter
7655         (setCurrentFont): adjust
7656         (cursorLeft): adjust
7657         (cursorRight): adjust
7658         (deleteEmptyParagraphMechanism): adjust
7659
7660         * text.C (breakParagraph): adjust
7661         (insertChar): adjust
7662         (acceptChange): adjust
7663         (rejectChange): adjust
7664         (selectNextWordToSpellcheck): adjust
7665         (changeCase): adjust
7666         (Delete): adjust
7667         (backspace): adjust
7668
7669         * lyxfind.C (SearchForward): adjust
7670         (SearchBackward): adjust
7671         (nextChange): adjust
7672
7673         * lyxcursor.C (par): adjust
7674
7675         * lyxcursor.h: store a ParagraphList::iterator instead of a
7676         Paragraph*
7677
7678         * lyx_cb.C (getPossibleLabel): adjust
7679
7680         * bufferview_funcs.C (toggleAndShow): adjust
7681
7682         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7683         (dispatch): adjust
7684
7685         * BufferView.C (removeAutoInsets): adjust
7686         (lockedInsetStoreUndo): adjust
7687
7688 2003-04-09  John Levon  <levon@movementarian.org>
7689
7690         * ToolbarBackend.C: try icon without argument
7691         if with argument fails
7692
7693 2003-04-08  John Levon  <levon@movementarian.org>
7694
7695         * ToolbarBackend.h:
7696         * ToolbarBackend.C: add getIcon(), handle tooltip,
7697         and change from "Icon" to "Item".
7698
7699 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7700
7701         * BufferView.C (lockInset): another bad getchar crunched
7702
7703 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7704
7705         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7706         again)
7707
7708 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7709
7710         * lyxfind.C (searchForward, searchBackwards): bug 782
7711
7712 2003-04-07  John Levon  <levon@movementarian.org>
7713
7714         * paragraph.C: remove dead comment
7715
7716         * text.C: remove troublesome depth-fiddling code
7717         in leftMargin() and rightMargin() (bug 1017)
7718
7719         * text.C: fix breaking of rows in nested lists
7720         (bug 1004)
7721
7722         * text2.C (updateCounters): fix up depth values
7723         (bug 1013)
7724
7725 2003-04-07  John Levon  <levon@movementarian.org>
7726
7727         * BufferView_pimpl.C: clear message when doc finishes resizing,
7728         and after a mouse event
7729
7730         * lyxfunc.C: clear message after exiting inset
7731
7732 2003-04-07  John Levon  <levon@movementarian.org>
7733
7734         * bufferview_funcs.C: show math status not outside
7735         status in the statusbar
7736
7737 2003-04-07  John Levon  <levon@movementarian.org>
7738
7739         * lyxfunc.C: note status changed after a depth change
7740
7741 2003-04-04  Angus Leeming  <leeming@lyx.org>
7742
7743         * LaTeX.h: move AuxInfo operator==, != out of line.
7744         Remove LaTeX virtual destructor; nothing derives from it.
7745         Move operator()() out of public area and rename it startscript().
7746         Change protected for private.
7747
7748 2003-04-04  Angus Leeming  <leeming@lyx.org>
7749
7750         * lyxfunc.C:
7751         * text2.C: remove unneeded #includes.
7752
7753 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7754
7755         * text2.C (dEPM): fix the heigth of the next row
7756
7757 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7758
7759         * text.C: squashed an invalid getChar requester + some ws changes
7760
7761 2003-04-03  John Levon  <levon@movementarian.org>
7762
7763         * bufferview_funcs.h:
7764         * bufferview_funcs.C:
7765         * lyxfunc.C:
7766         * lyxtext.h:
7767         * text2.C: make getStatus work for the env depth lfuns
7768
7769 2003-04-03  John Levon  <levon@movementarian.org>
7770
7771         * bufferview_funcs.h:
7772         * bufferview_funcs.C:
7773         * lyxfunc.C:
7774         * lyxtext.h:
7775         * text2.C: parlistize decDepth(), by merging it with incDepth()
7776
7777 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7778
7779         * lyxrow.h: store a ParagraphList::iterator instead of a
7780         Paragraph* and adjust other class functions to suit.
7781
7782         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7783         above.
7784
7785 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7786
7787         * text2.C (setCursor): do not anchor to cursor row for the time being
7788
7789 2003-04-02  John Levon  <levon@movementarian.org>
7790
7791         * LyXAction.C:
7792         * lfuns.h:
7793         * lyx_main.C:
7794         * lyxtext.h:
7795         * text.C:
7796         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7797
7798 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7799
7800         * paragraph.h: make ParagraphList and ParagraphList::iterator
7801         friends of Paragraph.
7802
7803         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7804
7805         * ParagraphList.C: Use the private next_ and previous_ from
7806         Paragraph.
7807
7808 2003-04-01  John Levon  <levon@movementarian.org>
7809
7810         * ToolbarBackend.h:
7811         * ToolbarBackend.C:
7812         * Makefile.am: rename, remove defaults gunk
7813
7814         * MenuBackend.h:
7815         * MenuBackend.C: remove defaults gunk
7816
7817         * Languages.h:
7818         * Languages.C: remove defaults gunk
7819
7820         * lyx_main.h:
7821         * lyx_main.C: error out if files couldn't be found.
7822
7823 2003-04-02  John Levon  <levon@movementarian.org>
7824
7825         * text2.C: make incDepth() use parlist
7826
7827 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7828
7829         * undo_funcs.C (firstUndoParagraph): adjust
7830
7831         * text3.C (gotoInset): adjust
7832         (dispatch): adjust, and rewrite loop.
7833
7834         * text2.C (init): adjust, and rewrite loop.
7835         (redoParagraphs): adjust
7836         (updateInset): adjust, and rewrite loop.
7837         (deleteEmptyParagraphMechanism): adjust
7838
7839         * tabular.C (LyXTabular): adjust
7840         (SetMultiColumn): adjust
7841         (TeXRow): adjust
7842
7843         * lyxtext.[Ch] (ownerParagraph): delete function
7844         (ownerParagraphs): new function returns a ParagraphList.
7845
7846         * BufferView.C (removeAutoInsets): adjust
7847         (insertErrors): adjust
7848         (setCursorFromRow): adjust
7849
7850 2003-04-01  Angus Leeming  <leeming@lyx.org>
7851
7852         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7853         in the frontends.
7854
7855 2003-04-02  John Levon  <levon@movementarian.org>
7856
7857         * lyxtext.h:
7858         * text.C:
7859         * Makefile.am:
7860         * text_funcs.h:
7861         * text_funcs.C: make transposeChars a free function
7862
7863         * lyxrow_funcs.C: remove wrong comment
7864
7865 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7866
7867         * lyxtext.h: adjust
7868         * rowpainter.C: adjust
7869         * text.C: adjust
7870         * text2.C: adjust
7871         * text3.C: adjust
7872
7873         * lyxrow_funcs. [Ch]: new files
7874
7875         * lyxrow.[Ch]: remove next and previous pointers
7876         (next,previous): remove accessor functions
7877         (isParEnd): move to lyxrow_funcs
7878         (lastPos): move to lyxrow_funcs
7879         (nextRowIsAllInset): move to lyxrow_funcs
7880         (lastPrintablePos): move to lyxrow_funcs
7881         (numberOfSeparators): move to lyxrow_funcs
7882         (numberOfHfills): move to lyxrow_funcs
7883         (numberOfLabelHfills): move to lyxrow_funcs
7884         (hfillExpansion): move to lyxrow_funcs
7885
7886         * lyxfunc.C: adjust
7887
7888         * bufferview_funcs.C (toggleAndShow): adjust
7889
7890         * RowList.h: Remove class RowList from file leave just a
7891         std::list<Row>.
7892
7893         * RowList.C: delete file
7894
7895         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7896         and lyxrow_funcs.h
7897
7898 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7899
7900         * text3.C (cursorPrevious): adjust
7901         (cursorNext): adjust
7902         (dispatch): adjust
7903
7904         * text2.C (redoHeightOfParagraph): adjust
7905         (redoDrawingOfParagraph): adjust
7906         (setCursor): adjust
7907
7908         * text.C (breakParagraph): adjust
7909         (insertChar): adjust
7910         (backspace): adjust
7911
7912         * rowpainter.C (RowPainter): adjust
7913         (leftMargin): simplify and adjust
7914         (most rowpainter functions): adjust.
7915
7916         * rowpainter.h: store the row as RowList::iterator not as Row*
7917
7918         * lyxcursor.C (row): taka RowList::iterator as arg
7919         (irow): ditto
7920
7921         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7922         of Row*.
7923
7924 2003-04-01  Angus Leeming  <leeming@lyx.org>
7925
7926         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7927         stuff like bool Bool.
7928
7929 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7930
7931         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7932         rewrite a loop
7933
7934 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7935
7936         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7937         RowList::iterator.
7938
7939         * lyxtext.h (rows): drop one version and leve a const variant that
7940         returns a RowList::iterator.
7941
7942 2003-03-31  Angus Leeming  <leeming@lyx.org>
7943
7944         * text.C (fill): ensure that the signature is the same as that in the
7945         header file.
7946
7947 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7948
7949         * text2.C (redoParagraphs): adjust
7950         (updateCounters): adjust
7951         (checkParagraph): adjust
7952         (getColumnNearX): adjust and reformat a bit.
7953
7954         * text.C (top_y): adjust
7955         (workWidth): adjust
7956         (leftMargin): adjust
7957         (prepareToPrint): adjust
7958         (getRow): adjust
7959         (getRowNearY): adjust
7960
7961         * lyxtext.h: make rowlist_ mutable.
7962
7963         * RowList.h: add const_iterator
7964         * RowList.C: adjust for RowList::const_iterator.
7965
7966         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7967         adjust.
7968
7969 2003-03-31  John Levon  <levon@movementarian.org>
7970
7971         * lyxrc.h:
7972         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7973
7974         * lyx_main.C: set default fonts from using lyx_gui funcs
7975
7976         * exporter.C: pdf_mode moved from lyxrc
7977
7978         * lyx_cb.C:
7979         * lyxfunc.C: changes from above
7980
7981 2003-03-31  John Levon  <levon@movementarian.org>
7982
7983         * lyx_main.C: fix to the last fix
7984
7985 2003-03-31  John Levon  <levon@movementarian.org>
7986
7987         * bufferlist.C: "Load original" -> "Load Original"
7988
7989         * converter.C:
7990         * exporter.C:
7991         * importer.C:
7992         * lyx_main.C:
7993         * format.C: more Alert cleanups
7994
7995 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7996
7997         * text2.C (removeParagraph): make it take a RowList::iterator as
7998         arg, adjust.
7999         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8000         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8001
8002         * text.C (anchor_row): make it take a RowList::iterator as arg,
8003         adjust.
8004         (computeBidiTables): make it take a const reference to Row instead
8005         of Row pointer, adjust.
8006         (leftMargin): make it take a RowList::iterator as arg, adjust.
8007         (rowBreakPoint): adjust
8008         (breakAgainOneRow): make it take a RowList::iterator as arg,
8009         adjust.
8010         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8011
8012         * bufferview_funcs.C (toggleAndShow): adjust
8013
8014 2003-03-30  John Levon  <levon@movementarian.org>
8015
8016         * Makefile.am:
8017         * BoostFormat.h:
8018         * boost-inst.C: moved to support
8019
8020         * several files: changes as a result
8021
8022 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8023
8024         * text2.C (LyXText): adjust.
8025         (init): adjust
8026         (removeRow): make it take a RowList::iterator as arg, adjust.
8027         (fullRebreak): adjust
8028         (deleteEmptyParagraphMechanism): adjust
8029         (clearPaint): adjust
8030         (postPaint): adjust
8031
8032         * text.C (top_y): adjust
8033         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8034         (breakAgain): make it take a RowList::iterator as arg, adjust.
8035         (breakParagraph): adjust
8036         (insertChar): adjust
8037         (backspace): adjust
8038
8039         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8040         need_break_row, and refresh_row.
8041
8042         * text3.C (dispatch): adjust
8043
8044         * text2.C (checkParagraph): adjust
8045         (setCursor): adjust
8046         (setCursorFromCoordinates): adjust
8047
8048         * text.C (top_y): adjust
8049         (workWidth): adjust
8050         (getRow): make it return a RowList::iterator, adjust
8051         (getRowNearY): make it return a RowList::iterator, adjust
8052
8053         * text2.C (init): adjust
8054         (insertRow): remove function
8055         (insertParagraph): adjust
8056         (redoParagraphs): adjust
8057         (fullRebreak): adjust
8058         (updateCounters): adjust
8059
8060         * text.C (top_y): rewrite to use RowList iterators.
8061         (top_y): adjust
8062         (setHeightOfRow): rewrite to sue RowList iterators.
8063         (appendParagraph): adjust
8064         (breakAgain): adjust
8065         (breakAgainOneRow): adjust
8066         (breakParagraph): adjust
8067         (getRow): adjust
8068         (getRowNearY): adjust, and remove commented code.
8069
8070         * lyxtext.h (firstRow): delete function
8071         (lastRow): delete function
8072         (rows): new function (const and non-const versions.)
8073         (insertRow): delete function
8074
8075         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8076
8077 2003-03-29  John Levon  <levon@movementarian.org>
8078
8079         * BufferView_pimpl.C: always update scrollbar top
8080         because pasting text when we're anchored could mean we
8081         miss an update altogether
8082
8083 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8084
8085         * text2.C (init): use rowlist_.end() and not 0.
8086         (insertRow): change to take a RowList::iterator as arg, adjust
8087         for this.
8088         (insertParagraph): change to take a RowList::iterator as arg,
8089         adjust for this.
8090         (redoParagraphs): remove some debug msgs.
8091
8092         * text.C (appendParagraph): change to take a RowList::iterator
8093         arg, adjust for this.
8094         (breakAgain): add an assert
8095         (breakAgainOneRow): ditto
8096
8097 2003-03-29  John Levon  <levon@movementarian.org>
8098
8099         * text2.C: do not clear selection after inc/decDepth
8100         (bug 550)
8101
8102 2003-03-29  John Levon  <levon@movementarian.org>
8103
8104         * BufferView.C:
8105         * buffer.C: fix broken strerrors according to Lars
8106
8107 2003-03-29  John Levon  <levon@movementarian.org>
8108
8109         * converters.C: more Alert cleanups
8110
8111 2003-03-29  John Levon  <levon@movementarian.org>
8112
8113         * bufferview_funcs.C: remove pointless Alert
8114
8115         * buffer.C: fix confusing error message when
8116         a template is chmoded 000
8117
8118 2003-03-29  John Levon  <levon@movementarian.org>
8119
8120         * BufferView.C:
8121         * BufferView.h:
8122         * BufferView_pimpl.C: Alert fixes
8123
8124         * Makefile.am:
8125         * tabular.C:
8126         * tabular-old.C: remove unused table compat reading
8127
8128 2003-03-29  John Levon  <levon@movementarian.org>
8129
8130         * BufferView.C:
8131         * buffer.C:
8132         * lyx_cb.h:
8133         * lyx_cb.C: more Alert cleanups
8134
8135         * lyxfunc.C: don't allow chktex if not latex document
8136
8137 2003-03-29  John Levon  <levon@movementarian.org>
8138
8139         * lyx_cb.C:
8140         * BufferView.C:
8141         * buffer.C: warnings pushed down from support/,
8142         kill err_alert
8143
8144 2003-03-29  John Levon  <levon@movementarian.org>
8145
8146         * lyxfunc.C: safety check for C-r (revert)
8147
8148 2003-03-29  John Levon  <levon@movementarian.org>
8149
8150         * bufferlist.h:
8151         * bufferlist.C: several UI fixes using Alert::prompt.
8152         Fix the pointless looping quit code. Fix stupid revert
8153         behaviour (bug 938)
8154
8155         * lyxvc.h:
8156         * lyxvc.C:
8157         * lyx_cb.C: use Alert::prompt
8158
8159         * lyx_main.C: remove a silly question
8160
8161         * lyxfunc.C: remove a couple of silly questions,
8162         use Alert::prompt
8163
8164 2003-03-28  John Levon  <levon@movementarian.org>
8165
8166         * text2.C: fix bug 974 (End on empty par)
8167
8168 2003-03-28  John Levon  <levon@movementarian.org>
8169
8170         * BufferView_pimpl.C:
8171         * LyXAction.C:
8172         * lfuns.h: remove do-nothing math greek lfuns
8173
8174 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8175
8176         * lyxgluelength.h (isValidGlueLength): add default arg on
8177         parameter 2. Remove default arg from friend in class.
8178
8179         * lyxlength.h (isValidLength): add default arg on parameter 2.
8180         Remove default arg from friend in class.
8181
8182         * text2.C (LyXText): adjust, initialize refresh_row.
8183         (init): adjust
8184         (removeRow): adjust
8185         (insertRow): adjust
8186         (insertParagraph): adjst
8187         (redoParagraphs): adjust
8188         (fullRebreak): adjust
8189         (updateCounters): adjust
8190         (deleteEmptyParagraphMechanism): first attempt at fixing a
8191         crashing bug.
8192
8193         * text.C (top_y): adjust
8194         (setHeightOfRow): adjust
8195         (getRow): adjust
8196         (getRowNearY): adjust
8197
8198         * lyxtext.h: include RowList.h
8199         (~LyXText): not needed anymore, deleted.
8200         (firstRow): modify for RowList
8201         (lastRow): new function
8202         Delete firstrow and lastrow class variables, add a Rowlist
8203         rowlist_ class variable.
8204
8205         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8206         paragraph is empty.
8207
8208         * RowList.C (insert): fix case where it == begin().
8209
8210 2003-03-26  Angus Leeming  <leeming@lyx.org>
8211
8212         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8213         the thesaurus dialog.
8214
8215 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8216
8217         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8218
8219         * RowList.[Ch]: new files
8220
8221         * ParagraphList.C (erase): handle the case where it == begin
8222         correctly.
8223
8224 2003-03-25  John Levon  <levon@movementarian.org>
8225
8226         * Makefile.am:
8227         * aspell_local.h:
8228         * aspell.C: add new aspell support
8229
8230         * lyxrc.h:
8231         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8232         have it accessible.
8233
8234 2003-03-25  Angus Leeming  <leeming@lyx.org>
8235
8236         * lfuns.h:
8237         * LyXAction.C (init): new LFUN_INSET_INSERT.
8238
8239         * BufferView_pimpl.C (dispatch): split out part of the
8240         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8241
8242         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8243         LFUN_INSET_APPLY.
8244
8245 2003-03-25  Angus Leeming  <leeming@lyx.org>
8246
8247         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8248
8249 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8250
8251         * text2.C:
8252         * text3.C: remove useless row->height(0)
8253
8254 2003-03-25  John Levon  <levon@movementarian.org>
8255
8256         * lyxtext.h:
8257         * text2.C:
8258         * text3.C: rename the refreshing stuff to better names
8259
8260 2003-03-24  John Levon  <levon@movementarian.org>
8261
8262         * BufferView_pimpl.h:
8263         * BufferView_pimpl.C: update layout choice on a mouse
8264         press/release
8265
8266 2003-03-23  John Levon  <levon@movementarian.org>
8267
8268         * Makefile.am: fix commandtags.h reference
8269
8270 2003-03-22  John Levon  <levon@movementarian.org>
8271
8272         * BufferView_pimpl.C:
8273         * lyxtext.h:
8274         * rowpainter.C:
8275         * rowpainter.h:
8276         * text.C:
8277         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8278
8279 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8280
8281         * lyxtext.h:
8282         * text.C: take the rtl methods out of line
8283
8284 2003-03-21 André Pönitz <poenitz@gmx.net>
8285
8286         * metricsinfo.[Ch]: new files containing structures to be passed around
8287         during the two-phase-drawing...
8288
8289 2003-03-21 André Pönitz <poenitz@gmx.net>
8290
8291         * lyxtextclass.C: read 'environment' tag.
8292
8293 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8294
8295         * text2.C (removeRow): fix bug 964
8296
8297 2003-03-20  John Levon  <levon@movementarian.org>
8298
8299         * rowpainter.C:
8300         * text.C:
8301         * text2.C: paint cleanups. Inset::update() dropped font
8302         parameter
8303
8304 2003-03-19  John Levon  <levon@movementarian.org>
8305
8306         * lyxfunc.C: only fitcursor/markDirty if available()
8307
8308 2003-03-19  John Levon  <levon@movementarian.org>
8309
8310         * commandtags.h: rename to ...
8311
8312         * lfuns.h: ... this, and renumber / cleanup
8313
8314 2003-03-19  John Levon  <levon@movementarian.org>
8315
8316         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8317         fit the cursor after an lfun
8318
8319         * BufferView.h:
8320         * BufferView.C:
8321         * BufferView_pimpl.h:
8322         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8323
8324         * LyXAction.C: layout-character should have ReadOnly
8325
8326         * ParagraphParameters.C:
8327         * buffer.C:
8328         * bufferview_funcs.C:
8329         * lyx_cb.C:
8330         * lyxfind.C:
8331         * lyxtext.h:
8332         * text.C:
8333         * text2.C:
8334         * text3.C:
8335         * undo_funcs.C: changes from above
8336
8337 2003-03-18  John Levon  <levon@movementarian.org>
8338
8339         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8340         remove it from update()
8341
8342         * lyxfunc.C: update layout choice after an lfun
8343
8344         * text3.C: remove extra updateLayoutChoice()s
8345
8346 2003-03-18  John Levon  <levon@movementarian.org>
8347
8348         * text.C: top_y change means full repaint, fix
8349         a drawing bug with cursor movement
8350
8351 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8352
8353         * lyxtext.h:
8354         * text.C:
8355         * text2.C: anchor row on setCursor
8356
8357 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8358
8359         * lyxtext.h: remove almost all mutable keywords
8360         * text.C:
8361         * text2.C:
8362         * text3.C: remove const keywords accordingly
8363
8364 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8365
8366         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8367         anon namespace
8368         (TeXEnvironment): ditto
8369         (TeXOnePar): ditto
8370
8371 2003-03-17  John Levon  <levon@movementarian.org>
8372
8373         * text.C (rowBreakPoint): remove attempt to fix displayed
8374         math insets inside a manual label
8375
8376 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8377
8378         * lyxtext.h: remove BufferView* as first arg from almost all class
8379         functions.
8380         * other files: adjust.
8381
8382 2003-03-17  John Levon  <levon@movementarian.org>
8383
8384         * lyxtext.h:
8385         * undo_funcs.C:
8386         * text2.C: more paint cleanups
8387
8388         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8389
8390         * rowpainter.h:
8391         * rowpainter.C: remove "smart" background painting code
8392
8393 2003-03-16  John Levon  <levon@movementarian.org>
8394
8395         * lyxtext.h:
8396         * text.C:
8397         * text2.C:
8398         * text3.C: add helper functions for setting refresh_row/y
8399
8400 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8401
8402         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8403         newline inset which *can* get inserted in the pass_thru layouts.
8404         This is primarily for literate documents.
8405
8406 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8407
8408         * buffer.C: increment LYX_FORMAT to 223
8409
8410 2003-03-14 André Pönitz <poenitz@gmx.net>
8411
8412         * textclass.h: prepare for environment handling, ws changes
8413         * lyxlayout.C: read latexheader and latexfooter tags
8414
8415 2003-03-14  John Levon  <levon@movementarian.org>
8416
8417         * text2.C: rewrite ::status() a bit
8418
8419 2003-03-13  John Levon  <levon@movementarian.org>
8420
8421         * lyxtext.h: add some docs
8422
8423 2003-03-13  John Levon  <levon@movementarian.org>
8424
8425         * lyxtext.h:
8426         * text.C:
8427         * text2.C:
8428         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8429
8430 2003-03-13  John Levon  <levon@movementarian.org>
8431
8432         * text3.C: fix appendix redrawing
8433
8434 2003-03-13  John Levon  <levon@movementarian.org>
8435
8436         * text.C (setHeightOfRow):
8437         * rowpainter.h:
8438         * rowpainter.C: make appendix mark have the text
8439           "Appendix" so the user knows what it is
8440
8441         * LColor.h:
8442         * LColor.C: s/appendixline/appendix/ from above
8443
8444 2003-03-13  John Levon  <levon@movementarian.org>
8445
8446         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8447
8448         * text.C: fix a getChar(pos) bug properly
8449
8450 2003-03-13  Angus Leeming  <leeming@lyx.org>
8451
8452         * commandtags.h:
8453         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8454         Probably only temporary. Let's see how things pan out.
8455
8456         * BufferView.C (unlockInset):
8457         * BufferView_pimpl.C (fitCursor):
8458         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8459
8460         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8461         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8462
8463         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8464         new functions that convert ParagraphParameters to and from a string.
8465
8466         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8467         BufferView::Pimpl's dispatch.
8468         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8469
8470 2003-03-13 André Pönitz <poenitz@gmx.net>
8471
8472         * lyxfunc.C:
8473         * text3.C:
8474         * factory.C: make it aware of InsetEnv
8475
8476 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8477
8478         * text2.C (setCursor): never ask for one past last
8479         (setCursor): add some debugging messages.
8480
8481         * text.C (singleWidth): never ask for one past last
8482         (singleWidth): ditto
8483         (leftMargin): ditto
8484         (rightMargin): ditto
8485         (rowBreakPoint): ditto
8486         (setHeightOfRow): ditto
8487         (prepareToPrint): ditto
8488
8489         * rowpainter.C (paintBackground): never ask for one past last
8490         (paintText): never ask for one past last
8491
8492         * paragraph_pimpl.C (getChar): make the assert stricter, never
8493         allow the one past last pos to be taken
8494
8495         * paragraph.C (getChar): ws changes only
8496
8497         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8498         (numberOfSeparators): ditto
8499         (numberOfHfills): ditto
8500
8501 2003-03-12  John Levon  <levon@movementarian.org>
8502
8503         * author.h:
8504         * author.C:
8505         * bufferparams.h:
8506         * bufferparams.C:
8507         * paragraph_funcs.C: fix per-buffer authorlists
8508
8509 2003-03-12  John Levon  <levon@movementarian.org>
8510
8511         * text.C: fix newline in right address
8512
8513 2003-03-12  Angus Leeming  <leeming@lyx.org>
8514
8515         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8516         duplicate those in LyXFunc::dispatch.
8517
8518         * commandtags.h:
8519         * LyXAction.C:
8520         * ToolbarDefaults.C:
8521         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8522         Add LFUN_FONTFREE_UPDATE.
8523
8524         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8525         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8526
8527         * bufferview_func.[Ch]: several new functions to facilliate
8528         transfer of data to and from the character dialog.
8529
8530 2003-03-12  John Levon  <levon@movementarian.org>
8531
8532         * buffer.C:
8533         * paragraph.h:
8534         * paragraph.C:
8535         * paragraph_funcs.C:
8536         * paragraph_pimpl.C:
8537         * sgml.C:
8538         * tabular.C:
8539         * text.C:
8540         * text3.C: remove META_NEWLINE in favour of an inset
8541
8542         * rowpainter.h:
8543         * rowpainter.C: remove paintNewline (done by inset)
8544
8545 2003-03-12  John Levon  <levon@movementarian.org>
8546
8547         * paragraph_pimpl.C: complain about bad getChar()s
8548         for a while at least
8549
8550 2003-03-12  John Levon  <levon@movementarian.org>
8551
8552         * buffer.h:
8553         * buffer.C: move paragraph read into a separate function,
8554         a little renaming to reflect that.
8555
8556         * bufferparams.h:
8557         * bufferparams.C: remove the author_ids map, not necessary now
8558
8559         * factory.h:
8560         * factory.C: moved Buffer::readInset to here
8561
8562         * paragraph_funcs.h:
8563         * paragraph_funcs.C: readParagraph free function moved from
8564         buffer.C
8565
8566         * tabular.C: name change
8567
8568 2003-03-12  John Levon  <levon@movementarian.org>
8569
8570         * buffer.C:
8571         * ParagraphParameters.C: move par params input to
8572         a read() method
8573
8574         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8575         behave like a normal read from the stream wrt reading
8576         a line vs. a \\token
8577
8578 2003-03-12  John Levon  <levon@movementarian.org>
8579
8580         * paragraph.C:
8581         * ParagraphParameters.h:
8582         * ParagraphParameters.C: move output code to a
8583         ::write() method
8584
8585 2003-03-12  John Levon  <levon@movementarian.org>
8586
8587         * BufferView.C (insertLyXFile):
8588         * buffer.h:
8589         * buffer.C:
8590         * tabular.C: use a parlist iterator for creating the
8591           document.
8592
8593 2003-03-12  John Levon  <levon@movementarian.org>
8594
8595         * buffer.C: make current_change static local not
8596           static file-scope
8597
8598 2003-03-12  John Levon  <levon@movementarian.org>
8599
8600         * buffer.C: fix insertStringAsLines for change tracking
8601
8602 2003-03-12  John Levon  <levon@movementarian.org>
8603
8604         * BufferView.C:
8605         * tabular.C:
8606         * buffer.h:
8607         * buffer.C:
8608         * bufferparams.h:
8609         * bufferparams.C: move author list into params. Rename some
8610           functions. Move the header reading into a separate token
8611           loop. Move the header token reading into BufferParams.
8612
8613 2003-03-12  John Levon  <levon@movementarian.org>
8614
8615         * changes.C: put debug inside lyxerr.debugging() checks
8616
8617 2003-03-11 André Pönitz <poenitz@gmx.net>
8618
8619         * factory.C: make it aware of InsetHFill
8620
8621 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8622
8623         * buffer.C (latexParagraphs): move function from here...
8624         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8625         args.
8626
8627 2003-03-10  Angus Leeming  <leeming@lyx.org>
8628
8629         * LyXAction.C (init): fix bug in poplating array with multiple entries
8630         with the same LFUN (spotted by JMarc).
8631
8632 2003-03-10  John Levon  <levon@movementarian.org>
8633
8634         * text.C:
8635         * text2.C: move getColumnNearX() near its
8636         only call site
8637
8638 2003-03-10  John Levon  <levon@movementarian.org>
8639
8640         * text.C: fix break before a minipage
8641
8642 2003-03-10  John Levon  <levon@movementarian.org>
8643
8644         * text.C: fix the last commit
8645
8646 2003-03-09  John Levon  <levon@movementarian.org>
8647
8648         * lyxtext.h:
8649         * text.C:
8650         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8651         bug 365 (don't break before insets unless needed). Don't
8652         return a value > last under any circumstances.
8653
8654 2003-03-09  Angus Leeming  <leeming@lyx.org>
8655
8656         * BufferView_pimpl.C (trackChanges, dispatch): call
8657         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8658
8659 2003-03-09  Angus Leeming  <leeming@lyx.org>
8660
8661         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8662         than Dialogs::showAboutlyx().
8663
8664 2003-03-09  Angus Leeming  <leeming@lyx.org>
8665
8666         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8667         than Dialogs::showTabularCreate().
8668
8669 2003-03-09  John Levon  <levon@movementarian.org>
8670
8671         * lyxtext.h:
8672         * text.C:
8673         * text2.C: 3rd arg to nextBreakPoint was always the same.
8674           Use references.
8675
8676 2003-03-08  John Levon  <levon@movementarian.org>
8677
8678         * lyxrow.C:
8679         * paragraph.C:
8680         * paragraph.h:
8681         * rowpainter.C:
8682         * text.C:
8683         * text2.C: Remove the "main" bit from the "main body"
8684           notion.
8685
8686 2003-03-08  John Levon  <levon@movementarian.org>
8687
8688         * text.C (leftMargin): The left margin of an empty
8689         manual label paragraph should not include the label width
8690         string length.
8691
8692         * text.C (prepareToPrint): don't attempt to measure hfills
8693         for empty manual label paragraphs - the answer should be 0
8694
8695 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8696
8697         * CutAndPaste.C: remove commented code and reindent.
8698
8699 2003-03-08  John Levon  <levon@movementarian.org>
8700
8701         * lyxfunc.h:
8702         * lyxfunc.C: move reloadBuffer()
8703
8704         * BufferView.h:
8705         * BufferView.C: to here
8706
8707         * lyxvc.C: add comment
8708
8709         * vc-backend.h:
8710         * vc-backend.C: call bv->reload() to avoid
8711           getStatus() check on MENURELOAD
8712
8713 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8714
8715         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8716         to an old format .dep file.
8717
8718 2003-03-07  Angus Leeming  <leeming@lyx.org>
8719
8720         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8721         when the LFUN_MOUSE_RELEASE should have been handled by
8722         inset->localDispatch.
8723
8724 2003-03-07  Angus Leeming  <leeming@lyx.org>
8725
8726         * BufferView_pimpl.C (dispatch):
8727         * LyXAction.C (init):
8728         * ToolbarDefaults.C (init):
8729         * commandtags.h:
8730         * lyxfunc.C (getStatus):
8731         remove LFUN_INSET_GRAPHICS.
8732
8733         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8734
8735 2003-03-07  Angus Leeming  <leeming@lyx.org>
8736
8737         * commandtags.h:
8738         * LyXAction.C (init):
8739         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8740
8741         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8742
8743         * commandtags.h:
8744         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8745
8746         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8747         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8748
8749 2003-03-07  Angus Leeming  <leeming@lyx.org>
8750
8751         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8752         remove "ert".
8753
8754 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8755
8756         * ParagraphList.C (front): new function
8757         (back): implement
8758
8759 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8760
8761         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8762         and top_row_offset_. removed var first_y.
8763         * text.C (top_y):
8764         * text2.C (LyXText, removeRow):
8765         * text3.C:
8766         * BufferView_pimpl.C:
8767         use these methods instead of using first_y
8768
8769 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8770
8771         * text2.C (pasteSelection): adjust for checkPastePossible
8772
8773         * CutAndPaste.C: remove Paragraph * buf and replace with
8774         ParagraphList paragraphs.
8775         (DeleteBuffer): delete
8776         (cutSelection): change the tc type to textclass_type
8777         (copySelection): change the tc type to textclass_type
8778         (copySelection): adjust for ParagraphList
8779         (pasteSelection): change the tc type to textclass_type
8780         (pasteSelection): adjust for Paragraphlist
8781         (nrOfParagraphs): simplify for ParagraphList
8782         (checkPastePossible): simplify for ParagraphList
8783         (checkPastePossible): remove unused arg
8784
8785         * ParagraphList.C (insert): handle the case where there are no
8786         paragraphs yet.
8787
8788         * CutAndPaste.h: make CutAndPaste a namespace.
8789
8790         * text3.C (dispatch): adjust
8791
8792         * text.C (breakParagraph): add a ParagraphList as arg
8793
8794         * paragraph_funcs.C (breakParagraph): change to take a
8795         BufferParams and a ParagraphList as args.
8796         (breakParagraphConservative): ditto
8797         (mergeParagraph): ditto
8798         (TeXDeeper): add a ParagraphList arg
8799         (TeXEnvironment): ditto
8800         (TeXOnePar): ditto
8801
8802         * buffer.C (readLyXformat2): adjust
8803         (insertStringAsLines): adjust
8804         (latexParagraphs): adjust
8805
8806         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8807         (cutSelection): adjust
8808         (pasteSelection): adjust
8809
8810         * BufferView_pimpl.C (insertInset): adjust
8811
8812 2003-03-05  Angus Leeming  <leeming@lyx.org>
8813
8814         * commandtags.h:
8815         * LyXAction.C (init):
8816         * BufferView_pimpl.C (dispatch):
8817         * lyxfunc.C (getStatus):
8818         remove LFUN_CHILD_INSERT.
8819
8820         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8821
8822 2003-03-05  Angus Leeming  <leeming@lyx.org>
8823
8824         * commandtags.h:
8825         * LyXAction.C (init):
8826         * src/factory.C (createInset):
8827         * lyxfunc.C (getStatus):
8828         * text3.C (dispatch):
8829         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8830
8831         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8832
8833 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8834
8835         * ParagraphList.C (insert): handle insert right before end()
8836         (erase): fix cases where it can be first or last paragraph.
8837
8838 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8839
8840         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8841         Paragraph::next and Paragraph::previous
8842         (TeXOnePar): ditto
8843
8844         * text.C (breakParagraph): adjust
8845
8846         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8847         BufferParams& as arg.
8848         (breakParagraph): use ParagraphList::insert
8849         (breakParagraphConservative): take a Buffer* instead of a
8850         BufferParams& as arg.
8851         (breakParagraphConservative): use ParagraphList::insert.
8852
8853         * buffer.C (insertStringAsLines): un-const it
8854         (insertStringAsLines): adjust
8855
8856         * ParagraphList.C (insert): new function
8857
8858         * CutAndPaste.C (pasteSelection): adjust
8859
8860         * text.C (backspace): adjust
8861
8862         * tabular.C (SetMultiColumn): adjust
8863
8864         * CutAndPaste.C (cutSelection): adjust
8865         (pasteSelection): adjust
8866
8867         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8868         Buffer const * as arg
8869
8870         * ParagraphList.C (erase): new function
8871         * paragraph_funcs.C (mergeParagraph): use it
8872         (mergeParagraph): make it take a Buffer* instead of a
8873         BufferParams* as arg
8874
8875         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8876         as arg
8877         (breakParagraphConservative): ditto
8878
8879         * paragraph.h: remove the breakParagraph friend
8880
8881         * paragraph.C (eraseIntern): new function
8882         (setChange): new function
8883
8884         * paragraph_funcs.C (mergeParagraph): make it take a
8885         ParagraphList::iterator instead of a Paragraph *, adjust
8886         accordingly.
8887
8888         * paragraph.h: move an #endif so that the change tracking stuff
8889         also works in the NO_NEXT case.
8890
8891 2003-03-04  Angus Leeming  <leeming@lyx.org>
8892
8893         * commandtags.h:
8894         * LyXAction.C: new LFUN_INSET_MODIFY.
8895
8896         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8897         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8898
8899 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8900
8901         * several files: ws changes only
8902
8903         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8904         (TeXEnvironment): ditto
8905         (TeXDeeper): ditto
8906
8907         * buffer.C (makeLaTeXFile): adjust
8908         (latexParagraphs): make it take ParagraphList::iterator as args
8909
8910 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8911
8912         * buffer.C (latexParagraphs): adjust
8913
8914         * paragraph.C (TeXOnePar): move function...
8915         (optArgInset): move function...
8916         (TeXEnvironment): move function...
8917         * paragraph_pimpl.C (TeXDeeper): move function...
8918         * paragraph_funcs.C: ...here
8919
8920         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8921
8922 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8923
8924         * buffer.C (readInset): remove compability code for old Figure and
8925         InsetInfo insets
8926
8927 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8928
8929         * buffer.C: ws changes
8930         (readInset):
8931
8932         * BufferView_pimpl.C: ditto
8933         * author.C: ditto
8934         * buffer.h: ditto
8935         * bufferlist.h: ditto
8936         * changes.h: ditto
8937         * lyxfunc.C: ditto
8938
8939 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8940
8941         * converter.[Ch]: split into itself +
8942         * graph.[Ch]
8943         * format.[Ch]
8944         * Makefile.am: += graph.[Ch] + format.[Ch]
8945         * MenuBackend.C
8946         * buffer.C
8947         * exporter.C
8948         * importer.C
8949         * lyx_main.C
8950         * lyxfunc.C
8951         * lyxrc.C: added #include "format.h"
8952
8953 2003-02-27  Angus Leeming  <leeming@lyx.org>
8954
8955         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8956           a label.
8957
8958         * factory.C (createInset): add "label" to the factory.
8959
8960         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8961           string and do no more.
8962
8963 2003-02-27  Angus Leeming  <leeming@lyx.org>
8964
8965         * commandtags.h:
8966         * LyXAction.C (init):
8967         * factory.C (createInset):
8968         * BufferView_pimpl.C (dispatch):
8969           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8970
8971         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8972
8973         * lyxfunc.C (dispatch):
8974         * text3.C (dispatch): pass name to params2string.
8975
8976 2003-02-26  Angus Leeming  <leeming@lyx.org>
8977
8978         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8979           blocks together.
8980           Rearrange the ~includes. Strip out the unnecessary ones.
8981
8982         * factory.C (createInset): reformat.
8983           create new insets for the various LFUN_XYZ_APPLY lfuns.
8984
8985 2003-02-26  John Levon  <levon@movementarian.org>
8986
8987         * lyxrow.h:
8988         * lyxrow.C: add isParStart,isParEnd helpers
8989
8990         * paragraph.h: make isInserted/DeletedText take refs
8991
8992         * paragraph_funcs.h:
8993         * paragraph_funcs.C: remove #if 0'd code
8994
8995         * lyxtext.h:
8996         * text3.C:
8997         * text2.C:
8998         * text.C: use lyxrow helpers above.
8999           Move draw and paint routines to RowPainter.
9000           Make several methods use refs not pointers.
9001           Make backgroundColor() const.
9002           Add markChangeInDraw(), isInInset().
9003           Merge changeRegionCase into changeCase.
9004           Make workWidth() shouldn't-happen code into an Assert.
9005
9006         * rowpainter.h:
9007         * rowpainter.C: new class for painting a row.
9008
9009         * vspace.h:
9010         * vspace.C: make inPixels take a ref
9011
9012 2003-02-26  Angus Leeming  <leeming@lyx.org>
9013
9014         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9015         LFUN_REF_APPLY.
9016
9017 2003-02-25  John Levon  <levon@movementarian.org>
9018
9019         * ispell.C: give the forked command a more accurate name
9020
9021 2003-02-22  John Levon  <levon@movementarian.org>
9022
9023         * toc.h:
9024         * toc.C: make TocItem store an id not a Paragraph *
9025           (bug #913)
9026
9027 2003-02-21  Angus Leeming  <leeming@lyx.org>
9028
9029         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9030           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9031           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9032           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9033           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9034           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9035
9036         * BufferView_pimpl.C (dispatch):
9037         * LyXAction.C (init):
9038         * factory.C (createInset):
9039         * lyxfunc.C (getStatus, dispatch):
9040         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9041
9042 2003-02-21  Angus Leeming  <leeming@lyx.org>
9043
9044         * BufferView_pimpl.C (MenuInsertLyXFile):
9045         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9046         * lyxfunc.C (menuNew, open, doImport):
9047           no longer pass a LyXView & to fileDlg.
9048
9049 2003-02-21  Angus Leeming  <leeming@lyx.org>
9050
9051         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9052         * LyXAction.C: change, BIBKEY to BIBITEM.
9053         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9054         Change InsetBibKey to InsetBibitem.
9055         Change BIBKEY_CODE to BIBITEM_CODE.
9056         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9057         * factory.C: replace insetbib.h with insetbibitem.h.
9058         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9059         * paragraph.C: replace insetbib.h with insetbibitem.h.
9060         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9061         Change bibkey() to bibitem().
9062         * text.C: remove insetbib.h.
9063         * text2.C: replace insetbib.h with insetbibitem.h.
9064         change bibkey() to bibitem().
9065         * text3.C: remove insetbib.h.
9066         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9067
9068 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9069
9070         * lyxrc.C (output): enclose user email in quotes (in case there are
9071         several words)
9072
9073 2003-02-18  John Levon  <levon@movementarian.org>
9074
9075         * buffer.h: add std::
9076
9077 2003-02-17  John Levon  <levon@movementarian.org>
9078
9079         * SpellBase.h:
9080         * ispell.h:
9081         * ispell.C:
9082         * pspell.h:
9083         * pspell.C: reworking. Especially in ispell, a large
9084           number of clean ups and bug fixes.
9085
9086         * lyxfunc.C: fix revert to behave sensibly
9087
9088 2003-02-17 André Pönitz <poenitz@gmx.net>
9089
9090         * LyXAction.C:
9091         * commandtags.h: new LFUN_INSERT_BIBKEY
9092
9093         * layout.h:
9094         * lyxlayout.C:
9095         * buffer.C:
9096         * factory.C:
9097         * text.C:
9098         * text2.C:
9099         * text3.C:
9100         * paragraph.[Ch]:
9101         * paragraph_func.C: remove special bibkey handling
9102
9103 2003-02-17  John Levon  <levon@movementarian.org>
9104
9105         * text.C (Delete): fix case where delete at the end of
9106           the very first paragraph would not merge the pars
9107
9108 2003-02-17  John Levon  <levon@movementarian.org>
9109
9110         * lyxrow.C: fix lastPrintablePos()
9111
9112 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9113
9114         * bufferparams.C (writeLaTeX): add a std:here
9115
9116         * buffer.C: and remove a using directive there
9117
9118 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9119
9120         * buffer.C (makeLaTeXFile): move the code that generates the
9121           preamble...
9122
9123         * bufferparams.C (writeLaTeX): ... in this new method
9124
9125         * LaTeXFeatures.C (getEncodingSet): make const
9126           (getLanguages): make const
9127
9128         * MenuBackend.C (binding): returns the binding associated to this
9129           action
9130           (add): sets the status of each item by calling getStatus. Adds
9131           some intelligence.
9132           (read): add support for OptSubMenu
9133           (expand): remove extra separator at the end of expanded menu
9134
9135 2003-02-15  John Levon  <levon@movementarian.org>
9136
9137         * BufferView.C:
9138         * BufferView_pimpl.C:
9139         * bufferlist.h:
9140         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9141           inset code that had no actual effect. Remove unneeded status
9142           code.
9143
9144 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9145
9146         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9147           in preamble
9148
9149 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9150
9151         * text.C (drawLengthMarker): also draw an arrow marker for
9152           symbolic lengths (medskip...)
9153
9154 2003-02-14  John Levon  <levon@movementarian.org>
9155
9156         * tabular.h:
9157         * tabular.C: better method names
9158
9159 2003-02-14  John Levon  <levon@movementarian.org>
9160
9161         * BufferView_pimpl.C:
9162         * bufferlist.C:
9163         * buffer.C:
9164         * converter.C:
9165         * lyx_cb.C:
9166         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9167           it's a more accurate name. Remove some pointless uses.
9168
9169 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9170
9171         * text2.C (LyXText): change order of initilizers to shut off
9172           warnings
9173
9174 2003-02-14  John Levon  <levon@movementarian.org>
9175
9176         * buffer.C: use ParIterator for getParFromID()
9177
9178         * paragraph.h:
9179         * paragraph.C:
9180         * paragraph_pimpl.h:
9181         * paragraph_pimpl.C: remove unused getParFromID()
9182
9183 2003-02-14  John Levon  <levon@movementarian.org>
9184
9185         * buffer.C: remove some very old #if 0'd parse code
9186
9187 2003-02-13  John Levon  <levon@movementarian.org>
9188
9189         * text.h:
9190         * text.C:
9191         * text2.C: move hfillExpansion(), numberOfSeparators(),
9192           rowLast(), rowLastPrintable(), numberofHfills(),
9193           numberOfLabelHfills() ...
9194
9195         * lyxrow.h:
9196         * lyxrow.C: ... to member functions here.
9197
9198         * paragraph.h:
9199         * paragraph.C:
9200         * lyxtext.h:
9201         * text.C: remove LyXText::beginningOfMainBody(), and call
9202           p->beginningOfMainBody() directly. Move the check for
9203           LABEL_MANUAL into the latter.
9204
9205         * text.h:
9206         * text.C:
9207         * text2.C:
9208         * vspace.C:
9209         * BufferView.h:
9210         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9211
9212         * text.h:
9213         * text.C:
9214         * text2.C:
9215         * text3.C:
9216         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9217           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9218
9219 2003-02-13  John Levon  <levon@movementarian.org>
9220
9221         * CutAndPaste.C: remove debug
9222
9223 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9224
9225         * paragraph.C (asString): remove two unused variables
9226
9227         * lyxtextclass.C (readTitleType):
9228           (Read):
9229           (LyXTextClass): handle new members titletype_ and titlename_
9230
9231         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9232
9233 2003-02-09  John Levon  <levon@movementarian.org>
9234
9235         * buffer.h:
9236         * buffer.C: replace hand-coded list with a map for the dep clean
9237
9238 2003-02-08  John Levon  <levon@movementarian.org>
9239
9240         * LaTeX.C: consolidate code into showRunMessage() helper
9241
9242 2003-02-08  John Levon  <levon@movementarian.org>
9243
9244         * lyxfind.C:
9245         * lyxtext.h:
9246         * text2.C:
9247         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9248           and pass the size in explicitly
9249
9250         * BufferView_pimpl.h:
9251         * BufferView_pimpl.C:
9252         * BufferView.h:
9253         * BufferView.C: add getCurrentChange()
9254
9255         * BufferView_pimpl.h:
9256         * BufferView_pimpl.C: handle change lfuns
9257
9258         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9259           for changes. Mark pasted paragraphs as new.
9260
9261         * support/lyxtime.h:
9262         * support/lyxtime.C:
9263         * DepTable.C: abstract time_t as lyx::time_type
9264
9265         * LColor.h:
9266         * LColor.C: add colours for new text, deleted text, changebars
9267
9268         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9269           package use "usenames" option.
9270
9271         * commandtags.h:
9272         * lyxfunc.C:
9273         * LyXAction.C: add change lfuns
9274
9275         * Makefile.am:
9276         * author.h:
9277         * author.C: author handling
9278
9279         * buffer.h:
9280         * buffer.C: add a per-buffer author list, with first entry as
9281           current author. Handle new .lyx tokens for change tracking. Output
9282           author list to .lyx file. Output dvipost stuff to .tex preamble.
9283           Bump lyx format to 222.
9284
9285         * bufferlist.h:
9286         * bufferlist.C: add setCurrentAuthor() to reset current author details
9287           in all buffers.
9288
9289         * bufferparams.h:
9290         * bufferparams.C: add param for tracking
9291
9292         * bufferview_funcs.C: output change info in minibuffer
9293
9294         * Makefile.am:
9295         * changes.h:
9296         * changes.C: add change-tracking structure
9297
9298         * debug.h:
9299         * debug.C: add CHANGES debug flag
9300
9301         * lyxfind.h:
9302         * lyxfind.C: add code for finding the next change piece
9303
9304         * lyxrc.h:
9305         * lyxrc.C: add user_name and user_email
9306
9307         * lyxrow.h:
9308         * lyxrow.C: add a metric for the top of the text line
9309
9310         * lyxtext.h:
9311         * text.C: implement accept/rejectChange()
9312
9313         * lyxtext.h:
9314         * text.C: paint changebars. Paint new/deleted text in the chosen
9315         colours. Strike through deleted text.
9316
9317         * paragraph.h:
9318         * paragraph.C:
9319         * paragraph_pimpl.h:
9320         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9321           in the current change to the insert functions. Rework erase to
9322           mark text as deleted, adding an eraseIntern() and a range-based
9323           erase(). Implement per-paragraph change lookup and
9324           accept/reject.
9325
9326         * paragraph_funcs.C: Fixup paste for change tracking.
9327
9328         * tabular.C: mark added row/columns as new.
9329
9330         * text.C: fix rowLast() to never return -1. Don't allow
9331           spellchecking of deleted text. Track transpose changes. Don't
9332           allow paragraph break or merge where appropriate.
9333
9334         * text2.C: leave cursor at end of selection after a cut.
9335
9336 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9337
9338         * text.C (getLengthMarkerHeight):
9339         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9340         visible on screen too.
9341
9342 2003-02-07  John Levon  <levon@movementarian.org>
9343
9344         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9345
9346 2003-02-05  Angus Leeming  <leeming@lyx.org>
9347
9348         * lyxserver.C (read_ready): revert my patch of 11 September last year
9349         as it sends PC cpu through the roof. Presumably this means that
9350         the lyxserver will no longer run on an Alpha...
9351
9352 2003-01-30  Angus Leeming  <leeming@lyx.org>
9353
9354         * factory.C (createInset): create an InsetCommandParam of type "index"
9355         and use it to 'do the right thing'.
9356
9357         * text2.C (getStringToIndex): ensure that cursor position is always
9358         reset to the reset_cursor position.
9359
9360 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9361
9362         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9363         disabled.
9364
9365 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9366
9367         * bufferview.C:
9368         * lyxcb.C:
9369         * lyxfunc.C: Output messages with identical spelling, punctuation,
9370         and spaces
9371
9372 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9373
9374         * MenuBackend.C (expandFormats): List only viewable export formats
9375         in "View" menu
9376
9377         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9378         message
9379
9380         * lyxfunc.C (getStatus): Make sure that formats other than
9381         "fax" can also be disabled
9382
9383 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9384
9385         * text3.C (dispatch): put the lfuns that insert insets in 3
9386         groups, and call doInsertInset with appropriate arguments.
9387         (doInsertInset): new function, that creates an inset and inserts
9388         it according to some boolean parameters.
9389
9390 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9391
9392         * buffer.C (readFile): remember to pass on 'par' when calling
9393         readFile recursively.
9394
9395 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9396
9397         * MenuBackend.C (expandFormats): add "..." to import formats.
9398
9399 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9400
9401         * paragraph.C (asString): Remove XForms RTL hacks.
9402
9403 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9404         * buffer.C: fix typo
9405
9406 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9407
9408         * Makefile.am (LIBS): delete var
9409         (lyx_LDADD): add @LIBS@ here instead.
9410
9411 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9412
9413         * Clarify the meaning of "wheel mouse jump"
9414
9415 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9416
9417         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9418         tabular in a float
9419
9420 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9421
9422         * importer.C (Loaders): do not preallocate 3 elements in the
9423         vector, since one ends up with 6 elements otherwise
9424
9425 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9426
9427         * DepTable.C (write): write the file name as last element of the
9428         .dep file (because it may contain spaces)
9429         (read): read info in the right order
9430
9431 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9432
9433         * paragraph_pimpl.C (simpleTeXBlanks):
9434         (simpleTeXSpecialChars):
9435         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9436
9437         * tabular.C (latex): add some missing case statements. Reindent.
9438
9439         * MenuBackend.C (expandToc): remove unused variable.
9440
9441 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9442
9443         * LColor.C:
9444         * LaTeX.C:
9445         * LyXAction.C:
9446         * MenuBackend.C:
9447         * buffer.C:
9448         * exporter.C:
9449         * lyxfunc.C:
9450         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9451         and the like.
9452
9453 2003-01-05  John Levon  <levon@movementarian.org>
9454
9455         * BufferView.h:
9456         * BufferView.C: add getEncoding()
9457
9458         * kbsequence.h:
9459         * kbsequence.C: do not store last keypress
9460
9461         * lyxfunc.h:
9462         * lyxfunc.C: store last keypress here instead. Pass encoding
9463           to getISOEncoded()
9464
9465 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9466
9467         * lyx_main.C (init): remove annoying error message when following
9468         symbolic links (bug #780)
9469
9470 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9471
9472         * text.C (insertChar):
9473         * lyxrc.C (getDescription): remove extra spaces
9474
9475 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9476
9477         * lyxrc.C (getDescription): remove extra spaces
9478
9479 2002-12-20  John Levon  <levon@movementarian.org>
9480
9481         * text3.C: hack fix for page up/down across tall rows
9482
9483 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9484
9485         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9486         not been invoked
9487
9488 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9489
9490         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9491         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9492         thesaurus is not compiled in
9493
9494 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9495
9496         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9497
9498 2002-12-16  Angus Leeming  <leeming@lyx.org>
9499
9500         * lyxrc.[Ch]:
9501         * lyx_main.C (init): remove override_x_deadkeys stuff.
9502
9503 2002-12-12  John Levon  <levon@movementarian.org>
9504
9505         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9506           insert. Only remove shift modifier under strict
9507           circumstances.
9508
9509 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9510
9511         * MenuBackend.C (expandToc): fix crash.
9512
9513 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9514
9515         * MenuBackend.C (expandToc): gettext on float names.
9516
9517 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9518
9519         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9520         implement bool empty() [bug 490]
9521
9522 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9523
9524         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9525
9526 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9527
9528         * several files: ws changes
9529
9530 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9531
9532         * text2.C (setCounter): clean up a bit, use boost.format.
9533         (updateCounters): initialize par upon declaration.
9534
9535         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9536         if the layout exists. We do not just store the layout any more.
9537         (SwitchLayoutsBetweenClasses): use boost.format
9538
9539 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9540
9541         * converter.C (convert): if from and to files are the same, use a
9542         temporary files as intermediary
9543
9544 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9545
9546         * commandtags.h:
9547         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9548
9549 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9550
9551         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9552
9553 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9554
9555         * tabular.C (asciiPrintCell): use string(size, char) instead of
9556         explicit loop.
9557
9558         * sgml.C (openTag): fix order of arguments to string constructor
9559         (closeTag): ditto
9560
9561         * lyxfunc.C (dispatch): use boost.format
9562
9563         * lots of files: change "c" -> 'c'
9564
9565 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9566
9567         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9568
9569 2002-11-25  Angus Leeming  <leeming@lyx.org>
9570
9571         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9572
9573         * lyx_main.C (init): compile fix.
9574
9575 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9576
9577         * lyx_cb.C (start): boost.formatify
9578         do not include <iostream>
9579
9580         * lengthcommon.C: ws only
9581
9582         * boost-inst.C,BoostFormat.h: add more explict instantations
9583
9584 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9585
9586         * lots of files: handle USE_BOOST_FORMAT
9587
9588 2002-11-21  John Levon  <levon@movementarian.org>
9589
9590         * pspell.C: fix compile
9591
9592 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9593
9594         * lyxfunc.C (dispatch): use boost::format
9595         (open): ditto
9596         (doImport): ditto
9597
9598         * lyxfont.C (stateText): use boost::format
9599
9600         * lyx_main.C (LyX): use boost::format
9601         (init): ditto
9602         (queryUserLyXDir): ditto
9603         (readRcFile): ditto
9604         (parse_dbg): ditto
9605         (typedef boost::function): use the recommened syntax.
9606
9607         * importer.C (Import): use boost::format
9608
9609         * debug.C (showLevel): use boost::format
9610
9611         * converter.C (view): use boost::format
9612         (convert): ditto
9613         (move): ditto
9614         (scanLog): ditto
9615
9616         * bufferview_funcs.C (currentState): use boost::format
9617
9618         * bufferlist.C (emergencyWrite): use boost::format
9619
9620         * buffer.C (readLyXformat2): use boost::format
9621         (parseSingleLyXformat2Token): ditto
9622
9623         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9624
9625         * LaTeX.C (run): use boost::format
9626
9627         * Chktex.C (scanLogFile): use boost::format
9628
9629         * BufferView_pimpl.C (savePosition): use boost::format
9630         (restorePosition): ditto
9631         (MenuInsertLyXFile): ditto
9632
9633         * BoostFormat.h: help file for explicit instation.
9634
9635 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9636
9637         * tabular.C (latex): Support for block alignment in fixed width
9638         columns.
9639
9640 2002-11-17  John Levon  <levon@movementarian.org>
9641
9642         * BufferView_pimpl.C:
9643         * lyx_cb.C:
9644         * lyxfunc.C: split filedialog into open/save
9645
9646 2002-11-08  Juergen Vigna  <jug@sad.it>
9647
9648         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9649         by my last patch (hopefully).
9650
9651 2002-11-08  John Levon  <levon@movementarian.org>
9652
9653         * iterators.h:
9654         * iterators.C:
9655         * buffer.h:
9656         * buffer.C:
9657         * paragraph.h:
9658         * paragraph.C:
9659         * toc.h:
9660         * toc.C: ParConstIterator, and use it (from Lars)
9661
9662 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9663
9664         * lyxtextclass.[Ch]: revise and add doxygen comments
9665
9666 2002-11-07  John Levon  <levon@movementarian.org>
9667
9668         * text.C: fix progress value for spellchecker
9669
9670         * toc.C: fix navigate menu for insetwrap inside minipage
9671
9672         * paragraph_funcs.C: added FIXME for suspect code
9673
9674 2002-11-07  John Levon  <levon@movementarian.org>
9675
9676         * BufferView_pimpl.C: fix redrawing of insets
9677           on buffer switch
9678
9679 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9680
9681         * text2.C (updateCounters): fix bug 668
9682
9683 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9684
9685         * text3.C (dispatch): Do not make the buffer dirty when moving the
9686         cursor.
9687
9688 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9689
9690         * vc-backend.C: STRCONV
9691         (scanMaster): ditto
9692
9693         * text2.C (setCounter): STRCONV
9694
9695         * paragraph.C (asString): STRCONV
9696
9697         * lyxlength.C (asString): STRCONV
9698         (asLatexString): ditto
9699
9700         * lyxgluelength.C (asString): STRCONV
9701         (asLatexString): ditto
9702
9703         * lyxfunc.C (dispatch): STRCONV
9704         (open): ditto
9705
9706         * lyxfont.C (stateText): STRCONV
9707
9708         * importer.C (Import): STRCONV
9709
9710         * counters.C (labelItem): STRCONV
9711         (numberLabel): ditto
9712         (numberLabel): remove unused ostringstream o
9713
9714         * chset.C: STRCONV
9715         (loadFile): ditto
9716
9717         * bufferview_funcs.C (currentState): STRCONV
9718
9719         * buffer.C (readFile): STRCONV
9720         (asciiParagraph): ditto
9721         (makeLaTeXFile): ditto
9722
9723         * Spacing.C (writeEnvirBegin): STRCONV
9724
9725         * LaTeXFeatures.C (getLanguages): STRCONV
9726         (getPackages): ditto
9727         (getMacros): ditto
9728         (getBabelOptions): ditto
9729         (getTClassPreamble): ditto
9730         (getLyXSGMLEntities): ditto
9731         (getIncludedFiles): ditto
9732
9733         * LaTeX.C: STRCONV
9734         (run): ditto
9735         (scanAuxFile): ditto
9736         (deplog): ditto
9737
9738         * LString.h: add the STRCONV macros
9739
9740         * BufferView_pimpl.C (savePosition): STRCONV
9741         (restorePosition): ditto
9742         (MenuInsertLyXFile): ditto
9743
9744         * vc-backend.C (scanMaster): change from submatch[...] to
9745         submatch.str(...)
9746
9747         * funcrequest.C: include config.h
9748
9749         * factory.C: include config.h
9750
9751         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9752
9753         * box.C: include config.h
9754
9755         * LaTeX.C (scanAuxFile): change from submatch[...] to
9756         submatch.str(...)
9757         (deplog): ditto
9758
9759 2002-10-25  Angus Leeming  <leeming@lyx.org>
9760
9761         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9762
9763         * ispell.[Ch] (setError): new method.
9764         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9765         Use setError() insetead of goto END.
9766
9767         * lyx_cb.C (AutoSave): move out child process into new class
9768         AutoSaveBuffer.
9769
9770 2002-10-30  John Levon  <levon@movementarian.org>
9771
9772         * text3.C: make start appendix undoable
9773
9774 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9775
9776         * lyxlength.C (inPixels): Fix returned value.
9777
9778         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9779         environment.
9780
9781 2002-10-24  Angus Leeming  <leeming@lyx.org>
9782
9783         * lyxgluelength.h: no need to forward declare BufferParams
9784         or BufferView, so don't.
9785
9786 2002-10-21  John Levon  <levon@movementarian.org>
9787
9788         * BufferView.C: menuUndo ->undo, redo
9789
9790         * BufferView.h: document, remove dead, make some methods private
9791
9792         * paragraph_funcs.h:
9793         * paragraph_funcs.C:
9794         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9795
9796         * buffer.h:
9797         * buffer.C:
9798         * sgml.h:
9799         * sgml.C: move sgml open/close tag into sgml.C
9800
9801         * bufferview_funcs.h: unused prototype
9802
9803         * lyxfunc.h:
9804         * lyxfunc.C: remove unused
9805
9806         * lyxtext.h:
9807         * text.C: remove unused
9808
9809 2002-10-21  John Levon  <levon@movementarian.org>
9810
9811         * BufferView.h:
9812         * BufferView.C:
9813         * BufferView_pimpl.h:
9814         * BufferView_pimpl.C: fix mouse wheel handling based on
9815           patch from Darren Freeman
9816
9817 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9818
9819         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9820
9821 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9822
9823         * lyxlength.C (inPixels): Fix hanfling of negative length.
9824         Fix LyXLength::MU case.
9825
9826 2002-10-16  John Levon  <levon@movementarian.org>
9827
9828         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9829
9830 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9831
9832         * converter.C (view): add support for $$i (file name) and $$p
9833         (file path) for the viewer command. If $$i is not specified, then
9834         it is appended to the command (for compatibility with old syntax)
9835
9836 2002-10-14  Juergen Vigna  <jug@sad.it>
9837
9838         * undo_funcs.C (textHandleUndo): alter the order in which the
9839         new undopar is added to the LyXText, as we have to set first
9840         the right prev/next and then add it as otherwise the rebuild of
9841         LyXText is not correct. Also reset the cursor to the right paragraph,
9842         with this IMO we could remove the hack in "redoParagraphs()".
9843
9844 2002-10-09  Angus Leeming  <leeming@lyx.org>
9845
9846         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9847         to turn off an optimisation if a new inset is to be inserted.
9848
9849 2002-10-11 André Pönitz <poenitz@gmx.net>
9850
9851         * lyxtext.h: make some functions public to allow access
9852         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9853
9854 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9855
9856         * text3.C (dispatch): when changing layout, avoid an infinite loop
9857         [bug #652]
9858
9859 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9860
9861         * lyxrc.C (read): treat a viewer or converter command of "none" as
9862         if it were empty.
9863
9864         * MenuBackend.C (expandFormats): for an update, also allow the
9865         formats that are not viewable
9866
9867         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9868         script if it is newer than the lyxrc.defaults in user directory
9869
9870 2002-10-07 André Pönitz <poenitz@gmx.net>
9871
9872         * text.C: Vitaly Lipatov's small i18n fix
9873
9874 2002-09-25  Angus Leeming  <leeming@lyx.org>
9875
9876         * ispell.h: doxygen fix.
9877
9878 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9879
9880         * buffer.h (readFile): Add a new argument to the method, to allow
9881         reading of old-format templates.
9882
9883 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9884
9885         * toc.C (getTocList): Get TOC from InsetWrap.
9886
9887 2002-09-16  John Levon  <levon@movementarian.org>
9888
9889         * lyxfunc.C: check tabular for cut/copy too
9890
9891 2002-09-12  John Levon  <levon@movementarian.org>
9892
9893         * LyXAction.C: tidy
9894
9895         * factory.h:
9896         * factory.C: add header
9897
9898         * paragraph_funcs.h:
9899         * paragraph_funcs.C: cleanup
9900
9901 2002-09-11  John Levon  <levon@movementarian.org>
9902
9903         * PrinterParams.h: odd/even default to true
9904
9905 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9906
9907         * PrinterParams.h: update printer parameters for new xforms dialog
9908
9909 2002-09-11  Angus Leeming  <leeming@lyx.org>
9910
9911         * lyxserver.C (read_ready): re-write to make it more transparent
9912         and to make it work in coherent fashion under Tru64 Unix.
9913
9914 2002-09-11  André Pönitz <poenitz@gmx.net>
9915
9916         * commandtags.h:
9917         * LyXAction.C:
9918         * text3.C: implement LFUN_WORDSEL
9919
9920 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9921
9922         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9923         make floatlist_ a boost::shared_ptr<FloatList>
9924
9925         * lyxtextclass.C: include FloatList.h
9926         (LyXTextClass): initialize floatlist_
9927         (TextClassTags): add TC_NOFLOAT
9928         (Read): match "nofloat" to TC_NOFLOAT and use it.
9929         (readFloat): modify call to floatlist_
9930         (floats): ditto
9931         (floats): ditto
9932
9933         * FloatList.[Ch] (FloatList): remove commented out float
9934         initialization.
9935         (erase): new function
9936
9937 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9938
9939         * MenuBackend.C (expandToc): fix crash when there is no document
9940         open
9941
9942 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9943
9944         * many files: Add insetwrap.
9945
9946 2002-09-09  John Levon  <levon@movementarian.org>
9947
9948         * text2.C: remove confusing and awkward depth wraparound
9949
9950 2002-09-09  John Levon  <levon@movementarian.org>
9951
9952         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9953
9954         * buffer.h:
9955         * buffer.C: remove getIncludeonlyList()
9956
9957         * paragraph.C:
9958         * lyxfunc.C: remove headers
9959
9960 2002-09-09  Juergen Vigna  <jug@sad.it>
9961
9962         * text.C (getColumnNearX): fix form Michael this is most
9963         probably a cut&paste bug.
9964
9965 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9966
9967         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9968
9969         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9970         references, ws changes.
9971
9972         * text2.C (init): update counters after init
9973         (insertParagraph): no need to set counter on idividual paragraphs.
9974         (setCounter): access the counters object in the textclass object
9975         on in the buffer object.
9976         (updateCounters): ditto
9977
9978         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9979         shared_ptr<Counters> to avoid loading counters.h in all
9980         compilation units.
9981         (LyXTextClass): initialize ctrs_
9982         (TextClassTags): add TC_COUNTER, and ...
9983         (Read): use it here.
9984         (CounterTags): new tags
9985         (readCounter): new function
9986         (counters): new funtion
9987         (defaultLayoutName): return a const reference
9988
9989         * counters.C (Counters): remove contructor
9990         (newCounter): remove a couple of unneeded statements.
9991         (newCounter): simplify a bit.
9992         (numberLabel): some small formatting changes.
9993
9994         * buffer.[Ch]: remove all traces of counters, move the Counters
9995         object to the LyXTextClass.
9996
9997 2002-09-06  Alain Castera  <castera@in2p3.fr>
9998
9999         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10000         package to set the horizontal alignment on fixed width columns.
10001
10002         * lyx_sty.C:
10003         * lyx_sty.h: added tabularnewline macro def.
10004
10005         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10006
10007 2002-09-06  John Levon  <levon@movementarian.org>
10008
10009         * LyXAction.C: tooltips for sub/superscript
10010
10011         * MenuBackend.C: a bit more verbose
10012
10013         * lyxfunc.C: tiny clean
10014
10015         * undo_funcs.C: document undo_frozen
10016
10017 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10018
10019         * counters.C (Counters): add missing algorithm counter.
10020
10021         * text2.C (setCounter): lookup the counter with layouts latexname
10022         instead of by section number.
10023         (setCounter): use a hackish way to lookup the correct enum
10024         counter.
10025         a float name->type change
10026         reset enum couners with counter name directly instead of depth value.
10027
10028         * counters.C (Counters): remove the push_backs, change to use the
10029         float type not the float name.
10030         (labelItem): remove unused string, float name->type change
10031
10032         * counters.h: don't include vector, loose the enums and sects vectors
10033
10034 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10035
10036         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10037         (Read): add float->TC_FLOAT to textclassTags
10038         (Read): and handle it in the switch
10039         (readFloat): new function
10040
10041         * FloatList.C (FloatList): comment out the hardcoded float
10042         definitions.
10043
10044         * lyxlayout.h: ws change.
10045
10046 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10047
10048         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10049
10050 2002-09-03  Angus Leeming  <leeming@lyx.org>
10051
10052         * BufferView_pimpl.h: qualified name is not allowed in member
10053         declaration: WorkArea & Pimpl::workarea() const;
10054
10055         * factory.C: added using std::endl directive.
10056
10057         * text3.C: added using std::find and std::vector directives.
10058
10059 2002-08-29  André Pönitz <poenitz@gmx.net>
10060
10061         * lyxtext.h:
10062         * text2.C: remove unused member number_of_rows
10063
10064         * Makefile.am:
10065         * BufferView2.C: remove file, move contents to...
10066         * BufferView.C: ... here
10067
10068         * BufferView_pimpl.C:
10069         * factory.C: move more inset creation to factory
10070
10071         * vspace.C: avoid direct usage of LyXText, ws changes
10072
10073         * BufferView.[Ch]:
10074                 don't provide direct access to WorkArea, use two simple
10075                 acessors haveSelction() and workHeight() instead
10076
10077
10078 2002-08-29  John Levon  <levon@movementarian.org>
10079
10080         * BufferView_pimpl.C (dispatch): do not continue when
10081           no buffer
10082
10083 2002-08-28  André Pönitz <poenitz@gmx.net>
10084
10085         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10086
10087         * BufferView.h:
10088         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10089
10090 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10091
10092         * buffer.C: increment LYX_FORMAT to 221
10093
10094         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10095         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10096
10097         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10098
10099         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10100
10101 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10102
10103         * factory.C (createInset): use LyXTextClass::floats
10104
10105         * MenuBackend.C (expandFloatListInsert):
10106         (expandFloatInsert):
10107         (expandToc):
10108
10109         * text2.C (setCounter):
10110
10111         * LaTeXFeatures.C (useFloat):
10112         (getFloatDefinitions):
10113
10114         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10115
10116         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10117         floatlist_, with accessor floats().
10118
10119         * FloatList.h: remove global FloatList
10120
10121 2002-08-26  André Pönitz <poenitz@gmx.net>
10122
10123         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10124
10125         * BufferView.h:
10126         * BufferView2.C:
10127         * BufferView_pimpl.C:
10128         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10129
10130 2002-08-25  John Levon  <levon@movementarian.org>
10131
10132         * LyXAction.C: fix margin note description
10133
10134 2002-08-24  John Levon  <levon@movementarian.org>
10135
10136         * buffer.C:
10137         * bufferlist.C:
10138         * bufferview_funcs.C:
10139         * lyxfont.C:
10140         * undo_funcs.C: cleanups
10141
10142         * lyxfunc.C: disable CUT/COPY when no selection
10143
10144 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10145
10146         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10147         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10148
10149         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10150         Add backward compatibility to "mono", "gray" and "no".
10151
10152 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10153
10154         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10155         (and file_format >= 200).
10156
10157 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10158
10159         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10160
10161 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10162
10163         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10164
10165 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10166
10167         * BufferView_pimpl.C:
10168         * LyXAction.C:
10169         * buffer.C:
10170         * commandtags.h:
10171         * lyxfunc.C:
10172         * paragraph.[Ch]:
10173         * text2.C:
10174         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10175         inset and code to make it  work with the paragraph code. The inset
10176         can be anywhere in the paragraph, but will only do the expected
10177         thing in LaTeX if the layout file contains the parameter line
10178                         OptionalArgs    1
10179         (or more generally, a nonzero value) for that layout.
10180
10181 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10182
10183         * paragraph.h: remove the declaration of undefined counters class
10184         function.
10185
10186 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10187
10188         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10189         Dr. Richard Hawkins.
10190
10191 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10192
10193         * paragraph_funcs.h: remove some unneeded includes
10194
10195         * text.C (backspace): pasteParagraph now in global scipe
10196
10197         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10198         (pasteSelection): ditto
10199
10200         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10201         * paragraph_funcs.C (pasteParagraph): ... here
10202
10203 2002-08-20  André Pönitz <poenitz@gmx.net>
10204
10205         * commandtags.h: new LFUNs for swapping/copying table row/colums
10206
10207         * LyXAction.C:
10208         * lyxfunc.C: support for new lfuns
10209
10210 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10211
10212         * tabular.C:
10213         * buffer.[Ch]: remove NO_COMPABILITY stuff
10214
10215 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10216
10217         * boost.C (throw_exception): new file, with helper function for
10218         boost compiled without exceptions.
10219
10220         * paragraph.h:
10221         * lyxlength.C:
10222         * buffer.C:
10223         * ParameterStruct.h:
10224         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10225
10226         * bufferlist.C (emergencyWriteAll): use boost bind
10227
10228         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10229
10230         * text.C: include paragraph_funcs.h
10231         (breakParagraph): breakParagraph is now in global scope
10232
10233         * paragraph_funcs.[Ch]: new files
10234
10235         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10236         global scope
10237
10238         * buffer.C: include paragraph_funcs.h
10239         (insertStringAsLines): breakParagraph is now in global scope
10240
10241         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10242         paragraph_funcs.C
10243
10244         * CutAndPaste.C: include paragraph_funcs.h
10245         (cutSelection): breakParagraphConservative is now in global scope
10246         (pasteSelection): ditto
10247
10248         * buffer.h: declare oprator== and operator!= for
10249         Buffer::inset_iterator
10250
10251         * bufferlist.C (emergencyWrite): don't use fmt(...)
10252
10253         * text3.C: add using std::endl
10254
10255         * BufferView.C (moveCursorUpdate): remove default arg
10256
10257 2002-08-20  André Pönitz <poenitz@gmx.net>
10258
10259         * buffer.[Ch]: move inline functions to .C
10260
10261         * BufferView2.C:
10262         * BufferView_pimpl.C:
10263         * text.C:
10264         * buffer.[Ch]: use improved inset_iterator
10265
10266         * buffer.C:
10267         * paragraph.[Ch]: write one paragraph at a time
10268
10269 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10270
10271         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10272         style if style is not specified.
10273
10274 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10275
10276         * text2.C (setCounter): when searching for right label for a
10277         caption, make sure to recurse to parent insets (so that a caption
10278         in a minipage in a figure float works) (bug #568)
10279
10280 2002-08-20  André Pönitz <poenitz@gmx.net>
10281
10282         * text3.C: new file for LyXText::dispatch() and helpers
10283
10284         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10285
10286         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10287
10288 2002-08-19  André Pönitz <poenitz@gmx.net>
10289
10290         * lyxtext.h:
10291         * text.C: new LyXText::dispatch()
10292
10293         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10294
10295 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10296
10297         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10298
10299         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10300         Hebrew text.
10301
10302 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10303
10304         * Makefile.am: use $(variables) instead of @substitutions@
10305
10306 2002-08-15  André Pönitz <poenitz@gmx.net>
10307
10308         * lyxfunc.C:
10309         * BufferView_pimpl.C: streamlining mathed <-> outer world
10310         interaction
10311
10312         * commandtags.h:
10313         * LyXAction.C: remove unused LFUN_MATH
10314
10315 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10316
10317         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10318
10319 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10320
10321         * paragraph.C (Paragraph): reformat a bit
10322         (cutIntoMinibuffer): use builtin InsetList function instad of
10323         doing it manually.
10324         (getInset): ditto
10325
10326         * buffer.C: include boost/bind.hpp, add using std::for_each
10327         (writeFileAscii): use ParagraphList iterators
10328         (validate): use for_each for validate traversal of paragraphs
10329         (getBibkeyList): use ParagraphList iterators
10330         (resizeInsets): use for_each to resizeInsetsLyXText for all
10331         paragraphs.
10332         (getParFromID): use ParagraphList iterators
10333
10334         * BufferView2.C (lockInset): use paragraph list and iterators
10335
10336 2002-08-14  John Levon  <levon@movementarian.org>
10337
10338         * lyxserver.C: remove spurious xforms include
10339
10340 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10341
10342         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10343
10344 2002-08-13  André Pönitz <poenitz@gmx.net>
10345
10346         * LyXAction.[Ch]:
10347         * lyxfunc.C: further cleaning
10348
10349 2002-08-13  André Pönitz <poenitz@gmx.net>
10350
10351         * funcrequest.h: new constructor
10352
10353         * funcrequest.C: move stuff here from .h
10354
10355         * Makefile.am:
10356         * BufferView_pimpl.C:
10357         * LyXAction.C:
10358         * toc.C:
10359         * lyxfunc.C: subsequent changes
10360
10361         * lyxfunc.h: new view() member function
10362
10363         * lyxfunc.C: subsequent changes
10364
10365 2002-08-13  Angus Leeming  <leeming@lyx.org>
10366
10367         * BufferView2.C:
10368         * BufferView_pimpl.C:
10369         * buffer.C:
10370         * converter.C:
10371         * importer.C:
10372         * lyxfunc.C:
10373         * lyxvc.C:
10374         * toc.C:
10375         * vc-backend.C:
10376         changes due to the changed LyXView interface that now returns references
10377         to member variables not pointers.
10378
10379 2002-08-13  Angus Leeming  <leeming@lyx.org>
10380
10381         * WordLangTuple (word, lang_code): return references to strings,
10382         not strings.
10383
10384         * BufferView.h:
10385         * SpellBase.h:
10386         * lyxtext.h: forward-declare WordLangTuple.
10387
10388         * BufferView2.C:
10389         * ispell.C:
10390         * pspell.C:
10391         * text.C: #include "WordLangTuple.h".
10392
10393         * lyxtext.h:
10394         * text.C: (selectNextWordToSpellcheck): constify return type.
10395
10396 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10397
10398         * buffer.C:
10399         * buffer.h:
10400         * lyxtext.h:
10401         * paragraph.C:
10402         * paragraph_pimpl.h:
10403         * text.C:
10404         * text2.C:
10405         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10406         suggested by Angus.
10407         Made updateCounter always count from start of buffer, and removed
10408         second argument (par).
10409         Reverted floats number display to '#'. Perhaps I'll try again when the
10410         code base is sanitized a bit.
10411
10412 2002-08-12  Angus Leeming  <leeming@lyx.org>
10413
10414         * buffer.[Ch] (getLabelList): constify.
10415
10416 2002-08-07  André Pönitz <poenitz@gmx.net>
10417
10418         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10419
10420         * funcrequest.h: extension to keep mouse (x,y) position
10421
10422 2002-08-12  Juergen Vigna  <jug@sad.it>
10423
10424         * BufferView2.C (insertErrors): forbid undo when inserting error
10425         insets.
10426
10427         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10428
10429 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10430
10431         * ParagraphList.[Ch]: new files
10432
10433         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10434
10435         * BufferView2.C (lockInset): ParagraphList changes
10436         * toc.C: ditto
10437         * text2.C: ditto
10438         * bufferlist.C: ditto
10439         * buffer.h: ditto
10440         * buffer.C: ditto
10441
10442 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10443
10444         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10445         unused class variable counter_,
10446
10447         * paragraph.[Ch] (getFirstCounter): delete unused function
10448
10449         * counters.C: include LAssert.h
10450         (reset): add a new function with no arg, change other version to
10451         not have def. arg and to not allow empty arg.
10452
10453         * text2.C (setCounter): remove empty arg from call to Counters::reset
10454
10455 2002-08-11  John Levon  <levon@movementarian.org>
10456
10457         * Makefile.am: add WordLangTuple.h
10458
10459 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10460
10461         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10462         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10463
10464         * insets/insettext.C: InsetList changes
10465
10466         * graphics/GraphicsSupport.C (operator()): InsetList changes
10467
10468         * toc.C (getTocList): InsetList changes
10469
10470         * paragraph_pimpl.[Ch]: InsetList changes
10471
10472         * paragraph.[Ch]: InsetList changes
10473
10474         * buffer.C (inset_iterator): InsetList changes
10475         (setParagraph): ditto
10476         * buffer.h (inset_iterator): ditto
10477         * iterators.C (operator++): ditto
10478         * iterators.h: ditto
10479
10480         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10481
10482         * InsetList.[Ch]: new files, most InsetList handling moved out of
10483         paragraph.C.
10484
10485         * BufferView2.C (removeAutoInsets): InsetList changes
10486         (lockInset): ditto
10487         (ChangeInsets): ditto
10488
10489 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10490
10491         * paragraph_pimpl.h (empty): new function
10492
10493         * paragraph.[Ch] (empty): new function
10494
10495         * other files: use the new Paragraph::empty function
10496
10497 2002-08-09  John Levon  <levon@movementarian.org>
10498
10499         * lyxtext.h: remove unused refresh_height
10500
10501 2002-08-09  John Levon  <levon@movementarian.org>
10502
10503         * Makefile.am:
10504         * sgml.h:
10505         * sgml.C:
10506         * buffer.C:
10507         * paragraph.h:
10508         * paragraph.C: move sgml char escaping out of paragraph
10509
10510         * paragraph.h:
10511         * paragraph.C: remove id setter
10512
10513         * buffer.C:
10514         * paragraph.C:
10515         * paragraph_pimpl.C: remove dead tex_code_break_column
10516
10517         * bufferview_funcs.C: small cleanup
10518
10519         * lyxfunc.C: remove dead proto
10520
10521         * lyxtext.h: make some stuff private. Remove some dead stuff.
10522
10523         * lyxgluelength.C: make as[LyX]String() readable
10524
10525 2002-08-08  John Levon  <levon@movementarian.org>
10526
10527         * LyXAction.h:
10528         * LyXAction.C:
10529         * MenuBackend.C:
10530         * ToolbarDefaults.C:
10531         * lyxfunc.C:
10532         * lyxrc.C:
10533         * toc.C: lyxaction cleanup
10534
10535 2002-08-08  John Levon  <levon@movementarian.org>
10536
10537         * BufferView2.C: small cleanup
10538
10539         * lyxfind.h:
10540         * lyxfind.C: move unnecessary header into the .C
10541
10542 2002-08-08  John Levon  <levon@movementarian.org>
10543
10544         * funcrequest.h: just tedious nonsense
10545
10546         * lyx_main.h:
10547         * lyx_main.C: cleanups
10548
10549         * buffer.C:
10550         * vspace.C: remove dead header lyx_main.h
10551
10552 2002-08-07  Angus Leeming  <leeming@lyx.org>
10553
10554         * Paragraph.[Ch]:
10555         * paragraph_pimpl.h:
10556         Forward declare class Counters in paragraph.h by moving the ctrs member
10557         variable into Paragraph::Pimpl.
10558         (counters): new method, returning a reference to pimpl_->ctrs.
10559
10560         * text2.C: ensuing changes.
10561
10562 2002-08-07  John Levon  <levon@movementarian.org>
10563
10564         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10565
10566         * BufferView_pimpl.C: announce X selection on double/triple
10567           click
10568
10569         * lyx_main.C: use correct bool in batch dispatch
10570
10571         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10572
10573 2002-08-07  André Pönitz <poenitz@gmx.net>
10574
10575         * funcrequest.h: new class to wrap a kb_action and its argument
10576
10577         * BufferView.[Ch]:
10578         * BufferView_pimpl[Ch]:
10579         * LaTeX.C:
10580         * LyXAction.[Ch]:
10581         * lyxfunc.[Ch]:
10582         * lyxrc.C: subsequent changes
10583
10584
10585 2002-08-07  John Levon  <levon@movementarian.org>
10586
10587         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10588           document options change.
10589
10590 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10591
10592         * counters.[Ch]
10593         * text2.C
10594         * paragraph.[Ch]
10595         * makefile.am: move counters functionality over from
10596         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10597
10598 2002-08-06  John Levon  <levon@movementarian.org>
10599
10600         * WordLangTuple.h: new file for word + language code tuple
10601
10602         * SpellBase.h:
10603         * pspell.h:
10604         * pspell.C:
10605         * ispell.h:
10606         * ispell.C:
10607         * lyxtext.h:
10608         * text.C:
10609         * text2.C:
10610         * BufferView.h:
10611         * BufferView2.C: use WordLangTuple
10612
10613         * layout.h:
10614         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10615
10616 2002-08-06  John Levon  <levon@movementarian.org>
10617
10618         * lyx_main.C: fix cmdline batch handling
10619
10620 2002-08-06  André Pönitz <poenitz@gmx.net>
10621
10622         * lyxrc.C: set default for show_banner to true
10623
10624 2002-08-06  John Levon  <levon@movementarian.org>
10625
10626         * pspell.C: fix a crash, and allow new aspell to work
10627
10628 2002-08-06  John Levon  <levon@movementarian.org>
10629
10630         * lyxfunc.C:
10631         * kbmap.C: small cleanup
10632
10633         * vspace.h:
10634         * vspace.C: add const
10635
10636 2002-08-05  John Levon  <levon@movementarian.org>
10637
10638         * LyXAction.C: back to tabular-insert
10639
10640 2002-08-04  John Levon  <levon@movementarian.org>
10641
10642         * BufferView.h:
10643         * BufferView.C: cosmetic change
10644
10645         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10646
10647         * bufferlist.C:
10648         * buffer.h:
10649         * buffer.C:
10650         * lyxcb.h:
10651         * lyxcb.C:
10652         * lyxserver.C:
10653         * lyxvc.C:
10654         * vc-backend.C:
10655         * BufferView2.C: purge all "Lyx" not "LyX" strings
10656
10657         * lyxcursor.h:
10658         * lyxcursor.C: attempt to add some documentation
10659
10660         * lyxfunc.C:
10661         * commandtags.h:
10662         * LyXAction.C:
10663         * ToolbarDefaults.C:
10664         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10665           merge with LFUN_TABULAR_INSERT
10666
10667         * Makefile.am:
10668         * SpellBase.h:
10669         * ispell.h:
10670         * ispell.C:
10671         * pspell.h:
10672         * pspell.C: split up i/pspell implementations into separate
10673           files, many cleanups
10674
10675         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10676
10677         * text2.C: some cleanup
10678
10679         * lyxfunc.C: don't check for isp_command == "none" any more, it
10680           didn't make any sense
10681
10682 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10683
10684         * counters.[Ch]
10685         * text2.C
10686         * paragraph.[Ch]
10687         * makefile.am: move counters functionality over
10688         from text2.C/paragraph.[Ch] to counters.[Ch], and
10689         make proper C++.
10690 2002-08-02  John Levon  <levon@movementarian.org>
10691
10692         * buffer.C: s/lyxconvert/lyx2lyx/
10693
10694 2002-08-02  Angus Leeming  <leeming@lyx.org>
10695
10696         * lyxlex.C: revert John's change as it breaks reading of the user
10697         preamble.
10698
10699 2002-08-02  Angus Leeming  <leeming@lyx.org>
10700
10701         * importer.C (Import):
10702         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10703         changes due to LyXView::view() now returning a boost::shared_ptr.
10704
10705 2002-08-02  John Levon  <levon@movementarian.org>
10706
10707         * lyxlex.C: small cleanup
10708
10709 2002-08-02  John Levon  <levon@movementarian.org>
10710
10711         * text2.C (status): small cleanup, no logic change
10712
10713 2002-08-01  John Levon  <levon@movementarian.org>
10714
10715         * buffer.h:
10716         * buffer.C (writeFile): don't output alerts, caller
10717           handles this
10718
10719         * bufferlist.C:
10720         * lyx_cb.C: from above
10721
10722         * lyxfunc.C: allow to open non-existent files
10723
10724 2002-07-31  John Levon  <levon@movementarian.org>
10725
10726         * lyxserver.C: don't let incidental errors get
10727           in the way (errno)
10728
10729 2002-07-30  John Levon  <levon@movementarian.org>
10730
10731         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10732
10733 2002-07-30  John Levon  <levon@movementarian.org>
10734
10735         * lyxserver.h:
10736         * lyxserver.C: remove I/O callback too
10737
10738 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10739
10740         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10741         log.
10742
10743 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10744
10745         * many files: strip,frontStrip -> trim,ltrim,rtrim
10746
10747 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10748
10749         * PrinterParams.h: remove extern containsOnly, and include
10750         support/lstrings.h instead.
10751
10752         * LaTeX.C (scanAuxFile): modify because of strip changes
10753         (deplog): ditto
10754         * buffer.C (makeLaTeXFile): ditto
10755         * bufferparams.C (writeFile): ditt
10756         * lyxfont.C (stateText): ditto
10757         * lyxserver.C (read_ready): ditto
10758         * vc-backend.C (scanMaster): ditto
10759
10760         * BufferView_pimpl.h: ws changes
10761
10762         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10763
10764 2002-07-26  André Pönitz <poenitz@gmx.net>
10765
10766         * kb_sequence.C: remove unnedred usings
10767
10768 2002-07-26  Juergen Vigna  <jug@sad.it>
10769
10770         * lyxfind.C (LyXReplace): we have to check better if the returned
10771         text is not of theLockingInset()->getLockingInset().
10772
10773 2002-07-25  Juergen Vigna  <jug@sad.it>
10774
10775         * lyxfind.C (LyXReplace): don't replace if we don't get the
10776         right LyXText.
10777
10778         * undo_funcs.C (createUndo): remove debugging code.
10779
10780 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10781
10782         * buffer.C (parseSingleLyXformat2Token): Use default placement
10783         when reading old floats.
10784
10785         * FloatList.C (FloatList): Change the default placement of figure
10786         and tables to "tbp".
10787
10788 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10789
10790         * MenuBackend.C: using std::max
10791
10792 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10793
10794         * MenuBackend.C (expandToc):
10795         (expandToc2): code moved from xforms menu frontend. It is now
10796         generic and TOCs are transparent to menu frontends.
10797
10798 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10799
10800         * toc.C (getTocList): protect against buf=0
10801
10802         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10803         Menu as first parameter. Now, this calls itself recursively to
10804         expand a whole tree (this will be useful for TOC handling)
10805         (expandFloatInsert): remove 'wide' version of floats
10806
10807         * MenuBackend.h (submenuname): returns the name of the submenu.
10808         (submenu): returns the submenu itself, provided it has been
10809         created by MenuBackend::expand
10810
10811 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10812
10813         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10814         insets which have noFontChange == true. (bug #172)
10815
10816 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10817
10818         * BufferView_pimpl.C: add connection objects and use them...
10819         (Pimpl): here.
10820
10821 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10822
10823         * MenuBackend.C (expandLastfiles):
10824         (expandDocuments):
10825         (expandFormats):
10826         (expandFloatListInsert):
10827         (expandFloatInsert):
10828         (expand): split expand in parts
10829
10830 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10831
10832         * lyx_gui.C: use lyx_gui::exit()
10833
10834 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10835
10836         * LyXAction.C: show the failing pseudo action
10837
10838 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10839
10840         * buffer.C (readFile): Run the lyxconvert script in order to read
10841         old files.
10842
10843 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10844
10845         * LyXAction.C:
10846         * commandtags.h:
10847         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10848
10849 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10850
10851         * LyXAction.C:
10852         * commandtags.h:
10853         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10854
10855 2002-07-22  Herbert Voss  <voss@lyx.org>
10856
10857         * lengthcommon.C:
10858         * lyxlength.[Ch]: add support for the vertical lengths
10859
10860 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10861
10862         * toc.[Ch]: std:: fixes
10863
10864 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10865
10866         * lyxrc.C: do not include lyx_main.h
10867
10868         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10869         for layouts
10870
10871         * lyxrc.C:
10872         * encoding.C:
10873         * bufferlist.C:
10874         * BufferView2.C: include "lyxlex.h"
10875
10876         * tabular.h:
10877         * bufferparams.h: do not #include "lyxlex.h"
10878
10879         * lyxtextclasslist.C (Add): remove method
10880         (classlist): renamed to classlist_
10881
10882         * paragraph_pimpl.C:
10883         * paragraph.C:
10884         * text2.C:
10885         * CutAndPaste.C:
10886         * bufferview_funcs.C:
10887         * bufferlist.C:
10888         * text.C:
10889         * LaTeXFeatures.C:
10890         * buffer.C:
10891         * toc.C (getTocList): use BufferParams::getLyXTextClass
10892
10893         * toc.C (getTocList): use InsetFloat::addToToc
10894
10895         * toc.[Ch]: new files, containing helper functions to handle table
10896         of contents
10897
10898         * lyxfunc.C (dispatch): no need to remove spaces around command
10899         given as a string
10900         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10901         first command of the sequence; it is not very clever, but I do not
10902         have a better idea, actually
10903
10904         * LyXAction.C (LookupFunc): make sure to remove space at the
10905         beginning and end of the command
10906
10907 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10908
10909         * MenuBackend.C (getMenubar): new method: return the menubar of
10910         this menu set
10911         (read): treat differently reading of menu and menubar (in
10912         particular, the menubar has no name now)
10913         (Menu::menubar): remove
10914
10915         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10916         saving is finished
10917
10918 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10919
10920         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10921         a bibitem inset in a RTL paragraph.
10922
10923 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10924
10925         * paragraph_pimpl.C: constify
10926
10927         * BufferView_pimpl.C:
10928         * LaTeX.C:
10929         * lyxfunc.C: fix dispatch in a nicer way
10930
10931 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10932
10933         * lyxfunc.C (dispatch):
10934         * BufferView_pimpl.C:
10935         * BufferView_pimpl.h:
10936         * BufferView.C:
10937         * BufferView.h: rename Dispatch() to dispatch()
10938
10939         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10940
10941         * lyxlayout.C (Read): honor DependsOn tag
10942
10943         * lyxlayout.[Ch] (depends_on): new method
10944
10945         * version.C.in: update lyx_docversion
10946
10947         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10948
10949         * paragraph.C (validate): remove from here...
10950         * paragraph_pimpl.C (validate): ... and move here
10951         (isTextAt): make it const
10952
10953         * buffer.C (getLists): ws cleanup
10954
10955 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10956
10957         * language.C (read): Use iso8859-1 encoding in latex_lang
10958         (this prevents LyX from crashing when using iso10646-1 encoding).
10959
10960 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10961
10962         * text2.C (toggleInset): if cursor is inside an inset, close the
10963         inset and leave cursor _after_ it
10964
10965 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10966
10967         * lyxfunc.C: move minibuffer completion handling out of here
10968
10969 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10970
10971         * BufferView_pimpl.C:
10972         * LaTeX.C: fix dispatch calls
10973
10974 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10975
10976         * text.C (drawChars): Fix Arabic text rendering.
10977
10978 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10979
10980         * LyXAction.C:
10981         * commandtags.h:
10982         * lyxfunc.C: remove message-push/pop
10983
10984         * lyxserver.C:
10985         * lyxfunc.h:
10986         * lyxfunc.C: rationalise some code by removing verboseDispatch
10987           in favour of a bool argument to dispatch()
10988
10989 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10990
10991         * lyx_main.C (init): make sure to read symlinks as absolute paths
10992
10993 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10994
10995         * lyxfunc.h:
10996         * lyxfunc.C: no need for commandshortcut to be a member
10997
10998 2002-07-15  André Pönitz <poenitz@gmx.net>
10999
11000         * converter.C: add support for $$s (scripts from lib/scripts dir)
11001         * lyx_main.C: white space
11002
11003 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11004
11005         * bufferlist.C:
11006         * lyxrc.h:
11007         * lyxrc.C: remove second exit confirmation
11008
11009 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11010
11011         * BufferView.h:
11012         * BufferView.C:
11013         * BufferView2.C:
11014         * BufferView_pimpl.h:
11015         * BufferView_pimpl.C:
11016         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11017
11018 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11019
11020         * MenuBackend.C (expand): add numeric shortcuts to document menu
11021
11022         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11023
11024 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11025
11026         * lyxfont.C (setLyXFamily):
11027         (setLyXSeries):
11028         (setLyXShape):
11029         (setLyXSize):
11030         (setLyXMisc):
11031         (lyxRead):
11032         * debug.C (value):
11033         * buffer.C (asciiParagraph): use ascii_lowercase
11034
11035 2002-07-15  Mike Fabian  <mfabian@suse.de>
11036
11037         * lyxlex_pimpl.C (search_kw):
11038         * lyxlex.C (getLongString):
11039         * converter.h (operator<):
11040         * converter.C (operator<):
11041         * buffer.C (parseSingleLyXformat2Token):
11042         (asciiParagraph):
11043         * ToolbarDefaults.C (read):
11044         * MenuBackend.C (checkShortcuts):
11045         (read):
11046         * LColor.C (getFromGUIName):
11047         (getFromLyXName): use the compare_ascii_no_case instead of
11048         compare_no_case, because in turkish, 'i' is not the lowercase
11049         version of 'I', and thus turkish locale breaks parsing of tags.
11050
11051 2002-07-16  Angus Leeming  <leeming@lyx.org>
11052
11053         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11054         now takes a Buffer const & argument.
11055
11056 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11057
11058         * BufferView.C (resize): check there's a buffer to resize
11059
11060 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11061
11062         * lyxfunc.C: remove dead code
11063
11064         * lyxserver.h:
11065         * lyxserver.C: use lyx_guii::set_read_callback
11066
11067 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11068
11069         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11070         an inset in a RTL paragraph.
11071
11072 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11073
11074         * lyxfunc.C: repaint after a font size update
11075
11076 2002-07-15  André Pönitz <poenitz@gmx.net>
11077
11078         * lyxlength.C: inBP should be able to return negative values
11079
11080 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11081
11082         * lyxfunc.C: use lyx_gui::update_fonts()
11083
11084 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11085
11086         * lyxfunc.C: use lyx_gui::update_color()
11087
11088 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11089
11090         * bufferlist.C:
11091         * lyxfunc.h:
11092         * lyxfunc.C:
11093         * lyxrc.h:
11094         * lyxrc.C: remove file->new asks for name option, and let
11095           buffer-new take an argument
11096
11097 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11098
11099         * BufferView_pimpl.C: remove unneeded extra repaint()
11100
11101 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11102
11103         * LyXAction.C: allow command-sequence with NoBuffer
11104
11105         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11106
11107 2002-07-10  Angus Leeming  <leeming@lyx.org>
11108
11109         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11110
11111 2002-07-09  Angus Leeming  <leeming@lyx.org>
11112
11113         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11114
11115 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11116
11117         * lengthcommon.h: whitespace
11118
11119         * lyxfunc.C: update scrollbar after goto paragraph
11120
11121         * lyxtext.h: factor out page break drawing, and fix it so
11122           page break/added space paints as selected nicely
11123
11124 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11125
11126         * BufferView_pimpl.C: add FIXMEs, clean up a little
11127
11128 2002-07-09  André Pönitz <poenitz@gmx.net>
11129
11130         * lyxfont.[Ch]: support for wasy symbols
11131
11132 2002-07-08  André Pönitz <poenitz@gmx.net>
11133
11134         * BufferView_pimpl.C: apply John's patch for #93.
11135
11136 2002-07-05  Angus Leeming  <leeming@lyx.org>
11137
11138         * BufferView_pimpl.C (buffer): generate previews if desired.
11139
11140         * LColor.h: add "preview" to the color enum.
11141
11142         * LColor.C (LColor): add a corresponding entry to the items array.
11143
11144         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11145         with this buffer.
11146
11147 2002-07-05  Angus Leeming  <leeming@lyx.org>
11148
11149         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11150         The body of the code is now in the method that is passed an ostream &
11151         rather than a file name.
11152         Pass an additional only_preamble parameter, useful for the forthcoming
11153         preview stuff.
11154
11155 2002-07-03  André Pönitz <poenitz@gmx.net>
11156
11157         * lyxfunc.C: simplify getStatus() a bit for math stuff
11158
11159 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11160
11161         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11162
11163 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11164
11165         * text.C (changeRegionCase): do not change case of all the
11166         document when region ends at paragraph end (bug #461)
11167
11168 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11169
11170         * paragraph.C (startTeXParParams):
11171         (endTeXParParams): add \protect when necessary
11172
11173 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11174
11175         * BufferView_pimpl.C (workAreaExpose): remove warning
11176
11177 2002-06-27  Angus Leeming  <leeming@lyx.org>
11178
11179         * Makefile.am: add lyxlayout_ptr_fwd.h.
11180
11181 2002-06-26  André Pönitz <poenitz@gmx.net>
11182
11183         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11184
11185 2002-06-25  Angus Leeming  <leeming@lyx.org>
11186
11187         * lyxfunc.C (dispatch): Comment out the call to
11188         grfx::GCache::changeDisplay. The method no longer exists now that the
11189         pixmap generation part of the graphics loader has been moved into
11190         InsetGraphics.
11191
11192 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11193
11194         * text2.C: layout as layout
11195
11196         * text.C: layout as layout
11197
11198         * tabular.C (OldFormatRead): layout as layout
11199
11200         * paragraph_pimpl.C (TeXDeeper): layout as layout
11201         (realizeFont): layout as layout
11202
11203         * paragraph.C (writeFile): layout as layout
11204         (validate): layout as layout
11205         (getFont): layout as layout
11206         (getLabelFont): layout as layout
11207         (getLayoutFont): layout as layout
11208         (breakParagraph): layout as layout
11209         (stripLeadingSpaces): layout as layout
11210         (getEndLabel): layout as layout
11211         (getMaxDepthAfter): layout as layout
11212         (applyLayout): layout as layout
11213         (TeXOnePar): layout as layout
11214         (simpleTeXOnePar): layout as layout
11215         (TeXEnvironment): layout as layout
11216         (layout): layout as layout
11217         (layout): layout as layout
11218
11219         * lyxtextclass.C (compare_name): new functor to work with
11220         shared_ptr, layout as layout
11221         (Read): layout as layout
11222         (hasLayout): layout as layout
11223         (operator): layout as layout
11224         (delete_layout): layout as layout
11225         (defaultLayout): layout as layout
11226
11227         * lyxlayout_ptr_fwd.h: new file
11228
11229         * lyxlayout.C (Read): layout as layout
11230
11231         * lyx_cb.C (MenuInsertLabel): layout as layout
11232
11233         * bufferlist.C (newFile): layout as layout
11234
11235         * buffer.C (readLyXformat2): layout as layout
11236         (parseSingleLyXformat2Token): layout as layout
11237         (insertStringAsLines): layout as layout
11238         (asciiParagraph): layout as layout
11239         (latexParagraphs): layout as layout
11240         (makeLinuxDocFile): layout as layout
11241         (simpleLinuxDocOnePar): layout as layout
11242         (makeDocBookFile): layout as layout
11243         (simpleDocBookOnePar): layout as layout
11244         (getLists): layout as layout
11245
11246         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11247
11248         * CutAndPaste.C (cutSelection): layout as layout
11249         (pasteSelection): layout as layout
11250         (SwitchLayoutsBetweenClasses): layout as layout
11251
11252         * BufferView_pimpl.C (Dispatch): layout as layout
11253         (smartQuote): layout as layout
11254
11255         * BufferView2.C (unlockInset): layout as layout
11256
11257 2002-06-24  André Pönitz <poenitz@gmx.net>
11258
11259         * lyxfunc.C: fix #487
11260
11261 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11262
11263         * lyxrc.h:
11264         * lyxrc.C:
11265         * lyxfunc.C: remove display_shortcuts, show_banner
11266
11267 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11268
11269         * Buffer_pimpl.C: oops, update on resize
11270
11271 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11272
11273         * buffer.C:
11274         * converter.C:
11275         * exporter.C:
11276         * lyxfunc.C:
11277         * BufferView.h:
11278         * BufferView.C: use repaint()
11279
11280         * BufferView_pimpl.h:
11281         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11282           as it's a clearer description. Remove superfluous
11283           redraws.
11284
11285 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11286
11287         * text.C: fix bug 488. Not ideal, but getting
11288           getWord() to work properly for the insets that
11289           matter is more difficult ...
11290
11291 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11292
11293         * BufferView_pimpl.C:
11294         * LyXAction.C:
11295         * commandtags.h:
11296         * lyxfunc.C: remove the six million index lyxfuncs to just
11297           one, and DTRT (bug 458)
11298
11299 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11300
11301         * BufferView.h:
11302         * BufferView.C:
11303         * BufferView_pimpl.h:
11304         * BufferView_pimpl.C: clean up resize() stuff,
11305           and unnecessary updateScreen()s
11306
11307 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11308
11309         * BufferView.h:
11310         * BufferView.C:
11311         * BufferView_pimpl.h:
11312         * BufferView_pimpl.C:
11313         * lyxfind.h:
11314         * lyxfind.C:
11315         * minibuffer.C: remove focus management of workarea,
11316           not needed. Use screen's greyOut()
11317
11318 2002-06-17  Herbert Voss  <voss@lyx.org>
11319
11320         * converter.C: (convert) do not post a message, when converting
11321         fails, let the calling function decide what to do in this case
11322
11323 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11324
11325         * lyxfunc.C: tidy up a little
11326
11327 2002-06-16    <alstrup@diku.dk>
11328
11329         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11330         Got rid of FORMS_H_LOCATION include. Now we are
11331         GUII.
11332
11333 2002-06-15  LyX Development team  <lyx@rilke>
11334
11335         * buffer.[Ch] (sgmlOpenTag):
11336         (sgmlCloseTag): Added support for avoiding pernicious mixed
11337         content. Return number of lines written.
11338
11339         (makeLinuxDocFile):
11340         (makeDocBookFile): Fixed calls to sgml*Tag.
11341         Simple white space clean.
11342
11343         (simpleDocBookOnePar): Simple white space clean.
11344
11345         * tabular.[Ch] (docBook): Renamed to docbook and got another
11346         argument to related with the pernicious mixed content.
11347
11348         (docbookRow): Fixed calls for docbook inset method.
11349
11350 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11351
11352         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11353         so it's X11 independent.
11354
11355         * kb*.[Ch]: ditto.
11356
11357         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11358
11359 2002-06-15  Lyx Development team  <lyx@electronia>
11360
11361         * intl.h: Renamed getTrans to getTransManager.
11362
11363 2002-06-14  Angus Leeming  <leeming@lyx.org>
11364
11365         * Makefile.am: nuke forgotten stl_string_fwd.h.
11366
11367 2002-06-12  Angus Leeming  <leeming@lyx.org>
11368
11369         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11370
11371 2002-06-13  Angus Leeming  <leeming@lyx.org>
11372
11373         * LaTeX.C:
11374         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11375
11376 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11377
11378         * kbmap.C (getiso): add support for cyrillic and greek
11379
11380 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11381
11382         * BufferView.h:
11383         * BufferView.C:
11384         * BufferView_pimpl.h:
11385         * BufferView_pimpl.C: move bogus scrolling logic
11386           to xforms
11387
11388 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11389
11390         * lyxfunc.C:
11391         * BufferView_pimpl.C: view->resize() change
11392
11393 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11394
11395         * BufferView_pimpl.C: topCursorVisible
11396           prototype change
11397
11398 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11399
11400         * Makefile.am:
11401         * lyx_gui.h:
11402         * lyx_gui.C: move to frontends/
11403
11404         * main.C:
11405         * lyx_main.h:
11406         * lyx_main.C: changes from above
11407
11408 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11409
11410         * intl.C:
11411         * intl.h:
11412         * kbmap.C:
11413         * kbsequence.C:
11414         * lyx_cb.C:
11415         * lyx_main.C: minor tidy
11416
11417 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11418
11419         * BufferView_pimpl.h:
11420         * BufferView_pimpl.C:
11421         * BufferView.h:
11422         * BufferView.C: make painter() const,
11423           remove dead code
11424
11425         * BufferView2.C: use screen() accessor
11426
11427         * lyx_main.h:
11428         * lyx_main.C: some minor cleanup
11429
11430 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11431
11432         * BufferView_pimpl.h:
11433         * BufferView_pimpl.C: remove enter/leaveView,
11434           use workHeight()
11435
11436 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11437
11438         * BufferView.h:
11439         * BufferView.C:
11440         * BufferView2.C:
11441         * BufferView_pimpl.h:
11442         * BufferView_pimpl.C: only construct screen once,
11443           rename
11444
11445         * lyxrc.C: remove pointless comment
11446
11447 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11448
11449         * BufferView.h:
11450         * BufferView.C: remove active() and belowMouse()
11451
11452         * BufferView_pimpl.h:
11453         * BufferView_pimpl.C: use workarea() not workarea_,
11454           and make it use a scoped_ptr instead
11455
11456 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11457
11458         * lyx_gui.C: add debug message on BadWindow
11459
11460 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11461
11462         * sp_spell.C: fdopen is not part of the C++ standard.
11463
11464         * paragraph.C (InsetIterator): use >= instead of ==
11465
11466 2002-06-07  Angus Leeming  <leeming@lyx.org>
11467
11468         Fixes needed to compile with Compaq cxx 6.5.
11469         * BufferView_pimpl.C:
11470         * DepTable.C:
11471         * buffer.C:
11472         * converter.C:
11473         * encoding.C:
11474         * lyx_gui.C:
11475         * lyx_main.C:
11476         * lyxtextclasslist.C:
11477         * minibuffer.C:
11478         * sp_spell.C:
11479         * tabular_funcs.C:
11480         * vc-backend.C:
11481         all c-library variables have been moved into namespace std. Wrap
11482         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11483
11484         * lyxlength.C:
11485         * tabular-old.C:
11486         * tabular.C:
11487         Add a using std::abs declaration.
11488
11489         * kbmap.h (modifier_pair):
11490         * paragraph.h (InsetTable, InsetList):
11491         * lyxfont.h (FontBits):
11492         type definition made public.
11493
11494         * bufferlist.C (emergencyWriteAll): the compiler complains that
11495         there is more than one possible lyx::class_fun template to choose from.
11496         I re-named the void specialisation as lyx::void_class_fun.
11497
11498         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11499
11500         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11501         the compiler is is unable to find tostr in write_attribute.
11502
11503 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11504
11505         * buffer.C (sgmlError): hide #warning
11506
11507 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11508
11509         * xtl/*: get rid of xtl, which is not in use anyway
11510
11511         * LyXAction.C (init):
11512         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11513         were unimplemented xtl experimentation
11514
11515 2002-06-04  André Pönitz <poenitz@gmx.net>
11516
11517         * lyxfunc.C: disable array operation on simple formulae
11518
11519 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11520
11521         * converter.C: constify a bit
11522
11523 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11524
11525         * lyx_gui.C: check xforms version correctly
11526
11527 2002-04-30  Herbert Voss  <voss@lyx.org>
11528
11529         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11530         "keep" option
11531
11532 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11533
11534         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11535           attempt to register it with a VCS)
11536
11537 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11538
11539         * lyx_main.C (init): honor variables LYX_DIR_13x and
11540         LYX_USERDIR_13x
11541
11542 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11543
11544         * buffer.h:
11545         * buffer.C:
11546         * lyx_main.C: fix a crash on bad command line,
11547           and give a useful exit status on error
11548
11549         * lyxfunc.C (doImport): allow -i lyx to work
11550
11551 2002-03-30  André Pönitz <poenitz@gmx.net>
11552
11553         * lyxfunc.C: mathed font changes
11554
11555 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11556
11557         * LaTeX.C:
11558         * importer.h:
11559         * importer.C:
11560         * lyx_sty.h:
11561         * lyx_sty.C:
11562         * lyxlex.C:
11563         * lyxrow.h:
11564         * lyxtext.h:
11565         * paragraph.h:
11566         * paragraph.C:
11567         * texrow.h:
11568         * texrow.C:
11569         * text.C:
11570         * trans_mgr.h: srcdocs, and some minor cleanups
11571
11572 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11573
11574         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11575         call getFont all the time)
11576
11577 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11578
11579         * switch from SigC signals to boost::signals
11580
11581 2002-05-29  André Pönitz <poenitz@gmx.net>
11582
11583         * paragraph_pimpl.C (getChar): don't call size() too often...
11584
11585 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11586
11587         * paragraph_pimpl.C (insertChar): do not try to update tables when
11588         appending (pos == size())
11589
11590         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11591         in order to reduce drastically the number of comparisons needed to
11592         parse a large document
11593
11594 2002-05-29  André Pönitz <poenitz@gmx.net>
11595
11596         * text.C:
11597         * text2.C:
11598         * lyxtextclass.C:
11599         * sp_pspell.h:
11600         * textclasslist.[Ch]:
11601         * sp_ispell.h: whitespace change
11602
11603 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11604
11605         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11606         lyxaction directly now.
11607
11608 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11609
11610         * trans.C:
11611         * lyxfont.C:
11612         * lyxvc.C: remove unused headers
11613
11614 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11615
11616         * Makefile.am:
11617         * buffer.h:
11618         * undostack.h:
11619         * undostack.C:
11620         * undo_funcs.h:
11621         * undo_funcs.C: some cleanups. Use shared_ptr
11622           and a template for the undo stacks.
11623
11624 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11625
11626         * BufferView_pimpl.h:
11627         * BufferView_pimpl.C:
11628         * kbmap.h:
11629         * kbmap.C:
11630         * kbsequence.h:
11631         * kbsequence.C:
11632         * lyxfunc.h:
11633         * lyxfunc.C:
11634         * text2.C: use key_state/mouse_state
11635
11636 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11637
11638         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11639         and LSubstring
11640
11641         * chset.C: change include order
11642         (loadFile): use boost regex and get rid of LRegex and LSubstring
11643
11644         * Makefile.am (BOOST_LIBS): new variable
11645         (lyx_LDADD): use it
11646
11647         * LaTeX.C: change include order.
11648         (scanAuxFile): use boost regex and get rid of LRegex and
11649         LSubstring
11650         (deplog): ditto
11651
11652 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11653
11654         * ColorHandler.h:
11655         * ColorHandler.C:
11656         * FontInfo.h:
11657         * FontInfo.C: moved to frontends/xforms/
11658
11659         * FontLoader.h:
11660         * FontLoader.C: moved into frontends for GUIIzation
11661
11662         * Makefile.am:
11663         * lyx_gui.C:
11664         * lyxfont.C:
11665         * lyxfunc.C: changes from above
11666
11667 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11668
11669         * LColor.C: remove spurious X include
11670
11671         * BufferView_pimpl.C:
11672         * Makefile.am:
11673         * font.h:
11674         * font.C:
11675         * text.C:
11676         * text2.C: move font metrics to frontends/
11677
11678 2002-05-24  Juergen Vigna  <jug@sad.it>
11679
11680         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11681         setting the undo_cursor.
11682
11683         * ParagraphParameters.h: include local includes first.
11684
11685 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11686
11687         * BufferView_pimpl.C:
11688         * BufferView_pimpl.h:
11689         * Makefile.am:
11690         * WorkArea.h:
11691         * WorkArea.C:
11692         * screen.C: move WorkArea into frontends/
11693
11694         * lyxscreen.h:
11695         * screen.C:
11696         * text.C:
11697         * BufferView.C:
11698         * BufferView2.C: move LyXScreen into frontends/
11699
11700         * lyxlookup.h:
11701         * lyxlookup.C:
11702         * lyx_gui.C: move lyxlookup into frontends/xforms/
11703
11704 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11705
11706         * BufferView2.C:
11707         * BufferView_pimpl.C:
11708         * FontLoader.C:
11709         * LyXView.h:
11710         * LyXView.C:
11711         * Makefile.am:
11712         * WorkArea.C:
11713         * XFormsView.h:
11714         * XFormsView.C:
11715         * buffer.C:
11716         * bufferlist.C:
11717         * bufferview_funcs.C:
11718         * converter.C:
11719         * importer.C:
11720         * lyx_cb.C:
11721         * lyx_gui.C:
11722         * lyx_main.C:
11723         * lyx_find.C:
11724         * lyxfunc.C:
11725         * lyxvc.C:
11726         * minibuffer.C:
11727         * text.C:
11728         * text2.C:
11729         * trans.C:
11730         * vc-backend.C: move LyX/XFormsView into frontends/
11731
11732 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11733
11734         * Makefile.am:
11735         * PainterBase.C:
11736         * PainterBase.h:
11737         * Painter.C:
11738         * Painter.h:
11739         * WorkArea.C:
11740         * WorkArea.h:
11741         * screen.C:
11742         * tabular.C:
11743         * text.C:
11744         * text2.C: move Painter to frontends/
11745
11746 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11747
11748         * buffer.C: comment out some some code that depend upon lyx_format
11749         < 220
11750
11751         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11752         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11753
11754         * buffer.h (NO_COMPABILITY): turn off compability
11755
11756         * ColorHandler.C: include scoped_array.hpp
11757
11758         * font.C: Use more specific smart_ptr header.
11759         * Painter.C: ditto
11760         * gettext.C: ditto
11761         * ShareContainer.h: ditto
11762         * lyx_main.h: ditto
11763         * kbmap.h: ditto
11764         * FontInfo.h: ditto
11765         * BufferView_pimpl.h: ditto
11766         * ColorHandler.h: ditto
11767
11768         * kbmap.C (defkey): change call to shared_ptr::reset
11769
11770 2002-05-21  Juergen Vigna  <jug@sad.it>
11771
11772         * buffer.C (insertErtContents): fix to insert ert asis if it is
11773         non empty. Skip it completely if it contains only whitespaces.
11774
11775 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11776
11777         * BufferView_pimpl.C:
11778         * BufferView2.C: clear selection on paste (bug 393)
11779
11780 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11781
11782         * DepTable.C: include ctime
11783
11784 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11785
11786         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11787
11788 2002-05-14  Juergen Vigna  <jug@sad.it>
11789
11790         * text.C (breakParagraph): fixed function to honor the keepempty
11791         layout in the right maner and also to permit the right breaking
11792         algorithm on empty or non empyt keepempty paragraphs.
11793
11794         * paragraph.C (breakParagraph): we have to check also if the par
11795         is really empty (!size()) for isempty otherwise we do the wrong
11796         paragraph break.
11797
11798 2002-05-10  Juergen Vigna  <jug@sad.it>
11799
11800         * buffer.[Ch] : The following are only changes to the ert
11801         compatibility read reading old LaTeX layout and font stuff and
11802         convert it to ERTInsets.
11803
11804         * buffer.h: added isErtInset().
11805
11806         * buffer.C (struct ErtComp): add a fromlayout bool to check
11807         if we're inside a LaTeX layout.
11808         (isErtInset): new helper function.
11809         (insertErtContents): look for other ert insets before this one
11810         and insert the contents there, so that we don't have subsequent
11811         ERT insets with nothing between them. This way we create only one
11812         inset with multiple paragraphs. Also check if we don't insert only
11813         spaces ' ' as they are ignored anyway afterwards in the .tex file
11814         so if we have only spaces we will ignore this latex part in the
11815         new file.
11816         (parseSingleLyXformat2Token \\layout): better compatibility when
11817         reading layout-latex stuff.
11818         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11819         language tag.
11820         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11821         stuff after reading the inset only get the information back from
11822         the stack.
11823
11824 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11825
11826         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11827
11828         * LaTeXFeatures.C (getBabelOptions): New method.
11829
11830 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11831
11832         * BufferView_pimpl.C (Dispatch): work around missing argument for
11833         'layout'
11834
11835 2002-05-08  Juergen Vigna  <jug@sad.it>
11836
11837         * text.C (leftMargin): handle paragraph leftindent.
11838
11839         * paragraph.C (writeFile): write the new \\leftindent tag.
11840         (validate): handle leftindent code.
11841         (TeXEnvironment): handle paragraphleftindent code again.
11842
11843         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11844
11845         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11846         for paragrap_extra indent code and new token \\leftindent.
11847         (latexParagraphs): handle the leftindent as environment.
11848
11849         * ParameterStruct.h: added leftindent support.
11850
11851         * ParagraphParameters.C (leftIndent): added support functions for
11852         the paragraph left indent.
11853
11854         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11855         more appropriate.
11856
11857 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11858
11859         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11860         inside insetERT.
11861
11862         * text.C (computeBidiTables): No bidi in insetERT.
11863
11864         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11865         in RTL documents.
11866
11867 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11868
11869         * version.C.in: pre 5
11870
11871 2002-05-02  José Matos  <jamatos@fep.up.pt>
11872         * buffer.C (makeDocBookFile): white space changes, add newline to
11873         command styles.
11874         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11875
11876         * tabular.C (docBook): fix typo.
11877
11878 2002-05-03  Juergen Vigna  <jug@sad.it>
11879
11880         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11881         change in LyXText as we can not be sure it was not freed.
11882         (drawOneRow): remove unused code.
11883
11884         * text.C (drawInset): redo the calculation of the need_break_row as
11885         it could have a row which was already freed.
11886         (draw): look at the return value of drawInset and return false if
11887         it also returned false.
11888         (paintRowText): look at the return value of draw and return false if
11889         it also returned false.
11890
11891         * lyxtext.h: added bool return type to drawInset() and draw() so that
11892         if we have a change in the row so that the rowbreak has to be redone
11893         we abort drawing as it will be called again.
11894
11895 2002-05-02  Juergen Vigna  <jug@sad.it>
11896
11897         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11898         a change in the maintext also if we're inside an inset.
11899         (Dispatch): set the cursor again after a break line and after the
11900         screen has been updated as it could be we're in a different row.
11901
11902         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11903         to set the cursor behind the pargraph with > size().
11904         (setCursor): check also for the same paragraph when checking where
11905         to put the cursor if we have a NFR inset.
11906
11907         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11908         parts of layout read further up as it still was in the wrong
11909         position.
11910
11911 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11912
11913         * screen.C (drawFromTo): change sine fullRebreak always return
11914         true.
11915
11916         * buffer.C (parseSingleLyXformat2Token): reindent some
11917
11918         * BufferView_pimpl.C (update): change since fullRebreak always
11919         return true.
11920         (Dispatch): git rid of the last hardcoded "Standard"s.
11921
11922 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11923
11924         * text2.[Ch] (fullRebreak): make it return void now that we always
11925         returned true.
11926
11927 2002-04-30  Juergen Vigna  <jug@sad.it>
11928
11929         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11930         ert compatibility check for "latex" layout.
11931
11932 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11933
11934         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11935         minipages: use col% instead of p%, and also use the current font.
11936         (makeLaTeXFile): Fix use babel condition.
11937         (parseSingleLyXformat2Token): Correct font when reading old floats.
11938
11939 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11940
11941         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11942         inserting list of floats.
11943
11944 2002-04-25  Herbert Voss  <voss@lyx.org>
11945
11946         * MenuBackend.C (expand): don't add the graphics extensions to the
11947         export menu
11948
11949 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11950
11951         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11952         non-existing layout, do not complain if it was the default layout
11953         of the original class (bug #342)
11954
11955 2002-04-24  Juergen Vigna  <jug@sad.it>
11956
11957         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11958         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11959
11960 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11961
11962         * buffer.C (getBibkeyList): If using \bibliography, return the
11963         option field with the reference itself. Enables us to provide natbib
11964         support when using \bibliography.
11965
11966 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11967
11968         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11969
11970         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11971         natbib is provided by the LaTeX class.
11972
11973 2002-04-23  Juergen Vigna  <jug@sad.it>
11974
11975         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11976         Wakeup functions.
11977
11978         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11979
11980 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11981
11982         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11983
11984         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11985         ensuremath around textordmasculine, textordfeminine and
11986         textdegree.
11987
11988 2002-04-19  Juergen Vigna  <jug@sad.it>
11989
11990         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11991         reinitializing the buffer otherwise row-dimensions may be wrong.
11992         (update): reset also the selection cursors if they do exits otherwise
11993         their x/y positions may be wrong.
11994
11995         * text2.C (cursorDown): don't enter the inset if we came from a row
11996         above and are one row over the inset.
11997
11998         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11999         really leaving an inset.
12000
12001 2002-04-18  Juergen Vigna  <jug@sad.it>
12002
12003         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12004         of the selected paragraph does not have the selected layout also if
12005         the last one had!
12006
12007         * text2.C (setLayout): fixed bug which did not change last selected
12008         paragraph.
12009
12010         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12011         changed the read and substituted \\end_float with \\end_inset!
12012
12013         * BufferView_pimpl.C (cursorPrevious):
12014         (cursorNext): fixed to make it work with rows heigher than the work
12015         area without moving the cursor only the draw of the row.
12016         (workAreaMotionNotify): fix jumping over high rows.
12017
12018 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12019
12020         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12021         Ressler.
12022
12023 2002-04-16  Juergen Vigna  <jug@sad.it>
12024
12025         * text2.C (setCursor): set also the irow().
12026         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12027         (cursorUp):
12028         (cursorDown): support for locking an inset if the x_fix value goes
12029         inside it. That way I can transverse insets too with cursor up/down.
12030
12031         * lyxrow.h: added irow helper function same as other (i) functions.
12032
12033         * BufferView_pimpl.C (cursorPrevious):
12034         (cursorNext): fixed for insets!
12035
12036 2002-04-15  Juergen Vigna  <jug@sad.it>
12037
12038         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12039         position otherwise it is wrong in some cases.
12040
12041         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12042         inside the inset before the call.
12043
12044 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12045
12046         * buffer.[Ch] (getBibkeyList): make it const.
12047
12048 2002-04-12  Juergen Vigna  <jug@sad.it>
12049
12050         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12051
12052         * text2.C (getCursorX): new helper function
12053         (setCursor): compute also ix_
12054         (setCursorFromCoordinates): set also ix.
12055
12056         * lyxcursor.h: added ix_ and helper functions.
12057
12058         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12059
12060         * buffer.C (insertStringAsLines): dont break paragraph if the this
12061         paragraph is inside an inset which does not permit it!
12062
12063         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12064         also with no chars on this paragraph.
12065         (paintRowText): only paint stuff if it's inside the workarea!
12066
12067         * paragraph.C (breakParagraph): honor keepempty flag and break the
12068         paragraph always below not above.
12069
12070         * BufferView2.C (unlockInset): update the paragraph layout on inset
12071         unlock as we changed paragraph in such a case.
12072
12073         * lyxfind.C (LyXFind): clear the former selection if not found!
12074
12075         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12076         again called in insertChar().
12077
12078         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12079         an inset which uses the whole row!
12080         (rightMargin): ditto.
12081         (insertChar): force a rebreak if we inserted an inset!
12082
12083 2002-03-28  Herbert Voss  <voss@lyx.org>
12084
12085         * lyxlength.[Ch]: add inBP() to get the right PS-point
12086         units (BigPoint). With inPixels we have rounding errors
12087
12088 2002-04-11  Juergen Vigna  <jug@sad.it>
12089
12090         * text2.C (setCursorFromCoordinates): set iy to the right value.
12091         (setCursor): add check if row->previous exists!
12092
12093         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12094         an old float_type as this was the case in the old code!
12095
12096         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12097
12098         * BufferView2.C (showLockedInsetCursor): use iy
12099         (fitLockedInsetCursor): ditto
12100
12101         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12102         locked insets as there we have the right value now.
12103
12104         * lyxcursor.C: added iy_ variable and iy functions to set to the
12105         baseline of cursor-y of the locked inset.
12106
12107         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12108         (setCursor): fixed for insets which need a full row.
12109
12110         * text.C (rowLastPrintable): don't ignore the last space when before
12111         an inset which needs a full row.
12112         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12113         as last character of a row when before a inset which needs a full row.
12114
12115 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12116
12117         * version.C.in: update date
12118
12119         * text2.C (fullRebreak): try to always return true and see what
12120         happens...
12121
12122 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12123
12124         * MenuBackend.C (expand): use Floating::listName
12125
12126         * FloatList.C (FloatList): add listName argument to the built-in
12127         floats
12128
12129         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12130         text associated with the float.
12131
12132 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12133
12134         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12135
12136 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12137
12138         * ShareContainer.h: add a couple of missing typenames.
12139
12140 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12141
12142         * lyxrc.C (getDescription): use _() correctly rather than N_().
12143
12144 2002-03-28  Herbert Voss  <voss@lyx.org>
12145
12146         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12147         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12148
12149 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12150
12151         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12152         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12153
12154 2002-03-29  Juergen Vigna  <jug@sad.it>
12155
12156         * lyxfunc.C (dispatch): add a missing fitCursor call.
12157
12158         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12159         it was scrolled by a cursor move, so return the bool status.
12160
12161         * BufferView.C (fitCursor): return the bool flag also to the outside
12162         world as this is needed.
12163
12164         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12165
12166         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12167         call the edit() as it is not needed (and wrong) IMO.
12168         (workAreaButtonPress): set the screen_first variable before evt.
12169         unlock the inset as this may change screen_first and then we have
12170         a wrong y position for the click!
12171
12172 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12173
12174         * MenuBackend.C (expand): another translation that I missed
12175
12176 2002-03-28  Juergen Vigna  <jug@sad.it>
12177
12178         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12179
12180         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12181
12182 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12183
12184         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12185
12186         * MenuBackend.C (expand): fix export/view/update when there is no
12187         document open.
12188
12189 2002-03-27  Herbert Voss  <voss@lyx.org>
12190
12191         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12192         and text%
12193
12194 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12195
12196         * bufferview_funcs.C (currentState): only show paragraph number
12197         for is DEVEL_VERSION is set.
12198
12199         * lyxfunc.C (dispatch): put warning in INFO channel
12200
12201         * MenuBackend.C (expand): translate the name of floats
12202
12203         * FloatList.C (FloatList): mark the float names for translation
12204
12205         * converter.C (convert): use LibScriptSearch
12206
12207 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12208
12209         * MenuBackend.C (defaults): fix default menu (we might as well get
12210         rid of it...)
12211
12212 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12213
12214         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12215         directory.
12216
12217 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12218
12219         * lyxvc.C: reorder includes.
12220
12221 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12222
12223         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12224           properly
12225
12226 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12227
12228         * CutAndPaste.C: change layouts earlier on paste
12229           to avoid crashing when calling getFont()
12230
12231 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12232
12233         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12234         irritating #error.
12235
12236 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12237
12238         * WorkArea.C: remove 'Pending' debug message.
12239
12240         * most files: ws cleanup
12241
12242         * buffer.[Ch]: ws changes
12243
12244         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12245
12246 2002-03-21  Juergen Vigna  <jug@sad.it>
12247
12248         * tabular.C (SetMultiColumn): collapse also the contents of the
12249         cells and set the last border right. Added a Buffer const * param.
12250
12251 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12252
12253         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12254         linking or not.
12255
12256 2002-03-19  Juergen Vigna  <jug@sad.it>
12257
12258         * text2.C (clearSelection): reset also xsel_cache.
12259
12260         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12261         where it needs to be called (John tells us to do so too :)
12262         (selectionLost): reset sel_cache.
12263
12264         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12265
12266 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12267
12268         * text2.C (setCursorIntern): put debuging code in INSETS channel
12269
12270 2002-03-19  André Pönitz <poenitz@gmx.net>
12271
12272         * lyxfunc.C: tiny whitespace change
12273
12274 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12275
12276         * ToolbarDefaults.C (init):
12277         * LyXAction.C (init):
12278         * commandtags.h:
12279         * BufferView_pimpl.C (Dispatch):
12280         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12281
12282 2002-03-19  Allan Rae  <rae@lyx.org>
12283
12284         * exporter.C (Export): removeAutoInsets before doing anything else.
12285         While I've just introduced a dependency on BufferView this really is
12286         the best place to clean the buffer otherwise you need to cleanup in
12287         a dozen places before calling export or cleanup in a dozen functions
12288         that export calls.
12289
12290         * converter.C (runLaTeX):
12291         (scanLog): Better handling of removeAutoInsets and screen updates.
12292
12293         * lyxfunc.C (dispatch): small whitespace changes
12294
12295 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12296
12297         * WorkArea.C (C_WorkAreaEvent): return a value.
12298         (event_cb): return 1 if we handled the event, 0 otherwise.
12299
12300         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12301
12302 2002-03-18  Juergen Vigna  <jug@sad.it>
12303
12304         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12305         (GetAdditionalWidth): ditto.
12306         (RightLine): ditto.
12307         (LeftLine): ditto.
12308
12309         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12310         inset if we're there actually (probably not used right now but this
12311         is the direction to go for unifying code).
12312         (paste): disable code to clear the selection.
12313
12314         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12315         inside an InsetText and move the check further up as it is in the
12316         wrong place.
12317
12318         * text2.C (pasteSelection): set a selection over the pasted text.
12319
12320 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12321
12322         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12323         and libgraphics to build on Cygwin.
12324
12325 2002-03-15  Juergen Vigna  <jug@sad.it>
12326
12327         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12328         inserting an Inset into the paragraph. I know this is not the best
12329         fix but we already use current_view in CutAndPaste so we will remove
12330         all of it's using at the same time.
12331
12332         * buffer.C (sgmlError): deactivated function till it is rewritten in
12333         the right mode, now it can create problems.
12334
12335         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12336         before accessing it.
12337
12338 2002-03-14  Juergen Vigna  <jug@sad.it>
12339
12340         * undo_funcs.C (textHandleUndo): do the right thing when updating
12341         the inset after the undo/redo.
12342
12343         * text2.C (setCursor): just some testcode for #44 not ready yet.
12344
12345         * undo_funcs.C (textHandleUndo): set the next() and previous()
12346         pointers of the paragraph to 0 before deleting otherwise we have
12347         problems with the Paragraph::[destructor].
12348
12349         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12350         on a paragraph insertion.
12351
12352 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12353
12354         * buffer.C (asciiParagraph): use += operator for char append to
12355         string.
12356
12357         * paragraph.C (getFontSettings): compare >= not just >
12358         (highestFontInRange): ditto
12359         (setFont): ditto
12360
12361 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12362
12363         * paragraph.C: change several algorithm to be more appripriate for
12364         the problem domain. This is lookip in FontList and in the InsetList.
12365
12366 2002-03-13  André Pönitz <poenitz@gmx.net>
12367
12368         * commandtags.h:
12369         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12370
12371 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12372
12373         * commandtags.h:
12374         * LyXAction.C:
12375         * lyxfunc.C:
12376         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12377
12378 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12379
12380         * Painter.C (display): anon helper function, adjust code for this
12381         change.
12382         (pixmap): remove function.
12383
12384         * Painter.h: remove private display variable.
12385
12386         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12387
12388 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12389
12390         * WorkArea.[Ch]: remove figinset_canvas cruft.
12391
12392 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393
12394         * lyxtextclass.C (operator): add one item cache optimization.
12395
12396         * bufferlist.h: doxy changes
12397
12398         * bufferlist.C: ws changes
12399
12400         * DepTable.[Ch] (ext_exist): place const in the right spot.
12401
12402         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12403         call resizeInsets.
12404         (workAreaExpose): call resizeInsets when the with BufferView changes.
12405         (Dispatch): adjust for protectedBlank removal
12406         (specialChar): call updateInset if the insert went ok.
12407
12408         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12409         specialChar instead.
12410
12411         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12412
12413         * BufferView.h: doxy change
12414
12415         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12416
12417         * lyxtextclass.C (operator[]): remove non-const version
12418         (defaultLayout): remove non-const version
12419
12420 2002-03-12  Juergen Vigna  <jug@sad.it>
12421
12422         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12423         did resize the LyXText too.
12424
12425         * buffer.C (readLyXformat2): set layout information on newly allocated
12426         paragraphs.
12427
12428         * tabular.C (OldFormatRead): set layout information on the paragraph.
12429
12430 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12431
12432         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12433
12434 2002-03-11  Juergen Vigna  <jug@sad.it>
12435
12436         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12437         plainly wrong.
12438         (resizeCurrentBuffer): force also the insets to resize themselfes.
12439         (moveCursorUpdate): fixed up for InsetText.
12440
12441 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12442
12443         * commandtags.h:
12444         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12445         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12446         value of Dialogs::tooltipsEnabled().
12447         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12448
12449 2002-03-08  Juergen Vigna  <jug@sad.it>
12450
12451         * BufferView_pimpl.C (updateInset): update inset inside inset also
12452         if it isn't inside theLockingInset().
12453
12454 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12455
12456         * buffer.C (asciiParagraph): redo some of the word and line length
12457         handling.
12458         (getLists): look for Caption instead of caption.
12459
12460 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12461
12462         * buffer.C (Buffer): initialize niceFile to true
12463         (makeLaTeXFile):
12464         (makeLinuxDocFile):
12465         (makeDocBookFile): make sure niceFile is true on exit
12466
12467 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12468
12469         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12470
12471 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12472
12473         * LyXSendto.C: remove.
12474         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12475         * lyx_gui.C: remove now-redundant comment.
12476         * ColorHandler.h: remove forward declaration of class WorkArea.
12477         * lyxfunc.C: remove #include "WorkArea.h".
12478
12479 2002-03-07  Juergen Vigna  <jug@sad.it>
12480
12481         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12482         got moved away with the DEPM and also set the inset_owner always
12483         right which before could have been omitted.
12484
12485 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12486
12487         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12488         wanted layout is not found.
12489
12490 2002-03-07  Juergen Vigna  <jug@sad.it>
12491
12492         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12493
12494 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12495
12496         * paragraph.C (breakParagraph): use default layout not layout of
12497         prev paragraph.
12498         (Paragraph): clear ParagraphParameters.
12499
12500 2002-03-06  Juergen Vigna  <jug@sad.it>
12501
12502         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12503         otherwise it would not be a valid lenght. Fixed a special case in
12504         the minipage compatibility read where we end the document with a
12505         minipage.
12506
12507         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12508         was set as it could be 0 for InsetTexts first entry.
12509
12510 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12511
12512         * paragraph.C (writeFile): if layout is empty write out
12513         defaultLayoutName().
12514
12515         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12516         file without named layout we set layout to defaultLayoutName().
12517
12518 2002-03-06  Juergen Vigna  <jug@sad.it>
12519
12520         * CutAndPaste.C (copySelection): set layout for new paragraph.
12521
12522         * text.C (prepareToPrint): leave ERT inset left aligned
12523         (leftMargin): don't indent paragraphs inside ERT insets
12524
12525 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12526
12527         * paragraph.C (breakParagraph): dont call clear do the work manually
12528
12529         * paragraph.[Ch] (clear): remove function
12530
12531 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12532
12533         * paragraph.C (Paragraph): dont call clear, the work has already
12534         been done.
12535
12536         * lyxtextclass.C (operator): assert if n is empty
12537
12538         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12539         work manually instead.
12540
12541 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12542
12543         * BufferView_pimpl.C: protect selectionLost against text == 0
12544
12545 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12546
12547         * text.C (breakParagraph): fix a setting layout to '0' problem.
12548
12549 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12550
12551         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12552         final location of file, for the included files, and graphics.
12553
12554 2002-03-05  Juergen Vigna  <jug@sad.it>
12555
12556         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12557
12558 2002-03-04  Juergen Vigna  <jug@sad.it>
12559
12560         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12561
12562         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12563         last column of multicolumn cells.
12564         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12565
12566 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12567
12568         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12569         file if it doesn't go to a temporary file.
12570
12571         * buffer.C (sgmlOpenTag):
12572         (sgmlCloseTag):  remove extra newline insertion.
12573
12574 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12575
12576         * text.C (getRowNearY): comment out debug msg
12577
12578 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12579
12580         * text2.C: first -> first_y
12581
12582         * text.C (getRowNearY): add some attemts at a possible
12583         optimization, not working.
12584
12585         * tabular.[Ch]: add BufferParams to several function so that newly
12586         created paragraph can be initialized to he default layotu for the
12587         buffers textclass.
12588
12589         * tabular-old.C (ReadOld): add buf->params to call of Init
12590
12591         * screen.C: rename text->first to text->first_y
12592
12593         * paragraph.C (breakParagraph): always set layout in the broken
12594         paragraph
12595
12596         * lyxtextclass.C (Read): remove lowercase
12597         (hasLayout): ditto
12598         (operator): ditto
12599         (delete_layout): ditto
12600
12601         * lyxtext.h: rename first -> first_y
12602
12603         * lyxlayout.C (Read): remove lowercase
12604         (name): ditto
12605         (setName): ditto
12606         (obsoleted_by): ditto
12607
12608         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12609
12610         * buffer.C (insertErtContents): add params are to InsetERT
12611         (parseSingleLyXformat2Token): add code to check if a paragraphs
12612         layout really exist.
12613         (parseSingleLyXformat2Token): add params to several inset
12614         constructors
12615         (asciiParagraph): remove lowercase, do the layout comparisons with
12616         no_case
12617
12618         * BufferView_pimpl.C (cursorNext): first -> first_y
12619         (resizeCurrentBuffer): first -> first_y
12620         (updateScrollbar): first -> first_y
12621         (scrollCB): first -> first_y
12622         (workAreaMotionNotify): first -> first_y
12623         (workAreaButtonPress): first -> first_y
12624         (checkInsetHit): first -> first_y
12625         (cursorPrevious): first -> first_y
12626         (cursorNext): first -> first_y
12627         (Dispatch): add buffer_->params to severl inset contructors
12628
12629 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12630
12631         * lyxlayout.C (Read): remove some debug info that I forgot.
12632
12633         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12634         clean up the code slightly.
12635         (makeLinuxDocFile): ditto
12636         (makeDocBookFile): ditto
12637
12638         * text2.C: layout as string
12639
12640         * text.C: layout as string
12641
12642         * paragraph_pimpl.C: layout as string
12643
12644         * paragraph.[Ch]: layout as string
12645
12646         * lyxtextclasslist.[Ch]: layout as string
12647
12648         * lyxtextclass.[Ch]: layout as string
12649
12650         * lyxtext.h: layout as string
12651
12652         * lyxlayout.[Ch]: layout as string
12653
12654         * lyx_cb.C: layout as string
12655
12656         * bufferview_funcs.C: layout as string
12657
12658         * bufferparams.C: layout as string
12659
12660         * buffer.C: layout as string
12661
12662         * LyXView.[Ch]: layout as string
12663
12664         * LaTeXFeatures.[Ch]: layout as string
12665
12666         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12667
12668         * BufferView_pimpl.C: change current_layout to string, remove
12669         lyx::layout_type.
12670         (Dispatch):
12671         (smartQuote):
12672         (insertInset):
12673         (workAreaButtonRelease): layout as string
12674
12675         * BufferView2.C (unlockInset): adjust
12676
12677         * vspace.C (asLatexCommand): use an explict temp variable.
12678
12679 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12680
12681         * Makefile.am: use FRONTEND_*
12682
12683 2002-03-01  Juergen Vigna  <jug@sad.it>
12684
12685         * tabular.C (SetWidthOfMulticolCell): changed to something better
12686         I hope but still work in progress.
12687         (recalculateMulticolumnsOfColumn): renamed function from
12688         recalculateMulticolCells as it is more appropriate now.
12689         (SetWidthOfCell): calculate multicols better.
12690
12691 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12692
12693         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12694
12695         * lyxfunc.C (processKeySym): print sequence also if it is
12696         `deleted' (complete)
12697
12698         * kbsequence.C (print): print sequence even if it is deleted
12699         (complete would be a better word, actually).
12700
12701         * lyxfunc.C (dispatch): print complete options after a prefix key
12702
12703         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12704
12705 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12706
12707         * text2.C (setCharFont): eliminate setCharFont code duplication.
12708
12709 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12710
12711         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12712         LFUN_TABULAR_FEATURE (bug #177)
12713
12714 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12715
12716         * Makefile.am: remove figure.h
12717
12718 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12719
12720         * Bufferview_pimpl.C:
12721         * CutAndPasteC:
12722         * LaTeX.C:
12723         * LyXSendto.C:
12724         * buffer.C:
12725         * bufferlist.C:
12726         * converter.C:
12727         * language.C:
12728         * lyxfunc.C:
12729         * lyxvc.C:
12730         * paragraph.C:
12731         * text.C:
12732         * text2.C: remove #include "lyx_gui_misc.h".
12733
12734         * LaTeX.C: added #include <cstdio>
12735
12736 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12737
12738         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12739         that the paragraph following this one can have.
12740
12741         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12742
12743         * vspace.C (asLatexCommand): fix bogus gcc warning
12744
12745         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12746
12747 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12748
12749         * text2.C (setLayout): get rid of redundant code
12750
12751 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12752
12753         * text2.C (incDepth): make sure depth cannot be increased beyond
12754         reasonable values.
12755
12756 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12757
12758         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12759         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12760
12761         * PainterBase.h (image):
12762         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12763         a LyXImage const *.
12764
12765 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12766
12767         * BufferView.C:
12768         * BufferView.h:
12769         * BufferView_pimpl.C:
12770         * BufferView_pimpl.h:
12771         * LaTeXFeatures.C:
12772         * LyXAction.C:
12773         * LyXView.C:
12774         * Makefile.am:
12775         * UpdateList.h:
12776         * UpdateList.C:
12777         * buffer.C:
12778         * figure.h:
12779         * figureForm.C:
12780         * figureForm.h:
12781         * figure_form.C:
12782         * figure_form.h:
12783         * lyx_cb.C:
12784         * lyx_gui.C:
12785         * lyx_gui_misc.C:
12786         * lyxfunc.C:
12787         * sp_base.h:
12788         * sp_ispell.h:
12789         * sp_pspell.h:
12790         * sp_spell.C: remove fig inset, and the crap house of
12791           cards that follows it
12792
12793 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12794
12795         * Makefile.am:
12796         * lyxserver.C:
12797         * os2_defines.h:
12798         * os2_errortable.h:
12799         * nt_defines.h: move .h into support/
12800
12801         * vms_defines.h: remove
12802
12803         * WorkArea.C: add space in debug output
12804
12805         * text2.C:
12806         * paragraph.C:
12807         * buffer.C: add WITH_WARNINGS
12808
12809         * vc-backend.h:
12810         * vc-backend.C:
12811         * bufferlist.C: s/retrive/retrieve/, add docs
12812
12813         * vspace.h:
12814         * vspace.C:
12815         * kbmap.h:
12816         * lyxlength.h:
12817         * lyxgluelength.h:
12818         * length_common.h:
12819         * chset.h:
12820         * chset.C: add docs
12821
12822         * lyxgui.C: add ID to X error handler
12823
12824         * lyxtestclass.c: fix typo
12825
12826 2002-02-26  Juergen Vigna  <jug@sad.it>
12827
12828         * tabular_funcs.C (write_attribute): changed so that some default
12829         attributes are not written at all.
12830         (getTokenValue): set default values before trying to read the
12831         value so we have the return value always set as default if we don't
12832         find the token we search for.
12833
12834         * tabular.C (Write): write bools as bools not as strings!
12835
12836 2002-02-22  Juergen Vigna  <jug@sad.it>
12837
12838         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12839         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12840
12841         * text.C (leftMargin): don't add an indent for paragraphs inside
12842         tabular cells (fix #208).
12843
12844 2002-02-21  José Matos  <jamatos@fep.up.pt>
12845
12846         * tabular.C (docBook): fixed support for long tables.
12847
12848 2002-02-20  Juergen Vigna  <jug@sad.it>
12849
12850         * text2.C (getFont): get the drawing font of the Inset if this
12851         paragraph is inside an inset (only important for InsetERT for now).
12852
12853         * buffer.C (insertErtContents): use new lanugage params in ERT
12854         constructor.
12855
12856         * CutAndPaste.C: commenting out seemingly uneeded code.
12857
12858 2002-02-19  Allan Rae  <rae@lyx.org>
12859
12860         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12861         Iterators might be simple to use but they also get invalidated.
12862         (removeAutoInsets): renamed saved cursor tracking variables and added
12863         some comments to clarify what everything does.
12864
12865 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12866
12867         * Chktex.C:
12868         * LaTeX.C:
12869         * LyXSendto.C:
12870         * converter.C:
12871         * lyx_cb.C:
12872         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12873         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12874
12875         * lyxfunc.C:
12876         * vc-backend.h: remove #include "support/syscall.h"
12877
12878         * LaTeX.C:
12879         * LyXSendto.C:
12880         * converter.C: rearrange #includes in Lars' approved fashion.
12881
12882         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12883         forward declare class Timeout in the header file.
12884
12885         * XFormsView.C: changes due to the above.
12886
12887         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12888         similar to LyXView.
12889
12890         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12891         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12892
12893 2002-02-18  José Matos  <jamatos@fep.up.pt>
12894
12895         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12896         insets contents.
12897
12898 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12899
12900         * a lot of small ws changes
12901         * add a lot of using std::XXX
12902         * use std construcs some places where approp.
12903         * use some exisint stuff from lyxfunctional where approp.
12904         * Make file changes to use partial linking (lets test this now...)
12905
12906 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12907
12908         * Chktex.C:
12909         * buffer.C:
12910         remove #include "support/syscontr.h" as it's redundant. Always has been.
12911
12912         * Chktex.C:
12913         * LaTeX.C:
12914         * LyXSendto.C:
12915         * converter.C:
12916         * lyx_cb.C:
12917         * vc-backend.C:
12918         change Systemcalls::System to Systemcalls::Wait and
12919         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12920         No change of functionality, just reflects the stripped down Systemcalls
12921         class.
12922
12923 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12924
12925         * debug.[Ch]: add a GRAPHICS type to the enum.
12926
12927 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12928
12929         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12930
12931         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12932         there is an inset.
12933
12934 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12935
12936         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12937         match the changes below.
12938
12939         * text2.C (toggleInset): if there is not editable inset at cursor
12940         position, try to see if cursor is _inside_ a collapsable inset
12941         and close it.
12942
12943 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12944
12945         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12946         document menu has a nice checkbox
12947
12948 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12949
12950         * lyxlength.C (asLatexString): change PW to output as percent of
12951         \textwidth.
12952
12953         * lengthcommon.C: change '%' to 't%'
12954
12955         * lyxfunc.C (dispatch): a few comments from Martin
12956
12957 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12958
12959         * WorkArea.h:
12960         * WorkArea.C:
12961         * BufferView_pimpl.h:
12962         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12963           the X selection.
12964
12965 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12966
12967         * vspace.C (inPixels): fix compiler warning
12968
12969 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12970
12971         * lyxfunc.C (getStatus): fix status message for disabled commands.
12972
12973 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12974
12975         * BufferView_pimpl.C: fix crash on close buffer
12976         during selection (#227)
12977
12978 2002-01-27  Herbert Voss  <voss@lyx.org>
12979
12980         * buffer.C: link old Figure to new graphic inset
12981
12982 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12983
12984         * FontLoader.C (getFontinfo): Change the latex font names in order
12985         to match the names of type1inst.
12986
12987 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12988
12989         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12990
12991         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12992         (extchanged): ditto
12993         (ext_exist): ditto
12994         (remove_files_with_extension): ditto
12995         (remove_file): ditto
12996         (write): ditto
12997
12998         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12999         document is smaller than the work area height. Do not initialize
13000         static variables to 0.
13001
13002 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13003
13004         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13005
13006         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13007         LFUN_LAYOUT_PARAGRAPHS.
13008
13009         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13010         tabular. It is possible to provide a possible cell, which will
13011         typically be the actcell from the corresponding insettabular
13012
13013         * lyxfunc.C (getStatus): small cleanup; disable
13014         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13015         true
13016
13017 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13018
13019         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13020
13021         * paragraph.C (startTeXParParams):
13022         (endTeXParParams): new methods. The LaTeX code to
13023         start/end paragraph formatting
13024         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13025         empty (fixes bug #200)
13026
13027         * vspace.C (inPixels): adapt to the change below
13028         (inPixels): [later] more cleanups (remove unused variables)
13029
13030         * lyxlength.C (inPixels): change to use a width and a height as
13031         parameter.
13032
13033 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13034
13035         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13036         Replaced with \paperwidth
13037
13038         * DepTable.C (insert): add std:: qualifier
13039
13040 2002-01-18  Allan Rae  <rae@lyx.org>
13041
13042         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13043         updated also?
13044
13045         * text.C (drawInset): Turned out I didn't know enough about how
13046         rebreaking worked.  This fixes most of the redraw problems.  I see
13047         an occasional cursor trail when a line is broken now and the cursor
13048         placement can seem out by a few pixels also after a rebreak.
13049
13050 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13051
13052         * buffer.C (parseSingleLyXformat2Token): update because minipage
13053         width is now a LyXLength
13054
13055         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13056
13057         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13058         math insets
13059
13060 2002-01-17  Juergen Vigna  <jug@sad.it>
13061
13062         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13063
13064         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13065         is set correctly and the inset is updated correctly.
13066
13067 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13068
13069         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13070         the beginning of the loop.
13071
13072 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13073
13074         * lyxrc.C: improve help for use_scalable_fonts
13075
13076 2002-01-17  Allan Rae  <rae@lyx.org>
13077
13078         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13079
13080 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13081
13082         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13083         make sure to set their inset_owner to the right value (bug #171)
13084
13085 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13086
13087         * DepTable.h
13088         * DepTable.C: Implement mtime checking to reduce time spent doing
13089         CRCs.
13090
13091 2002-01-16  Juergen Vigna  <jug@sad.it>
13092
13093         * tabular.C (GetAdditionalHeight): one of error fixed.
13094
13095         * lyxrc.C (output): small fix in writing use_pspell.
13096
13097 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13098
13099         * sp_base.h: #include LString.h
13100
13101 2002-01-16  Allan Rae  <rae@lyx.org>
13102
13103         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13104         Can someone check this please?
13105
13106         * text.C (drawInset): It was possible that p.row would be removed by
13107         breakAgainOneRow upsetting a few other settings.  There may be another
13108         small tweak possible by setting need_break_row = 0 when p.row has been
13109         removed but I don't know enough about the logic here.
13110
13111 2002-01-15  Allan Rae  <rae@lyx.org>
13112
13113         * text.C (insertChar): removed conditional truism.
13114
13115         * BufferView2.C (removeAutoInsets): More tweaks.
13116         cur_par_prev could be a stray pointer.  Check for trailing empty line
13117         in case last line was cur_par and only had an error inset on it.
13118
13119 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13120
13121         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13122         absolute
13123
13124         * vc-backend.C (most methods):
13125         * exporter.C (Export):
13126         * converter.C (convert):
13127         (runLaTeX):
13128         * LyXSendto.C (SendtoApplyCB):
13129         * lyxfunc.C (dispatch):
13130         (menuNew):
13131         (open):
13132         (doImport):
13133         * lyx_cb.C (AutoSave):
13134         (InsertAsciiFile):
13135         * BufferView_pimpl.C (MenuInsertLyXFile):
13136         * buffer.C (runChktex): use Buffer::filePath().
13137
13138         * buffer.h: rename filename to filename_; rename filepath to
13139         filepath_ and make it private
13140         (filePath): new method
13141
13142         * buffer.C (writeFile): use fileName()
13143         (getLatexName):
13144
13145         * lyx_main.C (init): fix starting  of LyX when the binary is a
13146         link from so,ewhere else.
13147
13148         * minibuffer.C: include <cctype> for isprint
13149
13150 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13151
13152         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13153         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13154         name clash with InsetCollapsable's width function.
13155
13156 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13157
13158         * lastfiles.C: include <iterator>
13159
13160 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13161
13162         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13163         std::count.
13164
13165         * buffer.C (makeLaTeXFile): ditto.
13166         Also make loop operation more transparent.
13167
13168 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13169
13170         * ToolbarDefaults.C: remove trailing comma closing namespace.
13171
13172         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13173
13174         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13175         as in WorkArea.
13176
13177         * trans.C (Load): comment out unused variable, allowed.
13178
13179 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13180
13181         * minibuffer.[Ch] (append_char): new method to recieve input from the
13182         drop-down completion browser. If a key was pressed, then recieve this
13183         char and append it to the existing string.
13184         (peek_event): modify the positioning data passed to the completion
13185         browser so that it can be placed above the minibuffer rather than below.
13186 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13187
13188         * LyXAction.C (init): alloe error-next for readonly documents.
13189
13190         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13191         count.
13192
13193 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13194
13195         * bufferlist.C (readFile): create the buffer _after_ checking that
13196         the file exists.
13197
13198         * lyxfunc.C (verboseDispatch): fix handling of arguments
13199
13200         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13201
13202         * lyxrc.C: use string::erase() instead of initializing to "".
13203
13204
13205 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13206
13207         * BufferView_pimpl.h:
13208         * BufferView_pimpl.C:
13209         * WorkArea.h:
13210         * WorkArea.C:
13211         * text2.C: tell X when we have made a selection for copying
13212
13213 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13214
13215         * BufferView_pimpl.C (MenuInsertLyXFile):
13216         * lyxfunc.C (menuNew):
13217         (open):
13218         (doImport): add shortcuts to directory buttons
13219
13220         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13221         open a float)
13222
13223         * lyxfunc.C (setStatusMessage):
13224         (getStatusMessage): new methods
13225         (getStatus):use setStatusMessage instead of setErrorMessage
13226         (dispatch): when function is disabled, set error message here
13227         [instead of in getStatus previously]
13228
13229         * BufferView_pimpl.C (workAreaButtonRelease): update
13230         toolbar/menubar here too.
13231
13232 2002-01-13  Allan Rae  <rae@lyx.org>
13233
13234         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13235         Now seems indestructible.  Remaining task is to audit all other
13236         code affected by deleteEmptyParagraphMechanism.  One small quirk
13237         left is that an empty document with an error in the preamble can
13238         be made to report an error but no error box appears.  I don't know
13239         where it goes.
13240         (removeAutoInsets): Improved comments.
13241
13242 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13243
13244         * Thesaurus.h:
13245         * Thesaurus.C: update for Aiksaurus 0.14
13246
13247 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13248
13249         * text2.C (firstParagraph): removed member function, all uses
13250         replaces with ownerParagraph
13251         (redoParagraphs): here
13252         (updateInset): here
13253         (toggleAppendix): here
13254         * BufferView2.C (insertErrors): here
13255         (setCursorFromRow): here
13256
13257 2002-01-13  Allan Rae  <rae@lyx.org>
13258
13259         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13260         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13261         There is still a way to segfault this although you may have to do this
13262         multiple times: Have an InsetERT with an unknown command in it.
13263         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13264         <down-arrow>, <Enter> again, View->DVI, BANG!
13265
13266         * text2.C (setCursor):
13267         (deleteEmptyParagraphMechanism):
13268         * lyxtext.h (setCursor):
13269         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13270         Making use of the return value may help fix other bugs.
13271
13272 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13273
13274         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13275
13276         * LyXView.C (updateMenubar): call MenuBar::update here
13277         (updateToolbar): but not here
13278         (showState): do not update toolbar/menubar
13279
13280         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13281         should need to care about that.
13282
13283         * lyxfunc.C (verboseDispatch): simplify a bit
13284         (getStatus): have a version which takes a pseudoaction, and
13285         another which requires a (kb_action,string).
13286
13287         * LyXAction.C (retrieveActionArg): make it work also when action
13288         is not a pseudo-action.
13289         (getActionName): simplify a bit
13290         (helpText):
13291
13292 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13293
13294         * lyxfunc.C (verboseDispatch): new families of methods with
13295         several ways to specify a command and a bool to indicate whether
13296         the command name and shortcut should be displayed in minibuffer
13297         (eventually, we could extend that to a finer bitmask like
13298         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13299         (dispatch): the pristine dispatch command which just, well,
13300         dispatchs! Note it still sets its result to minibuffer; I'm not
13301         sure we want that.
13302
13303         * lyxfunc.h: remove setHintMessage
13304
13305         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13306
13307 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13308
13309         * BufferView_pimpl.C (specialChar): delete new inset if we have
13310         not been able to insert it.
13311
13312         * kbmap.C: revert to using int instead of kb_action, since all we
13313         are dealing with is pseudo-actions.
13314
13315         * LyXAction.C (searchActionArg): change to return int instead of
13316         kb_action, since the result is a pseudoaction.
13317
13318 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13319
13320         * buffer.C (insertErtContents): Fix (partially) the font bug.
13321
13322 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13323
13324         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13325         as the other one is broken on my machine!
13326
13327 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13328
13329         * commandtags.h:
13330         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13331
13332 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13333
13334         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13335         reflect their actual use. Provide compatibility code for older lyxrc
13336         files.
13337
13338         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13339         FL_NORMAL_STYLE.
13340         change names of popup font variables in line with the changes to lyxrc.C
13341
13342 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13343
13344         * buffer.C (asciiParagraph): avoid outputing a word twice after
13345         an inset.
13346
13347         * lyxrc.C (getDescription): document that document_path and
13348         template_path can be empty.
13349
13350 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13351
13352         * LaTeXFeatures.C (getMacros):
13353         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13354
13355         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13356
13357         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13358         getPackages.
13359         (getPackages): rename feature "floats" to "float". Use an array to
13360         iterate over 'simple' features (i.e. just a \usepackage). Add
13361         handling of "amsmath" (renamed from "amsstyle").
13362
13363 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13364
13365         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13366         features list.
13367
13368 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13369
13370         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13371         FuncStaus::FuncStatus & FuncStaus::some_method().
13372
13373 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13374
13375         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13376         of the func_satus stuff. Edited and massaged in various ways by
13377         JMarc.
13378
13379         * lyxfunc.C (getStatus): use FuncStatus
13380
13381 2002-01-08  Juergen Vigna  <jug@sad.it>
13382
13383         * text.C (nextBreakPoint): use function Inset::isChar().
13384
13385         * paragraph.C (TeXOnePar): use function
13386         Inset::forceDefaultParagraphs.
13387
13388         * buffer.C (latexParagraphs): use function
13389         Inset::forceDefaultParagraphs.
13390
13391 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13392
13393         * lyx_gui.C (init): set the style of the menu popups to
13394         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13395
13396 2002-01-07  Juergen Vigna  <jug@sad.it>
13397
13398         * text.C (setHeightOfRow): small fix
13399         (prepareToPrint): don't look at alignment if we don't have the place
13400         for doing it.
13401
13402 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13403
13404         * box.C: New file. Move the Box methods and functions out of box.h,
13405         following Lars' suggestion.
13406
13407 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13408
13409         * box.h: #include "support/LOstream.h", needed for inlined function.
13410
13411         * lyxtextclass.C:
13412         * lyxtextclasslist.C: added some using std declarations.
13413
13414 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13415
13416         * box.h: make signed dimensions to allow insets wider than
13417           the screen (bug #162)
13418
13419         * BufferView_pimpl.C: add some insetHit debug
13420
13421 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13422
13423         * vc-backend.C: add FIXME
13424
13425 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13426
13427         * lyxfunc.C (getStatus): enable code for showing math font status
13428         in toolbar/menu.
13429
13430 2002-01-07  Juergen Vigna  <jug@sad.it>
13431
13432         * text.C (nextBreakPoint): removed debug output not needed anymore.
13433
13434 2002-01-06  Juergen Vigna  <jug@sad.it>
13435
13436         * text.C (nextBreakPoint): fixed up this function we had this bug
13437         since ever but now hopefully we break row better.
13438         (insertChar): we have to check if an inset is the next char as it
13439         could now happen that a large inset is causing a break.
13440
13441 2002-01-05  Juergen Vigna  <jug@sad.it>
13442
13443         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13444         if it doesn't like to be drawed.
13445
13446 2002-01-04  Juergen Vigna  <jug@sad.it>
13447
13448         * BufferView2.C (lockInset): forgot to set a cursor.
13449
13450         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13451
13452 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13453
13454         * FormMathsPanel.C:
13455         * FormMathsPanel.h
13456         * MathsSymbols.C:
13457         * form_maths_panel.C:
13458         * form_maths_panel.h:
13459         * form_maths_panel.fd: implemented sub- and super- buttons in math
13460         panel.
13461
13462         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13463         (or ^ space) to be used as in TeX (req'd by André).
13464
13465         * lyxfunc.C: Allow ^ and _ again to be used both as
13466         super/subscript (mathed) and as themselves (in text).
13467
13468 2002-01-03  Allan Rae  <rae@lyx.org>
13469
13470         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13471         "LyX" or the filename of the current buffer if it has one.  This is a
13472         modified form of John Levon's patch.
13473
13474         * XFormsView.C (setWindowTitle): also set icon title.
13475
13476         * LyXView.h (setWindowTitle): signature changed.
13477         * XFormsView.h (setWindowTitle): ditto.
13478
13479 2002-01-02  Juergen Vigna  <jug@sad.it>
13480
13481         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13482
13483 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13484
13485         * screen.C (topCursorVisible): introduce a temp var for
13486         text->cursor.row(), handle the case where this row is null. (kindo
13487         hachish)
13488
13489         * text2.C (setCursor): add a couple of asserts.
13490
13491         * paragraph.h (inset_iterator): add -> operator
13492
13493         * paragraph.[Ch] (autoDeleteInsets): remove member function
13494
13495         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13496         cursor pos correctly and handle inset deletion by itself.
13497         (insertErrors): move iterator declaration out of for expression
13498
13499         * lyxtextclass.C: add <algorithm>
13500
13501         * Makefile.am: added the new files to sources, removed layout.C
13502
13503         * layout.C: removed file
13504
13505         * layout.h: remove LYX_DUMMY_LAYOUT
13506
13507         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13508         layout.
13509
13510         * lyxlayout.[Ch]:
13511         * lyxtextclass.[Ch]:
13512         * lyxtextclasslist.[Ch]: new files
13513
13514         * include order changes to a lot of files, also changes because of
13515         the six new files.
13516
13517 2001-12-27  Juergen Vigna  <jug@sad.it>
13518
13519         * buffer.C (asciiParagraph): more fixes.
13520
13521         * tabular.C (ascii): make ascii export support export of only the
13522         data separated by a column-delimiter.
13523         (ascii): better support for ascii export.
13524
13525         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13526
13527 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13528
13529         * tabular_funcs.C: use a "using std::getline" instead of the
13530         previous fix from Angus (necessary for cxx + lyxstring)
13531
13532 2001-12-24  Juergen Vigna  <jug@sad.it>
13533
13534         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13535
13536         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13537         problems. First check a minipage also if we have some ert-contents
13538         (not only on par->size(), second set the right depth of the paragraph
13539         on the relink to the root-paragraph-list!
13540
13541         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13542         which then did not anymore update the main paragraphs on undo/redo!
13543
13544 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13545
13546         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13547         code. Support all font-changing funcs (even those which are not in
13548         menu currently). Support for reporting font settings in
13549         mathed (disabled until Andre provides a function on mathed's side).
13550
13551         * func_status.h (toggle): small helper function to set toggle
13552         state on a flag.
13553
13554 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13555
13556         * tabular_funcs.C: getline -> std::getline
13557
13558 2001-12-21  Juergen Vigna  <jug@sad.it>
13559
13560         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13561         accessed and could be 0 (I couldn't generate this but it seems
13562         Michael could!).
13563
13564 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13565
13566         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13567         * tabular_funcs.h: here and include iosfwd
13568
13569 2001-12-20  Juergen Vigna  <jug@sad.it>
13570
13571         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13572         inside inset but undo_par was.
13573
13574 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13575
13576         * Thesaurus.C: always include <config.h> in sources.
13577
13578         * Painter.h:
13579         * lyxlookup.h:
13580         * box.h: do not include <config.h> in header files
13581
13582         * text.C (paintLastRow): remove unused variable
13583
13584         * text.C (transformChar):
13585         (insertChar):
13586         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13587
13588         * Painter.C (text):
13589         * font.C (width): rewrite to use uppercase() instead of
13590         islower/toupper.
13591
13592         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13593
13594 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13595
13596         * lyxfind.C: clean up of find failure position change
13597
13598 2001-12-20  Juergen Vigna  <jug@sad.it>
13599
13600         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13601
13602         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13603         (TeXRow): added to LaTeX a single tabular row.
13604         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13605         (Latex): simplified and finally good LT-h/f support.
13606         (various_functions): just small adaptions for LT-h/f support.
13607
13608         * tabular_funcs.[hC]: added and moved here all not classfunctions
13609         of LyXTabular.
13610
13611 2001-12-19  Juergen Vigna  <jug@sad.it>
13612
13613         * tabular.[Ch]: better support for longtabular options (not finished
13614         yet!)
13615
13616 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13617
13618         * text.C (paintLastRow): use the label font instead of the font of
13619         the last character to compute the size of *_BOX. This makes more
13620         sense and avoids a crash with empty paragraphs.
13621         Use Painter::rectangle to draw EMPTY_BOX.
13622
13623 2001-12-19  Juergen Vigna  <jug@sad.it>
13624
13625         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13626         the paragraphs if the replaced paragraph is not the first one!
13627         Tried to delete not used paragraphs but does not work yet so for
13628         now it's inside #ifdef's and by default off!
13629
13630 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13631
13632         * MenuBackend.C: include "lyx_main.h" instead of declaring
13633         lastfiles (actually was declared as LastFiles* instead of a
13634         scoped_ptr).
13635
13636 2001-12-17  Juergen Vigna  <jug@sad.it>
13637
13638         * tabular.C (AppendColumn): applied John's fix
13639
13640 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13641
13642         * BufferView.h:
13643         * BufferView.C:
13644         * BufferView_pimpl.h:
13645         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13646
13647         * Makefile.am:
13648         * box.h: new start of class for above
13649
13650         * lyxfunc.C: ignore space-only minibuffer dispatches.
13651           Show the command name when it doesn't exist
13652
13653         * minibuffer.C: don't add empty lines to the history
13654
13655         * minibuffer.C: add a space on dropdown completion
13656
13657 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13658
13659         * text.C: fix line above/below drawing in insets
13660
13661 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13662
13663         * lyxlength.C (LyXLength): Initialize private variables.
13664
13665 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13666
13667         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13668         when inserting error insets.
13669
13670 2001-12-13  Juergen Vigna  <jug@sad.it>
13671
13672         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13673         actually sometimes the before-paragraph.
13674         (setUndo): don't clear the redostack if we're not actually undoing!
13675
13676 2001-12-06  Juergen Vigna  <jug@sad.it>
13677
13678         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13679         and fixed redoing of main paragraph, so we can use it now ;)
13680
13681         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13682
13683 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13684
13685         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13686         Juergen's request
13687
13688 2001-12-13  André Pönitz <poenitz@gmx.net>
13689
13690         * undostack.[Ch]:
13691         * undo_func.C: minor cleanup
13692
13693 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13694
13695         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13696         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13697         font in urw-fonts package which is marked as -urw-fontspecific and
13698         does not work (incidentally, changing the encoding in the
13699         fonts.dir of this package to -adobe-fontspecific fixes the
13700         problem).
13701
13702         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13703         is a crash when undoing first paragraph (Juergen, please take a
13704         look). THis does not mean the undo fix is wrong, just that it
13705         uncovers problems.
13706
13707         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13708         the (Paragraph*) version when needed instead of duplicating the
13709         code.
13710
13711         * text.C (workWidth): use Inset::parOwner to find out where the
13712         inset has been inserted. This is a huge performance gain for large
13713         documents with lots of insets. If Inset::parOwner is not set, fall
13714         back on the brute force method
13715
13716         * paragraph_pimpl.C (insertInset):
13717         * paragraph.C (Paragraph):
13718         (cutIntoMinibuffer): set parOwner of insets when
13719         inserting/removing them
13720
13721         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13722
13723 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13724
13725         * commandtags.h:
13726         * LyXAction.C:
13727         * lyx_main.C:
13728         * lyxfunc.C:
13729         * mathed/formulabase.C:
13730         * mathed/math_cursor.[Ch]:
13731         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13732
13733
13734 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13735
13736         * lyxlength.[Ch] (operator!=): new function
13737
13738 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13739
13740         * text.C (workWidth): use Inset::parOwner to find out where the
13741         inset has been inserted. This is a huge performance gain for large
13742         documents with lots of insets. If Inset::parOwner is not set, fall
13743         back on the brute force method
13744
13745         * paragraph_pimpl.C (insertInset):
13746         * paragraph.C (Paragraph):
13747         (cutIntoMinibuffer): set parOwner of insets when
13748         inserting/removing them
13749
13750         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13751
13752 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13753
13754         * tabular-old.C (getTokenValue):
13755         * tabular.C (getTokenValue):
13756         (write_attribute): new versions for LyXLength
13757         (everywhere): adjust the use of widths
13758
13759         * tabular.h: change the type of widths from string to LyXLength
13760
13761 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13762
13763         * paragraph.C: fixed missing line number count when exporting
13764         Environments to LaTeX file
13765
13766         * buffer.C: added informational message for checking line numbers.
13767
13768 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13769
13770         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13771         paragraph, do the 'double space' part, but not the 'empty
13772         paragraph' one.
13773
13774         * text.C (workWidth): small optimization
13775         (getLengthMarkerHeight): use minimal size for negative lengths.
13776
13777 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13778
13779         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13780
13781         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13782
13783 2001-12-11  André Pönitz <poenitz@gmx.net>
13784
13785         * FontLoader.C:
13786         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13787
13788 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13789
13790         * text2.C: keep selection on a setFont()
13791
13792 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13793
13794         * lyx_cb.C: another bv->text misuse, from insert label
13795
13796 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13797
13798         * kbsequence.h:
13799         * kbsequence.C: re-instate nmodifier mask
13800
13801 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13802
13803         * lyx_main.h: make lyxGUI private.
13804
13805 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13806
13807         * lyxfind.C: place the cursor correctly on failed search
13808
13809 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13810
13811         * text.C (getLengthMarkerHeight): for small heights, the arrows
13812         are not always on top/bottom of the text
13813         (drawLengthMarker): smaller arrows; take the left margin in
13814         account; draw also vfills.
13815         (paintFirstRow):
13816         (paintLastRow): remove special code for vfill and standard spaces,
13817         since everything is handled in drawLengthMarker now.
13818
13819 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13820
13821         * buffer.C (insertErtContents): try to handle font and language
13822         interaction a bit better.g
13823
13824         * ColorHandler.C (updateColor): change the hash to cover the whole
13825         LColor enum, ws cleanup
13826         (getGCLinepars): ditto
13827         (getGCLinepars): only lookup in the linecache once.
13828
13829 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13830
13831         * iterators.C (operator++): Make the iterator more robust
13832
13833         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13834         (John's patch)
13835         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13836
13837 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13838
13839         * lyxtext.h:
13840         * text.C: better added space drawing
13841
13842 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13843
13844         * LyXView.C:
13845         * BufferView2.C: fix layout combo update on inset unlock
13846
13847 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13848
13849         * Makefile.am: don't compile unused files
13850
13851 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13852
13853         * lyxfunc.C:
13854         * commandtags.h:
13855         * LyXAction.C: remove old LFUN_LAYOUTNO
13856
13857 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13858
13859         * paragraph_pimpl.h:
13860         * paragraph_pimpl.C: isTextAt() doesn't need font param
13861
13862 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13863
13864         * lyxlex.h:
13865         * lyxlex.C: little cleanup
13866
13867 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13868
13869         * BufferView_pimpl.C: fix insertAscii for insets
13870
13871 2001-12-05  Juergen Vigna  <jug@sad.it>
13872
13873         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13874         set the right font on the "multi" paragraph paste!
13875
13876 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13877
13878         * trans_decl.h:
13879         * trans_mgr.[Ch]:
13880         * trans.[Ch]:
13881         * lyxgluelength.C:
13882         * lyxlength.C: remove out-commented code.
13883
13884         * BufferView_pimpl:
13885         * CutAndPaste.C:
13886         * DepTable.C:
13887         * buffer.C:
13888         * chset.C:
13889         * lastfiles.C:
13890         * lyxlex.C:
13891         * lyxlex_pimpl.C:
13892         * lyxserver.C:
13893         * screen.C:
13894         * tabular-old.C:
13895         * tabular.C:
13896         * text.C:
13897         * trans_mgr.C:
13898         * vc-backend.C: change "while(" to "while ("
13899
13900         * lyxlength.[Ch]: add zero function to check if length is zero or
13901         not
13902         * lyxgluelength.C: use it
13903
13904 2001-12-05  Allan Rae  <rae@lyx.org>
13905
13906         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13907         Works for 2.95.3, from what I understand of Garst's reports this should
13908         work for other g++ versions.  We're screwed if the abs(int) definition
13909         changed between bugfix releases of gcc.
13910
13911 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13912
13913         * text.C: fix chapter label offset !
13914
13915 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13916
13917         * lyxtext.h:
13918         * text.C: fix hfill at end of line, clean up
13919
13920 2001-12-04  Juergen Vigna  <jug@sad.it>
13921
13922         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13923         that we force an update of the inset and it's owners if neccessary.
13924
13925 2001-12-03  Juergen Vigna  <jug@sad.it>
13926
13927         * text.C (rowLast): simplified code
13928
13929 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13930
13931         * lyxfunc.C: fix show options on timeout
13932
13933 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13934
13935         * screen.C (topCursorVisible): scroll half a page when the cursor
13936         reached top of bottom of screen
13937
13938 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13939
13940         * minibuffer.C: deactivate on loss of focus
13941
13942 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13943
13944         * vspace.[Ch] (operator!=): add operator.
13945
13946 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13947
13948         * BufferView_pimpl.C: refuse to open an inset when
13949         there's a selection.
13950
13951 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13952
13953         * BufferView_pimpl.C: allow to click on RHS of full row insets
13954
13955 2001-11-30  Juergen Vigna  <jug@sad.it>
13956
13957         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13958         insets for undo reasons.
13959
13960 2001-11-28  André Pönitz <poenitz@gmx.net>
13961
13962         * vspace.[Ch]: cosmetical changes
13963
13964 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13965
13966         * LyXAction.h:
13967         * LyXAction.C:
13968         * lyxfunc.h:
13969         * lyxfunc.C:
13970         * kbmap.h:
13971         * kbmap.C:
13972         * lyxrc.C:
13973         * kbsequence.h:
13974         * kbsequence.C: part re-write of old kb code
13975
13976         * Painter.C:
13977         * WorkArea.C: remove Lgb_bug_find_hack
13978
13979 2001-11-30  José Matos <jamatos@fep.up.pt>
13980
13981         * buffer.C (makeDocBookFile): add a comment to point a hack.
13982         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13983         Fixed a double write of labels.
13984
13985 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13986
13987         * LaTeX.C:
13988         * LaTeX.h Fixed bug in LaTeX class where it would not
13989         re-run latex if no depfiles were changed, but the .dvi was removed.
13990
13991 2001-11-28  André Pönitz <poenitz@gmx.net>
13992
13993         * all the files from the change on 2001/11/26:
13994         use lyx::layout_type instead of LyXTextClass::size_type
13995         use lyx::textclass_type instead of LyXTextClassList::size_type
13996
13997 2001-11-29  Juergen Vigna  <jug@sad.it>
13998
13999         * text.C: added support for paragraph::isFreeSpacing()
14000
14001         * buffer.C: same as above
14002
14003         * paragraph.h: inserted isFreeSpacing() function to enable
14004         FreeSpacing inside InsetERT.
14005
14006         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14007         of the paragraph's in the cut/copy buffer to 0!
14008
14009         * text2.C (removeRow): remove the assert as it can!
14010
14011         * lyxtext.h: added helper function firstRow returning firstrow and
14012         made firstrow private again.
14013
14014         * BufferView2.C (lockInset): don't relock if we're already locked!
14015
14016         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14017         the only paragraph.
14018         (removeRow): added Assert::(firstrow)
14019
14020         * debug.C: forgot to add INSETTEXT here.
14021
14022 2001-11-28  Juergen Vigna  <jug@sad.it>
14023
14024         * sp_spell.C (initialize): changed error text to more general
14025         spellchecker command use (not only ispell!)
14026
14027         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14028
14029         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14030
14031 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14032
14033         * vspace.C: initialise lyxgluelength on failure
14034
14035 2001-11-28  Allan Rae  <rae@lyx.org>
14036
14037         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14038         declaration & definition that looks like a function declaration.
14039
14040 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14041
14042         * BufferView2.C (copy):
14043         (copyEnvironment): do not clear the selection when doing a copy.
14044
14045         * text.C (paintFirstRow): compilation fix
14046
14047 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14048
14049         * tabular.C (Latex): correct line count when writing latex.
14050
14051 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14052
14053         * paragraph_pimpl.h:
14054         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14055           bug a bit
14056
14057 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14058
14059         * text.C:
14060         * LColor.h:
14061         * LColor.C: change vfillline->added_space
14062
14063         * text.C: add markers and text for added space
14064
14065         * vspace.C: fix comment
14066
14067 2001-11-28  André Pönitz <poenitz@gmx.net>
14068
14069         * paragraph.C: whitespace changes
14070         * all the other files from the change on 2001/11/26:
14071         change *::pos_type into lyx::pos_type
14072
14073 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14074
14075         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14076         language of the document when inserting error insets.
14077
14078 2001-11-26  André Pönitz <poenitz@gmx.net>
14079
14080         * BufferView_pimpl.[Ch]:
14081         *       CutAndPaste.C:
14082         * buffer.[Ch]:
14083         * lyxcursor.[Ch]:
14084         * lyxfind.C:
14085         * lyxfunc.C:
14086         * lyxrow.[Ch]:
14087         * paragraph.[Ch]:
14088         * paragraph_pimpl.[Ch]:
14089         * sp_spell.C:
14090         * text.C:
14091         * text2.C: reduce header dependencies, introduce type for positions
14092
14093 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14094
14095         * <various>: change to use Alert.h
14096
14097 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14098
14099         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14100         when encountering an unknown token.
14101         (readLyXformat2): Show an error message if there were unknown tokens.
14102
14103 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14104
14105         * BufferView2.C:
14106         * BufferView_pimpl.C:
14107         * buffer.C:
14108         * paragraph.h:
14109         * text.C:
14110         * text2.C: use par->isInset()
14111
14112 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14113
14114         * paragraph_pimpl.h:
14115         * paragraph_pimpl.C: cleanup
14116
14117 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14118
14119         * text2.C (removeRow):
14120         * text.C (setHeightOfRow): remove useless (and costly) call to
14121         getRow.
14122
14123 2001-11-20  Allan Rae  <rae@lyx.org>
14124
14125         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14126         Now need Inset*::checkInsertChar() to return true for appropriate
14127         cases so that the characters in the minibuffer will actually be
14128         inserted.
14129
14130 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14131
14132         * text.C: change the order of the includes.
14133         (workWidth): initialize it at once.
14134         (workWidth): make maxw unsigned
14135         (setHeightOfRow): remove unused variable (inset)
14136         (selectSelectedWord): remove unused variable (inset)
14137         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14138
14139 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14140
14141         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14142         server is not running.
14143         (openConnection):
14144         (closeConnection): add debug info when server is disabled.
14145
14146         * ColorHandler.C (getGCForeground): send debug message to GUI
14147         channel.
14148
14149         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14150
14151         * kbmap.C (bind): modify because return conventions of
14152         kb_sequence::parse have changed.
14153
14154         * kbsequence.C (parse): only ignore spaces and not any stupid
14155         control character. This avoids tests like s[i] <= ' ', which are
14156         guaranteed to fail with 8bit characters and signed chars.
14157         Change return code to string::npos when there have been no error
14158         (0 was a bad idea when error is at first character)
14159
14160 2001-11-14  José Matos  <jamatos@fep.up.pt>
14161
14162         * buffer.h:
14163         * buffer.C (simpleDocBookOnePar): removed unused argument.
14164
14165 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14166
14167         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14168         insets which are part of a word. Paragraph::isLetter takes care of
14169         that now. Use Paragraph::isInset to identify insets.
14170         (selectSelectedWord): do not test for hyphenation break.
14171
14172         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14173         that protected spaces are considered as spaces.
14174
14175         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14176         Inset::isLetter.
14177
14178 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14179
14180         * lyxserver.h:
14181         * lyxserver.C: fix it. and small cleanup.
14182
14183 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14184
14185         * BufferView_pimpl.C: use inline helpers
14186
14187         * LaTeXFeatures.h:
14188         * LaTeXFeatures.C: fix typos
14189
14190         * Spacing.h:
14191         * Spacing.C: move spacing_string into class
14192
14193         * ToolbarDefaults.C: move stuff into namespace anon
14194
14195         * layout.h: update enum
14196
14197         * lyxfunc.C: use better debug
14198
14199         * minibuffer.h: fix typo
14200
14201         * debug.h:
14202         * debug.C:
14203         * WorkArea.C: add and use Debug::WORKAREA
14204
14205         * lyxtext.h:
14206         * text.C:
14207         * text2.C: code re-organisation, inline helpers
14208
14209 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14210
14211         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14212         std::vector.empty().
14213
14214 2001-11-09  Allan Rae  <rae@lyx.org>
14215
14216         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14217         '\n's after tables.  Tabular and ERT inset work now makes this no
14218         longer necessary.
14219
14220 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14221
14222         * minibuffer.h:
14223         * minibuffer.C: fix crash, improve drop-down completion
14224
14225 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14226
14227         * lyxserver.h:
14228         * lyxserver.C: invalidate fd's when doing endPipe()
14229
14230 2001-11-08  José Matos  <jamatos@fep.up.pt>
14231
14232         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14233         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14234
14235         * paragraph.h:
14236         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14237
14238 2001-11-07  José Matos  <jamatos@fep.up.pt>
14239
14240         * buffer.h:
14241         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14242         const qualifier.
14243
14244         * buffer.C (sgmlOpenTag):
14245         * buffer.C (sgmlCloseTag): removed debug info.
14246
14247         * buffer.h (sgmlOpenTag):
14248         * buffer.h (sgmlCloseTag): made public.
14249
14250 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14251
14252         * buffer.C (saveParamsAsDefaults):
14253         * lyx_cb.C (MenuLayoutSave): remove
14254
14255         * LyXAction.C (init):
14256         * commandtags.h:
14257         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14258
14259 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14260
14261         * buffer.C (setPaperStuff): removed from here...
14262
14263         * bufferparams.C (setPaperStuff): ... and moved there.
14264
14265 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14266
14267         * minibuffer.h:
14268         * minibuffer.C:
14269         * XFormsView.C: add support for drop-down completion
14270
14271 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14272
14273         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14274         commands.
14275
14276 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14277
14278         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14279         disabled.
14280
14281 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14282
14283         * lyx_main.C: change ref to known bugs
14284
14285 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14286
14287         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14288         to work around older babel problems.
14289
14290 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14291
14292         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14293
14294 2001-10-24  Juergen Vigna  <jug@sad.it>
14295
14296         * tabular-old.C (ReadOld): below variable changes reflected.
14297
14298         * tabular.[Ch]: added ltType struct for longtable header/footer
14299         defines and changed all instances where they are used. Added
14300         future support for double top/bottom rows.
14301
14302 2001-10-24  José Matos  <jamatos@fep.up.pt>
14303
14304         * buffer.h (docbookHandleCaption):
14305         * buffer.C (docbookHandleCaption): removed unused function.
14306         (makeDocBookFile): moved docbook supported version to v4.1.
14307
14308 2001-10-24  José Matos  <jamatos@fep.up.pt>
14309
14310         * tabular.h:
14311         * tabular.C (docbookRow): new function to export docbook code of a row.
14312         (DocBook): now honors the longtable flags.
14313
14314 2001-10-23  José Matos  <jamatos@fep.up.pt>
14315
14316         * LaTeXFeatures.h:
14317         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14318         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14319
14320         * buffer.C (makeLinuxDocFile):
14321         (makeDocBookFile): reworked the preamble, more clean, and with
14322         support for lyx defined entities. Changed the document declaration
14323         to be more XML friendly.
14324
14325         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14326         if we need to output XML that should be done with a filter.
14327
14328 2001-10-22  Juergen Vigna  <jug@sad.it>
14329
14330         * sp_pspell.h (class PSpell): add alive function needed in the
14331         controller to see if the spellchecker could be started.
14332
14333 2001-10-22  Juergen Vigna  <jug@sad.it>
14334
14335         * buffer.C (insertStringAsLines): modify the font for inserting
14336         chars in certain conditions by calling checkInsertChar(font).
14337
14338 2001-10-19  Juergen Vigna  <jug@sad.it>
14339
14340         * text.C (workWidth): use getRow instead of wrong algorithm.
14341         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14342
14343 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14344
14345         * lyxserver.h:
14346         * lyxserver.C:
14347         * lyx_main.h:
14348         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14349
14350 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14351
14352         * text.C (workWidth): do not search for the exact row when
14353         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14354         optimization for big documents.
14355
14356 2001-10-18  Juergen Vigna  <jug@sad.it>
14357
14358         * text.C (workWidth): new function with added Inset * parameter.
14359
14360 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14361
14362         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14363
14364         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14365         change return type of getColumnNearX.
14366
14367
14368         * text.C (changeRegionCase): use uppercase/lowercase instead of
14369         toupper/tolower.
14370         (leftMargin):
14371         (rightMargin): simplify code by factoring out the uses of
14372         textclasslist.
14373         (labelFill):
14374         (numberOfHfills):
14375         (setHeightOfRow):
14376         (appendParagraph): use Paragraph::size_type
14377
14378 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14379
14380         * vspace.C (asLatexString): add a missing break
14381
14382 2001-10-15  Herbert Voss  <voss@perce.de>
14383
14384         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14385
14386 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14387
14388         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14389         is not available.
14390
14391 2001-10-10  André Pönitz <poenitz@gmx.net>
14392
14393         * lyxfunc.C: removed greek_kb_flag.
14394
14395 2001-10-10  Herbert Voss  <voss@perce.de>
14396
14397         * lyx_main.C: delete global string help_lyxdir.
14398
14399 2001-10-09  Herbert Voss  <voss@perce.de>
14400
14401         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14402
14403         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14404
14405         * lyx_main.C: added global string help_lyxdir.
14406
14407         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14408
14409 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14410
14411         * lyxrc.C (set_font_norm_type): support iso8859-4
14412
14413 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14414
14415         * LaTeX.C (deplog): add another regex for MikTeX
14416
14417 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14418
14419         * lyxrc.C (set_font_norm_type): support iso8859-3
14420
14421 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14422
14423         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14424
14425         * LaTeXFeatures.C: remove special case of french and index
14426
14427         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14428         before \begin{document}). This solves several incompatibilities.
14429
14430 2001-10-03  Garst Reese  <reese@isn.net>
14431
14432         * lyx_cb.C: change CheckTex error msg.
14433
14434 2001-10-03  José Matos  <jamatos@fep.up.pt>
14435
14436         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14437
14438 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14439
14440         * .cvsignore: update
14441
14442         * lyx_main.C (commandLineVersionInfo): use new style version info.
14443
14444         * buffer.C (writeFile):
14445         (makeLaTeXFile):
14446         (makeLinuxDocFile):
14447         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14448
14449         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14450
14451         * version.h: update to use stuff in version.C
14452
14453         * version.C.in: new file. Contains version information determined
14454         at compile time. This is a merging of version.h and
14455         version_info.h.in.
14456
14457 2001-10-03  Juergen Vigna  <jug@sad.it>
14458
14459         * BufferView_pimpl.C (update): don't change "dirty" status in
14460         updateInset call.
14461
14462 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14463
14464         * WorkArea.C (c-tor): re-position version string slightly.
14465
14466 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14467
14468         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14469         revert to previous code.
14470
14471         WorkArea.[Ch]: (show, destroySplash): methods removed.
14472
14473         WorkArea.C: rework code so that it's an amalgam of the codes before and
14474         after the splash screen was moved to WorkArea.
14475
14476 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14477
14478         * lyxrc.C (read):
14479         * vspace.C (inPixels):
14480         (lyx_advance):
14481         * kbmap.C (bind):
14482         * buffer.C (insertStringAsLines):
14483         (asciiParagraph): fix types to be large enough
14484
14485         * lyxlex_pimpl.h: change member status from short to int
14486
14487         * layout.h: fix type of endlabeltype
14488
14489         * kbmap.C (bind):
14490         * kbsequence.C (parse): change return type to string::size_type
14491
14492         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14493         variable
14494
14495         * Bullet.C (bulletSize):
14496         (bulletEntry): do not use short ints as parameters
14497
14498         * BufferView2.C (insertLyXFile): change a char to an int.
14499
14500         * WorkArea.C (WorkArea): remove unneeded floats in computation
14501
14502 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14503
14504         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14505
14506         * paragraph.C (asString): Do not ignore newline/hfill chars when
14507         copying to the clipboard.
14508
14509 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14510
14511         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14512         after a multi-line inset.
14513
14514 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14515
14516         * paragraph.C (validate): Set NeedLyXFootnoteCode
14517
14518 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14519
14520         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14521         and decrease-error to decrease.
14522
14523 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14524
14525         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14526         it more readable (should be equivalent)
14527
14528 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14529
14530         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14531
14532 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14533
14534         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14535         of a cursor (row, etc.) after a character has been deleted
14536         (deleteEmptyParagraphMechanism): call the method above on _all_
14537         cursors held by the LyXText when a double space has been
14538         detected/deleted.
14539
14540 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14541
14542         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14543         pixmap.
14544         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14545
14546         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14547         background. Use greyOut() and the new show() methods to toggle between
14548         the foreground and background. Add code to remove the splash after
14549         its initial showing.
14550
14551         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14552         (create_forms): no longer call Dialogs::showSplash.
14553
14554 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14555
14556         * .cvsignore: add version_info.h
14557
14558 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14559
14560         * version_info.h.in: new file
14561
14562         * Makefile.am: add version_info.h.in
14563
14564         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14565         version_info.h instead of VERSION_INFO
14566
14567 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14568
14569         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14570         The ERT inset now returns string().
14571
14572 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14573
14574         * lyxtext.h, text.C (selectNextWord): renamed as
14575         selectNextWordToSpellcheck.
14576
14577         * text.C (selectNextWordToSpellcheck): Modified to not select
14578         words inside an ERT inset.
14579
14580 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14581
14582         * lyx_cb.C (MenuLayoutSave): change a bit the question
14583
14584         * sp_base.h: include <sys/types.h>
14585
14586 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14587
14588         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14589
14590 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14591
14592         * several files: fix typos in user-visible strings
14593
14594 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14595
14596         * text2.C (pasteSelection): do not set the selection, since it
14597         will be cleared later. Actually, the intent was to fix the way the
14598         selection was set, but I figured rmoving the code was just as good.
14599
14600 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14601
14602         * FontLoader.C (available): Check if font is available without
14603         loading the font.
14604
14605 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14606
14607         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14608
14609 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14610
14611         * lyxrc.[Ch]: added display_graphics variable and associated code.
14612
14613 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14614
14615         * bufferparams.C (hasClassDefaults): new method. Returns true if
14616         the buffer parameters correspond to known class defaults
14617
14618 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14619
14620         * XFormsView.C (show): set minimum size to the main window.
14621
14622 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14623
14624         * text2.C (copySelection):
14625         (cutSelection):
14626         * lyxfind.C (LyXReplace):
14627         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14628         LyXText::selectionAsString.
14629
14630         * paragraph.C (asString): add "label" argument to the second form
14631
14632         * text2.C (selectionAsString): add "label" argument and pass it to
14633         Paragraph::asString.
14634
14635 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14636
14637         * lyx_main.C (commandLineHelp): remove version information
14638
14639 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14640
14641         * lyx_main.C: add -version commandline option
14642
14643 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14644
14645         * paragraph.h: make the optional constructor arg required instead.
14646         some modifications to other files because of this.
14647
14648         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14649
14650         * lyxserver.C (C_LyXComm_callback): make it static
14651
14652         * lyx_main.C (error_handler): make it static
14653
14654         * lyx_gui.C (LyX_XErrHandler): make it static
14655
14656         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14657
14658         * WorkArea.C: make the extern "C" methods static.
14659
14660         * Makefile.am (lyx_LDADD): simplify
14661
14662 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14663
14664         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14665         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14666
14667         * LyXAction.C (init):
14668         * lyxfunc.C (dispatch): associated code removal.
14669
14670 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14671
14672         * lyxfont.h (isSymbolFont): shut off warning
14673
14674         * text.C (setHeightOfRow):
14675         (getVisibleRow): fix crash with empty paragraphs which have a
14676         bottom line
14677
14678 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14679
14680         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14681         code.
14682
14683 2001-09-04  José Matos  <jamatos@fep.up.pt>
14684         * buffer.C
14685         * buffer.h
14686         * tabular.C (docbook): rename docBook method to docbook.
14687
14688 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14689
14690         * Makefile.am: add dependencies to main.o.
14691
14692 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14693
14694         * FontLoader.C (available): Return false if !lyxrc.use_gui
14695
14696 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14697
14698         * FontInfo.C (query):
14699         * converter.C (view):
14700         * importer.C (Import):
14701         * exporter.C (Export): Can not -> cannot.
14702
14703 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14704
14705         * BufferView_pimpl.C: allow to create index inset even if
14706           string is empty
14707
14708 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14709
14710         * buffer.C (getLists): replace boost::tie code with an explicit pair
14711         as boost::tie can break some compilers.
14712
14713         * iterators.h: Added a std:: declaration to the return type of
14714         ParIterator::size.
14715
14716 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14717
14718         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14719           case.
14720
14721 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14722
14723         * iterators.[Ch]: New files. Provide paragraph iterators.
14724
14725         * buffer.C (changeLanguage): Use paragraph iterators.
14726         (isMultiLingual): ditto
14727
14728         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14729
14730 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14731
14732         * FontLoader.C: Support for cmr font.
14733
14734 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14735
14736         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14737         (available): New method.
14738
14739         * FontInfo.C (getFontname): Use scalable fonts even when
14740         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14741         found.
14742
14743 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14744
14745         * converter.C (Formats::view): reverted! Incorrect fix.
14746
14747 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14748
14749         * converter.C (Formats::view): only output the -paper option
14750         if the dvi viewer is xdvi, thereby fixing bug #233429.
14751
14752 2001-08-23  Herbert Voss  <voss@perce>
14753
14754         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14755
14756 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14757
14758         * Spacing.h (Spacing): Set space to Default on in the default
14759         constructor.
14760
14761 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14762
14763         * vc-backend.h (RCS::versionString): add RCS to version
14764         (CVS::versionString): add CVS to version
14765
14766         * vc-backend.C (scanMaster): do not add CVS to version.
14767         (scanMaster): do not add RCS to version
14768
14769         * lyxvc.C (versionString): new method
14770
14771         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14772
14773 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14774
14775         * Spacing.C (set): initialize fval
14776
14777 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14778
14779         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14780         " or \.
14781
14782 2001-08-16  Juergen Vigna  <jug@sad.it>
14783
14784         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14785
14786 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14787
14788         * BufferView_pimpl.C:
14789         * figureForm.C:
14790         * lyxtext.h:
14791         * text2.C: setParagraph takes linespacing now
14792
14793 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14794
14795         * LyxAction.C: add internal LFUN_CITATION_INSERT
14796
14797         * LyXView.C: actually apply fix
14798
14799         * bufferlist.C: fix open non-existent file
14800
14801         * lyxfind.C: fix indentation
14802
14803         * lyxfunc.C: remove unneeded assert, fix typo
14804
14805 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14806
14807         * MenuBackend.C: use "Floatname List"
14808
14809 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14810
14811         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14812         when converting LaTeX layout to insetERT.
14813         Generate a non-collapsed float when reading old float
14814
14815 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14816
14817         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14818         ERT insets.
14819
14820 2001-08-13  Juergen Vigna  <jug@sad.it>
14821
14822         * text.C (fill): return 0 instead of 20 as this seems to be the more
14823         correct value.
14824
14825 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14826
14827         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14828         lyxrc.font_norm.
14829
14830 2001-08-13  Juergen Vigna  <jug@sad.it>
14831
14832         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14833         casesensitive off.
14834         (SearchBackward): comment out the unlocking of the inset_owner this
14835         should not be needed!
14836
14837 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14838
14839         * Many files: Remove inherit_language, and add latex_language
14840
14841         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14842         collapsible insets.
14843
14844 2001-08-10  Juergen Vigna  <jug@sad.it>
14845
14846         * text.C (prepareToPrint): fixed hfill-width in draw!
14847
14848         * BufferView2.C (selectLastWord): save the selection cursor as this
14849         now is cleared in the function LyXText::clearSelection!
14850
14851 2001-08-08  Juergen Vigna  <jug@sad.it>
14852
14853         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14854         BACKSPACE type functions.
14855
14856         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14857         is only cutted from the document but not put in the cut-buffer, where
14858         still the old stuff should be.
14859
14860         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14861
14862         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14863
14864         * tabular.C (SetWidthOfCell): fixed special case where the width
14865         was not updated!
14866         (LeftLine): handle '|' in align_special.
14867         (RightLine): ditto
14868         (LeftAlreadyDrawed): ditto
14869         (SetWidthOfCell): ditto
14870
14871 2001-08-07  Juergen Vigna  <jug@sad.it>
14872
14873         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14874
14875 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14876
14877         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14878         * lyxlex.[hC]: ditto
14879
14880 2001-08-06  Juergen Vigna  <jug@sad.it>
14881
14882         * text.C (getVisibleRow): fix up row clearing a bit.
14883
14884 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14885
14886         * minibuffer.C: make sure the X server sees the changes in the input.
14887
14888 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14889
14890         * paragraph.C (getFont): split into...
14891         (getLabelFont): this
14892         (getLayoutFont): and this
14893         * paragraph_pimpl.C (realizeFont): calling this
14894
14895         * text2.C (getFont): split into...
14896         (getLayoutFont): this
14897         (getLabelFont): and this
14898         (realizeFont): all three calling this
14899
14900         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14901         files where used.
14902
14903 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14904
14905         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14906
14907 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14908
14909         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14910         layouts from the Quote inset insertion.
14911
14912 2001-08-03  Juergen Vigna  <jug@sad.it>
14913
14914         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14915
14916         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14917         only if status not is already CHANGED_IN_DRAW (second level).
14918
14919         * text.C (draw): don't set the need_break_row when inside an
14920         InsetText LyXText.
14921
14922 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14923
14924         * buffer.C (parseSingleLyXformat2Token): handle more latex
14925         conversion cases.
14926
14927         * bufferview_funcs.[hC]: change function names to
14928         begin with small char, adjust other files.
14929
14930 2001-08-02  André Pönitz <poenitz@gmx.net>
14931
14932         * lyxfunc.C:
14933         BufferView_pimpl.C: remove broken special code for math-greek
14934
14935 2001-08-02  Juergen Vigna  <jug@sad.it>
14936
14937         * BufferView_pimpl.C (update): redone this function so that we
14938         update the text again if there was a CHANGE_IN_DRAW.
14939
14940         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14941         (drawFromTo): added a new internal bool which is used by draw() and
14942         redraw() function.
14943         (general): some cursor drawing problems fixed.
14944
14945 2001-08-01  Juergen Vigna  <jug@sad.it>
14946
14947         * lyxfind.C (LyXFind): fixed
14948         (SearchForward): ditto
14949         (SearchBackward): ditto
14950
14951         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14952         spurius drawing of the cursor in the main area.
14953
14954         * text2.C (status): small fix which could lead to a segfault!
14955         (clearSelection): remove unneeded BufferView param.
14956
14957 2001-08-01  André Pönitz <poenitz@gmx.net>
14958
14959         * lyxfunc.C: small change due to changed mathed interface
14960
14961 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14962
14963         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14964
14965 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14966
14967         * lyxfunc.c: fail gracefully if file doesn't exist
14968
14969         * LyXSendto.C:
14970         * buffer.C:
14971         * lyxfunc.C:
14972         * BufferView_pimpl.C: IsDirWriteable() proto changed
14973
14974         * LyXView.C: fix updateWindowTitle() to store the last title
14975
14976 2001-07-31  Juergen Vigna  <jug@sad.it>
14977
14978         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14979         the font (wrong since using of Paragraph::highestFontInRange).
14980
14981         * paragraph.C (highestFontInRange): added a default_size parameter.
14982
14983         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14984         (setHeightOfRow): reformat
14985
14986 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14987
14988         * converter.[hC] + affected files: move to (inital-char)lowercase
14989         function names.
14990
14991         * ParagraphParameters.C (ParagraphParameters): remove commented code
14992
14993         * PainterBase.[Ch]: remove commented code
14994
14995         * LaTeXFeatures.h: add "bool floats" for float.sty
14996
14997         * LaTeXFeatures.C (LaTeXFeatures): init floats
14998         (require): handle float
14999         (getPackages): do it with floats
15000
15001 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15002
15003         * BufferView_pimpl.C (Dispatch): improve handling of
15004         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15005
15006         * commandtags.h: #include lyxfont.h here temporarily to avoid
15007         keybinding bug.
15008
15009         * bufferlist.h: include LString.h here.
15010
15011 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15012
15013         * text2.C (getStringToIndex): new method.
15014
15015 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15016
15017         * *: Reduced header file dependencies all over.
15018
15019 2001-07-30  Baruch Even  <baruch@lyx.org>
15020
15021         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15022
15023 2001-07-29  Baruch Even  <baruch@lyx.org>
15024
15025         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15026
15027 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15028
15029         * ParameterStruct.h (endif): add a default constructor to make
15030         sure that all variables is initialized.
15031
15032         * ParagraphParameters.C (ParagraphParameters): adjust
15033
15034 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15035
15036         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15037         index; also, check that there is something to index, and that it
15038         does not span over several paragraphs.
15039         (doubleClick): use WHOLE_WORD_STRICT for double click.
15040
15041         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15042
15043         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15044         scheme.
15045
15046 2001-07-26  Baruch Even  <baruch@lyx.org>
15047
15048         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15049         an InsetFig figure, backwards compatible reading of old figure code.
15050
15051 2001-07-27  Juergen Vigna  <jug@sad.it>
15052
15053         * text2.C: font.realize function adaption.
15054
15055         * text.C (draw): add a warnings lyxerr text if needed.
15056
15057         * layout.C: font.realize function adaption.
15058
15059         * language.C: add inherit_language and implement it's handlings
15060
15061         * bufferview_funcs.C (StyleReset): remove language parameter from
15062         font creation (should be language_inherit now).
15063
15064         * bufferparams.C (writeFile): handle ignore_language.
15065
15066         * paragraph.C (getFontSettings): the language has to be resolved
15067         otherwise we have problems in LyXFont!
15068
15069         * lyxfont.C (lyxWriteChanges): added document_language parameter
15070         (update): removed unneeded language parameter
15071
15072         * paragraph.C (validate): fixed wrong output of color-package when
15073         using interface colors for certain fonts in certain environments,
15074         which should not seen as that on the final output.
15075
15076 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15077
15078         * BufferView_pimpl.C:
15079         * Thesaurus.h:
15080         * Thesaurus.C:
15081         * Makefile.am:
15082         * commandtags.h:
15083         * LyXAction.C: add thesaurus support
15084
15085         * lyxfind.h:
15086         * lyxfind.C: add "once" parameter, for thesaurus, to not
15087           move to the next match
15088
15089 2001-07-26  Juergen Vigna  <jug@sad.it>
15090
15091         * lyxfont.C (realize): honor ignore_language too!
15092         (resolved): ditto.
15093
15094         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15095
15096         * text.C (draw): one place more for ignore_language to not draw
15097         itself!
15098
15099 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15100
15101         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15102
15103 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15104
15105         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15106         the minipage conversion problem.
15107
15108 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15109
15110         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15111         insert an inset.
15112
15113 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15114
15115         * BufferView.h: don't forward declare WorkArea
15116
15117         * BufferView.C: don't include WorkArea.h
15118
15119 2001-07-25  André Pönitz <poenitz@gmx.net>
15120
15121         * commandtags.h:
15122         * LyXAction.C:
15123         * lyxfunc.C:  new LFUN 'math-space'
15124
15125         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15126
15127 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15128
15129         * text2.C (toggleInset): call open/close
15130
15131 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15132
15133         * lyxfunc.C (dispatch): add debug for the disabled case
15134
15135         * font.C (buttonText): make similar to rectText
15136
15137         * buffer.C (readInset): comment out parsing of insetlist and
15138         insttheorem
15139
15140         * PainterBase.C (rectText): small correction
15141
15142         * BufferView_pimpl.C: comment out insettheorem and insetlist
15143         * LyXAction.C: ditto
15144         * commandtags.h: ditto
15145
15146 2001-07-24  Juergen Vigna  <jug@sad.it>
15147
15148         * text.C (draw): honor the ignore_language.
15149
15150         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15151
15152 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15153
15154         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15155         char inset.
15156
15157 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15158
15159         * lyxtext.h: remove unused (and unimplemented) methods
15160
15161 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15162
15163         * text.C (getVisibleRow): honor background color
15164
15165         * PainterBase.h:
15166         * Painter.h: remove default color argument for fillRectangle
15167
15168         * text.C (backgroundColor): new method
15169
15170 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15171
15172         * text.C (getVisibleRow): adjust
15173
15174         * font.[Ch] (rectText): new method, metrics
15175         (buttonText): new method, metrics
15176
15177         * PainterBase.[hC]: make rectText and buttonText always draw and take
15178         fewer paramteres.
15179
15180 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15181
15182         * ToolbarDefaults.C (read):
15183         * MenuBackend.C (read): allow escaping in all strings
15184
15185         * BufferView_pimpl.C (insertAndEditInset): new method.
15186         (Dispatch): use insertAndEditInset whenever appropriate.
15187
15188         * BufferView_pimpl.C (insertNote): removed
15189
15190         * BufferView_pimpl.C (smartQuote): new method, moved from
15191         BufferView; if an insetquote cannot be inserted, insert a '"'
15192         character instead.
15193
15194         * BufferView2.C: remove insertCorrectQuote();
15195
15196         * lyxfunc.C (getStatus): Add support for all remaingin
15197         inset-insert lfuns.
15198
15199         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15200
15201         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15202         command (necessary to pass " as parameter of self-insert.
15203
15204         * text.C (selectWordWhenUnderCursor):
15205         (selectWord): add word_location parameter
15206         (selectWordWhenUnderCursor): same + remove special code for word
15207         boundary.
15208         (selectNextWord): use kind() to guess type of insetspecialchar,
15209         not latex().
15210
15211         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15212         (insertErtContents): create ert insets as collapsed.
15213         (readInset): better compatibility code for Info inset.
15214
15215 2001-07-20  Juergen Vigna  <jug@sad.it>
15216
15217         * lyxfunc.C (dispatch): use always LyXFind now!
15218
15219         * text2.C (init): add a reinit flag so that the LyXText can be
15220         reinited instead of deleted and reallocated (used in InsetText).
15221
15222         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15223
15224         * text.C: ditto
15225
15226         * text2.C: ditto
15227
15228 2001-07-18  Juergen Vigna  <jug@sad.it>
15229
15230         * text.C (selectNextWord): handle insets inside inset by calling
15231         always the bv->text functions so that we can go up the_locking_inset!
15232
15233         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15234         in strange locations when inside an inset!
15235
15236         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15237         handling to include insets.
15238
15239         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15240
15241 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15242
15243         * LyXAction.C (init):
15244         * commandtags.h:
15245         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15246         LIGATURE_BREAK, since the name is so stupid.
15247
15248 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15249
15250         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15251         InsetInfos.
15252
15253         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15254
15255         * sp_form.[Ch]: remove.
15256
15257         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15258
15259         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15260         InsetInfo.
15261
15262         * src/buffer.C (readInset): ditto.
15263
15264 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15265
15266         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15267         menuSeparator(), endOfSentenceDot(), ldots() and
15268         hyphenationPoint(), which are therefore removed.
15269         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15270
15271         * LyXAction.C (init):
15272         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15273
15274         * paragraph.C (getWord): removed.
15275
15276         * BufferView_pimpl.C (Dispatch): use last word or selection for
15277         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15278
15279         * lyx_main.C (queryUserLyXDir): do not ask before creating
15280         user_dir, except if it has been named explicitely.
15281
15282 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15283
15284         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15285         a document of zero size.
15286
15287 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15288
15289         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15290         approriately in the c-tor and in require().
15291         (getPackages): output the appropriate LaTeX for natbib support.
15292
15293         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15294         variables "use_natbib" and "use_numerical_citations" when reading the
15295         LyX file.
15296         (readInset): read the various natbib cite commands.
15297         (validate): white-space change.
15298
15299         * bufferparams.[Ch]: new variables "bool use_natbib" and
15300         "bool use_numerical_citations".
15301         (writeFile): output them in the LyX file.
15302
15303 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15304
15305         * lyxfunc.C (getStatus): add support for all the inset insertion
15306         commands.
15307
15308         * text2.C (insertInset):
15309         * paragraph.C (insetAllowed):
15310         * BufferView_pimpl.C (insertInset): update to take in account the
15311         renaming of insertInsetAllowed
15312
15313         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15314
15315         * text2.C (getInset): new method. returns inset at cursor position.
15316
15317         * BufferView_pimpl.C (Dispatch): changes because of this.
15318
15319         * LyXAction.C (init): rename open-stuff to inset-toggle.
15320
15321         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15322
15323         * text2.C (toggleInset): renamed from openStuff; use
15324         Inset::open().
15325
15326 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15327
15328         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15329
15330         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15331
15332 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15333
15334         * buffer.C (readLyXformat2): Add filename to the error dialog
15335
15336 2001-07-18  Juergen Vigna  <jug@sad.it>
15337
15338         * tabular.C (GetCellNumber): put an assert here instead of the check!
15339
15340 2001-07-17  Juergen Vigna  <jug@sad.it>
15341
15342         * BufferView_pimpl.C (toggleSelection): adapted too.
15343
15344         * text.C (selectNextWord): adapted for use with insets.
15345         (selectSelectedWord): ditto
15346
15347 2001-07-17  Juergen Vigna  <jug@sad.it>
15348
15349         * sp_spell.C (PSpell): fix initialitation order.
15350
15351 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15352
15353         * paragraph.C: spacing
15354
15355 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15356
15357         * sp_spell.C: repair language selection for pspell
15358
15359 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15360
15361         * lyxfunc.h: change more methods to begin with lower char.
15362
15363 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15364
15365         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15366         for unknown layouts.
15367
15368 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15369
15370         * buffer.C (readLyXformat2): Generate an error dialog if there are
15371         unknown layouts.
15372
15373 2001-07-16  Juergen Vigna  <jug@sad.it>
15374
15375         * sp_spell.C: always compile ISpell part.
15376
15377         * lyxrc.C: added use_pspell entry and it's handling.
15378
15379 2001-07-13  Juergen Vigna  <jug@sad.it>
15380
15381         * sp_spell.C: removed double includes.
15382
15383 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15384
15385         Consistent use of Lsstream.h:
15386         * Lsstream.h: added using std::stringstream for consistencies sake.
15387
15388         * buffer.C: removed using std::stringstream
15389
15390         * lyxfont.C (stateText):
15391         * paragraph.C (asString):
15392         * text.C (selectNextWord, selectSelectedWord):
15393         * text2.C (setCounter):
15394         * vspace.C (asString, asLatexString):
15395         std::ostringstream -> ostringstream.
15396
15397 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15398
15399         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15400         * commandtags.h: add LFUN_HELP_ABOUTLYX
15401         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15402
15403 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15404
15405         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15406         cursorToggle()
15407         * lyx_gui_misc.C: remove spellchecker
15408         * lyxfunc.C: showSpellchecker
15409         * sp_base.h: added
15410         * sp_ispell.h: added
15411         * sp_pspell.h: added
15412         * sp_spell.C: added
15413         * sp_form.[Ch]: removed
15414         * spellchecker.[Ch]: removed
15415
15416 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15417
15418         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15419         is set.
15420         (simpleTeXSpecialChars): Simply print the input character without
15421         any special translation if pass_thru is set.
15422
15423         * layout.h: Added bool pass_thru to layout class for being able to
15424         implement pass through of a paragraph for Literate Programming.
15425
15426         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15427         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15428         * layout.C (Read): add "passthru" to list of layout tags and add
15429         code to set the pass_thru boolean when it is read.
15430
15431 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15432
15433         * trans_decl.h: remove allowed from KmodInfo
15434
15435         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15436         remove allowed code
15437         (Load): adjust
15438
15439         * paragraph_pimpl.C (erase): use boost::prior
15440
15441         * Painter.C (text): use data() instead of c_str() when length is
15442         also provided.
15443         * WorkArea.C (putClipboard): ditto
15444         * font.h (width): ditto
15445
15446         * BufferView2.C: use it-> instead of (*it). for iterators
15447         * texrow.C: ditto
15448         * paragraph_pimpl.C: ditto
15449         * paragraph.C: ditto
15450         * minibuffer.C: ditto
15451         * language.C: ditto
15452         * kbmap.C: ditto
15453         * encoding.C: ditto
15454         * counters.C: ditto
15455         * converter.C: ditto
15456         * chset.C: ditto
15457         * Variables.C: ditto
15458         * TextCache.C: ditto
15459         * MenuBackend.C: ditto
15460         * LyXAction.C: ditto
15461         * LColor.C: ditto
15462         * FloatList.C: ditto
15463         * DepTable.C: ditto
15464         * ColorHandler.C (LyXColorHandler): ditto
15465
15466 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15467
15468         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15469
15470         * text2.C (openStuff): reintroduce this method (which had been
15471         nuked in NEW_INSETS frenzy).
15472
15473         * lyxfunc.C (Dispatch): when an action has not been handled, use
15474         its name in the error message, not its number.
15475
15476         * paragraph.C (inInset): change method name to begin with lowercase.
15477
15478         * undo_funcs.C:
15479         * text2.C: updates because of this.
15480
15481 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15482
15483         * ToolbarDefaults.C (add): add spaces in error message
15484
15485 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15486
15487         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15488         (readLyXformat2): rename return_par to first_par, use lyxlex's
15489         pushToken and remove the manual push handling.
15490         (parseSingleLyXformat2Token): add another ert comp. variable:
15491         in_tabular, rename return_par to first_par. handle newlines better
15492
15493 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15494
15495         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15496
15497 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15498
15499         * text2.C (getParFromID): removed
15500
15501         * buffer.C (getParFromID): new method moved form lyxtext.
15502         * BufferView2.C (insertErrors): adjust
15503         (setCursorFromRow): adjust
15504         * BufferView_pimpl.C (restorePosition): adjust
15505         * lyxfunc.C (Dispatch): adjust
15506         * undo_funcs.C (textUndo): adjust
15507         (textRedo): adjust
15508         (textHandleUndo): adjust
15509         (textHandleUndo): adjust
15510
15511 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15512
15513         * buffer.C: up' the LYX_FORMAT
15514
15515         * lyxfont.h: turn NO_LATEX on as default
15516
15517         * buffer.C (insertErtContents): new methods of tex style compability.
15518         (parseSingleLyXformat2Token): use it several places.
15519         * tabular.C (OldFormatRead): and here
15520
15521 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15522
15523         * text2.C: remove some commented code.
15524         reindent file.
15525
15526         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15527         * trans.C: changes because of the above.
15528
15529 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15530
15531         * text2.C (setCounter): Fix counters bug with bibliography layout.
15532
15533 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15534
15535         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15536         own member functions
15537         (simpleTeXSpecialChars): ditto
15538
15539 2001-07-06  Juergen Vigna  <jug@sad.it>
15540
15541         * a lot of files: changed the access to LyXText::status and the
15542         call of undo-functions.
15543
15544         * undo.[Ch]: added a inset_id to the undo informations.
15545
15546         * undo_funcs.[Ch]: added and moved here all undo functions.
15547
15548         * lyxtext.h: give the status enum a weight, made status_ a private
15549         variable and made accessor functions for it, removed the whole bunch
15550         of undo-functions as they are now in their own file, make some
15551         functions publically available. Added function ownerParagraph with
15552         int parameter.
15553
15554         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15555         made InInset() a const function, added getParFromID() function.
15556
15557         * buffer.[Ch]: added const version for inset_iterator functions,
15558         added getInsetFromID() function.
15559
15560         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15561         changed undo functions for new version.
15562
15563 2001-07-05  Juergen Vigna  <jug@sad.it>
15564
15565         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15566         unknow mechanism does not call the proper constructor but only this
15567         one also if I request the other!?
15568
15569 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15570
15571         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15572
15573         * text2.C (LyXText): use initialization lists.
15574
15575         * lyxtext.h (Selection): initialize set_ and mark_
15576         (init): remove method
15577
15578 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15579
15580         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15581
15582 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15583
15584         * screen.[Ch]: change method names to begin with lowercase
15585
15586         * BufferView_pimpl.C (updateScrollbar): simplify further and
15587         hopefully make it a bit faster.
15588
15589 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15590
15591         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15592         calling directly xforms functions.
15593
15594         * Painter.C (Painter):
15595         * lyx_cb.C (MenuWrite):
15596         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15597         fl_display.
15598
15599         * lyx_gui.C: remove bogus guiruntime extern declaration.
15600
15601 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15602
15603         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15604         in NEW_INSETS
15605         (redoDrawingOfParagraph): ditto
15606         (redoParagraphs): ditto
15607         (cutSelection): don't create a object for CutAndPaste use the
15608         static method directly
15609         (pasteSelection): ditto
15610
15611         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15612         LyXview (+ rename)
15613
15614 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15615
15616         * modifications to some other files because of this.
15617
15618         * Makefile.am (lyx_SOURCES): add XFormsView
15619
15620         * XFormsView.[Ch]: new files
15621
15622         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15623         the main window. Move the gui dependent stuff to XFormsView
15624
15625 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15626
15627         * tabular.C (GetCellInset): update cur_cell also in the row/col
15628         version of this function.
15629
15630         * lyxfunc.C: no need to include figure_form.h here.
15631
15632         * FontLoader.h:
15633         * lyxfunc.h:
15634         * lyxscreen.h:
15635         * text2.C:
15636         * lyxvc.C: no need to include forms.h here.
15637
15638 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15639
15640         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15641
15642         * lyxfunc.C (Dispatch):
15643         * Spacing.C (set):
15644         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15645         constructor argument.
15646
15647 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15648
15649         * paragraph.C (Paragraph): dont't clear, and just set layout.
15650         (makeSameLayout): use params's copy contructor.
15651
15652         * ParagraphParameters.[Ch] (makeSame): delete method
15653
15654 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15655
15656         * Variables.[Ch]: fix indentation, rename set to isSet
15657
15658 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15659
15660         * lyxfunc.C (Dispatch): fix typo
15661
15662 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15663
15664         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15665         upper_bound.
15666
15667         * bufferlist.C: include assert.h for emergencyWrite().
15668
15669 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15670
15671         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15672           give up at last (bug #425202) !
15673
15674 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15675
15676         * lyx_gui_misc.C:
15677         * sp_form.h:
15678         * sp_form.C:
15679         * spellchecker.h:
15680         * spellchecker.C: strip spellchecker options and bring up
15681           preferences tab instead
15682
15683 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15684
15685         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15686         the istringstream constructor
15687
15688 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15689
15690         * paragraph.C (getLayout): fix return value
15691
15692         * paragraph.h: do not declare getLayout as inline.
15693
15694         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15695
15696 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15697
15698         * lyxcursor.h (operator<): new func
15699         (operator>): new func
15700         (operator>=): new func
15701         (operator<=): new func
15702
15703         * text.C (changeCase): use selection.start and selection.end
15704         (changeRegionCase): require from to be <= to. Require par to be a
15705         valid paragraph.
15706
15707         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15708
15709 2001-06-27  Juergen Vigna  <jug@sad.it>
15710
15711         * text.C (cursorLeftOneWord): changed to return the cursor and added
15712         overlay with BufferView * parameter which calls this one.
15713         (getWord): added
15714         (selectWord): use new getWord function.
15715         (changeCase): renamed from changeWordCase as and extended to work
15716         also on selections.
15717
15718         * lyxtext.h: added enum word_location
15719
15720         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15721         changeCase as this operates now also on selections.
15722
15723 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15724
15725         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15726
15727         * many files: send debug output to Debug::INFO instead of
15728         Debug::ANY.
15729
15730         * converter.C (View):
15731         (Convert):
15732         (Move): send debug output to Debug::FILES instead of console.
15733
15734 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15735
15736         * lyxfunc.C (getStatus): use func_status
15737
15738         * func_status.h: new header, describing the results of
15739         LyXFunc::getStatus;
15740
15741         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15742         LFUN_MATH_HALIGN.
15743
15744 2001-06-25  The LyX Project  <jug@sad.it>
15745
15746         * buffer.C (sgmlOpenTag):
15747         (sgmlCloseTag):
15748         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15749
15750 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15751
15752         * text2.C: remove some dead code
15753
15754         * tabular.C (GetCellInset): store the last cell checked (gotten)
15755
15756         * tabular.h: add the helper for the speedup
15757
15758         * lyxtext.h: remove some dead code
15759
15760 2001-06-26  The LyX Project  <Asger>
15761
15762         * paragraph.C: Change export to LaTeX of alignment to
15763         \begin{center} and family for better roundtrip work with reLyX.
15764
15765         * Tune the math drawing a bit.
15766
15767 2001-06-25  The LyX Project  <Asger>
15768
15769         * LColor.C (LColor): New color for math background. New color
15770         for buttons.
15771
15772 2001-06-25  The LyX Project  <jug@sad.it>
15773
15774         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15775
15776         * lyxfunc.C (Open):
15777         * bufferlist.C (newFile): do not restrict to files ending with
15778         .lyx
15779
15780         * BufferView_pimpl.C (MenuInsertLyXFile):
15781
15782 2001-06-24  The LyX Project  <jug@sad.it>
15783
15784         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15785         of compare_no_case
15786
15787 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15788
15789         * lyxtext.h: rename most methods to begin with a small char.
15790         Lots of changes because of this.
15791
15792         * paragraph.C (Paragraph): do not call fitToSize
15793         (erase): call Pimpl::erase
15794         (insertChar): call Pimpl::insertChar
15795         (insertInset): call Pipl::insertInset
15796         (breakParagraph): do not call fitToSize
15797         (breakParagraphConservative): do not call fitToSize
15798         (fitToSize): remove method
15799
15800         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15801
15802 2001-06-24  The LyX Project  <Asger>
15803
15804         * Fix Qt compilation^2
15805
15806 2001-06-24  The LyX Project  <jug@sad.it>
15807
15808         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15809         depthHook(getDepth()-1).
15810
15811         * paragraph.h:
15812         * ParagraphParameters.h:
15813         * ParameterStruct.h: change type of depth to unsigned int ==
15814         depth_type. Many adaptations to other files before of that.
15815
15816 2001-06-24  The LyX Project  <Asger>
15817
15818         * Fix Qt compilation.
15819
15820 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15821
15822         * paragraph.h: renamed several methods to begin with small letter.
15823         several changes to many parts of the code because of this.
15824
15825 2001-06-23  The LyX Project  <jug@sad.it>
15826
15827         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15828         rewritten to discard all double spaces when KeepEmpty is off
15829         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15830         to only handle newlines but not fiddle with spaces and friends.
15831
15832         * lyxfunc.C (MenuNew): when doing 'new from template', use
15833         template_path as default directory
15834
15835 2001-06-23  The LyX Project  <Asger>
15836
15837         * Clean-up of header file includes all over
15838         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15839
15840 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15841
15842         * paragraph.h: renamed from lyxparagraph.h
15843
15844 2001-06-23  Asger  <lyx@violet.home.sad.it>
15845
15846         * Buffer.h: Removed Buffer::resize
15847         * BufferList.h: Removed BufferList::resize
15848         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15849         the document lazily when we change the width, or the font settings.
15850
15851 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15852
15853         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15854
15855 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15856
15857         * buffer.h: remove out of date comment
15858
15859 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15860
15861         * lyxscreen.h:
15862         * screen.C: fix "theoretical" GC leak
15863
15864 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15865
15866         * LaTeX.C (scanAuxFile):
15867         (deplog): remove trailing \r when reading stream (useful under
15868         win32)
15869
15870 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15871
15872         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15873         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15874         and BufferView::theLockingInset(Inset*), so should use them and not
15875         access bv_->text->the_locking_inset directly.
15876
15877         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15878
15879 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15880
15881         * Makefile.am:
15882         * tex-defs.h: remove old unused file
15883
15884 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15885
15886         * BufferView_pimpl.C: fix typo, remove minibuffer message
15887           when buffer has loaded
15888
15889 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15890
15891         * lyxfunc.C (Dispatch): use stringstream
15892         (MenuNew): use stringstream
15893         (Open): use stringstream
15894
15895         * importer.C (Import): use stringstream
15896
15897         * bufferview_funcs.C (CurrentState): use stringstream
15898
15899         * LaTeX.C (run): use stringstream
15900
15901         * BufferView_pimpl.C (savePosition): use stringstream
15902         (restorePosition): use stringstream
15903         (MenuInsertLyXFile): use stringstream
15904
15905 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15906
15907         * BufferView.C:
15908         * Bullet.C:
15909         * ColorHandler.C:
15910         * FontInfo.C:
15911         * FontLoader.C:
15912         * LColor.C:
15913         * LaTeXFeatures.C:
15914         * Painter.C:
15915         * gettext.C:
15916         * lyx_gui_misc.C:
15917         * lyxserver.C:
15918         * vspace.C: removed // -*- C++ -*- as first line.
15919
15920         * lyxfind.h:
15921         * version.h: added // -*- C++ -*- as first line.
15922
15923 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15924
15925         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15926
15927         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15928         of string
15929
15930 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15931
15932         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15933         of floats.
15934
15935 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15936
15937         * gettext.C: include LString.h even when --disable-nls is on.
15938
15939 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15940
15941         * converter.h (Get): changed argument type from int to
15942         FormatList::size_type to avoid unnecessary conversion.
15943
15944         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15945         before using it.
15946
15947 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15948
15949         * gettext.h: include LString.h even when --disable-nls is on.
15950
15951 2001-06-07  Juergen Vigna  <jug@sad.it>
15952
15953         * text.C (BreakAgain): subst spaces with tabs.
15954
15955         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15956         (resizeInsetsLyXText): set force on resizeLyXText.
15957
15958 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15959
15960         * gettext.h (gettext_init):
15961         (locale_init): use a real definition instead of a macro
15962
15963 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15964
15965         * Bufferview_pimpl.C:
15966         * LColor.h:
15967         * LColor.C: further lcolor tidies
15968
15969 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15970
15971         * BufferView_pimpl.C (updateScrollbar): simplify.
15972
15973         * BufferView2.C: don't include insets/insetinfo.h, change
15974         prototype for insertInset and call the Pimpl version. let
15975         updateInset call Pimpl version.
15976
15977         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15978         gotoInset to BufferView::Pimpl
15979
15980 2001-06-01  Juergen Vigna  <jug@sad.it>
15981
15982         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15983         inside a LockingInset (is the update needed at all?).
15984
15985 2001-05-31  Juergen Vigna  <jug@sad.it>
15986
15987         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15988         here not the old one otherwise how should we compare it afterwards
15989         if it's the same!
15990
15991 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15992
15993         * lyxfont.C:
15994         * tabular.C:
15995         * tabular-old.C:
15996         * FontInfo.C: bring C functions into global namespace when
15997         necessary
15998
15999 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16000
16001         * LString.h: make sure config.h has been loaded before LString.h.
16002
16003         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16004         (one for each char read by EatLine!).
16005
16006         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16007         variables.
16008
16009 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16010
16011         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16012         to the same as the par we break from
16013
16014 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16015
16016         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16017
16018         * MenuBackend.C (expand): also create menu entries for wide
16019         versions of the floats.
16020
16021         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16022
16023         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16024
16025         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16026         frontends/Makefile.am
16027
16028         * text2.C: adjust
16029         * text.C: adjust
16030
16031
16032         * tabular.C (getTokenValue): add std::
16033
16034         * tabular-old.C (getTokenValue): add std::
16035         (getTokenValue): ditto
16036         (getTokenValue): ditto
16037
16038         * screen.C (ToggleSelection): adjust
16039
16040         * lyxtext.h: put selection cursors inside a Selection struct.
16041
16042         * lyxfunc.C (moveCursorUpdate): adjust
16043
16044         * lyxfont.C (latexWriteStartChanges): add std::
16045
16046         * lyxfind.C: adjust
16047
16048         * font.h: delete with(char const *, LyXFont const &)
16049
16050         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16051
16052         * FontInfo.C (getFontname): add std::
16053
16054         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16055         (workAreaButtonPress): adjust
16056         (tripleClick): adjust
16057         (update): adjust
16058         (moveCursorUpdate): adjust
16059         (Dispatch): adjust
16060
16061         * BufferView2.C (gotoInset): adjust
16062
16063 2001-05-30  Juergen Vigna  <jug@sad.it>
16064
16065         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16066         to check pspell I add this as default as I now have new pspell
16067         libraries and they seem to use this.
16068
16069 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16070
16071         * text2.C (CutSelection): make the cursor valid before the call to
16072         ClearSelection.
16073
16074 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16075
16076         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16077         relied on 0 terminated strings and other horrors. Bug found due to
16078         the new assert in lyxstring!
16079
16080         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16081         KP_ keys.
16082
16083 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16084
16085         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16086         to latinkeys.bind.
16087
16088         * lyxfunc.C (processKeySym): change method of getting to the
16089         self-insert char.
16090
16091         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16092         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16093         * BufferView_pimpl.[Ch]: here as private methods.
16094
16095 2001-05-28  Juergen Vigna  <jug@sad.it>
16096
16097         * text.C (SetHeightOfRow): added the update() call again as it is
16098         needed to initialize inset dimensions!
16099
16100 2001-05-16  Juergen Vigna  <jug@sad.it>
16101
16102         * text2.C (SetCharFont): Add new function with BufferView * and
16103         bool toggleall parameters for setting insets internal fonts.
16104         (SetFont): Freeze the undo as we may change fonts in Insets and
16105         all this change should be inside only one Undo!
16106
16107         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16108         setting font's in insets as for them we have the SetFont function!
16109
16110 2001-05-15  Juergen Vigna  <jug@sad.it>
16111
16112         * text2.C (ClearSelection): to be sure we REALLY don't have any
16113         selection anymore!
16114
16115         * tabular.C (TeXCellPreamble): fixed the left border problem for
16116         multicolumn cells.
16117
16118 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16119
16120         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16121         dependancy file
16122
16123 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16124
16125         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16126         LFUN_BREAKPARAGRAPH.
16127
16128         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16129         help test to "internal only", similar for LFUN_INSERT_URL
16130
16131         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16132         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16133         auto_region_delete and deadkeys.
16134
16135 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16136
16137         * LColor.h:
16138         * LColor.C: remove some dead entries, tidy a little
16139
16140 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16141
16142         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16143         commented code.
16144         (Dispatch): implement LFUN_ESCAPE
16145
16146         * commandtags.h: add LFUN_ESCAPE
16147
16148         * LyXAction.C (init): add entry for LFUN_ESCAPE
16149
16150         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16151         Remove commented code.
16152         (insertNote): moved here
16153         (open_new_inset): moved here
16154
16155         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16156         BufferView_pimpl
16157
16158 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16159
16160         * kbmap.C (findbinding): clean it up and make it work correctly.
16161
16162         * lyx_main.C (init): do not pass argc and argv as parameters
16163
16164 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16165
16166         * buffer.C: fix path for OS/2 & Win32
16167
16168         * lyx_gui.C:
16169         * lyx_main:
16170         * lyx_main.C: Added os:: class.
16171
16172         * os2_defines.h: update
16173
16174 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16175
16176         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16177         better by trying again with reduced state.
16178
16179 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16180
16181         * lyxrc.C (read): print error about invalid key sequence only when
16182         debugging (because not all latinX keysyms are known to some X
16183         servers)
16184
16185         * kbsequence.C (getiso): add a few std:: qualifiers
16186         (getiso): comment out extra return statement.
16187
16188 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16189
16190         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16191         handling.
16192         (Dispatch): enhance the accent inset a bit. (not perfect)
16193
16194 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16195
16196         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16197
16198 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16199
16200         * bufferlist.C (emergencyWrite): fix assert() call
16201
16202 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16203
16204         * text.C (InsertChar): Added trivial patch to only send the "you
16205         can not do multiple spaces this way" message once during a
16206         session.
16207
16208 2001-05-08  Baruch Even  <baruch@lyx.org>
16209
16210         * Makefile.am: Changed order of libraries to get LyX to link properly
16211         with the gnome frontend.
16212
16213 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16214
16215         * LaTeXFeatures.h: add a std:: qualifier
16216
16217 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16218
16219         * paragraph.C (String): use stringstream
16220
16221 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16222
16223         * paragraph.C (writeFile): remove footflag arg
16224
16225         * buffer.C (makeLaTeXFile): use stringstream
16226         (latexParagraphs): remove footnot gurba
16227
16228         * LaTeXFeatures.C (getPackages): use stringstream
16229         (getMacros): likewise
16230         (getTClassPreamble): likewise
16231         (getFloatDefinitions): new method
16232
16233         * paragraph.C (writeFile): reindent
16234         (Erase): reindent
16235
16236         * WorkArea.h: revert the xpos + etc changes.
16237
16238         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16239
16240         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16241
16242         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16243         (pasteSelection): likewise
16244         * text2.C (CreateUndo): likewise
16245
16246 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16247
16248         * minibuffer.C (peek_event): temporarily reduce the functionality
16249         of the minibuffer (to allow args on lfuns)
16250
16251         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16252         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16253
16254         * buffer.C (readInset): add compability reading of old float
16255         lists, add reading of new style float list.
16256         (readInset): avoid reevaluation of inscmd.getCmdName()
16257         (getLists): reindent
16258
16259         * MenuBackend.C (MenuItem): implement parsing of
16260         md_floatlistinsert and md_floatinsert.
16261         (expand::LastFiles): move initalizaton of iterators out of loop,
16262         avoid reevaluation.
16263         (expand::Documents): introduce typdedef vector<string> Strings,
16264         and use it.
16265         (expand::ExportFormats): introduce typedef vector<Format const *>
16266         Formats, and use it.
16267         (expand): implement FloatListInsert and FloatInsert.
16268
16269         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16270         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16271         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16272
16273         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16274         handling.
16275         (Dispatch::LFUN_FLOAT_LIST): implement
16276
16277 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16278
16279         * LaTeX.C (run): Fix problem with --export code.
16280
16281 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16282
16283         * BufferView.[Ch] (workarea): removed.
16284         (getClipboard) new method; wrapper for workarea()->getClipboard()
16285
16286         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16287         bug.
16288
16289         * WorkArea.h (width, height, xpos, ypos): These methods all
16290         returned the dimensions of the work_area sub-area of WorkArea,
16291         resulting in a position error if the WorkArea were resized. Now
16292         return the dimensions of the entire WorkArea.
16293
16294         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16295
16296 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16297
16298         * LaTeX.C (deplog): correct the syntax of regex reg1
16299
16300 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16301
16302         * undo.C: remove !NEW_INSETS cruft
16303
16304 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16305
16306         * text2.C: remove !NEW_INSETS cruft
16307
16308         * text.C: remove !NEW_INSETS cruft
16309
16310         * tabular.C: remove !NEW_INSETS cruft
16311
16312         * spellchecker.C: remove !NEW_INSETS cruft
16313
16314         * lyxtext.h: remove !NEW_INSETS cruft
16315
16316         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16317
16318         * lyxfunc.C: remove !NEW_INSETS cruft
16319
16320         * lyxfind.C: remove !NEW_INSETS cruft
16321
16322         * lyx_cb.C: remove !NEW_INSETS cruft
16323
16324         * figureForm.C: remove  !NEW_INSETS cruft
16325
16326         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16327
16328         * buffer.[Ch]: remove !NEW_INSETS cruft
16329
16330         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16331
16332         * CutAndPaste.C: remove !NEW_INSETS cruft
16333
16334         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16335
16336         * BufferView2.C: remove !NEW_INSETS cruft
16337
16338         * BufferView.h: remove !NEW_INSETS cruft
16339
16340 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16341
16342         * Lsstream.h: include LString.h before the sstream headers to
16343         fix problem with gcc 2.95.3 and lyxstring
16344
16345 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16346
16347         * lyx_main.C: add using directives when needed for C functions
16348         declared in std:: namespace.
16349
16350 2001-04-27  Juergen Vigna  <jug@sad.it>
16351
16352         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16353         (SetHeightOfRow): comment out the update call should not be needed!
16354
16355 2001-04-13  Juergen Vigna  <jug@sad.it>
16356
16357         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16358         (LyXTabular): tried to minimize operator= operations (and realized
16359         hopfully Lars wish).
16360
16361 2001-04-27  Juergen Vigna  <jug@sad.it>
16362
16363         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16364
16365 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16366
16367         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16368
16369         * buffer.C (readInset): hack to make listof algorithm work
16370
16371         * BufferView_pimpl.C: hack to make listof algorithm work
16372
16373 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16374
16375         * LyXAction.C: removed all !NEW_INSETS cruft
16376         (init): moved lfun_item in method
16377
16378         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16379
16380 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16381
16382         * BufferView2.C (theLockingInset): white space.
16383
16384 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16385
16386         * minibuffer.C: include <iostream>
16387
16388         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16389
16390         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16391
16392         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16393
16394         * text.[Ch] (TransposeChars): new method
16395
16396 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16397
16398         * call message directly through LyXView instead of through LyXFunc
16399         * BufferView2.C: adjust
16400         * BufferView_pimpl.C: adjust
16401         * FontLoader.C: adjust
16402         * buffer.C: adjust
16403         * bufferview_funcs.C: adjust
16404         * converter.C: adjust
16405         * figureForm.C: adjust
16406         * importer.C: adjust
16407         * lyx_cb.C: adjust
16408         * lyx_gui_misc.C: adjust
16409         * lyxfunc.C: adjust
16410         * lyxvc.C: adjust
16411         * text2.C: adjust
16412         + more files in subdirs
16413
16414         * lyxparagraph.h (size): move up int file
16415         (GetLayout): ditto
16416
16417         * adjust all uses of Assert to lyx::Assert.
16418
16419         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16420         lyxfunctional in namespace lyx
16421         * layout.C (hasLayout): ditto
16422         (GetLayout): ditto
16423         (GetLayout): ditto
16424         (delete_layout): ditto
16425         (NumberOfClass): ditto
16426         * converter.C (GetFormat): ditto
16427         (GetNumber): ditto
16428         (Add): ditto
16429         (Delete): ditto
16430         (SetViewer): ditto
16431         * bufferlist.C (getFileNames): ditto
16432         (emergencyWriteAll): ditto
16433         (exists): ditto
16434         (getBuffer): ditto
16435         * MenuBackend.C (hasSubmenu): ditto
16436         (hasMenu): ditto
16437         (getMenu): ditto
16438         * BufferView_pimpl.C (getInsetByCode): ditto
16439
16440 2001-04-18  Juergen Vigna  <jug@sad.it>
16441
16442         * vspace.C (asLatexString): fixed the 100% problem.
16443
16444 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16445
16446         * lyxfunc.C (Dispatch):
16447         * minibuffer.C:
16448         * minibuffer.h: add a few std:: qualifiers
16449
16450 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16451
16452         * minibuffer.[Ch]: reimplement so that commands is initiated and
16453         run from lyxfunc, simplified som handling, and made the completion
16454         and history code for complete. wip.
16455
16456         * lyxfunc.C (processKeySym): call message
16457         (miniDispatch): new temporary method
16458         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16459         (LFUN_MESSAGE): implement
16460         (LFUN_MESSAGE_PUSH): implement
16461         (LFUN_MESSAGE_POP): implement
16462         (initMiniBuffer): the initial/defualt minibuffer message.
16463
16464         * lyxfont.[Ch]: inline some more getters
16465
16466         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16467
16468         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16469
16470         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16471         (AutoSave): use LFUN_MESSAGE
16472         (Reconfigure): ditto
16473
16474         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16475
16476         * figureForm.C: use LFUN_MESSAGE
16477
16478         * converter.C (runLaTeX): use LFUN_MESSAGE
16479
16480         * bufferview_funcs.C: use LFUN_MESSAGE
16481         (Melt): ditto
16482         (changeDepth): ditto
16483
16484         * bufferparams.h: use boost::
16485
16486         * bufferlist.h: inherit privately from noncopyable
16487
16488         * bufferlist.C (loadLyXFile): remove some commented code.
16489
16490         * buffer.C (runChktex): use LFUN_MESSAGE
16491
16492         * ShareContainer.h: inherit privately from noncopyable
16493
16494         * ParagraphParameters.[hC] (depth): inline it.
16495
16496         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16497         methods.
16498         (message): new method
16499         (messagePush): ditto
16500         (messagePop): ditto
16501         (show): init minibuffer
16502         (showState): direct call
16503
16504         * LaTeX.[Ch]: inherit privately from noncopyable
16505         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16506         instead of WriteStatus.
16507
16508         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16509
16510         * BufferView_pimpl.C (buffer): don't init minibuffer
16511         (workAreaButtonPress): use LFUN_MESSAGE
16512         (workAreaButtonRelease): ditto
16513         (savePosition): ditto
16514         (restorePosition): ditto
16515         (MenuInsertLyXFile): ditto
16516         (workAreaExpose): don't init minibuffer
16517         (update): remove commented code, simplify
16518
16519         * BufferView2.C (openStuff): use LFUN_MESSAGE
16520         (toggleFloat): ditto
16521         (menuUndo): ditto
16522         (menuRedo): ditto
16523         (copyEnvironment): ditto
16524         (pasteEnvironment): ditto
16525         (copy): ditto
16526         (cut): ditto
16527         (paste): ditto
16528         (gotoInset): ditto
16529         (updateInset): remove some commented code
16530
16531         * lastfiles.h: inherit privately from noncopyable
16532         * layout.h: ditto
16533         * lyx_gui.h: ditto
16534         * lyx_main.h: ditto
16535         * lyxlex.h: ditto
16536         * lyxlex_pimpl.h: ditto
16537
16538         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16539         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16540         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16541
16542         * LyXAction.h: inherit privately from noncopyable, add methods
16543         func_begin, func_end, returning iterators to the func map.
16544
16545         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16546         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16547         (func_begin): new method
16548         (func_end): new method
16549
16550         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16551         and not)
16552         (copySelection): ditto
16553         (pasteSelection): ditto
16554
16555         * BufferView.C: whitespace change
16556         * BufferView.h: inherit privately from noncopyable
16557
16558 2001-04-16  Allan Rae  <rae@lyx.org>
16559
16560         * tabular-old.C (l_getline):
16561         * spellchecker.C (sc_check_word):
16562         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16563         an unrecognised preprocessor directive.  So ensure they're wrapped.
16564
16565 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16566
16567         * src/exporter.C (Export): Give an error message when path to file
16568         contains spaces.
16569
16570 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16571
16572         * LaTeX.C (deplog): Always check that foundfile exists.
16573
16574 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16575
16576         * lyx_main.h:
16577         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16578
16579 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16580
16581         * tabular.[Ch] (getLabelList): implement new method
16582
16583         * minibuffer.h: comment ouf setTiimer
16584
16585         * minibuffer.C (ExecutingCB): constify res
16586         (peek_event): constify s
16587         (Set): constify ntext
16588         (Init): constify nicename
16589
16590         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16591
16592         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16593         (savePosition): use two params to Minibuffer::Set
16594         (restorePosition): ditto
16595
16596 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16597
16598         * lyx_main.C: include language.h
16599
16600         * Makefile.am (lyx_main.o): add language.h
16601
16602 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16603
16604         * exporter.C:
16605         * paragraph.C:
16606         * screen.C:
16607         * tabular.C:
16608         * CutAndPaste.C: include gettext.h
16609
16610         * lyxfont.h: remove old hack with ON and OFF.
16611
16612         * lyxparagraph.h:
16613         * lyxfont.h: do not include language.h...
16614
16615         * BufferView2.C:
16616         * LaTeXFeatures.C:
16617         * Painter.C:
16618         * bufferview_funcs.C:
16619         * font.C:
16620         * lyxfont.C:
16621         * text.C:
16622         * text2.C:
16623         * trans_mgr.C:
16624         * paragraph.C: ... but do it here instead
16625
16626 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16627
16628         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16629
16630         * tabular.C: small reformat
16631
16632         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16633         NEW_INSETS version
16634         (GetChar): ditto
16635         (BreakParagraph): ditto
16636         (SetOnlyLayout): ditto
16637         (SetLayout): ditto
16638
16639         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16640         with one arg less.
16641
16642         * lastfiles.C: removed most using decl, add std:: where needed
16643
16644         * buffer.C: ws changes
16645
16646         * MenuBackend.C (class compare_format): put into anon namespace
16647         (expand): constify label, names, action, action2
16648         (expand):
16649
16650         * text.C (SingleWidth): constify font
16651         (IsBoundary): constify rtl2
16652         (GetVisibleRow): constify ww
16653
16654         * LaTeX.C (deplog): constify logfile
16655
16656         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16657         start_x, end_x
16658         (workAreaExpose): constify widthChange, heightChange
16659
16660         * lyxrow.C (par): moved
16661         (height): moved
16662         (next): moved
16663         * lyxrow.h: as inlines here
16664
16665         * lyxfont.h (shape): moved from lyxfont.C
16666         (emph): moved from lyxfont.C
16667
16668         * lyxfont.C (LyXFont): use initialization list for all
16669         constructors
16670         (shape): move to lyxfont.h as inline
16671         (emph): move to lyxfont.h as inline
16672
16673
16674 2001-04-04  Juergen Vigna  <jug@sad.it>
16675
16676         * vspace.C: had to include stdio.h for use of sscanf
16677
16678 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16679
16680         * BufferView.h:
16681         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16682         independent of xforms.
16683
16684 2001-04-02  Juergen Vigna  <jug@sad.it>
16685
16686         * spellchecker.C: fixed namespace placing!
16687
16688 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16689
16690         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16691         the LyXParagraph * is 0.
16692
16693 2001-03-29  Juergen Vigna  <jug@sad.it>
16694
16695         * vspace.C: added support for %, c%, p%, l%.
16696         (stringFromUnit): added helper function.
16697         (asLatexString): changed to give right results for the %-values.
16698
16699         * buffer.C: convert the widthp in a width%.
16700
16701 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16702
16703         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16704         figureForm.[Ch].
16705
16706         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16707         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16708
16709         * lyx_cb.[Ch]: see above.
16710
16711         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16712         form1.[Ch].
16713
16714         * form1.[Ch]:
16715         * lyx.[Ch]: replaced by figure_form.[Ch].
16716
16717         * lyx_gui.C:
16718         * lyx_gui_misc.C:
16719         * lyxfunc.C: changed headers associated with above changes.
16720
16721 2001-03-27  Juergen Vigna  <jug@sad.it>
16722
16723         * BufferView_pimpl.C: set the temporary cursor right!
16724
16725 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16726
16727         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16728
16729 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16730
16731         * LString.h: removed "using std::getline"!
16732
16733         * BufferView_pimpl.C (Dispatch): changes due to changes in
16734         InsetInclude::Params.
16735
16736         * buffer.C (tag_name): removed redundant break statements as they were
16737         producing lots of warnings with my compiler.
16738
16739 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16740
16741         * LString.h: add "using std::getline" when using the real <string>.
16742
16743 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16744
16745         * buffer.C: removed bitset usage.
16746         PAR_TAG moved to an anonymous name space.
16747         (tag_name): new funtion, also in the anonymous namespace.
16748         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16749         (makeDocBookFile): clean code. Completed transition from string arrays
16750         to string vectors.
16751         (SimpleDocBookOnePar): code clean.
16752
16753 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16754
16755         * tabular.C: add some comments.
16756
16757 2001-03-22  Juergen Vigna  <jug@sad.it>
16758
16759         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16760         compatibility read a bit and fixed bug with minipage in different
16761         depth.
16762
16763 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16764
16765         * buffer.C (pop_tag): removed.
16766         (push_tag): removed.
16767         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16768         array replaced with vector. Added support for CDATA sections.
16769         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16770         at any nest level.
16771         (makeDocBookFile): XML conformant declaration of CDATA section,
16772         fixed bug related to <emphasis> in the first paragraph char.
16773         (sgmlOpenTag): exclude empty tags.
16774         (sgmlCloseTag): ditto.
16775
16776         * buffer.h (pop_tag): removed.
16777         (push_tag): removed.
16778
16779 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16780
16781         * language.h (Languages): added size_type and size().
16782
16783 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16784
16785         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16786         response on compability reading of minipages. One probliem is that
16787         the old usage of minipages was «flertydig»
16788
16789         * several files here and in subdirs: don't use static at file
16790         scope use anon namespaces instead.
16791
16792 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16793
16794         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16795         LaTeX output. This is necessary for Literate document
16796         processing.
16797
16798 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16799
16800         * buffer.C: insert hfill when needed.
16801
16802         * tabular.C (l_getline): use string::erase, small whitespace change.
16803
16804         * BufferView_pimpl.C: try the anon namespace.
16805         * WorkArea.C: ditto
16806
16807 2001-03-16  Juergen Vigna  <jug@sad.it>
16808
16809         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16810         otherwise it won't open options-dialogs.
16811
16812         * buffer.C: honor pextraWidth(p) on converting minipages.
16813
16814         * tabular.C (l_getline): changed the functions to strip trailing \r.
16815
16816 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16817
16818         * BufferView_pimpl.C:
16819         * minibuffer..C: added "using SigC::slot" declaration.
16820
16821 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16822
16823         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16824
16825         * text2.C: ditto
16826
16827         * text.C: ditto
16828
16829         * paragraph.C: ditto
16830
16831         * lyxtext.h: NO_PEXTRA
16832
16833         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16834
16835         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16836         * ParameterStruct.h: ditto
16837         * ParagraphParameters.h: ditto
16838         * lyxparagraph.h: ditto
16839
16840 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16841
16842         * buffer.C: add compability for minipage alignment.
16843         (latexParagraphs): remove unwanted pextra check.
16844
16845         * several files: remove CXX_WORKING_NAMESPACES
16846
16847         * buffer.C (pop_tag): tie is in namespace boost
16848
16849         * BufferView.h: noncopyable is in namespace boost
16850         * lyxlex.h: ditto
16851         * lyx_main.h: ditto
16852         * lyx_gui.h: ditto
16853         * layout.h: ditto
16854         * lastfiles.h: ditto
16855         * bufferlist.h: ditto
16856         * ShareContainer.h: ditto
16857         * LyXView.h: ditto
16858         * LyXAction.h: ditto
16859         * LaTeX.h: ditto
16860
16861 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16862
16863         * Merging changes from BRANCH_MVC back into HEAD.
16864
16865         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16866
16867 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16868
16869         * BufferView_pimpl.C: change from intl.C
16870
16871         * combox.h:
16872         * combox.C:
16873         * Makefile.am: move combox.*
16874
16875         * form1.h:
16876         * form1.C:
16877         * lyx_gui.C:
16878         * intl.h:
16879         * intl.C: remove dialog (covered by prefs)
16880
16881 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16882
16883         * lyxfunc.C (Dispatch): removed redundant break statement.
16884
16885 2001-03-14  Juergen Vigna  <jug@sad.it>
16886
16887         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16888
16889 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16890
16891         * buffer.C: add hack to fix compability reading of minipages.
16892
16893 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16894
16895         * buffer.C (getLists): Cleanup.
16896
16897 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16898
16899         * lyxfont.C (update): don't honor toggleall on font size.
16900
16901 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16902
16903         * bmtable.c:
16904         * bmtable.h:
16905         * Makefile.am: moved to frontends/xforms/
16906
16907         * lyx_gui_misc.C:
16908         * lyxfunc.C:
16909         * BufferView_pimpl.C: changes for moved mathpanel
16910
16911 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16912
16913         * gettext.h: fix gettext_init() in --disable-nls
16914
16915 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16916
16917         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16918
16919 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16920
16921         * lyx.C:
16922         * lyx.h: strip external form
16923
16924 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16925
16926         * BufferView_pimpl.C: add comment, destroySplash()
16927
16928 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16929
16930         * BufferView_pimpl.C:
16931         * LyXAction.C:
16932         * buffer.C:
16933         * commandtags.h:
16934         * lyxfunc.C: use re-worked insetinclude
16935
16936 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16937
16938         * buffer.C: add using std::stringstream.
16939
16940         * lyx_cb.C: readd using std::ios.
16941
16942         * buffer.C: add using std::map.
16943
16944         * BufferView_pimpl.C: add using std::vector.
16945
16946         * ShareContainer.h: add std:: to swap.
16947
16948         * buffer.h: add some typedefs
16949         * buffer.C (getLists): use them
16950         (getLists): renamed from getTocList.
16951         add a counter for the different float types and use it in the
16952         generated string.
16953         (getLists): use the same counter for the NEW_INSETS and the "non"
16954         NEW_INSETS
16955
16956         * lyx_cb.h: remove unused items, includes, using etc.
16957
16958         * ShareContainer.h: remove some commented code, add more comments
16959         and "documentation".
16960
16961 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16962
16963         * buffer.C (getTocList): make the list also when NEW_INSETS is
16964         defined.
16965
16966         * buffer.h: remove TocType
16967
16968         * buffer.C (getTocList): change to return a map<string,
16969         vector<TocItem> >, implement for dynamic number of list.
16970
16971         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16972         * text2.C (PasteSelection): adjust
16973         * CutAndPaste.C (pasteSelection): adjust
16974
16975         * FloatList.C (FloatList): update from the new_insets branch.
16976         * Floating.[Ch]: ditto
16977         * LaTeXFeatures.C: ditto
16978         * buffer.C: ditto
16979         * lyxlex_pimpl.C: ditto
16980
16981         * paragraph.C (Last): remove when NEW_INSETS is defined.
16982
16983         * other file: changes because of the above.
16984
16985 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16986
16987         * lyxparagraph.h: rename next to next_, previous to previous_,
16988         make them private for NEW_INSETS. Rename Next() to next(),
16989         Previous() to previous().
16990
16991         * other files: changes because of the above.
16992
16993 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16994
16995         * BufferView.h:
16996         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16997         problem.
16998
16999 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17000
17001         * main.C (main): pass lyx_localedir to gettext_init().
17002
17003         * gettext.h: remove locale_init and gettext_init macros
17004
17005         * gettext.C (locale_init): new function
17006         (gettext_init): new function
17007
17008         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17009         setlocale().
17010
17011 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17012
17013         * Moved credits to frontends:
17014         * credits.[Ch]: removed
17015         * credits_form.[Ch]: removed
17016         * lyx_gui_misc.C: remove credits stuff
17017         * Makefile.am:
17018
17019 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17020
17021         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17022
17023         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17024         unneeded destructor.
17025
17026         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17027         a standalone pointer again.
17028
17029         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17030
17031 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17032
17033         * Makefile.am:
17034         * filedlg.h:
17035         * filedlg.C:
17036         * LyXAction.C:
17037         * ToolbarDefaults.C:
17038         * bufferlist.C:
17039         * commandtags.h:
17040         * form1.C:
17041         * form1.h:
17042         * lyx_cb.C:
17043         * lyx_cb.h:
17044         * lyxfunc.h:
17045         * lyxfunc.C:
17046         * BufferView_pimpl.C: use new file dialog in GUII
17047
17048         * lyx_cb.h:
17049         * lyx_cb.C: remove LayoutsCB to Toolbar
17050
17051 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17052
17053         * ShareContainer.h (get): add std:: qualifier
17054
17055 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17056
17057         * ShareContainer.h: define a proper ShareContainer::value_type
17058         type (and use typename to please compaq cxx)
17059
17060 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17061
17062         * lyxparagraph.h: move serveral local vars to
17063         ParameterStruct/ParagraphParameters., use ShareContainer in
17064         FontTable., make vars in FontTable private and add getter and
17065         setter.
17066
17067         * paragraph.C: changes because of the above.
17068
17069         * lyxfont.h: remove copy constructor and copy assignment. (the
17070         default ones is ok), move number inside FontBits. move inlines to
17071         lyxfont.C
17072
17073         * lyxfont.C: add number to initializaton of statics, move several
17074         inlines here. constify several local vars. some whitespace
17075         cleanup. Dont hide outerscope variables.
17076
17077         * Spacing.h: add two new constructors to match the set methods.
17078
17079         * ShareContainer.h: new file, will perhaps be moved to support
17080
17081         * ParameterStruct.h: new file
17082
17083         * ParagraphParameters.h: new file
17084
17085         * ParagraphParameters.C: new file
17086
17087         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17088         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17089
17090         * BufferView_pimpl.C: ParagraphParameter changes.
17091         * buffer.C: Likewise.
17092         * bufferview_funcs.C: Likewise.
17093         * text.C: Likewise.
17094         * text2.C: Likewise.
17095
17096 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17097
17098         * lyxfind.C (LyXReplace): do not redefine default argument in
17099         implementation.
17100         (IsStringInText): ditto
17101         (SearchForward): ditto
17102         (SearchBackward): ditto
17103
17104 2001-03-06  Juergen Vigna  <jug@sad.it>
17105
17106         * lyxfind.C (IsStringInText): put parentes around expressions.
17107
17108 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17109
17110         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17111
17112 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17113
17114         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17115
17116         * stl_string_fwd.h: add comment
17117
17118         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17119
17120         * tabular.h:
17121         * tabular.C: remove unused DocBook methods
17122
17123         * intl.C:
17124         * language.C:
17125         * paragraph.C:
17126         * buffer.C:
17127         killed DO_USE_DEFAULT_LANGUAGE
17128
17129 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17130
17131         * lyx_gui.C: do not include language.h.
17132
17133         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17134         arguments in function implementation.
17135
17136 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17137
17138         * BufferView_pimpl.C: add <ctime>
17139
17140 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17141
17142         * BufferView_pimpl.C: add using std::find_if
17143
17144 2001-02-27  José Matos  <jamatos@fep.up.pt>
17145
17146         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17147         by OnlyPath.
17148
17149 2001-02-11  José Matos  <jamatos@fep.up.pt>
17150
17151         * buffer.C (makeDocBookFile): command styles now have a parameter as
17152         "title" by default.
17153
17154 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17155
17156         * layout_forms.[Ch]: removed
17157         * lyx_cb.[Ch]: out character
17158         * lyx_gui.C: out character
17159         * lyx_gui_misc.C: out character
17160         * bufferview_funcs.C: : out character,
17161         added toggleall as parameter in ToggleAndShow
17162
17163 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17164
17165         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17166
17167         * text2.C (SetCurrentFont): Disable number property at boundary.
17168
17169 2001-02-26  Juergen Vigna  <jug@sad.it>
17170
17171         * lyxfunc.C (getStatus): added a string argument override function so
17172         that this is correctly called from LyXFunc::Dispatch if it contains a
17173         do_not_use_argument which is used!
17174         (Dispatch): added check for "custom" export and call appropriate func.
17175
17176 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17177
17178         * lyxrc.C: Add language_command_local, language_use_babel and
17179         language_global_options.
17180
17181         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17182
17183         * buffer.C (makeLaTeXFile): Use language_use_babel and
17184         language_global_options.
17185
17186 2001-02-23  Juergen Vigna  <jug@sad.it>
17187
17188         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17189         which works with LyXText and putted it inside BufferView. Here now we
17190         only call for that part the BufferView::Dispatch() function.
17191
17192         * BufferView.C (Dispatch): added.
17193
17194         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17195         functions which needs to use a LyXText over from LyXFunc.
17196         (MenuInsertLyXFile): added
17197         (getInsetByCode): added
17198         (moveCursorUpdate): added
17199         (static TEXT): added
17200
17201 2001-02-22  Juergen Vigna  <jug@sad.it>
17202
17203         * BufferView_pimpl.C (update): call a status update to see if LyXText
17204         needs it.
17205
17206 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17207
17208         * vc-backend.C (revert): implement for CVS
17209         (getLog): implement for CVS
17210
17211 2001-02-20  Juergen Vigna  <jug@sad.it>
17212
17213         * text2.C (ClearSelection): added BufferView param for inset_owner call
17214
17215         * lyxfunc.C (TEXT): added this function and use it instead of
17216         directly owner->view()-text of getLyXText().
17217
17218 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17219
17220         * src/layout_forms.C: out preamble
17221         * src/layout_forms.h: out preamble
17222         * src/lyx_cb.C: out preamble
17223         * src/lyx_cb.h: out preamble
17224         * src/lyx_gui.C: out preamble
17225         * src/lyx_gui_misc.C: out preamble
17226         * src/lyxfunc.C: connect with guii preamble
17227
17228 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17229
17230         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17231
17232 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17233
17234         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17235         whether to run bibtex.
17236
17237 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17238
17239         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17240
17241 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17242
17243         * Makefile.am (lyx_SOURCES): removed bibforms.h
17244
17245         * vspace.h: doxygen
17246
17247         * text.C (GetVisibleRow): make several local vars const
17248
17249         * tabular.C: small cleanup.
17250
17251         * lyxserver.C (callback): use compare instead of strncmp
17252
17253         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17254         inlines to after class or to paragraph.C
17255
17256         * lyxfont.h: remove friend operator!=
17257
17258         * converter.h: move friend bool operator< to non friend and after
17259         class def.
17260
17261         * combox.h: small cleanup
17262
17263         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17264         to inlines after class def.
17265
17266         * buffer.C (pop_tag): use string operations instead of strcmp
17267
17268         * bmtable.c: doxygen, small cleanup
17269
17270         * LaTeX.h: remove friend operator==
17271
17272 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17273
17274         * screen.C:
17275         * lyxrc.[Ch]:
17276         * lyxfunc.C:
17277         * lyxfont.[Ch]:
17278         * lyx_cb.C:
17279         * intl.[Ch]:
17280         * commandtags.h:
17281         * buffer.C:
17282         * WorkArea.[Ch]:
17283         * LyXAction.C:
17284         * BufferView_pimpl.C:
17285         * BufferView.[Ch]: remove cruft
17286
17287 2001-02-14  Juergen Vigna  <jug@sad.it>
17288
17289         * lyxfunc.C: removed #if 0 unused code
17290
17291         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17292
17293         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17294
17295         * text2.C (SetSelection): added a BufferView * parameter
17296
17297 2001-02-13  Juergen Vigna  <jug@sad.it>
17298
17299         * lyxfunc.C (Dispatch): fixed protected blank problem.
17300         * BufferView2.C (protectedBlank): added LyxText * parameter.
17301
17302         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17303         (AppendColumn): same as above for column_info.
17304
17305         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17306         (moveCursorUpdate): use a LyXText param for support of InsetText.
17307
17308         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17309         (tripleClick): ditto
17310
17311         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17312
17313         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17314
17315         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17316
17317         * text2.C (SetSelection): set correct update status if inset_owner
17318         (ToggleFree): ditto
17319
17320 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17321
17322         * tabular.C: remove some commented code.
17323
17324 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17325
17326         * BufferView_pimpl.C: call hideSplash()
17327
17328         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17329
17330         * include_form.h:
17331         * bibforms.h: remove
17332
17333         * lyxfunc.C:
17334         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17335           add LFUN_CHILD_CREATE
17336
17337         * counters.h: fix tiny typo
17338
17339         * lyx_cb.C:
17340         * lyx.h:
17341         * lyx_gui.C:
17342         * lyx.C: move splash to frontends/xforms/
17343
17344         * lyx_gui_misc.C: move Include and Bibform to frontends
17345
17346         * lyxvc.h: clarify comment
17347
17348         * vspace.C: tiny housekeeping
17349
17350 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17351
17352         * text.C (PrepareToPrint): RTL Fix.
17353
17354         * paragraph.C (GetUChar): New method.
17355         (String):  Use GetUChar.
17356
17357         * buffer.C (asciiParagraph): Use GetUChar.
17358
17359 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17360
17361         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17362
17363 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17364
17365         * buffer.h:
17366         * buffer.C: rename to getLogName(), handle
17367           build log / latex log nicely
17368
17369 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17370
17371         * MenuBackend.C:
17372         * MenuBackend.h: remove support for reference menuitem type.
17373
17374 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17375
17376         * BufferView_pimpl.C: housekeeping
17377         * BufferView_pimpl.h:
17378         * LyXView.h:
17379         * Makefile.am:
17380         * Timeout.C:
17381         * Timeout.h:
17382         * minibuffer.h: move Timeout GUI-I
17383
17384 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17385
17386         * lyxrc.C (read): Update converters data-structures.
17387
17388 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17389
17390         * LaTeX.h (operator!=): add operator != for Aux_Info
17391
17392 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17393
17394         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17395
17396         * LaTeXLog.C: deleted, useful code moved to Buffer
17397
17398         * buffer.h:
17399         * buffer.C: new function getLatexLogName()
17400
17401         * lyx_gui_misc.C:
17402         * lyx_gui.C:
17403         * lyxvc.C:
17404         * lyxvc.h:
17405         * lyxfunc.C: use frontends for LaTeX and VC logs
17406
17407 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17408
17409         * LaTeX.h: yet another std:: that Allan forgot.
17410
17411         * Variables.C (set): renamed from isset(), because this clashes
17412         with some HP-UX macros (grr).
17413
17414 2001-02-06  Allan Rae  <rae@lyx.org>
17415
17416         * LaTeX.h: Another bug fix.  Missing std:: this time.
17417
17418 2001-02-04  Allan Rae  <rae@lyx.org>
17419
17420         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17421         floats problem. I've left it commented out because it's not quite
17422         correct.  It should also test that the current object is a table or
17423         figure inset.  But I haven't gotten around to figuring out how to do
17424         that.  I *think* it'll be something like: "table" == inset.type()
17425
17426         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17427         bool.
17428
17429 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17430
17431         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17432         all the citation/databases/styles in the auxilary file.
17433         (run): Rerun latex if there was a babel language error.
17434
17435 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17436
17437         * text.C (Backspace): Preserve the font when changing newline char
17438         with a space.
17439         (BreakParagraph): If the cursor is before a space, delete the space.
17440
17441         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17442
17443 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17444
17445         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17446         new argument (code).
17447         (ChangeCitationsIfUnique): New method.
17448
17449         * paragraph.C (GetPositionOfInset): Handle bibkey.
17450
17451 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17452
17453         * BufferView_pimpl.h: change type of Position::par_pos to
17454         LyXParagraph::size_type.
17455
17456 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17457
17458         * BufferView_pimpl.C (savePosition, restorePosition): Write
17459         messages to minibuffer.
17460
17461 2001-01-28  José Matos  <jamatos@fep.up.pt>
17462
17463         * buffer.C (makeDocBookFile): adds support for document language.
17464         A silly restriction on the name of LatexCommand types where removed.
17465         Added support for CDATA sections, allows to chars unescaped, used
17466         among others in code, to avoid escape < and >.
17467
17468 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17469
17470         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17471         saved positions instrad of a stack. Furthermore, a position is
17472         stored using paragraph id/paragraph position.
17473
17474         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17475         Remove LFUN_REF_BACK.
17476
17477 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17478
17479         * converter.C (dvipdfm_options): New method.
17480
17481 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17482
17483         * vspace.C (isValidLength): Fix for empty input string.
17484
17485 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17486
17487         * LyXAction.C (init): change description of LFUN_FIGURE to
17488         "Insert Graphics"
17489
17490 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17491
17492         * LaTeX.C: add using directive
17493
17494 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17495
17496         * MenuBackend.C (expand): Fix the sorting of the formats.
17497
17498 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17499
17500         * lyx_main.C: tiny error message fix
17501
17502 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17503
17504         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17505         calling fl_initialize(). This fixes the problem with ',' as
17506         decimal separator in text files.
17507
17508 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17509
17510         * trans.C (process): Fix the keymap bug.
17511
17512 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17513
17514         * LaTeX.C (scanAuxFiles): New method. Provides support for
17515         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17516         (scanLogFile) Scan for "run BibTeX" messages.
17517
17518         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17519         OT1 font encoding. Also, load the aecompl package if the ae
17520         package is loaded.
17521
17522         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17523
17524 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17525
17526         * texrow.C (increasePos): turn two error messages into debug
17527         messages.
17528
17529 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17530
17531         * LaTeX.C (scanAux): Handle the \@input macro.
17532         (runBibTeX): Use scanAux().
17533
17534         * language.C (latex_options_): New field.
17535
17536         * LaTeXFeatures.C (getMacros): Add language macros.
17537
17538         * buffer.C (makeLaTeXFile): Small fix.
17539
17540 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17541
17542         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17543
17544         * text2.C: add a using directive.
17545
17546 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17547
17548         * BufferView2.C:
17549         * lyx_gui_misc.h:
17550         * lyxfr1.C:
17551         * lyxfunc.C: kill LyXBell.
17552
17553 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17554
17555         * text.C (IsBoundary): Remove the error message
17556
17557         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17558
17559         * lyxrc.C (setDefaults): Correct initialization value for
17560         font_norm_type.
17561
17562 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17563
17564         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17565         gotoError().
17566
17567         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17568         and GotoNextNote().
17569
17570         * src/LyXAction.C: Added reference-next.
17571
17572         * text.C (InsertChar): Use contains instead of strchr.
17573
17574         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17575
17576 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17577
17578         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17579         alignment commands (when needed).
17580
17581         * text.C (InsertChar): Add ':' to number separator chars.