]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Iterate slowly towards out-of-the-box compilation with MSVC.
[lyx.git] / src / ChangeLog
1 2005-05-02  Angus Leeming  <leeming@lyx.org>
2
3         * buffer.C: protect the #include of utime.h with a preprocessor
4         guard.
5
6 2005-05-02  Angus Leeming  <leeming@lyx.org>
7
8         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
9         function so that suto-saving works, albeit in a blocking manner.
10
11         * Makefile.am: make compilation of the client sub directory, of
12         apsellC, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
13         on conditionals set at configure time.
14
15         * SpellBase.[Ch]: no longer an abstract base class. Instead,
16         it can be compiled in its own right but has no-op functionality.
17
18         * aspell.C, pspell.C: remove preprocessor guards. The files should
19         be compiled only if the necessary functionality exists.
20
21         * lyxserver.C, lyxsocket.C: disable on Windows.
22
23 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
24
25         * text.C (leftMargin): Fix the parindent use bug (1764)
26         by dirty trick
27
28 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
29
30         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
31         argument.
32
33 2005-04-25  Angus Leeming  <leeming@lyx.org>
34
35         * Bidi.[Ch]:
36         * coordcache.[Ch]:
37         * ispell.C:
38         * lyxserver.C:
39         * mover.C:
40         * pch.h:
41         include <config.h> in .C files, not .h ones.
42         add licence blurb.
43         protect headers inside preprocessor guards.
44
45 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
46
47         * FuncStatus.h (StatusCodes): document
48
49 2005-04-21  André Pönitz  <poenitz@gmx.net>
50
51         * FuncStatus.h (enabled, onoff): document
52
53 2005-04-19  Angus Leeming  <leeming@lyx.org>
54
55         * BufferView_pimpl.C (cursorToggle): no longer test whether
56         any child processes have been reaped before calling
57         handleCompletedProcesses().
58
59 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
60
61         * text3.C (dispatch): fix, finally fix, the language problem in
62         new lyxtexts, without disabling on-the-fly font changes (Helge's
63         bug report)
64
65 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
66
67         * text3.C (dispatch): set cursor on double/triple click events
68         (bug 1811)
69
70 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
71
72         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
73         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
74
75         * rowpainter.C (paintFirst): simplify the code a little bit. In
76         particular, remove the test for secnumdepth.
77         * text.C (setHeightOfRow): only allocate space for chapter number
78         when updateCounters provided an actual label, instead of looking
79         at secnumdepth directly.
80
81         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
82
83         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
84         paragraphs when secnumdepth is large enough or, for environments,
85         when they are not the first in a sequence.
86
87 2005-04-17  Angus Leeming  <leeming@lyx.org>
88
89         * buffer.C (makeLaTeXFile): replace code to manipulate a path
90         containing space and '~' characters with a call to latex_path().
91
92 2005-04-17  Angus Leeming  <leeming@lyx.org>
93
94         * converter.C (convert): protect all args of convertDefault.sh
95         script with quotes.
96
97 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
98
99         * text3.C (dispatch): change the layout to "Caption" after inserting
100         a float.
101
102 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
103
104         * text3.C (dispatch): fix language problem in newly created
105         textinsets (and main text) in non-english docs
106
107 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
108
109         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
110         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
111         * text3.C (getStatus): disable LFUN_INSET_MODIFY
112
113 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
114
115         * lyxtext.h:
116         * text.C (metrics):
117         * text2.C (getFont):
118         * rowpainter.C (getFont): Fix metrics bug introduced by inset
119         fonts fix
120
121 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
122
123         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
124         output of \item arguments without trailing text.
125
126 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
127
128         * FontIterator.C (operator*): avoid a copy of the font.
129
130 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
131
132         * rowpainter.C (getFont): fix language bug from previous fix
133
134 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
135
136         * rowpainter.C (RowPainter, getFont): fix font inside inset
137         (bugs 1766, 1809)
138
139 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
140
141         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
142         preventing inserted font, deco, delim insets jumping to start of
143         surrounding inset.
144
145 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
146
147         * lyxfunc.C (dispatch): translate message before sending it to the
148         minibuffer.
149
150 2005-03-29  Angus Leeming  <leeming@lyx.org>
151
152         * lyx_main.C (priv_exec): call os::internal_path on each file passed
153         to LyX on the command line.
154
155 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
156
157         * vc-backend.C: use QuoteName to protect file names wherever
158         necessary.
159
160 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
161
162         * buffer.[Ch]:
163         * BranchList.h: fix bugs 1844,1845: document settings don't
164         stick
165
166 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
167
168         * lyxrc.C (setDefaults, read, output, getDescription): add support
169         for tex_allows_spaces.
170
171         * exporter.C (Export): allows files in directory containing spaces
172         if tex_allows_spaces is true.
173
174         * buffer.C (makeLaTeXFile): if the document path contains spaces,
175         output it in double quotes.
176
177 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
178
179         * rowpainter.C: use default text height for drawing change tracker
180         strikeout lines.
181
182 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
183
184         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
185
186 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
187
188         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
189         directory is missing.
190
191 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
192
193         * text2.C: fixed the fix, extended to other case.
194
195 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
196
197         * text2.C: fix for cursor up/down stuck in math [bug 1792]
198
199 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
200
201         * text2.C (cursorUp): get rid of a crash
202         * text.C (x2pos): add an assert
203
204 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
205
206         * lyxfunc.C (getStatus): fix warning when assertions are disabled
207
208         * text3.C:
209         * lyxfunc.C:
210         * dociterator.C: include <boost/current_function.hpp>, which is
211         needed when assertions are disabled.
212
213 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
214
215         * text2.C: fix for stuck cursor when traversing two
216         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
217
218 2005-02-25  Andreas Vox  <avox@arcor.de>
219
220         * output_docbook.C (makeParagraph): suppress trailing newline
221         after a run of paragraphs
222
223 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
224
225         * paragraph.C: fix for confused change tracker when pasting
226         text that begins with a lineseparator. [bug 1827]
227         (setChange(0, Change::INSERTED);)
228
229         * paragraph_funcs.C: fix for lost changes on triple-paste
230         in change tracking mode [bug 1827] (par.setChange()).
231
232 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
233
234         * text2.C (updateCounters, setCounter, expandLabel): move to
235         buffer_funcs.
236
237         * buffer_funcs.C (updateCounters): turn into a free standing
238         function and add a buffer parameter. Remove dead code for tracking
239         labelstring change.
240         (setCounter): change into a free-standing function which gets a
241         dociterator as argument. Use this iterator to fix captions in a
242         simple way. When no float is found above the caption, use the
243         labelstring of the caption layout as default.
244
245         * text.C (breakParagraph, backspace):
246         * text2.C (init, setLayout, changeDepth):
247         * text3.C (dispatch):
248         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
249         updateCounters.
250
251         * dociterator.C (forwardPar): make it much faster by calling
252         forwardPos() only when really necessary.
253
254         * output_docbook.C (makeCommand): adapt to expandLabel move.
255
256         * cursor.C: remove unused variable
257
258 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
259
260         * paragraph_funcs.C: fix crash when pasting insets in change
261         tracking mode [bug 1277] (honour change type in moveItem).
262
263 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
264
265         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
266
267 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
268
269         * BufferView.C (setCursor): change to use a DocIterator.
270         (gotoLabel): use BufferView::setCursor (other part of bug 781).
271         (putSelectionAt): adapt to BufferView::setCursor change.
272
273         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
274         moved here from LyXText and rewritten to use proper cursor
275         methods. Fixes bug 1787, 616 and 835.
276
277         * BufferView_pimpl.C (restorePosition): set the cursor correctly
278         when inside an inset (part of bug 781).
279         (dispatch): adapt to change of BufferView::setCursor.
280         (getStatus, dispatch): handle LFUN_GOTOERROR,
281         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
282
283         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
284         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
285         * text3.C (gotoNextInset, gotoInset): removed.
286
287 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
288
289         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
290
291 2005-02-15  Angus Leeming  <leeming@lyx.org>
292
293         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
294         can be used meaningfully in a comparison.
295
296 2005-02-13  André Pönitz  <poenitz@gmx.net>
297
298         * bufferview_funcs.C (coordOffset): improve cursor drawing
299
300 2005-02-13  André Pönitz  <poenitz@gmx.net>
301
302         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
303         * Cursor.C (dispatch): use fixIfBroken
304         * lyxfunc.C (getStatus): use fixIfBroken
305
306 2005-02-15  Angus Leeming  <leeming@lyx.org>
307
308         * lyx_main.C (error_handler):
309         * lyxfunc.C:
310         * lyxrc.C (setDefaults):
311         s/GetEnv/getEnv/.
312         #include "environment.h".
313
314         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
315
316 2005-02-15  Angus Leeming  <leeming@lyx.org>
317
318         * lyxserver.C (startPipe): squash MSVC warning "local variable
319         'fd' used without having been initialized".
320
321 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
322
323         * BufferView_pimpl.C: revert accidental commit.
324
325 2005-02-14  André Pönitz  <poenitz@gmx.net>
326
327         * dociterator.[Ch]: new member forwardPosNoDescent(),
328         which doesn't enter nested insets.
329         * text2.C (setFont): use forwardPosNoDescent() instead
330         of ForwardPos() (fixes crash on font change).
331
332 2005-02-13  Angus Leeming  <leeming@lyx.org>
333
334         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
335         only if lyxrc.path_prefix is not empty.
336
337 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
338
339         * bufferparams.C (readGraphicsDriver): prevent crash
340
341 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
342
343         * text2.C (setCounter): check for inInset() == 0
344
345 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
346
347         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
348         but use update() to get correct screen display; use convert
349         instead of istringstream.
350         (getStatus): handle LFUN_GOTO_PARAGRAPH
351
352         * lyxfunc.C (dispatch, getStatus): do not handle
353         LFUN_GOTO_PARAGRAPH here.
354
355 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
356
357         * text3.C (dispatch): size() -> depth()
358
359         * text2.C: remove some debug output
360
361         * paragraph.C: ws changes only
362
363         * lyxfunc.C (getStatus): size() -> depth()
364
365         * dociterator.h (clear, push_back, pop_back, internalData,
366         operator[], resize, empty): new functions
367         Make StableDocIterator and operator== be friends. Don't inherit
368         from std::vector use a privat class variable slices_ instead.
369         Modify to fit.
370
371         * dociterator.C: update because of not inheriting from std::vector
372         anymore. Call explictly to slices_ instead. Use depth() instead of
373         size() and top() instead of back()
374
375         * cursor.C: chagne size() -> depth and back() -> top(). Also
376         remove some direct operator[](i) calls in favour of foo[i]
377         (getFont): remove some dead code
378
379         * bufferview_funcs.C (coordOffset): size() -> depth()
380
381         * buffer.C: ws changes only
382
383         * CutAndPaste.C (eraseSelection): back() -> top()
384
385         * BufferView_pimpl.C (selectionRequested): back() -> top()
386
387         * BufferView.C (setCursor): size() -> depth()
388
389 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
390
391         * text3.C (cursorPrevious): return true if depm changed something
392         (cursorNext): ditto
393         (dispatch): rename sl to oldTopSlice, remove moving use the new
394         NoUpdate func attrib instead. Make sure that needsUpdate is set
395         for function that have NoUpdate, but where depm might have changed
396         the buffer anyway.
397
398         * text2.C (cursorLeft): make us return true if depm changed
399         something
400         (cursorRight): ditto
401         (cursorUpParagraph): ditto
402         (curosrDownParagraph): ditto
403         (cursorUp, cursorDown): ditto, make sure to read comments in code
404         (deleteEmptyParagraphMechanism): remove an assert, also return
405         true if just a single char was deleted.
406
407         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
408         cursor that we modify, to avoid modifying an active cursor before
409         we call setCursor. This allows depm to run. Also return true if
410         depm deleted something.
411
412         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
413         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
414         cursorDownParagraph, cursorPrevious and cursorNext, return true if
415         something was changed in the buffer because of them (ie. depm run)
416
417         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
418         debug messages. Make update by default be false. Make sure that
419         the result of update is retained throught several calls down to
420         dispatch.
421
422         * LyXAction.h: add a new func_attrib: NoUpdate
423
424         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
425         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
426         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
427         and LFUN_WORDLEFT
428         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
429
430 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
431
432         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
433         bv_->owner(), bv_->buffer() by direct references to the private
434         members.
435         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
436         (getStatus): isSavedPosition() is in BufferView::Pimpl.
437         (fitCursor): center() is in BufferView::Pimpl.
438         (getStatus, trackChanges, dispatch): no need for a temporary buf
439         variable
440         (fitCursor, workAreaDispatch): use workarea().workheight()
441
442 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
443
444         * CutAndPaste.C (pasteSelectionHelper): fix a crash
445
446 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
447
448         * buffer.C: format up to 241.
449         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
450         break if pasting into ERT
451         * lyxfunc.C (getStatus): suppress mathpanel and
452         LFUN_DIALOG_SHOW_NEW_INSET in ERT
453
454 2005-02-01  Angus Leeming  <leeming@lyx.org>
455
456         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
457
458 2005-02-01  Angus Leeming  <leeming@lyx.org>
459
460         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
461         calling fs::is_directory().
462
463 2005-01-31  Angus Leeming  <leeming@lyx.org>
464
465         * lyx_main.C (priv_exec): specify explicitly the relative location
466         of the top level build directory when run in-place.
467
468 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
469
470         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
471         LyXText containing the cursor, not the top-level one.
472
473         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
474         true.
475         (insertStringAsLines): rename par to pit; use temporary variable
476         par to hold a Paragraph; do not store par.layout() in a variable,
477         since the pointer may die when breaking paragraphs; pass pars to
478         breakParagraph() instead of Buffer::paragraphs().
479
480 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
481
482         * lyxlex_pimpl.h: #include <fstream>.
483
484         * BufferView.[Ch] (getLyXText): add a const version.
485
486         * BufferView_pimpl.C: add debug aids.
487
488         * RowList_fwd.h:
489         * buffer.h:
490         * lyxrow.h:
491         * paragraph_funcs.h: add commentary explaining what the class does.
492
493
494         * coordcache.[Ch]: add lots of commentary.
495         (startUpdating, doneUpdating): debug aids.
496         (arrays, insets, parPos, getParPos): accessors to private data.
497
498         * cursor_slice.[Ch] (text): add a const version.
499         * dociterator.[Ch] (text, innerText): add const versions.
500
501         * lyxtext.h (breakParagraph): change the keep_layout arg to a
502         bool.
503
504         * paragraph.C (getRow, pos2ros): add asserts.
505
506         * paragraph.h: add commentary. Lots of.
507
508         * paragraph.[Ch] (metrucs, draw): removed.
509
510         * cursor.C:
511         * rowpainter.[Ch]: const-correct changes.
512
513         * text.C: various obvious clean-ups. Removal of ancient cruft.
514         Bug fixes, even.
515
516 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
517
518         * vc-backend.C (find_file): rewrite to use boost.filesystem
519         (scanMaster): ditto
520
521         * main.C (main): set default name check for boost.filesystem to
522         no check
523
524         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
525         (open): ditto
526         (doImport): ditto
527         (actOnUpdatedPrefs): ditto
528
529         * lyx_main.C (init): rewrite to use boost.filesystem
530         (queryUserLyXDir): ditto
531
532         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
533         (getContentsOfAsciiFile): ditto
534
535         * lastfiles.C (readFile): rewrite to use boost.filesystem
536
537         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
538
539         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
540         (loadLyXFile): ditto
541
542         * buffer.C (Buffer): adjust for destroydir
543         (getLogName): rewrite to use boost.filesystem
544         (setFileName): ditto
545         (save): use fs::copy_file (from fs_extras)
546
547         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
548
549         * LaTeX.C (run): rewrite to use boost.filesystem
550         (scanAuxFiles): ditto
551         (handleFoundFile): ditto
552
553 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
554
555         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
556
557         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
558
559 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
560
561         * lyxlayout.[Ch]: change some vars from float to double
562
563         * buffer.C (readFile): make a local var const
564
565         * Several files: use convert<> instead of atoi,strToXXX and friends
566
567 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
568
569         * LaTeXFeatures.[Ch]: Add a static list packages_ that
570         holds the contents of packages.lst. New functions getAvailable
571         and isAvailable to parse and check that list, resp.
572
573         * LyXAction.C:
574         * lfuns.h:
575         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
576
577         * bufferparams.[Ch]: new param output_changes.
578
579         * Buffer.C: increase file format to 240.
580         Use output_changes and isVailable.
581
582         * changes.[Ch]:
583         * paragraph.C:
584         * paragraph_pimpl.C: Use output_changes and isVailable.
585
586 2005-01-23  Angus Leeming  <leeming@lyx.org>
587
588         * output_latex.C: #include "insetbibitem.h", rather than
589         forward declare function bibitemWidest.
590
591 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
592
593         * lyx_main.C (init): make it compile on the Mac.
594
595 2005-01-20  Angus Leeming  <leeming@lyx.org>
596
597         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
598         (setLyXMisc): (char string literal) != (char string literal) is
599         performing a comparison on the addresses. Convert one operand
600         explicitly to string to guarantee expected behaviour.
601         From MSVC warning.
602
603 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
604
605         * buffer.C:
606         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
607
608         * output_plaintext.C: remove unneeded #include gzstream.h.
609
610 2005-01-20  Angus Leeming  <leeming@lyx.org>
611
612         * SpellBase.h: rename some of the elements of the Result enum.
613
614         * aspell_local.h:
615         * ispell.h:
616         * pspell.h:
617         * aspell.C (check):
618         * ispell.C (check):
619         * pspell.C (check): ditto
620
621 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
622
623         * buffer.C: add #include <fstream>.
624
625         * lyx_main.C (init): Compile fix.
626
627         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
628
629 2005-01-20  Angus Leeming  <leeming@lyx.org>
630
631         * mover.h: change commentary to reflect the changed meaning of
632         the $$s placeholder.
633
634 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * output_linuxdoc.C (linuxdocParagraphs): silence warning
637
638         * lyxfind.C (MatchString::operator()): remove bogus semicolon
639
640 2005-01-20  Angus Leeming  <leeming@lyx.org>
641
642         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
643         printing diagnostic data by not dereferecing an iterator past the
644         end.
645
646 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
647
648         * buffer.C (readHeader): use "&&" rather than "and".
649
650         * lyxserver.h (inPipeName, outPipeName): make these const.
651
652 2005-01-19  Angus Leeming  <leeming@lyx.org>
653
654         * lyx_main.C (error_handler, init): protect SIGHUP with
655         #ifdef SIGHUP guards.
656
657 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
658
659         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
660
661 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * text.C (setHeightOfRow): add a margin at the top and bottom of
664         the document (bug 1761)
665
666 2005-01-17  Angus Leeming  <leeming@lyx.org>
667
668         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
669         with "python ". Workaround for a brain-dead Windows.
670
671 2005-01-16  Angus Leeming  <leeming@lyx.org>
672
673         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
674         for MacOSX and Windows to use prependEnvPath.
675         Strip out the hard-coded block to add elements to the PATH for
676         MacOSX and replace it with a call to prependEnvPath using the
677         contents of LyXRC::path_prefix.
678         (queryUserLyXDir): strip out the code to run reconfigure, instead
679         returning a boolean indicating the necessity to do so.
680         (reconfigureUserLyXDir): contains the code to reconfigure the
681         user support directory. Is now called after the various LyXRC data
682         files have been read.
683
684         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
685
686 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
687
688         * converter.[Ch] (convert): take a new parameter try_default. Use
689         a default converter (imagemagick) if try_default is true.
690
691 2005-01-13  Angus Leeming  <leeming@lyx.org>
692
693         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
694         os::cygwin_path_fix.
695         (write): output LyXRC::cygwin_path_fix as necessary.
696
697 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
698
699         * lyxrc.h:
700         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
701
702 2005-01-12  Angus Leeming  <leeming@lyx.org>
703
704         * lyx_main.C (init): set the PATH variable to include the
705         directory containing the LyX binary when running on Mac or Windows.
706
707 2005-01-12  Angus Leeming  <leeming@lyx.org>
708
709         * lyx_main.C (init): remove cruft that purports to set the locale
710         dir. It doesn't and is not needed anyway.
711
712 2005-01-10  Angus Leeming  <leeming@lyx.org>
713
714         * Makefile.am: remove the lyx_main.C special casing.
715
716         * BufferView_pimpl.C:
717         * bufferlist.C:
718         * exporter.C:
719         * lyx_cb.C:
720         * lyx_main.C:
721         * lyxfunc.C:
722         * messages.C: use support/package.h to provide the paths to the
723         various directories used by LyX.
724
725 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
726
727         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
728         layout if pasting into an empty paragraph)
729
730 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
731
732         * tex-accent.C: add <string>
733
734 2005-01-06  José Matos  <jamatos@lyx.org>
735
736         * ParagraphParameters.C (write): put every parameter in its own line.
737         * paragraph.C (write): reduce number of consecutive empty lines exported.
738         * buffer.C (LYX_FORMAT): increase file format to 239.
739
740 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
741
742         * everywhere: change support/tostr.h -> support/convert.h
743
744         * tabular.C: make all write_attributes templates, tostr -> convert
745
746         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
747         (emptyTag): and -> &&, and fix type for ret from getChar
748         (getFirstWord): fix type for ret from getChar
749         (onlyText): and -> &&
750         (simpleDocBookOnePar): and not -> && !, fix type for ret from
751         getChar
752
753         * toc.C (goTo, action):
754         * text3.C (dispatch):
755         * text.C (currentState):
756         * tex-accent.C (DoAccent):
757         * sgml.C:
758         * lyxrc.C:
759         * lyxfunc.C (menuNew):
760         * lyxfinc.C (replace):
761         * counters.C (laberItem):
762         * bufferview_funcs.C (font2string):
763         * bufferparams.C (writeFile):
764         * buffer.C (readFile):
765         * Spacing.C (set):
766         * MenuBackend.C: tostr -> convert
767
768         * LaTeX.C (runMessage): fix format
769         (scanAuxFiles): tostr -> convert
770
771         * BufferView_pimpl.C (savePosition): fix format
772         (restorePosition): ditto
773         (dispatch): ditto
774
775 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
776
777         * Spacing.[Ch]: New method getValueAsString().
778
779         * Spacing.[Ch]:
780         * bufferparams.C:
781         * ParagraphParameters.C:
782         * lyxlayout.C:
783         * text.C:
784         * text3.C: store/read spacing value as string.
785
786         * rowpainter.C: change float value (spacing_val) to double.
787
788         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
789         broken custom document spacing).
790
791 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
792
793         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
794         namespace, also more use of temp references and const
795
796         * cursor.[Ch] (getStatus): move to lyxfunc.C
797
798         * bufferparams.C: reformat slightly
799
800         * bufferview_funcs.C (font2string): constify arg
801
802         * changes.C:
803         * converter.C:
804         * counters.C:
805         * bufferlist.C:
806         * buffer_funcs.C: (many funcs): constify arg on function
807         definitions, also make more local vars const, also add ASSERTS on
808         pointer args.
809
810         * buffer.C (LYX_FORMAT): put const in correct place
811         (many funcs): constify arg on function definitions, also make
812         more local vars const
813
814         * aspell_local.h: remove "struct" from typdef setup
815
816         * aspell.C (check): make word_ok const
817         (nextMiss): simplify slightly
818         (error): ditto
819
820 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
821
822         * lyxrc.[Ch]: store all float values as strings.
823         use int (not float) for lyxrc.dpi.
824
825 2005-01-04  Angus Leeming  <leeming@lyx.org>
826
827         * lyx_cb.C (Reconfigure):
828         * lyx_main.C (queryUserLyXDir):
829         to run the <system_lyxdir>/configure correctly on Windows, prefix
830         the path to the script with "sh " when generating the string that
831         is passed to system().
832
833 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
834
835         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
836
837 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
838
839         * lyxlength.C (asLatexString): get rid of setprecision
840
841 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
842
843         * text2.C (setLayout): remove unused variable endpit.
844         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
845
846         * paragraph.C (onlyText): remove unused variable style.
847
848         * cursor.C (bruteFind): remove unused variables beg and end.
849
850         * Makefile.am (dist_noinset_DATA): not needed anymore
851
852         * cheaders/*: remove.
853
854 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
855
856         * text3.C: fix LFUN_MATH_MODE.
857
858 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
859
860         * buffer_funcs.C (countWords): new function. Counts words between
861         two iterators.
862
863         * BufferView_pimpl.C (getStatus, dispatch): handle
864         LFUN_WORDS_COUNT.
865
866         * LyXAction.C (init):
867         * lfuns.h: add LFUN_WORDS_COUNT.
868
869 2004-12-19  Angus Leeming  <leeming@lyx.org>
870
871         * buffer.C (save): s/slashify_path/internal_path/.
872
873 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
874
875         * lyxfind.C (findChange): do not search for end of pars, because
876         the change tracker cannot handle this (fixes bug 1719).
877
878 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
879
880         * paragraph.[Ch] (autoBreakRows): remove
881
882         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
883
884         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
885         avoid using the paragraph one
886
887         * text2.C (LyXText, insertStringAsLines): adjust
888
889 2004-12-16  Angus Leeming  <leeming@lyx.org>
890
891         * bufferlist.C:
892         * lyx_main.C:
893         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
894
895 2004-12-14  Angus Leeming  <leeming@lyx.org>
896
897         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
898
899         * bufferlist.C (emergencyWrite):
900         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
901         GetEnvPath("HOME").
902
903 2004-12-14  Angus Leeming  <leeming@lyx.org>
904
905         * main.C: (main): no longer pass pointers to os::init.
906
907 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
908
909         * undo.C (textUndoOrRedo): simplify logic, fix a crash
910         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
911
912 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
913
914         * lyxfunc.C:
915         * text3.C: remove selection_possible global flag
916
917 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
918
919         * text2.C (getSelectionSpan): remove
920         (changeDepth, changeDepthAllowed): adjust
921
922 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
923
924         * Makefile.am (BOOST_LIBS): use boost variables
925
926 2004-12-03  José Matos  <jamatos@lyx.org>
927
928         * buffer.C: format up to 238.
929
930 2004-12-03  José Matos  <jamatos@lyx.org>
931
932         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
933
934 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
935
936         * cursor.C (goUpDown): remove call to idxUpDown2
937
938 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
939
940         * tabular.[Ch]: use size_t-like types for cell, row and column
941         indices
942
943 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
944
945         * lyxfunc.C (getStatus): do not lose previous information when
946         calling BufferView::getStatus; do not set a default "Command
947         disabled" message at the beginning, but just before returning.
948
949 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
950
951         * cursor.h (getStatus): add better comment from src/cursor.C
952
953 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
954
955         * text3.C (getStatus): return false when the lfun is not handled
956
957 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
958
959         * broken_headers.h: remove
960
961         * Makefile.am (lyx_SOURCES): remove broken_headers.h
962
963 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
964
965         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
966         offset_ref accessors
967
968         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
969         top_y_, merge fitcursor with update
970         (updateScrollbar, scrollDocView, fitCursor, center, update): new
971         coord scheme
972         (metrics): introduce
973         (workAreaDispatch): adapt to new coord scheme
974         (redoCurrentBuffer): remove
975
976         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
977
978         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
979         CurStatus enum.
980
981         * coordcache.[Ch]: add paragraph cache and helpers
982
983         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
984         adjust everywhere
985
986         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
987         (targetX, setTargetX): introduce
988
989         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
990         baseline -> ascent, as the rest of lyx
991
992         * lyxtext.h: remove redoParagraphs, updateParPositions,
993         fullRebreak, redoParagraphInternal. move dist to anon namespace in
994         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
995         have ascent/descent (ascent is ascent of first par)
996
997         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
998         step of BufferView
999
1000         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1001
1002         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1003
1004         * pariterator.C: fix infinite loop introduced in par->pit renaming
1005
1006         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1007         in insets and LyXText, draw two off-screen paragraphs using
1008         NullPainter, and adapt to new coord scheme
1009
1010         * text.C:
1011         * text2.C:
1012         * text3.C: adapt lfun handlers to the new coord scheme, which
1013         means: there's only guaranteed coord information for onscreen pars
1014         plus one above and one below. This implies that one can do search
1015         from y coordinates in the range [-1,workHeight]
1016
1017 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1018
1019         * rename a lot of InsetOld to InsetBase
1020
1021 2004-11-25  Angus Leeming  <leeming@lyx.org>
1022
1023         * BufferView_pimpl.C:
1024         * lyx_cb.C:
1025         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1026
1027 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1028
1029         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1030         call BufferView::getStatus if LCursor::getStatus did nothing
1031         (setStatusMessage, getStatusMessage): removed.
1032
1033         * FuncStatus.C (message): new methods. Used to provide an error
1034         message indicating why a command is disabled.
1035         (clear, |=, FuncStatus): update for message.
1036
1037 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1038
1039         * lyxfunc.C (dispatch): always call sendDispatchMessage
1040
1041 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1042
1043         * BufferView.C:
1044         * BufferView_pimpl.C:
1045         * CutAndPaste.C:
1046         * FontIterator.C:
1047         * buffer.C:
1048         * cursor.C:
1049         * cursor_slice.[Ch]:
1050         * dociterator.[Ch]:
1051         * lyxfind.C:
1052         * paragraph_funcs.C:
1053         * pariterator.C:
1054         * rowpainter.C:
1055         * text.C:
1056         * text2.C:
1057         * text3.C:
1058         * undo.C: par->pit renaming
1059
1060 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1061
1062         * tabular.C (cellstruct): use initialization, store a shared_ptr
1063         to insettext instead of the insettext directly, adjust to fit.
1064         (operator=):  new function
1065         (swap): new function
1066         (rowstruct): use initialization
1067         (columnstruct): use initialization
1068         (ltType): use initialization
1069
1070
1071         * lyxlength.h (swap): new function
1072
1073         * LColor.[Ch] (operator=): use the common semantics
1074
1075 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1076
1077         * lyxfind.C (findNextChange): update the bufferview after setting
1078         the selection.
1079
1080 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1081
1082         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1083         number of InsetOptArgs has already been inserted.
1084
1085         * output_latex.C (latexOptArgInsets): new method. This outputs all
1086         the optarg insets, up to the limit defined in the layout file.
1087         (optArgInset): removed
1088         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1089
1090 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1091
1092         * paragraph.C (isLetter): remove special spellchecker-related
1093         code; return true also for digits
1094         (isWord, isKomma): remove
1095
1096         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1097         * lyxfind.C (MatchString()): use isLetter instead of isWord
1098
1099 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1100
1101         * pariterator.h (operatir=): comment out un-implemented member
1102         function.
1103
1104         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1105         static cast.
1106
1107 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1108
1109         * lyxfont.h: include LColor.h to satisfy concept checks.
1110
1111 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1112
1113         * pariterator.h: add typdefs for value_type, difference_type,
1114         pointer and reference to satisfy concept checks. Also add default
1115         constructor for same reason.
1116
1117         * pariterator.C (operator++): add post-increment operator to
1118         satisfy concept checks.
1119
1120         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1121         checks.
1122
1123         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1124
1125         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1126         checks. Also rename base_type to BaseType to follow naming
1127         standard better.
1128
1129         * FloatList.h: include Floating.h to satisfy concept checks.
1130
1131 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1132
1133         * lyxfunc.C (getStatus): when the origin of the request is menu or
1134         toolbar, and the LyXView does not have focus, do as if there was
1135         no buffer (bug 1720)
1136
1137         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1138         FuncRequest to individual entries of LFUN_SEQUENCE
1139
1140 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1141
1142         * output_latex.C (TeXOnePar): override runparams.moving_arg
1143         according to the needprotect value of the current paragraph (bug
1144         1739)
1145
1146         * paragraph.C (simpleTeXOnePar): no need to override
1147         runparams.moving_args here
1148
1149 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1150
1151         * vspace.C: fix off-by-one-error, related to fix #1682
1152
1153 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1154
1155         * lengthcommon.C: a more general fix for bug 1682
1156
1157 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1158
1159         * text.C (backspace): fix crash
1160
1161 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1162
1163         * format.[Ch] (getFormatFromFile): new method
1164         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1165
1166 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1167
1168         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1169
1170 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1171
1172         * lyxfunc.C (dispatch): remove the verbose argument
1173         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1174         instead
1175
1176         * kbmap.C (defkey): set the origin of func to KEYBOARD
1177
1178         * MenuBackend.C (MenuItem):
1179         * ToolbarBackend.C (add): set the origin of func to UI
1180
1181         * funcrequest.[Ch]: add origin member, which indicates which part
1182         of LyX requests an action
1183
1184 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1185
1186         * converter.C (move): don't lie in the error message
1187         * converter.h (isReachable, move): document
1188
1189 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1190
1191         * buffer.C: remove unused using lyx::support::atoi
1192         * paragraph_funcs.C: ditto
1193
1194 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1195
1196         * bufferlist.C (exists): use bind and equal_to instead of
1197         compare_memfun
1198         (getBuffer): ditto
1199         * lyxtextclasslist.C (NumberOfClass): ditto
1200
1201         * cursor.C (insert): use for_each instead of explicit for loop
1202
1203         * bufferlist.C (getFileNames): use std::transform and
1204         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1205
1206         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1207         for loop
1208
1209         * buffer.C (changeLanguage): use for_each instead of explicit for
1210         loop
1211         (hasParWithID): implement using getParFromID
1212
1213         * LaTeXFeatures.C: ws change only
1214
1215         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1216         to cleanup a bit.
1217
1218         * BufferView_pimpl.C (trackChanges): use for_each instead of
1219         expilicit for loop
1220
1221 2004-11-04  André Pönitz  <poenitz@gmx.net>
1222
1223         * undo.h:
1224         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1225
1226         * dociterator.C (asDocIterator): use hard assert again.
1227
1228 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1229
1230         * lyxlength.C (asLatexString): rewrite so that it does not use
1231         snprintf anymore
1232
1233 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1234
1235         * text3.C (specialChar, dispatch): make sure cursor moves to the
1236         right after inserting an inset
1237
1238 2004-11-02  José Matos  <jamatos@lyx.org>
1239
1240         * output_docbook.C (docbook):
1241         * paragraph.C (getID):
1242         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1243         garantee that the output is always legal.
1244
1245         * tabular.C (docbook):
1246         * outputprams.[Ch]: remove mixed contents.
1247
1248 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1249
1250         * text2.C (setCounter): prevent endless loop
1251
1252 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1253
1254         * exporter.C (copyFile): use the mover instead of support::copy()
1255         * exporter.C (Export): pass format and latex name to copyFile()
1256         * exporter.h (addExternalFile): document
1257         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1258
1259 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1260
1261         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1262
1263 2004-10-30  José Matos  <jamatos@lyx.org>
1264
1265         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1266         text and no inset or font change. This allows to use CDATA
1267         sections just for the whole paragraph.
1268
1269 2004-10-30  José Matos  <jamatos@lyx.org>
1270
1271         * paragraph.C (getFirstWord): remove unused variable.
1272
1273 2004-10-30  José Matos  <jamatos@lyx.org>
1274
1275         * paragraph.C (getFirstWord): the content should always be escaped
1276         there.
1277         (simpleDocBookOnePar):
1278         * output_docbook.C (makeEnvironment): replace reference to CDATA
1279         to style pass_thru.
1280
1281 2004-10-30  José Matos  <jamatos@lyx.org>
1282
1283         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1284
1285 2004-10-30  José Matos  <jamatos@lyx.org>
1286
1287         * output_docbook.C (makeParagraphs):
1288         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1289         standard paragraph has only a given type of content drop the wrapper.
1290
1291 2004-10-29  José Matos  <jamatos@lyx.org>
1292
1293         * output_docbook.C (makeEnvironment):
1294         * sgml.C (openTag):
1295         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1296
1297 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1298
1299         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1300         (cleanID): sanitize any id.
1301
1302 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1303
1304         * buffer.C, lyxlex_pimpl.C:
1305         * lyxlex_pimpl.C (setFile):
1306         s/getExtFromContents/getFormatFromContents/
1307
1308 2004-10-28  José Matos  <jamatos@lyx.org>
1309
1310         * output_docbook.C (makeEnvironment): move id to broadest possible
1311         scope.
1312
1313         * sgml.C (openTag): apply substitution of <> for all attributes.
1314
1315 2004-10-28  José Matos  <jamatos@lyx.org>
1316
1317         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1318         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1319         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1320
1321         * sgml.[Ch]: new version for open and closeTag for paragraph and
1322         for strings. Now they handle the ids of paragraphs.
1323
1324 2004-10-26  Angus Leeming  <leeming@lyx.org>
1325
1326         * Makefile.am: add mover.[Ch].
1327
1328         * converter.C (convert, move): use the new Movers to move external
1329         files to the temp directory.
1330
1331         * lyx_main.C (init): ensure that the global system_movers data
1332         is initialised.
1333
1334         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1335         preferences file.
1336
1337         * mover.[Ch]: new files, defining a Mover as a utility to move an
1338         external file between directories and, if necessary, manipulate this
1339         file using a helper script.
1340
1341 2004-10-25  José Matos  <jamatos@lyx.org>
1342
1343         * output_docbook.C (makeCommand): merge two if's that tested the
1344         same condition.
1345
1346 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1347
1348         * sgml.C (escapeString): fix warning in a better way
1349
1350 2004-10-25  José Matos  <jamatos@lyx.org>
1351
1352         * sgml.C (escapeString): import the require boosts header file for
1353         tie, and avoid a signed unsigned comparison.
1354
1355 2004-10-25  José Matos  <jamatos@lyx.org>
1356
1357         * sgml.h: add #include <string>
1358
1359 2004-10-25  José Matos  <jamatos@lyx.org>
1360
1361         * sgml.[Ch] (escapeString): new function to escape all the string.
1362
1363 2004-10-24  José Matos  <jamatos@lyx.org>
1364
1365         * paragraph.[Ch] (getFirstWord): new function to get the first
1366         word. Useful for description.
1367         (simpleDocBookOnePar): remove depth argument, add another that
1368         says where to start the paragraph.
1369
1370         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1371         use the new functions to fix cleanly the support for descriptions.
1372
1373 2004-10-24  José Matos  <jamatos@lyx.org>
1374
1375         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1376         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1377         * output_linuxdoc.C (linuxdocParagraphs):
1378         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1379         add buffer as argument.
1380
1381 2004-10-24  José Matos  <jamatos@lyx.org>
1382
1383         * output_docbook.C (makeEnvironment, searchEnvironment): place
1384         CDATA inside paragraphs and fix scope for listitems.
1385
1386 2004-10-24  José Matos  <jamatos@lyx.org>
1387
1388         * output_docbook.C: remove using statement for stack.
1389
1390 2004-10-23  José Matos  <jamatos@lyx.org>
1391
1392         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1393         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1394         docbook. The new scheme is recursive and makes use of iterators, the
1395         same as latex export works.
1396         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1397         directly with the paragraph contents. This code was moved up to
1398         output_docbook.C (docbookParagraphs).
1399         * sgml.C (openTag, closeTag): removed unneeded newlines.
1400         (closeEnvTags) removed.
1401
1402 2004-10-23  André Pönitz  <poenitz@gmx.net>
1403
1404         * undo.C (textUndoOrRedo):
1405         * dociterator.C (asDocIterator): work around crash
1406
1407         * cursor.C (getStatus): replace ASSERT by more verbose error message
1408           and manual correction of the problem. Should increase stability
1409           while providing more sensible information.
1410
1411 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1412
1413         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1414
1415         * bufferlist.C (previous, next): new methods
1416
1417         * lfuns.h:
1418         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1419
1420 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1421
1422         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1423         entities to preamble.
1424
1425 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1426
1427         * messages.C (Pimpl): strip off translation context information
1428
1429 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1430
1431         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1432         the cursor is correct (bug 1694)
1433
1434 2004-10-13  José Matos  <jamatos@lyx.org>
1435
1436         * output_docbook.C (docbookParagraphs): fix closing tags in the
1437         end of the document.
1438
1439 2004-10-09  José Matos  <jamatos@lyx.org>
1440
1441         * buffer.C: format up to 237.
1442         * bufferparams.C (write): use tostr to convert booleans to strings.
1443
1444 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1445
1446         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1447
1448 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1449
1450         * LaTeX.C: implement use of babel language in xindy.
1451
1452 2004-10-05  José Matos  <jamatos@lyx.org>
1453
1454         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1455         Add new translators to help reading and writing the lyx file.
1456
1457 2004-10-05  José Matos  <jamatos@lyx.org>
1458
1459         * ParagraphParameters.C (read):
1460         * text.C (readParToken): replace nexToken by more appropriate lex
1461         methods.
1462
1463 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1464
1465         * LaTeX.C (runMakeIndex):
1466         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1467         (usually 'makeindex') configurable.
1468
1469         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1470         with a variable rather than with a number.
1471
1472 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1473
1474         * output_latex.C (TeXOnePar): make sure font setting is the first
1475         thing that gets output (and the last at the end). Should fix bug
1476         1404.
1477
1478 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1479
1480         * pch.h: use proper signal include
1481
1482         * LaTeX.h: Use preferred calling of Boost.Signal
1483         * buffer.h: ditto
1484
1485 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1486
1487         * pch.h: dont include <boost/function/function0.hpp>
1488
1489         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1490
1491         * paragraph_pimpl.h: remove usage of ShareContainer
1492
1493         * paragraph_pimpl.C: remove initialization of ShareContainer.
1494
1495 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1496
1497         Fix bug #1666
1498
1499         * BufferView.C (putSelectionAt): change the semantics when
1500         backwards == true: now, this just swaps cursor and anchor wrt the
1501         forward case
1502
1503         * BufferView.h (putSelectionAt): add some documentation
1504
1505         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1506         make sure backwardChar is done at least once (to avoid getting
1507         stuck)
1508         (findNextChange): use putSelectionAt in the forward direction
1509         (operator()): use Paragraph::isWord
1510
1511 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1512
1513         * Spacing.C (set): c_str fix
1514
1515 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1516
1517         * lyx_cb.C (Reconfigure): quote the name of configure script in
1518         case it contains spaces
1519
1520 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1521
1522         * client: new dir
1523
1524         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1525         (BOOST_LIBS): use top_buildir when looking for the file
1526
1527 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1528
1529         * pch.h: do not use include boost/format.hpp, multiple symbols
1530                 will result (gcc bug)
1531
1532
1533 2004-08-23  José Matos  <jamatos@lyx.org>
1534
1535         * bufferparams.C (readToken): fix reading of the author field.
1536
1537 2004-08-20  José Matos  <jamatos@lyx.org>
1538
1539         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1540
1541 2004-08-20  José Matos  <jamatos@lyx.org>
1542
1543         * lyxlex.[Ch] (findToken): remove function.
1544
1545         * ParagraphParameters.C (findToken):
1546         * bufferparams.C (findToken): replace call for previous function
1547         with local copy. This local function has one more argument, the
1548         read string argument.
1549
1550 2004-08-16  José Matos  <jamatos@lyx.org>
1551
1552         * ParagraphParameters.C (write):
1553         * Spacing.C (writeFile):
1554         * bufferparams.C (writeLaTeX):
1555         * lyx_cb.C (Reconfigure):
1556         * paragraph.C (write):
1557         * tabular.C (write): remove unnecessary space at end of line.
1558
1559
1560 2004-08-16  José Matos  <jamatos@lyx.org>
1561
1562         * text.C (readParagraph): remove debug message.
1563
1564 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1565
1566         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1567         crash
1568
1569         * output_plaintext.C (asciiParagraph): set depth correctly
1570
1571         * outputparams.h: add member depth
1572
1573         * paragraph_funcs.C (ownerPar): remove.
1574
1575         * text2.C (setCounter): remove first_pit; comment out some
1576         non-working code that uses ownerPar
1577
1578         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1579         uses ownerPar
1580
1581 2004-08-16  José Matos  <jamatos@lyx.org>
1582
1583         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1584         For the same level of importance use the same chanel to report problems.
1585         (read): add code to deal with \begin_body and \end_body.
1586
1587
1588 2004-08-15  José Matos  <jamatos@lyx.org>
1589
1590         * lyxlex.C (getString): fix comment, buffer::readBody is now
1591         buffer:readDocument.
1592
1593         * tex-strings.C (string_papersize): Default -> default,
1594         Custom -> custom, for consistency with other options.
1595
1596 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1597
1598         * pch.h: new file
1599
1600         * Makefile.am: support pch
1601
1602 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1603
1604         * text.C (readParToken): remove the static LyXFont variable and
1605         pass it as a parameter instead. This fixes a nasty bug where an
1606         inset will be inserted with a bad font in some situations
1607         (readParagraph): adapt
1608
1609         * text2.C (setCounter): reduce number of calls to pars_[pit]
1610
1611         * text.C (singleWidth): add an assert, fix a test
1612
1613         * rowpainter.C (paintText): reduce number of calls to singleWidth
1614
1615         * paragraph.C (isHfill):
1616         (isNewline): ws only
1617
1618 2004-08-14  André Pönitz  <poenitz@gmx.net>
1619
1620         * text.C:
1621         * text2.C:
1622         * rowpainter.C:
1623         * lyxtext.h (several functions): use a Paragraph & argument
1624         instead of par_type
1625
1626 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1627
1628         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1629
1630         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1631
1632         * text.C (singleWidth): remove useless test
1633
1634 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1635
1636         * tabular.h: remove bogus comments
1637
1638         * tabular.C (getDescentOfRow):
1639         (isPartOfMultiColumn): add assertions
1640
1641         * lyxlength.C (inPixels): remove #warning
1642
1643 2004-08-14  André Pönitz  <poenitz@gmx.net>
1644
1645         * paragraph.h: inline getChar()
1646
1647         * BufferView.h: remove unused declarations
1648
1649 2004-08-14  José Matos  <jamatos@lyx.org>
1650
1651         * Buffer.[Ch] (readDocument): new name for old readBody.
1652         * Buffer.C: new file format, new keywords: \begin_document,
1653         \begin_header, \begin_body, \end_body.
1654
1655         * bufferparams.C (readToken): replace all calls to lex.nextToken
1656         by lex.next(). Do the same to eatLine except where really needed.
1657
1658         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1659         line when writing to the lyx file.
1660
1661         * output_plaintext.C (asciiParagraph): fix Bibliography style
1662         handling.
1663
1664         * text.C (read): fix end of file handling.
1665
1666 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1667
1668         * MenuBackend.C (Menu::operator[]): new method to access
1669         individual menu items
1670         (Menu::hasFunc): new method. search for an item that corresponds
1671         to a given func
1672         (MenuBackend::specialMenu): new method
1673         (MenuBackend::expand): if a special menu has been set, skip
1674         entries whose func() appears in this menu
1675
1676 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1677
1678         * text3.C: use Debug::DEBUG a bit more
1679
1680         * text.C (leftMargin): try to simplify a tiny bit change var x to
1681         l_margin. Dont output the wide margins always.
1682         (rightMargin): no margin in inner texts
1683
1684         * rowpainter.h (nestMargin): new func
1685         (changebarMargin): new func
1686         (rightMargin): new func
1687
1688         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1689         now functions.
1690         (paintLast): ditto
1691
1692         * factory.C (createInset): modify setDrawFrame
1693
1694         * cursor.C: use Debug::DEBUG a bit more
1695
1696 2004-08-14  André Pönitz  <poenitz@gmx.net>
1697
1698         * coordcache.[Ch]:
1699         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1700         cache for all insets in (at least partially) visible (top-level)
1701         paragraphs.
1702
1703         * BufferView_pimpl.C: reset external coord cache before every update.
1704         This means the coord cache only contains valid entries.
1705
1706 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1707
1708         bug 1096
1709         * BufferView_pimpl.C (getInsetByCode): move function out of class
1710         and change in to a template in anon namespace. Also fix to do what
1711         suits us better.
1712
1713 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1714
1715         bug 1305
1716         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1717         of char
1718         (breakParagraph): rename par to par_offset and use a local
1719         reference. Add code to keep the language over a rebreak.
1720         (breakParagraphConservative): rename par to par_offset, use a
1721         local reference
1722         (mergeParagraph): ditto
1723         (outerHook): ditto
1724         (isFirstInSequence): ditto
1725         (outerFont): rename pit to par_offset
1726
1727         * paragraph.C: ws change
1728         * paragraph.h: ditto
1729         * text3.C: ditto
1730         * text.C: ditto
1731
1732 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1733
1734         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1735         treatment for ']'
1736
1737         * paragraph.C (simpleTeXOnePar): when we have a \item with
1738         optional argument, enclose the argument with curly brackets (in
1739         case it contains a closing square bracket)
1740
1741         * text2.C (editXY):
1742         * text2.C (editXY):
1743         * text3.C (checkInsetHit): constify
1744
1745 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1746
1747         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1748         documents (bug 1629)
1749
1750 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1751
1752         Fix toggling of collapsable insets with the mouse (bug 1558)
1753
1754         * lyxfunc.C (dispatch): adapt to LCursor changes
1755
1756         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1757         make sure that dispatch is not invoked twice
1758
1759         * cursor.C (needsUpdate): new method
1760         (dispatch): return void
1761         (result): new method, to access the DispatchResult of the cursor.
1762
1763 2004-08-13  José Matos  <jamatos@lyx.org>
1764
1765         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1766
1767 2004-08-13  André Pönitz  <poenitz@gmx.net>
1768
1769         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1770
1771         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1772           multiple cells
1773
1774 2004-08-12  André Pönitz  <poenitz@gmx.net>
1775
1776         * text3.C: take out the 'cursor right' form insertInset and only
1777         do it in those places when it is really needed. Fixes crash on
1778         C-m...
1779
1780 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1781
1782         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1783
1784         * BufferView_pimpl.C (setBuffer): initialize the current font of
1785         the underlying LyXText
1786
1787 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1788
1789         * kbsequence.C (print): use UI native formatting for menu
1790         shortcuts
1791
1792         * text.C (insertChar): call Paragraph::insertChar with a font
1793         argument (cosmetic)
1794
1795         * paragraph.C (insertInset, insertChar): the version that takes a
1796         LyXFont argument is now a wrapper around the other one (the
1797         opposite used to be true).
1798
1799         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1800         argument. Font setting is done in Paragraph now.
1801
1802 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1803
1804         * outputparams.h: add new members intitle and lang.
1805
1806         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1807         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1808
1809 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1810
1811         * text3.C (dispatch): remove special handling of button 4 and 5,
1812         it is now taken care of in the frontend code.
1813
1814 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1815
1816         * Spacing.h: add <string> (STLPort compile fix)
1817
1818 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1819
1820         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1821
1822 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1823
1824         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1825         to bool.
1826
1827         * converter.C (showMessage): inherit from unary_function, make
1828         operator() const.
1829
1830         * buffer.C (writeFile): initialize retval
1831
1832         * InsetList.h: rename private variable list to list_
1833         * InsetList.[Ch]: adjust accordingly.
1834
1835 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1836
1837         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1838         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1839         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1840         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1841         * ParagraphParameters.C, LaTeXFeatures.C: replace
1842         "support/std_sstream.h" with <sstream>
1843
1844 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1845
1846         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1847         * lyxsocket.C (LyXServerSocket): ditto
1848         (serverCallback): ditto
1849
1850 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1851
1852         * LaTeXFeatures.C: check release date when loading jurabib.
1853
1854 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1855
1856         * lyxserver.C (startPipe): call register_socket_callback
1857         (endPipe): call unregister_socket_callback
1858
1859 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1860
1861         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1862         (LyXServerSocket): register the callback
1863         (LyXServerSocket): unregister the callback
1864         (fd): delete function
1865         (serverCallback): improve error checking and setup the callbacks.
1866         (dataCallback): change arg to fd.
1867         (writeln): new func (copied fro the client socket) used for server
1868         write to client.
1869         (LyXDataSocket): simplify
1870         (~LyXDataSocket): close ann unregiser callback
1871         (server): delete function
1872         (fd): delete function
1873         (readln): small changes, improve some std::string usage
1874         (writeln): constify a bit
1875
1876 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1877
1878         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1879         Qt frontend
1880
1881 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1882
1883         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1884         after it has been populated
1885
1886 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1887
1888         * text2.C (insertInset): move cursor when inserting inset.
1889
1890 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1891
1892         * kbmap.C (findbindings): a couple of new methods. returns a
1893         container of kb_sequence objects. The real work is done by the
1894         private recursive version
1895         (printbindings): uses findbindings to print out a bracketed list
1896         of bindings (renamed from findbinding).
1897
1898         * MenuBackend.C (binding): use kb_keymap::findbindings
1899
1900         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1901
1902 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1903
1904         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1905
1906 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1907
1908         * paragraph.C (isWord): return true on insets that report
1909         isLetter().
1910
1911         * text.C (getWord): use Paragraph::isWord to decide what is in a
1912         word and what is not; fix bug 1609.
1913
1914 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1915
1916         * tex-strings.C: add "none" to string_paperpackages[], fixes
1917         off-by-one-error in the paperpackage selection.
1918
1919         * lyxlex.[Ch]:
1920         * tex-strings.[Ch]: char const * string[n]
1921         -> char const * const string[]
1922
1923 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1924
1925         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1926         command, return early.
1927
1928 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1929
1930         * debug.h: add DEBUG to enum and fix size of ANY.
1931
1932         * debug.C: add support for Debug::DEBUG
1933         (showTags): cast errorTags.level to unsigned int
1934
1935         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1936         (redoCurrentBuffer): ditto
1937         (updateScrollbar): ditto
1938         * cursor.C (dispatch): ditto
1939         * text2.C (setLayout): ditto
1940         (setFont): ditto
1941         (updateCounters): ditto
1942         (editXY): ditto
1943         (deleteEmptyParagraphMechanism): ditto
1944
1945 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1946
1947         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1948         annotations to cleanup the Makefile slightly.
1949
1950 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1951
1952         * lyxrc.C: do not set user_email to a default value but use empty
1953         instead. The entry used to be translated, which does not work
1954         since at the point where lyxrc is constructed there is no
1955         translation service available
1956
1957         * messages.C (getLocaleDir): remove and use directly
1958         lyx_localedir() instead
1959
1960 2004-06-02  Angus Leeming  <leeming@lyx.org>
1961
1962         Fix crash caused by dereferencing null pointer 'exportdata' in
1963         OutputParams by creating a new ExportData variable on the heap,
1964         storing it in a boost::shared_ptr.
1965         The crash was triggered when generating an Instant Preview
1966         of an external inset.
1967
1968         * Makefile.am: add outputparams.C
1969
1970         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1971         (c-tor): allocate memory to it.
1972
1973         * exporter.C (c-tor): associated changes.
1974
1975 2004-06-01  Angus Leeming  <leeming@lyx.org>
1976
1977         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1978         contains data before calling isInset(0). (Bug 1513.)
1979
1980 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1981
1982         * exporter.C (checkOverwrite): new method
1983         * exporter.C (copyFile): new method
1984         * exporter.C (Export): copy referenced files to the document dir
1985         * exporter.[Ch]: new class ExportedFile
1986         * exporter.[Ch]: new class ExportData. Contains currently the
1987         names of referenced external files
1988         * outputparams.h: add exportdata member.
1989
1990 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1991
1992         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1993         version.C-tmp
1994
1995 2004-05-19  Angus Leeming  <leeming@lyx.org>
1996
1997         * LaTeXFeatures.C:
1998         * ToolbarBackend.C:
1999         * bufferparams.C:
2000         * lyxfunc.C: small changes due to the introduction of namespace
2001         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2002
2003 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2004
2005         * text3.C (dispatch): supress update when only moving the cursor
2006         * cursor.C (selHandle): remove commented code
2007
2008 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2009
2010         * paragraph.C (startTeXParParams): correct column count
2011         * CutAndPaste.C (pasteSelection): remove const_cast
2012         * output_docbook.C (docbookParagraphs): remove const_cast
2013         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2014         const_cast and return ParagraphList::const_iterator
2015         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2016         * output_plaintext.C (writeFileAscii): remove const_cast
2017         * paragraph.[Ch] (simpleTeXOnePar): make const
2018         * paragraph_funcs.C (outerPar): use const iterators
2019         * paragraph_pimpl.C (validate): use const iterators
2020         * text.C (setHeightOfRow): use const iterators
2021
2022 2004-05-17  Angus Leeming  <leeming@lyx.org>
2023
2024         * lfuns.h:
2025         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2026
2027         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2028         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2029         if the citation engine has changed.
2030
2031 2004-05-14  José Matos  <jamatos@lyx.org>
2032
2033         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2034         if the textclass does not provide it. Have it different for sgml and
2035         xml.
2036         support the language of document.
2037         * output_docbook.C (docbookParagraphs):
2038         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2039         first anchor as the id of the paragraph, remove special case code.
2040         * sgml.C (escapeChar): escape only < & >.
2041
2042 2004-05-14  Angus Leeming  <leeming@lyx.org>
2043
2044         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2045         dependencies on src/frontends/controllers/biblio.h. Define a
2046         CiteEngine_enum wrapper class to enable the enum to be forward
2047         declared.
2048
2049 2004-05-12  Angus Leeming  <leeming@lyx.org>
2050
2051         * buffer.C: up LYX_FORMAT to 234.
2052         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2053         use_numerical_citations with a single biblio::CiteEngine cite_engine
2054         variable.
2055         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2056
2057 2004-05-13  José Matos  <jamatos@lyx.org>
2058
2059         * converter.h:
2060         * converter.C (Converter, readFlags): add xml member.
2061         * outputparams.h: add XML flavor.
2062         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2063
2064 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2065
2066         * lyxfunc.C (dispatch):
2067         (getStatus): fix handling of LFUN_SEQUENCE
2068
2069 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2070
2071         * debug.C (showLevel): do not forget the end-of-line marker
2072
2073 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2074
2075         * kbmap.C (read): do not stop parsing a bind file when an error
2076         occurs (bug 1575)
2077
2078 2004-04-29  Angus Leeming  <leeming@lyx.org>
2079
2080         * cursor.C:
2081         * factory.C:
2082         * pariterator.C:
2083         * text2.C: wrap a bunch of #warning statements
2084         inside #ifdef WITH_WARNINGS blocks.
2085
2086 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2087
2088         * buffer.C: increment format to 233.
2089
2090 2004-04-28  Angus Leeming  <leeming@lyx.org>
2091
2092         * BufferView_pimpl.C:
2093         * lyxfunc.C:
2094         * text3.C:
2095         s/updateToolbar()/updateToolbars()/
2096         s/Toolbar.h/Toolbars.h/
2097
2098 2004-04-28  Angus Leeming  <leeming@lyx.org>
2099
2100         * BufferView.[Ch] (c-tor):
2101         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2102         No longer passes these data to the WorkArea generator.
2103
2104 2004-04-28  Angus Leeming  <leeming@lyx.org>
2105
2106         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2107
2108 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2109
2110         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2111
2112 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2113
2114         * output_latex.C (TeXEnvironment): make sure that there is a line
2115         break before \end{foo} for the last paragraph of a document
2116         (TeXOnePar): if the paragraph is at the end of the document (or
2117         inset) and the language has to be reset, then make sure that the
2118         line break is _before_ the language command, not after (fixes bug
2119         1225); also make sure that the language reset command is the first
2120         thing after the paragraph (to ensure proper nesting of
2121         environments and thus fix bug 1404)
2122
2123 2004-04-21  John Levon  <levon@movementarian.org>
2124
2125         * ToolbarBackend.h:
2126         * ToolbarBackend.C: make "name" be a programmatic name
2127         and a gui_name field.
2128
2129         * lyxfunc.C: display the minibuffer on M-x
2130
2131 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2132
2133         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2134         (bug 1526)
2135
2136 2004-04-19  Angus Leeming  <leeming@lyx.org>
2137
2138         * BufferView_pimpl.C (setBuffer): changed preview interface.
2139
2140         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2141         possible values.
2142
2143 2004-04-19  John Levon  <levon@movementarian.org>
2144
2145         * BufferView_pimpl.C:
2146         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2147
2148 2004-04-05  Angus Leeming  <leeming@lyx.org>
2149
2150         * text.C (redoParagraphs): add call to updateCounters(), thereby
2151         fixing the missing "Figure #:" label from the caption of a
2152         figure float.
2153
2154 2004-04-13  Angus Leeming  <leeming@lyx.org>
2155
2156         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2157         cursor is clicked out of an inset.
2158
2159 2004-04-13  Angus Leeming  <leeming@lyx.org>
2160
2161         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2162         than an InsetOld one.
2163
2164 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2165
2166         * format.[Ch]: add editor to Format
2167         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2168         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2169
2170 2004-04-08  André Pönitz  <poenitz@gmx.net>
2171
2172         * metricsinfo.h: remove PainterInfo::width member
2173
2174 2004-04-08  Angus Leeming  <leeming@lyx.org>
2175
2176         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2177         "\providecommand" rather than "\newcommand", thereby preventing
2178         clashes with packages that define "\boldsymbol" themselves.
2179         Eg, beamer.
2180
2181 2004-04-08  Angus Leeming  <leeming@lyx.org>
2182
2183         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2184         thereby squashing an unnecessary warning.
2185
2186 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2187
2188         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2189         setBuffer()
2190
2191 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2192
2193         * BufferView.C (setCursor): call redoParagraph (some insets could
2194         have been opened)
2195         (putSelectionAt): remove the 'double update' trick
2196
2197         * BufferView_pimpl.C (fitCursor): call refreshPar
2198         (workAreaDispatch): remove an uneeded update call
2199         (dispatch): remove some manual update calls
2200
2201         * cursor.[Ch]: remove cached_y_, updatePos
2202         (selHandle): set noUpdate when appropriate
2203
2204         * lyxfunc.C (dispatch): track if we need an update
2205
2206         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2207
2208         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2209         (paintSelection): cheap optimization, do not call cursorX when not
2210         needed
2211         (paintPars): change signature
2212         (refreshPar): add
2213         (paintText): adjust
2214         (paintTextInset): adjust
2215
2216         * text.C: adjust
2217
2218 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2219
2220         * lengthcommon.C: compilation fix: remove explicit array size from
2221         unit_name[] and friends
2222
2223 2004-04-05  Angus Leeming  <leeming@lyx.org>
2224
2225         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2226
2227         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2228         present only for the preferences dialog.
2229         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2230
2231 2004-04-05  Angus Leeming  <leeming@lyx.org>
2232
2233         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2234         to enable the frontends to export changes to lyxrc correctly.
2235
2236         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2237
2238 2004-04-07  André Pönitz  <poenitz@gmx.net>
2239
2240         * cursor.[Ch] (selClear, adjust): remove math
2241
2242         * cursor_slice.C: more agressive assert
2243
2244         * lyxfunc.C:
2245         * BufferView_pimpl.C: rework mouse event dispatch
2246
2247         * dociterator.C:
2248         * paragraph.C:
2249         * text2.C:
2250         * text3.C: adjust
2251
2252 2004-04-05  André Pönitz  <poenitz@gmx.net>
2253
2254         * cursor.[Ch] (valign, halign...): remove unneeded functions
2255
2256 2004-04-05  Angus Leeming  <leeming@lyx.org>
2257
2258         * lyxlength.[Ch] (unit_name et al.): const-correct.
2259
2260 2004-04-05  Angus Leeming  <leeming@lyx.org>
2261
2262         * BufferView_pimpl.C:
2263         * buffer.C:
2264         * counters.C:
2265         * cursor.C:
2266         * lyxfunc.C
2267         * paragraph.C:
2268         * pariterator.C:
2269         * text.C:
2270         * text2.C:
2271         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2272
2273 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2274
2275         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2276
2277 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2278
2279         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2280         * BufferView_pimpl.[Ch] (getStatus)
2281         * BufferView.[Ch] (getStatus): add
2282         * lyxfunc.C (getStatus): move lfuns handled in
2283         BufferView::dispatch to te function above
2284         * Cursor.C (setSelection): set selection() = true
2285
2286 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2287
2288         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2289
2290 2004-03-31  Angus Leeming  <leeming@lyx.org>
2291
2292         * lyxfunc.C (dispatch): Fall through to the generic
2293         Dialogs::show("preamble").
2294
2295 2004-03-31  Angus Leeming  <leeming@lyx.org>
2296
2297         * lyxfunc.C (dispatch): Fall through to the generic
2298         Dialogs::show("spellchecker").
2299
2300 2004-03-31  Angus Leeming  <leeming@lyx.org>
2301
2302         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2303         preferences dialog.
2304
2305 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2306
2307         * BufferView.C
2308         * cursor.[Ch]
2309         * dociterator.[Ch]:
2310         * insetiterator.[Ch]:
2311         * lyxfind.C:
2312         * lyxfunc.C:
2313         * pariterator.[Ch]:
2314         * text2.C:
2315         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2316
2317 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2318
2319         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2320         insets where we are putting the cursor.
2321
2322 2004-03-31  Angus Leeming  <leeming@lyx.org>
2323
2324         * lfuns.h:
2325         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2326
2327         * lyxrc.[Ch] (read, write): overloaded member functions taking
2328         a std::[io]stream arguments.
2329
2330         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2331
2332 2004-03-31  Angus Leeming  <leeming@lyx.org>
2333
2334         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2335         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2336
2337         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2338         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2339
2340 2004-03-31  Angus Leeming  <leeming@lyx.org>
2341
2342         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2343         the LFUN_ALL_INSETS_TOGGLE code.
2344
2345 2004-03-30  Angus Leeming  <leeming@lyx.org>
2346
2347         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2348         has died. Fall through to the generic Dialogs::show("document").
2349
2350 2004-03-30  Angus Leeming  <leeming@lyx.org>
2351
2352         * lfuns.h:
2353         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2354         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2355
2356         * lyxfunc.C (getStatus, dispatch): define the actions for these
2357         lfuns. Little more than a cut and pste job from ControlDocument.C
2358
2359         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2360
2361 2004-03-30  Angus Leeming  <leeming@lyx.org>
2362
2363         * lfuns.h:
2364         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2365         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2366
2367         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2368         open/closed state of ollapsable insets. Usage:
2369
2370         all-inset-toggle <state> <name>, where
2371         <state> == "open" || "closed" || "toggle" and
2372         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2373
2374         * lyxtext.h, text2.C (toggleInset): removed.
2375
2376         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2377         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2378         now passes LFUN_INSET_TOGGLE to the found inset.
2379
2380         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2381         is now invoked as "all-insets-toggle toggle branch".
2382
2383 2004-03-30  Angus Leeming  <leeming@lyx.org>
2384
2385         * dociterator.C:
2386         * insetiterator.C:
2387         * pariterator.[Ch]: added/corrected header blurb.
2388
2389 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2390
2391         * dociterator.[Ch]: add an inset_ member
2392         (backwardPos): implemented
2393         (backwardPos, forwardPos): use inset_ when the stack is empty.
2394         (doc_iterator_begin, doc_iterator_end): implemented
2395         * pariterator.[Ch]: adjust, add begin, end
2396         * insetiterator.[Ch]: adjust, add begin, end
2397         * cursor.C:
2398         * document.C:
2399         * BufferView.C:
2400         * BufferView_pimpl.C:
2401         * CutAndPaste.C: adjust
2402
2403 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2404
2405         * buffer.C: increment file format to 232.
2406         * LaTeXFeatures.C: add bibtopic package.
2407         * bufferparams.[Ch]: param \use_bibtopic.
2408
2409         * lyxrc.[Ch]: add lyxrc bibtex_command
2410         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2411
2412         * buffer.C: increment file format to 231.
2413
2414 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2415
2416         * dociterator.C: implement forwardPar
2417         * iterators.[Ch]: remove, replaced by
2418         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2419         * BufferView.C:
2420         * BufferView_pimpl.C:
2421         * CutAndPaste.C:
2422         * buffer.C:
2423         * bufferview_funcs.C:
2424         * cursor.C:
2425         * lyxfind.C
2426         * lyxfunc.C
2427         * paragraph_funcs.C
2428         * toc.C:
2429         * Makefile.am: adjust
2430
2431 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2432
2433         * CutAndPaste.C (pasteSelection): fix 2 crashes
2434         (eraseSelection): fix a crash
2435         * paragraph_funcs.C: remove a warning
2436
2437 2004-03-28  Angus Leeming  <leeming@lyx.org>
2438
2439         * lfuns.h:
2440         * LyXAction.C (init): new LFUN_PRINT.
2441
2442         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2443
2444 2004-03-27  Angus Leeming  <leeming@lyx.org>
2445
2446         * lfuns.h:
2447         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2448
2449         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2450
2451 2004-03-27  Angus Leeming  <leeming@lyx.org>
2452
2453         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2454         insetlist always contains non-null pointers to insets.
2455
2456 2004-03-26  Angus Leeming  <leeming@lyx.org>
2457
2458         * src/BufferView_pimpl.C:
2459         * src/CutAndPaste.C:
2460         * src/buffer.C:
2461         * src/iterators.C:
2462         * src/output_plaintext.C:
2463         * src/outputparams.h:
2464         * src/paragraph_funcs.C:
2465         * src/rowpainter.C:
2466         * src/text.C:
2467         * src/text2.C:
2468         * src/frontends/controllers/ControlErrorList.C:
2469         * src/frontends/gtk/FileDialogPrivate.C:
2470         * src/frontends/gtk/GPainter.C:
2471         * src/frontends/gtk/GToolbar.C:
2472         * src/frontends/qt2/QRef.C:
2473         * src/mathed/math_scriptinset.C: squash compiler warnings.
2474
2475 2004-03-26  Angus Leeming  <leeming@lyx.org>
2476
2477         * ispell.C (LaunchIspell::start):
2478         * lyx_cb.C (AutoSaveBuffer::start):
2479         invoke run(DontWait) rather than runNonBlocking().
2480
2481 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2482
2483         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2484
2485 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2486
2487         * kbsequence.C (print): adjust
2488
2489         * kbmap.C (printKeySym): rename and change signature
2490         (printKey): use LyXKeySym::print()
2491
2492 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2493
2494         * undo.C: add using std::advance to compile for stlport
2495
2496 2004-03-24  Angus Leeming  <leeming@lyx.org>
2497
2498         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2499         it leads to a crash when no buffer is present.
2500
2501 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2502             Martin Vermeer  <martin.vermeer@hut.fi>
2503
2504         * lyxfunc.C (dispatch):
2505         * bufferparams.C (readToken): use the new LColor::setColor
2506
2507         * LColor.[Ch] (setColor): new version that takes two strings as
2508         argument and creates a new color entry if necessary
2509
2510 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2511
2512         * buffer.C (makeLaTeXFile): if the main latex file that is
2513         processed is usually a subdocument of some master, then pretend
2514         for a while that it is actually the master
2515
2516 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2517
2518         * buffer.C (getLabelList):
2519         (getBibkeyList): use getMasterBuffer()
2520         (getMasterBuffer): new method. Returns the main document in the
2521         case where one is using included documents.
2522
2523 2004-03-25  André Pönitz  <poenitz@gmx.net>
2524
2525         * Makefile.am:
2526         * iterators.[Ch]:
2527         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2528
2529         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2530
2531         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2532         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2533
2534         * ParameterStruct.h: merge with ParagraphParameters
2535
2536         * lyxtext.h: remove LyXText::parOffset() and getPar()
2537
2538         * text3.C: Remove all 'manual' update calls. We do now one per user
2539         interaction which is completely sufficient.
2540
2541         * Bidi.C:
2542         * BufferView.[Ch]:
2543         * BufferView_pimpl.C:
2544         * FontIterator.[Ch]:
2545         * MenuBackend.C:
2546         * ParagraphParameters.[Ch]:
2547         * buffer.C:
2548         * buffer.h:
2549         * bufferlist.C:
2550         * cursor.[Ch]:
2551         * cursor_slice.[Ch]:
2552         * dociterator.[Ch]:
2553         * errorlist.[Ch]:
2554         * factory.C:
2555         * lfuns.h:
2556         * lyxfind.C:
2557         * lyxfunc.C:
2558         * output_docbook.[Ch]:
2559         * output_latex.[Ch]:
2560         * output_linuxdoc.[Ch]:
2561         * output_plaintext.[Ch]:
2562         * paragraph.[Ch]:
2563         * paragraph_funcs.[Ch]:
2564         * paragraph_pimpl.[Ch]:
2565         * rowpainter.C:
2566         * tabular.[Ch]:
2567         * text.C:
2568         * text2.C:
2569         * toc.C:
2570         * undo.[Ch]: adjust
2571
2572         * frontends/controllers/ControlDocument.C:
2573         * frontends/controllers/ControlErrorList.C:
2574         * frontends/controllers/ControlSpellchecker.C:
2575         * insets/inset.C:
2576         * insets/inset.h:
2577         * insets/insetbase.h:
2578         * insets/insetbibitem.C:
2579         * insets/insetbox.C:
2580         * insets/insetbranch.C:
2581         * insets/insetcaption.C:
2582         * insets/insetcharstyle.C:
2583         * insets/insetcharstyle.h:
2584         * insets/insetcollapsable.C:
2585         * insets/insetcollapsable.h:
2586         * insets/insetert.C:
2587         * insets/insetfloat.C:
2588         * insets/insetfoot.C:
2589         * insets/insetmarginal.C:
2590         * insets/insetnote.C:
2591         * insets/insetoptarg.C:
2592         * insets/insettabular.C:
2593         * insets/insettext.C:
2594         * insets/insettext.h:
2595         * insets/insetwrap.C:
2596         * mathed/math_mboxinset.C:
2597         * mathed/math_nestinset.C:
2598         * mathed/math_scriptinset.C:
2599         * mathed/math_scriptinset.h:
2600         * support/types.h:
2601
2602 2004-03-24  Angus Leeming  <leeming@lyx.org>
2603
2604         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2605         deal with any child processes that have finished but are waiting to
2606         communicate this fact to the rest of LyX.
2607
2608 2004-03-24  Angus Leeming  <leeming@lyx.org>
2609
2610         64-bit compile fixes.
2611
2612         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2613         (c-tor): pass lyx::pos_types rather than ints.
2614
2615         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2616         lyx::pos_type.
2617
2618         * text.C (Delete): compile fix.
2619         (getPar): ensure that function declaration is the same as that in
2620         the header file.
2621
2622 2004-03-23  Angus Leeming  <leeming@lyx.org>
2623
2624         * ispell.C (LaunchIspell):
2625         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2626         a boost::shred_ptr rather than a std::auto_ptr.
2627
2628 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2629
2630         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2631         handle LFUN_FILE_INSERT_*
2632
2633         * lyxrc.C (setDefaults, getDescription, output, read):
2634         * lyxrc.h: remove ps_command
2635
2636 2004-03-22  Angus Leeming  <leeming@lyx.org>
2637
2638         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2639         Ensure that error_handler is processed once only and that all data
2640         is saved before attempting to output any warning messages.
2641
2642         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2643
2644 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2645
2646         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2647
2648 2004-03-19  André Pönitz  <poenitz@gmx.net>
2649
2650         * cursor.[Ch] (reset): take main text inset as argument
2651
2652         * BufferView: adjust
2653         * BufferView_pimpl.C: adjust
2654
2655         * paragraph.[Ch]: fix completely broken operator=()
2656
2657 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2658
2659         * LColor.C (getFromLyXName): make sure that the color name is used
2660         as lowercase.
2661
2662 2004-03-17  Angus Leeming  <leeming@lyx.org>
2663
2664         * lfuns.h:
2665         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2666
2667         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2668         dialog and to kill a forked process.
2669
2670 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2671
2672         * text2.C (setCursorFromCoordinates): fix font problem
2673
2674 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2675
2676         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2677         bogus "rebuild cursor" code
2678
2679 2004-03-11  André Pönitz  <poenitz@gmx.net>
2680
2681         * buffer.[Ch]: use InsetText instead of LyXText as container for
2682         the main lyx text.
2683
2684         * dociterator.[Ch]: drop the BufferView * member which is not needed
2685         anymore after the change to buffer.C
2686
2687         * paragraph_funcs.C:
2688         * text.C:
2689         * text2.C:
2690         * BufferView.[Ch]:
2691         * BufferView_pimpl.[Ch]:
2692         * cursor.[Ch]:
2693         * cursor_slice.[Ch]: adjust
2694
2695         * text3.C: fix bug in mathDispatch
2696
2697 2004-03-08  André Pönitz  <poenitz@gmx.net>
2698
2699         * undo.[Ch]: use 'StableDocumentIterator' as base for
2700         the Undo struct.
2701
2702 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2703
2704         * LaTeXFeatures.C:
2705         * bufferparams.[Ch]: add jurabib support and param.
2706
2707         * LaTeX.C: add FIXME/comment.
2708
2709 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2710
2711         * buffer.C: increment file format to 230.
2712
2713 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2714
2715         * cursor.C (dispatch): avoid infinite loops
2716
2717 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2718
2719         * rowpainter.C (paintSelection): fix x coordinates
2720
2721 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2722
2723         * text.C (rowBreakPoint): fix breaking before displayed insets
2724
2725 2004-03-01  André Pönitz  <poenitz@gmx.net>
2726
2727         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2728
2729         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2730
2731         * Makefile.am:
2732         * BufferView.C:
2733         * BufferView_pimpl.C:
2734         * buffer.C:
2735         * lyxfind.C:
2736         * lyxfunc.C:
2737         * text.C:
2738         * text2.C:
2739         * text3.C: adjust
2740
2741 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2742
2743         * lyxtext.h:
2744         * text.C:
2745         * text2.C:
2746         * rowpainter.C:
2747         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2748         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2749
2750 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2751
2752         * Bidi.[Ch] (computeTables): const correctness
2753         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2754         fill_hfill, fill_label_hfill and x from Row
2755         * lyxtext.h: prepareToPrint returns a RowMetrics
2756         * rowPainter.C: adjust
2757         * text.C (prepareToPrint): use width, not textWidth. adjust
2758         (redoParagraphInternal, cursorX): adjust
2759         * text2.C (getColumnNearX): adjust
2760         (init): put a default value to the top LyXText::width
2761
2762 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2763
2764         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2765
2766 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2767
2768         * lyxtext.h: add FontIterator class
2769
2770         * text.C (FontIterator, operator*, operator->, operator++): add
2771         (rowBreakPoint, setRowWidth): adjust (fixing a
2772         rebreaking bug)
2773
2774 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2775
2776         * BufferView_pimpl.C (workAreaDispatch): allow also
2777         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2778
2779 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2780
2781         * text.C (rowBreakPoint): fix a bug showing with very large insets
2782
2783 2004-02-25  André Pönitz  <poenitz@gmx.net>
2784
2785         * text3.C:
2786         * cursor.[Ch]: move some mathed specific code to mathed
2787
2788 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2789
2790         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2791         use_tempdir in preferences
2792         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2793         tempfile creation
2794         * lyx_main.C: ensure that tempdir is valid
2795         * lyxlex.h: correct typo
2796         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2797         * paragraph.[Ch] (isMultiLingual): make const
2798         * cursor.[Ch] (openable): make const
2799
2800 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2801
2802         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2803
2804 2004-02-20  André Pönitz  <poenitz@gmx.net>
2805
2806         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2807
2808         * cursor.[Ch]: prepare for localized getStatus()
2809
2810         * lyxtext.h:
2811         * tabular.C:
2812         * text.C:
2813         * text2.C:
2814         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2815
2816 2004-02-20  André Pönitz  <poenitz@gmx.net>
2817
2818         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2819
2820 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2821
2822         * text2.C (setCursorFromCoordinates): switch to absolute coords
2823         (cursorUp): adjust
2824         (cursorDown): adjust
2825         * text3.C (dispatch): adjust
2826
2827 2004-02-16  André Pönitz  <poenitz@gmx.net>
2828
2829         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2830           insets/ChangeLog)
2831
2832         * cursor_slice.[Ch]: remove unneeded acessor function
2833
2834         * lyxtext.h: rename rtl() to isRTL()
2835
2836         * rowpainter.C:
2837         * tabular.C:
2838         * text.C:
2839         * text2.C:
2840         * text3.C: adjust
2841
2842 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2843
2844         * rowpainter.C (paintSelection): coord fix
2845
2846 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2847
2848         * Spacing.C: compile fix
2849
2850 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2851
2852         * cursor.C (dispatch): restore current_ before returning
2853
2854 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2855
2856         * text2.C (cursorUp, cursorDown): fix coords
2857         (moveUp): fix crash
2858
2859 2004-02-12  André Pönitz  <poenitz@gmx.net>
2860
2861         * lyxtext.h:
2862         * text.C:
2863         * text2.C:
2864         * text3.C: add LCursor & parameter to most cursor movement functions
2865           remove usage of LyXText::cursorRow() and cursorPar()
2866
2867         * cursor.[Ch]: add textRow() needed members
2868
2869         * BufferView.C:
2870         * BufferView_pimpl.C:
2871         * paragraph.[Ch]:
2872         * BufferView.C:
2873         * BufferView_pimpl.C: adjust
2874
2875 2004-02-11  André Pönitz  <poenitz@gmx.net>
2876
2877         * lyxfunc.C:
2878         * BufferView.[Ch]:
2879         * BufferView_pimpl.C: shift undo/redo handling
2880
2881         * cursor.[Ch]: fix mathed crash
2882
2883         * lyxfind.C:
2884         * lyxtext.h: move selectionAsText to LCursor
2885
2886         * output_latex.C:
2887         * paragraph.C:
2888         * text.C:
2889         * text2.C:
2890         * text3.C: adjust
2891
2892         * rowpainter.C: fix excessive drawing
2893
2894 2004-02-06  André Pönitz  <poenitz@gmx.net>
2895
2896         * BufferView.[Ch]:
2897         * BufferView_pimpl.[Ch]:
2898         * text3.C: move some text specific LFUN handling
2899
2900 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2901
2902         * text3.C (checkInsetHit): adjust coords
2903         * text2.C (getColumnNearX): adjust coords
2904         (edit): adjust coords
2905         * text.C (getRowNearY): add two asserts
2906
2907 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2908
2909         * converter.C:
2910         * format.C: add using std::distance to compile on gcc 2.95/stlport
2911
2912 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2913
2914         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2915
2916 2004-02-04  André Pönitz  <poenitz@gmx.net>
2917
2918         * BufferView.[Ch] (insertInset):
2919         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2920
2921         * text2.C:
2922         * text3.C: adjust
2923
2924 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2925
2926         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2927         on the default clause of the switch
2928         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2929         wasn't catched by LCursor::dispatch
2930
2931 2004-02-03  André Pönitz  <poenitz@gmx.net>
2932
2933         * BufferView.C:
2934         * cursor.[Ch]: some additional asserts
2935
2936         * undo.[Ch]: remove LyXText dependency in interface
2937
2938         * lyxfunc.C: adjust
2939
2940         * lyxtext.h (firstPar, lastPar): remove dead functions
2941
2942         * text.C:
2943         * text2.C:
2944         * text3.C:
2945         * paragraph.[Ch]: adjust
2946
2947 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2948
2949         * lyxfind.C (find): fix argument order in call to ::find
2950
2951 2004-02-02  André Pönitz  <poenitz@gmx.net>
2952
2953         * cursor.[Ch]: remove direct access to anchor
2954
2955         * text.C: remove findText() hack
2956
2957 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2958
2959         * iterators.[Ch] (lockPath): remove in favour of...
2960         * BufferView.[Ch] (setCursor): this addition
2961         * BufferView.C (putSelectionAt): adjust
2962         * undo.C (performUndoOrRedo): adjust
2963         * lyxfunc.C (dispatch): adjust
2964
2965 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2966
2967         * iterators.C (lockPath): add a missing slice
2968         * undo.C (performUndoOrRedo): remove redundant positioning code
2969
2970 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2971
2972         * vc-backend.C (scanMaster): ";" -> ';'
2973
2974 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2975
2976         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2977         std::binary_function
2978
2979         * lyxtextclass.C (compare_name): rename to...
2980         (LayoutNamesEqual): ...this
2981
2982         * lyxlex_pimpl.C (compare_tags): inherit from
2983         std::binary_function, put back into anon namespace
2984
2985         * lyxfind.C (MatchString): inherig from std::binary_function
2986         (findChange): use empty() istead of !size()
2987
2988         * format.C (FormatNamesEqual): new functor
2989         (getFormat): use it
2990         (getNumber): use it
2991         (add): use it
2992         (erase): use it
2993         (setViewer): use it
2994
2995         * converter.C (compare_Converter): rename to...
2996         (ConverterEqual): ...this, and fixup a bit.
2997         (getConverter): use it, and make function const
2998         (getNumber): use it, and make function const
2999         (add): use it
3000         (erase): use it:
3001
3002         * bufferlist.C: add using boost::bind
3003
3004         * MenuBackend.C (MenuNamesEqual): new functor
3005         (hasMenu): use it, and make function const
3006         (hasSubmenu): use nested bind to get rid of compare_memfun.
3007
3008 2004-01-30  André Pönitz  <poenitz@gmx.net>
3009
3010         * BufferView_pimpl.C:
3011         * cursor.C:
3012         * cursor.h:
3013         * cursor_slice.[Ch]:
3014         * lyxfunc.C:
3015         * lyxtext.h:
3016         * paragraph_funcs.C:
3017         * paragraph_funcs.h:
3018         * rowpainter.C:
3019         * text.C:
3020         * text2.C:
3021         * text3.C: move some of the edit(x,y) handling to the insets
3022         some coordinate changes.
3023
3024 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3025
3026         * text.C: add using statements for std::advance and std::distance
3027
3028         * paragraph.C: add using statement for std::distance
3029
3030         * lyxfind.C: add using statement for std::advance
3031
3032         * cursor.C (region): remove std:: from swap
3033         (openable): use nucleus in stead of operator->
3034
3035         * BufferView.C: add using statements for std::distance and std::swap
3036
3037 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3038
3039         * iterators.C: Remove the pimple, move the needed structures to
3040         the header file. Create accessor for the positions stack.
3041         (asPosIterator): remove function
3042
3043         * PosIterator.C (PosIterator): move constructors to top of file
3044         (PosIterator): reimplement the constructor taking a ParIterator in
3045         terms of setFrom.
3046         (setFrom): new function
3047         (operator!=): inline it
3048
3049 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3050
3051         * lyxfind.C (replaceAll): use std::advance
3052
3053         * iterators.h: inherit from std::iterator.
3054
3055         * PosIterator.C (advance, distance): remove
3056         * PosIterator.h: interit from std::iterator.
3057
3058 2004-01-26  André Pönitz  <poenitz@gmx.net>
3059
3060         * BufferView.[Ch]:
3061         * BufferView_pimpl.[Ch]:
3062         * InsetList.[Ch]:
3063         * PosIterator.[Ch]:
3064         * buffer.h:
3065         * bufferview_funcs.C:
3066         * cursor.[Ch]:
3067         * cursor_slice.h:
3068         * factory.[Ch]:
3069         * iterators.[Ch]:
3070         * lyxfind.C:
3071         * lyxfunc.C:
3072         * lyxtext.h:
3073         * output_docbook.C:
3074         * output_latex.C:
3075         * output_linuxdoc.C:
3076         * output_plaintext.C:
3077         * paragraph.[Ch]:
3078         * paragraph_funcs.[Ch]:
3079         * paragraph_pimpl.[Ch]:
3080         * rowpainter.C:
3081         * tabular.C:
3082         * tabular.h:
3083         * text.C:
3084         * text2.C:
3085         * text3.C: more IU:  dumps most of the rest of the mathcursor
3086     implementation into cursor.[Ch]; "globalize" a bit of it.
3087
3088 2004-01-25  Angus Leeming  <leeming@lyx.org>
3089
3090         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3091
3092 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3093
3094         * LaTeXFeatures.h: add nice_ and nice() const
3095         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3096
3097 2004-01-20  André Pönitz  <poenitz@gmx.net>
3098
3099         * BufferView.[Ch]:
3100         * BufferView_pimpl.C:
3101         * PosIterator.C:
3102         * bufferview_funcs.C:
3103         * cursor.[Ch]:
3104         * cursor_slice.[Ch]:
3105         * factory.C:
3106         * iterators.C:
3107         * lyx_cb.C:
3108         * lyxfind.C:
3109         * lyxfunc.C:
3110         * lyxtext.h:
3111         * rowpainter.C:
3112         * text.C:
3113         * text2.C:
3114         * text3.C:
3115         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3116           LCursor and mathcursor parts to LCursor and InsetBase.
3117
3118 2004-01-15  André Pönitz  <poenitz@gmx.net>
3119
3120         * cursor_slice.[Ch]: add a few covienience functions
3121
3122         * funcrequest.[Ch]: remove BufferView * member
3123
3124         * BufferView_pimpl.C:
3125         * cursor.C:
3126         * factory.[Ch]:
3127         * lyxfind.[Ch]:
3128         * lyxfunc.C:
3129         * lyxtext.h:
3130         * text3.C:
3131         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3132
3133 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3134
3135         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3136         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3137
3138 2004-01-13  André Pönitz  <poenitz@gmx.net>
3139
3140         * textcursor.[Ch]:
3141         * lyxtext.h: hide cursor and selection anchor behind accessor function
3142
3143         * BufferView.C:
3144         * BufferView_pimpl.[Ch]:
3145         * PosIterator.C:
3146         * bufferview_funcs.C:
3147         * cursor.h:
3148         * lyxfind.C:
3149         * lyxfunc.C:
3150         * text.C:
3151         * text2.C:
3152         * text3.C:
3153         * undo.C: adjust
3154
3155         * cursor.h:
3156         * cursor_slice.[Ch]: some integer type changes for inset unification
3157
3158         * lyxcursor.[hC]: remove, it's CursorSlice now.
3159
3160         * Makefile.am:
3161         * BufferView_pimpl.[Ch]:
3162         * bufferview_funcs.C:
3163         * cursor_slice.C:
3164         * lyxtext.h:
3165         * text.C:
3166         * text2.C:
3167         * text3.C:
3168         * textcursor.[Ch]: adjust
3169
3170 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3171
3172         * text2.C (undoSpan): add and use
3173         * text.C (breakParagraph): use undoSpan (fix bug 578)
3174         * lyxtext.h: adjust
3175
3176 2004-01-08  Angus Leeming  <leeming@lyx.org>
3177
3178         * BufferView_pimpl.C (MenuInsertLyXFile):
3179         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3180         * lyxfunc.C (menuNew, open, doImport):
3181         FileFilterList change to the FileDialog open and save functions.
3182
3183 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3184
3185         * ShareContainer.h: make isEqual and isUnique adaptable
3186
3187         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3188
3189 2004-01-07  Angus Leeming  <leeming@lyx.org>
3190
3191         * LyXAction.C:
3192         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3193
3194         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3195
3196         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3197         functions replacing find, replace and replaceAll.
3198
3199         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3200         LFUN_WORDFIND(FORWARD|BACKWARD).
3201
3202 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3203
3204         * text.C (breakParagraph): remove an outdated #warning
3205
3206 2004-01-07  André Pönitz  <poenitz@gmx.net>
3207
3208         * lyxfind.C: somewhat clearer logic
3209
3210         * text.C: prevent crash in cursorX on unitialized row cache
3211
3212 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3213
3214         * lyxcursor.[Ch] (operator>): add
3215         * textcursor.C (selStart, selEnd): use std::min and std::max
3216
3217 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3218
3219         * Chktex.C: include boost/format.hpp
3220
3221 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3222
3223         * InsetList.C: replace functor MathcIt with adaptable functor
3224         InsetTablePosLess
3225         (insetIterator): modify accordingly
3226
3227         * BranchList.h: move the BranchNamesEqual functor here from...
3228         * BranchList.C: ... to here
3229
3230         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3231         SameName and match.
3232         (add): replace a finding loop with std::find_if.
3233
3234 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3235
3236         * output_docbook.C: moving LatexParam functionality into
3237         .layout files
3238
3239 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3240
3241         * buffer.C: increment format to 229.
3242
3243 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3244
3245         * LaTeXFeatures.C:
3246         * lyx_sty.[Ch]: remove minipageindent_def
3247
3248         * LyXAction.C:
3249         * factory.C:
3250         * lfuns.h:
3251         * lyxfunc.C:
3252         * text3.C: remove LFUN_INSET_MINIPAGE
3253
3254 2003-12-28  Angus Leeming  <leeming@lyx.org>
3255
3256         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3257
3258 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3259
3260         * text2.C (setParagraph): fix off-by-one crash
3261
3262 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3263
3264         * output_docbook.C: header stuff for AGU
3265
3266 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3267
3268         * text2.C (redoCursor): remove
3269         * text.C:
3270         * text3.C:
3271         * BufferView_pimpl.C: remove calls to redoCursor and
3272         setCursor(cursor.par(), cursor.pos()) all around
3273
3274 2003-12-15  Angus Leeming  <leeming@lyx.org>
3275
3276         * buffer.C: up the format to 228.
3277
3278 2003-12-15  André Pönitz  <poenitz@gmx.net>
3279
3280         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3281         slices
3282
3283         * Makefile.am:
3284
3285         * BufferView_pimpl.C:
3286         * cursor.[Ch]:
3287         * lyxcursor.[Ch]:
3288         * rowpainter.[Ch]:
3289         * lyxtext.h:
3290         * text.C:
3291         * text2.C:
3292         * text3.C: adjust
3293
3294 2003-12-15  Angus Leeming  <leeming@lyx.org>
3295
3296         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3297         than getFromGUIName to manipulate the color.
3298
3299 2003-12-14  Angus Leeming  <leeming@lyx.org>
3300
3301         * BranchList.[Ch]: minimize the API.
3302         (Branch::getBranch, getColor): now return a 'const &'.
3303         (Branch::setSelected) now returns a bool set to true if the
3304         selection status changes.
3305         (BranchList::clear, size, getColor, setColor, setSelected,
3306         allBranches, allSelected, separator): removed.
3307         (BranchList::find): new functions, returning the Branch with
3308         the given name.
3309         (BranchList::add, remove): return a bool indicating that
3310         the operation was successful.
3311
3312         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3313         new InsetBranch::isBranchSlected member function.
3314
3315         * LColor.[Ch]: mimimize the API.
3316         (fill): renamed as addColor and made private.
3317         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3318         versions of these functions taking a string arg have been removed.
3319
3320         * bufferparams.C (readToken):
3321         * lyxfunc.C (dispatch):
3322         * lyxrc.C (read): changes due to the altered BranchList and
3323         LColor APIs.
3324
3325         * factory.C (createInset, readInset): changes due to altered
3326         InsetBranch c-tor.
3327
3328 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3329
3330         * factory.C:
3331         * lyxfunc.C: remove insetminipage. "minipage-insert"
3332         now produces a frameless minipage box inset.
3333
3334 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3335
3336         * textcursor.[Ch] (selStart,selEnd): add new methods
3337         remove selection::start, end, use LyXCursor::operator<
3338         * lyxcursor.[Ch] (operator<): add
3339         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3340         * BufferView.[Ch] (unsetXSel): add
3341         * text2.C (clearSelection): use unsetXSel,adjust
3342         * text.C: adjust
3343         * text3.C: adjust
3344         * rowpainter.C: adjust
3345         * bufferview_funcs.C (put_selection_at): adjust
3346
3347 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3348
3349         * BufferView_pimpl.C: small coord. correction
3350
3351 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3352
3353         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3354         dragging over the splash screen.
3355
3356 2003-12-11  Angus Leeming  <leeming@lyx.org>
3357
3358         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3359         as it is now handled in LyXText::dispatch.
3360
3361         * text3.C (doInsertInset): remove a level of nesting.
3362
3363 2003-12-11  Angus Leeming  <leeming@lyx.org>
3364
3365         * factory.C (createInset): changes due to the changed interface to
3366         InsetCommandMailer::string2params.
3367
3368 2003-12-10  Angus Leeming  <leeming@lyx.org>
3369
3370         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3371         'dialog-show-new-inset <inset name>'
3372
3373 2003-12-10  Angus Leeming  <leeming@lyx.org>
3374
3375         * buffer.C: up the format to 227.
3376
3377         * factory.C: the box inset is now identified simply by 'Box'.
3378
3379 2003-12-10  Angus Leeming  <leeming@lyx.org>
3380
3381         * buffer.C: up the format to 226.
3382
3383         * factory.C: the note inset is now identified simply by 'Note'.
3384
3385 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3386
3387         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3388         when a pit is enough. Standarize a couple of loops.
3389
3390 2003-12-05  Angus Leeming  <leeming@lyx.org>
3391
3392         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3393         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3394         data to the re-worked "log" dialog.
3395
3396 2003-12-03  André Pönitz  <poenitz@gmx.net>
3397
3398         * PosIterator.C:
3399         * iterators.C:
3400         * lyxtext.h:
3401         * output_latex.C:
3402         * paragraph_funcs.C:
3403         * text.C:
3404         * text2.C: use Inset::getText instead of Inset::getParagraph
3405
3406 2003-12-03  André Pönitz  <poenitz@gmx.net>
3407
3408         * buffer.[Ch]:
3409         * lyxtext.h:
3410         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3411         InsetText::read() as LyXText::read()
3412
3413 2003-12-02  Angus Leeming  <leeming@lyx.org>
3414
3415         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3416         type. Add a comment in the implementation that the function uses
3417         the stream's bad() function rather than fail() as the std::streams
3418         would do.
3419
3420 2003-12-02  André Pönitz  <poenitz@gmx.net>
3421
3422         * lyxlex.[Ch]: make interface more similar to std::stream
3423
3424         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3425
3426 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3427
3428         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3429
3430 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3431
3432         * vspace.[Ch]: remove VSpace::NONE
3433
3434 2003-12-01  André Pönitz  <poenitz@gmx.net>
3435
3436         * buffer.[Ch]:
3437         * lyxtext.h: move ParagraphList member to LyXText
3438         rename LyXText::ownerParagraphs to LyXText::paragraph
3439
3440         * CutAndPaste.C:
3441         * bufferview_funcs.C:
3442         * iterators.[Ch]:
3443         * lyx_cb.C:
3444         * paragraph.C:
3445         * rowpainter.C:
3446         * tabular.C:
3447         * text.C:
3448         * text2.C:
3449         * text3.C: adjust
3450
3451         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3452
3453         * undo.C: fix cursor positioning
3454
3455 2003-12-01  John Levon  <levon@movementarian.org>
3456
3457         * BufferView_pimpl.C: fix a crash on exit with
3458         a buffer open
3459
3460 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3461
3462         * BranchList.C: fix setSelected() method.
3463
3464 2003-11-28  André Pönitz  <poenitz@gmx.net>
3465
3466         * ParagraphParameters.[Ch]:
3467         * ParameterStruct.h: remove space above/below from Paragraph to
3468          InsetVSpace
3469
3470         * BufferView_pimpl.C:
3471         * factory.C:
3472         * lyxfunc.C:
3473         * lyxtext.h:
3474         * output_latex.C:
3475         * paragraph.C:
3476         * paragraph_funcs.C:
3477         * rowpainter.[Ch]:
3478         * text.C:
3479         * text2.C:
3480         * text3.C: adjust
3481
3482 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3483
3484         * factory.C: Syntax change for CharStyles
3485
3486 2003-11-28  André Pönitz  <poenitz@gmx.net>
3487
3488         * BufferView.[Ch]:
3489         * BufferView.[Ch]:
3490         * buffer.[Ch]:
3491         * buffer.[Ch]: move LyXText member
3492
3493 2003-11-28  André Pönitz  <poenitz@gmx.net>
3494
3495         * BufferView.[Ch]: make LyXText * text a private member
3496
3497         * BufferView_pimpl.C:
3498         * cursor.C:
3499         * iterators.C:
3500         * lyx_cb.C:
3501         * lyxfind.C:
3502         * lyxtext.h:
3503         * rowpainter.[Ch]:
3504         * text.C:
3505         * text2.C:
3506         * undo.C: adjust
3507
3508         * output_plaintext.C: cleanup
3509
3510 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3511
3512         * buffer.C:
3513         * lyxtextclass.[Ch]: parametrize SGML document header
3514
3515 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3516
3517         * converter.[Ch]:
3518         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3519         getFlavor().
3520
3521 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3522
3523         * text2.C (setFont): rework using PosIterator (no more recursive)
3524         (setCharFont): no more needed
3525         (setLayout): no more selection cursors fiddling (done by redoCursor)
3526         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3527         destroy remaining ones)
3528
3529 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3530
3531         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3532         * lyxtext.h: ditto
3533         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3534         selection cursors
3535         * lyxfunc.C: adjust
3536         * text3.C: adjust + re-allow multi par depth changes
3537         * textcursor.C: simplify a bit
3538
3539 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3540
3541         * src/buffer.C:
3542         * src/lyxlayout.C:
3543         * src/lyxlayout.h:
3544         * src/lyxtext.h:
3545         * src/output_docbook.C:
3546         * src/output_latex.C:
3547         * src/paragraph.C:
3548         * src/paragraph.h:
3549         * src/sgml.C:
3550         * src/sgml.h:
3551         * src/text2.C: Introducing a number of tags parametrizing various
3552         XML formats that we may want to support
3553
3554 2003-11-25  André Pönitz  <poenitz@gmx.net>
3555
3556         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3557
3558         * lyxtext.h (leftMargin/rightMargin): simplify interface
3559
3560         * rowpainter.C:
3561         * text.C:
3562         * text2.C:
3563         * text3.C: adjust
3564
3565 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3566
3567         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3568         master file to any child files. Fixes bug 546.
3569
3570 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3571
3572         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3573
3574 2003-11-24  André Pönitz  <poenitz@gmx.net>
3575
3576         * rowpainter.C: simplification
3577
3578         * text2.C (updateCounters): remove call to redoParagraph on
3579         changed labels as this is far too expensive.
3580
3581 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3582
3583         * converter.C (convert): fix a crash: this function gets
3584         called with buffer == 0 from importer code.
3585
3586 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3587
3588         * text3.C (cursorPrevious): make sure that we do not compare
3589         iterators form different containers.
3590         (cursorNext): ditto
3591
3592         * rowpainter.C (paintSelection): make sure that we do not compare
3593         iterators from different containers.
3594
3595         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3596         iterators from different ParagraphList containers.
3597         [NEXT] ditto
3598
3599         * text2.C (LyXText): change order of initialization slightly
3600         (operator=): new function. copy all variables except cache_par_
3601         (moveUp): make sure that we do not compare iterators from
3602         different ParagraphList constainers.
3603         (moveDown): ditto
3604
3605         * text.C (firstPar): new function
3606         (lastPar): new function
3607         (endPar): new function
3608
3609         * lyxtext.h: move things around and group public functions, public
3610         variables, private functions, private variables
3611
3612 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3613
3614         * factory.C: change call to InsetERT constructor to avoid
3615         additional invocation of method status
3616         * text2.C (toggleInset): remove redundant update() call
3617         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3618         instead of a Bufferview pointer
3619
3620 2003-11-21  André Pönitz  <poenitz@gmx.net>
3621
3622         * rowpainter.C: simplification
3623
3624 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3625
3626         * text3.C (dispatch): make possible to extend a word/row selection
3627         with the mouse
3628
3629 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3630
3631         * lyxtext.h: x0_,y0_ -> xo_,yo_
3632         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3633         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3634         * rowpainter.C (paintRows): paint full paragraphs
3635
3636 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3637
3638         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3639         screen coordinates)
3640
3641 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3642
3643         * lyxtext.h: add x0_, y0_
3644         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3645         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3646
3647 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3648
3649         * text2.C (setCursorIntern): move the x_target update here *
3650         * text3.C: change some bv() to true/false in calls to
3651         cursorUp/Down/Right/Left
3652         * cursor.C: use helper function.
3653
3654 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3655
3656         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3657         * paragraph_funcs.[Ch]: correct comment
3658         * rowpainter.C: do not paint selections away from bv->cursor()
3659         Fix a long standing selection painting bug.
3660         * text3.C: generalize mouse-selection code to LyXTexts other that
3661         top one
3662         * textcursor.C: do not use y coords if we can use par offsets
3663
3664 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3665
3666         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3667         cursor position after e.g. inset insert)
3668
3669 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3670
3671         * lyxfind.C (replace): adjust to locking removal + some
3672         code simplification
3673
3674 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3675
3676         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3677         of the path
3678
3679 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3680
3681         * lyxlayout.[Ch]:
3682         * output_docbook.C: XML sanitation: new layout
3683         parameters InnerTag and CommandDepth
3684
3685 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3686
3687         * BufferView_pimpl.C:
3688         * factory.C:
3689         * text3.C: Fix the insertion and modification of button-style
3690         insets
3691
3692 2003-11-13  André Pönitz  <poenitz@gmx.net>
3693
3694         * InsetList.[Ch]: remove deleteLyXText
3695
3696         * paragraph.[Ch]: cache beginOfBody position
3697
3698         * Bidi.C:
3699         * text.C:
3700         * text2.C:
3701         * text3.C: remove superfluous update() calls
3702
3703         * vspace.C: cleanup
3704
3705 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3706
3707         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3708         * BufferView.C (fitLockedInsetCursor): remove
3709         * cursor.[Ch] (getDim): add
3710         * text.C (getRowNearY): add faster version
3711         * text3.C: remove some update calls
3712
3713 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3714
3715         * LaTeXFeatures.C:
3716         * LyXAction.C:
3717         * MenuBackend.C:
3718         * MenuBackend.h:
3719         * dispatchresult.h:
3720         * factory.C:
3721         * lfuns.h:
3722         * lyxfunc.C:
3723         * lyxtextclass.C:
3724         * lyxtextclass.h:
3725         * text3.C: The Character Style /XML short element patch.
3726
3727 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3728
3729         * text3.C:
3730         * factory.C: Small step to solving 'unable to insert some insets'
3731         problem
3732
3733 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3734
3735         * cursor.[Ch] (updatePos): new function for updating the y
3736         position of the tip inset
3737         * bufferview_funcs.C (put_selection_at):
3738         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3739
3740 2003-11-11  André Pönitz  <poenitz@gmx.net>
3741
3742         * text.C: remove big comment on invalid Paragraph pointers as it is
3743         not valid anymore
3744
3745 2003-11-11  André Pönitz  <poenitz@gmx.net>
3746
3747         * text_funcs.[Ch]: merge with ...
3748
3749         * text.C: ... this
3750
3751         * lyxtext.h:
3752         * text2.C:
3753         * text3.C: adjust
3754
3755         * Makefile.am: remove text_funcs.[Ch]
3756
3757 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3758
3759         * cursor.C (getPos): return absolute cached y coord
3760
3761         * BufferView_pimpl.C (fitCursor): new simplistic code
3762         (workAreaDispatch): add a fitCursor call
3763
3764 2003-11-10  André Pönitz  <poenitz@gmx.net>
3765
3766         * BufferView.[Ch]:
3767         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3768
3769 2003-11-10  André Pönitz  <poenitz@gmx.net>
3770
3771         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3772         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3773         indicate that the cursor needs to leave an inset
3774
3775         * lyxtext.h: remove inset locking
3776
3777         * cursor.[Ch]: re-implement functionality provided by inset locking
3778
3779         * BufferView.[Ch]:
3780         * BufferView_pimpl.[Ch]:
3781         * LyXAction.C:
3782         * bufferview_funcs.[Ch]:
3783         * factory.C:
3784         * funcrequest.[Ch]:
3785         * iterators.C:
3786         * lyx_cb.C:
3787         * lyxfind.C:
3788         * lyxfunc.C:
3789         * text.C:
3790         * text2.C:
3791         * text3.C:
3792         * undo.C: adjust
3793
3794 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3795
3796         * PosIterator.[Ch]: replace the stack with a vector, add inset
3797         accesor
3798         * iterators.[C]: adjust
3799
3800 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3801
3802         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3803         replaced
3804         * paragraph_funcs.C (readParToken): put the correct id in the
3805         error item, not the id of the top paragraph
3806
3807 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3808
3809         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3810         * bufferview_funcs.C (put_selection_at): use the above
3811
3812 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3813
3814         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3815
3816 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3817
3818         * output_linuxdoc.h:
3819         * output_plaintext.h:
3820         * output.h:
3821         * output_docbook.h: add #include statements
3822
3823 2003-11-05  José Matos  <jamatos@lyx.org>
3824
3825         * output_docbook.[Ch]:
3826         * output_latex.[Ch]:
3827         * output_linuxdoc.[Ch]:
3828         * output_plaintext.[Ch]: New files for output formats.
3829         * output.[Ch]: New file for helper functions.
3830
3831         * buffer.[Ch]:
3832         * paragraph_funcs.[Ch]: output functions moved to new files.
3833
3834         * outputparams.h: rename of latexrunparams.h
3835
3836         * LaTeX.[Ch]:
3837         * buffer.[Ch]:
3838         * bufferlist.[Ch]:
3839         * converter.[Ch]:
3840         * exporter.C:
3841         * paragraph.[Ch]:
3842         * paragraph_funcs.[Ch]:
3843         * paragraph_pimpl.[Ch]:
3844         * tabular.[Ch]: rename ascii to plaintext
3845         and LatexRunParams to OutputParams.
3846
3847 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3848
3849         * iterators.[Ch] (text): require bv argument
3850         * undo.C (recordUndo):
3851         * lyxfunc.C (dispatch):
3852         * bufferview_funcs.C (put_selection_at): adjust
3853
3854 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3855
3856         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3857
3858 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3859
3860         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3861         nestings
3862
3863 2003-11-04  André Pönitz  <poenitz@gmx.net>
3864
3865         * cursor.[Ch]: restructure
3866
3867         * BufferView.[Ch]:
3868         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3869
3870         * iterators.[Ch] (asCursor): remove
3871
3872         * lfuns.h: remove LFUN_INSET_EDIT
3873
3874         * lyxfunc.C:
3875         * tabular.C:
3876         * text.C:
3877         * text2.C:
3878         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3879
3880 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3881
3882         * lyxfind.[Ch]: complete overhaul
3883         * BufferView_pimpl.C:
3884         * lyxfunc.C: adjust
3885         * paragraph.[Ch] (insert): add
3886
3887 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3888
3889         * BufferView.[Ch]:
3890         * lyxtext.h:
3891         * text.C: remove dead spellcheck code
3892
3893 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3894
3895         * dispatchresult.h: add a val setter
3896
3897         * cursor.C (dispatch): use a tempvar for data_[i]
3898
3899 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3900
3901         * PosIterator.[Ch]: compile fix
3902
3903 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3904
3905         * text.C (cursorPar): deactivate the cursor cache
3906
3907 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3908
3909         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3910
3911 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3912
3913         * text3.C (dispatch): adjust for new DisptchResult semantics.
3914
3915         * lyxfunc.C (dispatch): handle update when return from
3916         Cursor::dispatch, adjust for new DispatchResult semantics.
3917
3918         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3919         DispatchResult(true) mean to not update. Add class functions for
3920         setting dispatched and update, as well as reading.
3921
3922         * cursor.C (dispatch): don't handle update here
3923
3924 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3925
3926         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3927         * trans_mgr.C: adjust
3928
3929         * paragraph_funcs.C (readParToken): exception safety
3930
3931         * lyxvc.h: store the vcs pointer in a scoped_ptr
3932         * lyxvc.C: adjust
3933
3934         * lyxsocket.C (serverCallback): exception safety
3935
3936         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3937
3938         * ispell.C (clone): make it return a auto_ptr
3939
3940         * factory.C (createInset): exception safety
3941         (readInset): exception safety
3942
3943         * bufferlist.C (newBuffer): exception safety
3944
3945         * Thesaurus.C (Thesaurus): use initialization for aik_
3946
3947         * MenuBackend.C (expandToc): exception safety.
3948
3949 2003-11-03  André Pönitz  <poenitz@gmx.net>
3950
3951         * buffer.C:
3952         * buffer.h:
3953         * bufferview_funcs.C: remove getInsetFromId()
3954
3955         * lyxcursor.[Ch]:
3956         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3957
3958         * lyxfunc.C:
3959         * text2.C:
3960         * text3.C: adjust
3961
3962 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3963
3964         * PosIterator.C (distance, advance): new
3965         * bufferview_funcs.[Ch] (put_selection_at): new
3966         * iterators.[Ch] (lockPath): new
3967
3968 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3969
3970         * iterators.[Ch] (asPosIterator): added
3971         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3972         * PosIterator.[Ch]: added
3973
3974 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3975
3976         * text3.C:
3977         * lyxfunc.C:
3978         * cursor.C (dispatch):
3979         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3980
3981         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3982         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3983         contructor, add a class function dispatched. Remove operator>=
3984
3985 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3986
3987         * debug.C: only use the default constructor for debugstream
3988         (lyxerr) here.
3989
3990         * main.C (main): include debug.h and setup the lyxerr streambuf
3991         here.
3992
3993 2003-10-31  José Matos  <jamatos@lyx.org>
3994
3995         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3996
3997         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3998         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3999         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4000         * paragraph_pimpl.C (simpleTeXSpecialC):
4001         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4002         add LatexRunParams argument.
4003
4004         * exporter.C (Export): change call accordingly.
4005
4006         * latexrunparams.h: add new member to take care of the other backends.
4007 2003-10-30  José Matos  <jamatos@lyx.org>
4008
4009         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4010         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4011         factorise code for paragraph output.
4012         * buffer.[Ch]:
4013         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4014         move functions.
4015
4016 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4017
4018         * text3.C (dispatch):
4019         * lyxfunc.C (dispatch):
4020         * cursor.C (dispatch):
4021         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4022
4023         * dispatchresult.h: make the dispatch_result_t ctor explicit
4024
4025 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4026
4027         * sgml.[Ch]:
4028         * buffer.C: small refactoring of docbook stuff
4029
4030 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4031
4032         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4033         meaning.
4034
4035 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4036
4037         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4038         operator dispatch_result_t, and operators for == != and >=
4039
4040         * cursor.C (dispatch): adjust for operator dispatch_result_t
4041         removal. comment out call to update
4042
4043         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4044
4045 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4046
4047         * text3.C:
4048         * text2.C:
4049         * text.C:
4050         * lyxtext.h:
4051         * lyxfunc.C:
4052         * cursor.C:
4053         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4054         (dispatch):
4055
4056         * dispatchresult.h: new file, DispatchResult broken out of
4057         insets/insetbase.h
4058
4059         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4060
4061 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4062
4063         * text.C (rowBreakPoint): put a hack inside #if 0
4064
4065 2003-10-28  André Pönitz  <poenitz@gmx.net>
4066
4067         * lyxtext.h:
4068         * metricsinfo.C:
4069         * paragraph_funcs.C:
4070         * rowpainter.C:
4071         * text.C:
4072         * text2.C: general cleanup (lots of small stuff)
4073
4074 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4075
4076         * text2.C (cursorEnd): simple fix to the "end key goes to one
4077         before the end on last row" bug
4078
4079 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4080
4081         * text.C (backspace): fix the "zombie characters"
4082
4083 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4084
4085         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4086
4087 2003-10-27  André Pönitz  <poenitz@gmx.net>
4088
4089         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4090
4091         * factory.C: handle new InsetPagebreak, InsetLine
4092
4093         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4094         and move handling into new InsetPagebreak, InsetLine
4095
4096         * BufferView_pimpl.C:
4097         * LyXAction.C:
4098         * ParagraphParameters.C:
4099         * ParameterStruct.h:
4100         * lyxfunc.C:
4101         * lyxtext.h:
4102         * paragraph.C:
4103         * paragraph.h:
4104         * paragraph_funcs.C:
4105         * paragraph_pimpl.C:
4106         * rowpainter.C:
4107         * text.C:
4108         * text2.C:
4109         * text3.C: adjust
4110
4111 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4112
4113         * text.C:
4114         * lyxrow_funcs.[Ch]:
4115         * Bidi.C:
4116         * paragraph.C:
4117         * lyxtext.h:
4118         * rowpainter.C:
4119         * text2.C:
4120         * text3.C: remove lastPos uses in favour of Row::endpos
4121
4122 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4123
4124         * undo.C (performUndoOrRedo): fix two crashes by setting a
4125         cursor by hand and reordering some calls. Use bv->lockInset instead
4126         of inset->edit because the latter loses cursor information
4127
4128 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4129
4130         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4131         by Martin
4132         (rowBreakPoint): fix width. change point to point + 1.
4133         Add a missing check.
4134
4135 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4136
4137         * MenuBackend.C:
4138         * lyxfunc.C: fix (at least partly) the problems
4139         with the Nav menu and headers inside branch insets
4140         reported by Kayvan
4141
4142 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4143
4144         * paragraph.C (getChar): add strong asserts
4145
4146         * lyxrow_funcs.C (lastPos): remove hideous hack
4147
4148         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4149         (fill): adjust to that (avoid an infinite loop)
4150
4151 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4152
4153         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4154
4155 2003-10-23  André Pönitz  <poenitz@gmx.net>
4156
4157         * RowList_fwd.h: change list<> to vector<> to gain speed
4158         after suggestion from Alfredo
4159
4160 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4161
4162         * lyxtext.h: move the bidi stuff from here...
4163         * text.C: and here
4164         * text2.C: and here
4165         * Bidi.[Ch]: ... to here
4166
4167 2003-10-23  André Pönitz  <poenitz@gmx.net>
4168
4169         * lyxtext.h:
4170         * text.C (isLastRow, isFirstRow): new functions
4171
4172         * paragraph.h: new width cache member
4173
4174         * rowpainter.C: replace RowList::iterator with Row & where possible
4175
4176         * lyxfunc.C: replace several view()->text with a single call
4177
4178         * toc.C: fix 'unused' warning
4179
4180 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4181
4182         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4183         when woring with stream::pos_type
4184         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4185
4186 2003-10-22  André Pönitz  <poenitz@gmx.net>
4187
4188         * lyxtext.h:
4189         * text.C: use Row & instead of RowList::iterator
4190
4191         * lyxrow.h: rename end() to endpos()
4192
4193         * rowpainter.C:
4194         * text.C:
4195         * text2.C: adjust
4196
4197 2003-10-22  Angus Leeming  <leeming@lyx.org>
4198
4199         * buffer.[Ch] (fully_loaded): new member function, returning true
4200         only when the file has been loaded fully.
4201         Used to prevent the premature generation of previews and by the
4202         citation inset to prevent computation of the natbib-style label.
4203
4204         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4205         templates are all set up.
4206
4207         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4208
4209 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4210
4211         * text.C: fixed an "oops" in the "is a bit silly"
4212         bug fix
4213
4214 2003-10-21  André Pönitz  <poenitz@gmx.net>
4215
4216         * FuncStatus.[Ch]: small stuff, whitespace
4217
4218         * lyxfont.[Ch]: operator<<() for debug reasons
4219
4220         * lyxfunc.C:
4221         * lyxrow_funcs.C:
4222         * lyxtext.h: whitespace, spelling
4223
4224         * paragraph.C: naming of variables
4225
4226         * text.C:
4227         * text2.C: small stuff
4228
4229
4230 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4231
4232         * text.C: (1) finish off the inset display() work;
4233         (2) fix the "is a bit silly" bug (accessing char
4234         past end of par).
4235
4236 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4237
4238         * text.C: re-introduce display() for insets, fixing the
4239         various bugs (stretch of line above, math inset
4240         positioning, ...)
4241
4242 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4243
4244         * text.C (rightMargin): remove spurious semicolon
4245
4246         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4247         1415)
4248
4249 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4250
4251         * text3.C: fix one crash due to wrong cursor def
4252
4253 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4254
4255         * vc-backend.C (scanMaster): make the regex static
4256
4257         * LaTeX.C (scanAuxFile): make the regexs static
4258
4259         * text3.C (doInsertInset, dispatch, dispatch):
4260         * text2.C (cursorUp, cursorDown):
4261         * text.C (selectNextWordToSpellcheck):
4262         * BufferView_pimpl.C (dispatch):
4263         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4264
4265 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4266
4267         * lyxsocket.C: include <cerrno>
4268
4269 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4270
4271         * lyxfunc.C (dispatch): remove textcache stuff
4272
4273         * bufferlist.C (release): remove textcache stuff
4274         (closeAll): ditto
4275
4276         * TextCache.C: delete file
4277         * TextCache.h: delete file
4278
4279         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4280
4281         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4282         delete of the bv_->text.
4283         (resizeCurrentBuffer): remove texcache stuff
4284         (workAreaResize): ditto
4285
4286 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4287
4288         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4289         action.
4290
4291 2003-10-16  André Pönitz  <poenitz@gmx.net>
4292
4293         * lyxrow.[Ch]:
4294         * paragraph.h:
4295         * rowpainter.C:
4296         * text.C:
4297         * text2.C:
4298         * text3.C: speed up by storing y positions per paragraph plus per-row
4299         offset instead of having a 'full' y position in the row.
4300
4301 2003-10-15  André Pönitz  <poenitz@gmx.net>
4302
4303         * iterators.[Ch]:
4304         * iterators.[Ch]:
4305         * undo.[Ch]: make undo aware of inner insets
4306
4307 2003-10-14  Angus Leeming  <leeming@lyx.org>
4308
4309         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4310         static member functions LyX::ref() and LyX::cref.
4311         (lastfiles): new accessor functions for the new lastfiles_ member var.
4312         (addLyXView, views_): add a new LyXView to the list of views_.
4313         (updateInset): loop over all LyXViews to call their own updateInset
4314         member function, returning a pointer to the Buffer owning the inset.
4315
4316         * BufferView_pimpl.C (loadLyXFile):
4317         * MenuBackend.C (expandLastfiles):
4318         * bufferlist.C (MenuWrite, QuitLyX):
4319         lastfiles is no longer a global variable.
4320         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4321
4322         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4323         static function. Access through LyX::cref().emergencyCleanup().
4324
4325 2003-10-14  André Pönitz  <poenitz@gmx.net>
4326
4327         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4328
4329         * undo.[Ch]: restoring part of 'undo in insets'
4330
4331         * Makefile.am:
4332         * undo_funcs.[Ch]: merge with undo.[Ch]
4333
4334         * tabular.C: small cleansing stuff
4335
4336 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4337
4338         * paragraph_funcs.C (readParToken): report unknown insets as error
4339         boxes. Use the outer paragraph as location (also for unknown
4340         tokens).
4341
4342         * factory.C (readInset): do not abort on reading an unknown inset.
4343         Eat it and return 0.
4344
4345 2003-10-13  Angus Leeming  <leeming@lyx.org>
4346
4347         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4348
4349         * lyxrc.C: displayTranslator is now a function,
4350         declared in GraphicsTypes.h.
4351
4352 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4353
4354         * format.C: new placeholder $$a to pass the socket address.
4355
4356         * bufferlist.[Ch]: new function getBufferFromTmp.
4357
4358         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4359           files in the temporary dir.
4360
4361 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4362
4363         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4364
4365         * Makefile.am: add lyxsocket.[Ch].
4366
4367         * lyx_main.C (error_handler): handle SIGPIPE.
4368
4369 2003-10-13  André Pönitz  <poenitz@gmx.net>
4370
4371         * BufferView_pimpl.C:
4372         * lyxtext.h:
4373         * text.C:
4374         * text2.C:
4375         * text3.C:
4376         * undo_funcs.[Ch]: use paroffset_type instead of
4377           ParagraphList::iterators to prevent multiple conversion
4378           (and get a more robust interface)
4379
4380 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4381
4382         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4383         * lyxtext.h: ditto
4384         * text3.C (dispatch): ditto
4385
4386 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4387
4388         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4389         move the onlyfile, use onlyfile instead of foundfile in a couple
4390         of places.
4391
4392         * DepTable.C (update): flush the error stream a bit more
4393
4394 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4395
4396         * lyxserver.C (callback): adjust
4397
4398         * lyxfunc.C (getStatus): add a missing brace in commented code
4399         (ensureBufferClean): reindent
4400         (dispatch): delete version taking a string
4401
4402 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4403
4404         * LaTeX.C (deplog): move found file handlig from here...
4405         (handleFoundFile): .. to new function here.
4406         (deplog): make sure to discover several files mentioned on the
4407         same log line.
4408
4409 2003-10-10  André Pönitz  <poenitz@gmx.net>
4410
4411         * lyxfunc.C:
4412         * lyxtext.h:
4413         * tabular.C:
4414         * text.C:
4415         * text2.C:
4416         * text3.C: fix some of the tabular crashes
4417
4418 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4419
4420         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4421
4422         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4423
4424 2003-10-09  André Pönitz  <poenitz@gmx.net>
4425
4426         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4427
4428         * BufferView.C:
4429         * BufferView_pimpl.C:
4430         * bufferview_funcs.C:
4431         * lyx_cb.C:
4432         * lyxcursor.C:
4433         * lyxfind.C:
4434         * lyxfunc.C:
4435         * lyxtext.h:
4436         * text.C:
4437         * text2.C:
4438         * text3.C:
4439         * text_funcs.[Ch]:
4440         * textcursor.[Ch]:
4441         * undo_funcs.C: adjust
4442
4443 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4444
4445         * text2.C (incrementItemDepth): new function, use a backtracking
4446         algorithm to discover the correct item depth.
4447         (resetEnumCounterIfNeeded): new function, use a backtracking
4448         algorithm to discover if counter reset is needed.
4449         (setCounter): use them. Simplify a bit. Add different labels for
4450         different item depths for itemize.
4451
4452         * paragraph.C (Paragraph): remove initialization of enumdepth
4453         (operator=): ditto
4454
4455         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4456         enumerate and itemize. Change the type of itemdepth to signed char.
4457
4458 2003-10-08  André Pönitz  <poenitz@gmx.net>
4459
4460         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4461           thing assignable.
4462         * text.C:
4463         * text2.C: adjust
4464
4465         * tabular.[Ch]: fix crash after 'row-insert'
4466
4467 2003-10-08  Angus Leeming  <leeming@lyx.org>
4468
4469         Fix doxygen warnings.
4470
4471         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4472         Remove CutAndPaste:: prefix from header file declaration.
4473
4474         * LColor.h (fill): remove LColor:: prefix from declaration.
4475
4476         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4477         use lyx::depth_type rather than Paragraph::depth_type so that
4478         header file and .C file match.
4479
4480         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4481
4482         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4483         * aspell.C: \file aspell_local.C -> \file aspell.C
4484         * gettext.C: \file gettext.C -> \file src/gettext.C
4485         * gettext.h: \file gettext.h -> \file src/gettext.h
4486         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4487         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4488         * text.C: \file text.C -> \file src/text.C
4489
4490         * toc.C: move comment so that doxygen is not confused.
4491
4492 2003-10-07  Angus Leeming  <leeming@lyx.org>
4493
4494         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4495
4496 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4497
4498         * aspell.C:
4499         * aspell_local.h: add forgotten std::string's.
4500
4501 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4502
4503         * LaTeXFeatures.C:
4504         * LyXAction.C:
4505         * factory.C:
4506         * lfuns.h:
4507         * lyxfunc.C:
4508         * text3.C: The Box patch. Fancybox support, minipage, parbox
4509
4510 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4511
4512         * CutAndPaste.h:
4513         * DepTable.h:
4514         * FloatList.h:
4515         * LaTeXFeatures.h:
4516         * ParagraphParameters.h:
4517         * TextCache.h:
4518         * Thesaurus.h:
4519         * bufferlist.h:
4520         * exporter.h:
4521         * importer.h:
4522         * lastfiles.h:
4523         * lyxfind.h:
4524         * lyxfont.h:
4525         * lyxlex.h:
4526         * lyxtextclasslist.h:
4527         * messages.h:
4528         * paragraph.h:
4529         * paragraph_pimpl.C:
4530         * textcursor.h: add <string> and other small fixes to make Lars'
4531         std::string patch compile with STLport.
4532
4533 2003-10-06  Angus Leeming  <leeming@lyx.org>
4534
4535         * LColor.h: Add missing #include <string>.
4536
4537 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4538
4539         * All most all file in all subdirs: Make <string> be the prefered
4540         way of getting to std::string, add using declarations.
4541
4542 2003-10-06  André Pönitz  <poenitz@gmx.net>
4543
4544         * metricsinfo.C: initialize LyXFont before changing attribute.
4545         (fixes the 'math in \emph is upright' bug)
4546
4547 2003-10-06  André Pönitz  <poenitz@gmx.net>
4548
4549         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4550
4551 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4552
4553         * graph.C:
4554         * paragraph_pimpl.C: Small fixes to build using STLport
4555
4556 2003-10-02  André Pönitz  <poenitz@gmx.net>
4557
4558         * lyxfunc.C:
4559         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4560
4561 2003-10-01  André Pönitz  <poenitz@gmx.net>
4562
4563         * factory.C: assert early
4564
4565 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * lyx_main.C: remove the global debug object
4568
4569         * debug.h: adjust for new debugstream
4570
4571         * debug.C: adjust for new debugstream and keep the global debug
4572         object here.
4573
4574 2003-09-22  Angus Leeming  <leeming@lyx.org>
4575
4576         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4577         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4578         an incomplete class LyXFont.
4579
4580 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4581
4582         * factory.C: bug fix in branches
4583
4584 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4585
4586         * lyxfunc.C (processKeySym): adjust
4587         (dispatch): adjust
4588         (dispatch): change arg name from ev to func, adjust
4589         (sendDispatchMessage): ditto
4590
4591         * lyx_main.C (defaultKeyBindings): adjust keybindings
4592         (deadKeyBindings): ditto
4593
4594         * kbsequence.C (addkey): return a FuncRequest
4595
4596         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4597
4598         * kbmap.C (bind): take a FuncRequest as arg, adjust
4599         (read): adjust
4600         (lookup): adjust
4601         (defkey): change to take a FuncRequest as arg, adjust
4602         (findbinding): take a FuncRequest as arg, adjust.
4603
4604         * funcrequest.h (operator=): added
4605
4606         * funcrequest.C (FuncRequest): default kb_action changed from
4607         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4608
4609         * buffer.C (dispatch): simplify
4610         (dispatch): adjust to take a FuncRequest as arg, adjust
4611
4612         * boost.C (assertion_failed): change assertion message slightly
4613
4614         * ToolbarBackend.C (read): simplify
4615
4616         * MenuBackend.C (binding): adjust call to findbinding, add a
4617         message if no binding is found.
4618         (read): simplify
4619         (expandToc): correct by adding a empty FuncRequest
4620
4621         * LyXAction.C: include <boost/assert.hpp>
4622         (isPseudoAction): delete function
4623         (LookupFunc): change name to...
4624         (lookupFunc): this. change return type to FuncRequest.
4625         (getActionName): take kb_action as arg, simplify
4626         (funcHasFlag): add an assert, simplify.
4627
4628 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4629
4630         * toc.C (action): return a FuncRequest, simplify
4631
4632         * lyxfunc.C (processKeySym): adjust
4633         (getStatus): delete version that takes an int.
4634         (getStatus): adjust
4635         (dispatch): delete version that takes action as int
4636         (dispatch): adjust
4637         (sendDispatchMessage): simplify and adjust
4638
4639         * funcrequest.C (getArg): take unsigned int as arg
4640
4641         * ToolbarBackend.C (read): adjust
4642         (add): delete version that takes func as a string.
4643         (getIton): take a FuncRequest as arg
4644
4645         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4646         action.
4647
4648         * MenuBackend.C (MenuItem): add a new construct that only takes a
4649         Kind, simplify the constructor use for submenus.
4650         (add): adjust
4651         (expandLastfiles): adjust
4652         (expandDocuments): adjust
4653         (expandFormats): adjust
4654         (expandFloatListInsert): adjust
4655         (expandFloatInsert): adjust
4656         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4657
4658         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4659         Remove class variables lyx_pseudo_map and lyx_arg_map
4660
4661         * LyXAction.C (searchActionArg): delete function
4662         (getPseudoAction): delete function
4663         (retrieveActionArg): delete function
4664         (LookupFunc): make it return kb_action, simplify.
4665         (getActionName): simplify
4666
4667         * factory.C (createInset): fix new bug
4668
4669 2003-09-19  Angus Leeming  <leeming@lyx.org>
4670
4671         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4672         masterFilename_ parameter in the include inset.
4673
4674         * factory.C (createInset): changes due to the changes to InsetInclude.
4675
4676 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4677
4678         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4679
4680 2003-09-18  Angus Leeming  <leeming@lyx.org>
4681
4682         * buffer.C:
4683         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4684         Inset::fillWithBibKeys.
4685         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4686
4687 2003-09-18  Angus Leeming  <leeming@lyx.org>
4688
4689         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4690         variables.
4691         (ctor): pass and store a 'Buffer const &'
4692         (buffer): new member function.
4693
4694         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4695         '*this' to the LaTeXFeatures ctor.
4696
4697 2003-09-18  Angus Leeming  <leeming@lyx.org>
4698
4699         * LColor.h:
4700         * lyxfont.C:
4701         * lyxfont.h:
4702         * lyxtext.h:
4703         * text.C: rename EnumLColor as LColor_color.
4704
4705 2003-09-18  Angus Leeming  <leeming@lyx.org>
4706
4707         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4708         remove #include "insets/insetbase.h" from cursor.h.
4709
4710 2003-09-18  Angus Leeming  <leeming@lyx.org>
4711
4712         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4713         InsetOld_code to remove #include "inset.h".
4714
4715         * iterators.C: add #include "insets/inset.h"
4716
4717 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4718
4719         * BufferView.C: remove more locking stuff that apparently doesn't
4720         do anything sensible.
4721
4722 2003-09-16  André Pönitz  <poenitz@gmx.net>
4723
4724         * paragraph.[Ch]:
4725         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4726           performance boost.
4727
4728 2003-09-16  Angus Leeming  <leeming@lyx.org>
4729
4730         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4731
4732         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4733         arg/return type.
4734
4735         * paragraph.h: remove #include "lyxfont.h". Forward declare
4736         LyXFont_size.
4737
4738 2003-09-16  Angus Leeming  <leeming@lyx.org>
4739
4740         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4741         of support/textutils.h.
4742         (isWord): move the contents of support/textutils.h's IsWordChar here.
4743
4744         * buffer.C:
4745         * lyxfind.C:
4746         * rowpainter.C:
4747         * text.C:
4748         * text2.C: add #include "paragraph.h".
4749
4750         * rowpainter.C:
4751         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4752
4753 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4754
4755         * main.C:
4756         * lyx_main.C:
4757         * lyx_cb.C:
4758         * buffer.C:
4759         * LaTeX.C: use namespace alias for lyx::support::os
4760
4761 2003-09-16  Angus Leeming  <leeming@lyx.org>
4762
4763         * bufferparams.C:
4764         * bufferview_funcs.C:
4765         * factory.C:
4766         * lyxfunc.C:
4767         * paragraph_pimpl.C:
4768         * rowpainter.C:
4769         * text.C: add #include "LColor.h".
4770
4771 2003-09-16  Angus Leeming  <leeming@lyx.org>
4772
4773         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4774         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4775         return LyXFont &.
4776         Store the FontBits::color variable as an int rather than as an
4777         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4778         file.
4779
4780         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4781         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4782         string calls together.
4783
4784         * lyxrc.C: add #include "LColor.h".
4785
4786 2003-09-15  Angus Leeming  <leeming@lyx.org>
4787
4788         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4789         a cow_ptr.
4790
4791 2003-09-15  Angus Leeming  <leeming@lyx.org>
4792
4793         * LColor.h: add an EnumLColor wrapper for LColor::color.
4794
4795         * lyxfont.[Ch] (color, setColor, realColor):
4796         * lyxtext.h, text.C (backgroundColor):
4797         pass EnumLColor args to/from the functions, rather than LColor::color
4798         ones.
4799
4800         * lyxfont.h:
4801         * lyxtext.h: forward declare EnumLColor.
4802
4803         * lyx_main.C: add #include "LColor.h".
4804
4805 2003-09-15  Angus Leeming  <leeming@lyx.org>
4806
4807         * .cvsignore: add lyx-gtk.
4808
4809 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4810
4811         * Chktex.C
4812         * LaTeX.C
4813         * LaTeXFeatures.C
4814         * ParagraphParameters.C
4815         * Spacing.C
4816         * buffer.C
4817         * bufferparams.C
4818         * bufferview_funcs.C
4819         * chset.C
4820         * counters.C
4821         * funcrequest.C
4822         * lyxfont.C
4823         * lyxgluelength.C
4824         * lyxlength.C
4825         * paragraph.C
4826         * paragraph_funcs.C
4827         * text3.C
4828         * vc-backend.C: remove usage of STRCONV
4829
4830 2003-09-15  Angus Leeming  <leeming@lyx.org>
4831
4832         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4833         explicitly define the color passed to the painter.
4834
4835 2003-09-15  Angus Leeming  <leeming@lyx.org>
4836
4837         * bufferparams.C (BufferParams): reorder member initializers to avoid
4838         compiler warning.
4839
4840 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4841
4842         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4843         * text.C (updateRowPositions): remove an unusual nop
4844
4845 2003-09-12  André Pönitz  <poenitz@gmx.net>
4846
4847         * BufferView_pimpl.C:
4848         * Bullet.C:
4849         * layout.h:
4850         * lyxfunc.C:
4851         * lyxlayout.[Ch]:
4852         * lyxtextclass.C:
4853         * rowpainter.C:
4854         * text.C:
4855         * text2.C:
4856         * Counters.[Ch]: finish the 'automatic counters' job
4857
4858 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4859
4860         * aspell.C: include <boost/assert.cpp> (compile fix)
4861
4862 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4863
4864         * boost.C (assertion_failed): use lyx::support::abort instead of
4865         assert.
4866
4867 2003-09-10  Angus Leeming  <leeming@lyx.org>
4868
4869         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4870         with their _fwd progeny.
4871
4872 2003-09-09  Angus Leeming  <leeming@lyx.org>
4873
4874         134 files throughtout the source tree: replace 'using namespace abc;'
4875         directives with the appropriate 'using abc::xyz;' declarations.
4876
4877 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4878
4879         * boost.C (emergencyCleanup): moved here from LAssert.c
4880         (assertion_failed): new function, called by BOOST_ASSERT
4881
4882         * several files: change Assert to BOOST_ASSERT
4883
4884 2003-09-09  Angus Leeming  <leeming@lyx.org>
4885
4886         * buffer.[Ch]: Add an Impl class and move Buffer's member
4887         variables into it. As a result move several header files out of
4888         buffer.h.
4889
4890         Add header files to lots of .C files all over the tree as a result.
4891
4892 2003-09-09  Angus Leeming  <leeming@lyx.org>
4893
4894         * buffer.[Ch]: make Buffer's member variables private. Add
4895         accessor functions.
4896
4897         Lots of changes all over the tree as a result.
4898
4899 2003-09-08  Angus Leeming  <leeming@lyx.org>
4900
4901         * graph.C: #include <config.h>.
4902
4903 2003-09-08  Angus Leeming  <leeming@lyx.org>
4904
4905         * BranchList.C:
4906         * BufferView.C:
4907         * BufferView_pimpl.C:
4908         * CutAndPaste.C:
4909         * DepTable.C:
4910         * LaTeX.C:
4911         * LaTeXFeatures.C:
4912         * LyXAction.C:
4913         * MenuBackend.C:
4914         * TextCache.C:
4915         * aspell.C:
4916         * buffer.C:
4917         * bufferlist.C:
4918         * changes.C:
4919         * chset.C:
4920         * converter.C:
4921         * counters.C:
4922         * debug.C:
4923         * graph.C:
4924         * ispell.C:
4925         * lyx_cb.C:
4926         * lyxfind.C:
4927         * lyxfunc.C:
4928         * lyxlex_pimpl.C:
4929         * lyxrc.C:
4930         * lyxrow.C:
4931         * paragraph.C:
4932         * rowpainter.C:
4933         * texrow.C:
4934         * text.C:
4935         * text2.C:
4936         * toc.C: remove redundant using directives.
4937
4938 2003-09-07  Angus Leeming  <leeming@lyx.org>
4939
4940         * LaTeXFeatures.h: remove #include "support/types.h".
4941         * ToolbarBackend.h: remove #include <algorithm>.
4942         * changes.h: remove #include <ctime>.
4943         * debug.h: remove #include <iosfwd>.
4944         * graph.h: remove #include "support/std_string.h".
4945         * lyx_main.h: remove #include <csignal>.
4946         * lyxlex_pimpl.h: remove #include <fstream>.
4947         * sgml.h: remove #include <algorithm>, <utility>.
4948         * toc.h: remove #include "support/std_ostream.h".
4949         Add #include <iosfwd>.
4950
4951 2003-09-07  Angus Leeming  <leeming@lyx.org>
4952
4953         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4954
4955         * converter.h: forward declare LatexRunParams.
4956         * encoding.h: remove #include "lyxrc.h".
4957         * lyxtext.h: remove #include "LColor.h".
4958         * lyxtextclass.h: remove #include "support/types.h".
4959         * trans.h: remove #include "tex-accent.h".
4960         * trans_mgr.h: remove #include "tex-accent.h".
4961         * insets/inset.h: remove #include "support/types.h", <vector>.
4962         * insets/insetcollapsable.h: remove #include "LColor.h".
4963         * insets/insetinclude.h: remove #include "dimension.h".
4964         * insets/insetlatexaccent.h: remove #include "dimension.h".
4965         * insets/insetoptarg.h:: remove #include "insettext.h".
4966         * insets/insettext.h: remove #include "dimension.h",
4967         <boost/shared_ptr.hpp>
4968
4969         * insets/renderers.h: add #include "dimension.h".
4970         * insets/updatableinset.h: add #include "support/types.h".
4971
4972         * many .C files: Associated changes.
4973
4974 2003-09-06  Angus Leeming  <leeming@lyx.org>
4975
4976         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4977         one, inside testInvariant.
4978
4979         * PrinterParams.C: new file.
4980         * PrinterParams.[Ch]: move the function bodies out of line.
4981
4982 2003-09-06  Angus Leeming  <leeming@lyx.org>
4983
4984         * ParagraphParameters.h: forward declare ParameterStruct rather than
4985         including its header file.
4986         (depth): moved out-of-line.
4987
4988 2003-09-06  Angus Leeming  <leeming@lyx.org>
4989
4990         * BufferView_pimpl.h:
4991         * kbmap.h:
4992         * kbsequence.h:
4993         * lyxfunc.h: forward declare LyXKeySym rather than
4994         #include "frontends/LyXKeySym.h".
4995
4996         * BufferView_pimpl.C:
4997         * kbmap.C:
4998         * kbsequence.C:
4999         * lyxfunc.C: associated changes.
5000
5001 2003-09-06  Angus Leeming  <leeming@lyx.org>
5002
5003         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5004         As a result, can remove the #include "insets/inset.h" from BufferView.h
5005
5006 2003-09-06  Angus Leeming  <leeming@lyx.org>
5007
5008         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5009         As a result, can remove the #include "insets/inset.h" from BufferView.h
5010
5011 2003-09-06  Angus Leeming  <leeming@lyx.org>
5012
5013         * buffer_funcs.C:
5014         * buffer.h:
5015         * bufferlist.C:
5016         * BufferView.C:
5017         * bufferview_funcs.C:
5018         * BufferView_pimpl.C:
5019         * CutAndPaste.C:
5020         * lyx_cb.C:
5021         * lyxfunc.C:
5022         * paragraph.h:
5023         * ParagraphParameters.C:
5024         * tabular.C:
5025         * text3.C:
5026         * toc.C:
5027         * undo_funcs.C:
5028         * frontends/controllers/ControlDocument.C:
5029         * insets/insetcaption.C: rearrange the #includes into some sort of
5030         coherent order.
5031
5032         * buffer.h: remove #includes ErrorList.h, undo.h
5033
5034 2003-09-06  Angus Leeming  <leeming@lyx.org>
5035
5036         * support/types.h: add a 'depth_type' typedef, used to store the
5037         nesting depth of a paragraph.
5038
5039         * paragraph.h:
5040         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5041         defining explicitly.
5042
5043         * buffer.h:
5044         * paragraph_funcs.h:
5045         * ParagraphParameters.h:
5046         * sgml.h: use lyx::depth_type rather than Paragraph or
5047         ParameterStruct's depth_type.
5048
5049         * buffer.h
5050         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5051
5052         * BufferView.C:
5053         * BufferView_pimpl.C:
5054         * CutAndPaste.C:
5055         * ParagraphParameters.C:
5056         * buffer_funcs.C:
5057         * bufferlist.C:
5058         * bufferview_funcs.C:
5059         * lyx_cb.C:
5060         * lyxfunc.C:
5061         * tabular.C:
5062         * text3.C:
5063         * toc.C:
5064         * undo_funcs.C:
5065         * frontends/LyXView.C:
5066         * frontends/controllers/ControlDocument.C:
5067         * frontends/controllers/ControlErrorList.C:
5068         * insets/insetbibitem.C:
5069         * insets/insetbranch.C:
5070         * insets/insetcaption.C:
5071         * insets/insetcollapsable.C:
5072         * insets/insetenv.C:
5073         * insets/insetert.C:
5074         * insets/insetfloat.C:
5075         * insets/insetfoot.C:
5076         * insets/insetfootlike.C:
5077         * insets/insetnewline.C:
5078         * insets/insetquotes.C:
5079         * insets/insettabular.C:
5080         * insets/insettext.C:
5081         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5082
5083         * frontends/controllers/ControlChanges.C: #include "changes.h".
5084
5085 2003-09-06  Angus Leeming  <leeming@lyx.org>
5086
5087         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5088         than #including paragraph.h.
5089
5090         * ParagraphList.h:
5091         * RowList.h: deleted. Superfluous.
5092
5093         * CutAndPaste.h:
5094         * iterators.h:
5095         * lyxcursor.h:
5096         * lyxtext.h:
5097         * text_funcs.h:
5098         * undo.h:
5099         * undo_funcs.h:
5100         * insets/inset.h:
5101         * insets/insettext.h: use ParagraphList_fwd.h rather than
5102         ParagraphList.h.
5103
5104         * paragraph.h: don't forward declare ParagraphList.
5105
5106         * buffer.h:
5107         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5108         rather than ParagraphList.h. paragraph.h is still needed for the
5109         Paragraph::depth_type parameters.
5110
5111         * textcursor.h: enable it to compile stand-alone in light of the
5112         above changes.
5113
5114         * bufferview_funcs.C:
5115         * iterators.C:
5116         * lyxfunc.C:
5117         * lyxrow_funcs.C:
5118         * paragraph.C:
5119         * rowpainter.C:
5120         * text.C:
5121         * text2.C:
5122         * text3.C:
5123         * text_funcs.C:
5124         * textcursor.C:
5125         * undo.C:
5126         * frontends/controllers/ControlParagraph.C:
5127         * frontends/controllers/ControlTabular.C:
5128         * insets/insetmarginal.C:
5129         * insets/insetminipage.C:
5130         * insets/insetnote.C:
5131         * insets/insetoptarg.C: add header files needed to compile again.
5132
5133 2003-09-06  Angus Leeming  <leeming@lyx.org>
5134
5135         * RowList_fwd.h: new file, forward-declaring Row rather than
5136         #including lyxrow.h.
5137
5138         * lyxrow_funcs.h:
5139         * lyxtext.h:
5140         * paragraph.h:
5141         * insets/insettext.h: use it instead of RowList.h
5142
5143         * bufferview_funcs.C:
5144         * lyxfunc.C:
5145         * lyxrow_funcs.C:
5146         * paragraph.C:
5147         * rowpainter.C:
5148         * text.C:
5149         * text2.C:
5150         * text3.C: #include "RowList.h".
5151
5152 2003-09-05  Angus Leeming  <leeming@lyx.org>
5153
5154         * factory.C (createInset):
5155         * vspace.C (c-tor): replace sscanf call with an istringstream.
5156         * ispell.C: re-add missing HP/UX headers.
5157         * lyxserver.C: re-add missing  os2 headers.
5158
5159 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5160
5161         * BranchList.C:
5162         * graph.C:
5163         * ispell.C:
5164         * lastfiles.C:
5165         * lyx_cb.C:
5166         * lyxserver.C:
5167         * texrow.C:
5168         * text3.C: re-add missing system headers, needed for 2.95.2.
5169
5170 2003-09-05  Angus Leeming  <leeming@lyx.org>
5171
5172         Changes most place everywhere due to the removal of using directives
5173         from support/std_sstream.h.
5174
5175 2003-09-05  Angus Leeming  <leeming@lyx.org>
5176
5177         Replace LString.h with support/std_string.h,
5178         Lsstream.h with support/std_sstream.h,
5179         support/LIstream.h with support/std_istream.h,
5180         support/LOstream.h with support/std_ostream.h.
5181
5182         Changes resulting throughout the tree.
5183
5184 2003-09-05  Angus Leeming  <leeming@lyx.org>
5185
5186         * sgml.h: ensure that the header file can be compiled stand-alone.
5187         * *.C: strip out redundant #includes. (320 in total.)
5188
5189 2003-09-04  Angus Leeming  <leeming@lyx.org>
5190
5191         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5192         here (from getPackages).
5193
5194         * debug.[Ch]: add a new EXTERNAL tag.
5195
5196 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5197
5198         * text2.C (cursorEnd): simplify
5199         (setCursor): adjust
5200         (getColumnNearX): adjust
5201
5202         * text.C (computeBidiTables): adjust
5203         (fill): adjust
5204
5205         * rowpainter.C (paintChars): adjust
5206         (paintSelection): adjust
5207         (paintChangeBar): adjust
5208         (paintText): adjust
5209
5210         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5211         lastPos instead.
5212         (numberOfSeparators): adjust
5213
5214 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5215
5216         * LyXAction.C:
5217         * box.[Ch]:
5218         * lfuns.h:
5219         * lyxfunc.C:
5220         * text3.C: Restricts the mouse click functionality
5221         of insets like bibtex, include, toc and floatlist to the visible
5222         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5223         up the dialogs. Cursor has to be in front of the inset (i.e.
5224         start of row) for this to function.
5225
5226 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5227
5228         * bufferview_funcs.C (currentState): output row information
5229
5230 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5231
5232         * bufferview_funcs.C (currentState): output paragraph position
5233
5234 2003-09-04  Angus Leeming  <leeming@lyx.org>
5235
5236         * FloatList.h: move out #include "Floating.h".
5237         * LaTeX.h: move out #include "DepTable.h".
5238         * LyXAction.h: move out #include "funcrequest.h".
5239         * buffer.h: move out #include "author.h", "iterators.h".
5240         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5241         * lyx_main.h: move out #include "errorlist.h".
5242         * lyxfunc.h: move out #include "FuncStatus.h".
5243         * lyxtext: move out #include "lyxcursor.h".
5244         * paragraph_pimpl.h: move out #include "counters.h".
5245
5246 2003-09-03  Angus Leeming  <leeming@lyx.org>
5247
5248         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5249         preamble_snippets list, enabling us to add snippets to the preamble
5250         only if the snippet was not there already.
5251
5252 2003-09-04  Angus Leeming  <leeming@lyx.org>
5253
5254         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5255
5256 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5257
5258         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5259         update
5260
5261 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5262
5263         * BranchList.C: point fix, earlier forgotten
5264
5265 2003-09-02  Angus Leeming  <leeming@lyx.org>
5266
5267         * box.C (contains): renamed from 'contained' after a fantastic
5268         amount of hot air.
5269
5270 2003-09-02  John Levon  <levon@movementarian.org>
5271
5272         * BufferView.C:
5273         * lyxcursor.h:
5274         * lyxcursor.C:
5275         * lyxfunc.C:
5276         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5277
5278 2003-09-02  John Levon  <levon@movementarian.org>
5279
5280         * text2.C: simplification of cursorEnd(), including partial
5281         fix for bug 1376
5282
5283 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5284
5285         * buffer.C (readFile): add a space
5286
5287 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5288
5289         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5290
5291 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * buffer.C (readFile): new function, take a filename and a
5294         ParagraphList::iterator
5295         (readFile): adjust
5296         (readFile): adjust, make it private. don't use setStream, make
5297         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5298         always contain the filename.
5299
5300         * BufferView.C (insertLyXFile): simplify and make it work for
5301         gzipped files.
5302
5303 2003-08-30  John Levon  <levon@movementarian.org>
5304
5305         * Makefile.am: fix dist (from Kayvan)
5306
5307 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5308
5309         * most files: change to use const Buffer refs
5310
5311 2003-08-27  André Pönitz  <poenitz@gmx.net>
5312
5313         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5314         on top of ownerPar().
5315
5316 2003-08-27  John Levon  <levon@movementarian.org>
5317
5318         * funcrequest.C: properly initialise POD members
5319
5320 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5321
5322         * lyxtext.h (top_y): move top_y from here
5323         * text.C:
5324         * text2.C:
5325         * text3.C:
5326         * BufferView.[Ch]:
5327         * BufferView_pimpl.[Ch]: to here
5328         * frontends/screen.C:
5329         * insets/insettabular.C:
5330         * insets/insettext.C: adjust
5331         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5332
5333 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5334
5335         * BufferView.[Ch]:
5336         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5337
5338 2003-08-26  André Pönitz  <poenitz@gmx.net>
5339
5340         * paragraph_func.[Ch] (outerPar): new function
5341
5342         * paragraph.C:
5343         * paragraph_funcs.C:
5344         * paragraph_funcs.h:
5345         * paragraph_pimpl.C:
5346         * text2.C: remove Inset::par_owner
5347
5348 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5349
5350         * lyxrow_funcs.C:
5351         * lyxtext.h:
5352         * text.C:
5353         * text2.C: eliminates the needFullRow/display() stuff
5354         altogether, putting the logic in metrics/draw in the insets.
5355
5356 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5357
5358         * text2.C (redoParagraphInternal, redoParagraphs):
5359         * text.C (redoParagraph): add a call to updateRowPositions at the
5360         end of each 'metrics-like' call. Remove all others.
5361         (getRow): remove the 'y-computing' version.
5362         (getRowNearY): do not compute nor return the real y. Solve the
5363         'y < 0' problem and simplify.
5364
5365 2003-08-22  Angus Leeming  <leeming@lyx.org>
5366
5367         * *.[Ch]: clean-up of licence and author blurbs.
5368         Also move config.h out of a few .h files and into a few .C files.
5369
5370 2003-08-22  André Pönitz  <poenitz@gmx.net>
5371
5372         * lyxrow.[Ch]: add x_ and *fill_ members
5373
5374         * lyxtext.h:
5375         * text.C:
5376         * rowpainter.C:
5377         * text2.C: adjust/remove prepareToPrint() calls
5378
5379 2003-08-22  André Pönitz  <poenitz@gmx.net>
5380
5381         * lyxrow.[Ch]: add  end_ member
5382
5383         * lyxrow_funcs.C: use LyXRow::end_
5384
5385         * lyxtext.h (singleWidth): add LyXFont parameter
5386
5387         * rowpainter.C:
5388         * text2.C: adjust LyXText::singleWidth() calls
5389
5390         * text.C (redoParagraph): simplify row breaking logic
5391
5392
5393 2003-08-19  André Pönitz  <poenitz@gmx.net>
5394
5395         * funcrequest.C: initialize button_ member
5396
5397         * text3.C:
5398         * rowpainter.[Ch]: interface consolidation
5399
5400 2003-08-18  André Pönitz  <poenitz@gmx.net>
5401
5402         * BufferView.C:
5403         * BufferView_pimpl.C:
5404         * lyxfind.C:
5405         * paragraph_funcs.C:
5406         * rowpainter.C:
5407         * text3.C: remove LyXScreen::draw() and fitCursor calls
5408
5409         * BranchList.h: remove spurious semicolons
5410
5411         * MenuBackend.C: fix branchlist related crash
5412
5413 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5414
5415         * BranchList.[Ch]:
5416         * InsetList.[Ch]:
5417         * LColor.[Ch]:
5418         * LyXAction.C:
5419         * Makefile.am:
5420         * MenuBackend.[Ch]:
5421         * bufferparams.[Ch]:
5422         * factory.C:
5423         * lfuns.h:
5424         * lyxfunc.C:
5425         * text3.C: implements the 'branch inset'
5426         idea. This allows the output of various versions of a document
5427         from a single source version, selectively outputing or suppressing
5428         output of parts of the text.
5429         This implementation contains a 'branch list editor' in a separate
5430         tab of the document settings dialog. Branches are user definable
5431         and have a "display colour" to distinguish them on-screen.
5432
5433         ColorHandler was somewhat cleaned up.
5434         (1) make possible a dynamically growing LColor list by allowing
5435         the graphic context cache to grow along (vector);
5436         (2) eliminate an IMHO unnecessary step in colour allocation.
5437
5438 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5439
5440         * BufferView_pimpl.C: compile fix
5441
5442 2003-08-15  André Pönitz  <poenitz@gmx.net>
5443
5444         * rowpainter.C: remove extra metrics calls
5445
5446         * lyxtext.h: merge the two constructors into a single one,
5447           pass reference to owner's par list
5448
5449         * BufferView_pimpl.C:
5450         * text.C:
5451         * text2.C: adjust
5452
5453 2003-08-15  André Pönitz  <poenitz@gmx.net>
5454
5455         * lyxrow_funcs.[Ch]:
5456         * lyxtext.h:
5457         * paragraph.h:
5458         * paragraph_funcs.C:
5459         * rowpainter.C:
5460         * text.C:
5461         * text2.C:
5462         * text3.C:
5463         * text_funcs.C: split LyXText::rowlist_ into individual
5464         Paragraph::rows_ chunks
5465
5466         * BufferView.[Ch]:
5467         * BufferView_pimpl.[Ch]:
5468         * lyxfind.C:
5469         * lyxtext.h:
5470         * text3.C: remove toggleSelection()
5471
5472 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5473
5474         * bufferlist.C: beautify two alerts (shorter text of buttons)
5475         * buffer.C: Remove redundant ' ' from message
5476         * tabular.h:
5477         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5478         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5479         rename VALIGN_CENTER to VALIGN_MIDDLE
5480
5481 2003-08-11  André Pönitz  <poenitz@gmx.net>
5482
5483         * lyxtext.h (getPar):
5484         * text.C: new function
5485
5486 2003-08-11  André Pönitz  <poenitz@gmx.net>
5487
5488         * Makefile.am:
5489         * tracer.[Ch]: remove unneeded files
5490
5491         * InsetList.[Ch]: remove resizeInsetsLyXText()
5492
5493         * lyxtext.h:
5494         * text.C:
5495         * text2.C:
5496         * text3.C: merge insertParagraphs() and appendParagraph()
5497         remove breakAgain(), update()
5498
5499         * BufferView_pimpl.[Ch]:
5500         * bufferview_funcs.[Ch]:
5501         * lyxfunc.C:
5502         * paragraph.[Ch]:
5503         * rowpainter.C:
5504         * tabular.C: adjust after text & InsetList changes.
5505
5506 2003-08-08  André Pönitz  <poenitz@gmx.net>
5507
5508         * text.C (insertChar, backspace): replace rowlist fiddling
5509         with rebreak of full par
5510
5511         * lyxtext.h:
5512         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5513         checkParagraph, updateInset): removed
5514
5515 2003-08-07  André Pönitz  <poenitz@gmx.net>
5516
5517         * paragraph.C:
5518         * text3.C: merge some LFUN handlers, remove dead code
5519
5520 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5521
5522         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5523
5524 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5525
5526         * text2.C (DEPM): fix part of bug 1255 and 1256
5527
5528 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5529
5530         * BufferView_pimpl.C (workAreaDispatch): change to use
5531         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5532         that are no mouse related.
5533
5534 2003-08-05  André Pönitz  <poenitz@gmx.net>
5535
5536         * BufferView.[Ch]:
5537         * BufferView_pimpl.[Ch]:
5538         * bufferview_funcs.C:
5539         * text2.C:
5540         * text3.C: rip out "deep update"
5541
5542         * textcursor.[Ch] (last_sel_cursor): remove unused member
5543
5544 2003-08-04  André Pönitz  <poenitz@gmx.net>
5545
5546         * BufferView.[Ch]:
5547         * BufferView_pimpl.[Ch]:
5548         * ParagraphParameters.C:
5549         * bufferview_funcs.C:
5550         * lyx_cb.C:
5551         * lyxfind.C:
5552         * lyxfunc.C:
5553         * text.C:
5554         * text2.C:
5555         * text3.C: replace "complicated" BufferView::update(...) calls with
5556         simpler ones.
5557
5558         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5559
5560 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5561
5562         * Makefile.am (lyx_SOURCES): add paper.h
5563
5564 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5565
5566         * Makefile.am: move things around so that both lyx-qt and
5567         lyx-xforms can be built (according to --with-frontend). Then lyx
5568         is a symbolic link to lyx-[firstfrontend]
5569
5570 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5571
5572         * Always use std::endl with lyxerr
5573
5574 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5575
5576         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5577
5578 2003-08-01  André Pönitz  <poenitz@gmx.net>
5579
5580         * BufferView.[Ch]:
5581         * BufferView_pimpl.[Ch]:
5582         * lyxfunc.C:
5583         * text3.C: merge BufferView::repaint() and BufferView::update()
5584
5585 2003-08-01  José Matos  <jamatos@lyx.org>
5586
5587         * buffer.[Ch]: file_format is no longer a buffer data element.
5588
5589 2003-08-01  André Pönitz  <poenitz@gmx.net>
5590
5591         * BufferView.C:
5592         * lyxtext.h:
5593         * text.C:
5594         * text2.C: make redoParagraph more independent of current cursor
5595
5596         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5597         * text.C:
5598         * text2.C: remove unneeded members
5599
5600 2003-07-30  André Pönitz  <poenitz@gmx.net>
5601
5602         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5603
5604         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5605           create a single function...
5606
5607         * paragraph_funcs.C (moveItem): ... here.
5608
5609         * text.C:
5610           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5611
5612 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5613
5614         * LColor.[Ch]: Add comment and greyedout logical colors.
5615
5616 2003-07-30  André Pönitz  <poenitz@gmx.net>
5617
5618         * tabular.C: don't use Assert too heavily. This crashes where it
5619           shouldn't
5620
5621 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5622
5623         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5624         is disabled (bug 1232)
5625
5626 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5627
5628         * factory.C: limited 'arg' scope
5629
5630 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5631
5632         * factory.C: fixed Note submenu issues
5633
5634 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5635
5636         * factory.C: submenu for Note/Comment/Greyedout
5637
5638 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5639
5640         * lyx_main.C (LyX):
5641         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5642
5643 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5644
5645         * LaTeXFeatures.C:
5646         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5647         greyedout. Patch provided by Jürgen Spitzmüller.
5648
5649 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5650
5651         * kbmap.C (read): fix error message when reading bind files
5652
5653 2003-07-29  Angus Leeming  <leeming@lyx.org>
5654
5655         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5656         certainly does not do what it purports to do. I am doing it, and
5657         us, a favour by killing it.
5658
5659 2003-07-28  José Matos  <jamatos@lyx.org>
5660
5661         * buffer.C (readBody, do_writeFile):
5662         * paragraph.C(readParagraph): \end_document replaces \the_end.
5663
5664 2003-07-29  André Pönitz  <poenitz@gmx.net>
5665
5666         * BufferView.[Ch]:
5667         * BufferView_pimpl.[Ch]:
5668         * lyxfunc.C:
5669         * text2.C:
5670         * text3.C:
5671         * textcursor.[Ch]: remove toggleToggle & Co
5672
5673 2003-07-28  José Matos  <jamatos@fep.up.pt>
5674
5675         * buffer.C (readParagraph):
5676         * params_func (readParToken, readParagraph):
5677         * paragraph.C (write): \layout -> \begin_layout.
5678
5679 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5680
5681         * lyxlex_pimpl.C (setFile): clean up slightly.
5682
5683         * bufferparams.h: add compressed var
5684
5685         * buffer_funcs.C (readFile): adjust for LyXLex change
5686         (newFile): ditto + simplify
5687
5688         * buffer.C (writeFile): handle writing of compressed files
5689
5690         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5691         Check if the file is compressed and set a bufferparm if so.
5692
5693         * Makefile.am (lyx_LDADD): remove explicit -lz
5694
5695 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5696
5697         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5698         makeDocBookFile): put the real LyX version in the first line of
5699         the file
5700
5701         * version.h:
5702         * version.C.in: remove lyx_docversion
5703
5704         * tabular.C (write_attribute): add a template-based version to
5705         write enums properly
5706
5707 2003-07-28  André Pönitz  <poenitz@gmx.net>
5708
5709         * lyxtext.h:
5710         * text.C:
5711         * text2.C:
5712         * text3.C: use doubles again for x-coordinates. They are needed.
5713
5714 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5715
5716         * messages.C (getLocaleDir): use lyx_localedir()
5717
5718         * lyxlex_pimpl.C (setFile): compress stuff
5719
5720         * buffer.C (writeFile): add some compression stuff
5721         (do_writeFile): new func, dont call expliti close... will this
5722         breake anything?
5723
5724         * Makefile.am (lyx_LDADD): add -lz
5725
5726 2003-07-28  José Matos  <jamatos@fep.up.pt>
5727
5728         * buffer.C: increment file format.
5729         * paragraph_funcs (readParagraph, readParToken):
5730         * paragraph.C (readParagraph): add \end_layout.
5731
5732 2003-07-27  Angus Leeming  <leeming@lyx.org>
5733
5734         * Makefile.am: remove special casing for configure-time setting of
5735         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5736
5737         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5738         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5739
5740 2003-07-26  André Pönitz  <poenitz@gmx.net>
5741
5742         * paragraph_func.[Ch]:
5743         * paragraph.C (realizeFont): inline it whereever it is used
5744
5745         * rowpainter.C:
5746         * text.C:
5747         * text2.C:
5748         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5749
5750
5751 2003-07-26  André Pönitz  <poenitz@gmx.net>
5752
5753         *       lyxtext.h:
5754         * text.C:
5755         * text2.C: get rid of LyXText::need_break_row
5756
5757 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5758
5759         * toc.[Ch]: put namespace toc inside namespace lyx
5760
5761         * MenuBackend.C (expandToc2): adjust for lyx::toc
5762         (expandToc): ditto
5763
5764         * lyxfunc.C (dispatch): adjust for lyx::find
5765
5766         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5767         lyx::find instead. Reorganize a bit.
5768         (LyXReplace): rename to replace
5769         (LyXFind): rename to find
5770
5771         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5772         (dispatch): ditto
5773
5774 2003-07-26  André Pönitz  <poenitz@gmx.net>
5775
5776         * text.C (setHeightOfRow): restrict scope of temporary variable
5777
5778         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5779           code (never has been used?)
5780
5781 2003-07-27  Asger Alstrup  <alstrup@local>
5782
5783         * text.C (fill): Optimise algorithm to exploit that we can reuse
5784         the LyXFont for many characters.
5785         (setHeightOfRow): Same thing.
5786         (rowBreakPoint): Same thing.
5787
5788 2003-07-26  Asger Alstrup  <alstrup@local>
5789
5790         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5791
5792         * text.C (singleWidth): Spurious font copying in hot-spot
5793         singleWidth avoided. Reorder tests for arabic for efficiency.
5794
5795         * text.C (fill): handle empty paragraphs better.
5796
5797 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5798
5799         * ispell.C:
5800         * encoding.h: add includes
5801
5802         * lyxrc.C: remove reading of bind files
5803
5804         * lyx_main.C (init): setup bindings and menus only if we have a
5805         gui.
5806
5807         * kbmap.C (read): new method. Do the actual reading of bind
5808         files.
5809
5810         * converter.C (dvipdfm_options):
5811         * bufferparams.C:
5812         * lyxrc.C (read):
5813         (output): adapt PAPER_* enums.
5814
5815         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5816
5817         * bufferparams.h: remove paper-related enums from there
5818
5819         * paper.h: New file. A trivial header file to hold paper-related
5820         enums. It should later expand to contain many paper-related
5821         horrors access.
5822
5823         * lyxrc.C: declare extern displayTranslator
5824
5825 2003-07-27  José Matos  <jamatos@fep.up.pt>
5826
5827         * tabular.[Ch] (linuxdoc): add support for tables and figures
5828         (linuxdoc).
5829
5830 2003-07-27  José Matos  <jamatos@fep.up.pt>
5831
5832         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5833         consistency in both functions.
5834         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5835
5836 2003-07-26  Asger Alstrup  <alstrup@local>
5837
5838         * rowpainter.C (paintRows): Change algorithm to work directly on
5839         the insets rather than asking every character in the document
5840         whether its an inset.
5841
5842 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5843
5844         * buffer.C (openFileWrite): factorize some code
5845
5846 2003-07-26  Angus Leeming  <leeming@lyx.org>
5847
5848         * lyx_cb.C:
5849         * lyx_main.[Ch]: replace occurances of system_tempdir with
5850         os::getTmpDir().
5851
5852 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5853
5854         * rename Inset to InsetOld
5855
5856 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5857
5858         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5859         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5860         which I think is a bit clearer. EDIT is gone, since it was
5861         premature optimisation, and broken for mathed anyway.
5862         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5863         with cursor positioning in insets as well (math insets still do not
5864         work, but that's a different story anyway.) It mysteriously
5865         crashes sometimes with undo in the first paragraph, but I'm fairly
5866         confident that this is a compiler bug.
5867
5868 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5869
5870         * paragraph.C (Paragraph): adjust for new clone return type
5871         (operator==): ditto
5872         (copyIntoMinibuffer): ditto
5873
5874 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5875
5876         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5877         by not having a special case, and always doing a full rebreak of
5878         the document after undo.
5879
5880 2003-07-23  Angus Leeming  <leeming@lyx.org>
5881
5882         * factory.C (createInset): InsetExternal::setParams now takes a
5883         Buffer const * arg.
5884
5885 2003-07-23  Angus Leeming  <leeming@lyx.org>
5886
5887         * factory.C (createInset): changed interface to the external and
5888         graphics mailers' string2params functions.
5889
5890 2003-07-23  Angus Leeming  <leeming@lyx.org>
5891
5892         * factory.C (createInset): pass a
5893         Buffer const * parameter to InsetExternalMailer's string2params.
5894
5895 2003-07-22  John Levon  <levon@movementarian.org>
5896
5897         * Thesaurus.h: include the right aiksaurus header
5898
5899 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5900
5901         * MenuBackend.C (expand): check menu shortcuts unconditionally
5902
5903 2003-07-21  Angus Leeming  <leeming@lyx.org>
5904
5905         * factory.C (createInset): pass a
5906         buffer_path parameter to InsetGraphicsMailer's string2params.
5907
5908 2003-07-21  Angus Leeming  <leeming@lyx.org>
5909
5910         * BufferView_pimpl.C (buffer):
5911         * buffer.C (d-tor):
5912         * lyx_main.C (LyX):
5913         * lyxfunc.C (dispatch):
5914         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5915         rather than the grfx shortcut.
5916
5917 2003-07-21  André Pönitz  <poenitz@gmx.net>
5918
5919         * rowpainter.C: remove unused variables
5920
5921         * tabular_funcs.C:
5922         * tabular_funcs.h: move to tabular.C
5923         * Makefile.am: adjust
5924
5925         * tabular.[Ch]: basic optical cleaning
5926
5927         * author.h: pass references, not values
5928
5929 2003-07-18  André Pönitz  <poenitz@gmx.net>
5930
5931         * lyxtext.h:
5932         * metricsinfo.C:
5933         * metricsinfo.h:
5934         * rowpainter.C:
5935         * text.C:
5936         * text2.C:
5937         * text3.C: two-phase drawing for InsetText and InsetTabular
5938         some float -> int changes.
5939
5940 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5941
5942         * lyx_main.C: fix the fix
5943
5944 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5945
5946         * lyx_main.C: fix a crash in batch mode if no files specified
5947         * converter.C: ws
5948
5949 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5950
5951         * format.[Ch] (papersize): moved to BufferParams
5952         * converter.[Ch] (dvips_options): moved to BufferParams
5953         (dvipdfm_options): moved to anon namespace
5954         * bufferparams.[Ch]: added above functions.
5955
5956 2003-07-17  André Pönitz  <poenitz@gmx.net>
5957
5958         * lyxtext.h:
5959         * rowpainter.C:
5960         * text2.C: don't call inset->update() anymore
5961
5962         * metricsinfo.[Ch]: add convenience constructor
5963
5964 2003-07-16  André Pönitz  <poenitz@gmx.net>
5965
5966         * lyxcursor.[Ch]:
5967         * lyxfunc.[Ch]:
5968         * text.C:
5969         * text2.C: replace the LyXCursor::irow_ member with
5970          on-demand computation of the value
5971
5972 2003-07-16  John Levon  <levon@movementarian.org>
5973
5974         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5975
5976 2003-07-15  André Pönitz  <poenitz@gmx.net>
5977
5978         * text.C:
5979         * text2.C: remove no more needed refresh_row
5980
5981 2003-07-15  André Pönitz  <poenitz@gmx.net>
5982
5983         * lyxtext.h:
5984         * rowpainter.C:
5985         * text2.C:
5986         * text3.C: refresh_status tristate -> need_update bool
5987
5988 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5989
5990         * lyxtext.h (init): remove reinit argument (act as if always true)
5991         * text2.C: adjust to that
5992
5993 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5994
5995         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5996         * text3.C: use it to delete selections in some cases
5997         (bugs 441, 673, 702, 954).
5998
5999 2003-07-14  André Pönitz  <poenitz@gmx.net>
6000
6001         * rowpainter.[Ch]: reduce interface
6002
6003 2003-07-14  André Pönitz  <poenitz@gmx.net>
6004
6005         * BufferView_pimpl.C:
6006         * text2.C: adjust after removing unused BufferView * argument
6007
6008 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6009
6010         * text2.C (init): fix a crash fired on resize
6011
6012 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6013
6014         * buffer.[Ch]: added new closing signal
6015         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6016         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6017         BufferView::Pimpl via the closing the signal
6018
6019 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6020
6021         * buffer.[Ch]: take out all bv-related from buffer
6022         * BufferView.C:
6023         * BufferView_pimpl.[Ch]: connect to new signals
6024         * CutAndPaste.C: removed useless asserts
6025         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6026         * lyxvc.[Ch]:
6027         * vc-backend.[Ch]:
6028         * lyxfunc.C: moved view-related funciontality from vc here
6029         * paragraph.C: removed outdated comments
6030         * text.C: ws
6031
6032 2003-07-10  André Pönitz  <poenitz@gmx.net>
6033
6034         * BufferView_pimpl.C:
6035         * tabular.h:
6036         * tabular_funcs.C:
6037         * text.C:
6038         * text2.C: remove InsetText::InnerCache, clean up consequences
6039
6040 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6041
6042         * ispell.C: fix two typos in error messages
6043
6044 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6045
6046         * Extend Note inset to other forms of annotation like Comment
6047         and Greyedout. Right button click gives dialog.
6048
6049         Files modified or added (+):
6050
6051         * insetnote.[Ch]
6052         * FormNote.[Ch]      +
6053         * ControlNote.[Ch]   +
6054         * form_note.fd       +
6055         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6056         frontends/controllers
6057         * xforms/Dialogs.C
6058         * factory.C
6059
6060 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6061
6062         * aspell.C: add missing namespace lyx::support
6063
6064 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6065
6066         * BufferView.[Ch] (newFile): Add
6067         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6068         * LaTeX.[Ch] (message): added this signal and use it
6069         * buffer.[Ch] (busy, message): added these signals and use them
6070         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6071         * converter.C:
6072         * exporter.C:
6073         * format.C:
6074         * importer.C: use buffer signals instead of direct bv calling
6075         * lyx_cb.[Ch] (ShowMessage): removed
6076         * lyx_main.C:
6077         * lyxfunc.C:
6078         * paragraph_funcs.C:
6079         * text2.C: use buffer signals
6080
6081 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6082
6083         * introduce namespace lyx::graphics
6084
6085 2003-07-02  André Pönitz  <poenitz@gmx.net>
6086
6087         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6088
6089 2003-07-01  André Pönitz  <poenitz@gmx.net>
6090
6091         * text.C:
6092         * text2.C:
6093         * text3.C:
6094         * text_funcs.[Ch]:
6095         * textcursor.h:
6096         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6097           text*.C to text_func.C
6098
6099 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6100
6101         * introduce namespace lyx::support
6102
6103 2003-06-30  André Pönitz  <poenitz@gmx.net>
6104
6105         * Chktex.C:
6106         * funcrequest.C:
6107         * lyxtext.h:
6108         * text.C: re-enable --with-included-string
6109
6110 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6111
6112         * textcursor.C: add <config.h>
6113
6114         * text.C (getWord): remove const from word_location arg
6115
6116         * lyxvc.C (getLogFile): fix const type order
6117
6118         * lyxtext.h: remove const from word_location arg, add arg name
6119
6120         * lyxlayout.h: currect type on labeltype.
6121
6122         * importer.C: correct \file
6123
6124         * converter.C (intToFormat): use std:: on ret val, ws changes
6125
6126         * bufferlist.h: correct \file
6127
6128         * buffer.C (makeLinuxDocFile): fix const type order
6129         (makeDocBookFile): ditto
6130         (fillWithBibKeys): use std:: on stdlib args.
6131
6132         * CutAndPaste.C: fix authors.
6133         (availableSelections): use std:: on return vector
6134
6135 2003-06-27  André Pönitz  <poenitz@gmx.net>
6136
6137         * BufferView_pimpl.C:
6138         * bufferview_funcs.C:
6139         * lyxcursor.C:
6140         * lyxcursor.h:
6141         * lyxfunc.C:
6142         * lyxtext.h:
6143         * rowpainter.C:
6144         * text.C:
6145         * text2.C:
6146         * text3.C: remove LyXCursor::row_ member
6147
6148         * lyxtext.h:
6149         * text.C: rename fullRebreak() to partialRebreak() and implement
6150           a fullRebreak() that really bereks fully
6151
6152         * textcursor.h: new struct for cursor-related data
6153
6154 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6155
6156         * lyx_main.C (LyX): get full path of document loaded on the
6157         command line
6158
6159 2003-06-26  André Pönitz  <poenitz@gmx.net>
6160
6161         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6162           remove unused/broken operator>,<,>=.
6163
6164         *       text.C: remove only use of broken operator<= in an Assert().
6165
6166 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6167
6168         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6169         moved errorlist_.clear to showErrorList
6170
6171 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6172
6173         * converter.C (scanLog, runLaTeX):
6174         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6175         move the bv->showErrorList call to the callers
6176         * lyxfunc.C: i.e. here...
6177         * text2.C: and here
6178         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6179         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6180         namespace, the second to...
6181         * buffer_funcs (BufferFormat, parseErrors): added
6182         * errorlist.C (ErrorList(TeXErrors const &)): removed
6183
6184 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6185
6186         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6187
6188 2003-06-24  "Garst R. Reese" <reese@isn.net>
6189
6190         * debug.C: fix typo
6191
6192 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6193
6194         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6195
6196         * version.C.in: change docversion to 1.4
6197
6198 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6199
6200         * buffer.C: fix a bug just introduced
6201
6202 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6203
6204         * buffer.[Ch]: added the parseError signal and use it, removed
6205         sgmlError
6206         * BufferView.[Ch] (addError): moved to ...
6207         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6208         to the Buffer::parseError signal to catch (guess what) parse errors
6209         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6210
6211 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6212
6213         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6214         ability to create a buffer and to return an existing one from
6215         the list. Moved these functions to...
6216         * buffer_funcs.[Ch]: added
6217         * BufferView.[Ch] (loadLyXFile): added
6218         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6219         job removed from bufferlist::loadLyXFile.
6220         * buffer.C (setReadOnly): make it work without view
6221         (i.e added an if (users))
6222
6223 2003-06-19  Angus Leeming  <leeming@lyx.org>
6224
6225         * lfuns.h:
6226         * LyXAction.C (init):
6227         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6228         with LFUN_DIALOG_SHOW <name> <data>.
6229
6230 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6231
6232         * CutAndPaste.C (availableSelections): small compilation fix for
6233         ancient (gcc 2.9x) compilers
6234
6235 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * text3.C (cursorNext): add tmp var
6238
6239         * text2.C (updateCounters): for function calling out of for clause
6240         (replaceSelectionWithString): ditto
6241         (insertStringAsParagraphs): ditto
6242         (getColumnNearX): add tmp var
6243         (setCursorFromCoordinates): add tmp var
6244         (cursorDownParagraph): add tmp var
6245         (deleteEmptyParagraphMechanism): add tmp var
6246
6247         * text.C (insertChar): add tmp var
6248
6249         * rowpainter.C (paintDepthBar): add tmp var
6250
6251         * CutAndPaste.C (availableSelections): potentially check all
6252         paragraphs in a cut to fill the shown strings.
6253
6254 2003-06-18  André Pönitz  <poenitz@gmx.net>
6255
6256         * kbmap.[Ch]: use vector<> instead of list<>
6257
6258 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6259
6260         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6261         pasteSelection with index
6262
6263         * text2.C (pasteSelection): modify, call pasteSelection with index
6264
6265         * paragraph.C (asString): reimplement version with no interval to
6266         call the one with interval.
6267
6268         * lyxtext.h: add index arg to pasteSelection
6269
6270         * MenuBackend.C (MenuItem): handle PasteRecent
6271         (Menu::read::Menutags): add md_pasterecent
6272         (read): handle it
6273         (expandPasteRecent): new function
6274         (expand): use it
6275
6276         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6277
6278         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6279         the limited stack
6280         (availableSelections): new function
6281
6282 2003-06-17  Angus Leeming  <leeming@lyx.org>
6283
6284         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6285
6286 2003-06-17  Angus Leeming  <leeming@lyx.org>
6287
6288         * lfuns.h:
6289         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6290
6291         * lyxfunc.C (dispatch): invoke it.
6292
6293 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6294
6295         * iterators.C (operator++, ParPosition): reintroduce some
6296         const_cast for the benefit of older compilers.
6297
6298 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6299
6300         * text3.C (dispatch): do not modify clipboard when doing
6301         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6302         LFUN_DELETE_SKIP on a selection selection
6303
6304 2003-06-16  André Pönitz  <poenitz@gmx.net>
6305
6306         * BufferView.C:
6307         * buffer.C:
6308         * buffer.h:
6309         * paragraph.C:
6310         * tabular.[Ch]: IU of clone() and getLabelList();
6311
6312 2003-06-13  André Pönitz  <poenitz@gmx.net>
6313
6314         * tabular.h: compactification
6315
6316 2003-06-12  André Pönitz  <poenitz@gmx.net>
6317
6318         * tabular.C:
6319         * tabular.h:
6320         * tabular_funcs.h: some renaming plus whitespace
6321
6322 2003-06-12  André Pönitz  <poenitz@gmx.net>
6323
6324         * BufferView.C:
6325         * BufferView_pimpl.C:
6326         * CutAndPaste.C:
6327         * buffer.C:
6328         * iterators.[Ch]:
6329         * lyxfunc.C:
6330         * text.C:
6331         * toc.C: Return a Paragraph & for ParIterator::operator*()
6332
6333 2003-06-11  John Levon  <levon@movementarian.org>
6334
6335         * lyx_main.C:
6336         * ToolbarBackend.h:
6337         * ToolbarBackend.C: add "Toolbars" section and
6338         put the flags there
6339
6340 2003-06-10  Angus Leeming  <leeming@lyx.org>
6341
6342         * lfuns.h:
6343         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6344
6345         * lyxfunc.C (dispatch): invoke it.
6346
6347 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6348
6349         * main.C: protect <ios> with HAVE_IOS
6350         (main): protect sync_with_stdio with HAVE_IOS
6351
6352 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6353
6354         * text2.C (cutSelection): adjust
6355         (pasteSelection): adjust
6356
6357         * messages.C: handle get of empty string
6358
6359         * main.C (main): use sync_with_stdio(false)
6360
6361         * lyxfunc.C (dispatch): adjust
6362
6363         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6364         (WriteAs): remove unneeded BufferView arg.
6365
6366         * bufferparams.h: use correct types on papersize, papersize2 and
6367         paperpackage.
6368
6369         * bufferparams.C (readToken): adjust for type
6370         (writeLaTeX): add missing cases to switch.
6371
6372         * bufferlist.C (quitWriteBuffer): adjust
6373         (close): adjust
6374
6375         * buffer.C (asciiParagraph): remove some commented code.
6376
6377         * CutAndPaste.C: remove current_view extern variable.
6378         (cutSelection): add BufferParams arg.
6379         (eraseSelection): add BufferParams arg.
6380         (pasteSelection): add Buffer const & arg
6381
6382 2003-06-07  John Levon  <levon@movementarian.org>
6383
6384         * buffer.C:
6385         * paragraph_funcs.C:
6386         * paragraph_pimpl.C:
6387         * text.C:
6388         * text2.C:
6389         * paragraph.h:
6390         * paragraph.C: allow InsetERT to freely space lines,
6391         and some consolidation of code
6392
6393 2003-06-06  José Matos  <jamatos@fep.up.pt>
6394
6395         * buffer.C (makeDocBookFile): fix bug #821
6396
6397 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6398
6399         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6400
6401 2003-06-04  Angus Leeming  <leeming@lyx.org>
6402
6403         * buffer.C: bump format to 224.
6404
6405 2003-06-05  André Pönitz  <poenitz@gmx.net>
6406
6407         * text2.C (redoParagraphs): remove two const_cast<>
6408
6409 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6410
6411         * ParagraphList.h: remove last remnants of NO_STD_LIST
6412
6413 2003-06-03  Angus Leeming  <leeming@lyx.org>
6414
6415         * factory.C (createInset): small change to the way InsetExternal's params
6416         are set.
6417
6418 2003-06-04  André Pönitz  <poenitz@gmx.net>
6419
6420         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6421
6422         * paragraph_pimpl.h:
6423         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6424
6425         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6426
6427         * undo_funcs.C: make some simple cases of undo work again
6428
6429 2003-06-03  John Levon  <levon@movementarian.org>
6430
6431         * ispell.C: HPUX doesn't have sys/select.h
6432         (from Albert Chin)
6433
6434 2003-06-03  John Levon  <levon@movementarian.org>
6435
6436         * CutAndPaste.C: update tabular and include inset
6437         buffer references
6438
6439         * buffer.h:
6440         * paragraph.h:
6441         * paragraph.C: remove owningBuffer(), don't pass Buffer
6442         to clone()
6443
6444         * factory.C: insetGraphicsParams changed
6445
6446 2003-06-02  John Levon  <levon@movementarian.org>
6447
6448         * LyXAction.C:
6449         * factory.C:
6450         * lfuns.h:
6451         * lyxfunc.C:
6452         * text3.C: remove insetparent
6453
6454 2003-06-02  John Levon  <levon@movementarian.org>
6455
6456         * buffer.h:
6457         * buffer.C: fix inset_iterator.end(), move out of line
6458         (bug 1149)
6459
6460 2003-06-01  John Levon  <levon@movementarian.org>
6461
6462         * text3.C: use a proper cut/paste when doing inset
6463         insert (from Jürgen Spitzmüller)
6464
6465 2003-06-01  John Levon  <levon@movementarian.org>
6466
6467         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6468
6469 2003-05-30  André Pönitz  <poenitz@gmx.net>
6470
6471         * rowpainter.C: unify second drawing phase
6472
6473 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6474
6475         * trans_mgr.C: remove one case of current_view
6476
6477         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6478
6479         * paragraph_funcs.h: remove paragraph.h include
6480
6481         * paragraph.h: delete NO_STD_LIST stuff
6482
6483         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6484
6485         * buffer.h: remove paragraph.h include
6486
6487         * ParagraphList.C: delete file
6488
6489         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6490
6491         * toc.C (getTocList): adjust
6492
6493         * paragraph_pimpl.C (validate): adjust
6494
6495         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6496
6497         * paragraph.C (Paragraph): adjust
6498         (getPositionOfInset): use const_iterator, adjust
6499         (bibitem): use const_iterator, adjust
6500         (setInsetOwner): adjust
6501
6502         * iterators.C (operator++): adjust
6503
6504         * InsetList.[Ch]: Replace selfmade iterator with standard
6505         vector::iterator also introduce const_iterator. Remove getPos,
6506         getInset and setInset from InsetTable. Adjust accordingly.
6507
6508         * BufferView.C (lockInset): adjust
6509         (ChangeInsets): adjust
6510
6511         * tabular.[Ch]: delete commented same_id functions
6512
6513 2003-05-28  John Levon  <levon@movementarian.org>
6514
6515         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6516
6517 2003-05-28  André Pönitz  <poenitz@gmx.net>
6518
6519         * metricsinfo.[Ch]: remove 'fullredraw' member
6520
6521 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6522
6523         * lyxtextclass.C (operator): remove caching.
6524
6525 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6526
6527         * text3.C: adjust
6528
6529         * text2.C (cursorBottom): adjust
6530         (setCounter): use ParagraphList::find, adjust
6531
6532         * text.C (workWidth): use ParagraphList::find, adjust
6533
6534         * lyxcursor.C (LyXCursor): adjust
6535
6536         * buffer.C (inset_iterator): adjust
6537
6538         * ParagraphList.h: make iterator(value_type) private, make
6539         ParagraphList a friend of iterator.
6540
6541         * ParagraphList.C (find): new function
6542
6543         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6544
6545 2003-05-27  André Pönitz  <poenitz@gmx.net>
6546
6547         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6548
6549 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6550
6551         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6552
6553 2003-05-26  John Levon  <levon@movementarian.org>
6554
6555         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6556
6557 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6558
6559         * remove same_id from function signatures, adjust.
6560
6561 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6562
6563         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6564
6565         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6566
6567         * paragraph.C (Paragraph): get rid of same_ids parameter
6568
6569         * ParagraphList.C (insert): adjust
6570         (push_back): adjust
6571
6572 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6573
6574         * paragraph_funcs.C (breakParagraph): adjust
6575         (breakParagraphConservative): adjust
6576
6577         * buffer.C (readParagraph): adjust
6578
6579         * ParagraphList.C (insert): take a reference instead of a pointer
6580         (insert): adjust
6581
6582         * paragraph.[Ch] (id): new function
6583
6584         * bufferlist.C (newFile): adjust
6585
6586         * ParagraphList.C (ParagraphList): adjust
6587         (assign): adjust
6588         (push_back): take a reference instead of a pointer.
6589
6590         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6591
6592         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6593         instead.
6594
6595         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6596         set else use old code.
6597
6598         * ParagraphList.C: remove all NO_NEXT code and only compile this
6599         code of NO_STD_LIST is set.
6600
6601 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6602
6603         * BufferView_pimpl.C:
6604         * TextCache.C:
6605         * TextCache.h:
6606         * bufferlist.C:
6607         * errorlist.h:
6608         * format.C:
6609         * format.h:
6610         * graph.C:
6611         * lyxfunc.C:
6612         * lyxrc.C:
6613         * graphics/GraphicsConverter.C:
6614         * graphics/PreviewLoader.C: header adjustment
6615
6616 2003-05-23  Angus Leeming  <leeming@lyx.org>
6617
6618         * LaTeXFeatures.[Ch] (useBabel): new method.
6619         * bufferparams.C (writeLaTeX): use it.
6620
6621 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6622
6623         * ParagraphList.h (set): remove unused function.
6624
6625 2003-05-23  André Pönitz  <poenitz@gmx.net>
6626
6627         * BufferView.C:
6628         * BufferView_pimpl.C:
6629         * buffer.C:
6630         * buffer.h:
6631         * lyxfunc.C:
6632         * undo_funcs.C: setUndo reworked
6633
6634         * iterators.[Ch]: add access to topmost ParagraphList
6635
6636         * lyxtext.[Ch] (workWidth): add a const
6637
6638 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6639
6640         * texrow.[Ch] (increasePos): remove function
6641         * exporter.C (export): removed unused var and outdated comment
6642
6643 2003-05-23  Angus Leeming  <leeming@lyx.org>
6644
6645         * latexrunparams.h: rename fragile as moving_arg.
6646         * paragraph.C (simpleTeXOnePar): ditto.
6647         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6648
6649 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6650
6651         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6652         (createUndo): ditto
6653         (textUndoOrRedo): comment out a currently unused var.
6654
6655         * paragraph.h (NO_NEXT): enable NO_NEXT
6656
6657         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6658
6659         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6660
6661         * exporter.C (Export): adjust for removeAutoInsets removal.
6662
6663         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6664
6665         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6666
6667         * BufferView.[Ch] (removeAutoInsets): delete function
6668
6669 2003-05-22  Angus Leeming  <leeming@lyx.org>
6670
6671         * latexrunparams.h: add a free_spacing variable.
6672
6673         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6674         to pass moving_arg, as the data is stored in runparams.fragile.
6675
6676         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6677         to Inset::latexOptional or to simpleTeXOnePar.
6678
6679         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6680         free_spacing arg to Inset::latexOptional.
6681
6682         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6683         free_spacing arg.
6684
6685 2003-05-22  Angus Leeming  <leeming@lyx.org>
6686
6687         * latexrunparams.h: add fragile and use_babel variables.
6688
6689         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6690         * buffer.C (makeLaTeXFile): store this returned value in
6691         runparams.use_babel, thus passing it to the inset::latex methods.
6692
6693         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6694         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6695
6696         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6697         longer has a fragile arg, as it is stored in runparams.fragile.
6698
6699         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6700         moving_arg parameter as the data is stored in runparams.fragile.
6701
6702         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6703         a fragile parameter as the data is stored in runparams.fragile.
6704
6705 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6706
6707         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6708
6709 2003-05-22  Angus Leeming  <leeming@lyx.org>
6710
6711         * latexrunparams.h: add a 'bool nice' which defaults to false.
6712
6713         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6714         now encapsulated within runparams.
6715
6716         * bufferlist.C (updateIncludedTeXfiles):
6717         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6718
6719 2003-05-22  Angus Leeming  <leeming@lyx.org>
6720
6721         * latexrunparams.h: new file containing struct LatexRunParams.
6722         * Makefile.am: add new file.
6723
6724         * LaTeX.[Ch] (c-tor, run):
6725         * buffer.[Ch] (makeLaTeXFile):
6726         * bufferlist.[Ch] (updateIncludedTeXfiles):
6727         * converter.C (convert, scanLog):
6728         * converter.[Ch] (runLaTeX):
6729         * exporter.C (Export):
6730         * paragraph.[Ch] (simpleTeXOnePar):
6731         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6732         * paragraph_funcs.[Ch] (latexParagraphs):
6733         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6734         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6735         pass around a LatexRunParams parameter.
6736
6737 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6738
6739         * paragraph.[Ch]: remove unused constructor
6740
6741         * ParagraphList.C (erase): new function, taking two iterators
6742
6743 2003-05-22  André Pönitz  <poenitz@gmx.net>
6744
6745         * undo_funcs.C: remove duplicated code
6746
6747         * iterator.[Ch]: operator=
6748
6749 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6750
6751         * tabular.C (SetMultiColumn): ws changes
6752
6753         * rowpainter.C (paintFirst): get rid of a ->previous
6754
6755         * lyx_cb.C (getPossibleLabel): parlist simplification
6756
6757         * BufferView.C (ChangeInsets): simplify slightly.
6758
6759 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6760
6761         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6762         * lfuns.h: new LFUN_SPACE
6763         * lyxfunc.C: protected space has a new lfun
6764         * paragraph_funcs.C: read new space insets
6765         * text3.C:
6766         * factory.C: handle new space insets
6767
6768 2003-05-22  André Pönitz  <poenitz@gmx.net>
6769
6770         * BufferView.C:
6771         * BufferView_pimpl.C:
6772         * buffer.[Ch]:
6773         * lyxfunc.C:
6774         * undo_funcs.C: return a ParIterator from getParFromID.
6775
6776         * iterators.[Ch]: add two const's
6777
6778 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6779
6780         * toc.C (getTocList): adjust
6781
6782         * iterators.[Ch]: rework for parlist
6783
6784         * buffer.C (par_iterator_begin): adjust
6785         (par_iterator_end): adjust
6786
6787         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6788
6789         * BufferView.C (removeAutoInsets): adjust
6790         (ChangeInsets): adjust
6791
6792 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6793
6794         * text.C (top_y): fix bug 1110
6795
6796 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6797
6798         * errorlist.[Ch]: added
6799         * buffer.C:
6800         * BufferView.[Ch]:
6801         * BufferView_pimpl.C:
6802         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6803         instead
6804
6805 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6806
6807         * Makefile.am: ensure that lyx is relinked upon changes to the
6808         various "convenience" libs.
6809
6810 2003-05-20  Angus Leeming  <leeming@lyx.org>
6811
6812         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6813         files are compiled in alphabetical order again.
6814
6815         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6816
6817 2003-05-19  Angus Leeming  <leeming@lyx.org>
6818
6819         * gettext.[Ch]: remove "char const * _(char const *)".
6820
6821 2003-05-19  André Pönitz  <poenitz@gmx.net>
6822
6823         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6824
6825         * Makefile.am:
6826         * BufferView.C:
6827         * DepTable.h:
6828         * LaTeXFeatures.C:
6829         * buffer.C:
6830         * lyxfont.C:
6831         * lyxlex.h:
6832         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6833
6834 2003-05-19  André Pönitz  <poenitz@gmx.net>
6835
6836         * buffer.C:
6837         * lyxlayout.[Ch]:
6838         * lyxtextclass.[Ch]:
6839         * paragraph.C:
6840         * paragraph_funcs.[Ch]:
6841         * text2.C:
6842         * text3.C: more insetenv work
6843
6844 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6845
6846         * ParagraphParameters.C (params2string): small bug fixed
6847
6848 2003-05-16  André Pönitz  <poenitz@gmx.net>
6849
6850         * debug.C:
6851         * bufferview_funcs.C: patch from Kornel Benko to prevent
6852           crash when _(...) is called twice in a statement
6853
6854 2003-05-16  André Pönitz  <poenitz@gmx.net>
6855
6856         * BufferView.C:
6857         * lyxfunc.C:
6858         * text.C:
6859         * text2.C:
6860         * text3.C:
6861         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6862
6863 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6864
6865         * lyx_main.C (init): remove spurious static_cast
6866
6867 2003-05-14  André Pönitz  <poenitz@gmx.net>
6868
6869         * BufferView.C: fix format string
6870
6871 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6872
6873         * BufferView.[Ch] (insertErrors): removed
6874         * BufferView.[Ch] (showErrorList): added
6875         * buffer.C (runChkTeX):
6876         * converter.C (scanLog): call showErrorList instead of inserterrors
6877
6878 2003-05-13  André Pönitz  <poenitz@gmx.net>
6879
6880         * BufferView_pimpl.C:
6881         * buffer.C:
6882         * bufferview_func.C:
6883         * MenuBackend.C:
6884         * lyxfunc.C:
6885         * lyxrc.C:
6886         * tex-accent.C:
6887         * text3.C:
6888         * toc.C:
6889         * tabular_funcs.h: tostr() from its own header
6890
6891         * ParagraphParameters.C:
6892         * ToolbarBackend.C:
6893         * bufferparams.C:
6894         * format.C:
6895         * lyxlex_pimpl.C:
6896         * text3.C: STRCONV()
6897
6898 2003-05-12  André Pönitz  <poenitz@gmx.net>
6899
6900         * BufferView.C:
6901         * BufferView_pimpl.C:
6902         * CutAndPaste.C:
6903         * LaTeX.C:
6904         * LaTeXFeatures.C:
6905         * ParagraphParameters.C:
6906         * buffer.C:
6907         * bufferlist.C:
6908         * bufferparams.C:
6909         * bufferview_funcs.C:
6910         * converter.C:
6911         * counters.C:
6912         * debug.C:
6913         * exporter.C:
6914         * format.C:
6915         * importer.C:
6916         * lyx_cb.C:
6917         * lyx_main.C:
6918         * lyxfont.C:
6919         * lyxfunc.C:
6920         * lyxvc.C:
6921         * paragraph.C:
6922         * paragraph_funcs.C:
6923         * tabular.C:
6924         * tabular_funcs.C:
6925         * text2.C:
6926         * text3.C:  boost::format -> bformat  all over the place
6927
6928
6929 2003-05-09  André Pönitz  <poenitz@gmx.net>
6930
6931         * LColor.[Ch]: Pimpl the #include <map> away
6932
6933 2003-05-09  John Levon  <levon@movementarian.org>
6934
6935         * bufferlist.C: never remove emergency saves
6936
6937 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6938
6939         * Makefile.am: better lib building
6940
6941 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6942
6943         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6944         instead.
6945         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6946         (simpleTeXSpecialChars): adjust
6947         (simpleTeXSpecialChars): adjust
6948         * paragraph.C (simpleTeXOnePar): adjust
6949         * buffer.C (makeLaTeXFile): adjust
6950
6951         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6952
6953         * text2.C (changeDepth): parlist cleanup
6954         (getColumnNearX): ditto
6955
6956         * rowpainter.C (getLabelFont): parlist cleanup
6957
6958         * bufferlist.C (newFile): parlist cleanup
6959
6960         * CutAndPaste.C (eraseSelection): parlist cleanup
6961
6962         * BufferView_pimpl.C (trackChanges): parlist cleanup
6963         (dispatch): ditto
6964
6965         * BufferView.C (lockInset): parlist cleanup.
6966         (ChangeInsets): ditto
6967
6968 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6969
6970         * CutAndPaste.h: Update file header.
6971
6972         * CutAndPaste.C: Update file header.
6973         Store the parts cut out of the Document in a limited_stack.
6974         (copySelection): adjust
6975         (pasteSelection): new function, takes the index in the limited stack.
6976         (nrOfParagraphs): adjust
6977         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6978         simplify error inset insertion.
6979         (checkPastePossible): adjust
6980
6981 2003-05-06  John Levon  <levon@movementarian.org>
6982
6983         * text2.C: don't cast wrap inset to float
6984
6985 2003-05-05  André Pönitz  <poenitz@gmx.net>
6986
6987         * iterator.C:
6988         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6989
6990         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6991           few naked Paragraph *.
6992
6993 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6994
6995         * bufferparams.C: Output warning if a document with missing
6996         TeX document class is loaded
6997         * exporter.C: Disable TeX exports if the document class is missing
6998         * lyxtextclass.C:
6999         * lyxtextclass.h:
7000         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7001         isTeXClassAvailable()
7002
7003 2003-05-03  John Levon  <levon@movementarian.org>
7004
7005         * BufferView.h:
7006         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7007         explicit cursor show/hide
7008
7009         * BufferView_pimpl.h:
7010         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7011         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7012
7013         * lyxfunc.C: hide cursor before dispatching.
7014
7015         * lyx_cb.C:
7016         * lyxfind.C:
7017         * text.C:
7018         * text3.C: remove explicit cursor hides
7019
7020 2003-05-02  André Pönitz  <poenitz@gmx.net>
7021
7022         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7023
7024         * undo_funcs.C:
7025         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7026           linked lists
7027
7028         * text2.C: tiny whitespace
7029
7030 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7031
7032         * undo_funcs.C: almost only ws changes.
7033
7034         * ParagraphList.C (splice): just return if pl is empty.
7035
7036 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7037
7038         * ParagraphList.C (splice): new function.
7039
7040         * CutAndPaste.C (pasteSelection): use it
7041
7042 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7043
7044         * CutAndPaste.C (pasteSelection): remove the last next and
7045         previous from this file.
7046
7047 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7048
7049         * CutAndPaste.C (pasteSelection): more clean up, user proper
7050         ParagraphList functions for pasteing.
7051
7052         * ParagraphList.C (insert): new function, three arg insert
7053
7054 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7055
7056         * ParagraphList.C (insert): new function, three arg insert
7057
7058         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7059         not on paragraphs.
7060
7061 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7062
7063         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7064
7065 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7068
7069 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7072         (copySelection): clean up a bit.
7073         (pasteSelection): use make_pair
7074
7075         * ParagraphList.C (ParagraphList): implement copy constructor
7076         (operator=): implement, base on copy constructor.
7077         (assign): new func
7078
7079         * paragraph.C (erase): return a bool
7080
7081         * paragraph_pimpl.C (erasePos): remove function, move contents...
7082         (erase): ... here. Return a bool.
7083         (erase): call erase instead of erasePos.
7084
7085 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7086
7087         * ParagraphList.h: define PitPosPair
7088         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7089         ParagraphList, fix a bug on pasting multiple pars
7090         * text2.C: change interface to C&P
7091
7092 2003-04-30  André Pönitz  <poenitz@gmx.net>
7093
7094         * undo_func.C: revert part of yesterday's patch 2
7095
7096 2003-04-30  John Levon  <levon@movementarian.org>
7097
7098         * LColor.C: s/tabular/table/
7099
7100 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7101
7102         * text3.C (dispatch): do not convert iterator -> pointer
7103         * undo_funcs.C (setCursorParUndo): ditto
7104         * text_funcs.C (transposeChars): ditto
7105
7106         * text2.C (setLayout): ws changes only
7107
7108         * text.C (breakParagraph): do not convert iterator -> pointer
7109         (insertChar): ditto
7110         (acceptChange): ditto
7111         (rejectChange): ditto
7112         (changeCase): ditto
7113         (Delete): ditto
7114         (backspace): ditto
7115
7116         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7117         pointer
7118
7119 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7120
7121         * text3.C (gotoInset): YABG (yet another bad getChar)
7122
7123 2003-04-29  André Pönitz  <poenitz@gmx.net>
7124
7125         * paragraph.h: make operator= private unimplemented as long as
7126           it is unusable
7127
7128         * ParagraphList.C: whitespace
7129
7130         * paragraph.[Ch]:
7131         * paragraph_pimpl.[Ch]:
7132         * paragraph_funcs.C:
7133         * CutAndPaste.C:
7134         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7135
7136         * text2.C:
7137           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7138
7139 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7140
7141         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7142         * paragraph.[Ch] (erase):
7143         * paragraph_pimpl.[Ch] (erase): change return type and value
7144         * text2.C (cutSelection): some rework
7145
7146 2003-04-28  John Levon  <levon@movementarian.org>
7147
7148         * bufferlist.C: changes for unsaved changes dialog
7149
7150 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7151
7152         * bufferlist.C (newFile): set language (messages_) for new
7153         documents also.
7154
7155         * buffer.C (readFile): ws changes only.
7156
7157 2003-04-28  André Pönitz  <poenitz@gmx.net>
7158
7159         * undo_funcs.C:
7160         * lyxfunc.C:
7161         * buffer.[Ch]:
7162         * BufferView_pimpl.C:
7163         * BufferView.C: getParFromID related ParagraphList::iterator changes
7164
7165 2003-04-28  André Pönitz  <poenitz@gmx.net>
7166
7167         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7168           Changes
7169
7170 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7171
7172         * messages.C: remove one more localedir class variable.
7173
7174 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7175
7176         * messages.C (getLocaleDir): singleton generation function
7177         (Pimpl): use it.
7178         (Messages): add a default constructor.
7179
7180         * main.C (main): do not setup localedir here, do not call
7181         gettext_init.
7182
7183         * gettext.C (_): use it.
7184         (gettext_init): delete funciton
7185
7186 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7187
7188         * gettext.C (getLyXMessages): new singleton generating function.
7189
7190         * buffer.C (updateDocLang): adjust
7191
7192         * Makefile.am (messages.o): add target
7193         (main.o): remove target
7194
7195 2003-04-27  John Levon  <levon@movementarian.org>
7196
7197         * bufferlist.C:
7198         * lyx_cb.C:
7199         * lyxfunc.C:
7200         * lyxvc.C: specify cancel button in Alert::prompt
7201
7202 2003-04-26  John Levon  <levon@movementarian.org>
7203
7204         * text3.C:
7205         * lyxfunc.C:
7206         * lfuns.h:
7207         * LyXAction.C: add LFUN_INSET_SETTINGS
7208
7209         * lyxfunc.C: don't enable tabular-feature when there's
7210         just any locking inset
7211
7212 2003-04-26  John Levon  <levon@movementarian.org>
7213
7214         * bufferlist.C: re-add Cancel to buffer close question
7215
7216         * lyxfunc.C: fix import UI a bit
7217
7218 2003-04-25  John Levon  <levon@movementarian.org>
7219
7220         * gettext.C: remove the broken asserts for now
7221
7222 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7223
7224         * messages.C: make case where setlocale cannot comply work better.
7225
7226         * buffer.C (updateDocLang): new function
7227         (changeLanguage): use it
7228         (readFile): use it
7229
7230         * text2.C (setCounter): use B_ a bit.
7231
7232         * lyxlayout.C (Read): be sure to trim the label strings.
7233
7234         * messages.C (Messages): fix typo in comment
7235
7236         * buffer.C (readFile): set message_ after file is loaded.
7237         (makeDocBookFile): remove double return
7238         (changeLanguage): reset message_ upon language change.
7239         (B_): new func, use this to get translated buffer strings.
7240
7241         * main.C: add myself and Jean Marc as authors.
7242
7243 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7244
7245         * messages.[hC]: pimplify Messages, and three different pimpls to be
7246         used in different circumstances.
7247
7248         * gettext.[Ch]: change for use with new message code.
7249
7250 2003-04-24 André Pönitz <poenitz@gmx.net>
7251
7252         * factory.C: support for eqref
7253
7254 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7255
7256         * messages.[Ch]: add missing char
7257
7258         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7259
7260         * messages.[Ch]: New files
7261
7262 2003-04-18  John Levon  <levon@movementarian.org>
7263
7264         * BufferView.h:
7265         * BufferView.C:
7266         * BufferView_pimpl.C:
7267         * lfuns.h:
7268         * LyXAction.C:
7269         * lyxtext.h:
7270         * text2.C: remove layout-copy/paste (bug 778)
7271
7272 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7273
7274         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7275
7276 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7277
7278         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7279         if they succeed. Act accordingly.
7280
7281 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7282
7283         * text2.C (setCharFont): adjust
7284         (setCounter): adjust
7285         (insertStringAsLines): adjust
7286
7287         * text.C (leftMargin): adjust
7288         (setHeightOfRow): adjust
7289
7290         * rowpainter.C (paintFirst): adjust
7291         (paintLast): adjust
7292
7293         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7294         (outerHook): ditto
7295         (isFirstInSequence): ditto
7296         (getEndLabel): ditto
7297         (outerFont): adjust
7298
7299         * paragraph.C (getParLanguage): comment out some hard stuff.
7300
7301         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7302         (sgmlError): ditto
7303         (simpleDocBookOnePar): ditto
7304         (makeDocBookFile): use ParagraphList::iterator
7305
7306         * CutAndPaste.C (pasteSelection): adjust
7307
7308 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7309
7310         * text2.C (getFont): adjust
7311         (getLayoutFont): adjust
7312         (getLabelFont): adjust
7313
7314         * paragraph_funcs.C (TeXOnePar): adjust
7315
7316         * buffer.C (simpleLinuxDocOnePar): adjust
7317         (simpleDocBookOnePar): adjust
7318
7319         * CutAndPaste.C (pasteSelection): adjust
7320
7321         * BufferView.C (getEncoding): adjust
7322
7323         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7324
7325 2003-04-16  John Levon  <levon@movementarian.org>
7326
7327         * lyxfind.C: use parlist stuff for search/changes
7328
7329 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7330
7331         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7332
7333         * text2.C (deleteEmptyParagraphMechanism): adjust
7334
7335         * text2.[Ch] (ownerParagraph): delete func (both of them
7336
7337 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7338
7339         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7340
7341 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7342
7343         * ParagraphList.C: prepare for NO_NEXT
7344
7345 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7346
7347         * text2.C (getFont): adjust
7348         (getLayoutFont): adjust
7349         (getLabelFont): adjust
7350
7351         * paragraph.C (getFont): adjust
7352         (getLabelFont): adjust
7353         (getLayoutFont): adjust
7354
7355         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7356
7357 2003-04-15  John Levon  <levon@movementarian.org>
7358
7359         From Angus Leeming
7360
7361         * lyx_main.C: handle Include in .ui files
7362
7363 2003-04-15  John Levon  <levon@movementarian.org>
7364
7365         * MenuBackend.C: make the doc files length shorter
7366
7367         * ToolbarBackend.h:
7368         * ToolbarBackend.C: handle toolbar placement flags,
7369         Minibuffer
7370
7371 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7372
7373         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7374         adjust
7375
7376         * paragraph_funcs.C (TeXOnePar): adjust
7377
7378         * paragraph.C (getLabelFont): add outerfont arg, adjust
7379         (getLayoutFont): ditto
7380         (simpleTeXOnePar): adjust
7381
7382         * paragraph_pimpl.C (realizeFont): delete func
7383
7384 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7385
7386         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7387         row argument, constify cur argument.
7388
7389 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7390
7391         * text2.C (getFont): adjust
7392         (getLayoutFont): adjust
7393         (getLabelFont): adjust
7394
7395         * paragraph_funcs.C (TeXOnePar): adjust
7396         (outerFont): new func...
7397         (realizeFont): ...moved out from here, changed this to facilitate
7398         transition
7399
7400         * paragraph.C (getFont): take outerfont as arg, adjust
7401         (simpleTeXOnePar): add outerfont arg, adjust
7402
7403         * buffer.C (simpleLinuxDocOnePar): adjust
7404         (simpleDocBookOnePar): adjust
7405
7406         * CutAndPaste.C (pasteSelection): adjust
7407
7408         * BufferView.C (getEncoding): adjust
7409
7410 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7411
7412         * text2.C (setCharFont): adjust
7413         (setCounter): adjust
7414
7415         * text.C (leftMargin): adjust
7416         (setHeightOfRow): adjust
7417
7418         * rowpainter.C (paintFirst): adjust
7419         (paintLast): adjust
7420
7421         * paragraph_pimpl.C (realizeFont): adjust
7422
7423         * paragraph.C (isFirstInSequence): move from here...
7424         * paragraph_funcs.C (isFirstInSequence): ...to here
7425
7426         * paragraph.C (outerHook): move from here...
7427         * paragraph_funcs.C (outerHook): ...to here
7428
7429         * paragraph.C (depthHook): move from here...
7430         * paragraph_funcs.C (depthHook): ...to here
7431
7432         * paragraph.C (getEndLabel): move from here...
7433         * paragraph_funcs.C (getEndLabel): ...to here
7434
7435         * text2.C (realizeFont): move from here...
7436         * paragraph_funcs.C (realizeFont): ...to here
7437
7438 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7439
7440         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7441
7442 2003-04-14  Angus Leeming  <leeming@lyx.org>
7443
7444         * LColor.[Ch]: scrap LColor mathcursor.
7445
7446 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7447
7448         * lyxlex.[Ch] (text): delete function
7449         * trans.C (Load): adjust
7450         * paragraph_funcs.C (readParToken): adjust
7451
7452 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7453
7454         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7455         vector<char> instead of a char[].
7456
7457         * lyxlex_pimpl.C (getString): adjust
7458         (next): adjust
7459         (lex): use getString
7460         (eatLine): adjust
7461         (nextToken): adjust
7462
7463         * lyxlex.C (text): use pimpl_->getString()
7464         (getBool): ditto
7465         (findToken): ditto
7466
7467 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7468
7469         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7470         (makeFontEntriesLayoutSpecific): temp var for par.size()
7471         (setLayout): temp var for ownerParagraphs().end()
7472         (fullRebreak): temp var for rows().end()
7473         (selectionAsString): temp var for boost::next(startpit), realize
7474         that the while really is a regular for loop.
7475         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7476         setCursor in one place.
7477         (setParagraph): temp vr for ownerParagraphs().end()
7478         (updateCounters): make the while loop a for loop
7479         (cutSelection): temp var for ownerParagraphs().end()
7480         (updateInset): make the do {} while() a regular for loop
7481         (getCursorX): use temp vars
7482         (setCurrentFont): use temp vars
7483         (getColumnNearX): use temp vars
7484
7485 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7486
7487         * text.C (transformChar): use temp var for getChar
7488         (computeBidiTables): use temp var for row->par()
7489         (fill): move temp vars for row->par() and pit->layout() earlier in
7490         the function.
7491         (labelFill): use temp var for row->par()
7492         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7493         asc and desc, realize that pit never changes and that firstpit is
7494         just a duplicate and not needed. Exchange rit->par() with pit in a
7495         lot of places.
7496         (breakAgain): use a temp var for boost::next(rit)
7497         (breakAgainOneRow): ditto
7498         (breakParagraph): use a temp var for rows().begin()
7499         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7500         (cursorRightOneWord): use temp var for cursor.par() and
7501         cursor.pos(), remove usage of tmpcursor.
7502         (cursorLeftOneWord): use temp var for cursor.par() and
7503         cursor.pos() only set cur at end of function.
7504
7505 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7506
7507         * text.C, text2.C: exchange all usage of Paragraph::next with
7508         boost::next(ParagraphList::iterator)
7509
7510         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7511
7512         * text2.C (cursorTop): simplify implementation
7513         (cursorBottom): ditto
7514         (setParagraph): use ParagraphList::iterator
7515         (setCurrentFont): adjust
7516         (getColumnNearX): adjust
7517         (cursorRight): adjust
7518         (cursorLeft): remove usage of Paragraph::previous
7519         (cursorUpParagraph): ditto
7520         (deleteEmptyParagraphMechanism): slight cleanup
7521
7522         * text.C (isBoundary): take a Paragraph const & instead of a
7523         pointer as arg.
7524         (addressBreakPoint): ditto
7525         (leftMargin): remove usage of Paragraph::previous.
7526         (setHeightOfRow): ditto
7527         (cursorLeftOneWord): ditto
7528         (selectNextWordToSpellcheck): ditto
7529         (Delete): ditto
7530         (backspace): ditto
7531         (breakParagraph): remove one usage of Paragraph::next
7532         (redoParagraph): ditto
7533         (acceptChange): ditto
7534         (insertChar): adjust
7535         (rowBreakPoint): adjust
7536
7537         * bufferview_funcs.C (toggleAndShow): adjust
7538
7539 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7540
7541         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7542         methods to access it.
7543         * lyxtext.h:
7544         * text.C: Added updateRowPositions to compute all row positions.
7545         Make top_y and getRowNearY() to use the cached y position
7546
7547 2003-04-11  John Levon  <levon@movementarian.org>
7548
7549         * text.C (rowBreakPoint): reintroduce the labelEnd
7550         checks, code copied from the row fill stuff. Deep voodoo.
7551
7552         * text.C (fill): add a comment and debugging for the
7553         next poor soul.
7554
7555 2003-04-11  John Levon  <levon@movementarian.org>
7556
7557         * text.C: make sure fullrow insets get wrapped to the next line,
7558         even when they're in a manual label
7559
7560 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7561
7562         * text2.C (insertParagraph): make it take ParagraphList::iterator
7563         as arg.
7564         (setLayout): make it return ParagraphList::iterator
7565         (redoParagraphs): ditto
7566         (setCounter): ditto
7567         (checkParagraph): ditto
7568
7569         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7570
7571         * text2.C: adjust several funcs.
7572         (realizeFont): take a ParagraphList::iterator as arg.
7573         (getLayoutFont): ditto
7574         (getLabelFont): ditto
7575         (setCharFont): ditto
7576
7577         * text.C: adjust several funcs.
7578
7579 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7580
7581         * text.C (selectNextWordToSpellcheck): don't accidentally
7582         skip insets
7583
7584 2003-04-10  John Levon  <levon@movementarian.org>
7585
7586         * ToolbarBackend.C (getIcon): special handling for
7587         LFUN_MATH_DELIM
7588
7589 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7590
7591         * text2.C (cursorRight): a getChar assert fixed
7592
7593 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7594
7595         * text2.C (getFont): change to take a ParagraphList::iterator
7596         instead of Paragraph*
7597         Adjust several functions.
7598
7599         * text.C (transformChar): change to take a ParagraphList::iterator
7600         instead of Paragraph*
7601         (singleWidth): ditto
7602         Adjust several functions.
7603
7604         * rowpainter.C: adjust several functions
7605         * rowpainter.h:store a ParagraphList::iterator and not a
7606         Paragraph&.
7607
7608
7609 2003-04-09  John Levon  <levon@movementarian.org>
7610
7611         * lyxfunc.C:
7612         * lfuns.h:
7613         * LyXAction.h:
7614         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7615         and the "help" bits as well
7616
7617 2003-04-09  John Levon  <levon@movementarian.org>
7618
7619         * ToolbarBackend.h:
7620         * ToolbarBackend.C: allow multiple toolbars
7621
7622 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7623
7624         * undo_funcs.C (setCursorParUndo): adjust
7625
7626         * text_funcs.C (transposeChars): adjust
7627
7628         * text3.C (gotoNextInset): adjust
7629         (dispatch): adjust
7630
7631         * text2.C (setLayout): adjust
7632         (changeDepth): adjust
7633         (setFont): adjust
7634         (redoParagraphs): adjust
7635         (selectionAsString): adjust
7636         (setParagraph): adjust
7637         (insertInset): adjust
7638         (cutSelection): adjust
7639         (copySelection): adjust
7640         (pasteSelection): adjust
7641         (insertStringAsLines): adjust
7642         (updateInset): adjust
7643         (setCursor): change to take a ParagraphList::iterator parameter
7644         (setCursorIntern): change to take a ParagraphList::iterator parameter
7645         (setCurrentFont): adjust
7646         (cursorLeft): adjust
7647         (cursorRight): adjust
7648         (deleteEmptyParagraphMechanism): adjust
7649
7650         * text.C (breakParagraph): adjust
7651         (insertChar): adjust
7652         (acceptChange): adjust
7653         (rejectChange): adjust
7654         (selectNextWordToSpellcheck): adjust
7655         (changeCase): adjust
7656         (Delete): adjust
7657         (backspace): adjust
7658
7659         * lyxfind.C (SearchForward): adjust
7660         (SearchBackward): adjust
7661         (nextChange): adjust
7662
7663         * lyxcursor.C (par): adjust
7664
7665         * lyxcursor.h: store a ParagraphList::iterator instead of a
7666         Paragraph*
7667
7668         * lyx_cb.C (getPossibleLabel): adjust
7669
7670         * bufferview_funcs.C (toggleAndShow): adjust
7671
7672         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7673         (dispatch): adjust
7674
7675         * BufferView.C (removeAutoInsets): adjust
7676         (lockedInsetStoreUndo): adjust
7677
7678 2003-04-09  John Levon  <levon@movementarian.org>
7679
7680         * ToolbarBackend.C: try icon without argument
7681         if with argument fails
7682
7683 2003-04-08  John Levon  <levon@movementarian.org>
7684
7685         * ToolbarBackend.h:
7686         * ToolbarBackend.C: add getIcon(), handle tooltip,
7687         and change from "Icon" to "Item".
7688
7689 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7690
7691         * BufferView.C (lockInset): another bad getchar crunched
7692
7693 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7694
7695         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7696         again)
7697
7698 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7699
7700         * lyxfind.C (searchForward, searchBackwards): bug 782
7701
7702 2003-04-07  John Levon  <levon@movementarian.org>
7703
7704         * paragraph.C: remove dead comment
7705
7706         * text.C: remove troublesome depth-fiddling code
7707         in leftMargin() and rightMargin() (bug 1017)
7708
7709         * text.C: fix breaking of rows in nested lists
7710         (bug 1004)
7711
7712         * text2.C (updateCounters): fix up depth values
7713         (bug 1013)
7714
7715 2003-04-07  John Levon  <levon@movementarian.org>
7716
7717         * BufferView_pimpl.C: clear message when doc finishes resizing,
7718         and after a mouse event
7719
7720         * lyxfunc.C: clear message after exiting inset
7721
7722 2003-04-07  John Levon  <levon@movementarian.org>
7723
7724         * bufferview_funcs.C: show math status not outside
7725         status in the statusbar
7726
7727 2003-04-07  John Levon  <levon@movementarian.org>
7728
7729         * lyxfunc.C: note status changed after a depth change
7730
7731 2003-04-04  Angus Leeming  <leeming@lyx.org>
7732
7733         * LaTeX.h: move AuxInfo operator==, != out of line.
7734         Remove LaTeX virtual destructor; nothing derives from it.
7735         Move operator()() out of public area and rename it startscript().
7736         Change protected for private.
7737
7738 2003-04-04  Angus Leeming  <leeming@lyx.org>
7739
7740         * lyxfunc.C:
7741         * text2.C: remove unneeded #includes.
7742
7743 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7744
7745         * text2.C (dEPM): fix the heigth of the next row
7746
7747 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7748
7749         * text.C: squashed an invalid getChar requester + some ws changes
7750
7751 2003-04-03  John Levon  <levon@movementarian.org>
7752
7753         * bufferview_funcs.h:
7754         * bufferview_funcs.C:
7755         * lyxfunc.C:
7756         * lyxtext.h:
7757         * text2.C: make getStatus work for the env depth lfuns
7758
7759 2003-04-03  John Levon  <levon@movementarian.org>
7760
7761         * bufferview_funcs.h:
7762         * bufferview_funcs.C:
7763         * lyxfunc.C:
7764         * lyxtext.h:
7765         * text2.C: parlistize decDepth(), by merging it with incDepth()
7766
7767 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7768
7769         * lyxrow.h: store a ParagraphList::iterator instead of a
7770         Paragraph* and adjust other class functions to suit.
7771
7772         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7773         above.
7774
7775 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7776
7777         * text2.C (setCursor): do not anchor to cursor row for the time being
7778
7779 2003-04-02  John Levon  <levon@movementarian.org>
7780
7781         * LyXAction.C:
7782         * lfuns.h:
7783         * lyx_main.C:
7784         * lyxtext.h:
7785         * text.C:
7786         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7787
7788 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7789
7790         * paragraph.h: make ParagraphList and ParagraphList::iterator
7791         friends of Paragraph.
7792
7793         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7794
7795         * ParagraphList.C: Use the private next_ and previous_ from
7796         Paragraph.
7797
7798 2003-04-01  John Levon  <levon@movementarian.org>
7799
7800         * ToolbarBackend.h:
7801         * ToolbarBackend.C:
7802         * Makefile.am: rename, remove defaults gunk
7803
7804         * MenuBackend.h:
7805         * MenuBackend.C: remove defaults gunk
7806
7807         * Languages.h:
7808         * Languages.C: remove defaults gunk
7809
7810         * lyx_main.h:
7811         * lyx_main.C: error out if files couldn't be found.
7812
7813 2003-04-02  John Levon  <levon@movementarian.org>
7814
7815         * text2.C: make incDepth() use parlist
7816
7817 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7818
7819         * undo_funcs.C (firstUndoParagraph): adjust
7820
7821         * text3.C (gotoInset): adjust
7822         (dispatch): adjust, and rewrite loop.
7823
7824         * text2.C (init): adjust, and rewrite loop.
7825         (redoParagraphs): adjust
7826         (updateInset): adjust, and rewrite loop.
7827         (deleteEmptyParagraphMechanism): adjust
7828
7829         * tabular.C (LyXTabular): adjust
7830         (SetMultiColumn): adjust
7831         (TeXRow): adjust
7832
7833         * lyxtext.[Ch] (ownerParagraph): delete function
7834         (ownerParagraphs): new function returns a ParagraphList.
7835
7836         * BufferView.C (removeAutoInsets): adjust
7837         (insertErrors): adjust
7838         (setCursorFromRow): adjust
7839
7840 2003-04-01  Angus Leeming  <leeming@lyx.org>
7841
7842         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7843         in the frontends.
7844
7845 2003-04-02  John Levon  <levon@movementarian.org>
7846
7847         * lyxtext.h:
7848         * text.C:
7849         * Makefile.am:
7850         * text_funcs.h:
7851         * text_funcs.C: make transposeChars a free function
7852
7853         * lyxrow_funcs.C: remove wrong comment
7854
7855 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7856
7857         * lyxtext.h: adjust
7858         * rowpainter.C: adjust
7859         * text.C: adjust
7860         * text2.C: adjust
7861         * text3.C: adjust
7862
7863         * lyxrow_funcs. [Ch]: new files
7864
7865         * lyxrow.[Ch]: remove next and previous pointers
7866         (next,previous): remove accessor functions
7867         (isParEnd): move to lyxrow_funcs
7868         (lastPos): move to lyxrow_funcs
7869         (nextRowIsAllInset): move to lyxrow_funcs
7870         (lastPrintablePos): move to lyxrow_funcs
7871         (numberOfSeparators): move to lyxrow_funcs
7872         (numberOfHfills): move to lyxrow_funcs
7873         (numberOfLabelHfills): move to lyxrow_funcs
7874         (hfillExpansion): move to lyxrow_funcs
7875
7876         * lyxfunc.C: adjust
7877
7878         * bufferview_funcs.C (toggleAndShow): adjust
7879
7880         * RowList.h: Remove class RowList from file leave just a
7881         std::list<Row>.
7882
7883         * RowList.C: delete file
7884
7885         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7886         and lyxrow_funcs.h
7887
7888 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7889
7890         * text3.C (cursorPrevious): adjust
7891         (cursorNext): adjust
7892         (dispatch): adjust
7893
7894         * text2.C (redoHeightOfParagraph): adjust
7895         (redoDrawingOfParagraph): adjust
7896         (setCursor): adjust
7897
7898         * text.C (breakParagraph): adjust
7899         (insertChar): adjust
7900         (backspace): adjust
7901
7902         * rowpainter.C (RowPainter): adjust
7903         (leftMargin): simplify and adjust
7904         (most rowpainter functions): adjust.
7905
7906         * rowpainter.h: store the row as RowList::iterator not as Row*
7907
7908         * lyxcursor.C (row): taka RowList::iterator as arg
7909         (irow): ditto
7910
7911         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7912         of Row*.
7913
7914 2003-04-01  Angus Leeming  <leeming@lyx.org>
7915
7916         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7917         stuff like bool Bool.
7918
7919 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7920
7921         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7922         rewrite a loop
7923
7924 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7925
7926         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7927         RowList::iterator.
7928
7929         * lyxtext.h (rows): drop one version and leve a const variant that
7930         returns a RowList::iterator.
7931
7932 2003-03-31  Angus Leeming  <leeming@lyx.org>
7933
7934         * text.C (fill): ensure that the signature is the same as that in the
7935         header file.
7936
7937 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7938
7939         * text2.C (redoParagraphs): adjust
7940         (updateCounters): adjust
7941         (checkParagraph): adjust
7942         (getColumnNearX): adjust and reformat a bit.
7943
7944         * text.C (top_y): adjust
7945         (workWidth): adjust
7946         (leftMargin): adjust
7947         (prepareToPrint): adjust
7948         (getRow): adjust
7949         (getRowNearY): adjust
7950
7951         * lyxtext.h: make rowlist_ mutable.
7952
7953         * RowList.h: add const_iterator
7954         * RowList.C: adjust for RowList::const_iterator.
7955
7956         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7957         adjust.
7958
7959 2003-03-31  John Levon  <levon@movementarian.org>
7960
7961         * lyxrc.h:
7962         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7963
7964         * lyx_main.C: set default fonts from using lyx_gui funcs
7965
7966         * exporter.C: pdf_mode moved from lyxrc
7967
7968         * lyx_cb.C:
7969         * lyxfunc.C: changes from above
7970
7971 2003-03-31  John Levon  <levon@movementarian.org>
7972
7973         * lyx_main.C: fix to the last fix
7974
7975 2003-03-31  John Levon  <levon@movementarian.org>
7976
7977         * bufferlist.C: "Load original" -> "Load Original"
7978
7979         * converter.C:
7980         * exporter.C:
7981         * importer.C:
7982         * lyx_main.C:
7983         * format.C: more Alert cleanups
7984
7985 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7986
7987         * text2.C (removeParagraph): make it take a RowList::iterator as
7988         arg, adjust.
7989         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7990         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7991
7992         * text.C (anchor_row): make it take a RowList::iterator as arg,
7993         adjust.
7994         (computeBidiTables): make it take a const reference to Row instead
7995         of Row pointer, adjust.
7996         (leftMargin): make it take a RowList::iterator as arg, adjust.
7997         (rowBreakPoint): adjust
7998         (breakAgainOneRow): make it take a RowList::iterator as arg,
7999         adjust.
8000         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8001
8002         * bufferview_funcs.C (toggleAndShow): adjust
8003
8004 2003-03-30  John Levon  <levon@movementarian.org>
8005
8006         * Makefile.am:
8007         * BoostFormat.h:
8008         * boost-inst.C: moved to support
8009
8010         * several files: changes as a result
8011
8012 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8013
8014         * text2.C (LyXText): adjust.
8015         (init): adjust
8016         (removeRow): make it take a RowList::iterator as arg, adjust.
8017         (fullRebreak): adjust
8018         (deleteEmptyParagraphMechanism): adjust
8019         (clearPaint): adjust
8020         (postPaint): adjust
8021
8022         * text.C (top_y): adjust
8023         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8024         (breakAgain): make it take a RowList::iterator as arg, adjust.
8025         (breakParagraph): adjust
8026         (insertChar): adjust
8027         (backspace): adjust
8028
8029         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8030         need_break_row, and refresh_row.
8031
8032         * text3.C (dispatch): adjust
8033
8034         * text2.C (checkParagraph): adjust
8035         (setCursor): adjust
8036         (setCursorFromCoordinates): adjust
8037
8038         * text.C (top_y): adjust
8039         (workWidth): adjust
8040         (getRow): make it return a RowList::iterator, adjust
8041         (getRowNearY): make it return a RowList::iterator, adjust
8042
8043         * text2.C (init): adjust
8044         (insertRow): remove function
8045         (insertParagraph): adjust
8046         (redoParagraphs): adjust
8047         (fullRebreak): adjust
8048         (updateCounters): adjust
8049
8050         * text.C (top_y): rewrite to use RowList iterators.
8051         (top_y): adjust
8052         (setHeightOfRow): rewrite to sue RowList iterators.
8053         (appendParagraph): adjust
8054         (breakAgain): adjust
8055         (breakAgainOneRow): adjust
8056         (breakParagraph): adjust
8057         (getRow): adjust
8058         (getRowNearY): adjust, and remove commented code.
8059
8060         * lyxtext.h (firstRow): delete function
8061         (lastRow): delete function
8062         (rows): new function (const and non-const versions.)
8063         (insertRow): delete function
8064
8065         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8066
8067 2003-03-29  John Levon  <levon@movementarian.org>
8068
8069         * BufferView_pimpl.C: always update scrollbar top
8070         because pasting text when we're anchored could mean we
8071         miss an update altogether
8072
8073 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8074
8075         * text2.C (init): use rowlist_.end() and not 0.
8076         (insertRow): change to take a RowList::iterator as arg, adjust
8077         for this.
8078         (insertParagraph): change to take a RowList::iterator as arg,
8079         adjust for this.
8080         (redoParagraphs): remove some debug msgs.
8081
8082         * text.C (appendParagraph): change to take a RowList::iterator
8083         arg, adjust for this.
8084         (breakAgain): add an assert
8085         (breakAgainOneRow): ditto
8086
8087 2003-03-29  John Levon  <levon@movementarian.org>
8088
8089         * text2.C: do not clear selection after inc/decDepth
8090         (bug 550)
8091
8092 2003-03-29  John Levon  <levon@movementarian.org>
8093
8094         * BufferView.C:
8095         * buffer.C: fix broken strerrors according to Lars
8096
8097 2003-03-29  John Levon  <levon@movementarian.org>
8098
8099         * converters.C: more Alert cleanups
8100
8101 2003-03-29  John Levon  <levon@movementarian.org>
8102
8103         * bufferview_funcs.C: remove pointless Alert
8104
8105         * buffer.C: fix confusing error message when
8106         a template is chmoded 000
8107
8108 2003-03-29  John Levon  <levon@movementarian.org>
8109
8110         * BufferView.C:
8111         * BufferView.h:
8112         * BufferView_pimpl.C: Alert fixes
8113
8114         * Makefile.am:
8115         * tabular.C:
8116         * tabular-old.C: remove unused table compat reading
8117
8118 2003-03-29  John Levon  <levon@movementarian.org>
8119
8120         * BufferView.C:
8121         * buffer.C:
8122         * lyx_cb.h:
8123         * lyx_cb.C: more Alert cleanups
8124
8125         * lyxfunc.C: don't allow chktex if not latex document
8126
8127 2003-03-29  John Levon  <levon@movementarian.org>
8128
8129         * lyx_cb.C:
8130         * BufferView.C:
8131         * buffer.C: warnings pushed down from support/,
8132         kill err_alert
8133
8134 2003-03-29  John Levon  <levon@movementarian.org>
8135
8136         * lyxfunc.C: safety check for C-r (revert)
8137
8138 2003-03-29  John Levon  <levon@movementarian.org>
8139
8140         * bufferlist.h:
8141         * bufferlist.C: several UI fixes using Alert::prompt.
8142         Fix the pointless looping quit code. Fix stupid revert
8143         behaviour (bug 938)
8144
8145         * lyxvc.h:
8146         * lyxvc.C:
8147         * lyx_cb.C: use Alert::prompt
8148
8149         * lyx_main.C: remove a silly question
8150
8151         * lyxfunc.C: remove a couple of silly questions,
8152         use Alert::prompt
8153
8154 2003-03-28  John Levon  <levon@movementarian.org>
8155
8156         * text2.C: fix bug 974 (End on empty par)
8157
8158 2003-03-28  John Levon  <levon@movementarian.org>
8159
8160         * BufferView_pimpl.C:
8161         * LyXAction.C:
8162         * lfuns.h: remove do-nothing math greek lfuns
8163
8164 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8165
8166         * lyxgluelength.h (isValidGlueLength): add default arg on
8167         parameter 2. Remove default arg from friend in class.
8168
8169         * lyxlength.h (isValidLength): add default arg on parameter 2.
8170         Remove default arg from friend in class.
8171
8172         * text2.C (LyXText): adjust, initialize refresh_row.
8173         (init): adjust
8174         (removeRow): adjust
8175         (insertRow): adjust
8176         (insertParagraph): adjst
8177         (redoParagraphs): adjust
8178         (fullRebreak): adjust
8179         (updateCounters): adjust
8180         (deleteEmptyParagraphMechanism): first attempt at fixing a
8181         crashing bug.
8182
8183         * text.C (top_y): adjust
8184         (setHeightOfRow): adjust
8185         (getRow): adjust
8186         (getRowNearY): adjust
8187
8188         * lyxtext.h: include RowList.h
8189         (~LyXText): not needed anymore, deleted.
8190         (firstRow): modify for RowList
8191         (lastRow): new function
8192         Delete firstrow and lastrow class variables, add a Rowlist
8193         rowlist_ class variable.
8194
8195         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8196         paragraph is empty.
8197
8198         * RowList.C (insert): fix case where it == begin().
8199
8200 2003-03-26  Angus Leeming  <leeming@lyx.org>
8201
8202         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8203         the thesaurus dialog.
8204
8205 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8206
8207         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8208
8209         * RowList.[Ch]: new files
8210
8211         * ParagraphList.C (erase): handle the case where it == begin
8212         correctly.
8213
8214 2003-03-25  John Levon  <levon@movementarian.org>
8215
8216         * Makefile.am:
8217         * aspell_local.h:
8218         * aspell.C: add new aspell support
8219
8220         * lyxrc.h:
8221         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8222         have it accessible.
8223
8224 2003-03-25  Angus Leeming  <leeming@lyx.org>
8225
8226         * lfuns.h:
8227         * LyXAction.C (init): new LFUN_INSET_INSERT.
8228
8229         * BufferView_pimpl.C (dispatch): split out part of the
8230         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8231
8232         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8233         LFUN_INSET_APPLY.
8234
8235 2003-03-25  Angus Leeming  <leeming@lyx.org>
8236
8237         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8238
8239 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8240
8241         * text2.C:
8242         * text3.C: remove useless row->height(0)
8243
8244 2003-03-25  John Levon  <levon@movementarian.org>
8245
8246         * lyxtext.h:
8247         * text2.C:
8248         * text3.C: rename the refreshing stuff to better names
8249
8250 2003-03-24  John Levon  <levon@movementarian.org>
8251
8252         * BufferView_pimpl.h:
8253         * BufferView_pimpl.C: update layout choice on a mouse
8254         press/release
8255
8256 2003-03-23  John Levon  <levon@movementarian.org>
8257
8258         * Makefile.am: fix commandtags.h reference
8259
8260 2003-03-22  John Levon  <levon@movementarian.org>
8261
8262         * BufferView_pimpl.C:
8263         * lyxtext.h:
8264         * rowpainter.C:
8265         * rowpainter.h:
8266         * text.C:
8267         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8268
8269 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8270
8271         * lyxtext.h:
8272         * text.C: take the rtl methods out of line
8273
8274 2003-03-21 André Pönitz <poenitz@gmx.net>
8275
8276         * metricsinfo.[Ch]: new files containing structures to be passed around
8277         during the two-phase-drawing...
8278
8279 2003-03-21 André Pönitz <poenitz@gmx.net>
8280
8281         * lyxtextclass.C: read 'environment' tag.
8282
8283 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8284
8285         * text2.C (removeRow): fix bug 964
8286
8287 2003-03-20  John Levon  <levon@movementarian.org>
8288
8289         * rowpainter.C:
8290         * text.C:
8291         * text2.C: paint cleanups. Inset::update() dropped font
8292         parameter
8293
8294 2003-03-19  John Levon  <levon@movementarian.org>
8295
8296         * lyxfunc.C: only fitcursor/markDirty if available()
8297
8298 2003-03-19  John Levon  <levon@movementarian.org>
8299
8300         * commandtags.h: rename to ...
8301
8302         * lfuns.h: ... this, and renumber / cleanup
8303
8304 2003-03-19  John Levon  <levon@movementarian.org>
8305
8306         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8307         fit the cursor after an lfun
8308
8309         * BufferView.h:
8310         * BufferView.C:
8311         * BufferView_pimpl.h:
8312         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8313
8314         * LyXAction.C: layout-character should have ReadOnly
8315
8316         * ParagraphParameters.C:
8317         * buffer.C:
8318         * bufferview_funcs.C:
8319         * lyx_cb.C:
8320         * lyxfind.C:
8321         * lyxtext.h:
8322         * text.C:
8323         * text2.C:
8324         * text3.C:
8325         * undo_funcs.C: changes from above
8326
8327 2003-03-18  John Levon  <levon@movementarian.org>
8328
8329         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8330         remove it from update()
8331
8332         * lyxfunc.C: update layout choice after an lfun
8333
8334         * text3.C: remove extra updateLayoutChoice()s
8335
8336 2003-03-18  John Levon  <levon@movementarian.org>
8337
8338         * text.C: top_y change means full repaint, fix
8339         a drawing bug with cursor movement
8340
8341 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8342
8343         * lyxtext.h:
8344         * text.C:
8345         * text2.C: anchor row on setCursor
8346
8347 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8348
8349         * lyxtext.h: remove almost all mutable keywords
8350         * text.C:
8351         * text2.C:
8352         * text3.C: remove const keywords accordingly
8353
8354 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8355
8356         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8357         anon namespace
8358         (TeXEnvironment): ditto
8359         (TeXOnePar): ditto
8360
8361 2003-03-17  John Levon  <levon@movementarian.org>
8362
8363         * text.C (rowBreakPoint): remove attempt to fix displayed
8364         math insets inside a manual label
8365
8366 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8367
8368         * lyxtext.h: remove BufferView* as first arg from almost all class
8369         functions.
8370         * other files: adjust.
8371
8372 2003-03-17  John Levon  <levon@movementarian.org>
8373
8374         * lyxtext.h:
8375         * undo_funcs.C:
8376         * text2.C: more paint cleanups
8377
8378         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8379
8380         * rowpainter.h:
8381         * rowpainter.C: remove "smart" background painting code
8382
8383 2003-03-16  John Levon  <levon@movementarian.org>
8384
8385         * lyxtext.h:
8386         * text.C:
8387         * text2.C:
8388         * text3.C: add helper functions for setting refresh_row/y
8389
8390 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8391
8392         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8393         newline inset which *can* get inserted in the pass_thru layouts.
8394         This is primarily for literate documents.
8395
8396 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8397
8398         * buffer.C: increment LYX_FORMAT to 223
8399
8400 2003-03-14 André Pönitz <poenitz@gmx.net>
8401
8402         * textclass.h: prepare for environment handling, ws changes
8403         * lyxlayout.C: read latexheader and latexfooter tags
8404
8405 2003-03-14  John Levon  <levon@movementarian.org>
8406
8407         * text2.C: rewrite ::status() a bit
8408
8409 2003-03-13  John Levon  <levon@movementarian.org>
8410
8411         * lyxtext.h: add some docs
8412
8413 2003-03-13  John Levon  <levon@movementarian.org>
8414
8415         * lyxtext.h:
8416         * text.C:
8417         * text2.C:
8418         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8419
8420 2003-03-13  John Levon  <levon@movementarian.org>
8421
8422         * text3.C: fix appendix redrawing
8423
8424 2003-03-13  John Levon  <levon@movementarian.org>
8425
8426         * text.C (setHeightOfRow):
8427         * rowpainter.h:
8428         * rowpainter.C: make appendix mark have the text
8429           "Appendix" so the user knows what it is
8430
8431         * LColor.h:
8432         * LColor.C: s/appendixline/appendix/ from above
8433
8434 2003-03-13  John Levon  <levon@movementarian.org>
8435
8436         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8437
8438         * text.C: fix a getChar(pos) bug properly
8439
8440 2003-03-13  Angus Leeming  <leeming@lyx.org>
8441
8442         * commandtags.h:
8443         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8444         Probably only temporary. Let's see how things pan out.
8445
8446         * BufferView.C (unlockInset):
8447         * BufferView_pimpl.C (fitCursor):
8448         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8449
8450         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8451         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8452
8453         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8454         new functions that convert ParagraphParameters to and from a string.
8455
8456         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8457         BufferView::Pimpl's dispatch.
8458         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8459
8460 2003-03-13 André Pönitz <poenitz@gmx.net>
8461
8462         * lyxfunc.C:
8463         * text3.C:
8464         * factory.C: make it aware of InsetEnv
8465
8466 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8467
8468         * text2.C (setCursor): never ask for one past last
8469         (setCursor): add some debugging messages.
8470
8471         * text.C (singleWidth): never ask for one past last
8472         (singleWidth): ditto
8473         (leftMargin): ditto
8474         (rightMargin): ditto
8475         (rowBreakPoint): ditto
8476         (setHeightOfRow): ditto
8477         (prepareToPrint): ditto
8478
8479         * rowpainter.C (paintBackground): never ask for one past last
8480         (paintText): never ask for one past last
8481
8482         * paragraph_pimpl.C (getChar): make the assert stricter, never
8483         allow the one past last pos to be taken
8484
8485         * paragraph.C (getChar): ws changes only
8486
8487         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8488         (numberOfSeparators): ditto
8489         (numberOfHfills): ditto
8490
8491 2003-03-12  John Levon  <levon@movementarian.org>
8492
8493         * author.h:
8494         * author.C:
8495         * bufferparams.h:
8496         * bufferparams.C:
8497         * paragraph_funcs.C: fix per-buffer authorlists
8498
8499 2003-03-12  John Levon  <levon@movementarian.org>
8500
8501         * text.C: fix newline in right address
8502
8503 2003-03-12  Angus Leeming  <leeming@lyx.org>
8504
8505         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8506         duplicate those in LyXFunc::dispatch.
8507
8508         * commandtags.h:
8509         * LyXAction.C:
8510         * ToolbarDefaults.C:
8511         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8512         Add LFUN_FONTFREE_UPDATE.
8513
8514         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8515         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8516
8517         * bufferview_func.[Ch]: several new functions to facilliate
8518         transfer of data to and from the character dialog.
8519
8520 2003-03-12  John Levon  <levon@movementarian.org>
8521
8522         * buffer.C:
8523         * paragraph.h:
8524         * paragraph.C:
8525         * paragraph_funcs.C:
8526         * paragraph_pimpl.C:
8527         * sgml.C:
8528         * tabular.C:
8529         * text.C:
8530         * text3.C: remove META_NEWLINE in favour of an inset
8531
8532         * rowpainter.h:
8533         * rowpainter.C: remove paintNewline (done by inset)
8534
8535 2003-03-12  John Levon  <levon@movementarian.org>
8536
8537         * paragraph_pimpl.C: complain about bad getChar()s
8538         for a while at least
8539
8540 2003-03-12  John Levon  <levon@movementarian.org>
8541
8542         * buffer.h:
8543         * buffer.C: move paragraph read into a separate function,
8544         a little renaming to reflect that.
8545
8546         * bufferparams.h:
8547         * bufferparams.C: remove the author_ids map, not necessary now
8548
8549         * factory.h:
8550         * factory.C: moved Buffer::readInset to here
8551
8552         * paragraph_funcs.h:
8553         * paragraph_funcs.C: readParagraph free function moved from
8554         buffer.C
8555
8556         * tabular.C: name change
8557
8558 2003-03-12  John Levon  <levon@movementarian.org>
8559
8560         * buffer.C:
8561         * ParagraphParameters.C: move par params input to
8562         a read() method
8563
8564         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8565         behave like a normal read from the stream wrt reading
8566         a line vs. a \\token
8567
8568 2003-03-12  John Levon  <levon@movementarian.org>
8569
8570         * paragraph.C:
8571         * ParagraphParameters.h:
8572         * ParagraphParameters.C: move output code to a
8573         ::write() method
8574
8575 2003-03-12  John Levon  <levon@movementarian.org>
8576
8577         * BufferView.C (insertLyXFile):
8578         * buffer.h:
8579         * buffer.C:
8580         * tabular.C: use a parlist iterator for creating the
8581           document.
8582
8583 2003-03-12  John Levon  <levon@movementarian.org>
8584
8585         * buffer.C: make current_change static local not
8586           static file-scope
8587
8588 2003-03-12  John Levon  <levon@movementarian.org>
8589
8590         * buffer.C: fix insertStringAsLines for change tracking
8591
8592 2003-03-12  John Levon  <levon@movementarian.org>
8593
8594         * BufferView.C:
8595         * tabular.C:
8596         * buffer.h:
8597         * buffer.C:
8598         * bufferparams.h:
8599         * bufferparams.C: move author list into params. Rename some
8600           functions. Move the header reading into a separate token
8601           loop. Move the header token reading into BufferParams.
8602
8603 2003-03-12  John Levon  <levon@movementarian.org>
8604
8605         * changes.C: put debug inside lyxerr.debugging() checks
8606
8607 2003-03-11 André Pönitz <poenitz@gmx.net>
8608
8609         * factory.C: make it aware of InsetHFill
8610
8611 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8612
8613         * buffer.C (latexParagraphs): move function from here...
8614         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8615         args.
8616
8617 2003-03-10  Angus Leeming  <leeming@lyx.org>
8618
8619         * LyXAction.C (init): fix bug in poplating array with multiple entries
8620         with the same LFUN (spotted by JMarc).
8621
8622 2003-03-10  John Levon  <levon@movementarian.org>
8623
8624         * text.C:
8625         * text2.C: move getColumnNearX() near its
8626         only call site
8627
8628 2003-03-10  John Levon  <levon@movementarian.org>
8629
8630         * text.C: fix break before a minipage
8631
8632 2003-03-10  John Levon  <levon@movementarian.org>
8633
8634         * text.C: fix the last commit
8635
8636 2003-03-09  John Levon  <levon@movementarian.org>
8637
8638         * lyxtext.h:
8639         * text.C:
8640         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8641         bug 365 (don't break before insets unless needed). Don't
8642         return a value > last under any circumstances.
8643
8644 2003-03-09  Angus Leeming  <leeming@lyx.org>
8645
8646         * BufferView_pimpl.C (trackChanges, dispatch): call
8647         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8648
8649 2003-03-09  Angus Leeming  <leeming@lyx.org>
8650
8651         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8652         than Dialogs::showAboutlyx().
8653
8654 2003-03-09  Angus Leeming  <leeming@lyx.org>
8655
8656         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8657         than Dialogs::showTabularCreate().
8658
8659 2003-03-09  John Levon  <levon@movementarian.org>
8660
8661         * lyxtext.h:
8662         * text.C:
8663         * text2.C: 3rd arg to nextBreakPoint was always the same.
8664           Use references.
8665
8666 2003-03-08  John Levon  <levon@movementarian.org>
8667
8668         * lyxrow.C:
8669         * paragraph.C:
8670         * paragraph.h:
8671         * rowpainter.C:
8672         * text.C:
8673         * text2.C: Remove the "main" bit from the "main body"
8674           notion.
8675
8676 2003-03-08  John Levon  <levon@movementarian.org>
8677
8678         * text.C (leftMargin): The left margin of an empty
8679         manual label paragraph should not include the label width
8680         string length.
8681
8682         * text.C (prepareToPrint): don't attempt to measure hfills
8683         for empty manual label paragraphs - the answer should be 0
8684
8685 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8686
8687         * CutAndPaste.C: remove commented code and reindent.
8688
8689 2003-03-08  John Levon  <levon@movementarian.org>
8690
8691         * lyxfunc.h:
8692         * lyxfunc.C: move reloadBuffer()
8693
8694         * BufferView.h:
8695         * BufferView.C: to here
8696
8697         * lyxvc.C: add comment
8698
8699         * vc-backend.h:
8700         * vc-backend.C: call bv->reload() to avoid
8701           getStatus() check on MENURELOAD
8702
8703 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8704
8705         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8706         to an old format .dep file.
8707
8708 2003-03-07  Angus Leeming  <leeming@lyx.org>
8709
8710         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8711         when the LFUN_MOUSE_RELEASE should have been handled by
8712         inset->localDispatch.
8713
8714 2003-03-07  Angus Leeming  <leeming@lyx.org>
8715
8716         * BufferView_pimpl.C (dispatch):
8717         * LyXAction.C (init):
8718         * ToolbarDefaults.C (init):
8719         * commandtags.h:
8720         * lyxfunc.C (getStatus):
8721         remove LFUN_INSET_GRAPHICS.
8722
8723         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8724
8725 2003-03-07  Angus Leeming  <leeming@lyx.org>
8726
8727         * commandtags.h:
8728         * LyXAction.C (init):
8729         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8730
8731         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8732
8733         * commandtags.h:
8734         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8735
8736         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8737         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8738
8739 2003-03-07  Angus Leeming  <leeming@lyx.org>
8740
8741         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8742         remove "ert".
8743
8744 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8745
8746         * ParagraphList.C (front): new function
8747         (back): implement
8748
8749 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8750
8751         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8752         and top_row_offset_. removed var first_y.
8753         * text.C (top_y):
8754         * text2.C (LyXText, removeRow):
8755         * text3.C:
8756         * BufferView_pimpl.C:
8757         use these methods instead of using first_y
8758
8759 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8760
8761         * text2.C (pasteSelection): adjust for checkPastePossible
8762
8763         * CutAndPaste.C: remove Paragraph * buf and replace with
8764         ParagraphList paragraphs.
8765         (DeleteBuffer): delete
8766         (cutSelection): change the tc type to textclass_type
8767         (copySelection): change the tc type to textclass_type
8768         (copySelection): adjust for ParagraphList
8769         (pasteSelection): change the tc type to textclass_type
8770         (pasteSelection): adjust for Paragraphlist
8771         (nrOfParagraphs): simplify for ParagraphList
8772         (checkPastePossible): simplify for ParagraphList
8773         (checkPastePossible): remove unused arg
8774
8775         * ParagraphList.C (insert): handle the case where there are no
8776         paragraphs yet.
8777
8778         * CutAndPaste.h: make CutAndPaste a namespace.
8779
8780         * text3.C (dispatch): adjust
8781
8782         * text.C (breakParagraph): add a ParagraphList as arg
8783
8784         * paragraph_funcs.C (breakParagraph): change to take a
8785         BufferParams and a ParagraphList as args.
8786         (breakParagraphConservative): ditto
8787         (mergeParagraph): ditto
8788         (TeXDeeper): add a ParagraphList arg
8789         (TeXEnvironment): ditto
8790         (TeXOnePar): ditto
8791
8792         * buffer.C (readLyXformat2): adjust
8793         (insertStringAsLines): adjust
8794         (latexParagraphs): adjust
8795
8796         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8797         (cutSelection): adjust
8798         (pasteSelection): adjust
8799
8800         * BufferView_pimpl.C (insertInset): adjust
8801
8802 2003-03-05  Angus Leeming  <leeming@lyx.org>
8803
8804         * commandtags.h:
8805         * LyXAction.C (init):
8806         * BufferView_pimpl.C (dispatch):
8807         * lyxfunc.C (getStatus):
8808         remove LFUN_CHILD_INSERT.
8809
8810         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8811
8812 2003-03-05  Angus Leeming  <leeming@lyx.org>
8813
8814         * commandtags.h:
8815         * LyXAction.C (init):
8816         * src/factory.C (createInset):
8817         * lyxfunc.C (getStatus):
8818         * text3.C (dispatch):
8819         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8820
8821         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8822
8823 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8824
8825         * ParagraphList.C (insert): handle insert right before end()
8826         (erase): fix cases where it can be first or last paragraph.
8827
8828 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8829
8830         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8831         Paragraph::next and Paragraph::previous
8832         (TeXOnePar): ditto
8833
8834         * text.C (breakParagraph): adjust
8835
8836         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8837         BufferParams& as arg.
8838         (breakParagraph): use ParagraphList::insert
8839         (breakParagraphConservative): take a Buffer* instead of a
8840         BufferParams& as arg.
8841         (breakParagraphConservative): use ParagraphList::insert.
8842
8843         * buffer.C (insertStringAsLines): un-const it
8844         (insertStringAsLines): adjust
8845
8846         * ParagraphList.C (insert): new function
8847
8848         * CutAndPaste.C (pasteSelection): adjust
8849
8850         * text.C (backspace): adjust
8851
8852         * tabular.C (SetMultiColumn): adjust
8853
8854         * CutAndPaste.C (cutSelection): adjust
8855         (pasteSelection): adjust
8856
8857         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8858         Buffer const * as arg
8859
8860         * ParagraphList.C (erase): new function
8861         * paragraph_funcs.C (mergeParagraph): use it
8862         (mergeParagraph): make it take a Buffer* instead of a
8863         BufferParams* as arg
8864
8865         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8866         as arg
8867         (breakParagraphConservative): ditto
8868
8869         * paragraph.h: remove the breakParagraph friend
8870
8871         * paragraph.C (eraseIntern): new function
8872         (setChange): new function
8873
8874         * paragraph_funcs.C (mergeParagraph): make it take a
8875         ParagraphList::iterator instead of a Paragraph *, adjust
8876         accordingly.
8877
8878         * paragraph.h: move an #endif so that the change tracking stuff
8879         also works in the NO_NEXT case.
8880
8881 2003-03-04  Angus Leeming  <leeming@lyx.org>
8882
8883         * commandtags.h:
8884         * LyXAction.C: new LFUN_INSET_MODIFY.
8885
8886         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8887         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8888
8889 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8890
8891         * several files: ws changes only
8892
8893         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8894         (TeXEnvironment): ditto
8895         (TeXDeeper): ditto
8896
8897         * buffer.C (makeLaTeXFile): adjust
8898         (latexParagraphs): make it take ParagraphList::iterator as args
8899
8900 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8901
8902         * buffer.C (latexParagraphs): adjust
8903
8904         * paragraph.C (TeXOnePar): move function...
8905         (optArgInset): move function...
8906         (TeXEnvironment): move function...
8907         * paragraph_pimpl.C (TeXDeeper): move function...
8908         * paragraph_funcs.C: ...here
8909
8910         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8911
8912 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8913
8914         * buffer.C (readInset): remove compability code for old Figure and
8915         InsetInfo insets
8916
8917 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8918
8919         * buffer.C: ws changes
8920         (readInset):
8921
8922         * BufferView_pimpl.C: ditto
8923         * author.C: ditto
8924         * buffer.h: ditto
8925         * bufferlist.h: ditto
8926         * changes.h: ditto
8927         * lyxfunc.C: ditto
8928
8929 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8930
8931         * converter.[Ch]: split into itself +
8932         * graph.[Ch]
8933         * format.[Ch]
8934         * Makefile.am: += graph.[Ch] + format.[Ch]
8935         * MenuBackend.C
8936         * buffer.C
8937         * exporter.C
8938         * importer.C
8939         * lyx_main.C
8940         * lyxfunc.C
8941         * lyxrc.C: added #include "format.h"
8942
8943 2003-02-27  Angus Leeming  <leeming@lyx.org>
8944
8945         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8946           a label.
8947
8948         * factory.C (createInset): add "label" to the factory.
8949
8950         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8951           string and do no more.
8952
8953 2003-02-27  Angus Leeming  <leeming@lyx.org>
8954
8955         * commandtags.h:
8956         * LyXAction.C (init):
8957         * factory.C (createInset):
8958         * BufferView_pimpl.C (dispatch):
8959           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8960
8961         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8962
8963         * lyxfunc.C (dispatch):
8964         * text3.C (dispatch): pass name to params2string.
8965
8966 2003-02-26  Angus Leeming  <leeming@lyx.org>
8967
8968         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8969           blocks together.
8970           Rearrange the ~includes. Strip out the unnecessary ones.
8971
8972         * factory.C (createInset): reformat.
8973           create new insets for the various LFUN_XYZ_APPLY lfuns.
8974
8975 2003-02-26  John Levon  <levon@movementarian.org>
8976
8977         * lyxrow.h:
8978         * lyxrow.C: add isParStart,isParEnd helpers
8979
8980         * paragraph.h: make isInserted/DeletedText take refs
8981
8982         * paragraph_funcs.h:
8983         * paragraph_funcs.C: remove #if 0'd code
8984
8985         * lyxtext.h:
8986         * text3.C:
8987         * text2.C:
8988         * text.C: use lyxrow helpers above.
8989           Move draw and paint routines to RowPainter.
8990           Make several methods use refs not pointers.
8991           Make backgroundColor() const.
8992           Add markChangeInDraw(), isInInset().
8993           Merge changeRegionCase into changeCase.
8994           Make workWidth() shouldn't-happen code into an Assert.
8995
8996         * rowpainter.h:
8997         * rowpainter.C: new class for painting a row.
8998
8999         * vspace.h:
9000         * vspace.C: make inPixels take a ref
9001
9002 2003-02-26  Angus Leeming  <leeming@lyx.org>
9003
9004         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9005         LFUN_REF_APPLY.
9006
9007 2003-02-25  John Levon  <levon@movementarian.org>
9008
9009         * ispell.C: give the forked command a more accurate name
9010
9011 2003-02-22  John Levon  <levon@movementarian.org>
9012
9013         * toc.h:
9014         * toc.C: make TocItem store an id not a Paragraph *
9015           (bug #913)
9016
9017 2003-02-21  Angus Leeming  <leeming@lyx.org>
9018
9019         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9020           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9021           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9022           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9023           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9024           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9025
9026         * BufferView_pimpl.C (dispatch):
9027         * LyXAction.C (init):
9028         * factory.C (createInset):
9029         * lyxfunc.C (getStatus, dispatch):
9030         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9031
9032 2003-02-21  Angus Leeming  <leeming@lyx.org>
9033
9034         * BufferView_pimpl.C (MenuInsertLyXFile):
9035         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9036         * lyxfunc.C (menuNew, open, doImport):
9037           no longer pass a LyXView & to fileDlg.
9038
9039 2003-02-21  Angus Leeming  <leeming@lyx.org>
9040
9041         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9042         * LyXAction.C: change, BIBKEY to BIBITEM.
9043         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9044         Change InsetBibKey to InsetBibitem.
9045         Change BIBKEY_CODE to BIBITEM_CODE.
9046         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9047         * factory.C: replace insetbib.h with insetbibitem.h.
9048         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9049         * paragraph.C: replace insetbib.h with insetbibitem.h.
9050         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9051         Change bibkey() to bibitem().
9052         * text.C: remove insetbib.h.
9053         * text2.C: replace insetbib.h with insetbibitem.h.
9054         change bibkey() to bibitem().
9055         * text3.C: remove insetbib.h.
9056         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9057
9058 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9059
9060         * lyxrc.C (output): enclose user email in quotes (in case there are
9061         several words)
9062
9063 2003-02-18  John Levon  <levon@movementarian.org>
9064
9065         * buffer.h: add std::
9066
9067 2003-02-17  John Levon  <levon@movementarian.org>
9068
9069         * SpellBase.h:
9070         * ispell.h:
9071         * ispell.C:
9072         * pspell.h:
9073         * pspell.C: reworking. Especially in ispell, a large
9074           number of clean ups and bug fixes.
9075
9076         * lyxfunc.C: fix revert to behave sensibly
9077
9078 2003-02-17 André Pönitz <poenitz@gmx.net>
9079
9080         * LyXAction.C:
9081         * commandtags.h: new LFUN_INSERT_BIBKEY
9082
9083         * layout.h:
9084         * lyxlayout.C:
9085         * buffer.C:
9086         * factory.C:
9087         * text.C:
9088         * text2.C:
9089         * text3.C:
9090         * paragraph.[Ch]:
9091         * paragraph_func.C: remove special bibkey handling
9092
9093 2003-02-17  John Levon  <levon@movementarian.org>
9094
9095         * text.C (Delete): fix case where delete at the end of
9096           the very first paragraph would not merge the pars
9097
9098 2003-02-17  John Levon  <levon@movementarian.org>
9099
9100         * lyxrow.C: fix lastPrintablePos()
9101
9102 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9103
9104         * bufferparams.C (writeLaTeX): add a std:here
9105
9106         * buffer.C: and remove a using directive there
9107
9108 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9109
9110         * buffer.C (makeLaTeXFile): move the code that generates the
9111           preamble...
9112
9113         * bufferparams.C (writeLaTeX): ... in this new method
9114
9115         * LaTeXFeatures.C (getEncodingSet): make const
9116           (getLanguages): make const
9117
9118         * MenuBackend.C (binding): returns the binding associated to this
9119           action
9120           (add): sets the status of each item by calling getStatus. Adds
9121           some intelligence.
9122           (read): add support for OptSubMenu
9123           (expand): remove extra separator at the end of expanded menu
9124
9125 2003-02-15  John Levon  <levon@movementarian.org>
9126
9127         * BufferView.C:
9128         * BufferView_pimpl.C:
9129         * bufferlist.h:
9130         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9131           inset code that had no actual effect. Remove unneeded status
9132           code.
9133
9134 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9135
9136         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9137           in preamble
9138
9139 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9140
9141         * text.C (drawLengthMarker): also draw an arrow marker for
9142           symbolic lengths (medskip...)
9143
9144 2003-02-14  John Levon  <levon@movementarian.org>
9145
9146         * tabular.h:
9147         * tabular.C: better method names
9148
9149 2003-02-14  John Levon  <levon@movementarian.org>
9150
9151         * BufferView_pimpl.C:
9152         * bufferlist.C:
9153         * buffer.C:
9154         * converter.C:
9155         * lyx_cb.C:
9156         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9157           it's a more accurate name. Remove some pointless uses.
9158
9159 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9160
9161         * text2.C (LyXText): change order of initilizers to shut off
9162           warnings
9163
9164 2003-02-14  John Levon  <levon@movementarian.org>
9165
9166         * buffer.C: use ParIterator for getParFromID()
9167
9168         * paragraph.h:
9169         * paragraph.C:
9170         * paragraph_pimpl.h:
9171         * paragraph_pimpl.C: remove unused getParFromID()
9172
9173 2003-02-14  John Levon  <levon@movementarian.org>
9174
9175         * buffer.C: remove some very old #if 0'd parse code
9176
9177 2003-02-13  John Levon  <levon@movementarian.org>
9178
9179         * text.h:
9180         * text.C:
9181         * text2.C: move hfillExpansion(), numberOfSeparators(),
9182           rowLast(), rowLastPrintable(), numberofHfills(),
9183           numberOfLabelHfills() ...
9184
9185         * lyxrow.h:
9186         * lyxrow.C: ... to member functions here.
9187
9188         * paragraph.h:
9189         * paragraph.C:
9190         * lyxtext.h:
9191         * text.C: remove LyXText::beginningOfMainBody(), and call
9192           p->beginningOfMainBody() directly. Move the check for
9193           LABEL_MANUAL into the latter.
9194
9195         * text.h:
9196         * text.C:
9197         * text2.C:
9198         * vspace.C:
9199         * BufferView.h:
9200         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9201
9202         * text.h:
9203         * text.C:
9204         * text2.C:
9205         * text3.C:
9206         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9207           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9208
9209 2003-02-13  John Levon  <levon@movementarian.org>
9210
9211         * CutAndPaste.C: remove debug
9212
9213 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9214
9215         * paragraph.C (asString): remove two unused variables
9216
9217         * lyxtextclass.C (readTitleType):
9218           (Read):
9219           (LyXTextClass): handle new members titletype_ and titlename_
9220
9221         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9222
9223 2003-02-09  John Levon  <levon@movementarian.org>
9224
9225         * buffer.h:
9226         * buffer.C: replace hand-coded list with a map for the dep clean
9227
9228 2003-02-08  John Levon  <levon@movementarian.org>
9229
9230         * LaTeX.C: consolidate code into showRunMessage() helper
9231
9232 2003-02-08  John Levon  <levon@movementarian.org>
9233
9234         * lyxfind.C:
9235         * lyxtext.h:
9236         * text2.C:
9237         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9238           and pass the size in explicitly
9239
9240         * BufferView_pimpl.h:
9241         * BufferView_pimpl.C:
9242         * BufferView.h:
9243         * BufferView.C: add getCurrentChange()
9244
9245         * BufferView_pimpl.h:
9246         * BufferView_pimpl.C: handle change lfuns
9247
9248         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9249           for changes. Mark pasted paragraphs as new.
9250
9251         * support/lyxtime.h:
9252         * support/lyxtime.C:
9253         * DepTable.C: abstract time_t as lyx::time_type
9254
9255         * LColor.h:
9256         * LColor.C: add colours for new text, deleted text, changebars
9257
9258         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9259           package use "usenames" option.
9260
9261         * commandtags.h:
9262         * lyxfunc.C:
9263         * LyXAction.C: add change lfuns
9264
9265         * Makefile.am:
9266         * author.h:
9267         * author.C: author handling
9268
9269         * buffer.h:
9270         * buffer.C: add a per-buffer author list, with first entry as
9271           current author. Handle new .lyx tokens for change tracking. Output
9272           author list to .lyx file. Output dvipost stuff to .tex preamble.
9273           Bump lyx format to 222.
9274
9275         * bufferlist.h:
9276         * bufferlist.C: add setCurrentAuthor() to reset current author details
9277           in all buffers.
9278
9279         * bufferparams.h:
9280         * bufferparams.C: add param for tracking
9281
9282         * bufferview_funcs.C: output change info in minibuffer
9283
9284         * Makefile.am:
9285         * changes.h:
9286         * changes.C: add change-tracking structure
9287
9288         * debug.h:
9289         * debug.C: add CHANGES debug flag
9290
9291         * lyxfind.h:
9292         * lyxfind.C: add code for finding the next change piece
9293
9294         * lyxrc.h:
9295         * lyxrc.C: add user_name and user_email
9296
9297         * lyxrow.h:
9298         * lyxrow.C: add a metric for the top of the text line
9299
9300         * lyxtext.h:
9301         * text.C: implement accept/rejectChange()
9302
9303         * lyxtext.h:
9304         * text.C: paint changebars. Paint new/deleted text in the chosen
9305         colours. Strike through deleted text.
9306
9307         * paragraph.h:
9308         * paragraph.C:
9309         * paragraph_pimpl.h:
9310         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9311           in the current change to the insert functions. Rework erase to
9312           mark text as deleted, adding an eraseIntern() and a range-based
9313           erase(). Implement per-paragraph change lookup and
9314           accept/reject.
9315
9316         * paragraph_funcs.C: Fixup paste for change tracking.
9317
9318         * tabular.C: mark added row/columns as new.
9319
9320         * text.C: fix rowLast() to never return -1. Don't allow
9321           spellchecking of deleted text. Track transpose changes. Don't
9322           allow paragraph break or merge where appropriate.
9323
9324         * text2.C: leave cursor at end of selection after a cut.
9325
9326 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9327
9328         * text.C (getLengthMarkerHeight):
9329         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9330         visible on screen too.
9331
9332 2003-02-07  John Levon  <levon@movementarian.org>
9333
9334         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9335
9336 2003-02-05  Angus Leeming  <leeming@lyx.org>
9337
9338         * lyxserver.C (read_ready): revert my patch of 11 September last year
9339         as it sends PC cpu through the roof. Presumably this means that
9340         the lyxserver will no longer run on an Alpha...
9341
9342 2003-01-30  Angus Leeming  <leeming@lyx.org>
9343
9344         * factory.C (createInset): create an InsetCommandParam of type "index"
9345         and use it to 'do the right thing'.
9346
9347         * text2.C (getStringToIndex): ensure that cursor position is always
9348         reset to the reset_cursor position.
9349
9350 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9351
9352         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9353         disabled.
9354
9355 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9356
9357         * bufferview.C:
9358         * lyxcb.C:
9359         * lyxfunc.C: Output messages with identical spelling, punctuation,
9360         and spaces
9361
9362 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9363
9364         * MenuBackend.C (expandFormats): List only viewable export formats
9365         in "View" menu
9366
9367         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9368         message
9369
9370         * lyxfunc.C (getStatus): Make sure that formats other than
9371         "fax" can also be disabled
9372
9373 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9374
9375         * text3.C (dispatch): put the lfuns that insert insets in 3
9376         groups, and call doInsertInset with appropriate arguments.
9377         (doInsertInset): new function, that creates an inset and inserts
9378         it according to some boolean parameters.
9379
9380 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9381
9382         * buffer.C (readFile): remember to pass on 'par' when calling
9383         readFile recursively.
9384
9385 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9386
9387         * MenuBackend.C (expandFormats): add "..." to import formats.
9388
9389 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9390
9391         * paragraph.C (asString): Remove XForms RTL hacks.
9392
9393 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9394         * buffer.C: fix typo
9395
9396 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9397
9398         * Makefile.am (LIBS): delete var
9399         (lyx_LDADD): add @LIBS@ here instead.
9400
9401 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9402
9403         * Clarify the meaning of "wheel mouse jump"
9404
9405 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9406
9407         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9408         tabular in a float
9409
9410 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9411
9412         * importer.C (Loaders): do not preallocate 3 elements in the
9413         vector, since one ends up with 6 elements otherwise
9414
9415 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9416
9417         * DepTable.C (write): write the file name as last element of the
9418         .dep file (because it may contain spaces)
9419         (read): read info in the right order
9420
9421 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9422
9423         * paragraph_pimpl.C (simpleTeXBlanks):
9424         (simpleTeXSpecialChars):
9425         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9426
9427         * tabular.C (latex): add some missing case statements. Reindent.
9428
9429         * MenuBackend.C (expandToc): remove unused variable.
9430
9431 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9432
9433         * LColor.C:
9434         * LaTeX.C:
9435         * LyXAction.C:
9436         * MenuBackend.C:
9437         * buffer.C:
9438         * exporter.C:
9439         * lyxfunc.C:
9440         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9441         and the like.
9442
9443 2003-01-05  John Levon  <levon@movementarian.org>
9444
9445         * BufferView.h:
9446         * BufferView.C: add getEncoding()
9447
9448         * kbsequence.h:
9449         * kbsequence.C: do not store last keypress
9450
9451         * lyxfunc.h:
9452         * lyxfunc.C: store last keypress here instead. Pass encoding
9453           to getISOEncoded()
9454
9455 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9456
9457         * lyx_main.C (init): remove annoying error message when following
9458         symbolic links (bug #780)
9459
9460 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9461
9462         * text.C (insertChar):
9463         * lyxrc.C (getDescription): remove extra spaces
9464
9465 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9466
9467         * lyxrc.C (getDescription): remove extra spaces
9468
9469 2002-12-20  John Levon  <levon@movementarian.org>
9470
9471         * text3.C: hack fix for page up/down across tall rows
9472
9473 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9474
9475         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9476         not been invoked
9477
9478 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9479
9480         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9481         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9482         thesaurus is not compiled in
9483
9484 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9485
9486         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9487
9488 2002-12-16  Angus Leeming  <leeming@lyx.org>
9489
9490         * lyxrc.[Ch]:
9491         * lyx_main.C (init): remove override_x_deadkeys stuff.
9492
9493 2002-12-12  John Levon  <levon@movementarian.org>
9494
9495         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9496           insert. Only remove shift modifier under strict
9497           circumstances.
9498
9499 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9500
9501         * MenuBackend.C (expandToc): fix crash.
9502
9503 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9504
9505         * MenuBackend.C (expandToc): gettext on float names.
9506
9507 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9508
9509         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9510         implement bool empty() [bug 490]
9511
9512 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9513
9514         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9515
9516 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9517
9518         * several files: ws changes
9519
9520 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9521
9522         * text2.C (setCounter): clean up a bit, use boost.format.
9523         (updateCounters): initialize par upon declaration.
9524
9525         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9526         if the layout exists. We do not just store the layout any more.
9527         (SwitchLayoutsBetweenClasses): use boost.format
9528
9529 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9530
9531         * converter.C (convert): if from and to files are the same, use a
9532         temporary files as intermediary
9533
9534 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9535
9536         * commandtags.h:
9537         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9538
9539 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9540
9541         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9542
9543 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9544
9545         * tabular.C (asciiPrintCell): use string(size, char) instead of
9546         explicit loop.
9547
9548         * sgml.C (openTag): fix order of arguments to string constructor
9549         (closeTag): ditto
9550
9551         * lyxfunc.C (dispatch): use boost.format
9552
9553         * lots of files: change "c" -> 'c'
9554
9555 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9556
9557         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9558
9559 2002-11-25  Angus Leeming  <leeming@lyx.org>
9560
9561         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9562
9563         * lyx_main.C (init): compile fix.
9564
9565 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9566
9567         * lyx_cb.C (start): boost.formatify
9568         do not include <iostream>
9569
9570         * lengthcommon.C: ws only
9571
9572         * boost-inst.C,BoostFormat.h: add more explict instantations
9573
9574 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9575
9576         * lots of files: handle USE_BOOST_FORMAT
9577
9578 2002-11-21  John Levon  <levon@movementarian.org>
9579
9580         * pspell.C: fix compile
9581
9582 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9583
9584         * lyxfunc.C (dispatch): use boost::format
9585         (open): ditto
9586         (doImport): ditto
9587
9588         * lyxfont.C (stateText): use boost::format
9589
9590         * lyx_main.C (LyX): use boost::format
9591         (init): ditto
9592         (queryUserLyXDir): ditto
9593         (readRcFile): ditto
9594         (parse_dbg): ditto
9595         (typedef boost::function): use the recommened syntax.
9596
9597         * importer.C (Import): use boost::format
9598
9599         * debug.C (showLevel): use boost::format
9600
9601         * converter.C (view): use boost::format
9602         (convert): ditto
9603         (move): ditto
9604         (scanLog): ditto
9605
9606         * bufferview_funcs.C (currentState): use boost::format
9607
9608         * bufferlist.C (emergencyWrite): use boost::format
9609
9610         * buffer.C (readLyXformat2): use boost::format
9611         (parseSingleLyXformat2Token): ditto
9612
9613         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9614
9615         * LaTeX.C (run): use boost::format
9616
9617         * Chktex.C (scanLogFile): use boost::format
9618
9619         * BufferView_pimpl.C (savePosition): use boost::format
9620         (restorePosition): ditto
9621         (MenuInsertLyXFile): ditto
9622
9623         * BoostFormat.h: help file for explicit instation.
9624
9625 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9626
9627         * tabular.C (latex): Support for block alignment in fixed width
9628         columns.
9629
9630 2002-11-17  John Levon  <levon@movementarian.org>
9631
9632         * BufferView_pimpl.C:
9633         * lyx_cb.C:
9634         * lyxfunc.C: split filedialog into open/save
9635
9636 2002-11-08  Juergen Vigna  <jug@sad.it>
9637
9638         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9639         by my last patch (hopefully).
9640
9641 2002-11-08  John Levon  <levon@movementarian.org>
9642
9643         * iterators.h:
9644         * iterators.C:
9645         * buffer.h:
9646         * buffer.C:
9647         * paragraph.h:
9648         * paragraph.C:
9649         * toc.h:
9650         * toc.C: ParConstIterator, and use it (from Lars)
9651
9652 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9653
9654         * lyxtextclass.[Ch]: revise and add doxygen comments
9655
9656 2002-11-07  John Levon  <levon@movementarian.org>
9657
9658         * text.C: fix progress value for spellchecker
9659
9660         * toc.C: fix navigate menu for insetwrap inside minipage
9661
9662         * paragraph_funcs.C: added FIXME for suspect code
9663
9664 2002-11-07  John Levon  <levon@movementarian.org>
9665
9666         * BufferView_pimpl.C: fix redrawing of insets
9667           on buffer switch
9668
9669 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9670
9671         * text2.C (updateCounters): fix bug 668
9672
9673 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9674
9675         * text3.C (dispatch): Do not make the buffer dirty when moving the
9676         cursor.
9677
9678 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9679
9680         * vc-backend.C: STRCONV
9681         (scanMaster): ditto
9682
9683         * text2.C (setCounter): STRCONV
9684
9685         * paragraph.C (asString): STRCONV
9686
9687         * lyxlength.C (asString): STRCONV
9688         (asLatexString): ditto
9689
9690         * lyxgluelength.C (asString): STRCONV
9691         (asLatexString): ditto
9692
9693         * lyxfunc.C (dispatch): STRCONV
9694         (open): ditto
9695
9696         * lyxfont.C (stateText): STRCONV
9697
9698         * importer.C (Import): STRCONV
9699
9700         * counters.C (labelItem): STRCONV
9701         (numberLabel): ditto
9702         (numberLabel): remove unused ostringstream o
9703
9704         * chset.C: STRCONV
9705         (loadFile): ditto
9706
9707         * bufferview_funcs.C (currentState): STRCONV
9708
9709         * buffer.C (readFile): STRCONV
9710         (asciiParagraph): ditto
9711         (makeLaTeXFile): ditto
9712
9713         * Spacing.C (writeEnvirBegin): STRCONV
9714
9715         * LaTeXFeatures.C (getLanguages): STRCONV
9716         (getPackages): ditto
9717         (getMacros): ditto
9718         (getBabelOptions): ditto
9719         (getTClassPreamble): ditto
9720         (getLyXSGMLEntities): ditto
9721         (getIncludedFiles): ditto
9722
9723         * LaTeX.C: STRCONV
9724         (run): ditto
9725         (scanAuxFile): ditto
9726         (deplog): ditto
9727
9728         * LString.h: add the STRCONV macros
9729
9730         * BufferView_pimpl.C (savePosition): STRCONV
9731         (restorePosition): ditto
9732         (MenuInsertLyXFile): ditto
9733
9734         * vc-backend.C (scanMaster): change from submatch[...] to
9735         submatch.str(...)
9736
9737         * funcrequest.C: include config.h
9738
9739         * factory.C: include config.h
9740
9741         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9742
9743         * box.C: include config.h
9744
9745         * LaTeX.C (scanAuxFile): change from submatch[...] to
9746         submatch.str(...)
9747         (deplog): ditto
9748
9749 2002-10-25  Angus Leeming  <leeming@lyx.org>
9750
9751         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9752
9753         * ispell.[Ch] (setError): new method.
9754         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9755         Use setError() insetead of goto END.
9756
9757         * lyx_cb.C (AutoSave): move out child process into new class
9758         AutoSaveBuffer.
9759
9760 2002-10-30  John Levon  <levon@movementarian.org>
9761
9762         * text3.C: make start appendix undoable
9763
9764 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9765
9766         * lyxlength.C (inPixels): Fix returned value.
9767
9768         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9769         environment.
9770
9771 2002-10-24  Angus Leeming  <leeming@lyx.org>
9772
9773         * lyxgluelength.h: no need to forward declare BufferParams
9774         or BufferView, so don't.
9775
9776 2002-10-21  John Levon  <levon@movementarian.org>
9777
9778         * BufferView.C: menuUndo ->undo, redo
9779
9780         * BufferView.h: document, remove dead, make some methods private
9781
9782         * paragraph_funcs.h:
9783         * paragraph_funcs.C:
9784         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9785
9786         * buffer.h:
9787         * buffer.C:
9788         * sgml.h:
9789         * sgml.C: move sgml open/close tag into sgml.C
9790
9791         * bufferview_funcs.h: unused prototype
9792
9793         * lyxfunc.h:
9794         * lyxfunc.C: remove unused
9795
9796         * lyxtext.h:
9797         * text.C: remove unused
9798
9799 2002-10-21  John Levon  <levon@movementarian.org>
9800
9801         * BufferView.h:
9802         * BufferView.C:
9803         * BufferView_pimpl.h:
9804         * BufferView_pimpl.C: fix mouse wheel handling based on
9805           patch from Darren Freeman
9806
9807 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9808
9809         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9810
9811 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9812
9813         * lyxlength.C (inPixels): Fix hanfling of negative length.
9814         Fix LyXLength::MU case.
9815
9816 2002-10-16  John Levon  <levon@movementarian.org>
9817
9818         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9819
9820 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9821
9822         * converter.C (view): add support for $$i (file name) and $$p
9823         (file path) for the viewer command. If $$i is not specified, then
9824         it is appended to the command (for compatibility with old syntax)
9825
9826 2002-10-14  Juergen Vigna  <jug@sad.it>
9827
9828         * undo_funcs.C (textHandleUndo): alter the order in which the
9829         new undopar is added to the LyXText, as we have to set first
9830         the right prev/next and then add it as otherwise the rebuild of
9831         LyXText is not correct. Also reset the cursor to the right paragraph,
9832         with this IMO we could remove the hack in "redoParagraphs()".
9833
9834 2002-10-09  Angus Leeming  <leeming@lyx.org>
9835
9836         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9837         to turn off an optimisation if a new inset is to be inserted.
9838
9839 2002-10-11 André Pönitz <poenitz@gmx.net>
9840
9841         * lyxtext.h: make some functions public to allow access
9842         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9843
9844 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9845
9846         * text3.C (dispatch): when changing layout, avoid an infinite loop
9847         [bug #652]
9848
9849 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9850
9851         * lyxrc.C (read): treat a viewer or converter command of "none" as
9852         if it were empty.
9853
9854         * MenuBackend.C (expandFormats): for an update, also allow the
9855         formats that are not viewable
9856
9857         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9858         script if it is newer than the lyxrc.defaults in user directory
9859
9860 2002-10-07 André Pönitz <poenitz@gmx.net>
9861
9862         * text.C: Vitaly Lipatov's small i18n fix
9863
9864 2002-09-25  Angus Leeming  <leeming@lyx.org>
9865
9866         * ispell.h: doxygen fix.
9867
9868 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9869
9870         * buffer.h (readFile): Add a new argument to the method, to allow
9871         reading of old-format templates.
9872
9873 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9874
9875         * toc.C (getTocList): Get TOC from InsetWrap.
9876
9877 2002-09-16  John Levon  <levon@movementarian.org>
9878
9879         * lyxfunc.C: check tabular for cut/copy too
9880
9881 2002-09-12  John Levon  <levon@movementarian.org>
9882
9883         * LyXAction.C: tidy
9884
9885         * factory.h:
9886         * factory.C: add header
9887
9888         * paragraph_funcs.h:
9889         * paragraph_funcs.C: cleanup
9890
9891 2002-09-11  John Levon  <levon@movementarian.org>
9892
9893         * PrinterParams.h: odd/even default to true
9894
9895 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9896
9897         * PrinterParams.h: update printer parameters for new xforms dialog
9898
9899 2002-09-11  Angus Leeming  <leeming@lyx.org>
9900
9901         * lyxserver.C (read_ready): re-write to make it more transparent
9902         and to make it work in coherent fashion under Tru64 Unix.
9903
9904 2002-09-11  André Pönitz <poenitz@gmx.net>
9905
9906         * commandtags.h:
9907         * LyXAction.C:
9908         * text3.C: implement LFUN_WORDSEL
9909
9910 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9911
9912         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9913         make floatlist_ a boost::shared_ptr<FloatList>
9914
9915         * lyxtextclass.C: include FloatList.h
9916         (LyXTextClass): initialize floatlist_
9917         (TextClassTags): add TC_NOFLOAT
9918         (Read): match "nofloat" to TC_NOFLOAT and use it.
9919         (readFloat): modify call to floatlist_
9920         (floats): ditto
9921         (floats): ditto
9922
9923         * FloatList.[Ch] (FloatList): remove commented out float
9924         initialization.
9925         (erase): new function
9926
9927 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9928
9929         * MenuBackend.C (expandToc): fix crash when there is no document
9930         open
9931
9932 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9933
9934         * many files: Add insetwrap.
9935
9936 2002-09-09  John Levon  <levon@movementarian.org>
9937
9938         * text2.C: remove confusing and awkward depth wraparound
9939
9940 2002-09-09  John Levon  <levon@movementarian.org>
9941
9942         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9943
9944         * buffer.h:
9945         * buffer.C: remove getIncludeonlyList()
9946
9947         * paragraph.C:
9948         * lyxfunc.C: remove headers
9949
9950 2002-09-09  Juergen Vigna  <jug@sad.it>
9951
9952         * text.C (getColumnNearX): fix form Michael this is most
9953         probably a cut&paste bug.
9954
9955 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9956
9957         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9958
9959         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9960         references, ws changes.
9961
9962         * text2.C (init): update counters after init
9963         (insertParagraph): no need to set counter on idividual paragraphs.
9964         (setCounter): access the counters object in the textclass object
9965         on in the buffer object.
9966         (updateCounters): ditto
9967
9968         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9969         shared_ptr<Counters> to avoid loading counters.h in all
9970         compilation units.
9971         (LyXTextClass): initialize ctrs_
9972         (TextClassTags): add TC_COUNTER, and ...
9973         (Read): use it here.
9974         (CounterTags): new tags
9975         (readCounter): new function
9976         (counters): new funtion
9977         (defaultLayoutName): return a const reference
9978
9979         * counters.C (Counters): remove contructor
9980         (newCounter): remove a couple of unneeded statements.
9981         (newCounter): simplify a bit.
9982         (numberLabel): some small formatting changes.
9983
9984         * buffer.[Ch]: remove all traces of counters, move the Counters
9985         object to the LyXTextClass.
9986
9987 2002-09-06  Alain Castera  <castera@in2p3.fr>
9988
9989         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9990         package to set the horizontal alignment on fixed width columns.
9991
9992         * lyx_sty.C:
9993         * lyx_sty.h: added tabularnewline macro def.
9994
9995         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9996
9997 2002-09-06  John Levon  <levon@movementarian.org>
9998
9999         * LyXAction.C: tooltips for sub/superscript
10000
10001         * MenuBackend.C: a bit more verbose
10002
10003         * lyxfunc.C: tiny clean
10004
10005         * undo_funcs.C: document undo_frozen
10006
10007 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10008
10009         * counters.C (Counters): add missing algorithm counter.
10010
10011         * text2.C (setCounter): lookup the counter with layouts latexname
10012         instead of by section number.
10013         (setCounter): use a hackish way to lookup the correct enum
10014         counter.
10015         a float name->type change
10016         reset enum couners with counter name directly instead of depth value.
10017
10018         * counters.C (Counters): remove the push_backs, change to use the
10019         float type not the float name.
10020         (labelItem): remove unused string, float name->type change
10021
10022         * counters.h: don't include vector, loose the enums and sects vectors
10023
10024 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10025
10026         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10027         (Read): add float->TC_FLOAT to textclassTags
10028         (Read): and handle it in the switch
10029         (readFloat): new function
10030
10031         * FloatList.C (FloatList): comment out the hardcoded float
10032         definitions.
10033
10034         * lyxlayout.h: ws change.
10035
10036 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10037
10038         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10039
10040 2002-09-03  Angus Leeming  <leeming@lyx.org>
10041
10042         * BufferView_pimpl.h: qualified name is not allowed in member
10043         declaration: WorkArea & Pimpl::workarea() const;
10044
10045         * factory.C: added using std::endl directive.
10046
10047         * text3.C: added using std::find and std::vector directives.
10048
10049 2002-08-29  André Pönitz <poenitz@gmx.net>
10050
10051         * lyxtext.h:
10052         * text2.C: remove unused member number_of_rows
10053
10054         * Makefile.am:
10055         * BufferView2.C: remove file, move contents to...
10056         * BufferView.C: ... here
10057
10058         * BufferView_pimpl.C:
10059         * factory.C: move more inset creation to factory
10060
10061         * vspace.C: avoid direct usage of LyXText, ws changes
10062
10063         * BufferView.[Ch]:
10064                 don't provide direct access to WorkArea, use two simple
10065                 acessors haveSelction() and workHeight() instead
10066
10067
10068 2002-08-29  John Levon  <levon@movementarian.org>
10069
10070         * BufferView_pimpl.C (dispatch): do not continue when
10071           no buffer
10072
10073 2002-08-28  André Pönitz <poenitz@gmx.net>
10074
10075         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10076
10077         * BufferView.h:
10078         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10079
10080 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10081
10082         * buffer.C: increment LYX_FORMAT to 221
10083
10084         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10085         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10086
10087         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10088
10089         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10090
10091 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10092
10093         * factory.C (createInset): use LyXTextClass::floats
10094
10095         * MenuBackend.C (expandFloatListInsert):
10096         (expandFloatInsert):
10097         (expandToc):
10098
10099         * text2.C (setCounter):
10100
10101         * LaTeXFeatures.C (useFloat):
10102         (getFloatDefinitions):
10103
10104         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10105
10106         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10107         floatlist_, with accessor floats().
10108
10109         * FloatList.h: remove global FloatList
10110
10111 2002-08-26  André Pönitz <poenitz@gmx.net>
10112
10113         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10114
10115         * BufferView.h:
10116         * BufferView2.C:
10117         * BufferView_pimpl.C:
10118         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10119
10120 2002-08-25  John Levon  <levon@movementarian.org>
10121
10122         * LyXAction.C: fix margin note description
10123
10124 2002-08-24  John Levon  <levon@movementarian.org>
10125
10126         * buffer.C:
10127         * bufferlist.C:
10128         * bufferview_funcs.C:
10129         * lyxfont.C:
10130         * undo_funcs.C: cleanups
10131
10132         * lyxfunc.C: disable CUT/COPY when no selection
10133
10134 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10135
10136         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10137         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10138
10139         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10140         Add backward compatibility to "mono", "gray" and "no".
10141
10142 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10143
10144         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10145         (and file_format >= 200).
10146
10147 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10148
10149         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10150
10151 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10152
10153         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10154
10155 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10156
10157         * BufferView_pimpl.C:
10158         * LyXAction.C:
10159         * buffer.C:
10160         * commandtags.h:
10161         * lyxfunc.C:
10162         * paragraph.[Ch]:
10163         * text2.C:
10164         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10165         inset and code to make it  work with the paragraph code. The inset
10166         can be anywhere in the paragraph, but will only do the expected
10167         thing in LaTeX if the layout file contains the parameter line
10168                         OptionalArgs    1
10169         (or more generally, a nonzero value) for that layout.
10170
10171 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10172
10173         * paragraph.h: remove the declaration of undefined counters class
10174         function.
10175
10176 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10177
10178         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10179         Dr. Richard Hawkins.
10180
10181 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10182
10183         * paragraph_funcs.h: remove some unneeded includes
10184
10185         * text.C (backspace): pasteParagraph now in global scipe
10186
10187         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10188         (pasteSelection): ditto
10189
10190         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10191         * paragraph_funcs.C (pasteParagraph): ... here
10192
10193 2002-08-20  André Pönitz <poenitz@gmx.net>
10194
10195         * commandtags.h: new LFUNs for swapping/copying table row/colums
10196
10197         * LyXAction.C:
10198         * lyxfunc.C: support for new lfuns
10199
10200 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10201
10202         * tabular.C:
10203         * buffer.[Ch]: remove NO_COMPABILITY stuff
10204
10205 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10206
10207         * boost.C (throw_exception): new file, with helper function for
10208         boost compiled without exceptions.
10209
10210         * paragraph.h:
10211         * lyxlength.C:
10212         * buffer.C:
10213         * ParameterStruct.h:
10214         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10215
10216         * bufferlist.C (emergencyWriteAll): use boost bind
10217
10218         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10219
10220         * text.C: include paragraph_funcs.h
10221         (breakParagraph): breakParagraph is now in global scope
10222
10223         * paragraph_funcs.[Ch]: new files
10224
10225         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10226         global scope
10227
10228         * buffer.C: include paragraph_funcs.h
10229         (insertStringAsLines): breakParagraph is now in global scope
10230
10231         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10232         paragraph_funcs.C
10233
10234         * CutAndPaste.C: include paragraph_funcs.h
10235         (cutSelection): breakParagraphConservative is now in global scope
10236         (pasteSelection): ditto
10237
10238         * buffer.h: declare oprator== and operator!= for
10239         Buffer::inset_iterator
10240
10241         * bufferlist.C (emergencyWrite): don't use fmt(...)
10242
10243         * text3.C: add using std::endl
10244
10245         * BufferView.C (moveCursorUpdate): remove default arg
10246
10247 2002-08-20  André Pönitz <poenitz@gmx.net>
10248
10249         * buffer.[Ch]: move inline functions to .C
10250
10251         * BufferView2.C:
10252         * BufferView_pimpl.C:
10253         * text.C:
10254         * buffer.[Ch]: use improved inset_iterator
10255
10256         * buffer.C:
10257         * paragraph.[Ch]: write one paragraph at a time
10258
10259 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10260
10261         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10262         style if style is not specified.
10263
10264 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10265
10266         * text2.C (setCounter): when searching for right label for a
10267         caption, make sure to recurse to parent insets (so that a caption
10268         in a minipage in a figure float works) (bug #568)
10269
10270 2002-08-20  André Pönitz <poenitz@gmx.net>
10271
10272         * text3.C: new file for LyXText::dispatch() and helpers
10273
10274         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10275
10276         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10277
10278 2002-08-19  André Pönitz <poenitz@gmx.net>
10279
10280         * lyxtext.h:
10281         * text.C: new LyXText::dispatch()
10282
10283         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10284
10285 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10286
10287         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10288
10289         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10290         Hebrew text.
10291
10292 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10293
10294         * Makefile.am: use $(variables) instead of @substitutions@
10295
10296 2002-08-15  André Pönitz <poenitz@gmx.net>
10297
10298         * lyxfunc.C:
10299         * BufferView_pimpl.C: streamlining mathed <-> outer world
10300         interaction
10301
10302         * commandtags.h:
10303         * LyXAction.C: remove unused LFUN_MATH
10304
10305 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10306
10307         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10308
10309 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10310
10311         * paragraph.C (Paragraph): reformat a bit
10312         (cutIntoMinibuffer): use builtin InsetList function instad of
10313         doing it manually.
10314         (getInset): ditto
10315
10316         * buffer.C: include boost/bind.hpp, add using std::for_each
10317         (writeFileAscii): use ParagraphList iterators
10318         (validate): use for_each for validate traversal of paragraphs
10319         (getBibkeyList): use ParagraphList iterators
10320         (resizeInsets): use for_each to resizeInsetsLyXText for all
10321         paragraphs.
10322         (getParFromID): use ParagraphList iterators
10323
10324         * BufferView2.C (lockInset): use paragraph list and iterators
10325
10326 2002-08-14  John Levon  <levon@movementarian.org>
10327
10328         * lyxserver.C: remove spurious xforms include
10329
10330 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10331
10332         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10333
10334 2002-08-13  André Pönitz <poenitz@gmx.net>
10335
10336         * LyXAction.[Ch]:
10337         * lyxfunc.C: further cleaning
10338
10339 2002-08-13  André Pönitz <poenitz@gmx.net>
10340
10341         * funcrequest.h: new constructor
10342
10343         * funcrequest.C: move stuff here from .h
10344
10345         * Makefile.am:
10346         * BufferView_pimpl.C:
10347         * LyXAction.C:
10348         * toc.C:
10349         * lyxfunc.C: subsequent changes
10350
10351         * lyxfunc.h: new view() member function
10352
10353         * lyxfunc.C: subsequent changes
10354
10355 2002-08-13  Angus Leeming  <leeming@lyx.org>
10356
10357         * BufferView2.C:
10358         * BufferView_pimpl.C:
10359         * buffer.C:
10360         * converter.C:
10361         * importer.C:
10362         * lyxfunc.C:
10363         * lyxvc.C:
10364         * toc.C:
10365         * vc-backend.C:
10366         changes due to the changed LyXView interface that now returns references
10367         to member variables not pointers.
10368
10369 2002-08-13  Angus Leeming  <leeming@lyx.org>
10370
10371         * WordLangTuple (word, lang_code): return references to strings,
10372         not strings.
10373
10374         * BufferView.h:
10375         * SpellBase.h:
10376         * lyxtext.h: forward-declare WordLangTuple.
10377
10378         * BufferView2.C:
10379         * ispell.C:
10380         * pspell.C:
10381         * text.C: #include "WordLangTuple.h".
10382
10383         * lyxtext.h:
10384         * text.C: (selectNextWordToSpellcheck): constify return type.
10385
10386 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10387
10388         * buffer.C:
10389         * buffer.h:
10390         * lyxtext.h:
10391         * paragraph.C:
10392         * paragraph_pimpl.h:
10393         * text.C:
10394         * text2.C:
10395         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10396         suggested by Angus.
10397         Made updateCounter always count from start of buffer, and removed
10398         second argument (par).
10399         Reverted floats number display to '#'. Perhaps I'll try again when the
10400         code base is sanitized a bit.
10401
10402 2002-08-12  Angus Leeming  <leeming@lyx.org>
10403
10404         * buffer.[Ch] (getLabelList): constify.
10405
10406 2002-08-07  André Pönitz <poenitz@gmx.net>
10407
10408         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10409
10410         * funcrequest.h: extension to keep mouse (x,y) position
10411
10412 2002-08-12  Juergen Vigna  <jug@sad.it>
10413
10414         * BufferView2.C (insertErrors): forbid undo when inserting error
10415         insets.
10416
10417         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10418
10419 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10420
10421         * ParagraphList.[Ch]: new files
10422
10423         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10424
10425         * BufferView2.C (lockInset): ParagraphList changes
10426         * toc.C: ditto
10427         * text2.C: ditto
10428         * bufferlist.C: ditto
10429         * buffer.h: ditto
10430         * buffer.C: ditto
10431
10432 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10433
10434         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10435         unused class variable counter_,
10436
10437         * paragraph.[Ch] (getFirstCounter): delete unused function
10438
10439         * counters.C: include LAssert.h
10440         (reset): add a new function with no arg, change other version to
10441         not have def. arg and to not allow empty arg.
10442
10443         * text2.C (setCounter): remove empty arg from call to Counters::reset
10444
10445 2002-08-11  John Levon  <levon@movementarian.org>
10446
10447         * Makefile.am: add WordLangTuple.h
10448
10449 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10450
10451         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10452         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10453
10454         * insets/insettext.C: InsetList changes
10455
10456         * graphics/GraphicsSupport.C (operator()): InsetList changes
10457
10458         * toc.C (getTocList): InsetList changes
10459
10460         * paragraph_pimpl.[Ch]: InsetList changes
10461
10462         * paragraph.[Ch]: InsetList changes
10463
10464         * buffer.C (inset_iterator): InsetList changes
10465         (setParagraph): ditto
10466         * buffer.h (inset_iterator): ditto
10467         * iterators.C (operator++): ditto
10468         * iterators.h: ditto
10469
10470         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10471
10472         * InsetList.[Ch]: new files, most InsetList handling moved out of
10473         paragraph.C.
10474
10475         * BufferView2.C (removeAutoInsets): InsetList changes
10476         (lockInset): ditto
10477         (ChangeInsets): ditto
10478
10479 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10480
10481         * paragraph_pimpl.h (empty): new function
10482
10483         * paragraph.[Ch] (empty): new function
10484
10485         * other files: use the new Paragraph::empty function
10486
10487 2002-08-09  John Levon  <levon@movementarian.org>
10488
10489         * lyxtext.h: remove unused refresh_height
10490
10491 2002-08-09  John Levon  <levon@movementarian.org>
10492
10493         * Makefile.am:
10494         * sgml.h:
10495         * sgml.C:
10496         * buffer.C:
10497         * paragraph.h:
10498         * paragraph.C: move sgml char escaping out of paragraph
10499
10500         * paragraph.h:
10501         * paragraph.C: remove id setter
10502
10503         * buffer.C:
10504         * paragraph.C:
10505         * paragraph_pimpl.C: remove dead tex_code_break_column
10506
10507         * bufferview_funcs.C: small cleanup
10508
10509         * lyxfunc.C: remove dead proto
10510
10511         * lyxtext.h: make some stuff private. Remove some dead stuff.
10512
10513         * lyxgluelength.C: make as[LyX]String() readable
10514
10515 2002-08-08  John Levon  <levon@movementarian.org>
10516
10517         * LyXAction.h:
10518         * LyXAction.C:
10519         * MenuBackend.C:
10520         * ToolbarDefaults.C:
10521         * lyxfunc.C:
10522         * lyxrc.C:
10523         * toc.C: lyxaction cleanup
10524
10525 2002-08-08  John Levon  <levon@movementarian.org>
10526
10527         * BufferView2.C: small cleanup
10528
10529         * lyxfind.h:
10530         * lyxfind.C: move unnecessary header into the .C
10531
10532 2002-08-08  John Levon  <levon@movementarian.org>
10533
10534         * funcrequest.h: just tedious nonsense
10535
10536         * lyx_main.h:
10537         * lyx_main.C: cleanups
10538
10539         * buffer.C:
10540         * vspace.C: remove dead header lyx_main.h
10541
10542 2002-08-07  Angus Leeming  <leeming@lyx.org>
10543
10544         * Paragraph.[Ch]:
10545         * paragraph_pimpl.h:
10546         Forward declare class Counters in paragraph.h by moving the ctrs member
10547         variable into Paragraph::Pimpl.
10548         (counters): new method, returning a reference to pimpl_->ctrs.
10549
10550         * text2.C: ensuing changes.
10551
10552 2002-08-07  John Levon  <levon@movementarian.org>
10553
10554         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10555
10556         * BufferView_pimpl.C: announce X selection on double/triple
10557           click
10558
10559         * lyx_main.C: use correct bool in batch dispatch
10560
10561         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10562
10563 2002-08-07  André Pönitz <poenitz@gmx.net>
10564
10565         * funcrequest.h: new class to wrap a kb_action and its argument
10566
10567         * BufferView.[Ch]:
10568         * BufferView_pimpl[Ch]:
10569         * LaTeX.C:
10570         * LyXAction.[Ch]:
10571         * lyxfunc.[Ch]:
10572         * lyxrc.C: subsequent changes
10573
10574
10575 2002-08-07  John Levon  <levon@movementarian.org>
10576
10577         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10578           document options change.
10579
10580 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10581
10582         * counters.[Ch]
10583         * text2.C
10584         * paragraph.[Ch]
10585         * makefile.am: move counters functionality over from
10586         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10587
10588 2002-08-06  John Levon  <levon@movementarian.org>
10589
10590         * WordLangTuple.h: new file for word + language code tuple
10591
10592         * SpellBase.h:
10593         * pspell.h:
10594         * pspell.C:
10595         * ispell.h:
10596         * ispell.C:
10597         * lyxtext.h:
10598         * text.C:
10599         * text2.C:
10600         * BufferView.h:
10601         * BufferView2.C: use WordLangTuple
10602
10603         * layout.h:
10604         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10605
10606 2002-08-06  John Levon  <levon@movementarian.org>
10607
10608         * lyx_main.C: fix cmdline batch handling
10609
10610 2002-08-06  André Pönitz <poenitz@gmx.net>
10611
10612         * lyxrc.C: set default for show_banner to true
10613
10614 2002-08-06  John Levon  <levon@movementarian.org>
10615
10616         * pspell.C: fix a crash, and allow new aspell to work
10617
10618 2002-08-06  John Levon  <levon@movementarian.org>
10619
10620         * lyxfunc.C:
10621         * kbmap.C: small cleanup
10622
10623         * vspace.h:
10624         * vspace.C: add const
10625
10626 2002-08-05  John Levon  <levon@movementarian.org>
10627
10628         * LyXAction.C: back to tabular-insert
10629
10630 2002-08-04  John Levon  <levon@movementarian.org>
10631
10632         * BufferView.h:
10633         * BufferView.C: cosmetic change
10634
10635         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10636
10637         * bufferlist.C:
10638         * buffer.h:
10639         * buffer.C:
10640         * lyxcb.h:
10641         * lyxcb.C:
10642         * lyxserver.C:
10643         * lyxvc.C:
10644         * vc-backend.C:
10645         * BufferView2.C: purge all "Lyx" not "LyX" strings
10646
10647         * lyxcursor.h:
10648         * lyxcursor.C: attempt to add some documentation
10649
10650         * lyxfunc.C:
10651         * commandtags.h:
10652         * LyXAction.C:
10653         * ToolbarDefaults.C:
10654         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10655           merge with LFUN_TABULAR_INSERT
10656
10657         * Makefile.am:
10658         * SpellBase.h:
10659         * ispell.h:
10660         * ispell.C:
10661         * pspell.h:
10662         * pspell.C: split up i/pspell implementations into separate
10663           files, many cleanups
10664
10665         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10666
10667         * text2.C: some cleanup
10668
10669         * lyxfunc.C: don't check for isp_command == "none" any more, it
10670           didn't make any sense
10671
10672 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10673
10674         * counters.[Ch]
10675         * text2.C
10676         * paragraph.[Ch]
10677         * makefile.am: move counters functionality over
10678         from text2.C/paragraph.[Ch] to counters.[Ch], and
10679         make proper C++.
10680 2002-08-02  John Levon  <levon@movementarian.org>
10681
10682         * buffer.C: s/lyxconvert/lyx2lyx/
10683
10684 2002-08-02  Angus Leeming  <leeming@lyx.org>
10685
10686         * lyxlex.C: revert John's change as it breaks reading of the user
10687         preamble.
10688
10689 2002-08-02  Angus Leeming  <leeming@lyx.org>
10690
10691         * importer.C (Import):
10692         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10693         changes due to LyXView::view() now returning a boost::shared_ptr.
10694
10695 2002-08-02  John Levon  <levon@movementarian.org>
10696
10697         * lyxlex.C: small cleanup
10698
10699 2002-08-02  John Levon  <levon@movementarian.org>
10700
10701         * text2.C (status): small cleanup, no logic change
10702
10703 2002-08-01  John Levon  <levon@movementarian.org>
10704
10705         * buffer.h:
10706         * buffer.C (writeFile): don't output alerts, caller
10707           handles this
10708
10709         * bufferlist.C:
10710         * lyx_cb.C: from above
10711
10712         * lyxfunc.C: allow to open non-existent files
10713
10714 2002-07-31  John Levon  <levon@movementarian.org>
10715
10716         * lyxserver.C: don't let incidental errors get
10717           in the way (errno)
10718
10719 2002-07-30  John Levon  <levon@movementarian.org>
10720
10721         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10722
10723 2002-07-30  John Levon  <levon@movementarian.org>
10724
10725         * lyxserver.h:
10726         * lyxserver.C: remove I/O callback too
10727
10728 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10729
10730         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10731         log.
10732
10733 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10734
10735         * many files: strip,frontStrip -> trim,ltrim,rtrim
10736
10737 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10738
10739         * PrinterParams.h: remove extern containsOnly, and include
10740         support/lstrings.h instead.
10741
10742         * LaTeX.C (scanAuxFile): modify because of strip changes
10743         (deplog): ditto
10744         * buffer.C (makeLaTeXFile): ditto
10745         * bufferparams.C (writeFile): ditt
10746         * lyxfont.C (stateText): ditto
10747         * lyxserver.C (read_ready): ditto
10748         * vc-backend.C (scanMaster): ditto
10749
10750         * BufferView_pimpl.h: ws changes
10751
10752         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10753
10754 2002-07-26  André Pönitz <poenitz@gmx.net>
10755
10756         * kb_sequence.C: remove unnedred usings
10757
10758 2002-07-26  Juergen Vigna  <jug@sad.it>
10759
10760         * lyxfind.C (LyXReplace): we have to check better if the returned
10761         text is not of theLockingInset()->getLockingInset().
10762
10763 2002-07-25  Juergen Vigna  <jug@sad.it>
10764
10765         * lyxfind.C (LyXReplace): don't replace if we don't get the
10766         right LyXText.
10767
10768         * undo_funcs.C (createUndo): remove debugging code.
10769
10770 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10771
10772         * buffer.C (parseSingleLyXformat2Token): Use default placement
10773         when reading old floats.
10774
10775         * FloatList.C (FloatList): Change the default placement of figure
10776         and tables to "tbp".
10777
10778 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10779
10780         * MenuBackend.C: using std::max
10781
10782 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10783
10784         * MenuBackend.C (expandToc):
10785         (expandToc2): code moved from xforms menu frontend. It is now
10786         generic and TOCs are transparent to menu frontends.
10787
10788 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10789
10790         * toc.C (getTocList): protect against buf=0
10791
10792         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10793         Menu as first parameter. Now, this calls itself recursively to
10794         expand a whole tree (this will be useful for TOC handling)
10795         (expandFloatInsert): remove 'wide' version of floats
10796
10797         * MenuBackend.h (submenuname): returns the name of the submenu.
10798         (submenu): returns the submenu itself, provided it has been
10799         created by MenuBackend::expand
10800
10801 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10802
10803         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10804         insets which have noFontChange == true. (bug #172)
10805
10806 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10807
10808         * BufferView_pimpl.C: add connection objects and use them...
10809         (Pimpl): here.
10810
10811 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10812
10813         * MenuBackend.C (expandLastfiles):
10814         (expandDocuments):
10815         (expandFormats):
10816         (expandFloatListInsert):
10817         (expandFloatInsert):
10818         (expand): split expand in parts
10819
10820 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10821
10822         * lyx_gui.C: use lyx_gui::exit()
10823
10824 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10825
10826         * LyXAction.C: show the failing pseudo action
10827
10828 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10829
10830         * buffer.C (readFile): Run the lyxconvert script in order to read
10831         old files.
10832
10833 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10834
10835         * LyXAction.C:
10836         * commandtags.h:
10837         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10838
10839 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10840
10841         * LyXAction.C:
10842         * commandtags.h:
10843         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10844
10845 2002-07-22  Herbert Voss  <voss@lyx.org>
10846
10847         * lengthcommon.C:
10848         * lyxlength.[Ch]: add support for the vertical lengths
10849
10850 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10851
10852         * toc.[Ch]: std:: fixes
10853
10854 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10855
10856         * lyxrc.C: do not include lyx_main.h
10857
10858         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10859         for layouts
10860
10861         * lyxrc.C:
10862         * encoding.C:
10863         * bufferlist.C:
10864         * BufferView2.C: include "lyxlex.h"
10865
10866         * tabular.h:
10867         * bufferparams.h: do not #include "lyxlex.h"
10868
10869         * lyxtextclasslist.C (Add): remove method
10870         (classlist): renamed to classlist_
10871
10872         * paragraph_pimpl.C:
10873         * paragraph.C:
10874         * text2.C:
10875         * CutAndPaste.C:
10876         * bufferview_funcs.C:
10877         * bufferlist.C:
10878         * text.C:
10879         * LaTeXFeatures.C:
10880         * buffer.C:
10881         * toc.C (getTocList): use BufferParams::getLyXTextClass
10882
10883         * toc.C (getTocList): use InsetFloat::addToToc
10884
10885         * toc.[Ch]: new files, containing helper functions to handle table
10886         of contents
10887
10888         * lyxfunc.C (dispatch): no need to remove spaces around command
10889         given as a string
10890         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10891         first command of the sequence; it is not very clever, but I do not
10892         have a better idea, actually
10893
10894         * LyXAction.C (LookupFunc): make sure to remove space at the
10895         beginning and end of the command
10896
10897 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10898
10899         * MenuBackend.C (getMenubar): new method: return the menubar of
10900         this menu set
10901         (read): treat differently reading of menu and menubar (in
10902         particular, the menubar has no name now)
10903         (Menu::menubar): remove
10904
10905         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10906         saving is finished
10907
10908 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10909
10910         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10911         a bibitem inset in a RTL paragraph.
10912
10913 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10914
10915         * paragraph_pimpl.C: constify
10916
10917         * BufferView_pimpl.C:
10918         * LaTeX.C:
10919         * lyxfunc.C: fix dispatch in a nicer way
10920
10921 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10922
10923         * lyxfunc.C (dispatch):
10924         * BufferView_pimpl.C:
10925         * BufferView_pimpl.h:
10926         * BufferView.C:
10927         * BufferView.h: rename Dispatch() to dispatch()
10928
10929         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10930
10931         * lyxlayout.C (Read): honor DependsOn tag
10932
10933         * lyxlayout.[Ch] (depends_on): new method
10934
10935         * version.C.in: update lyx_docversion
10936
10937         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10938
10939         * paragraph.C (validate): remove from here...
10940         * paragraph_pimpl.C (validate): ... and move here
10941         (isTextAt): make it const
10942
10943         * buffer.C (getLists): ws cleanup
10944
10945 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10946
10947         * language.C (read): Use iso8859-1 encoding in latex_lang
10948         (this prevents LyX from crashing when using iso10646-1 encoding).
10949
10950 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10951
10952         * text2.C (toggleInset): if cursor is inside an inset, close the
10953         inset and leave cursor _after_ it
10954
10955 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10956
10957         * lyxfunc.C: move minibuffer completion handling out of here
10958
10959 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10960
10961         * BufferView_pimpl.C:
10962         * LaTeX.C: fix dispatch calls
10963
10964 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10965
10966         * text.C (drawChars): Fix Arabic text rendering.
10967
10968 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10969
10970         * LyXAction.C:
10971         * commandtags.h:
10972         * lyxfunc.C: remove message-push/pop
10973
10974         * lyxserver.C:
10975         * lyxfunc.h:
10976         * lyxfunc.C: rationalise some code by removing verboseDispatch
10977           in favour of a bool argument to dispatch()
10978
10979 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10980
10981         * lyx_main.C (init): make sure to read symlinks as absolute paths
10982
10983 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10984
10985         * lyxfunc.h:
10986         * lyxfunc.C: no need for commandshortcut to be a member
10987
10988 2002-07-15  André Pönitz <poenitz@gmx.net>
10989
10990         * converter.C: add support for $$s (scripts from lib/scripts dir)
10991         * lyx_main.C: white space
10992
10993 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10994
10995         * bufferlist.C:
10996         * lyxrc.h:
10997         * lyxrc.C: remove second exit confirmation
10998
10999 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11000
11001         * BufferView.h:
11002         * BufferView.C:
11003         * BufferView2.C:
11004         * BufferView_pimpl.h:
11005         * BufferView_pimpl.C:
11006         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11007
11008 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11009
11010         * MenuBackend.C (expand): add numeric shortcuts to document menu
11011
11012         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11013
11014 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11015
11016         * lyxfont.C (setLyXFamily):
11017         (setLyXSeries):
11018         (setLyXShape):
11019         (setLyXSize):
11020         (setLyXMisc):
11021         (lyxRead):
11022         * debug.C (value):
11023         * buffer.C (asciiParagraph): use ascii_lowercase
11024
11025 2002-07-15  Mike Fabian  <mfabian@suse.de>
11026
11027         * lyxlex_pimpl.C (search_kw):
11028         * lyxlex.C (getLongString):
11029         * converter.h (operator<):
11030         * converter.C (operator<):
11031         * buffer.C (parseSingleLyXformat2Token):
11032         (asciiParagraph):
11033         * ToolbarDefaults.C (read):
11034         * MenuBackend.C (checkShortcuts):
11035         (read):
11036         * LColor.C (getFromGUIName):
11037         (getFromLyXName): use the compare_ascii_no_case instead of
11038         compare_no_case, because in turkish, 'i' is not the lowercase
11039         version of 'I', and thus turkish locale breaks parsing of tags.
11040
11041 2002-07-16  Angus Leeming  <leeming@lyx.org>
11042
11043         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11044         now takes a Buffer const & argument.
11045
11046 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11047
11048         * BufferView.C (resize): check there's a buffer to resize
11049
11050 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11051
11052         * lyxfunc.C: remove dead code
11053
11054         * lyxserver.h:
11055         * lyxserver.C: use lyx_guii::set_read_callback
11056
11057 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11058
11059         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11060         an inset in a RTL paragraph.
11061
11062 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11063
11064         * lyxfunc.C: repaint after a font size update
11065
11066 2002-07-15  André Pönitz <poenitz@gmx.net>
11067
11068         * lyxlength.C: inBP should be able to return negative values
11069
11070 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11071
11072         * lyxfunc.C: use lyx_gui::update_fonts()
11073
11074 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11075
11076         * lyxfunc.C: use lyx_gui::update_color()
11077
11078 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * bufferlist.C:
11081         * lyxfunc.h:
11082         * lyxfunc.C:
11083         * lyxrc.h:
11084         * lyxrc.C: remove file->new asks for name option, and let
11085           buffer-new take an argument
11086
11087 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11088
11089         * BufferView_pimpl.C: remove unneeded extra repaint()
11090
11091 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11092
11093         * LyXAction.C: allow command-sequence with NoBuffer
11094
11095         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11096
11097 2002-07-10  Angus Leeming  <leeming@lyx.org>
11098
11099         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11100
11101 2002-07-09  Angus Leeming  <leeming@lyx.org>
11102
11103         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11104
11105 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11106
11107         * lengthcommon.h: whitespace
11108
11109         * lyxfunc.C: update scrollbar after goto paragraph
11110
11111         * lyxtext.h: factor out page break drawing, and fix it so
11112           page break/added space paints as selected nicely
11113
11114 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11115
11116         * BufferView_pimpl.C: add FIXMEs, clean up a little
11117
11118 2002-07-09  André Pönitz <poenitz@gmx.net>
11119
11120         * lyxfont.[Ch]: support for wasy symbols
11121
11122 2002-07-08  André Pönitz <poenitz@gmx.net>
11123
11124         * BufferView_pimpl.C: apply John's patch for #93.
11125
11126 2002-07-05  Angus Leeming  <leeming@lyx.org>
11127
11128         * BufferView_pimpl.C (buffer): generate previews if desired.
11129
11130         * LColor.h: add "preview" to the color enum.
11131
11132         * LColor.C (LColor): add a corresponding entry to the items array.
11133
11134         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11135         with this buffer.
11136
11137 2002-07-05  Angus Leeming  <leeming@lyx.org>
11138
11139         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11140         The body of the code is now in the method that is passed an ostream &
11141         rather than a file name.
11142         Pass an additional only_preamble parameter, useful for the forthcoming
11143         preview stuff.
11144
11145 2002-07-03  André Pönitz <poenitz@gmx.net>
11146
11147         * lyxfunc.C: simplify getStatus() a bit for math stuff
11148
11149 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11150
11151         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11152
11153 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11154
11155         * text.C (changeRegionCase): do not change case of all the
11156         document when region ends at paragraph end (bug #461)
11157
11158 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11159
11160         * paragraph.C (startTeXParParams):
11161         (endTeXParParams): add \protect when necessary
11162
11163 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11164
11165         * BufferView_pimpl.C (workAreaExpose): remove warning
11166
11167 2002-06-27  Angus Leeming  <leeming@lyx.org>
11168
11169         * Makefile.am: add lyxlayout_ptr_fwd.h.
11170
11171 2002-06-26  André Pönitz <poenitz@gmx.net>
11172
11173         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11174
11175 2002-06-25  Angus Leeming  <leeming@lyx.org>
11176
11177         * lyxfunc.C (dispatch): Comment out the call to
11178         grfx::GCache::changeDisplay. The method no longer exists now that the
11179         pixmap generation part of the graphics loader has been moved into
11180         InsetGraphics.
11181
11182 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11183
11184         * text2.C: layout as layout
11185
11186         * text.C: layout as layout
11187
11188         * tabular.C (OldFormatRead): layout as layout
11189
11190         * paragraph_pimpl.C (TeXDeeper): layout as layout
11191         (realizeFont): layout as layout
11192
11193         * paragraph.C (writeFile): layout as layout
11194         (validate): layout as layout
11195         (getFont): layout as layout
11196         (getLabelFont): layout as layout
11197         (getLayoutFont): layout as layout
11198         (breakParagraph): layout as layout
11199         (stripLeadingSpaces): layout as layout
11200         (getEndLabel): layout as layout
11201         (getMaxDepthAfter): layout as layout
11202         (applyLayout): layout as layout
11203         (TeXOnePar): layout as layout
11204         (simpleTeXOnePar): layout as layout
11205         (TeXEnvironment): layout as layout
11206         (layout): layout as layout
11207         (layout): layout as layout
11208
11209         * lyxtextclass.C (compare_name): new functor to work with
11210         shared_ptr, layout as layout
11211         (Read): layout as layout
11212         (hasLayout): layout as layout
11213         (operator): layout as layout
11214         (delete_layout): layout as layout
11215         (defaultLayout): layout as layout
11216
11217         * lyxlayout_ptr_fwd.h: new file
11218
11219         * lyxlayout.C (Read): layout as layout
11220
11221         * lyx_cb.C (MenuInsertLabel): layout as layout
11222
11223         * bufferlist.C (newFile): layout as layout
11224
11225         * buffer.C (readLyXformat2): layout as layout
11226         (parseSingleLyXformat2Token): layout as layout
11227         (insertStringAsLines): layout as layout
11228         (asciiParagraph): layout as layout
11229         (latexParagraphs): layout as layout
11230         (makeLinuxDocFile): layout as layout
11231         (simpleLinuxDocOnePar): layout as layout
11232         (makeDocBookFile): layout as layout
11233         (simpleDocBookOnePar): layout as layout
11234         (getLists): layout as layout
11235
11236         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11237
11238         * CutAndPaste.C (cutSelection): layout as layout
11239         (pasteSelection): layout as layout
11240         (SwitchLayoutsBetweenClasses): layout as layout
11241
11242         * BufferView_pimpl.C (Dispatch): layout as layout
11243         (smartQuote): layout as layout
11244
11245         * BufferView2.C (unlockInset): layout as layout
11246
11247 2002-06-24  André Pönitz <poenitz@gmx.net>
11248
11249         * lyxfunc.C: fix #487
11250
11251 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11252
11253         * lyxrc.h:
11254         * lyxrc.C:
11255         * lyxfunc.C: remove display_shortcuts, show_banner
11256
11257 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11258
11259         * Buffer_pimpl.C: oops, update on resize
11260
11261 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11262
11263         * buffer.C:
11264         * converter.C:
11265         * exporter.C:
11266         * lyxfunc.C:
11267         * BufferView.h:
11268         * BufferView.C: use repaint()
11269
11270         * BufferView_pimpl.h:
11271         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11272           as it's a clearer description. Remove superfluous
11273           redraws.
11274
11275 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11276
11277         * text.C: fix bug 488. Not ideal, but getting
11278           getWord() to work properly for the insets that
11279           matter is more difficult ...
11280
11281 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11282
11283         * BufferView_pimpl.C:
11284         * LyXAction.C:
11285         * commandtags.h:
11286         * lyxfunc.C: remove the six million index lyxfuncs to just
11287           one, and DTRT (bug 458)
11288
11289 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11290
11291         * BufferView.h:
11292         * BufferView.C:
11293         * BufferView_pimpl.h:
11294         * BufferView_pimpl.C: clean up resize() stuff,
11295           and unnecessary updateScreen()s
11296
11297 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11298
11299         * BufferView.h:
11300         * BufferView.C:
11301         * BufferView_pimpl.h:
11302         * BufferView_pimpl.C:
11303         * lyxfind.h:
11304         * lyxfind.C:
11305         * minibuffer.C: remove focus management of workarea,
11306           not needed. Use screen's greyOut()
11307
11308 2002-06-17  Herbert Voss  <voss@lyx.org>
11309
11310         * converter.C: (convert) do not post a message, when converting
11311         fails, let the calling function decide what to do in this case
11312
11313 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11314
11315         * lyxfunc.C: tidy up a little
11316
11317 2002-06-16    <alstrup@diku.dk>
11318
11319         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11320         Got rid of FORMS_H_LOCATION include. Now we are
11321         GUII.
11322
11323 2002-06-15  LyX Development team  <lyx@rilke>
11324
11325         * buffer.[Ch] (sgmlOpenTag):
11326         (sgmlCloseTag): Added support for avoiding pernicious mixed
11327         content. Return number of lines written.
11328
11329         (makeLinuxDocFile):
11330         (makeDocBookFile): Fixed calls to sgml*Tag.
11331         Simple white space clean.
11332
11333         (simpleDocBookOnePar): Simple white space clean.
11334
11335         * tabular.[Ch] (docBook): Renamed to docbook and got another
11336         argument to related with the pernicious mixed content.
11337
11338         (docbookRow): Fixed calls for docbook inset method.
11339
11340 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11341
11342         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11343         so it's X11 independent.
11344
11345         * kb*.[Ch]: ditto.
11346
11347         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11348
11349 2002-06-15  Lyx Development team  <lyx@electronia>
11350
11351         * intl.h: Renamed getTrans to getTransManager.
11352
11353 2002-06-14  Angus Leeming  <leeming@lyx.org>
11354
11355         * Makefile.am: nuke forgotten stl_string_fwd.h.
11356
11357 2002-06-12  Angus Leeming  <leeming@lyx.org>
11358
11359         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11360
11361 2002-06-13  Angus Leeming  <leeming@lyx.org>
11362
11363         * LaTeX.C:
11364         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11365
11366 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11367
11368         * kbmap.C (getiso): add support for cyrillic and greek
11369
11370 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11371
11372         * BufferView.h:
11373         * BufferView.C:
11374         * BufferView_pimpl.h:
11375         * BufferView_pimpl.C: move bogus scrolling logic
11376           to xforms
11377
11378 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11379
11380         * lyxfunc.C:
11381         * BufferView_pimpl.C: view->resize() change
11382
11383 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11384
11385         * BufferView_pimpl.C: topCursorVisible
11386           prototype change
11387
11388 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11389
11390         * Makefile.am:
11391         * lyx_gui.h:
11392         * lyx_gui.C: move to frontends/
11393
11394         * main.C:
11395         * lyx_main.h:
11396         * lyx_main.C: changes from above
11397
11398 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11399
11400         * intl.C:
11401         * intl.h:
11402         * kbmap.C:
11403         * kbsequence.C:
11404         * lyx_cb.C:
11405         * lyx_main.C: minor tidy
11406
11407 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11408
11409         * BufferView_pimpl.h:
11410         * BufferView_pimpl.C:
11411         * BufferView.h:
11412         * BufferView.C: make painter() const,
11413           remove dead code
11414
11415         * BufferView2.C: use screen() accessor
11416
11417         * lyx_main.h:
11418         * lyx_main.C: some minor cleanup
11419
11420 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11421
11422         * BufferView_pimpl.h:
11423         * BufferView_pimpl.C: remove enter/leaveView,
11424           use workHeight()
11425
11426 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11427
11428         * BufferView.h:
11429         * BufferView.C:
11430         * BufferView2.C:
11431         * BufferView_pimpl.h:
11432         * BufferView_pimpl.C: only construct screen once,
11433           rename
11434
11435         * lyxrc.C: remove pointless comment
11436
11437 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * BufferView.h:
11440         * BufferView.C: remove active() and belowMouse()
11441
11442         * BufferView_pimpl.h:
11443         * BufferView_pimpl.C: use workarea() not workarea_,
11444           and make it use a scoped_ptr instead
11445
11446 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * lyx_gui.C: add debug message on BadWindow
11449
11450 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11451
11452         * sp_spell.C: fdopen is not part of the C++ standard.
11453
11454         * paragraph.C (InsetIterator): use >= instead of ==
11455
11456 2002-06-07  Angus Leeming  <leeming@lyx.org>
11457
11458         Fixes needed to compile with Compaq cxx 6.5.
11459         * BufferView_pimpl.C:
11460         * DepTable.C:
11461         * buffer.C:
11462         * converter.C:
11463         * encoding.C:
11464         * lyx_gui.C:
11465         * lyx_main.C:
11466         * lyxtextclasslist.C:
11467         * minibuffer.C:
11468         * sp_spell.C:
11469         * tabular_funcs.C:
11470         * vc-backend.C:
11471         all c-library variables have been moved into namespace std. Wrap
11472         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11473
11474         * lyxlength.C:
11475         * tabular-old.C:
11476         * tabular.C:
11477         Add a using std::abs declaration.
11478
11479         * kbmap.h (modifier_pair):
11480         * paragraph.h (InsetTable, InsetList):
11481         * lyxfont.h (FontBits):
11482         type definition made public.
11483
11484         * bufferlist.C (emergencyWriteAll): the compiler complains that
11485         there is more than one possible lyx::class_fun template to choose from.
11486         I re-named the void specialisation as lyx::void_class_fun.
11487
11488         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11489
11490         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11491         the compiler is is unable to find tostr in write_attribute.
11492
11493 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11494
11495         * buffer.C (sgmlError): hide #warning
11496
11497 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11498
11499         * xtl/*: get rid of xtl, which is not in use anyway
11500
11501         * LyXAction.C (init):
11502         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11503         were unimplemented xtl experimentation
11504
11505 2002-06-04  André Pönitz <poenitz@gmx.net>
11506
11507         * lyxfunc.C: disable array operation on simple formulae
11508
11509 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11510
11511         * converter.C: constify a bit
11512
11513 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11514
11515         * lyx_gui.C: check xforms version correctly
11516
11517 2002-04-30  Herbert Voss  <voss@lyx.org>
11518
11519         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11520         "keep" option
11521
11522 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11523
11524         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11525           attempt to register it with a VCS)
11526
11527 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11528
11529         * lyx_main.C (init): honor variables LYX_DIR_13x and
11530         LYX_USERDIR_13x
11531
11532 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11533
11534         * buffer.h:
11535         * buffer.C:
11536         * lyx_main.C: fix a crash on bad command line,
11537           and give a useful exit status on error
11538
11539         * lyxfunc.C (doImport): allow -i lyx to work
11540
11541 2002-03-30  André Pönitz <poenitz@gmx.net>
11542
11543         * lyxfunc.C: mathed font changes
11544
11545 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11546
11547         * LaTeX.C:
11548         * importer.h:
11549         * importer.C:
11550         * lyx_sty.h:
11551         * lyx_sty.C:
11552         * lyxlex.C:
11553         * lyxrow.h:
11554         * lyxtext.h:
11555         * paragraph.h:
11556         * paragraph.C:
11557         * texrow.h:
11558         * texrow.C:
11559         * text.C:
11560         * trans_mgr.h: srcdocs, and some minor cleanups
11561
11562 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11563
11564         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11565         call getFont all the time)
11566
11567 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11568
11569         * switch from SigC signals to boost::signals
11570
11571 2002-05-29  André Pönitz <poenitz@gmx.net>
11572
11573         * paragraph_pimpl.C (getChar): don't call size() too often...
11574
11575 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11576
11577         * paragraph_pimpl.C (insertChar): do not try to update tables when
11578         appending (pos == size())
11579
11580         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11581         in order to reduce drastically the number of comparisons needed to
11582         parse a large document
11583
11584 2002-05-29  André Pönitz <poenitz@gmx.net>
11585
11586         * text.C:
11587         * text2.C:
11588         * lyxtextclass.C:
11589         * sp_pspell.h:
11590         * textclasslist.[Ch]:
11591         * sp_ispell.h: whitespace change
11592
11593 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11594
11595         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11596         lyxaction directly now.
11597
11598 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11599
11600         * trans.C:
11601         * lyxfont.C:
11602         * lyxvc.C: remove unused headers
11603
11604 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11605
11606         * Makefile.am:
11607         * buffer.h:
11608         * undostack.h:
11609         * undostack.C:
11610         * undo_funcs.h:
11611         * undo_funcs.C: some cleanups. Use shared_ptr
11612           and a template for the undo stacks.
11613
11614 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11615
11616         * BufferView_pimpl.h:
11617         * BufferView_pimpl.C:
11618         * kbmap.h:
11619         * kbmap.C:
11620         * kbsequence.h:
11621         * kbsequence.C:
11622         * lyxfunc.h:
11623         * lyxfunc.C:
11624         * text2.C: use key_state/mouse_state
11625
11626 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11627
11628         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11629         and LSubstring
11630
11631         * chset.C: change include order
11632         (loadFile): use boost regex and get rid of LRegex and LSubstring
11633
11634         * Makefile.am (BOOST_LIBS): new variable
11635         (lyx_LDADD): use it
11636
11637         * LaTeX.C: change include order.
11638         (scanAuxFile): use boost regex and get rid of LRegex and
11639         LSubstring
11640         (deplog): ditto
11641
11642 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11643
11644         * ColorHandler.h:
11645         * ColorHandler.C:
11646         * FontInfo.h:
11647         * FontInfo.C: moved to frontends/xforms/
11648
11649         * FontLoader.h:
11650         * FontLoader.C: moved into frontends for GUIIzation
11651
11652         * Makefile.am:
11653         * lyx_gui.C:
11654         * lyxfont.C:
11655         * lyxfunc.C: changes from above
11656
11657 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11658
11659         * LColor.C: remove spurious X include
11660
11661         * BufferView_pimpl.C:
11662         * Makefile.am:
11663         * font.h:
11664         * font.C:
11665         * text.C:
11666         * text2.C: move font metrics to frontends/
11667
11668 2002-05-24  Juergen Vigna  <jug@sad.it>
11669
11670         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11671         setting the undo_cursor.
11672
11673         * ParagraphParameters.h: include local includes first.
11674
11675 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11676
11677         * BufferView_pimpl.C:
11678         * BufferView_pimpl.h:
11679         * Makefile.am:
11680         * WorkArea.h:
11681         * WorkArea.C:
11682         * screen.C: move WorkArea into frontends/
11683
11684         * lyxscreen.h:
11685         * screen.C:
11686         * text.C:
11687         * BufferView.C:
11688         * BufferView2.C: move LyXScreen into frontends/
11689
11690         * lyxlookup.h:
11691         * lyxlookup.C:
11692         * lyx_gui.C: move lyxlookup into frontends/xforms/
11693
11694 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11695
11696         * BufferView2.C:
11697         * BufferView_pimpl.C:
11698         * FontLoader.C:
11699         * LyXView.h:
11700         * LyXView.C:
11701         * Makefile.am:
11702         * WorkArea.C:
11703         * XFormsView.h:
11704         * XFormsView.C:
11705         * buffer.C:
11706         * bufferlist.C:
11707         * bufferview_funcs.C:
11708         * converter.C:
11709         * importer.C:
11710         * lyx_cb.C:
11711         * lyx_gui.C:
11712         * lyx_main.C:
11713         * lyx_find.C:
11714         * lyxfunc.C:
11715         * lyxvc.C:
11716         * minibuffer.C:
11717         * text.C:
11718         * text2.C:
11719         * trans.C:
11720         * vc-backend.C: move LyX/XFormsView into frontends/
11721
11722 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11723
11724         * Makefile.am:
11725         * PainterBase.C:
11726         * PainterBase.h:
11727         * Painter.C:
11728         * Painter.h:
11729         * WorkArea.C:
11730         * WorkArea.h:
11731         * screen.C:
11732         * tabular.C:
11733         * text.C:
11734         * text2.C: move Painter to frontends/
11735
11736 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11737
11738         * buffer.C: comment out some some code that depend upon lyx_format
11739         < 220
11740
11741         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11742         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11743
11744         * buffer.h (NO_COMPABILITY): turn off compability
11745
11746         * ColorHandler.C: include scoped_array.hpp
11747
11748         * font.C: Use more specific smart_ptr header.
11749         * Painter.C: ditto
11750         * gettext.C: ditto
11751         * ShareContainer.h: ditto
11752         * lyx_main.h: ditto
11753         * kbmap.h: ditto
11754         * FontInfo.h: ditto
11755         * BufferView_pimpl.h: ditto
11756         * ColorHandler.h: ditto
11757
11758         * kbmap.C (defkey): change call to shared_ptr::reset
11759
11760 2002-05-21  Juergen Vigna  <jug@sad.it>
11761
11762         * buffer.C (insertErtContents): fix to insert ert asis if it is
11763         non empty. Skip it completely if it contains only whitespaces.
11764
11765 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11766
11767         * BufferView_pimpl.C:
11768         * BufferView2.C: clear selection on paste (bug 393)
11769
11770 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11771
11772         * DepTable.C: include ctime
11773
11774 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11775
11776         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11777
11778 2002-05-14  Juergen Vigna  <jug@sad.it>
11779
11780         * text.C (breakParagraph): fixed function to honor the keepempty
11781         layout in the right maner and also to permit the right breaking
11782         algorithm on empty or non empyt keepempty paragraphs.
11783
11784         * paragraph.C (breakParagraph): we have to check also if the par
11785         is really empty (!size()) for isempty otherwise we do the wrong
11786         paragraph break.
11787
11788 2002-05-10  Juergen Vigna  <jug@sad.it>
11789
11790         * buffer.[Ch] : The following are only changes to the ert
11791         compatibility read reading old LaTeX layout and font stuff and
11792         convert it to ERTInsets.
11793
11794         * buffer.h: added isErtInset().
11795
11796         * buffer.C (struct ErtComp): add a fromlayout bool to check
11797         if we're inside a LaTeX layout.
11798         (isErtInset): new helper function.
11799         (insertErtContents): look for other ert insets before this one
11800         and insert the contents there, so that we don't have subsequent
11801         ERT insets with nothing between them. This way we create only one
11802         inset with multiple paragraphs. Also check if we don't insert only
11803         spaces ' ' as they are ignored anyway afterwards in the .tex file
11804         so if we have only spaces we will ignore this latex part in the
11805         new file.
11806         (parseSingleLyXformat2Token \\layout): better compatibility when
11807         reading layout-latex stuff.
11808         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11809         language tag.
11810         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11811         stuff after reading the inset only get the information back from
11812         the stack.
11813
11814 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11815
11816         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11817
11818         * LaTeXFeatures.C (getBabelOptions): New method.
11819
11820 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11821
11822         * BufferView_pimpl.C (Dispatch): work around missing argument for
11823         'layout'
11824
11825 2002-05-08  Juergen Vigna  <jug@sad.it>
11826
11827         * text.C (leftMargin): handle paragraph leftindent.
11828
11829         * paragraph.C (writeFile): write the new \\leftindent tag.
11830         (validate): handle leftindent code.
11831         (TeXEnvironment): handle paragraphleftindent code again.
11832
11833         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11834
11835         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11836         for paragrap_extra indent code and new token \\leftindent.
11837         (latexParagraphs): handle the leftindent as environment.
11838
11839         * ParameterStruct.h: added leftindent support.
11840
11841         * ParagraphParameters.C (leftIndent): added support functions for
11842         the paragraph left indent.
11843
11844         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11845         more appropriate.
11846
11847 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11848
11849         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11850         inside insetERT.
11851
11852         * text.C (computeBidiTables): No bidi in insetERT.
11853
11854         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11855         in RTL documents.
11856
11857 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11858
11859         * version.C.in: pre 5
11860
11861 2002-05-02  José Matos  <jamatos@fep.up.pt>
11862         * buffer.C (makeDocBookFile): white space changes, add newline to
11863         command styles.
11864         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11865
11866         * tabular.C (docBook): fix typo.
11867
11868 2002-05-03  Juergen Vigna  <jug@sad.it>
11869
11870         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11871         change in LyXText as we can not be sure it was not freed.
11872         (drawOneRow): remove unused code.
11873
11874         * text.C (drawInset): redo the calculation of the need_break_row as
11875         it could have a row which was already freed.
11876         (draw): look at the return value of drawInset and return false if
11877         it also returned false.
11878         (paintRowText): look at the return value of draw and return false if
11879         it also returned false.
11880
11881         * lyxtext.h: added bool return type to drawInset() and draw() so that
11882         if we have a change in the row so that the rowbreak has to be redone
11883         we abort drawing as it will be called again.
11884
11885 2002-05-02  Juergen Vigna  <jug@sad.it>
11886
11887         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11888         a change in the maintext also if we're inside an inset.
11889         (Dispatch): set the cursor again after a break line and after the
11890         screen has been updated as it could be we're in a different row.
11891
11892         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11893         to set the cursor behind the pargraph with > size().
11894         (setCursor): check also for the same paragraph when checking where
11895         to put the cursor if we have a NFR inset.
11896
11897         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11898         parts of layout read further up as it still was in the wrong
11899         position.
11900
11901 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11902
11903         * screen.C (drawFromTo): change sine fullRebreak always return
11904         true.
11905
11906         * buffer.C (parseSingleLyXformat2Token): reindent some
11907
11908         * BufferView_pimpl.C (update): change since fullRebreak always
11909         return true.
11910         (Dispatch): git rid of the last hardcoded "Standard"s.
11911
11912 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11913
11914         * text2.[Ch] (fullRebreak): make it return void now that we always
11915         returned true.
11916
11917 2002-04-30  Juergen Vigna  <jug@sad.it>
11918
11919         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11920         ert compatibility check for "latex" layout.
11921
11922 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11923
11924         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11925         minipages: use col% instead of p%, and also use the current font.
11926         (makeLaTeXFile): Fix use babel condition.
11927         (parseSingleLyXformat2Token): Correct font when reading old floats.
11928
11929 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11930
11931         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11932         inserting list of floats.
11933
11934 2002-04-25  Herbert Voss  <voss@lyx.org>
11935
11936         * MenuBackend.C (expand): don't add the graphics extensions to the
11937         export menu
11938
11939 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11940
11941         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11942         non-existing layout, do not complain if it was the default layout
11943         of the original class (bug #342)
11944
11945 2002-04-24  Juergen Vigna  <jug@sad.it>
11946
11947         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11948         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11949
11950 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11951
11952         * buffer.C (getBibkeyList): If using \bibliography, return the
11953         option field with the reference itself. Enables us to provide natbib
11954         support when using \bibliography.
11955
11956 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11957
11958         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11959
11960         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11961         natbib is provided by the LaTeX class.
11962
11963 2002-04-23  Juergen Vigna  <jug@sad.it>
11964
11965         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11966         Wakeup functions.
11967
11968         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11969
11970 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11971
11972         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11973
11974         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11975         ensuremath around textordmasculine, textordfeminine and
11976         textdegree.
11977
11978 2002-04-19  Juergen Vigna  <jug@sad.it>
11979
11980         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11981         reinitializing the buffer otherwise row-dimensions may be wrong.
11982         (update): reset also the selection cursors if they do exits otherwise
11983         their x/y positions may be wrong.
11984
11985         * text2.C (cursorDown): don't enter the inset if we came from a row
11986         above and are one row over the inset.
11987
11988         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11989         really leaving an inset.
11990
11991 2002-04-18  Juergen Vigna  <jug@sad.it>
11992
11993         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11994         of the selected paragraph does not have the selected layout also if
11995         the last one had!
11996
11997         * text2.C (setLayout): fixed bug which did not change last selected
11998         paragraph.
11999
12000         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12001         changed the read and substituted \\end_float with \\end_inset!
12002
12003         * BufferView_pimpl.C (cursorPrevious):
12004         (cursorNext): fixed to make it work with rows heigher than the work
12005         area without moving the cursor only the draw of the row.
12006         (workAreaMotionNotify): fix jumping over high rows.
12007
12008 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12009
12010         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12011         Ressler.
12012
12013 2002-04-16  Juergen Vigna  <jug@sad.it>
12014
12015         * text2.C (setCursor): set also the irow().
12016         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12017         (cursorUp):
12018         (cursorDown): support for locking an inset if the x_fix value goes
12019         inside it. That way I can transverse insets too with cursor up/down.
12020
12021         * lyxrow.h: added irow helper function same as other (i) functions.
12022
12023         * BufferView_pimpl.C (cursorPrevious):
12024         (cursorNext): fixed for insets!
12025
12026 2002-04-15  Juergen Vigna  <jug@sad.it>
12027
12028         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12029         position otherwise it is wrong in some cases.
12030
12031         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12032         inside the inset before the call.
12033
12034 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12035
12036         * buffer.[Ch] (getBibkeyList): make it const.
12037
12038 2002-04-12  Juergen Vigna  <jug@sad.it>
12039
12040         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12041
12042         * text2.C (getCursorX): new helper function
12043         (setCursor): compute also ix_
12044         (setCursorFromCoordinates): set also ix.
12045
12046         * lyxcursor.h: added ix_ and helper functions.
12047
12048         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12049
12050         * buffer.C (insertStringAsLines): dont break paragraph if the this
12051         paragraph is inside an inset which does not permit it!
12052
12053         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12054         also with no chars on this paragraph.
12055         (paintRowText): only paint stuff if it's inside the workarea!
12056
12057         * paragraph.C (breakParagraph): honor keepempty flag and break the
12058         paragraph always below not above.
12059
12060         * BufferView2.C (unlockInset): update the paragraph layout on inset
12061         unlock as we changed paragraph in such a case.
12062
12063         * lyxfind.C (LyXFind): clear the former selection if not found!
12064
12065         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12066         again called in insertChar().
12067
12068         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12069         an inset which uses the whole row!
12070         (rightMargin): ditto.
12071         (insertChar): force a rebreak if we inserted an inset!
12072
12073 2002-03-28  Herbert Voss  <voss@lyx.org>
12074
12075         * lyxlength.[Ch]: add inBP() to get the right PS-point
12076         units (BigPoint). With inPixels we have rounding errors
12077
12078 2002-04-11  Juergen Vigna  <jug@sad.it>
12079
12080         * text2.C (setCursorFromCoordinates): set iy to the right value.
12081         (setCursor): add check if row->previous exists!
12082
12083         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12084         an old float_type as this was the case in the old code!
12085
12086         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12087
12088         * BufferView2.C (showLockedInsetCursor): use iy
12089         (fitLockedInsetCursor): ditto
12090
12091         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12092         locked insets as there we have the right value now.
12093
12094         * lyxcursor.C: added iy_ variable and iy functions to set to the
12095         baseline of cursor-y of the locked inset.
12096
12097         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12098         (setCursor): fixed for insets which need a full row.
12099
12100         * text.C (rowLastPrintable): don't ignore the last space when before
12101         an inset which needs a full row.
12102         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12103         as last character of a row when before a inset which needs a full row.
12104
12105 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12106
12107         * version.C.in: update date
12108
12109         * text2.C (fullRebreak): try to always return true and see what
12110         happens...
12111
12112 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12113
12114         * MenuBackend.C (expand): use Floating::listName
12115
12116         * FloatList.C (FloatList): add listName argument to the built-in
12117         floats
12118
12119         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12120         text associated with the float.
12121
12122 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12123
12124         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12125
12126 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12127
12128         * ShareContainer.h: add a couple of missing typenames.
12129
12130 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12131
12132         * lyxrc.C (getDescription): use _() correctly rather than N_().
12133
12134 2002-03-28  Herbert Voss  <voss@lyx.org>
12135
12136         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12137         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12138
12139 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12140
12141         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12142         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12143
12144 2002-03-29  Juergen Vigna  <jug@sad.it>
12145
12146         * lyxfunc.C (dispatch): add a missing fitCursor call.
12147
12148         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12149         it was scrolled by a cursor move, so return the bool status.
12150
12151         * BufferView.C (fitCursor): return the bool flag also to the outside
12152         world as this is needed.
12153
12154         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12155
12156         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12157         call the edit() as it is not needed (and wrong) IMO.
12158         (workAreaButtonPress): set the screen_first variable before evt.
12159         unlock the inset as this may change screen_first and then we have
12160         a wrong y position for the click!
12161
12162 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12163
12164         * MenuBackend.C (expand): another translation that I missed
12165
12166 2002-03-28  Juergen Vigna  <jug@sad.it>
12167
12168         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12169
12170         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12171
12172 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12173
12174         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12175
12176         * MenuBackend.C (expand): fix export/view/update when there is no
12177         document open.
12178
12179 2002-03-27  Herbert Voss  <voss@lyx.org>
12180
12181         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12182         and text%
12183
12184 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12185
12186         * bufferview_funcs.C (currentState): only show paragraph number
12187         for is DEVEL_VERSION is set.
12188
12189         * lyxfunc.C (dispatch): put warning in INFO channel
12190
12191         * MenuBackend.C (expand): translate the name of floats
12192
12193         * FloatList.C (FloatList): mark the float names for translation
12194
12195         * converter.C (convert): use LibScriptSearch
12196
12197 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12198
12199         * MenuBackend.C (defaults): fix default menu (we might as well get
12200         rid of it...)
12201
12202 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12203
12204         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12205         directory.
12206
12207 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12208
12209         * lyxvc.C: reorder includes.
12210
12211 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12212
12213         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12214           properly
12215
12216 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * CutAndPaste.C: change layouts earlier on paste
12219           to avoid crashing when calling getFont()
12220
12221 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12222
12223         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12224         irritating #error.
12225
12226 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12227
12228         * WorkArea.C: remove 'Pending' debug message.
12229
12230         * most files: ws cleanup
12231
12232         * buffer.[Ch]: ws changes
12233
12234         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12235
12236 2002-03-21  Juergen Vigna  <jug@sad.it>
12237
12238         * tabular.C (SetMultiColumn): collapse also the contents of the
12239         cells and set the last border right. Added a Buffer const * param.
12240
12241 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12242
12243         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12244         linking or not.
12245
12246 2002-03-19  Juergen Vigna  <jug@sad.it>
12247
12248         * text2.C (clearSelection): reset also xsel_cache.
12249
12250         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12251         where it needs to be called (John tells us to do so too :)
12252         (selectionLost): reset sel_cache.
12253
12254         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12255
12256 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12257
12258         * text2.C (setCursorIntern): put debuging code in INSETS channel
12259
12260 2002-03-19  André Pönitz <poenitz@gmx.net>
12261
12262         * lyxfunc.C: tiny whitespace change
12263
12264 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12265
12266         * ToolbarDefaults.C (init):
12267         * LyXAction.C (init):
12268         * commandtags.h:
12269         * BufferView_pimpl.C (Dispatch):
12270         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12271
12272 2002-03-19  Allan Rae  <rae@lyx.org>
12273
12274         * exporter.C (Export): removeAutoInsets before doing anything else.
12275         While I've just introduced a dependency on BufferView this really is
12276         the best place to clean the buffer otherwise you need to cleanup in
12277         a dozen places before calling export or cleanup in a dozen functions
12278         that export calls.
12279
12280         * converter.C (runLaTeX):
12281         (scanLog): Better handling of removeAutoInsets and screen updates.
12282
12283         * lyxfunc.C (dispatch): small whitespace changes
12284
12285 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12286
12287         * WorkArea.C (C_WorkAreaEvent): return a value.
12288         (event_cb): return 1 if we handled the event, 0 otherwise.
12289
12290         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12291
12292 2002-03-18  Juergen Vigna  <jug@sad.it>
12293
12294         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12295         (GetAdditionalWidth): ditto.
12296         (RightLine): ditto.
12297         (LeftLine): ditto.
12298
12299         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12300         inset if we're there actually (probably not used right now but this
12301         is the direction to go for unifying code).
12302         (paste): disable code to clear the selection.
12303
12304         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12305         inside an InsetText and move the check further up as it is in the
12306         wrong place.
12307
12308         * text2.C (pasteSelection): set a selection over the pasted text.
12309
12310 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12311
12312         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12313         and libgraphics to build on Cygwin.
12314
12315 2002-03-15  Juergen Vigna  <jug@sad.it>
12316
12317         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12318         inserting an Inset into the paragraph. I know this is not the best
12319         fix but we already use current_view in CutAndPaste so we will remove
12320         all of it's using at the same time.
12321
12322         * buffer.C (sgmlError): deactivated function till it is rewritten in
12323         the right mode, now it can create problems.
12324
12325         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12326         before accessing it.
12327
12328 2002-03-14  Juergen Vigna  <jug@sad.it>
12329
12330         * undo_funcs.C (textHandleUndo): do the right thing when updating
12331         the inset after the undo/redo.
12332
12333         * text2.C (setCursor): just some testcode for #44 not ready yet.
12334
12335         * undo_funcs.C (textHandleUndo): set the next() and previous()
12336         pointers of the paragraph to 0 before deleting otherwise we have
12337         problems with the Paragraph::[destructor].
12338
12339         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12340         on a paragraph insertion.
12341
12342 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12343
12344         * buffer.C (asciiParagraph): use += operator for char append to
12345         string.
12346
12347         * paragraph.C (getFontSettings): compare >= not just >
12348         (highestFontInRange): ditto
12349         (setFont): ditto
12350
12351 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12352
12353         * paragraph.C: change several algorithm to be more appripriate for
12354         the problem domain. This is lookip in FontList and in the InsetList.
12355
12356 2002-03-13  André Pönitz <poenitz@gmx.net>
12357
12358         * commandtags.h:
12359         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12360
12361 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12362
12363         * commandtags.h:
12364         * LyXAction.C:
12365         * lyxfunc.C:
12366         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12367
12368 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12369
12370         * Painter.C (display): anon helper function, adjust code for this
12371         change.
12372         (pixmap): remove function.
12373
12374         * Painter.h: remove private display variable.
12375
12376         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12377
12378 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12379
12380         * WorkArea.[Ch]: remove figinset_canvas cruft.
12381
12382 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12383
12384         * lyxtextclass.C (operator): add one item cache optimization.
12385
12386         * bufferlist.h: doxy changes
12387
12388         * bufferlist.C: ws changes
12389
12390         * DepTable.[Ch] (ext_exist): place const in the right spot.
12391
12392         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12393         call resizeInsets.
12394         (workAreaExpose): call resizeInsets when the with BufferView changes.
12395         (Dispatch): adjust for protectedBlank removal
12396         (specialChar): call updateInset if the insert went ok.
12397
12398         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12399         specialChar instead.
12400
12401         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12402
12403         * BufferView.h: doxy change
12404
12405         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12406
12407         * lyxtextclass.C (operator[]): remove non-const version
12408         (defaultLayout): remove non-const version
12409
12410 2002-03-12  Juergen Vigna  <jug@sad.it>
12411
12412         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12413         did resize the LyXText too.
12414
12415         * buffer.C (readLyXformat2): set layout information on newly allocated
12416         paragraphs.
12417
12418         * tabular.C (OldFormatRead): set layout information on the paragraph.
12419
12420 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12421
12422         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12423
12424 2002-03-11  Juergen Vigna  <jug@sad.it>
12425
12426         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12427         plainly wrong.
12428         (resizeCurrentBuffer): force also the insets to resize themselfes.
12429         (moveCursorUpdate): fixed up for InsetText.
12430
12431 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12432
12433         * commandtags.h:
12434         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12435         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12436         value of Dialogs::tooltipsEnabled().
12437         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12438
12439 2002-03-08  Juergen Vigna  <jug@sad.it>
12440
12441         * BufferView_pimpl.C (updateInset): update inset inside inset also
12442         if it isn't inside theLockingInset().
12443
12444 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12445
12446         * buffer.C (asciiParagraph): redo some of the word and line length
12447         handling.
12448         (getLists): look for Caption instead of caption.
12449
12450 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12451
12452         * buffer.C (Buffer): initialize niceFile to true
12453         (makeLaTeXFile):
12454         (makeLinuxDocFile):
12455         (makeDocBookFile): make sure niceFile is true on exit
12456
12457 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12458
12459         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12460
12461 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12462
12463         * LyXSendto.C: remove.
12464         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12465         * lyx_gui.C: remove now-redundant comment.
12466         * ColorHandler.h: remove forward declaration of class WorkArea.
12467         * lyxfunc.C: remove #include "WorkArea.h".
12468
12469 2002-03-07  Juergen Vigna  <jug@sad.it>
12470
12471         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12472         got moved away with the DEPM and also set the inset_owner always
12473         right which before could have been omitted.
12474
12475 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12476
12477         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12478         wanted layout is not found.
12479
12480 2002-03-07  Juergen Vigna  <jug@sad.it>
12481
12482         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12483
12484 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12485
12486         * paragraph.C (breakParagraph): use default layout not layout of
12487         prev paragraph.
12488         (Paragraph): clear ParagraphParameters.
12489
12490 2002-03-06  Juergen Vigna  <jug@sad.it>
12491
12492         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12493         otherwise it would not be a valid lenght. Fixed a special case in
12494         the minipage compatibility read where we end the document with a
12495         minipage.
12496
12497         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12498         was set as it could be 0 for InsetTexts first entry.
12499
12500 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12501
12502         * paragraph.C (writeFile): if layout is empty write out
12503         defaultLayoutName().
12504
12505         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12506         file without named layout we set layout to defaultLayoutName().
12507
12508 2002-03-06  Juergen Vigna  <jug@sad.it>
12509
12510         * CutAndPaste.C (copySelection): set layout for new paragraph.
12511
12512         * text.C (prepareToPrint): leave ERT inset left aligned
12513         (leftMargin): don't indent paragraphs inside ERT insets
12514
12515 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12516
12517         * paragraph.C (breakParagraph): dont call clear do the work manually
12518
12519         * paragraph.[Ch] (clear): remove function
12520
12521 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12522
12523         * paragraph.C (Paragraph): dont call clear, the work has already
12524         been done.
12525
12526         * lyxtextclass.C (operator): assert if n is empty
12527
12528         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12529         work manually instead.
12530
12531 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12532
12533         * BufferView_pimpl.C: protect selectionLost against text == 0
12534
12535 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12536
12537         * text.C (breakParagraph): fix a setting layout to '0' problem.
12538
12539 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12540
12541         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12542         final location of file, for the included files, and graphics.
12543
12544 2002-03-05  Juergen Vigna  <jug@sad.it>
12545
12546         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12547
12548 2002-03-04  Juergen Vigna  <jug@sad.it>
12549
12550         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12551
12552         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12553         last column of multicolumn cells.
12554         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12555
12556 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12557
12558         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12559         file if it doesn't go to a temporary file.
12560
12561         * buffer.C (sgmlOpenTag):
12562         (sgmlCloseTag):  remove extra newline insertion.
12563
12564 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12565
12566         * text.C (getRowNearY): comment out debug msg
12567
12568 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12569
12570         * text2.C: first -> first_y
12571
12572         * text.C (getRowNearY): add some attemts at a possible
12573         optimization, not working.
12574
12575         * tabular.[Ch]: add BufferParams to several function so that newly
12576         created paragraph can be initialized to he default layotu for the
12577         buffers textclass.
12578
12579         * tabular-old.C (ReadOld): add buf->params to call of Init
12580
12581         * screen.C: rename text->first to text->first_y
12582
12583         * paragraph.C (breakParagraph): always set layout in the broken
12584         paragraph
12585
12586         * lyxtextclass.C (Read): remove lowercase
12587         (hasLayout): ditto
12588         (operator): ditto
12589         (delete_layout): ditto
12590
12591         * lyxtext.h: rename first -> first_y
12592
12593         * lyxlayout.C (Read): remove lowercase
12594         (name): ditto
12595         (setName): ditto
12596         (obsoleted_by): ditto
12597
12598         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12599
12600         * buffer.C (insertErtContents): add params are to InsetERT
12601         (parseSingleLyXformat2Token): add code to check if a paragraphs
12602         layout really exist.
12603         (parseSingleLyXformat2Token): add params to several inset
12604         constructors
12605         (asciiParagraph): remove lowercase, do the layout comparisons with
12606         no_case
12607
12608         * BufferView_pimpl.C (cursorNext): first -> first_y
12609         (resizeCurrentBuffer): first -> first_y
12610         (updateScrollbar): first -> first_y
12611         (scrollCB): first -> first_y
12612         (workAreaMotionNotify): first -> first_y
12613         (workAreaButtonPress): first -> first_y
12614         (checkInsetHit): first -> first_y
12615         (cursorPrevious): first -> first_y
12616         (cursorNext): first -> first_y
12617         (Dispatch): add buffer_->params to severl inset contructors
12618
12619 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12620
12621         * lyxlayout.C (Read): remove some debug info that I forgot.
12622
12623         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12624         clean up the code slightly.
12625         (makeLinuxDocFile): ditto
12626         (makeDocBookFile): ditto
12627
12628         * text2.C: layout as string
12629
12630         * text.C: layout as string
12631
12632         * paragraph_pimpl.C: layout as string
12633
12634         * paragraph.[Ch]: layout as string
12635
12636         * lyxtextclasslist.[Ch]: layout as string
12637
12638         * lyxtextclass.[Ch]: layout as string
12639
12640         * lyxtext.h: layout as string
12641
12642         * lyxlayout.[Ch]: layout as string
12643
12644         * lyx_cb.C: layout as string
12645
12646         * bufferview_funcs.C: layout as string
12647
12648         * bufferparams.C: layout as string
12649
12650         * buffer.C: layout as string
12651
12652         * LyXView.[Ch]: layout as string
12653
12654         * LaTeXFeatures.[Ch]: layout as string
12655
12656         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12657
12658         * BufferView_pimpl.C: change current_layout to string, remove
12659         lyx::layout_type.
12660         (Dispatch):
12661         (smartQuote):
12662         (insertInset):
12663         (workAreaButtonRelease): layout as string
12664
12665         * BufferView2.C (unlockInset): adjust
12666
12667         * vspace.C (asLatexCommand): use an explict temp variable.
12668
12669 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12670
12671         * Makefile.am: use FRONTEND_*
12672
12673 2002-03-01  Juergen Vigna  <jug@sad.it>
12674
12675         * tabular.C (SetWidthOfMulticolCell): changed to something better
12676         I hope but still work in progress.
12677         (recalculateMulticolumnsOfColumn): renamed function from
12678         recalculateMulticolCells as it is more appropriate now.
12679         (SetWidthOfCell): calculate multicols better.
12680
12681 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12682
12683         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12684
12685         * lyxfunc.C (processKeySym): print sequence also if it is
12686         `deleted' (complete)
12687
12688         * kbsequence.C (print): print sequence even if it is deleted
12689         (complete would be a better word, actually).
12690
12691         * lyxfunc.C (dispatch): print complete options after a prefix key
12692
12693         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12694
12695 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12696
12697         * text2.C (setCharFont): eliminate setCharFont code duplication.
12698
12699 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12700
12701         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12702         LFUN_TABULAR_FEATURE (bug #177)
12703
12704 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12705
12706         * Makefile.am: remove figure.h
12707
12708 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12709
12710         * Bufferview_pimpl.C:
12711         * CutAndPasteC:
12712         * LaTeX.C:
12713         * LyXSendto.C:
12714         * buffer.C:
12715         * bufferlist.C:
12716         * converter.C:
12717         * language.C:
12718         * lyxfunc.C:
12719         * lyxvc.C:
12720         * paragraph.C:
12721         * text.C:
12722         * text2.C: remove #include "lyx_gui_misc.h".
12723
12724         * LaTeX.C: added #include <cstdio>
12725
12726 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12727
12728         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12729         that the paragraph following this one can have.
12730
12731         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12732
12733         * vspace.C (asLatexCommand): fix bogus gcc warning
12734
12735         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12736
12737 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12738
12739         * text2.C (setLayout): get rid of redundant code
12740
12741 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12742
12743         * text2.C (incDepth): make sure depth cannot be increased beyond
12744         reasonable values.
12745
12746 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12747
12748         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12749         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12750
12751         * PainterBase.h (image):
12752         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12753         a LyXImage const *.
12754
12755 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12756
12757         * BufferView.C:
12758         * BufferView.h:
12759         * BufferView_pimpl.C:
12760         * BufferView_pimpl.h:
12761         * LaTeXFeatures.C:
12762         * LyXAction.C:
12763         * LyXView.C:
12764         * Makefile.am:
12765         * UpdateList.h:
12766         * UpdateList.C:
12767         * buffer.C:
12768         * figure.h:
12769         * figureForm.C:
12770         * figureForm.h:
12771         * figure_form.C:
12772         * figure_form.h:
12773         * lyx_cb.C:
12774         * lyx_gui.C:
12775         * lyx_gui_misc.C:
12776         * lyxfunc.C:
12777         * sp_base.h:
12778         * sp_ispell.h:
12779         * sp_pspell.h:
12780         * sp_spell.C: remove fig inset, and the crap house of
12781           cards that follows it
12782
12783 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12784
12785         * Makefile.am:
12786         * lyxserver.C:
12787         * os2_defines.h:
12788         * os2_errortable.h:
12789         * nt_defines.h: move .h into support/
12790
12791         * vms_defines.h: remove
12792
12793         * WorkArea.C: add space in debug output
12794
12795         * text2.C:
12796         * paragraph.C:
12797         * buffer.C: add WITH_WARNINGS
12798
12799         * vc-backend.h:
12800         * vc-backend.C:
12801         * bufferlist.C: s/retrive/retrieve/, add docs
12802
12803         * vspace.h:
12804         * vspace.C:
12805         * kbmap.h:
12806         * lyxlength.h:
12807         * lyxgluelength.h:
12808         * length_common.h:
12809         * chset.h:
12810         * chset.C: add docs
12811
12812         * lyxgui.C: add ID to X error handler
12813
12814         * lyxtestclass.c: fix typo
12815
12816 2002-02-26  Juergen Vigna  <jug@sad.it>
12817
12818         * tabular_funcs.C (write_attribute): changed so that some default
12819         attributes are not written at all.
12820         (getTokenValue): set default values before trying to read the
12821         value so we have the return value always set as default if we don't
12822         find the token we search for.
12823
12824         * tabular.C (Write): write bools as bools not as strings!
12825
12826 2002-02-22  Juergen Vigna  <jug@sad.it>
12827
12828         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12829         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12830
12831         * text.C (leftMargin): don't add an indent for paragraphs inside
12832         tabular cells (fix #208).
12833
12834 2002-02-21  José Matos  <jamatos@fep.up.pt>
12835
12836         * tabular.C (docBook): fixed support for long tables.
12837
12838 2002-02-20  Juergen Vigna  <jug@sad.it>
12839
12840         * text2.C (getFont): get the drawing font of the Inset if this
12841         paragraph is inside an inset (only important for InsetERT for now).
12842
12843         * buffer.C (insertErtContents): use new lanugage params in ERT
12844         constructor.
12845
12846         * CutAndPaste.C: commenting out seemingly uneeded code.
12847
12848 2002-02-19  Allan Rae  <rae@lyx.org>
12849
12850         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12851         Iterators might be simple to use but they also get invalidated.
12852         (removeAutoInsets): renamed saved cursor tracking variables and added
12853         some comments to clarify what everything does.
12854
12855 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12856
12857         * Chktex.C:
12858         * LaTeX.C:
12859         * LyXSendto.C:
12860         * converter.C:
12861         * lyx_cb.C:
12862         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12863         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12864
12865         * lyxfunc.C:
12866         * vc-backend.h: remove #include "support/syscall.h"
12867
12868         * LaTeX.C:
12869         * LyXSendto.C:
12870         * converter.C: rearrange #includes in Lars' approved fashion.
12871
12872         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12873         forward declare class Timeout in the header file.
12874
12875         * XFormsView.C: changes due to the above.
12876
12877         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12878         similar to LyXView.
12879
12880         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12881         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12882
12883 2002-02-18  José Matos  <jamatos@fep.up.pt>
12884
12885         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12886         insets contents.
12887
12888 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12889
12890         * a lot of small ws changes
12891         * add a lot of using std::XXX
12892         * use std construcs some places where approp.
12893         * use some exisint stuff from lyxfunctional where approp.
12894         * Make file changes to use partial linking (lets test this now...)
12895
12896 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12897
12898         * Chktex.C:
12899         * buffer.C:
12900         remove #include "support/syscontr.h" as it's redundant. Always has been.
12901
12902         * Chktex.C:
12903         * LaTeX.C:
12904         * LyXSendto.C:
12905         * converter.C:
12906         * lyx_cb.C:
12907         * vc-backend.C:
12908         change Systemcalls::System to Systemcalls::Wait and
12909         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12910         No change of functionality, just reflects the stripped down Systemcalls
12911         class.
12912
12913 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12914
12915         * debug.[Ch]: add a GRAPHICS type to the enum.
12916
12917 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12918
12919         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12920
12921         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12922         there is an inset.
12923
12924 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12925
12926         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12927         match the changes below.
12928
12929         * text2.C (toggleInset): if there is not editable inset at cursor
12930         position, try to see if cursor is _inside_ a collapsable inset
12931         and close it.
12932
12933 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12934
12935         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12936         document menu has a nice checkbox
12937
12938 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12939
12940         * lyxlength.C (asLatexString): change PW to output as percent of
12941         \textwidth.
12942
12943         * lengthcommon.C: change '%' to 't%'
12944
12945         * lyxfunc.C (dispatch): a few comments from Martin
12946
12947 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12948
12949         * WorkArea.h:
12950         * WorkArea.C:
12951         * BufferView_pimpl.h:
12952         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12953           the X selection.
12954
12955 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12956
12957         * vspace.C (inPixels): fix compiler warning
12958
12959 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12960
12961         * lyxfunc.C (getStatus): fix status message for disabled commands.
12962
12963 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12964
12965         * BufferView_pimpl.C: fix crash on close buffer
12966         during selection (#227)
12967
12968 2002-01-27  Herbert Voss  <voss@lyx.org>
12969
12970         * buffer.C: link old Figure to new graphic inset
12971
12972 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12973
12974         * FontLoader.C (getFontinfo): Change the latex font names in order
12975         to match the names of type1inst.
12976
12977 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12978
12979         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12980
12981         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12982         (extchanged): ditto
12983         (ext_exist): ditto
12984         (remove_files_with_extension): ditto
12985         (remove_file): ditto
12986         (write): ditto
12987
12988         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12989         document is smaller than the work area height. Do not initialize
12990         static variables to 0.
12991
12992 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12993
12994         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12995
12996         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12997         LFUN_LAYOUT_PARAGRAPHS.
12998
12999         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13000         tabular. It is possible to provide a possible cell, which will
13001         typically be the actcell from the corresponding insettabular
13002
13003         * lyxfunc.C (getStatus): small cleanup; disable
13004         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13005         true
13006
13007 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13008
13009         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13010
13011         * paragraph.C (startTeXParParams):
13012         (endTeXParParams): new methods. The LaTeX code to
13013         start/end paragraph formatting
13014         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13015         empty (fixes bug #200)
13016
13017         * vspace.C (inPixels): adapt to the change below
13018         (inPixels): [later] more cleanups (remove unused variables)
13019
13020         * lyxlength.C (inPixels): change to use a width and a height as
13021         parameter.
13022
13023 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13024
13025         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13026         Replaced with \paperwidth
13027
13028         * DepTable.C (insert): add std:: qualifier
13029
13030 2002-01-18  Allan Rae  <rae@lyx.org>
13031
13032         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13033         updated also?
13034
13035         * text.C (drawInset): Turned out I didn't know enough about how
13036         rebreaking worked.  This fixes most of the redraw problems.  I see
13037         an occasional cursor trail when a line is broken now and the cursor
13038         placement can seem out by a few pixels also after a rebreak.
13039
13040 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13041
13042         * buffer.C (parseSingleLyXformat2Token): update because minipage
13043         width is now a LyXLength
13044
13045         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13046
13047         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13048         math insets
13049
13050 2002-01-17  Juergen Vigna  <jug@sad.it>
13051
13052         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13053
13054         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13055         is set correctly and the inset is updated correctly.
13056
13057 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13058
13059         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13060         the beginning of the loop.
13061
13062 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13063
13064         * lyxrc.C: improve help for use_scalable_fonts
13065
13066 2002-01-17  Allan Rae  <rae@lyx.org>
13067
13068         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13069
13070 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13071
13072         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13073         make sure to set their inset_owner to the right value (bug #171)
13074
13075 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13076
13077         * DepTable.h
13078         * DepTable.C: Implement mtime checking to reduce time spent doing
13079         CRCs.
13080
13081 2002-01-16  Juergen Vigna  <jug@sad.it>
13082
13083         * tabular.C (GetAdditionalHeight): one of error fixed.
13084
13085         * lyxrc.C (output): small fix in writing use_pspell.
13086
13087 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13088
13089         * sp_base.h: #include LString.h
13090
13091 2002-01-16  Allan Rae  <rae@lyx.org>
13092
13093         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13094         Can someone check this please?
13095
13096         * text.C (drawInset): It was possible that p.row would be removed by
13097         breakAgainOneRow upsetting a few other settings.  There may be another
13098         small tweak possible by setting need_break_row = 0 when p.row has been
13099         removed but I don't know enough about the logic here.
13100
13101 2002-01-15  Allan Rae  <rae@lyx.org>
13102
13103         * text.C (insertChar): removed conditional truism.
13104
13105         * BufferView2.C (removeAutoInsets): More tweaks.
13106         cur_par_prev could be a stray pointer.  Check for trailing empty line
13107         in case last line was cur_par and only had an error inset on it.
13108
13109 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13110
13111         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13112         absolute
13113
13114         * vc-backend.C (most methods):
13115         * exporter.C (Export):
13116         * converter.C (convert):
13117         (runLaTeX):
13118         * LyXSendto.C (SendtoApplyCB):
13119         * lyxfunc.C (dispatch):
13120         (menuNew):
13121         (open):
13122         (doImport):
13123         * lyx_cb.C (AutoSave):
13124         (InsertAsciiFile):
13125         * BufferView_pimpl.C (MenuInsertLyXFile):
13126         * buffer.C (runChktex): use Buffer::filePath().
13127
13128         * buffer.h: rename filename to filename_; rename filepath to
13129         filepath_ and make it private
13130         (filePath): new method
13131
13132         * buffer.C (writeFile): use fileName()
13133         (getLatexName):
13134
13135         * lyx_main.C (init): fix starting  of LyX when the binary is a
13136         link from so,ewhere else.
13137
13138         * minibuffer.C: include <cctype> for isprint
13139
13140 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13141
13142         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13143         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13144         name clash with InsetCollapsable's width function.
13145
13146 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13147
13148         * lastfiles.C: include <iterator>
13149
13150 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13151
13152         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13153         std::count.
13154
13155         * buffer.C (makeLaTeXFile): ditto.
13156         Also make loop operation more transparent.
13157
13158 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13159
13160         * ToolbarDefaults.C: remove trailing comma closing namespace.
13161
13162         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13163
13164         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13165         as in WorkArea.
13166
13167         * trans.C (Load): comment out unused variable, allowed.
13168
13169 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13170
13171         * minibuffer.[Ch] (append_char): new method to recieve input from the
13172         drop-down completion browser. If a key was pressed, then recieve this
13173         char and append it to the existing string.
13174         (peek_event): modify the positioning data passed to the completion
13175         browser so that it can be placed above the minibuffer rather than below.
13176 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13177
13178         * LyXAction.C (init): alloe error-next for readonly documents.
13179
13180         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13181         count.
13182
13183 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13184
13185         * bufferlist.C (readFile): create the buffer _after_ checking that
13186         the file exists.
13187
13188         * lyxfunc.C (verboseDispatch): fix handling of arguments
13189
13190         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13191
13192         * lyxrc.C: use string::erase() instead of initializing to "".
13193
13194
13195 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13196
13197         * BufferView_pimpl.h:
13198         * BufferView_pimpl.C:
13199         * WorkArea.h:
13200         * WorkArea.C:
13201         * text2.C: tell X when we have made a selection for copying
13202
13203 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13204
13205         * BufferView_pimpl.C (MenuInsertLyXFile):
13206         * lyxfunc.C (menuNew):
13207         (open):
13208         (doImport): add shortcuts to directory buttons
13209
13210         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13211         open a float)
13212
13213         * lyxfunc.C (setStatusMessage):
13214         (getStatusMessage): new methods
13215         (getStatus):use setStatusMessage instead of setErrorMessage
13216         (dispatch): when function is disabled, set error message here
13217         [instead of in getStatus previously]
13218
13219         * BufferView_pimpl.C (workAreaButtonRelease): update
13220         toolbar/menubar here too.
13221
13222 2002-01-13  Allan Rae  <rae@lyx.org>
13223
13224         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13225         Now seems indestructible.  Remaining task is to audit all other
13226         code affected by deleteEmptyParagraphMechanism.  One small quirk
13227         left is that an empty document with an error in the preamble can
13228         be made to report an error but no error box appears.  I don't know
13229         where it goes.
13230         (removeAutoInsets): Improved comments.
13231
13232 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13233
13234         * Thesaurus.h:
13235         * Thesaurus.C: update for Aiksaurus 0.14
13236
13237 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13238
13239         * text2.C (firstParagraph): removed member function, all uses
13240         replaces with ownerParagraph
13241         (redoParagraphs): here
13242         (updateInset): here
13243         (toggleAppendix): here
13244         * BufferView2.C (insertErrors): here
13245         (setCursorFromRow): here
13246
13247 2002-01-13  Allan Rae  <rae@lyx.org>
13248
13249         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13250         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13251         There is still a way to segfault this although you may have to do this
13252         multiple times: Have an InsetERT with an unknown command in it.
13253         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13254         <down-arrow>, <Enter> again, View->DVI, BANG!
13255
13256         * text2.C (setCursor):
13257         (deleteEmptyParagraphMechanism):
13258         * lyxtext.h (setCursor):
13259         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13260         Making use of the return value may help fix other bugs.
13261
13262 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13263
13264         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13265
13266         * LyXView.C (updateMenubar): call MenuBar::update here
13267         (updateToolbar): but not here
13268         (showState): do not update toolbar/menubar
13269
13270         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13271         should need to care about that.
13272
13273         * lyxfunc.C (verboseDispatch): simplify a bit
13274         (getStatus): have a version which takes a pseudoaction, and
13275         another which requires a (kb_action,string).
13276
13277         * LyXAction.C (retrieveActionArg): make it work also when action
13278         is not a pseudo-action.
13279         (getActionName): simplify a bit
13280         (helpText):
13281
13282 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13283
13284         * lyxfunc.C (verboseDispatch): new families of methods with
13285         several ways to specify a command and a bool to indicate whether
13286         the command name and shortcut should be displayed in minibuffer
13287         (eventually, we could extend that to a finer bitmask like
13288         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13289         (dispatch): the pristine dispatch command which just, well,
13290         dispatchs! Note it still sets its result to minibuffer; I'm not
13291         sure we want that.
13292
13293         * lyxfunc.h: remove setHintMessage
13294
13295         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13296
13297 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13298
13299         * BufferView_pimpl.C (specialChar): delete new inset if we have
13300         not been able to insert it.
13301
13302         * kbmap.C: revert to using int instead of kb_action, since all we
13303         are dealing with is pseudo-actions.
13304
13305         * LyXAction.C (searchActionArg): change to return int instead of
13306         kb_action, since the result is a pseudoaction.
13307
13308 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13309
13310         * buffer.C (insertErtContents): Fix (partially) the font bug.
13311
13312 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13313
13314         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13315         as the other one is broken on my machine!
13316
13317 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13318
13319         * commandtags.h:
13320         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13321
13322 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13323
13324         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13325         reflect their actual use. Provide compatibility code for older lyxrc
13326         files.
13327
13328         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13329         FL_NORMAL_STYLE.
13330         change names of popup font variables in line with the changes to lyxrc.C
13331
13332 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13333
13334         * buffer.C (asciiParagraph): avoid outputing a word twice after
13335         an inset.
13336
13337         * lyxrc.C (getDescription): document that document_path and
13338         template_path can be empty.
13339
13340 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13341
13342         * LaTeXFeatures.C (getMacros):
13343         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13344
13345         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13346
13347         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13348         getPackages.
13349         (getPackages): rename feature "floats" to "float". Use an array to
13350         iterate over 'simple' features (i.e. just a \usepackage). Add
13351         handling of "amsmath" (renamed from "amsstyle").
13352
13353 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13354
13355         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13356         features list.
13357
13358 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13359
13360         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13361         FuncStaus::FuncStatus & FuncStaus::some_method().
13362
13363 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13364
13365         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13366         of the func_satus stuff. Edited and massaged in various ways by
13367         JMarc.
13368
13369         * lyxfunc.C (getStatus): use FuncStatus
13370
13371 2002-01-08  Juergen Vigna  <jug@sad.it>
13372
13373         * text.C (nextBreakPoint): use function Inset::isChar().
13374
13375         * paragraph.C (TeXOnePar): use function
13376         Inset::forceDefaultParagraphs.
13377
13378         * buffer.C (latexParagraphs): use function
13379         Inset::forceDefaultParagraphs.
13380
13381 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13382
13383         * lyx_gui.C (init): set the style of the menu popups to
13384         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13385
13386 2002-01-07  Juergen Vigna  <jug@sad.it>
13387
13388         * text.C (setHeightOfRow): small fix
13389         (prepareToPrint): don't look at alignment if we don't have the place
13390         for doing it.
13391
13392 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13393
13394         * box.C: New file. Move the Box methods and functions out of box.h,
13395         following Lars' suggestion.
13396
13397 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13398
13399         * box.h: #include "support/LOstream.h", needed for inlined function.
13400
13401         * lyxtextclass.C:
13402         * lyxtextclasslist.C: added some using std declarations.
13403
13404 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13405
13406         * box.h: make signed dimensions to allow insets wider than
13407           the screen (bug #162)
13408
13409         * BufferView_pimpl.C: add some insetHit debug
13410
13411 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13412
13413         * vc-backend.C: add FIXME
13414
13415 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13416
13417         * lyxfunc.C (getStatus): enable code for showing math font status
13418         in toolbar/menu.
13419
13420 2002-01-07  Juergen Vigna  <jug@sad.it>
13421
13422         * text.C (nextBreakPoint): removed debug output not needed anymore.
13423
13424 2002-01-06  Juergen Vigna  <jug@sad.it>
13425
13426         * text.C (nextBreakPoint): fixed up this function we had this bug
13427         since ever but now hopefully we break row better.
13428         (insertChar): we have to check if an inset is the next char as it
13429         could now happen that a large inset is causing a break.
13430
13431 2002-01-05  Juergen Vigna  <jug@sad.it>
13432
13433         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13434         if it doesn't like to be drawed.
13435
13436 2002-01-04  Juergen Vigna  <jug@sad.it>
13437
13438         * BufferView2.C (lockInset): forgot to set a cursor.
13439
13440         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13441
13442 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13443
13444         * FormMathsPanel.C:
13445         * FormMathsPanel.h
13446         * MathsSymbols.C:
13447         * form_maths_panel.C:
13448         * form_maths_panel.h:
13449         * form_maths_panel.fd: implemented sub- and super- buttons in math
13450         panel.
13451
13452         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13453         (or ^ space) to be used as in TeX (req'd by André).
13454
13455         * lyxfunc.C: Allow ^ and _ again to be used both as
13456         super/subscript (mathed) and as themselves (in text).
13457
13458 2002-01-03  Allan Rae  <rae@lyx.org>
13459
13460         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13461         "LyX" or the filename of the current buffer if it has one.  This is a
13462         modified form of John Levon's patch.
13463
13464         * XFormsView.C (setWindowTitle): also set icon title.
13465
13466         * LyXView.h (setWindowTitle): signature changed.
13467         * XFormsView.h (setWindowTitle): ditto.
13468
13469 2002-01-02  Juergen Vigna  <jug@sad.it>
13470
13471         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13472
13473 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13474
13475         * screen.C (topCursorVisible): introduce a temp var for
13476         text->cursor.row(), handle the case where this row is null. (kindo
13477         hachish)
13478
13479         * text2.C (setCursor): add a couple of asserts.
13480
13481         * paragraph.h (inset_iterator): add -> operator
13482
13483         * paragraph.[Ch] (autoDeleteInsets): remove member function
13484
13485         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13486         cursor pos correctly and handle inset deletion by itself.
13487         (insertErrors): move iterator declaration out of for expression
13488
13489         * lyxtextclass.C: add <algorithm>
13490
13491         * Makefile.am: added the new files to sources, removed layout.C
13492
13493         * layout.C: removed file
13494
13495         * layout.h: remove LYX_DUMMY_LAYOUT
13496
13497         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13498         layout.
13499
13500         * lyxlayout.[Ch]:
13501         * lyxtextclass.[Ch]:
13502         * lyxtextclasslist.[Ch]: new files
13503
13504         * include order changes to a lot of files, also changes because of
13505         the six new files.
13506
13507 2001-12-27  Juergen Vigna  <jug@sad.it>
13508
13509         * buffer.C (asciiParagraph): more fixes.
13510
13511         * tabular.C (ascii): make ascii export support export of only the
13512         data separated by a column-delimiter.
13513         (ascii): better support for ascii export.
13514
13515         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13516
13517 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13518
13519         * tabular_funcs.C: use a "using std::getline" instead of the
13520         previous fix from Angus (necessary for cxx + lyxstring)
13521
13522 2001-12-24  Juergen Vigna  <jug@sad.it>
13523
13524         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13525
13526         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13527         problems. First check a minipage also if we have some ert-contents
13528         (not only on par->size(), second set the right depth of the paragraph
13529         on the relink to the root-paragraph-list!
13530
13531         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13532         which then did not anymore update the main paragraphs on undo/redo!
13533
13534 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13535
13536         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13537         code. Support all font-changing funcs (even those which are not in
13538         menu currently). Support for reporting font settings in
13539         mathed (disabled until Andre provides a function on mathed's side).
13540
13541         * func_status.h (toggle): small helper function to set toggle
13542         state on a flag.
13543
13544 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13545
13546         * tabular_funcs.C: getline -> std::getline
13547
13548 2001-12-21  Juergen Vigna  <jug@sad.it>
13549
13550         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13551         accessed and could be 0 (I couldn't generate this but it seems
13552         Michael could!).
13553
13554 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13555
13556         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13557         * tabular_funcs.h: here and include iosfwd
13558
13559 2001-12-20  Juergen Vigna  <jug@sad.it>
13560
13561         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13562         inside inset but undo_par was.
13563
13564 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13565
13566         * Thesaurus.C: always include <config.h> in sources.
13567
13568         * Painter.h:
13569         * lyxlookup.h:
13570         * box.h: do not include <config.h> in header files
13571
13572         * text.C (paintLastRow): remove unused variable
13573
13574         * text.C (transformChar):
13575         (insertChar):
13576         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13577
13578         * Painter.C (text):
13579         * font.C (width): rewrite to use uppercase() instead of
13580         islower/toupper.
13581
13582         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13583
13584 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13585
13586         * lyxfind.C: clean up of find failure position change
13587
13588 2001-12-20  Juergen Vigna  <jug@sad.it>
13589
13590         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13591
13592         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13593         (TeXRow): added to LaTeX a single tabular row.
13594         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13595         (Latex): simplified and finally good LT-h/f support.
13596         (various_functions): just small adaptions for LT-h/f support.
13597
13598         * tabular_funcs.[hC]: added and moved here all not classfunctions
13599         of LyXTabular.
13600
13601 2001-12-19  Juergen Vigna  <jug@sad.it>
13602
13603         * tabular.[Ch]: better support for longtabular options (not finished
13604         yet!)
13605
13606 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13607
13608         * text.C (paintLastRow): use the label font instead of the font of
13609         the last character to compute the size of *_BOX. This makes more
13610         sense and avoids a crash with empty paragraphs.
13611         Use Painter::rectangle to draw EMPTY_BOX.
13612
13613 2001-12-19  Juergen Vigna  <jug@sad.it>
13614
13615         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13616         the paragraphs if the replaced paragraph is not the first one!
13617         Tried to delete not used paragraphs but does not work yet so for
13618         now it's inside #ifdef's and by default off!
13619
13620 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13621
13622         * MenuBackend.C: include "lyx_main.h" instead of declaring
13623         lastfiles (actually was declared as LastFiles* instead of a
13624         scoped_ptr).
13625
13626 2001-12-17  Juergen Vigna  <jug@sad.it>
13627
13628         * tabular.C (AppendColumn): applied John's fix
13629
13630 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13631
13632         * BufferView.h:
13633         * BufferView.C:
13634         * BufferView_pimpl.h:
13635         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13636
13637         * Makefile.am:
13638         * box.h: new start of class for above
13639
13640         * lyxfunc.C: ignore space-only minibuffer dispatches.
13641           Show the command name when it doesn't exist
13642
13643         * minibuffer.C: don't add empty lines to the history
13644
13645         * minibuffer.C: add a space on dropdown completion
13646
13647 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13648
13649         * text.C: fix line above/below drawing in insets
13650
13651 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13652
13653         * lyxlength.C (LyXLength): Initialize private variables.
13654
13655 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13656
13657         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13658         when inserting error insets.
13659
13660 2001-12-13  Juergen Vigna  <jug@sad.it>
13661
13662         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13663         actually sometimes the before-paragraph.
13664         (setUndo): don't clear the redostack if we're not actually undoing!
13665
13666 2001-12-06  Juergen Vigna  <jug@sad.it>
13667
13668         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13669         and fixed redoing of main paragraph, so we can use it now ;)
13670
13671         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13672
13673 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13674
13675         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13676         Juergen's request
13677
13678 2001-12-13  André Pönitz <poenitz@gmx.net>
13679
13680         * undostack.[Ch]:
13681         * undo_func.C: minor cleanup
13682
13683 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13684
13685         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13686         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13687         font in urw-fonts package which is marked as -urw-fontspecific and
13688         does not work (incidentally, changing the encoding in the
13689         fonts.dir of this package to -adobe-fontspecific fixes the
13690         problem).
13691
13692         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13693         is a crash when undoing first paragraph (Juergen, please take a
13694         look). THis does not mean the undo fix is wrong, just that it
13695         uncovers problems.
13696
13697         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13698         the (Paragraph*) version when needed instead of duplicating the
13699         code.
13700
13701         * text.C (workWidth): use Inset::parOwner to find out where the
13702         inset has been inserted. This is a huge performance gain for large
13703         documents with lots of insets. If Inset::parOwner is not set, fall
13704         back on the brute force method
13705
13706         * paragraph_pimpl.C (insertInset):
13707         * paragraph.C (Paragraph):
13708         (cutIntoMinibuffer): set parOwner of insets when
13709         inserting/removing them
13710
13711         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13712
13713 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13714
13715         * commandtags.h:
13716         * LyXAction.C:
13717         * lyx_main.C:
13718         * lyxfunc.C:
13719         * mathed/formulabase.C:
13720         * mathed/math_cursor.[Ch]:
13721         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13722
13723
13724 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13725
13726         * lyxlength.[Ch] (operator!=): new function
13727
13728 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13729
13730         * text.C (workWidth): use Inset::parOwner to find out where the
13731         inset has been inserted. This is a huge performance gain for large
13732         documents with lots of insets. If Inset::parOwner is not set, fall
13733         back on the brute force method
13734
13735         * paragraph_pimpl.C (insertInset):
13736         * paragraph.C (Paragraph):
13737         (cutIntoMinibuffer): set parOwner of insets when
13738         inserting/removing them
13739
13740         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13741
13742 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13743
13744         * tabular-old.C (getTokenValue):
13745         * tabular.C (getTokenValue):
13746         (write_attribute): new versions for LyXLength
13747         (everywhere): adjust the use of widths
13748
13749         * tabular.h: change the type of widths from string to LyXLength
13750
13751 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13752
13753         * paragraph.C: fixed missing line number count when exporting
13754         Environments to LaTeX file
13755
13756         * buffer.C: added informational message for checking line numbers.
13757
13758 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13759
13760         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13761         paragraph, do the 'double space' part, but not the 'empty
13762         paragraph' one.
13763
13764         * text.C (workWidth): small optimization
13765         (getLengthMarkerHeight): use minimal size for negative lengths.
13766
13767 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13768
13769         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13770
13771         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13772
13773 2001-12-11  André Pönitz <poenitz@gmx.net>
13774
13775         * FontLoader.C:
13776         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13777
13778 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13779
13780         * text2.C: keep selection on a setFont()
13781
13782 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13783
13784         * lyx_cb.C: another bv->text misuse, from insert label
13785
13786 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13787
13788         * kbsequence.h:
13789         * kbsequence.C: re-instate nmodifier mask
13790
13791 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13792
13793         * lyx_main.h: make lyxGUI private.
13794
13795 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13796
13797         * lyxfind.C: place the cursor correctly on failed search
13798
13799 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13800
13801         * text.C (getLengthMarkerHeight): for small heights, the arrows
13802         are not always on top/bottom of the text
13803         (drawLengthMarker): smaller arrows; take the left margin in
13804         account; draw also vfills.
13805         (paintFirstRow):
13806         (paintLastRow): remove special code for vfill and standard spaces,
13807         since everything is handled in drawLengthMarker now.
13808
13809 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13810
13811         * buffer.C (insertErtContents): try to handle font and language
13812         interaction a bit better.g
13813
13814         * ColorHandler.C (updateColor): change the hash to cover the whole
13815         LColor enum, ws cleanup
13816         (getGCLinepars): ditto
13817         (getGCLinepars): only lookup in the linecache once.
13818
13819 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13820
13821         * iterators.C (operator++): Make the iterator more robust
13822
13823         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13824         (John's patch)
13825         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13826
13827 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13828
13829         * lyxtext.h:
13830         * text.C: better added space drawing
13831
13832 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13833
13834         * LyXView.C:
13835         * BufferView2.C: fix layout combo update on inset unlock
13836
13837 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13838
13839         * Makefile.am: don't compile unused files
13840
13841 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13842
13843         * lyxfunc.C:
13844         * commandtags.h:
13845         * LyXAction.C: remove old LFUN_LAYOUTNO
13846
13847 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13848
13849         * paragraph_pimpl.h:
13850         * paragraph_pimpl.C: isTextAt() doesn't need font param
13851
13852 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13853
13854         * lyxlex.h:
13855         * lyxlex.C: little cleanup
13856
13857 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13858
13859         * BufferView_pimpl.C: fix insertAscii for insets
13860
13861 2001-12-05  Juergen Vigna  <jug@sad.it>
13862
13863         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13864         set the right font on the "multi" paragraph paste!
13865
13866 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13867
13868         * trans_decl.h:
13869         * trans_mgr.[Ch]:
13870         * trans.[Ch]:
13871         * lyxgluelength.C:
13872         * lyxlength.C: remove out-commented code.
13873
13874         * BufferView_pimpl:
13875         * CutAndPaste.C:
13876         * DepTable.C:
13877         * buffer.C:
13878         * chset.C:
13879         * lastfiles.C:
13880         * lyxlex.C:
13881         * lyxlex_pimpl.C:
13882         * lyxserver.C:
13883         * screen.C:
13884         * tabular-old.C:
13885         * tabular.C:
13886         * text.C:
13887         * trans_mgr.C:
13888         * vc-backend.C: change "while(" to "while ("
13889
13890         * lyxlength.[Ch]: add zero function to check if length is zero or
13891         not
13892         * lyxgluelength.C: use it
13893
13894 2001-12-05  Allan Rae  <rae@lyx.org>
13895
13896         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13897         Works for 2.95.3, from what I understand of Garst's reports this should
13898         work for other g++ versions.  We're screwed if the abs(int) definition
13899         changed between bugfix releases of gcc.
13900
13901 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13902
13903         * text.C: fix chapter label offset !
13904
13905 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13906
13907         * lyxtext.h:
13908         * text.C: fix hfill at end of line, clean up
13909
13910 2001-12-04  Juergen Vigna  <jug@sad.it>
13911
13912         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13913         that we force an update of the inset and it's owners if neccessary.
13914
13915 2001-12-03  Juergen Vigna  <jug@sad.it>
13916
13917         * text.C (rowLast): simplified code
13918
13919 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13920
13921         * lyxfunc.C: fix show options on timeout
13922
13923 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13924
13925         * screen.C (topCursorVisible): scroll half a page when the cursor
13926         reached top of bottom of screen
13927
13928 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13929
13930         * minibuffer.C: deactivate on loss of focus
13931
13932 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13933
13934         * vspace.[Ch] (operator!=): add operator.
13935
13936 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13937
13938         * BufferView_pimpl.C: refuse to open an inset when
13939         there's a selection.
13940
13941 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13942
13943         * BufferView_pimpl.C: allow to click on RHS of full row insets
13944
13945 2001-11-30  Juergen Vigna  <jug@sad.it>
13946
13947         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13948         insets for undo reasons.
13949
13950 2001-11-28  André Pönitz <poenitz@gmx.net>
13951
13952         * vspace.[Ch]: cosmetical changes
13953
13954 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13955
13956         * LyXAction.h:
13957         * LyXAction.C:
13958         * lyxfunc.h:
13959         * lyxfunc.C:
13960         * kbmap.h:
13961         * kbmap.C:
13962         * lyxrc.C:
13963         * kbsequence.h:
13964         * kbsequence.C: part re-write of old kb code
13965
13966         * Painter.C:
13967         * WorkArea.C: remove Lgb_bug_find_hack
13968
13969 2001-11-30  José Matos <jamatos@fep.up.pt>
13970
13971         * buffer.C (makeDocBookFile): add a comment to point a hack.
13972         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13973         Fixed a double write of labels.
13974
13975 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13976
13977         * LaTeX.C:
13978         * LaTeX.h Fixed bug in LaTeX class where it would not
13979         re-run latex if no depfiles were changed, but the .dvi was removed.
13980
13981 2001-11-28  André Pönitz <poenitz@gmx.net>
13982
13983         * all the files from the change on 2001/11/26:
13984         use lyx::layout_type instead of LyXTextClass::size_type
13985         use lyx::textclass_type instead of LyXTextClassList::size_type
13986
13987 2001-11-29  Juergen Vigna  <jug@sad.it>
13988
13989         * text.C: added support for paragraph::isFreeSpacing()
13990
13991         * buffer.C: same as above
13992
13993         * paragraph.h: inserted isFreeSpacing() function to enable
13994         FreeSpacing inside InsetERT.
13995
13996         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13997         of the paragraph's in the cut/copy buffer to 0!
13998
13999         * text2.C (removeRow): remove the assert as it can!
14000
14001         * lyxtext.h: added helper function firstRow returning firstrow and
14002         made firstrow private again.
14003
14004         * BufferView2.C (lockInset): don't relock if we're already locked!
14005
14006         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14007         the only paragraph.
14008         (removeRow): added Assert::(firstrow)
14009
14010         * debug.C: forgot to add INSETTEXT here.
14011
14012 2001-11-28  Juergen Vigna  <jug@sad.it>
14013
14014         * sp_spell.C (initialize): changed error text to more general
14015         spellchecker command use (not only ispell!)
14016
14017         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14018
14019         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14020
14021 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14022
14023         * vspace.C: initialise lyxgluelength on failure
14024
14025 2001-11-28  Allan Rae  <rae@lyx.org>
14026
14027         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14028         declaration & definition that looks like a function declaration.
14029
14030 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14031
14032         * BufferView2.C (copy):
14033         (copyEnvironment): do not clear the selection when doing a copy.
14034
14035         * text.C (paintFirstRow): compilation fix
14036
14037 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14038
14039         * tabular.C (Latex): correct line count when writing latex.
14040
14041 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14042
14043         * paragraph_pimpl.h:
14044         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14045           bug a bit
14046
14047 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14048
14049         * text.C:
14050         * LColor.h:
14051         * LColor.C: change vfillline->added_space
14052
14053         * text.C: add markers and text for added space
14054
14055         * vspace.C: fix comment
14056
14057 2001-11-28  André Pönitz <poenitz@gmx.net>
14058
14059         * paragraph.C: whitespace changes
14060         * all the other files from the change on 2001/11/26:
14061         change *::pos_type into lyx::pos_type
14062
14063 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14064
14065         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14066         language of the document when inserting error insets.
14067
14068 2001-11-26  André Pönitz <poenitz@gmx.net>
14069
14070         * BufferView_pimpl.[Ch]:
14071         *       CutAndPaste.C:
14072         * buffer.[Ch]:
14073         * lyxcursor.[Ch]:
14074         * lyxfind.C:
14075         * lyxfunc.C:
14076         * lyxrow.[Ch]:
14077         * paragraph.[Ch]:
14078         * paragraph_pimpl.[Ch]:
14079         * sp_spell.C:
14080         * text.C:
14081         * text2.C: reduce header dependencies, introduce type for positions
14082
14083 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14084
14085         * <various>: change to use Alert.h
14086
14087 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14088
14089         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14090         when encountering an unknown token.
14091         (readLyXformat2): Show an error message if there were unknown tokens.
14092
14093 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14094
14095         * BufferView2.C:
14096         * BufferView_pimpl.C:
14097         * buffer.C:
14098         * paragraph.h:
14099         * text.C:
14100         * text2.C: use par->isInset()
14101
14102 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14103
14104         * paragraph_pimpl.h:
14105         * paragraph_pimpl.C: cleanup
14106
14107 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14108
14109         * text2.C (removeRow):
14110         * text.C (setHeightOfRow): remove useless (and costly) call to
14111         getRow.
14112
14113 2001-11-20  Allan Rae  <rae@lyx.org>
14114
14115         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14116         Now need Inset*::checkInsertChar() to return true for appropriate
14117         cases so that the characters in the minibuffer will actually be
14118         inserted.
14119
14120 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14121
14122         * text.C: change the order of the includes.
14123         (workWidth): initialize it at once.
14124         (workWidth): make maxw unsigned
14125         (setHeightOfRow): remove unused variable (inset)
14126         (selectSelectedWord): remove unused variable (inset)
14127         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14128
14129 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14130
14131         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14132         server is not running.
14133         (openConnection):
14134         (closeConnection): add debug info when server is disabled.
14135
14136         * ColorHandler.C (getGCForeground): send debug message to GUI
14137         channel.
14138
14139         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14140
14141         * kbmap.C (bind): modify because return conventions of
14142         kb_sequence::parse have changed.
14143
14144         * kbsequence.C (parse): only ignore spaces and not any stupid
14145         control character. This avoids tests like s[i] <= ' ', which are
14146         guaranteed to fail with 8bit characters and signed chars.
14147         Change return code to string::npos when there have been no error
14148         (0 was a bad idea when error is at first character)
14149
14150 2001-11-14  José Matos  <jamatos@fep.up.pt>
14151
14152         * buffer.h:
14153         * buffer.C (simpleDocBookOnePar): removed unused argument.
14154
14155 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14156
14157         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14158         insets which are part of a word. Paragraph::isLetter takes care of
14159         that now. Use Paragraph::isInset to identify insets.
14160         (selectSelectedWord): do not test for hyphenation break.
14161
14162         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14163         that protected spaces are considered as spaces.
14164
14165         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14166         Inset::isLetter.
14167
14168 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14169
14170         * lyxserver.h:
14171         * lyxserver.C: fix it. and small cleanup.
14172
14173 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14174
14175         * BufferView_pimpl.C: use inline helpers
14176
14177         * LaTeXFeatures.h:
14178         * LaTeXFeatures.C: fix typos
14179
14180         * Spacing.h:
14181         * Spacing.C: move spacing_string into class
14182
14183         * ToolbarDefaults.C: move stuff into namespace anon
14184
14185         * layout.h: update enum
14186
14187         * lyxfunc.C: use better debug
14188
14189         * minibuffer.h: fix typo
14190
14191         * debug.h:
14192         * debug.C:
14193         * WorkArea.C: add and use Debug::WORKAREA
14194
14195         * lyxtext.h:
14196         * text.C:
14197         * text2.C: code re-organisation, inline helpers
14198
14199 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14200
14201         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14202         std::vector.empty().
14203
14204 2001-11-09  Allan Rae  <rae@lyx.org>
14205
14206         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14207         '\n's after tables.  Tabular and ERT inset work now makes this no
14208         longer necessary.
14209
14210 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14211
14212         * minibuffer.h:
14213         * minibuffer.C: fix crash, improve drop-down completion
14214
14215 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14216
14217         * lyxserver.h:
14218         * lyxserver.C: invalidate fd's when doing endPipe()
14219
14220 2001-11-08  José Matos  <jamatos@fep.up.pt>
14221
14222         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14223         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14224
14225         * paragraph.h:
14226         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14227
14228 2001-11-07  José Matos  <jamatos@fep.up.pt>
14229
14230         * buffer.h:
14231         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14232         const qualifier.
14233
14234         * buffer.C (sgmlOpenTag):
14235         * buffer.C (sgmlCloseTag): removed debug info.
14236
14237         * buffer.h (sgmlOpenTag):
14238         * buffer.h (sgmlCloseTag): made public.
14239
14240 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14241
14242         * buffer.C (saveParamsAsDefaults):
14243         * lyx_cb.C (MenuLayoutSave): remove
14244
14245         * LyXAction.C (init):
14246         * commandtags.h:
14247         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14248
14249 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14250
14251         * buffer.C (setPaperStuff): removed from here...
14252
14253         * bufferparams.C (setPaperStuff): ... and moved there.
14254
14255 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14256
14257         * minibuffer.h:
14258         * minibuffer.C:
14259         * XFormsView.C: add support for drop-down completion
14260
14261 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14262
14263         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14264         commands.
14265
14266 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14267
14268         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14269         disabled.
14270
14271 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14272
14273         * lyx_main.C: change ref to known bugs
14274
14275 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14276
14277         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14278         to work around older babel problems.
14279
14280 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14281
14282         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14283
14284 2001-10-24  Juergen Vigna  <jug@sad.it>
14285
14286         * tabular-old.C (ReadOld): below variable changes reflected.
14287
14288         * tabular.[Ch]: added ltType struct for longtable header/footer
14289         defines and changed all instances where they are used. Added
14290         future support for double top/bottom rows.
14291
14292 2001-10-24  José Matos  <jamatos@fep.up.pt>
14293
14294         * buffer.h (docbookHandleCaption):
14295         * buffer.C (docbookHandleCaption): removed unused function.
14296         (makeDocBookFile): moved docbook supported version to v4.1.
14297
14298 2001-10-24  José Matos  <jamatos@fep.up.pt>
14299
14300         * tabular.h:
14301         * tabular.C (docbookRow): new function to export docbook code of a row.
14302         (DocBook): now honors the longtable flags.
14303
14304 2001-10-23  José Matos  <jamatos@fep.up.pt>
14305
14306         * LaTeXFeatures.h:
14307         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14308         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14309
14310         * buffer.C (makeLinuxDocFile):
14311         (makeDocBookFile): reworked the preamble, more clean, and with
14312         support for lyx defined entities. Changed the document declaration
14313         to be more XML friendly.
14314
14315         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14316         if we need to output XML that should be done with a filter.
14317
14318 2001-10-22  Juergen Vigna  <jug@sad.it>
14319
14320         * sp_pspell.h (class PSpell): add alive function needed in the
14321         controller to see if the spellchecker could be started.
14322
14323 2001-10-22  Juergen Vigna  <jug@sad.it>
14324
14325         * buffer.C (insertStringAsLines): modify the font for inserting
14326         chars in certain conditions by calling checkInsertChar(font).
14327
14328 2001-10-19  Juergen Vigna  <jug@sad.it>
14329
14330         * text.C (workWidth): use getRow instead of wrong algorithm.
14331         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14332
14333 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14334
14335         * lyxserver.h:
14336         * lyxserver.C:
14337         * lyx_main.h:
14338         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14339
14340 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14341
14342         * text.C (workWidth): do not search for the exact row when
14343         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14344         optimization for big documents.
14345
14346 2001-10-18  Juergen Vigna  <jug@sad.it>
14347
14348         * text.C (workWidth): new function with added Inset * parameter.
14349
14350 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14351
14352         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14353
14354         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14355         change return type of getColumnNearX.
14356
14357
14358         * text.C (changeRegionCase): use uppercase/lowercase instead of
14359         toupper/tolower.
14360         (leftMargin):
14361         (rightMargin): simplify code by factoring out the uses of
14362         textclasslist.
14363         (labelFill):
14364         (numberOfHfills):
14365         (setHeightOfRow):
14366         (appendParagraph): use Paragraph::size_type
14367
14368 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14369
14370         * vspace.C (asLatexString): add a missing break
14371
14372 2001-10-15  Herbert Voss  <voss@perce.de>
14373
14374         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14375
14376 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14377
14378         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14379         is not available.
14380
14381 2001-10-10  André Pönitz <poenitz@gmx.net>
14382
14383         * lyxfunc.C: removed greek_kb_flag.
14384
14385 2001-10-10  Herbert Voss  <voss@perce.de>
14386
14387         * lyx_main.C: delete global string help_lyxdir.
14388
14389 2001-10-09  Herbert Voss  <voss@perce.de>
14390
14391         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14392
14393         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14394
14395         * lyx_main.C: added global string help_lyxdir.
14396
14397         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14398
14399 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14400
14401         * lyxrc.C (set_font_norm_type): support iso8859-4
14402
14403 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14404
14405         * LaTeX.C (deplog): add another regex for MikTeX
14406
14407 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14408
14409         * lyxrc.C (set_font_norm_type): support iso8859-3
14410
14411 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14412
14413         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14414
14415         * LaTeXFeatures.C: remove special case of french and index
14416
14417         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14418         before \begin{document}). This solves several incompatibilities.
14419
14420 2001-10-03  Garst Reese  <reese@isn.net>
14421
14422         * lyx_cb.C: change CheckTex error msg.
14423
14424 2001-10-03  José Matos  <jamatos@fep.up.pt>
14425
14426         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14427
14428 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14429
14430         * .cvsignore: update
14431
14432         * lyx_main.C (commandLineVersionInfo): use new style version info.
14433
14434         * buffer.C (writeFile):
14435         (makeLaTeXFile):
14436         (makeLinuxDocFile):
14437         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14438
14439         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14440
14441         * version.h: update to use stuff in version.C
14442
14443         * version.C.in: new file. Contains version information determined
14444         at compile time. This is a merging of version.h and
14445         version_info.h.in.
14446
14447 2001-10-03  Juergen Vigna  <jug@sad.it>
14448
14449         * BufferView_pimpl.C (update): don't change "dirty" status in
14450         updateInset call.
14451
14452 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14453
14454         * WorkArea.C (c-tor): re-position version string slightly.
14455
14456 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14457
14458         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14459         revert to previous code.
14460
14461         WorkArea.[Ch]: (show, destroySplash): methods removed.
14462
14463         WorkArea.C: rework code so that it's an amalgam of the codes before and
14464         after the splash screen was moved to WorkArea.
14465
14466 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14467
14468         * lyxrc.C (read):
14469         * vspace.C (inPixels):
14470         (lyx_advance):
14471         * kbmap.C (bind):
14472         * buffer.C (insertStringAsLines):
14473         (asciiParagraph): fix types to be large enough
14474
14475         * lyxlex_pimpl.h: change member status from short to int
14476
14477         * layout.h: fix type of endlabeltype
14478
14479         * kbmap.C (bind):
14480         * kbsequence.C (parse): change return type to string::size_type
14481
14482         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14483         variable
14484
14485         * Bullet.C (bulletSize):
14486         (bulletEntry): do not use short ints as parameters
14487
14488         * BufferView2.C (insertLyXFile): change a char to an int.
14489
14490         * WorkArea.C (WorkArea): remove unneeded floats in computation
14491
14492 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14493
14494         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14495
14496         * paragraph.C (asString): Do not ignore newline/hfill chars when
14497         copying to the clipboard.
14498
14499 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14500
14501         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14502         after a multi-line inset.
14503
14504 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14505
14506         * paragraph.C (validate): Set NeedLyXFootnoteCode
14507
14508 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14509
14510         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14511         and decrease-error to decrease.
14512
14513 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14514
14515         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14516         it more readable (should be equivalent)
14517
14518 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14519
14520         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14521
14522 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14523
14524         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14525         of a cursor (row, etc.) after a character has been deleted
14526         (deleteEmptyParagraphMechanism): call the method above on _all_
14527         cursors held by the LyXText when a double space has been
14528         detected/deleted.
14529
14530 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14531
14532         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14533         pixmap.
14534         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14535
14536         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14537         background. Use greyOut() and the new show() methods to toggle between
14538         the foreground and background. Add code to remove the splash after
14539         its initial showing.
14540
14541         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14542         (create_forms): no longer call Dialogs::showSplash.
14543
14544 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14545
14546         * .cvsignore: add version_info.h
14547
14548 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14549
14550         * version_info.h.in: new file
14551
14552         * Makefile.am: add version_info.h.in
14553
14554         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14555         version_info.h instead of VERSION_INFO
14556
14557 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14558
14559         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14560         The ERT inset now returns string().
14561
14562 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14563
14564         * lyxtext.h, text.C (selectNextWord): renamed as
14565         selectNextWordToSpellcheck.
14566
14567         * text.C (selectNextWordToSpellcheck): Modified to not select
14568         words inside an ERT inset.
14569
14570 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14571
14572         * lyx_cb.C (MenuLayoutSave): change a bit the question
14573
14574         * sp_base.h: include <sys/types.h>
14575
14576 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14577
14578         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14579
14580 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14581
14582         * several files: fix typos in user-visible strings
14583
14584 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14585
14586         * text2.C (pasteSelection): do not set the selection, since it
14587         will be cleared later. Actually, the intent was to fix the way the
14588         selection was set, but I figured rmoving the code was just as good.
14589
14590 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14591
14592         * FontLoader.C (available): Check if font is available without
14593         loading the font.
14594
14595 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14596
14597         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14598
14599 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14600
14601         * lyxrc.[Ch]: added display_graphics variable and associated code.
14602
14603 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14604
14605         * bufferparams.C (hasClassDefaults): new method. Returns true if
14606         the buffer parameters correspond to known class defaults
14607
14608 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14609
14610         * XFormsView.C (show): set minimum size to the main window.
14611
14612 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14613
14614         * text2.C (copySelection):
14615         (cutSelection):
14616         * lyxfind.C (LyXReplace):
14617         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14618         LyXText::selectionAsString.
14619
14620         * paragraph.C (asString): add "label" argument to the second form
14621
14622         * text2.C (selectionAsString): add "label" argument and pass it to
14623         Paragraph::asString.
14624
14625 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14626
14627         * lyx_main.C (commandLineHelp): remove version information
14628
14629 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14630
14631         * lyx_main.C: add -version commandline option
14632
14633 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14634
14635         * paragraph.h: make the optional constructor arg required instead.
14636         some modifications to other files because of this.
14637
14638         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14639
14640         * lyxserver.C (C_LyXComm_callback): make it static
14641
14642         * lyx_main.C (error_handler): make it static
14643
14644         * lyx_gui.C (LyX_XErrHandler): make it static
14645
14646         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14647
14648         * WorkArea.C: make the extern "C" methods static.
14649
14650         * Makefile.am (lyx_LDADD): simplify
14651
14652 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14653
14654         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14655         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14656
14657         * LyXAction.C (init):
14658         * lyxfunc.C (dispatch): associated code removal.
14659
14660 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14661
14662         * lyxfont.h (isSymbolFont): shut off warning
14663
14664         * text.C (setHeightOfRow):
14665         (getVisibleRow): fix crash with empty paragraphs which have a
14666         bottom line
14667
14668 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14669
14670         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14671         code.
14672
14673 2001-09-04  José Matos  <jamatos@fep.up.pt>
14674         * buffer.C
14675         * buffer.h
14676         * tabular.C (docbook): rename docBook method to docbook.
14677
14678 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14679
14680         * Makefile.am: add dependencies to main.o.
14681
14682 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14683
14684         * FontLoader.C (available): Return false if !lyxrc.use_gui
14685
14686 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14687
14688         * FontInfo.C (query):
14689         * converter.C (view):
14690         * importer.C (Import):
14691         * exporter.C (Export): Can not -> cannot.
14692
14693 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14694
14695         * BufferView_pimpl.C: allow to create index inset even if
14696           string is empty
14697
14698 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14699
14700         * buffer.C (getLists): replace boost::tie code with an explicit pair
14701         as boost::tie can break some compilers.
14702
14703         * iterators.h: Added a std:: declaration to the return type of
14704         ParIterator::size.
14705
14706 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14707
14708         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14709           case.
14710
14711 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14712
14713         * iterators.[Ch]: New files. Provide paragraph iterators.
14714
14715         * buffer.C (changeLanguage): Use paragraph iterators.
14716         (isMultiLingual): ditto
14717
14718         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14719
14720 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14721
14722         * FontLoader.C: Support for cmr font.
14723
14724 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14725
14726         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14727         (available): New method.
14728
14729         * FontInfo.C (getFontname): Use scalable fonts even when
14730         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14731         found.
14732
14733 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14734
14735         * converter.C (Formats::view): reverted! Incorrect fix.
14736
14737 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14738
14739         * converter.C (Formats::view): only output the -paper option
14740         if the dvi viewer is xdvi, thereby fixing bug #233429.
14741
14742 2001-08-23  Herbert Voss  <voss@perce>
14743
14744         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14745
14746 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14747
14748         * Spacing.h (Spacing): Set space to Default on in the default
14749         constructor.
14750
14751 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14752
14753         * vc-backend.h (RCS::versionString): add RCS to version
14754         (CVS::versionString): add CVS to version
14755
14756         * vc-backend.C (scanMaster): do not add CVS to version.
14757         (scanMaster): do not add RCS to version
14758
14759         * lyxvc.C (versionString): new method
14760
14761         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14762
14763 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14764
14765         * Spacing.C (set): initialize fval
14766
14767 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14768
14769         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14770         " or \.
14771
14772 2001-08-16  Juergen Vigna  <jug@sad.it>
14773
14774         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14775
14776 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14777
14778         * BufferView_pimpl.C:
14779         * figureForm.C:
14780         * lyxtext.h:
14781         * text2.C: setParagraph takes linespacing now
14782
14783 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14784
14785         * LyxAction.C: add internal LFUN_CITATION_INSERT
14786
14787         * LyXView.C: actually apply fix
14788
14789         * bufferlist.C: fix open non-existent file
14790
14791         * lyxfind.C: fix indentation
14792
14793         * lyxfunc.C: remove unneeded assert, fix typo
14794
14795 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14796
14797         * MenuBackend.C: use "Floatname List"
14798
14799 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14800
14801         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14802         when converting LaTeX layout to insetERT.
14803         Generate a non-collapsed float when reading old float
14804
14805 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14806
14807         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14808         ERT insets.
14809
14810 2001-08-13  Juergen Vigna  <jug@sad.it>
14811
14812         * text.C (fill): return 0 instead of 20 as this seems to be the more
14813         correct value.
14814
14815 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14816
14817         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14818         lyxrc.font_norm.
14819
14820 2001-08-13  Juergen Vigna  <jug@sad.it>
14821
14822         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14823         casesensitive off.
14824         (SearchBackward): comment out the unlocking of the inset_owner this
14825         should not be needed!
14826
14827 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14828
14829         * Many files: Remove inherit_language, and add latex_language
14830
14831         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14832         collapsible insets.
14833
14834 2001-08-10  Juergen Vigna  <jug@sad.it>
14835
14836         * text.C (prepareToPrint): fixed hfill-width in draw!
14837
14838         * BufferView2.C (selectLastWord): save the selection cursor as this
14839         now is cleared in the function LyXText::clearSelection!
14840
14841 2001-08-08  Juergen Vigna  <jug@sad.it>
14842
14843         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14844         BACKSPACE type functions.
14845
14846         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14847         is only cutted from the document but not put in the cut-buffer, where
14848         still the old stuff should be.
14849
14850         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14851
14852         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14853
14854         * tabular.C (SetWidthOfCell): fixed special case where the width
14855         was not updated!
14856         (LeftLine): handle '|' in align_special.
14857         (RightLine): ditto
14858         (LeftAlreadyDrawed): ditto
14859         (SetWidthOfCell): ditto
14860
14861 2001-08-07  Juergen Vigna  <jug@sad.it>
14862
14863         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14864
14865 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14866
14867         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14868         * lyxlex.[hC]: ditto
14869
14870 2001-08-06  Juergen Vigna  <jug@sad.it>
14871
14872         * text.C (getVisibleRow): fix up row clearing a bit.
14873
14874 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14875
14876         * minibuffer.C: make sure the X server sees the changes in the input.
14877
14878 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14879
14880         * paragraph.C (getFont): split into...
14881         (getLabelFont): this
14882         (getLayoutFont): and this
14883         * paragraph_pimpl.C (realizeFont): calling this
14884
14885         * text2.C (getFont): split into...
14886         (getLayoutFont): this
14887         (getLabelFont): and this
14888         (realizeFont): all three calling this
14889
14890         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14891         files where used.
14892
14893 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14894
14895         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14896
14897 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14898
14899         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14900         layouts from the Quote inset insertion.
14901
14902 2001-08-03  Juergen Vigna  <jug@sad.it>
14903
14904         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14905
14906         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14907         only if status not is already CHANGED_IN_DRAW (second level).
14908
14909         * text.C (draw): don't set the need_break_row when inside an
14910         InsetText LyXText.
14911
14912 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14913
14914         * buffer.C (parseSingleLyXformat2Token): handle more latex
14915         conversion cases.
14916
14917         * bufferview_funcs.[hC]: change function names to
14918         begin with small char, adjust other files.
14919
14920 2001-08-02  André Pönitz <poenitz@gmx.net>
14921
14922         * lyxfunc.C:
14923         BufferView_pimpl.C: remove broken special code for math-greek
14924
14925 2001-08-02  Juergen Vigna  <jug@sad.it>
14926
14927         * BufferView_pimpl.C (update): redone this function so that we
14928         update the text again if there was a CHANGE_IN_DRAW.
14929
14930         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14931         (drawFromTo): added a new internal bool which is used by draw() and
14932         redraw() function.
14933         (general): some cursor drawing problems fixed.
14934
14935 2001-08-01  Juergen Vigna  <jug@sad.it>
14936
14937         * lyxfind.C (LyXFind): fixed
14938         (SearchForward): ditto
14939         (SearchBackward): ditto
14940
14941         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14942         spurius drawing of the cursor in the main area.
14943
14944         * text2.C (status): small fix which could lead to a segfault!
14945         (clearSelection): remove unneeded BufferView param.
14946
14947 2001-08-01  André Pönitz <poenitz@gmx.net>
14948
14949         * lyxfunc.C: small change due to changed mathed interface
14950
14951 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14952
14953         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14954
14955 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14956
14957         * lyxfunc.c: fail gracefully if file doesn't exist
14958
14959         * LyXSendto.C:
14960         * buffer.C:
14961         * lyxfunc.C:
14962         * BufferView_pimpl.C: IsDirWriteable() proto changed
14963
14964         * LyXView.C: fix updateWindowTitle() to store the last title
14965
14966 2001-07-31  Juergen Vigna  <jug@sad.it>
14967
14968         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14969         the font (wrong since using of Paragraph::highestFontInRange).
14970
14971         * paragraph.C (highestFontInRange): added a default_size parameter.
14972
14973         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14974         (setHeightOfRow): reformat
14975
14976 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14977
14978         * converter.[hC] + affected files: move to (inital-char)lowercase
14979         function names.
14980
14981         * ParagraphParameters.C (ParagraphParameters): remove commented code
14982
14983         * PainterBase.[Ch]: remove commented code
14984
14985         * LaTeXFeatures.h: add "bool floats" for float.sty
14986
14987         * LaTeXFeatures.C (LaTeXFeatures): init floats
14988         (require): handle float
14989         (getPackages): do it with floats
14990
14991 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14992
14993         * BufferView_pimpl.C (Dispatch): improve handling of
14994         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14995
14996         * commandtags.h: #include lyxfont.h here temporarily to avoid
14997         keybinding bug.
14998
14999         * bufferlist.h: include LString.h here.
15000
15001 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15002
15003         * text2.C (getStringToIndex): new method.
15004
15005 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15006
15007         * *: Reduced header file dependencies all over.
15008
15009 2001-07-30  Baruch Even  <baruch@lyx.org>
15010
15011         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15012
15013 2001-07-29  Baruch Even  <baruch@lyx.org>
15014
15015         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15016
15017 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15018
15019         * ParameterStruct.h (endif): add a default constructor to make
15020         sure that all variables is initialized.
15021
15022         * ParagraphParameters.C (ParagraphParameters): adjust
15023
15024 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15025
15026         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15027         index; also, check that there is something to index, and that it
15028         does not span over several paragraphs.
15029         (doubleClick): use WHOLE_WORD_STRICT for double click.
15030
15031         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15032
15033         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15034         scheme.
15035
15036 2001-07-26  Baruch Even  <baruch@lyx.org>
15037
15038         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15039         an InsetFig figure, backwards compatible reading of old figure code.
15040
15041 2001-07-27  Juergen Vigna  <jug@sad.it>
15042
15043         * text2.C: font.realize function adaption.
15044
15045         * text.C (draw): add a warnings lyxerr text if needed.
15046
15047         * layout.C: font.realize function adaption.
15048
15049         * language.C: add inherit_language and implement it's handlings
15050
15051         * bufferview_funcs.C (StyleReset): remove language parameter from
15052         font creation (should be language_inherit now).
15053
15054         * bufferparams.C (writeFile): handle ignore_language.
15055
15056         * paragraph.C (getFontSettings): the language has to be resolved
15057         otherwise we have problems in LyXFont!
15058
15059         * lyxfont.C (lyxWriteChanges): added document_language parameter
15060         (update): removed unneeded language parameter
15061
15062         * paragraph.C (validate): fixed wrong output of color-package when
15063         using interface colors for certain fonts in certain environments,
15064         which should not seen as that on the final output.
15065
15066 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15067
15068         * BufferView_pimpl.C:
15069         * Thesaurus.h:
15070         * Thesaurus.C:
15071         * Makefile.am:
15072         * commandtags.h:
15073         * LyXAction.C: add thesaurus support
15074
15075         * lyxfind.h:
15076         * lyxfind.C: add "once" parameter, for thesaurus, to not
15077           move to the next match
15078
15079 2001-07-26  Juergen Vigna  <jug@sad.it>
15080
15081         * lyxfont.C (realize): honor ignore_language too!
15082         (resolved): ditto.
15083
15084         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15085
15086         * text.C (draw): one place more for ignore_language to not draw
15087         itself!
15088
15089 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15090
15091         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15092
15093 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15094
15095         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15096         the minipage conversion problem.
15097
15098 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15099
15100         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15101         insert an inset.
15102
15103 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15104
15105         * BufferView.h: don't forward declare WorkArea
15106
15107         * BufferView.C: don't include WorkArea.h
15108
15109 2001-07-25  André Pönitz <poenitz@gmx.net>
15110
15111         * commandtags.h:
15112         * LyXAction.C:
15113         * lyxfunc.C:  new LFUN 'math-space'
15114
15115         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15116
15117 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15118
15119         * text2.C (toggleInset): call open/close
15120
15121 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15122
15123         * lyxfunc.C (dispatch): add debug for the disabled case
15124
15125         * font.C (buttonText): make similar to rectText
15126
15127         * buffer.C (readInset): comment out parsing of insetlist and
15128         insttheorem
15129
15130         * PainterBase.C (rectText): small correction
15131
15132         * BufferView_pimpl.C: comment out insettheorem and insetlist
15133         * LyXAction.C: ditto
15134         * commandtags.h: ditto
15135
15136 2001-07-24  Juergen Vigna  <jug@sad.it>
15137
15138         * text.C (draw): honor the ignore_language.
15139
15140         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15141
15142 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15143
15144         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15145         char inset.
15146
15147 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15148
15149         * lyxtext.h: remove unused (and unimplemented) methods
15150
15151 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15152
15153         * text.C (getVisibleRow): honor background color
15154
15155         * PainterBase.h:
15156         * Painter.h: remove default color argument for fillRectangle
15157
15158         * text.C (backgroundColor): new method
15159
15160 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15161
15162         * text.C (getVisibleRow): adjust
15163
15164         * font.[Ch] (rectText): new method, metrics
15165         (buttonText): new method, metrics
15166
15167         * PainterBase.[hC]: make rectText and buttonText always draw and take
15168         fewer paramteres.
15169
15170 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15171
15172         * ToolbarDefaults.C (read):
15173         * MenuBackend.C (read): allow escaping in all strings
15174
15175         * BufferView_pimpl.C (insertAndEditInset): new method.
15176         (Dispatch): use insertAndEditInset whenever appropriate.
15177
15178         * BufferView_pimpl.C (insertNote): removed
15179
15180         * BufferView_pimpl.C (smartQuote): new method, moved from
15181         BufferView; if an insetquote cannot be inserted, insert a '"'
15182         character instead.
15183
15184         * BufferView2.C: remove insertCorrectQuote();
15185
15186         * lyxfunc.C (getStatus): Add support for all remaingin
15187         inset-insert lfuns.
15188
15189         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15190
15191         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15192         command (necessary to pass " as parameter of self-insert.
15193
15194         * text.C (selectWordWhenUnderCursor):
15195         (selectWord): add word_location parameter
15196         (selectWordWhenUnderCursor): same + remove special code for word
15197         boundary.
15198         (selectNextWord): use kind() to guess type of insetspecialchar,
15199         not latex().
15200
15201         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15202         (insertErtContents): create ert insets as collapsed.
15203         (readInset): better compatibility code for Info inset.
15204
15205 2001-07-20  Juergen Vigna  <jug@sad.it>
15206
15207         * lyxfunc.C (dispatch): use always LyXFind now!
15208
15209         * text2.C (init): add a reinit flag so that the LyXText can be
15210         reinited instead of deleted and reallocated (used in InsetText).
15211
15212         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15213
15214         * text.C: ditto
15215
15216         * text2.C: ditto
15217
15218 2001-07-18  Juergen Vigna  <jug@sad.it>
15219
15220         * text.C (selectNextWord): handle insets inside inset by calling
15221         always the bv->text functions so that we can go up the_locking_inset!
15222
15223         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15224         in strange locations when inside an inset!
15225
15226         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15227         handling to include insets.
15228
15229         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15230
15231 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15232
15233         * LyXAction.C (init):
15234         * commandtags.h:
15235         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15236         LIGATURE_BREAK, since the name is so stupid.
15237
15238 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15239
15240         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15241         InsetInfos.
15242
15243         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15244
15245         * sp_form.[Ch]: remove.
15246
15247         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15248
15249         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15250         InsetInfo.
15251
15252         * src/buffer.C (readInset): ditto.
15253
15254 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15255
15256         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15257         menuSeparator(), endOfSentenceDot(), ldots() and
15258         hyphenationPoint(), which are therefore removed.
15259         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15260
15261         * LyXAction.C (init):
15262         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15263
15264         * paragraph.C (getWord): removed.
15265
15266         * BufferView_pimpl.C (Dispatch): use last word or selection for
15267         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15268
15269         * lyx_main.C (queryUserLyXDir): do not ask before creating
15270         user_dir, except if it has been named explicitely.
15271
15272 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15273
15274         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15275         a document of zero size.
15276
15277 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15278
15279         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15280         approriately in the c-tor and in require().
15281         (getPackages): output the appropriate LaTeX for natbib support.
15282
15283         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15284         variables "use_natbib" and "use_numerical_citations" when reading the
15285         LyX file.
15286         (readInset): read the various natbib cite commands.
15287         (validate): white-space change.
15288
15289         * bufferparams.[Ch]: new variables "bool use_natbib" and
15290         "bool use_numerical_citations".
15291         (writeFile): output them in the LyX file.
15292
15293 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15294
15295         * lyxfunc.C (getStatus): add support for all the inset insertion
15296         commands.
15297
15298         * text2.C (insertInset):
15299         * paragraph.C (insetAllowed):
15300         * BufferView_pimpl.C (insertInset): update to take in account the
15301         renaming of insertInsetAllowed
15302
15303         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15304
15305         * text2.C (getInset): new method. returns inset at cursor position.
15306
15307         * BufferView_pimpl.C (Dispatch): changes because of this.
15308
15309         * LyXAction.C (init): rename open-stuff to inset-toggle.
15310
15311         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15312
15313         * text2.C (toggleInset): renamed from openStuff; use
15314         Inset::open().
15315
15316 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15317
15318         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15319
15320         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15321
15322 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15323
15324         * buffer.C (readLyXformat2): Add filename to the error dialog
15325
15326 2001-07-18  Juergen Vigna  <jug@sad.it>
15327
15328         * tabular.C (GetCellNumber): put an assert here instead of the check!
15329
15330 2001-07-17  Juergen Vigna  <jug@sad.it>
15331
15332         * BufferView_pimpl.C (toggleSelection): adapted too.
15333
15334         * text.C (selectNextWord): adapted for use with insets.
15335         (selectSelectedWord): ditto
15336
15337 2001-07-17  Juergen Vigna  <jug@sad.it>
15338
15339         * sp_spell.C (PSpell): fix initialitation order.
15340
15341 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15342
15343         * paragraph.C: spacing
15344
15345 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15346
15347         * sp_spell.C: repair language selection for pspell
15348
15349 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15350
15351         * lyxfunc.h: change more methods to begin with lower char.
15352
15353 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15354
15355         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15356         for unknown layouts.
15357
15358 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15359
15360         * buffer.C (readLyXformat2): Generate an error dialog if there are
15361         unknown layouts.
15362
15363 2001-07-16  Juergen Vigna  <jug@sad.it>
15364
15365         * sp_spell.C: always compile ISpell part.
15366
15367         * lyxrc.C: added use_pspell entry and it's handling.
15368
15369 2001-07-13  Juergen Vigna  <jug@sad.it>
15370
15371         * sp_spell.C: removed double includes.
15372
15373 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15374
15375         Consistent use of Lsstream.h:
15376         * Lsstream.h: added using std::stringstream for consistencies sake.
15377
15378         * buffer.C: removed using std::stringstream
15379
15380         * lyxfont.C (stateText):
15381         * paragraph.C (asString):
15382         * text.C (selectNextWord, selectSelectedWord):
15383         * text2.C (setCounter):
15384         * vspace.C (asString, asLatexString):
15385         std::ostringstream -> ostringstream.
15386
15387 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15388
15389         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15390         * commandtags.h: add LFUN_HELP_ABOUTLYX
15391         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15392
15393 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15394
15395         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15396         cursorToggle()
15397         * lyx_gui_misc.C: remove spellchecker
15398         * lyxfunc.C: showSpellchecker
15399         * sp_base.h: added
15400         * sp_ispell.h: added
15401         * sp_pspell.h: added
15402         * sp_spell.C: added
15403         * sp_form.[Ch]: removed
15404         * spellchecker.[Ch]: removed
15405
15406 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15407
15408         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15409         is set.
15410         (simpleTeXSpecialChars): Simply print the input character without
15411         any special translation if pass_thru is set.
15412
15413         * layout.h: Added bool pass_thru to layout class for being able to
15414         implement pass through of a paragraph for Literate Programming.
15415
15416         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15417         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15418         * layout.C (Read): add "passthru" to list of layout tags and add
15419         code to set the pass_thru boolean when it is read.
15420
15421 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15422
15423         * trans_decl.h: remove allowed from KmodInfo
15424
15425         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15426         remove allowed code
15427         (Load): adjust
15428
15429         * paragraph_pimpl.C (erase): use boost::prior
15430
15431         * Painter.C (text): use data() instead of c_str() when length is
15432         also provided.
15433         * WorkArea.C (putClipboard): ditto
15434         * font.h (width): ditto
15435
15436         * BufferView2.C: use it-> instead of (*it). for iterators
15437         * texrow.C: ditto
15438         * paragraph_pimpl.C: ditto
15439         * paragraph.C: ditto
15440         * minibuffer.C: ditto
15441         * language.C: ditto
15442         * kbmap.C: ditto
15443         * encoding.C: ditto
15444         * counters.C: ditto
15445         * converter.C: ditto
15446         * chset.C: ditto
15447         * Variables.C: ditto
15448         * TextCache.C: ditto
15449         * MenuBackend.C: ditto
15450         * LyXAction.C: ditto
15451         * LColor.C: ditto
15452         * FloatList.C: ditto
15453         * DepTable.C: ditto
15454         * ColorHandler.C (LyXColorHandler): ditto
15455
15456 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15457
15458         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15459
15460         * text2.C (openStuff): reintroduce this method (which had been
15461         nuked in NEW_INSETS frenzy).
15462
15463         * lyxfunc.C (Dispatch): when an action has not been handled, use
15464         its name in the error message, not its number.
15465
15466         * paragraph.C (inInset): change method name to begin with lowercase.
15467
15468         * undo_funcs.C:
15469         * text2.C: updates because of this.
15470
15471 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15472
15473         * ToolbarDefaults.C (add): add spaces in error message
15474
15475 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15476
15477         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15478         (readLyXformat2): rename return_par to first_par, use lyxlex's
15479         pushToken and remove the manual push handling.
15480         (parseSingleLyXformat2Token): add another ert comp. variable:
15481         in_tabular, rename return_par to first_par. handle newlines better
15482
15483 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15484
15485         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15486
15487 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15488
15489         * text2.C (getParFromID): removed
15490
15491         * buffer.C (getParFromID): new method moved form lyxtext.
15492         * BufferView2.C (insertErrors): adjust
15493         (setCursorFromRow): adjust
15494         * BufferView_pimpl.C (restorePosition): adjust
15495         * lyxfunc.C (Dispatch): adjust
15496         * undo_funcs.C (textUndo): adjust
15497         (textRedo): adjust
15498         (textHandleUndo): adjust
15499         (textHandleUndo): adjust
15500
15501 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15502
15503         * buffer.C: up' the LYX_FORMAT
15504
15505         * lyxfont.h: turn NO_LATEX on as default
15506
15507         * buffer.C (insertErtContents): new methods of tex style compability.
15508         (parseSingleLyXformat2Token): use it several places.
15509         * tabular.C (OldFormatRead): and here
15510
15511 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15512
15513         * text2.C: remove some commented code.
15514         reindent file.
15515
15516         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15517         * trans.C: changes because of the above.
15518
15519 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15520
15521         * text2.C (setCounter): Fix counters bug with bibliography layout.
15522
15523 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15524
15525         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15526         own member functions
15527         (simpleTeXSpecialChars): ditto
15528
15529 2001-07-06  Juergen Vigna  <jug@sad.it>
15530
15531         * a lot of files: changed the access to LyXText::status and the
15532         call of undo-functions.
15533
15534         * undo.[Ch]: added a inset_id to the undo informations.
15535
15536         * undo_funcs.[Ch]: added and moved here all undo functions.
15537
15538         * lyxtext.h: give the status enum a weight, made status_ a private
15539         variable and made accessor functions for it, removed the whole bunch
15540         of undo-functions as they are now in their own file, make some
15541         functions publically available. Added function ownerParagraph with
15542         int parameter.
15543
15544         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15545         made InInset() a const function, added getParFromID() function.
15546
15547         * buffer.[Ch]: added const version for inset_iterator functions,
15548         added getInsetFromID() function.
15549
15550         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15551         changed undo functions for new version.
15552
15553 2001-07-05  Juergen Vigna  <jug@sad.it>
15554
15555         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15556         unknow mechanism does not call the proper constructor but only this
15557         one also if I request the other!?
15558
15559 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15560
15561         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15562
15563         * text2.C (LyXText): use initialization lists.
15564
15565         * lyxtext.h (Selection): initialize set_ and mark_
15566         (init): remove method
15567
15568 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15569
15570         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15571
15572 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15573
15574         * screen.[Ch]: change method names to begin with lowercase
15575
15576         * BufferView_pimpl.C (updateScrollbar): simplify further and
15577         hopefully make it a bit faster.
15578
15579 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15580
15581         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15582         calling directly xforms functions.
15583
15584         * Painter.C (Painter):
15585         * lyx_cb.C (MenuWrite):
15586         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15587         fl_display.
15588
15589         * lyx_gui.C: remove bogus guiruntime extern declaration.
15590
15591 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15592
15593         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15594         in NEW_INSETS
15595         (redoDrawingOfParagraph): ditto
15596         (redoParagraphs): ditto
15597         (cutSelection): don't create a object for CutAndPaste use the
15598         static method directly
15599         (pasteSelection): ditto
15600
15601         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15602         LyXview (+ rename)
15603
15604 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15605
15606         * modifications to some other files because of this.
15607
15608         * Makefile.am (lyx_SOURCES): add XFormsView
15609
15610         * XFormsView.[Ch]: new files
15611
15612         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15613         the main window. Move the gui dependent stuff to XFormsView
15614
15615 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15616
15617         * tabular.C (GetCellInset): update cur_cell also in the row/col
15618         version of this function.
15619
15620         * lyxfunc.C: no need to include figure_form.h here.
15621
15622         * FontLoader.h:
15623         * lyxfunc.h:
15624         * lyxscreen.h:
15625         * text2.C:
15626         * lyxvc.C: no need to include forms.h here.
15627
15628 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15629
15630         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15631
15632         * lyxfunc.C (Dispatch):
15633         * Spacing.C (set):
15634         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15635         constructor argument.
15636
15637 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15638
15639         * paragraph.C (Paragraph): dont't clear, and just set layout.
15640         (makeSameLayout): use params's copy contructor.
15641
15642         * ParagraphParameters.[Ch] (makeSame): delete method
15643
15644 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15645
15646         * Variables.[Ch]: fix indentation, rename set to isSet
15647
15648 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15649
15650         * lyxfunc.C (Dispatch): fix typo
15651
15652 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15653
15654         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15655         upper_bound.
15656
15657         * bufferlist.C: include assert.h for emergencyWrite().
15658
15659 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15660
15661         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15662           give up at last (bug #425202) !
15663
15664 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15665
15666         * lyx_gui_misc.C:
15667         * sp_form.h:
15668         * sp_form.C:
15669         * spellchecker.h:
15670         * spellchecker.C: strip spellchecker options and bring up
15671           preferences tab instead
15672
15673 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15674
15675         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15676         the istringstream constructor
15677
15678 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15679
15680         * paragraph.C (getLayout): fix return value
15681
15682         * paragraph.h: do not declare getLayout as inline.
15683
15684         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15685
15686 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15687
15688         * lyxcursor.h (operator<): new func
15689         (operator>): new func
15690         (operator>=): new func
15691         (operator<=): new func
15692
15693         * text.C (changeCase): use selection.start and selection.end
15694         (changeRegionCase): require from to be <= to. Require par to be a
15695         valid paragraph.
15696
15697         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15698
15699 2001-06-27  Juergen Vigna  <jug@sad.it>
15700
15701         * text.C (cursorLeftOneWord): changed to return the cursor and added
15702         overlay with BufferView * parameter which calls this one.
15703         (getWord): added
15704         (selectWord): use new getWord function.
15705         (changeCase): renamed from changeWordCase as and extended to work
15706         also on selections.
15707
15708         * lyxtext.h: added enum word_location
15709
15710         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15711         changeCase as this operates now also on selections.
15712
15713 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15714
15715         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15716
15717         * many files: send debug output to Debug::INFO instead of
15718         Debug::ANY.
15719
15720         * converter.C (View):
15721         (Convert):
15722         (Move): send debug output to Debug::FILES instead of console.
15723
15724 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15725
15726         * lyxfunc.C (getStatus): use func_status
15727
15728         * func_status.h: new header, describing the results of
15729         LyXFunc::getStatus;
15730
15731         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15732         LFUN_MATH_HALIGN.
15733
15734 2001-06-25  The LyX Project  <jug@sad.it>
15735
15736         * buffer.C (sgmlOpenTag):
15737         (sgmlCloseTag):
15738         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15739
15740 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15741
15742         * text2.C: remove some dead code
15743
15744         * tabular.C (GetCellInset): store the last cell checked (gotten)
15745
15746         * tabular.h: add the helper for the speedup
15747
15748         * lyxtext.h: remove some dead code
15749
15750 2001-06-26  The LyX Project  <Asger>
15751
15752         * paragraph.C: Change export to LaTeX of alignment to
15753         \begin{center} and family for better roundtrip work with reLyX.
15754
15755         * Tune the math drawing a bit.
15756
15757 2001-06-25  The LyX Project  <Asger>
15758
15759         * LColor.C (LColor): New color for math background. New color
15760         for buttons.
15761
15762 2001-06-25  The LyX Project  <jug@sad.it>
15763
15764         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15765
15766         * lyxfunc.C (Open):
15767         * bufferlist.C (newFile): do not restrict to files ending with
15768         .lyx
15769
15770         * BufferView_pimpl.C (MenuInsertLyXFile):
15771
15772 2001-06-24  The LyX Project  <jug@sad.it>
15773
15774         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15775         of compare_no_case
15776
15777 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15778
15779         * lyxtext.h: rename most methods to begin with a small char.
15780         Lots of changes because of this.
15781
15782         * paragraph.C (Paragraph): do not call fitToSize
15783         (erase): call Pimpl::erase
15784         (insertChar): call Pimpl::insertChar
15785         (insertInset): call Pipl::insertInset
15786         (breakParagraph): do not call fitToSize
15787         (breakParagraphConservative): do not call fitToSize
15788         (fitToSize): remove method
15789
15790         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15791
15792 2001-06-24  The LyX Project  <Asger>
15793
15794         * Fix Qt compilation^2
15795
15796 2001-06-24  The LyX Project  <jug@sad.it>
15797
15798         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15799         depthHook(getDepth()-1).
15800
15801         * paragraph.h:
15802         * ParagraphParameters.h:
15803         * ParameterStruct.h: change type of depth to unsigned int ==
15804         depth_type. Many adaptations to other files before of that.
15805
15806 2001-06-24  The LyX Project  <Asger>
15807
15808         * Fix Qt compilation.
15809
15810 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15811
15812         * paragraph.h: renamed several methods to begin with small letter.
15813         several changes to many parts of the code because of this.
15814
15815 2001-06-23  The LyX Project  <jug@sad.it>
15816
15817         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15818         rewritten to discard all double spaces when KeepEmpty is off
15819         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15820         to only handle newlines but not fiddle with spaces and friends.
15821
15822         * lyxfunc.C (MenuNew): when doing 'new from template', use
15823         template_path as default directory
15824
15825 2001-06-23  The LyX Project  <Asger>
15826
15827         * Clean-up of header file includes all over
15828         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15829
15830 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15831
15832         * paragraph.h: renamed from lyxparagraph.h
15833
15834 2001-06-23  Asger  <lyx@violet.home.sad.it>
15835
15836         * Buffer.h: Removed Buffer::resize
15837         * BufferList.h: Removed BufferList::resize
15838         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15839         the document lazily when we change the width, or the font settings.
15840
15841 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15842
15843         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15844
15845 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15846
15847         * buffer.h: remove out of date comment
15848
15849 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15850
15851         * lyxscreen.h:
15852         * screen.C: fix "theoretical" GC leak
15853
15854 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15855
15856         * LaTeX.C (scanAuxFile):
15857         (deplog): remove trailing \r when reading stream (useful under
15858         win32)
15859
15860 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15861
15862         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15863         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15864         and BufferView::theLockingInset(Inset*), so should use them and not
15865         access bv_->text->the_locking_inset directly.
15866
15867         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15868
15869 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15870
15871         * Makefile.am:
15872         * tex-defs.h: remove old unused file
15873
15874 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15875
15876         * BufferView_pimpl.C: fix typo, remove minibuffer message
15877           when buffer has loaded
15878
15879 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15880
15881         * lyxfunc.C (Dispatch): use stringstream
15882         (MenuNew): use stringstream
15883         (Open): use stringstream
15884
15885         * importer.C (Import): use stringstream
15886
15887         * bufferview_funcs.C (CurrentState): use stringstream
15888
15889         * LaTeX.C (run): use stringstream
15890
15891         * BufferView_pimpl.C (savePosition): use stringstream
15892         (restorePosition): use stringstream
15893         (MenuInsertLyXFile): use stringstream
15894
15895 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15896
15897         * BufferView.C:
15898         * Bullet.C:
15899         * ColorHandler.C:
15900         * FontInfo.C:
15901         * FontLoader.C:
15902         * LColor.C:
15903         * LaTeXFeatures.C:
15904         * Painter.C:
15905         * gettext.C:
15906         * lyx_gui_misc.C:
15907         * lyxserver.C:
15908         * vspace.C: removed // -*- C++ -*- as first line.
15909
15910         * lyxfind.h:
15911         * version.h: added // -*- C++ -*- as first line.
15912
15913 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15914
15915         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15916
15917         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15918         of string
15919
15920 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15921
15922         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15923         of floats.
15924
15925 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15926
15927         * gettext.C: include LString.h even when --disable-nls is on.
15928
15929 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15930
15931         * converter.h (Get): changed argument type from int to
15932         FormatList::size_type to avoid unnecessary conversion.
15933
15934         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15935         before using it.
15936
15937 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15938
15939         * gettext.h: include LString.h even when --disable-nls is on.
15940
15941 2001-06-07  Juergen Vigna  <jug@sad.it>
15942
15943         * text.C (BreakAgain): subst spaces with tabs.
15944
15945         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15946         (resizeInsetsLyXText): set force on resizeLyXText.
15947
15948 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15949
15950         * gettext.h (gettext_init):
15951         (locale_init): use a real definition instead of a macro
15952
15953 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15954
15955         * Bufferview_pimpl.C:
15956         * LColor.h:
15957         * LColor.C: further lcolor tidies
15958
15959 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15960
15961         * BufferView_pimpl.C (updateScrollbar): simplify.
15962
15963         * BufferView2.C: don't include insets/insetinfo.h, change
15964         prototype for insertInset and call the Pimpl version. let
15965         updateInset call Pimpl version.
15966
15967         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15968         gotoInset to BufferView::Pimpl
15969
15970 2001-06-01  Juergen Vigna  <jug@sad.it>
15971
15972         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15973         inside a LockingInset (is the update needed at all?).
15974
15975 2001-05-31  Juergen Vigna  <jug@sad.it>
15976
15977         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15978         here not the old one otherwise how should we compare it afterwards
15979         if it's the same!
15980
15981 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15982
15983         * lyxfont.C:
15984         * tabular.C:
15985         * tabular-old.C:
15986         * FontInfo.C: bring C functions into global namespace when
15987         necessary
15988
15989 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15990
15991         * LString.h: make sure config.h has been loaded before LString.h.
15992
15993         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15994         (one for each char read by EatLine!).
15995
15996         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15997         variables.
15998
15999 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16000
16001         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16002         to the same as the par we break from
16003
16004 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16005
16006         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16007
16008         * MenuBackend.C (expand): also create menu entries for wide
16009         versions of the floats.
16010
16011         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16012
16013         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16014
16015         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16016         frontends/Makefile.am
16017
16018         * text2.C: adjust
16019         * text.C: adjust
16020
16021
16022         * tabular.C (getTokenValue): add std::
16023
16024         * tabular-old.C (getTokenValue): add std::
16025         (getTokenValue): ditto
16026         (getTokenValue): ditto
16027
16028         * screen.C (ToggleSelection): adjust
16029
16030         * lyxtext.h: put selection cursors inside a Selection struct.
16031
16032         * lyxfunc.C (moveCursorUpdate): adjust
16033
16034         * lyxfont.C (latexWriteStartChanges): add std::
16035
16036         * lyxfind.C: adjust
16037
16038         * font.h: delete with(char const *, LyXFont const &)
16039
16040         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16041
16042         * FontInfo.C (getFontname): add std::
16043
16044         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16045         (workAreaButtonPress): adjust
16046         (tripleClick): adjust
16047         (update): adjust
16048         (moveCursorUpdate): adjust
16049         (Dispatch): adjust
16050
16051         * BufferView2.C (gotoInset): adjust
16052
16053 2001-05-30  Juergen Vigna  <jug@sad.it>
16054
16055         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16056         to check pspell I add this as default as I now have new pspell
16057         libraries and they seem to use this.
16058
16059 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16060
16061         * text2.C (CutSelection): make the cursor valid before the call to
16062         ClearSelection.
16063
16064 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16065
16066         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16067         relied on 0 terminated strings and other horrors. Bug found due to
16068         the new assert in lyxstring!
16069
16070         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16071         KP_ keys.
16072
16073 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16074
16075         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16076         to latinkeys.bind.
16077
16078         * lyxfunc.C (processKeySym): change method of getting to the
16079         self-insert char.
16080
16081         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16082         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16083         * BufferView_pimpl.[Ch]: here as private methods.
16084
16085 2001-05-28  Juergen Vigna  <jug@sad.it>
16086
16087         * text.C (SetHeightOfRow): added the update() call again as it is
16088         needed to initialize inset dimensions!
16089
16090 2001-05-16  Juergen Vigna  <jug@sad.it>
16091
16092         * text2.C (SetCharFont): Add new function with BufferView * and
16093         bool toggleall parameters for setting insets internal fonts.
16094         (SetFont): Freeze the undo as we may change fonts in Insets and
16095         all this change should be inside only one Undo!
16096
16097         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16098         setting font's in insets as for them we have the SetFont function!
16099
16100 2001-05-15  Juergen Vigna  <jug@sad.it>
16101
16102         * text2.C (ClearSelection): to be sure we REALLY don't have any
16103         selection anymore!
16104
16105         * tabular.C (TeXCellPreamble): fixed the left border problem for
16106         multicolumn cells.
16107
16108 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16109
16110         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16111         dependancy file
16112
16113 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16114
16115         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16116         LFUN_BREAKPARAGRAPH.
16117
16118         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16119         help test to "internal only", similar for LFUN_INSERT_URL
16120
16121         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16122         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16123         auto_region_delete and deadkeys.
16124
16125 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16126
16127         * LColor.h:
16128         * LColor.C: remove some dead entries, tidy a little
16129
16130 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16131
16132         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16133         commented code.
16134         (Dispatch): implement LFUN_ESCAPE
16135
16136         * commandtags.h: add LFUN_ESCAPE
16137
16138         * LyXAction.C (init): add entry for LFUN_ESCAPE
16139
16140         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16141         Remove commented code.
16142         (insertNote): moved here
16143         (open_new_inset): moved here
16144
16145         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16146         BufferView_pimpl
16147
16148 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16149
16150         * kbmap.C (findbinding): clean it up and make it work correctly.
16151
16152         * lyx_main.C (init): do not pass argc and argv as parameters
16153
16154 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16155
16156         * buffer.C: fix path for OS/2 & Win32
16157
16158         * lyx_gui.C:
16159         * lyx_main:
16160         * lyx_main.C: Added os:: class.
16161
16162         * os2_defines.h: update
16163
16164 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16165
16166         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16167         better by trying again with reduced state.
16168
16169 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16170
16171         * lyxrc.C (read): print error about invalid key sequence only when
16172         debugging (because not all latinX keysyms are known to some X
16173         servers)
16174
16175         * kbsequence.C (getiso): add a few std:: qualifiers
16176         (getiso): comment out extra return statement.
16177
16178 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16179
16180         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16181         handling.
16182         (Dispatch): enhance the accent inset a bit. (not perfect)
16183
16184 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16185
16186         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16187
16188 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16189
16190         * bufferlist.C (emergencyWrite): fix assert() call
16191
16192 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16193
16194         * text.C (InsertChar): Added trivial patch to only send the "you
16195         can not do multiple spaces this way" message once during a
16196         session.
16197
16198 2001-05-08  Baruch Even  <baruch@lyx.org>
16199
16200         * Makefile.am: Changed order of libraries to get LyX to link properly
16201         with the gnome frontend.
16202
16203 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16204
16205         * LaTeXFeatures.h: add a std:: qualifier
16206
16207 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16208
16209         * paragraph.C (String): use stringstream
16210
16211 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16212
16213         * paragraph.C (writeFile): remove footflag arg
16214
16215         * buffer.C (makeLaTeXFile): use stringstream
16216         (latexParagraphs): remove footnot gurba
16217
16218         * LaTeXFeatures.C (getPackages): use stringstream
16219         (getMacros): likewise
16220         (getTClassPreamble): likewise
16221         (getFloatDefinitions): new method
16222
16223         * paragraph.C (writeFile): reindent
16224         (Erase): reindent
16225
16226         * WorkArea.h: revert the xpos + etc changes.
16227
16228         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16229
16230         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16231
16232         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16233         (pasteSelection): likewise
16234         * text2.C (CreateUndo): likewise
16235
16236 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16237
16238         * minibuffer.C (peek_event): temporarily reduce the functionality
16239         of the minibuffer (to allow args on lfuns)
16240
16241         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16242         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16243
16244         * buffer.C (readInset): add compability reading of old float
16245         lists, add reading of new style float list.
16246         (readInset): avoid reevaluation of inscmd.getCmdName()
16247         (getLists): reindent
16248
16249         * MenuBackend.C (MenuItem): implement parsing of
16250         md_floatlistinsert and md_floatinsert.
16251         (expand::LastFiles): move initalizaton of iterators out of loop,
16252         avoid reevaluation.
16253         (expand::Documents): introduce typdedef vector<string> Strings,
16254         and use it.
16255         (expand::ExportFormats): introduce typedef vector<Format const *>
16256         Formats, and use it.
16257         (expand): implement FloatListInsert and FloatInsert.
16258
16259         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16260         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16261         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16262
16263         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16264         handling.
16265         (Dispatch::LFUN_FLOAT_LIST): implement
16266
16267 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16268
16269         * LaTeX.C (run): Fix problem with --export code.
16270
16271 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16272
16273         * BufferView.[Ch] (workarea): removed.
16274         (getClipboard) new method; wrapper for workarea()->getClipboard()
16275
16276         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16277         bug.
16278
16279         * WorkArea.h (width, height, xpos, ypos): These methods all
16280         returned the dimensions of the work_area sub-area of WorkArea,
16281         resulting in a position error if the WorkArea were resized. Now
16282         return the dimensions of the entire WorkArea.
16283
16284         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16285
16286 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16287
16288         * LaTeX.C (deplog): correct the syntax of regex reg1
16289
16290 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16291
16292         * undo.C: remove !NEW_INSETS cruft
16293
16294 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16295
16296         * text2.C: remove !NEW_INSETS cruft
16297
16298         * text.C: remove !NEW_INSETS cruft
16299
16300         * tabular.C: remove !NEW_INSETS cruft
16301
16302         * spellchecker.C: remove !NEW_INSETS cruft
16303
16304         * lyxtext.h: remove !NEW_INSETS cruft
16305
16306         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16307
16308         * lyxfunc.C: remove !NEW_INSETS cruft
16309
16310         * lyxfind.C: remove !NEW_INSETS cruft
16311
16312         * lyx_cb.C: remove !NEW_INSETS cruft
16313
16314         * figureForm.C: remove  !NEW_INSETS cruft
16315
16316         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16317
16318         * buffer.[Ch]: remove !NEW_INSETS cruft
16319
16320         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16321
16322         * CutAndPaste.C: remove !NEW_INSETS cruft
16323
16324         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16325
16326         * BufferView2.C: remove !NEW_INSETS cruft
16327
16328         * BufferView.h: remove !NEW_INSETS cruft
16329
16330 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16331
16332         * Lsstream.h: include LString.h before the sstream headers to
16333         fix problem with gcc 2.95.3 and lyxstring
16334
16335 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16336
16337         * lyx_main.C: add using directives when needed for C functions
16338         declared in std:: namespace.
16339
16340 2001-04-27  Juergen Vigna  <jug@sad.it>
16341
16342         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16343         (SetHeightOfRow): comment out the update call should not be needed!
16344
16345 2001-04-13  Juergen Vigna  <jug@sad.it>
16346
16347         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16348         (LyXTabular): tried to minimize operator= operations (and realized
16349         hopfully Lars wish).
16350
16351 2001-04-27  Juergen Vigna  <jug@sad.it>
16352
16353         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16354
16355 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16356
16357         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16358
16359         * buffer.C (readInset): hack to make listof algorithm work
16360
16361         * BufferView_pimpl.C: hack to make listof algorithm work
16362
16363 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16364
16365         * LyXAction.C: removed all !NEW_INSETS cruft
16366         (init): moved lfun_item in method
16367
16368         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16369
16370 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16371
16372         * BufferView2.C (theLockingInset): white space.
16373
16374 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16375
16376         * minibuffer.C: include <iostream>
16377
16378         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16379
16380         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16381
16382         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16383
16384         * text.[Ch] (TransposeChars): new method
16385
16386 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16387
16388         * call message directly through LyXView instead of through LyXFunc
16389         * BufferView2.C: adjust
16390         * BufferView_pimpl.C: adjust
16391         * FontLoader.C: adjust
16392         * buffer.C: adjust
16393         * bufferview_funcs.C: adjust
16394         * converter.C: adjust
16395         * figureForm.C: adjust
16396         * importer.C: adjust
16397         * lyx_cb.C: adjust
16398         * lyx_gui_misc.C: adjust
16399         * lyxfunc.C: adjust
16400         * lyxvc.C: adjust
16401         * text2.C: adjust
16402         + more files in subdirs
16403
16404         * lyxparagraph.h (size): move up int file
16405         (GetLayout): ditto
16406
16407         * adjust all uses of Assert to lyx::Assert.
16408
16409         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16410         lyxfunctional in namespace lyx
16411         * layout.C (hasLayout): ditto
16412         (GetLayout): ditto
16413         (GetLayout): ditto
16414         (delete_layout): ditto
16415         (NumberOfClass): ditto
16416         * converter.C (GetFormat): ditto
16417         (GetNumber): ditto
16418         (Add): ditto
16419         (Delete): ditto
16420         (SetViewer): ditto
16421         * bufferlist.C (getFileNames): ditto
16422         (emergencyWriteAll): ditto
16423         (exists): ditto
16424         (getBuffer): ditto
16425         * MenuBackend.C (hasSubmenu): ditto
16426         (hasMenu): ditto
16427         (getMenu): ditto
16428         * BufferView_pimpl.C (getInsetByCode): ditto
16429
16430 2001-04-18  Juergen Vigna  <jug@sad.it>
16431
16432         * vspace.C (asLatexString): fixed the 100% problem.
16433
16434 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16435
16436         * lyxfunc.C (Dispatch):
16437         * minibuffer.C:
16438         * minibuffer.h: add a few std:: qualifiers
16439
16440 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16441
16442         * minibuffer.[Ch]: reimplement so that commands is initiated and
16443         run from lyxfunc, simplified som handling, and made the completion
16444         and history code for complete. wip.
16445
16446         * lyxfunc.C (processKeySym): call message
16447         (miniDispatch): new temporary method
16448         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16449         (LFUN_MESSAGE): implement
16450         (LFUN_MESSAGE_PUSH): implement
16451         (LFUN_MESSAGE_POP): implement
16452         (initMiniBuffer): the initial/defualt minibuffer message.
16453
16454         * lyxfont.[Ch]: inline some more getters
16455
16456         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16457
16458         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16459
16460         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16461         (AutoSave): use LFUN_MESSAGE
16462         (Reconfigure): ditto
16463
16464         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16465
16466         * figureForm.C: use LFUN_MESSAGE
16467
16468         * converter.C (runLaTeX): use LFUN_MESSAGE
16469
16470         * bufferview_funcs.C: use LFUN_MESSAGE
16471         (Melt): ditto
16472         (changeDepth): ditto
16473
16474         * bufferparams.h: use boost::
16475
16476         * bufferlist.h: inherit privately from noncopyable
16477
16478         * bufferlist.C (loadLyXFile): remove some commented code.
16479
16480         * buffer.C (runChktex): use LFUN_MESSAGE
16481
16482         * ShareContainer.h: inherit privately from noncopyable
16483
16484         * ParagraphParameters.[hC] (depth): inline it.
16485
16486         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16487         methods.
16488         (message): new method
16489         (messagePush): ditto
16490         (messagePop): ditto
16491         (show): init minibuffer
16492         (showState): direct call
16493
16494         * LaTeX.[Ch]: inherit privately from noncopyable
16495         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16496         instead of WriteStatus.
16497
16498         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16499
16500         * BufferView_pimpl.C (buffer): don't init minibuffer
16501         (workAreaButtonPress): use LFUN_MESSAGE
16502         (workAreaButtonRelease): ditto
16503         (savePosition): ditto
16504         (restorePosition): ditto
16505         (MenuInsertLyXFile): ditto
16506         (workAreaExpose): don't init minibuffer
16507         (update): remove commented code, simplify
16508
16509         * BufferView2.C (openStuff): use LFUN_MESSAGE
16510         (toggleFloat): ditto
16511         (menuUndo): ditto
16512         (menuRedo): ditto
16513         (copyEnvironment): ditto
16514         (pasteEnvironment): ditto
16515         (copy): ditto
16516         (cut): ditto
16517         (paste): ditto
16518         (gotoInset): ditto
16519         (updateInset): remove some commented code
16520
16521         * lastfiles.h: inherit privately from noncopyable
16522         * layout.h: ditto
16523         * lyx_gui.h: ditto
16524         * lyx_main.h: ditto
16525         * lyxlex.h: ditto
16526         * lyxlex_pimpl.h: ditto
16527
16528         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16529         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16530         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16531
16532         * LyXAction.h: inherit privately from noncopyable, add methods
16533         func_begin, func_end, returning iterators to the func map.
16534
16535         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16536         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16537         (func_begin): new method
16538         (func_end): new method
16539
16540         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16541         and not)
16542         (copySelection): ditto
16543         (pasteSelection): ditto
16544
16545         * BufferView.C: whitespace change
16546         * BufferView.h: inherit privately from noncopyable
16547
16548 2001-04-16  Allan Rae  <rae@lyx.org>
16549
16550         * tabular-old.C (l_getline):
16551         * spellchecker.C (sc_check_word):
16552         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16553         an unrecognised preprocessor directive.  So ensure they're wrapped.
16554
16555 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16556
16557         * src/exporter.C (Export): Give an error message when path to file
16558         contains spaces.
16559
16560 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16561
16562         * LaTeX.C (deplog): Always check that foundfile exists.
16563
16564 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16565
16566         * lyx_main.h:
16567         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16568
16569 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16570
16571         * tabular.[Ch] (getLabelList): implement new method
16572
16573         * minibuffer.h: comment ouf setTiimer
16574
16575         * minibuffer.C (ExecutingCB): constify res
16576         (peek_event): constify s
16577         (Set): constify ntext
16578         (Init): constify nicename
16579
16580         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16581
16582         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16583         (savePosition): use two params to Minibuffer::Set
16584         (restorePosition): ditto
16585
16586 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16587
16588         * lyx_main.C: include language.h
16589
16590         * Makefile.am (lyx_main.o): add language.h
16591
16592 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16593
16594         * exporter.C:
16595         * paragraph.C:
16596         * screen.C:
16597         * tabular.C:
16598         * CutAndPaste.C: include gettext.h
16599
16600         * lyxfont.h: remove old hack with ON and OFF.
16601
16602         * lyxparagraph.h:
16603         * lyxfont.h: do not include language.h...
16604
16605         * BufferView2.C:
16606         * LaTeXFeatures.C:
16607         * Painter.C:
16608         * bufferview_funcs.C:
16609         * font.C:
16610         * lyxfont.C:
16611         * text.C:
16612         * text2.C:
16613         * trans_mgr.C:
16614         * paragraph.C: ... but do it here instead
16615
16616 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16617
16618         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16619
16620         * tabular.C: small reformat
16621
16622         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16623         NEW_INSETS version
16624         (GetChar): ditto
16625         (BreakParagraph): ditto
16626         (SetOnlyLayout): ditto
16627         (SetLayout): ditto
16628
16629         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16630         with one arg less.
16631
16632         * lastfiles.C: removed most using decl, add std:: where needed
16633
16634         * buffer.C: ws changes
16635
16636         * MenuBackend.C (class compare_format): put into anon namespace
16637         (expand): constify label, names, action, action2
16638         (expand):
16639
16640         * text.C (SingleWidth): constify font
16641         (IsBoundary): constify rtl2
16642         (GetVisibleRow): constify ww
16643
16644         * LaTeX.C (deplog): constify logfile
16645
16646         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16647         start_x, end_x
16648         (workAreaExpose): constify widthChange, heightChange
16649
16650         * lyxrow.C (par): moved
16651         (height): moved
16652         (next): moved
16653         * lyxrow.h: as inlines here
16654
16655         * lyxfont.h (shape): moved from lyxfont.C
16656         (emph): moved from lyxfont.C
16657
16658         * lyxfont.C (LyXFont): use initialization list for all
16659         constructors
16660         (shape): move to lyxfont.h as inline
16661         (emph): move to lyxfont.h as inline
16662
16663
16664 2001-04-04  Juergen Vigna  <jug@sad.it>
16665
16666         * vspace.C: had to include stdio.h for use of sscanf
16667
16668 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16669
16670         * BufferView.h:
16671         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16672         independent of xforms.
16673
16674 2001-04-02  Juergen Vigna  <jug@sad.it>
16675
16676         * spellchecker.C: fixed namespace placing!
16677
16678 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16679
16680         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16681         the LyXParagraph * is 0.
16682
16683 2001-03-29  Juergen Vigna  <jug@sad.it>
16684
16685         * vspace.C: added support for %, c%, p%, l%.
16686         (stringFromUnit): added helper function.
16687         (asLatexString): changed to give right results for the %-values.
16688
16689         * buffer.C: convert the widthp in a width%.
16690
16691 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16692
16693         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16694         figureForm.[Ch].
16695
16696         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16697         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16698
16699         * lyx_cb.[Ch]: see above.
16700
16701         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16702         form1.[Ch].
16703
16704         * form1.[Ch]:
16705         * lyx.[Ch]: replaced by figure_form.[Ch].
16706
16707         * lyx_gui.C:
16708         * lyx_gui_misc.C:
16709         * lyxfunc.C: changed headers associated with above changes.
16710
16711 2001-03-27  Juergen Vigna  <jug@sad.it>
16712
16713         * BufferView_pimpl.C: set the temporary cursor right!
16714
16715 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16716
16717         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16718
16719 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16720
16721         * LString.h: removed "using std::getline"!
16722
16723         * BufferView_pimpl.C (Dispatch): changes due to changes in
16724         InsetInclude::Params.
16725
16726         * buffer.C (tag_name): removed redundant break statements as they were
16727         producing lots of warnings with my compiler.
16728
16729 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16730
16731         * LString.h: add "using std::getline" when using the real <string>.
16732
16733 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16734
16735         * buffer.C: removed bitset usage.
16736         PAR_TAG moved to an anonymous name space.
16737         (tag_name): new funtion, also in the anonymous namespace.
16738         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16739         (makeDocBookFile): clean code. Completed transition from string arrays
16740         to string vectors.
16741         (SimpleDocBookOnePar): code clean.
16742
16743 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16744
16745         * tabular.C: add some comments.
16746
16747 2001-03-22  Juergen Vigna  <jug@sad.it>
16748
16749         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16750         compatibility read a bit and fixed bug with minipage in different
16751         depth.
16752
16753 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16754
16755         * buffer.C (pop_tag): removed.
16756         (push_tag): removed.
16757         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16758         array replaced with vector. Added support for CDATA sections.
16759         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16760         at any nest level.
16761         (makeDocBookFile): XML conformant declaration of CDATA section,
16762         fixed bug related to <emphasis> in the first paragraph char.
16763         (sgmlOpenTag): exclude empty tags.
16764         (sgmlCloseTag): ditto.
16765
16766         * buffer.h (pop_tag): removed.
16767         (push_tag): removed.
16768
16769 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16770
16771         * language.h (Languages): added size_type and size().
16772
16773 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16774
16775         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16776         response on compability reading of minipages. One probliem is that
16777         the old usage of minipages was «flertydig»
16778
16779         * several files here and in subdirs: don't use static at file
16780         scope use anon namespaces instead.
16781
16782 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16783
16784         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16785         LaTeX output. This is necessary for Literate document
16786         processing.
16787
16788 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16789
16790         * buffer.C: insert hfill when needed.
16791
16792         * tabular.C (l_getline): use string::erase, small whitespace change.
16793
16794         * BufferView_pimpl.C: try the anon namespace.
16795         * WorkArea.C: ditto
16796
16797 2001-03-16  Juergen Vigna  <jug@sad.it>
16798
16799         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16800         otherwise it won't open options-dialogs.
16801
16802         * buffer.C: honor pextraWidth(p) on converting minipages.
16803
16804         * tabular.C (l_getline): changed the functions to strip trailing \r.
16805
16806 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16807
16808         * BufferView_pimpl.C:
16809         * minibuffer..C: added "using SigC::slot" declaration.
16810
16811 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16812
16813         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16814
16815         * text2.C: ditto
16816
16817         * text.C: ditto
16818
16819         * paragraph.C: ditto
16820
16821         * lyxtext.h: NO_PEXTRA
16822
16823         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16824
16825         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16826         * ParameterStruct.h: ditto
16827         * ParagraphParameters.h: ditto
16828         * lyxparagraph.h: ditto
16829
16830 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16831
16832         * buffer.C: add compability for minipage alignment.
16833         (latexParagraphs): remove unwanted pextra check.
16834
16835         * several files: remove CXX_WORKING_NAMESPACES
16836
16837         * buffer.C (pop_tag): tie is in namespace boost
16838
16839         * BufferView.h: noncopyable is in namespace boost
16840         * lyxlex.h: ditto
16841         * lyx_main.h: ditto
16842         * lyx_gui.h: ditto
16843         * layout.h: ditto
16844         * lastfiles.h: ditto
16845         * bufferlist.h: ditto
16846         * ShareContainer.h: ditto
16847         * LyXView.h: ditto
16848         * LyXAction.h: ditto
16849         * LaTeX.h: ditto
16850
16851 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16852
16853         * Merging changes from BRANCH_MVC back into HEAD.
16854
16855         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16856
16857 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16858
16859         * BufferView_pimpl.C: change from intl.C
16860
16861         * combox.h:
16862         * combox.C:
16863         * Makefile.am: move combox.*
16864
16865         * form1.h:
16866         * form1.C:
16867         * lyx_gui.C:
16868         * intl.h:
16869         * intl.C: remove dialog (covered by prefs)
16870
16871 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16872
16873         * lyxfunc.C (Dispatch): removed redundant break statement.
16874
16875 2001-03-14  Juergen Vigna  <jug@sad.it>
16876
16877         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16878
16879 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16880
16881         * buffer.C: add hack to fix compability reading of minipages.
16882
16883 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16884
16885         * buffer.C (getLists): Cleanup.
16886
16887 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16888
16889         * lyxfont.C (update): don't honor toggleall on font size.
16890
16891 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16892
16893         * bmtable.c:
16894         * bmtable.h:
16895         * Makefile.am: moved to frontends/xforms/
16896
16897         * lyx_gui_misc.C:
16898         * lyxfunc.C:
16899         * BufferView_pimpl.C: changes for moved mathpanel
16900
16901 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16902
16903         * gettext.h: fix gettext_init() in --disable-nls
16904
16905 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16906
16907         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16908
16909 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16910
16911         * lyx.C:
16912         * lyx.h: strip external form
16913
16914 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16915
16916         * BufferView_pimpl.C: add comment, destroySplash()
16917
16918 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16919
16920         * BufferView_pimpl.C:
16921         * LyXAction.C:
16922         * buffer.C:
16923         * commandtags.h:
16924         * lyxfunc.C: use re-worked insetinclude
16925
16926 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16927
16928         * buffer.C: add using std::stringstream.
16929
16930         * lyx_cb.C: readd using std::ios.
16931
16932         * buffer.C: add using std::map.
16933
16934         * BufferView_pimpl.C: add using std::vector.
16935
16936         * ShareContainer.h: add std:: to swap.
16937
16938         * buffer.h: add some typedefs
16939         * buffer.C (getLists): use them
16940         (getLists): renamed from getTocList.
16941         add a counter for the different float types and use it in the
16942         generated string.
16943         (getLists): use the same counter for the NEW_INSETS and the "non"
16944         NEW_INSETS
16945
16946         * lyx_cb.h: remove unused items, includes, using etc.
16947
16948         * ShareContainer.h: remove some commented code, add more comments
16949         and "documentation".
16950
16951 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16952
16953         * buffer.C (getTocList): make the list also when NEW_INSETS is
16954         defined.
16955
16956         * buffer.h: remove TocType
16957
16958         * buffer.C (getTocList): change to return a map<string,
16959         vector<TocItem> >, implement for dynamic number of list.
16960
16961         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16962         * text2.C (PasteSelection): adjust
16963         * CutAndPaste.C (pasteSelection): adjust
16964
16965         * FloatList.C (FloatList): update from the new_insets branch.
16966         * Floating.[Ch]: ditto
16967         * LaTeXFeatures.C: ditto
16968         * buffer.C: ditto
16969         * lyxlex_pimpl.C: ditto
16970
16971         * paragraph.C (Last): remove when NEW_INSETS is defined.
16972
16973         * other file: changes because of the above.
16974
16975 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16976
16977         * lyxparagraph.h: rename next to next_, previous to previous_,
16978         make them private for NEW_INSETS. Rename Next() to next(),
16979         Previous() to previous().
16980
16981         * other files: changes because of the above.
16982
16983 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16984
16985         * BufferView.h:
16986         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16987         problem.
16988
16989 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16990
16991         * main.C (main): pass lyx_localedir to gettext_init().
16992
16993         * gettext.h: remove locale_init and gettext_init macros
16994
16995         * gettext.C (locale_init): new function
16996         (gettext_init): new function
16997
16998         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16999         setlocale().
17000
17001 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17002
17003         * Moved credits to frontends:
17004         * credits.[Ch]: removed
17005         * credits_form.[Ch]: removed
17006         * lyx_gui_misc.C: remove credits stuff
17007         * Makefile.am:
17008
17009 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17010
17011         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17012
17013         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17014         unneeded destructor.
17015
17016         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17017         a standalone pointer again.
17018
17019         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17020
17021 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17022
17023         * Makefile.am:
17024         * filedlg.h:
17025         * filedlg.C:
17026         * LyXAction.C:
17027         * ToolbarDefaults.C:
17028         * bufferlist.C:
17029         * commandtags.h:
17030         * form1.C:
17031         * form1.h:
17032         * lyx_cb.C:
17033         * lyx_cb.h:
17034         * lyxfunc.h:
17035         * lyxfunc.C:
17036         * BufferView_pimpl.C: use new file dialog in GUII
17037
17038         * lyx_cb.h:
17039         * lyx_cb.C: remove LayoutsCB to Toolbar
17040
17041 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17042
17043         * ShareContainer.h (get): add std:: qualifier
17044
17045 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17046
17047         * ShareContainer.h: define a proper ShareContainer::value_type
17048         type (and use typename to please compaq cxx)
17049
17050 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17051
17052         * lyxparagraph.h: move serveral local vars to
17053         ParameterStruct/ParagraphParameters., use ShareContainer in
17054         FontTable., make vars in FontTable private and add getter and
17055         setter.
17056
17057         * paragraph.C: changes because of the above.
17058
17059         * lyxfont.h: remove copy constructor and copy assignment. (the
17060         default ones is ok), move number inside FontBits. move inlines to
17061         lyxfont.C
17062
17063         * lyxfont.C: add number to initializaton of statics, move several
17064         inlines here. constify several local vars. some whitespace
17065         cleanup. Dont hide outerscope variables.
17066
17067         * Spacing.h: add two new constructors to match the set methods.
17068
17069         * ShareContainer.h: new file, will perhaps be moved to support
17070
17071         * ParameterStruct.h: new file
17072
17073         * ParagraphParameters.h: new file
17074
17075         * ParagraphParameters.C: new file
17076
17077         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17078         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17079
17080         * BufferView_pimpl.C: ParagraphParameter changes.
17081         * buffer.C: Likewise.
17082         * bufferview_funcs.C: Likewise.
17083         * text.C: Likewise.
17084         * text2.C: Likewise.
17085
17086 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17087
17088         * lyxfind.C (LyXReplace): do not redefine default argument in
17089         implementation.
17090         (IsStringInText): ditto
17091         (SearchForward): ditto
17092         (SearchBackward): ditto
17093
17094 2001-03-06  Juergen Vigna  <jug@sad.it>
17095
17096         * lyxfind.C (IsStringInText): put parentes around expressions.
17097
17098 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17099
17100         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17101
17102 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17103
17104         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17105
17106         * stl_string_fwd.h: add comment
17107
17108         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17109
17110         * tabular.h:
17111         * tabular.C: remove unused DocBook methods
17112
17113         * intl.C:
17114         * language.C:
17115         * paragraph.C:
17116         * buffer.C:
17117         killed DO_USE_DEFAULT_LANGUAGE
17118
17119 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17120
17121         * lyx_gui.C: do not include language.h.
17122
17123         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17124         arguments in function implementation.
17125
17126 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17127
17128         * BufferView_pimpl.C: add <ctime>
17129
17130 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17131
17132         * BufferView_pimpl.C: add using std::find_if
17133
17134 2001-02-27  José Matos  <jamatos@fep.up.pt>
17135
17136         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17137         by OnlyPath.
17138
17139 2001-02-11  José Matos  <jamatos@fep.up.pt>
17140
17141         * buffer.C (makeDocBookFile): command styles now have a parameter as
17142         "title" by default.
17143
17144 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17145
17146         * layout_forms.[Ch]: removed
17147         * lyx_cb.[Ch]: out character
17148         * lyx_gui.C: out character
17149         * lyx_gui_misc.C: out character
17150         * bufferview_funcs.C: : out character,
17151         added toggleall as parameter in ToggleAndShow
17152
17153 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17154
17155         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17156
17157         * text2.C (SetCurrentFont): Disable number property at boundary.
17158
17159 2001-02-26  Juergen Vigna  <jug@sad.it>
17160
17161         * lyxfunc.C (getStatus): added a string argument override function so
17162         that this is correctly called from LyXFunc::Dispatch if it contains a
17163         do_not_use_argument which is used!
17164         (Dispatch): added check for "custom" export and call appropriate func.
17165
17166 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17167
17168         * lyxrc.C: Add language_command_local, language_use_babel and
17169         language_global_options.
17170
17171         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17172
17173         * buffer.C (makeLaTeXFile): Use language_use_babel and
17174         language_global_options.
17175
17176 2001-02-23  Juergen Vigna  <jug@sad.it>
17177
17178         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17179         which works with LyXText and putted it inside BufferView. Here now we
17180         only call for that part the BufferView::Dispatch() function.
17181
17182         * BufferView.C (Dispatch): added.
17183
17184         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17185         functions which needs to use a LyXText over from LyXFunc.
17186         (MenuInsertLyXFile): added
17187         (getInsetByCode): added
17188         (moveCursorUpdate): added
17189         (static TEXT): added
17190
17191 2001-02-22  Juergen Vigna  <jug@sad.it>
17192
17193         * BufferView_pimpl.C (update): call a status update to see if LyXText
17194         needs it.
17195
17196 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17197
17198         * vc-backend.C (revert): implement for CVS
17199         (getLog): implement for CVS
17200
17201 2001-02-20  Juergen Vigna  <jug@sad.it>
17202
17203         * text2.C (ClearSelection): added BufferView param for inset_owner call
17204
17205         * lyxfunc.C (TEXT): added this function and use it instead of
17206         directly owner->view()-text of getLyXText().
17207
17208 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17209
17210         * src/layout_forms.C: out preamble
17211         * src/layout_forms.h: out preamble
17212         * src/lyx_cb.C: out preamble
17213         * src/lyx_cb.h: out preamble
17214         * src/lyx_gui.C: out preamble
17215         * src/lyx_gui_misc.C: out preamble
17216         * src/lyxfunc.C: connect with guii preamble
17217
17218 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17219
17220         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17221
17222 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17223
17224         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17225         whether to run bibtex.
17226
17227 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17228
17229         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17230
17231 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17232
17233         * Makefile.am (lyx_SOURCES): removed bibforms.h
17234
17235         * vspace.h: doxygen
17236
17237         * text.C (GetVisibleRow): make several local vars const
17238
17239         * tabular.C: small cleanup.
17240
17241         * lyxserver.C (callback): use compare instead of strncmp
17242
17243         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17244         inlines to after class or to paragraph.C
17245
17246         * lyxfont.h: remove friend operator!=
17247
17248         * converter.h: move friend bool operator< to non friend and after
17249         class def.
17250
17251         * combox.h: small cleanup
17252
17253         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17254         to inlines after class def.
17255
17256         * buffer.C (pop_tag): use string operations instead of strcmp
17257
17258         * bmtable.c: doxygen, small cleanup
17259
17260         * LaTeX.h: remove friend operator==
17261
17262 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17263
17264         * screen.C:
17265         * lyxrc.[Ch]:
17266         * lyxfunc.C:
17267         * lyxfont.[Ch]:
17268         * lyx_cb.C:
17269         * intl.[Ch]:
17270         * commandtags.h:
17271         * buffer.C:
17272         * WorkArea.[Ch]:
17273         * LyXAction.C:
17274         * BufferView_pimpl.C:
17275         * BufferView.[Ch]: remove cruft
17276
17277 2001-02-14  Juergen Vigna  <jug@sad.it>
17278
17279         * lyxfunc.C: removed #if 0 unused code
17280
17281         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17282
17283         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17284
17285         * text2.C (SetSelection): added a BufferView * parameter
17286
17287 2001-02-13  Juergen Vigna  <jug@sad.it>
17288
17289         * lyxfunc.C (Dispatch): fixed protected blank problem.
17290         * BufferView2.C (protectedBlank): added LyxText * parameter.
17291
17292         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17293         (AppendColumn): same as above for column_info.
17294
17295         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17296         (moveCursorUpdate): use a LyXText param for support of InsetText.
17297
17298         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17299         (tripleClick): ditto
17300
17301         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17302
17303         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17304
17305         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17306
17307         * text2.C (SetSelection): set correct update status if inset_owner
17308         (ToggleFree): ditto
17309
17310 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17311
17312         * tabular.C: remove some commented code.
17313
17314 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17315
17316         * BufferView_pimpl.C: call hideSplash()
17317
17318         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17319
17320         * include_form.h:
17321         * bibforms.h: remove
17322
17323         * lyxfunc.C:
17324         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17325           add LFUN_CHILD_CREATE
17326
17327         * counters.h: fix tiny typo
17328
17329         * lyx_cb.C:
17330         * lyx.h:
17331         * lyx_gui.C:
17332         * lyx.C: move splash to frontends/xforms/
17333
17334         * lyx_gui_misc.C: move Include and Bibform to frontends
17335
17336         * lyxvc.h: clarify comment
17337
17338         * vspace.C: tiny housekeeping
17339
17340 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17341
17342         * text.C (PrepareToPrint): RTL Fix.
17343
17344         * paragraph.C (GetUChar): New method.
17345         (String):  Use GetUChar.
17346
17347         * buffer.C (asciiParagraph): Use GetUChar.
17348
17349 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17350
17351         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17352
17353 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17354
17355         * buffer.h:
17356         * buffer.C: rename to getLogName(), handle
17357           build log / latex log nicely
17358
17359 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17360
17361         * MenuBackend.C:
17362         * MenuBackend.h: remove support for reference menuitem type.
17363
17364 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17365
17366         * BufferView_pimpl.C: housekeeping
17367         * BufferView_pimpl.h:
17368         * LyXView.h:
17369         * Makefile.am:
17370         * Timeout.C:
17371         * Timeout.h:
17372         * minibuffer.h: move Timeout GUI-I
17373
17374 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17375
17376         * lyxrc.C (read): Update converters data-structures.
17377
17378 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17379
17380         * LaTeX.h (operator!=): add operator != for Aux_Info
17381
17382 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17383
17384         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17385
17386         * LaTeXLog.C: deleted, useful code moved to Buffer
17387
17388         * buffer.h:
17389         * buffer.C: new function getLatexLogName()
17390
17391         * lyx_gui_misc.C:
17392         * lyx_gui.C:
17393         * lyxvc.C:
17394         * lyxvc.h:
17395         * lyxfunc.C: use frontends for LaTeX and VC logs
17396
17397 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17398
17399         * LaTeX.h: yet another std:: that Allan forgot.
17400
17401         * Variables.C (set): renamed from isset(), because this clashes
17402         with some HP-UX macros (grr).
17403
17404 2001-02-06  Allan Rae  <rae@lyx.org>
17405
17406         * LaTeX.h: Another bug fix.  Missing std:: this time.
17407
17408 2001-02-04  Allan Rae  <rae@lyx.org>
17409
17410         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17411         floats problem. I've left it commented out because it's not quite
17412         correct.  It should also test that the current object is a table or
17413         figure inset.  But I haven't gotten around to figuring out how to do
17414         that.  I *think* it'll be something like: "table" == inset.type()
17415
17416         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17417         bool.
17418
17419 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17420
17421         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17422         all the citation/databases/styles in the auxilary file.
17423         (run): Rerun latex if there was a babel language error.
17424
17425 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17426
17427         * text.C (Backspace): Preserve the font when changing newline char
17428         with a space.
17429         (BreakParagraph): If the cursor is before a space, delete the space.
17430
17431         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17432
17433 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17434
17435         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17436         new argument (code).
17437         (ChangeCitationsIfUnique): New method.
17438
17439         * paragraph.C (GetPositionOfInset): Handle bibkey.
17440
17441 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17442
17443         * BufferView_pimpl.h: change type of Position::par_pos to
17444         LyXParagraph::size_type.
17445
17446 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17447
17448         * BufferView_pimpl.C (savePosition, restorePosition): Write
17449         messages to minibuffer.
17450
17451 2001-01-28  José Matos  <jamatos@fep.up.pt>
17452
17453         * buffer.C (makeDocBookFile): adds support for document language.
17454         A silly restriction on the name of LatexCommand types where removed.
17455         Added support for CDATA sections, allows to chars unescaped, used
17456         among others in code, to avoid escape < and >.
17457
17458 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17459
17460         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17461         saved positions instrad of a stack. Furthermore, a position is
17462         stored using paragraph id/paragraph position.
17463
17464         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17465         Remove LFUN_REF_BACK.
17466
17467 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17468
17469         * converter.C (dvipdfm_options): New method.
17470
17471 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17472
17473         * vspace.C (isValidLength): Fix for empty input string.
17474
17475 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17476
17477         * LyXAction.C (init): change description of LFUN_FIGURE to
17478         "Insert Graphics"
17479
17480 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17481
17482         * LaTeX.C: add using directive
17483
17484 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17485
17486         * MenuBackend.C (expand): Fix the sorting of the formats.
17487
17488 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17489
17490         * lyx_main.C: tiny error message fix
17491
17492 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17493
17494         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17495         calling fl_initialize(). This fixes the problem with ',' as
17496         decimal separator in text files.
17497
17498 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17499
17500         * trans.C (process): Fix the keymap bug.
17501
17502 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17503
17504         * LaTeX.C (scanAuxFiles): New method. Provides support for
17505         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17506         (scanLogFile) Scan for "run BibTeX" messages.
17507
17508         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17509         OT1 font encoding. Also, load the aecompl package if the ae
17510         package is loaded.
17511
17512         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17513
17514 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17515
17516         * texrow.C (increasePos): turn two error messages into debug
17517         messages.
17518
17519 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17520
17521         * LaTeX.C (scanAux): Handle the \@input macro.
17522         (runBibTeX): Use scanAux().
17523
17524         * language.C (latex_options_): New field.
17525
17526         * LaTeXFeatures.C (getMacros): Add language macros.
17527
17528         * buffer.C (makeLaTeXFile): Small fix.
17529
17530 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17531
17532         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17533
17534         * text2.C: add a using directive.
17535
17536 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17537
17538         * BufferView2.C:
17539         * lyx_gui_misc.h:
17540         * lyxfr1.C:
17541         * lyxfunc.C: kill LyXBell.
17542
17543 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17544
17545         * text.C (IsBoundary): Remove the error message
17546
17547         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17548
17549         * lyxrc.C (setDefaults): Correct initialization value for
17550         font_norm_type.
17551
17552 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17553
17554         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17555         gotoError().
17556
17557         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17558         and GotoNextNote().
17559
17560         * src/LyXAction.C: Added reference-next.
17561
17562         * text.C (InsertChar): Use contains instead of strchr.
17563
17564         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17565
17566 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17567
17568         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17569         alignment commands (when needed).
17570
17571         * text.C (InsertChar): Add ':' to number separator chars.