]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Ungoose (degoose?) bibliography
[lyx.git] / src / ChangeLog
1 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * paragraph.C (bibitem):
4         * buffer_funcs.C (setCounter):
5         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
6
7 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8
9         * text3.C (getStatus): immediately return after setOnOff        
10
11         * rowpainter.C: fix drawing of appendix start
12
13 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
14
15         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
16         SwitchBetweenClasses and remove the unused return value.
17         Handle character styles, too
18
19 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
20
21         * factory.C (createInset): handle undefined character styles
22
23 2005-05-02  Angus Leeming  <leeming@lyx.org>
24
25         * buffer.C: protect the #include of utime.h with a preprocessor
26         guard.
27
28 2005-05-02  Angus Leeming  <leeming@lyx.org>
29
30         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
31         function so that suto-saving works, albeit in a blocking manner.
32
33         * Makefile.am: make compilation of the client sub directory, of
34         apsellC, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
35         on conditionals set at configure time.
36
37         * SpellBase.[Ch]: no longer an abstract base class. Instead,
38         it can be compiled in its own right but has no-op functionality.
39
40         * aspell.C, pspell.C: remove preprocessor guards. The files should
41         be compiled only if the necessary functionality exists.
42
43         * lyxserver.C, lyxsocket.C: disable on Windows.
44
45 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
46
47         * text.C (leftMargin): Fix the parindent use bug (1764)
48         by dirty trick
49
50 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
51
52         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
53         argument.
54
55 2005-04-25  Angus Leeming  <leeming@lyx.org>
56
57         * Bidi.[Ch]:
58         * coordcache.[Ch]:
59         * ispell.C:
60         * lyxserver.C:
61         * mover.C:
62         * pch.h:
63         include <config.h> in .C files, not .h ones.
64         add licence blurb.
65         protect headers inside preprocessor guards.
66
67 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
68
69         * FuncStatus.h (StatusCodes): document
70
71 2005-04-21  André Pönitz  <poenitz@gmx.net>
72
73         * FuncStatus.h (enabled, onoff): document
74
75 2005-04-19  Angus Leeming  <leeming@lyx.org>
76
77         * BufferView_pimpl.C (cursorToggle): no longer test whether
78         any child processes have been reaped before calling
79         handleCompletedProcesses().
80
81 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
82
83         * text3.C (dispatch): fix, finally fix, the language problem in
84         new lyxtexts, without disabling on-the-fly font changes (Helge's
85         bug report)
86
87 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
88
89         * text3.C (dispatch): set cursor on double/triple click events
90         (bug 1811)
91
92 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
93
94         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
95         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
96
97         * rowpainter.C (paintFirst): simplify the code a little bit. In
98         particular, remove the test for secnumdepth.
99         * text.C (setHeightOfRow): only allocate space for chapter number
100         when updateCounters provided an actual label, instead of looking
101         at secnumdepth directly.
102
103         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
104
105         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
106         paragraphs when secnumdepth is large enough or, for environments,
107         when they are not the first in a sequence.
108
109 2005-04-17  Angus Leeming  <leeming@lyx.org>
110
111         * buffer.C (makeLaTeXFile): replace code to manipulate a path
112         containing space and '~' characters with a call to latex_path().
113
114 2005-04-17  Angus Leeming  <leeming@lyx.org>
115
116         * converter.C (convert): protect all args of convertDefault.sh
117         script with quotes.
118
119 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
120
121         * text3.C (dispatch): change the layout to "Caption" after inserting
122         a float.
123
124 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
125
126         * text3.C (dispatch): fix language problem in newly created
127         textinsets (and main text) in non-english docs
128
129 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
130
131         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
132         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
133         * text3.C (getStatus): disable LFUN_INSET_MODIFY
134
135 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
136
137         * lyxtext.h:
138         * text.C (metrics):
139         * text2.C (getFont):
140         * rowpainter.C (getFont): Fix metrics bug introduced by inset
141         fonts fix
142
143 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
144
145         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
146         output of \item arguments without trailing text.
147
148 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
149
150         * FontIterator.C (operator*): avoid a copy of the font.
151
152 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
153
154         * rowpainter.C (getFont): fix language bug from previous fix
155
156 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
157
158         * rowpainter.C (RowPainter, getFont): fix font inside inset
159         (bugs 1766, 1809)
160
161 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
162
163         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
164         preventing inserted font, deco, delim insets jumping to start of
165         surrounding inset.
166
167 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
168
169         * lyxfunc.C (dispatch): translate message before sending it to the
170         minibuffer.
171
172 2005-03-29  Angus Leeming  <leeming@lyx.org>
173
174         * lyx_main.C (priv_exec): call os::internal_path on each file passed
175         to LyX on the command line.
176
177 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
178
179         * vc-backend.C: use QuoteName to protect file names wherever
180         necessary.
181
182 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
183
184         * buffer.[Ch]:
185         * BranchList.h: fix bugs 1844,1845: document settings don't
186         stick
187
188 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
189
190         * lyxrc.C (setDefaults, read, output, getDescription): add support
191         for tex_allows_spaces.
192
193         * exporter.C (Export): allows files in directory containing spaces
194         if tex_allows_spaces is true.
195
196         * buffer.C (makeLaTeXFile): if the document path contains spaces,
197         output it in double quotes.
198
199 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
200
201         * rowpainter.C: use default text height for drawing change tracker
202         strikeout lines.
203
204 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
205
206         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
207
208 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
209
210         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
211         directory is missing.
212
213 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
214
215         * text2.C: fixed the fix, extended to other case.
216
217 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
218
219         * text2.C: fix for cursor up/down stuck in math [bug 1792]
220
221 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
222
223         * text2.C (cursorUp): get rid of a crash
224         * text.C (x2pos): add an assert
225
226 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
227
228         * lyxfunc.C (getStatus): fix warning when assertions are disabled
229
230         * text3.C:
231         * lyxfunc.C:
232         * dociterator.C: include <boost/current_function.hpp>, which is
233         needed when assertions are disabled.
234
235 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
236
237         * text2.C: fix for stuck cursor when traversing two
238         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
239
240 2005-02-25  Andreas Vox  <avox@arcor.de>
241
242         * output_docbook.C (makeParagraph): suppress trailing newline
243         after a run of paragraphs
244
245 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
246
247         * paragraph.C: fix for confused change tracker when pasting
248         text that begins with a lineseparator. [bug 1827]
249         (setChange(0, Change::INSERTED);)
250
251         * paragraph_funcs.C: fix for lost changes on triple-paste
252         in change tracking mode [bug 1827] (par.setChange()).
253
254 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
255
256         * text2.C (updateCounters, setCounter, expandLabel): move to
257         buffer_funcs.
258
259         * buffer_funcs.C (updateCounters): turn into a free standing
260         function and add a buffer parameter. Remove dead code for tracking
261         labelstring change.
262         (setCounter): change into a free-standing function which gets a
263         dociterator as argument. Use this iterator to fix captions in a
264         simple way. When no float is found above the caption, use the
265         labelstring of the caption layout as default.
266
267         * text.C (breakParagraph, backspace):
268         * text2.C (init, setLayout, changeDepth):
269         * text3.C (dispatch):
270         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
271         updateCounters.
272
273         * dociterator.C (forwardPar): make it much faster by calling
274         forwardPos() only when really necessary.
275
276         * output_docbook.C (makeCommand): adapt to expandLabel move.
277
278         * cursor.C: remove unused variable
279
280 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
281
282         * paragraph_funcs.C: fix crash when pasting insets in change
283         tracking mode [bug 1277] (honour change type in moveItem).
284
285 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
286
287         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
288
289 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
290
291         * BufferView.C (setCursor): change to use a DocIterator.
292         (gotoLabel): use BufferView::setCursor (other part of bug 781).
293         (putSelectionAt): adapt to BufferView::setCursor change.
294
295         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
296         moved here from LyXText and rewritten to use proper cursor
297         methods. Fixes bug 1787, 616 and 835.
298
299         * BufferView_pimpl.C (restorePosition): set the cursor correctly
300         when inside an inset (part of bug 781).
301         (dispatch): adapt to change of BufferView::setCursor.
302         (getStatus, dispatch): handle LFUN_GOTOERROR,
303         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
304
305         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
306         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
307         * text3.C (gotoNextInset, gotoInset): removed.
308
309 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
310
311         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
312
313 2005-02-15  Angus Leeming  <leeming@lyx.org>
314
315         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
316         can be used meaningfully in a comparison.
317
318 2005-02-13  André Pönitz  <poenitz@gmx.net>
319
320         * bufferview_funcs.C (coordOffset): improve cursor drawing
321
322 2005-02-13  André Pönitz  <poenitz@gmx.net>
323
324         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
325         * Cursor.C (dispatch): use fixIfBroken
326         * lyxfunc.C (getStatus): use fixIfBroken
327
328 2005-02-15  Angus Leeming  <leeming@lyx.org>
329
330         * lyx_main.C (error_handler):
331         * lyxfunc.C:
332         * lyxrc.C (setDefaults):
333         s/GetEnv/getEnv/.
334         #include "environment.h".
335
336         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
337
338 2005-02-15  Angus Leeming  <leeming@lyx.org>
339
340         * lyxserver.C (startPipe): squash MSVC warning "local variable
341         'fd' used without having been initialized".
342
343 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
344
345         * BufferView_pimpl.C: revert accidental commit.
346
347 2005-02-14  André Pönitz  <poenitz@gmx.net>
348
349         * dociterator.[Ch]: new member forwardPosNoDescent(),
350         which doesn't enter nested insets.
351         * text2.C (setFont): use forwardPosNoDescent() instead
352         of ForwardPos() (fixes crash on font change).
353
354 2005-02-13  Angus Leeming  <leeming@lyx.org>
355
356         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
357         only if lyxrc.path_prefix is not empty.
358
359 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
360
361         * bufferparams.C (readGraphicsDriver): prevent crash
362
363 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
364
365         * text2.C (setCounter): check for inInset() == 0
366
367 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
370         but use update() to get correct screen display; use convert
371         instead of istringstream.
372         (getStatus): handle LFUN_GOTO_PARAGRAPH
373
374         * lyxfunc.C (dispatch, getStatus): do not handle
375         LFUN_GOTO_PARAGRAPH here.
376
377 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
378
379         * text3.C (dispatch): size() -> depth()
380
381         * text2.C: remove some debug output
382
383         * paragraph.C: ws changes only
384
385         * lyxfunc.C (getStatus): size() -> depth()
386
387         * dociterator.h (clear, push_back, pop_back, internalData,
388         operator[], resize, empty): new functions
389         Make StableDocIterator and operator== be friends. Don't inherit
390         from std::vector use a privat class variable slices_ instead.
391         Modify to fit.
392
393         * dociterator.C: update because of not inheriting from std::vector
394         anymore. Call explictly to slices_ instead. Use depth() instead of
395         size() and top() instead of back()
396
397         * cursor.C: chagne size() -> depth and back() -> top(). Also
398         remove some direct operator[](i) calls in favour of foo[i]
399         (getFont): remove some dead code
400
401         * bufferview_funcs.C (coordOffset): size() -> depth()
402
403         * buffer.C: ws changes only
404
405         * CutAndPaste.C (eraseSelection): back() -> top()
406
407         * BufferView_pimpl.C (selectionRequested): back() -> top()
408
409         * BufferView.C (setCursor): size() -> depth()
410
411 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
412
413         * text3.C (cursorPrevious): return true if depm changed something
414         (cursorNext): ditto
415         (dispatch): rename sl to oldTopSlice, remove moving use the new
416         NoUpdate func attrib instead. Make sure that needsUpdate is set
417         for function that have NoUpdate, but where depm might have changed
418         the buffer anyway.
419
420         * text2.C (cursorLeft): make us return true if depm changed
421         something
422         (cursorRight): ditto
423         (cursorUpParagraph): ditto
424         (curosrDownParagraph): ditto
425         (cursorUp, cursorDown): ditto, make sure to read comments in code
426         (deleteEmptyParagraphMechanism): remove an assert, also return
427         true if just a single char was deleted.
428
429         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
430         cursor that we modify, to avoid modifying an active cursor before
431         we call setCursor. This allows depm to run. Also return true if
432         depm deleted something.
433
434         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
435         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
436         cursorDownParagraph, cursorPrevious and cursorNext, return true if
437         something was changed in the buffer because of them (ie. depm run)
438
439         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
440         debug messages. Make update by default be false. Make sure that
441         the result of update is retained throught several calls down to
442         dispatch.
443
444         * LyXAction.h: add a new func_attrib: NoUpdate
445
446         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
447         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
448         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
449         and LFUN_WORDLEFT
450         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
451
452 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
455         bv_->owner(), bv_->buffer() by direct references to the private
456         members.
457         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
458         (getStatus): isSavedPosition() is in BufferView::Pimpl.
459         (fitCursor): center() is in BufferView::Pimpl.
460         (getStatus, trackChanges, dispatch): no need for a temporary buf
461         variable
462         (fitCursor, workAreaDispatch): use workarea().workheight()
463
464 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
465
466         * CutAndPaste.C (pasteSelectionHelper): fix a crash
467
468 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
469
470         * buffer.C: format up to 241.
471         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
472         break if pasting into ERT
473         * lyxfunc.C (getStatus): suppress mathpanel and
474         LFUN_DIALOG_SHOW_NEW_INSET in ERT
475
476 2005-02-01  Angus Leeming  <leeming@lyx.org>
477
478         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
479
480 2005-02-01  Angus Leeming  <leeming@lyx.org>
481
482         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
483         calling fs::is_directory().
484
485 2005-01-31  Angus Leeming  <leeming@lyx.org>
486
487         * lyx_main.C (priv_exec): specify explicitly the relative location
488         of the top level build directory when run in-place.
489
490 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
491
492         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
493         LyXText containing the cursor, not the top-level one.
494
495         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
496         true.
497         (insertStringAsLines): rename par to pit; use temporary variable
498         par to hold a Paragraph; do not store par.layout() in a variable,
499         since the pointer may die when breaking paragraphs; pass pars to
500         breakParagraph() instead of Buffer::paragraphs().
501
502 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
503
504         * lyxlex_pimpl.h: #include <fstream>.
505
506         * BufferView.[Ch] (getLyXText): add a const version.
507
508         * BufferView_pimpl.C: add debug aids.
509
510         * RowList_fwd.h:
511         * buffer.h:
512         * lyxrow.h:
513         * paragraph_funcs.h: add commentary explaining what the class does.
514
515
516         * coordcache.[Ch]: add lots of commentary.
517         (startUpdating, doneUpdating): debug aids.
518         (arrays, insets, parPos, getParPos): accessors to private data.
519
520         * cursor_slice.[Ch] (text): add a const version.
521         * dociterator.[Ch] (text, innerText): add const versions.
522
523         * lyxtext.h (breakParagraph): change the keep_layout arg to a
524         bool.
525
526         * paragraph.C (getRow, pos2ros): add asserts.
527
528         * paragraph.h: add commentary. Lots of.
529
530         * paragraph.[Ch] (metrucs, draw): removed.
531
532         * cursor.C:
533         * rowpainter.[Ch]: const-correct changes.
534
535         * text.C: various obvious clean-ups. Removal of ancient cruft.
536         Bug fixes, even.
537
538 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
539
540         * vc-backend.C (find_file): rewrite to use boost.filesystem
541         (scanMaster): ditto
542
543         * main.C (main): set default name check for boost.filesystem to
544         no check
545
546         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
547         (open): ditto
548         (doImport): ditto
549         (actOnUpdatedPrefs): ditto
550
551         * lyx_main.C (init): rewrite to use boost.filesystem
552         (queryUserLyXDir): ditto
553
554         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
555         (getContentsOfAsciiFile): ditto
556
557         * lastfiles.C (readFile): rewrite to use boost.filesystem
558
559         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
560
561         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
562         (loadLyXFile): ditto
563
564         * buffer.C (Buffer): adjust for destroydir
565         (getLogName): rewrite to use boost.filesystem
566         (setFileName): ditto
567         (save): use fs::copy_file (from fs_extras)
568
569         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
570
571         * LaTeX.C (run): rewrite to use boost.filesystem
572         (scanAuxFiles): ditto
573         (handleFoundFile): ditto
574
575 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
576
577         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
578
579         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
580
581 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
582
583         * lyxlayout.[Ch]: change some vars from float to double
584
585         * buffer.C (readFile): make a local var const
586
587         * Several files: use convert<> instead of atoi,strToXXX and friends
588
589 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
590
591         * LaTeXFeatures.[Ch]: Add a static list packages_ that
592         holds the contents of packages.lst. New functions getAvailable
593         and isAvailable to parse and check that list, resp.
594
595         * LyXAction.C:
596         * lfuns.h:
597         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
598
599         * bufferparams.[Ch]: new param output_changes.
600
601         * Buffer.C: increase file format to 240.
602         Use output_changes and isVailable.
603
604         * changes.[Ch]:
605         * paragraph.C:
606         * paragraph_pimpl.C: Use output_changes and isVailable.
607
608 2005-01-23  Angus Leeming  <leeming@lyx.org>
609
610         * output_latex.C: #include "insetbibitem.h", rather than
611         forward declare function bibitemWidest.
612
613 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
614
615         * lyx_main.C (init): make it compile on the Mac.
616
617 2005-01-20  Angus Leeming  <leeming@lyx.org>
618
619         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
620         (setLyXMisc): (char string literal) != (char string literal) is
621         performing a comparison on the addresses. Convert one operand
622         explicitly to string to guarantee expected behaviour.
623         From MSVC warning.
624
625 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
626
627         * buffer.C:
628         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
629
630         * output_plaintext.C: remove unneeded #include gzstream.h.
631
632 2005-01-20  Angus Leeming  <leeming@lyx.org>
633
634         * SpellBase.h: rename some of the elements of the Result enum.
635
636         * aspell_local.h:
637         * ispell.h:
638         * pspell.h:
639         * aspell.C (check):
640         * ispell.C (check):
641         * pspell.C (check): ditto
642
643 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
644
645         * buffer.C: add #include <fstream>.
646
647         * lyx_main.C (init): Compile fix.
648
649         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
650
651 2005-01-20  Angus Leeming  <leeming@lyx.org>
652
653         * mover.h: change commentary to reflect the changed meaning of
654         the $$s placeholder.
655
656 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
657
658         * output_linuxdoc.C (linuxdocParagraphs): silence warning
659
660         * lyxfind.C (MatchString::operator()): remove bogus semicolon
661
662 2005-01-20  Angus Leeming  <leeming@lyx.org>
663
664         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
665         printing diagnostic data by not dereferecing an iterator past the
666         end.
667
668 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
669
670         * buffer.C (readHeader): use "&&" rather than "and".
671
672         * lyxserver.h (inPipeName, outPipeName): make these const.
673
674 2005-01-19  Angus Leeming  <leeming@lyx.org>
675
676         * lyx_main.C (error_handler, init): protect SIGHUP with
677         #ifdef SIGHUP guards.
678
679 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
680
681         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
682
683 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
684
685         * text.C (setHeightOfRow): add a margin at the top and bottom of
686         the document (bug 1761)
687
688 2005-01-17  Angus Leeming  <leeming@lyx.org>
689
690         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
691         with "python ". Workaround for a brain-dead Windows.
692
693 2005-01-16  Angus Leeming  <leeming@lyx.org>
694
695         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
696         for MacOSX and Windows to use prependEnvPath.
697         Strip out the hard-coded block to add elements to the PATH for
698         MacOSX and replace it with a call to prependEnvPath using the
699         contents of LyXRC::path_prefix.
700         (queryUserLyXDir): strip out the code to run reconfigure, instead
701         returning a boolean indicating the necessity to do so.
702         (reconfigureUserLyXDir): contains the code to reconfigure the
703         user support directory. Is now called after the various LyXRC data
704         files have been read.
705
706         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
707
708 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
709
710         * converter.[Ch] (convert): take a new parameter try_default. Use
711         a default converter (imagemagick) if try_default is true.
712
713 2005-01-13  Angus Leeming  <leeming@lyx.org>
714
715         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
716         os::cygwin_path_fix.
717         (write): output LyXRC::cygwin_path_fix as necessary.
718
719 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
720
721         * lyxrc.h:
722         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
723
724 2005-01-12  Angus Leeming  <leeming@lyx.org>
725
726         * lyx_main.C (init): set the PATH variable to include the
727         directory containing the LyX binary when running on Mac or Windows.
728
729 2005-01-12  Angus Leeming  <leeming@lyx.org>
730
731         * lyx_main.C (init): remove cruft that purports to set the locale
732         dir. It doesn't and is not needed anyway.
733
734 2005-01-10  Angus Leeming  <leeming@lyx.org>
735
736         * Makefile.am: remove the lyx_main.C special casing.
737
738         * BufferView_pimpl.C:
739         * bufferlist.C:
740         * exporter.C:
741         * lyx_cb.C:
742         * lyx_main.C:
743         * lyxfunc.C:
744         * messages.C: use support/package.h to provide the paths to the
745         various directories used by LyX.
746
747 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
748
749         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
750         layout if pasting into an empty paragraph)
751
752 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
753
754         * tex-accent.C: add <string>
755
756 2005-01-06  José Matos  <jamatos@lyx.org>
757
758         * ParagraphParameters.C (write): put every parameter in its own line.
759         * paragraph.C (write): reduce number of consecutive empty lines exported.
760         * buffer.C (LYX_FORMAT): increase file format to 239.
761
762 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
763
764         * everywhere: change support/tostr.h -> support/convert.h
765
766         * tabular.C: make all write_attributes templates, tostr -> convert
767
768         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
769         (emptyTag): and -> &&, and fix type for ret from getChar
770         (getFirstWord): fix type for ret from getChar
771         (onlyText): and -> &&
772         (simpleDocBookOnePar): and not -> && !, fix type for ret from
773         getChar
774
775         * toc.C (goTo, action):
776         * text3.C (dispatch):
777         * text.C (currentState):
778         * tex-accent.C (DoAccent):
779         * sgml.C:
780         * lyxrc.C:
781         * lyxfunc.C (menuNew):
782         * lyxfinc.C (replace):
783         * counters.C (laberItem):
784         * bufferview_funcs.C (font2string):
785         * bufferparams.C (writeFile):
786         * buffer.C (readFile):
787         * Spacing.C (set):
788         * MenuBackend.C: tostr -> convert
789
790         * LaTeX.C (runMessage): fix format
791         (scanAuxFiles): tostr -> convert
792
793         * BufferView_pimpl.C (savePosition): fix format
794         (restorePosition): ditto
795         (dispatch): ditto
796
797 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
798
799         * Spacing.[Ch]: New method getValueAsString().
800
801         * Spacing.[Ch]:
802         * bufferparams.C:
803         * ParagraphParameters.C:
804         * lyxlayout.C:
805         * text.C:
806         * text3.C: store/read spacing value as string.
807
808         * rowpainter.C: change float value (spacing_val) to double.
809
810         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
811         broken custom document spacing).
812
813 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
814
815         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
816         namespace, also more use of temp references and const
817
818         * cursor.[Ch] (getStatus): move to lyxfunc.C
819
820         * bufferparams.C: reformat slightly
821
822         * bufferview_funcs.C (font2string): constify arg
823
824         * changes.C:
825         * converter.C:
826         * counters.C:
827         * bufferlist.C:
828         * buffer_funcs.C: (many funcs): constify arg on function
829         definitions, also make more local vars const, also add ASSERTS on
830         pointer args.
831
832         * buffer.C (LYX_FORMAT): put const in correct place
833         (many funcs): constify arg on function definitions, also make
834         more local vars const
835
836         * aspell_local.h: remove "struct" from typdef setup
837
838         * aspell.C (check): make word_ok const
839         (nextMiss): simplify slightly
840         (error): ditto
841
842 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
843
844         * lyxrc.[Ch]: store all float values as strings.
845         use int (not float) for lyxrc.dpi.
846
847 2005-01-04  Angus Leeming  <leeming@lyx.org>
848
849         * lyx_cb.C (Reconfigure):
850         * lyx_main.C (queryUserLyXDir):
851         to run the <system_lyxdir>/configure correctly on Windows, prefix
852         the path to the script with "sh " when generating the string that
853         is passed to system().
854
855 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
856
857         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
858
859 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
860
861         * lyxlength.C (asLatexString): get rid of setprecision
862
863 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
864
865         * text2.C (setLayout): remove unused variable endpit.
866         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
867
868         * paragraph.C (onlyText): remove unused variable style.
869
870         * cursor.C (bruteFind): remove unused variables beg and end.
871
872         * Makefile.am (dist_noinset_DATA): not needed anymore
873
874         * cheaders/*: remove.
875
876 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
877
878         * text3.C: fix LFUN_MATH_MODE.
879
880 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
881
882         * buffer_funcs.C (countWords): new function. Counts words between
883         two iterators.
884
885         * BufferView_pimpl.C (getStatus, dispatch): handle
886         LFUN_WORDS_COUNT.
887
888         * LyXAction.C (init):
889         * lfuns.h: add LFUN_WORDS_COUNT.
890
891 2004-12-19  Angus Leeming  <leeming@lyx.org>
892
893         * buffer.C (save): s/slashify_path/internal_path/.
894
895 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
896
897         * lyxfind.C (findChange): do not search for end of pars, because
898         the change tracker cannot handle this (fixes bug 1719).
899
900 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
901
902         * paragraph.[Ch] (autoBreakRows): remove
903
904         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
905
906         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
907         avoid using the paragraph one
908
909         * text2.C (LyXText, insertStringAsLines): adjust
910
911 2004-12-16  Angus Leeming  <leeming@lyx.org>
912
913         * bufferlist.C:
914         * lyx_main.C:
915         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
916
917 2004-12-14  Angus Leeming  <leeming@lyx.org>
918
919         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
920
921         * bufferlist.C (emergencyWrite):
922         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
923         GetEnvPath("HOME").
924
925 2004-12-14  Angus Leeming  <leeming@lyx.org>
926
927         * main.C: (main): no longer pass pointers to os::init.
928
929 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
930
931         * undo.C (textUndoOrRedo): simplify logic, fix a crash
932         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
933
934 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
935
936         * lyxfunc.C:
937         * text3.C: remove selection_possible global flag
938
939 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
940
941         * text2.C (getSelectionSpan): remove
942         (changeDepth, changeDepthAllowed): adjust
943
944 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
945
946         * Makefile.am (BOOST_LIBS): use boost variables
947
948 2004-12-03  José Matos  <jamatos@lyx.org>
949
950         * buffer.C: format up to 238.
951
952 2004-12-03  José Matos  <jamatos@lyx.org>
953
954         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
955
956 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
957
958         * cursor.C (goUpDown): remove call to idxUpDown2
959
960 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
961
962         * tabular.[Ch]: use size_t-like types for cell, row and column
963         indices
964
965 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
966
967         * lyxfunc.C (getStatus): do not lose previous information when
968         calling BufferView::getStatus; do not set a default "Command
969         disabled" message at the beginning, but just before returning.
970
971 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
972
973         * cursor.h (getStatus): add better comment from src/cursor.C
974
975 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
976
977         * text3.C (getStatus): return false when the lfun is not handled
978
979 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
980
981         * broken_headers.h: remove
982
983         * Makefile.am (lyx_SOURCES): remove broken_headers.h
984
985 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
986
987         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
988         offset_ref accessors
989
990         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
991         top_y_, merge fitcursor with update
992         (updateScrollbar, scrollDocView, fitCursor, center, update): new
993         coord scheme
994         (metrics): introduce
995         (workAreaDispatch): adapt to new coord scheme
996         (redoCurrentBuffer): remove
997
998         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
999
1000         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1001         CurStatus enum.
1002
1003         * coordcache.[Ch]: add paragraph cache and helpers
1004
1005         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1006         adjust everywhere
1007
1008         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1009         (targetX, setTargetX): introduce
1010
1011         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1012         baseline -> ascent, as the rest of lyx
1013
1014         * lyxtext.h: remove redoParagraphs, updateParPositions,
1015         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1016         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1017         have ascent/descent (ascent is ascent of first par)
1018
1019         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1020         step of BufferView
1021
1022         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1023
1024         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1025
1026         * pariterator.C: fix infinite loop introduced in par->pit renaming
1027
1028         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1029         in insets and LyXText, draw two off-screen paragraphs using
1030         NullPainter, and adapt to new coord scheme
1031
1032         * text.C:
1033         * text2.C:
1034         * text3.C: adapt lfun handlers to the new coord scheme, which
1035         means: there's only guaranteed coord information for onscreen pars
1036         plus one above and one below. This implies that one can do search
1037         from y coordinates in the range [-1,workHeight]
1038
1039 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1040
1041         * rename a lot of InsetOld to InsetBase
1042
1043 2004-11-25  Angus Leeming  <leeming@lyx.org>
1044
1045         * BufferView_pimpl.C:
1046         * lyx_cb.C:
1047         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1048
1049 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1050
1051         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1052         call BufferView::getStatus if LCursor::getStatus did nothing
1053         (setStatusMessage, getStatusMessage): removed.
1054
1055         * FuncStatus.C (message): new methods. Used to provide an error
1056         message indicating why a command is disabled.
1057         (clear, |=, FuncStatus): update for message.
1058
1059 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1060
1061         * lyxfunc.C (dispatch): always call sendDispatchMessage
1062
1063 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1064
1065         * BufferView.C:
1066         * BufferView_pimpl.C:
1067         * CutAndPaste.C:
1068         * FontIterator.C:
1069         * buffer.C:
1070         * cursor.C:
1071         * cursor_slice.[Ch]:
1072         * dociterator.[Ch]:
1073         * lyxfind.C:
1074         * paragraph_funcs.C:
1075         * pariterator.C:
1076         * rowpainter.C:
1077         * text.C:
1078         * text2.C:
1079         * text3.C:
1080         * undo.C: par->pit renaming
1081
1082 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1083
1084         * tabular.C (cellstruct): use initialization, store a shared_ptr
1085         to insettext instead of the insettext directly, adjust to fit.
1086         (operator=):  new function
1087         (swap): new function
1088         (rowstruct): use initialization
1089         (columnstruct): use initialization
1090         (ltType): use initialization
1091
1092
1093         * lyxlength.h (swap): new function
1094
1095         * LColor.[Ch] (operator=): use the common semantics
1096
1097 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1098
1099         * lyxfind.C (findNextChange): update the bufferview after setting
1100         the selection.
1101
1102 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1103
1104         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1105         number of InsetOptArgs has already been inserted.
1106
1107         * output_latex.C (latexOptArgInsets): new method. This outputs all
1108         the optarg insets, up to the limit defined in the layout file.
1109         (optArgInset): removed
1110         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1111
1112 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1113
1114         * paragraph.C (isLetter): remove special spellchecker-related
1115         code; return true also for digits
1116         (isWord, isKomma): remove
1117
1118         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1119         * lyxfind.C (MatchString()): use isLetter instead of isWord
1120
1121 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1122
1123         * pariterator.h (operatir=): comment out un-implemented member
1124         function.
1125
1126         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1127         static cast.
1128
1129 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1130
1131         * lyxfont.h: include LColor.h to satisfy concept checks.
1132
1133 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1134
1135         * pariterator.h: add typdefs for value_type, difference_type,
1136         pointer and reference to satisfy concept checks. Also add default
1137         constructor for same reason.
1138
1139         * pariterator.C (operator++): add post-increment operator to
1140         satisfy concept checks.
1141
1142         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1143         checks.
1144
1145         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1146
1147         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1148         checks. Also rename base_type to BaseType to follow naming
1149         standard better.
1150
1151         * FloatList.h: include Floating.h to satisfy concept checks.
1152
1153 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1154
1155         * lyxfunc.C (getStatus): when the origin of the request is menu or
1156         toolbar, and the LyXView does not have focus, do as if there was
1157         no buffer (bug 1720)
1158
1159         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1160         FuncRequest to individual entries of LFUN_SEQUENCE
1161
1162 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1163
1164         * output_latex.C (TeXOnePar): override runparams.moving_arg
1165         according to the needprotect value of the current paragraph (bug
1166         1739)
1167
1168         * paragraph.C (simpleTeXOnePar): no need to override
1169         runparams.moving_args here
1170
1171 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1172
1173         * vspace.C: fix off-by-one-error, related to fix #1682
1174
1175 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1176
1177         * lengthcommon.C: a more general fix for bug 1682
1178
1179 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1180
1181         * text.C (backspace): fix crash
1182
1183 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1184
1185         * format.[Ch] (getFormatFromFile): new method
1186         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1187
1188 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1189
1190         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1191
1192 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1193
1194         * lyxfunc.C (dispatch): remove the verbose argument
1195         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1196         instead
1197
1198         * kbmap.C (defkey): set the origin of func to KEYBOARD
1199
1200         * MenuBackend.C (MenuItem):
1201         * ToolbarBackend.C (add): set the origin of func to UI
1202
1203         * funcrequest.[Ch]: add origin member, which indicates which part
1204         of LyX requests an action
1205
1206 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1207
1208         * converter.C (move): don't lie in the error message
1209         * converter.h (isReachable, move): document
1210
1211 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1212
1213         * buffer.C: remove unused using lyx::support::atoi
1214         * paragraph_funcs.C: ditto
1215
1216 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1217
1218         * bufferlist.C (exists): use bind and equal_to instead of
1219         compare_memfun
1220         (getBuffer): ditto
1221         * lyxtextclasslist.C (NumberOfClass): ditto
1222
1223         * cursor.C (insert): use for_each instead of explicit for loop
1224
1225         * bufferlist.C (getFileNames): use std::transform and
1226         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1227
1228         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1229         for loop
1230
1231         * buffer.C (changeLanguage): use for_each instead of explicit for
1232         loop
1233         (hasParWithID): implement using getParFromID
1234
1235         * LaTeXFeatures.C: ws change only
1236
1237         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1238         to cleanup a bit.
1239
1240         * BufferView_pimpl.C (trackChanges): use for_each instead of
1241         expilicit for loop
1242
1243 2004-11-04  André Pönitz  <poenitz@gmx.net>
1244
1245         * undo.h:
1246         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1247
1248         * dociterator.C (asDocIterator): use hard assert again.
1249
1250 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1251
1252         * lyxlength.C (asLatexString): rewrite so that it does not use
1253         snprintf anymore
1254
1255 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1256
1257         * text3.C (specialChar, dispatch): make sure cursor moves to the
1258         right after inserting an inset
1259
1260 2004-11-02  José Matos  <jamatos@lyx.org>
1261
1262         * output_docbook.C (docbook):
1263         * paragraph.C (getID):
1264         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1265         garantee that the output is always legal.
1266
1267         * tabular.C (docbook):
1268         * outputprams.[Ch]: remove mixed contents.
1269
1270 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1271
1272         * text2.C (setCounter): prevent endless loop
1273
1274 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1275
1276         * exporter.C (copyFile): use the mover instead of support::copy()
1277         * exporter.C (Export): pass format and latex name to copyFile()
1278         * exporter.h (addExternalFile): document
1279         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1280
1281 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1282
1283         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1284
1285 2004-10-30  José Matos  <jamatos@lyx.org>
1286
1287         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1288         text and no inset or font change. This allows to use CDATA
1289         sections just for the whole paragraph.
1290
1291 2004-10-30  José Matos  <jamatos@lyx.org>
1292
1293         * paragraph.C (getFirstWord): remove unused variable.
1294
1295 2004-10-30  José Matos  <jamatos@lyx.org>
1296
1297         * paragraph.C (getFirstWord): the content should always be escaped
1298         there.
1299         (simpleDocBookOnePar):
1300         * output_docbook.C (makeEnvironment): replace reference to CDATA
1301         to style pass_thru.
1302
1303 2004-10-30  José Matos  <jamatos@lyx.org>
1304
1305         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1306
1307 2004-10-30  José Matos  <jamatos@lyx.org>
1308
1309         * output_docbook.C (makeParagraphs):
1310         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1311         standard paragraph has only a given type of content drop the wrapper.
1312
1313 2004-10-29  José Matos  <jamatos@lyx.org>
1314
1315         * output_docbook.C (makeEnvironment):
1316         * sgml.C (openTag):
1317         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1318
1319 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1320
1321         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1322         (cleanID): sanitize any id.
1323
1324 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1325
1326         * buffer.C, lyxlex_pimpl.C:
1327         * lyxlex_pimpl.C (setFile):
1328         s/getExtFromContents/getFormatFromContents/
1329
1330 2004-10-28  José Matos  <jamatos@lyx.org>
1331
1332         * output_docbook.C (makeEnvironment): move id to broadest possible
1333         scope.
1334
1335         * sgml.C (openTag): apply substitution of <> for all attributes.
1336
1337 2004-10-28  José Matos  <jamatos@lyx.org>
1338
1339         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1340         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1341         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1342
1343         * sgml.[Ch]: new version for open and closeTag for paragraph and
1344         for strings. Now they handle the ids of paragraphs.
1345
1346 2004-10-26  Angus Leeming  <leeming@lyx.org>
1347
1348         * Makefile.am: add mover.[Ch].
1349
1350         * converter.C (convert, move): use the new Movers to move external
1351         files to the temp directory.
1352
1353         * lyx_main.C (init): ensure that the global system_movers data
1354         is initialised.
1355
1356         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1357         preferences file.
1358
1359         * mover.[Ch]: new files, defining a Mover as a utility to move an
1360         external file between directories and, if necessary, manipulate this
1361         file using a helper script.
1362
1363 2004-10-25  José Matos  <jamatos@lyx.org>
1364
1365         * output_docbook.C (makeCommand): merge two if's that tested the
1366         same condition.
1367
1368 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1369
1370         * sgml.C (escapeString): fix warning in a better way
1371
1372 2004-10-25  José Matos  <jamatos@lyx.org>
1373
1374         * sgml.C (escapeString): import the require boosts header file for
1375         tie, and avoid a signed unsigned comparison.
1376
1377 2004-10-25  José Matos  <jamatos@lyx.org>
1378
1379         * sgml.h: add #include <string>
1380
1381 2004-10-25  José Matos  <jamatos@lyx.org>
1382
1383         * sgml.[Ch] (escapeString): new function to escape all the string.
1384
1385 2004-10-24  José Matos  <jamatos@lyx.org>
1386
1387         * paragraph.[Ch] (getFirstWord): new function to get the first
1388         word. Useful for description.
1389         (simpleDocBookOnePar): remove depth argument, add another that
1390         says where to start the paragraph.
1391
1392         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1393         use the new functions to fix cleanly the support for descriptions.
1394
1395 2004-10-24  José Matos  <jamatos@lyx.org>
1396
1397         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1398         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1399         * output_linuxdoc.C (linuxdocParagraphs):
1400         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1401         add buffer as argument.
1402
1403 2004-10-24  José Matos  <jamatos@lyx.org>
1404
1405         * output_docbook.C (makeEnvironment, searchEnvironment): place
1406         CDATA inside paragraphs and fix scope for listitems.
1407
1408 2004-10-24  José Matos  <jamatos@lyx.org>
1409
1410         * output_docbook.C: remove using statement for stack.
1411
1412 2004-10-23  José Matos  <jamatos@lyx.org>
1413
1414         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1415         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1416         docbook. The new scheme is recursive and makes use of iterators, the
1417         same as latex export works.
1418         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1419         directly with the paragraph contents. This code was moved up to
1420         output_docbook.C (docbookParagraphs).
1421         * sgml.C (openTag, closeTag): removed unneeded newlines.
1422         (closeEnvTags) removed.
1423
1424 2004-10-23  André Pönitz  <poenitz@gmx.net>
1425
1426         * undo.C (textUndoOrRedo):
1427         * dociterator.C (asDocIterator): work around crash
1428
1429         * cursor.C (getStatus): replace ASSERT by more verbose error message
1430           and manual correction of the problem. Should increase stability
1431           while providing more sensible information.
1432
1433 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1434
1435         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1436
1437         * bufferlist.C (previous, next): new methods
1438
1439         * lfuns.h:
1440         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1441
1442 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1443
1444         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1445         entities to preamble.
1446
1447 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1448
1449         * messages.C (Pimpl): strip off translation context information
1450
1451 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1452
1453         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1454         the cursor is correct (bug 1694)
1455
1456 2004-10-13  José Matos  <jamatos@lyx.org>
1457
1458         * output_docbook.C (docbookParagraphs): fix closing tags in the
1459         end of the document.
1460
1461 2004-10-09  José Matos  <jamatos@lyx.org>
1462
1463         * buffer.C: format up to 237.
1464         * bufferparams.C (write): use tostr to convert booleans to strings.
1465
1466 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1467
1468         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1469
1470 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1471
1472         * LaTeX.C: implement use of babel language in xindy.
1473
1474 2004-10-05  José Matos  <jamatos@lyx.org>
1475
1476         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1477         Add new translators to help reading and writing the lyx file.
1478
1479 2004-10-05  José Matos  <jamatos@lyx.org>
1480
1481         * ParagraphParameters.C (read):
1482         * text.C (readParToken): replace nexToken by more appropriate lex
1483         methods.
1484
1485 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1486
1487         * LaTeX.C (runMakeIndex):
1488         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1489         (usually 'makeindex') configurable.
1490
1491         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1492         with a variable rather than with a number.
1493
1494 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1495
1496         * output_latex.C (TeXOnePar): make sure font setting is the first
1497         thing that gets output (and the last at the end). Should fix bug
1498         1404.
1499
1500 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1501
1502         * pch.h: use proper signal include
1503
1504         * LaTeX.h: Use preferred calling of Boost.Signal
1505         * buffer.h: ditto
1506
1507 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1508
1509         * pch.h: dont include <boost/function/function0.hpp>
1510
1511         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1512
1513         * paragraph_pimpl.h: remove usage of ShareContainer
1514
1515         * paragraph_pimpl.C: remove initialization of ShareContainer.
1516
1517 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1518
1519         Fix bug #1666
1520
1521         * BufferView.C (putSelectionAt): change the semantics when
1522         backwards == true: now, this just swaps cursor and anchor wrt the
1523         forward case
1524
1525         * BufferView.h (putSelectionAt): add some documentation
1526
1527         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1528         make sure backwardChar is done at least once (to avoid getting
1529         stuck)
1530         (findNextChange): use putSelectionAt in the forward direction
1531         (operator()): use Paragraph::isWord
1532
1533 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1534
1535         * Spacing.C (set): c_str fix
1536
1537 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1538
1539         * lyx_cb.C (Reconfigure): quote the name of configure script in
1540         case it contains spaces
1541
1542 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1543
1544         * client: new dir
1545
1546         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1547         (BOOST_LIBS): use top_buildir when looking for the file
1548
1549 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1550
1551         * pch.h: do not use include boost/format.hpp, multiple symbols
1552                 will result (gcc bug)
1553
1554
1555 2004-08-23  José Matos  <jamatos@lyx.org>
1556
1557         * bufferparams.C (readToken): fix reading of the author field.
1558
1559 2004-08-20  José Matos  <jamatos@lyx.org>
1560
1561         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1562
1563 2004-08-20  José Matos  <jamatos@lyx.org>
1564
1565         * lyxlex.[Ch] (findToken): remove function.
1566
1567         * ParagraphParameters.C (findToken):
1568         * bufferparams.C (findToken): replace call for previous function
1569         with local copy. This local function has one more argument, the
1570         read string argument.
1571
1572 2004-08-16  José Matos  <jamatos@lyx.org>
1573
1574         * ParagraphParameters.C (write):
1575         * Spacing.C (writeFile):
1576         * bufferparams.C (writeLaTeX):
1577         * lyx_cb.C (Reconfigure):
1578         * paragraph.C (write):
1579         * tabular.C (write): remove unnecessary space at end of line.
1580
1581
1582 2004-08-16  José Matos  <jamatos@lyx.org>
1583
1584         * text.C (readParagraph): remove debug message.
1585
1586 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1587
1588         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1589         crash
1590
1591         * output_plaintext.C (asciiParagraph): set depth correctly
1592
1593         * outputparams.h: add member depth
1594
1595         * paragraph_funcs.C (ownerPar): remove.
1596
1597         * text2.C (setCounter): remove first_pit; comment out some
1598         non-working code that uses ownerPar
1599
1600         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1601         uses ownerPar
1602
1603 2004-08-16  José Matos  <jamatos@lyx.org>
1604
1605         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1606         For the same level of importance use the same chanel to report problems.
1607         (read): add code to deal with \begin_body and \end_body.
1608
1609
1610 2004-08-15  José Matos  <jamatos@lyx.org>
1611
1612         * lyxlex.C (getString): fix comment, buffer::readBody is now
1613         buffer:readDocument.
1614
1615         * tex-strings.C (string_papersize): Default -> default,
1616         Custom -> custom, for consistency with other options.
1617
1618 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1619
1620         * pch.h: new file
1621
1622         * Makefile.am: support pch
1623
1624 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1625
1626         * text.C (readParToken): remove the static LyXFont variable and
1627         pass it as a parameter instead. This fixes a nasty bug where an
1628         inset will be inserted with a bad font in some situations
1629         (readParagraph): adapt
1630
1631         * text2.C (setCounter): reduce number of calls to pars_[pit]
1632
1633         * text.C (singleWidth): add an assert, fix a test
1634
1635         * rowpainter.C (paintText): reduce number of calls to singleWidth
1636
1637         * paragraph.C (isHfill):
1638         (isNewline): ws only
1639
1640 2004-08-14  André Pönitz  <poenitz@gmx.net>
1641
1642         * text.C:
1643         * text2.C:
1644         * rowpainter.C:
1645         * lyxtext.h (several functions): use a Paragraph & argument
1646         instead of par_type
1647
1648 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1649
1650         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1651
1652         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1653
1654         * text.C (singleWidth): remove useless test
1655
1656 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1657
1658         * tabular.h: remove bogus comments
1659
1660         * tabular.C (getDescentOfRow):
1661         (isPartOfMultiColumn): add assertions
1662
1663         * lyxlength.C (inPixels): remove #warning
1664
1665 2004-08-14  André Pönitz  <poenitz@gmx.net>
1666
1667         * paragraph.h: inline getChar()
1668
1669         * BufferView.h: remove unused declarations
1670
1671 2004-08-14  José Matos  <jamatos@lyx.org>
1672
1673         * Buffer.[Ch] (readDocument): new name for old readBody.
1674         * Buffer.C: new file format, new keywords: \begin_document,
1675         \begin_header, \begin_body, \end_body.
1676
1677         * bufferparams.C (readToken): replace all calls to lex.nextToken
1678         by lex.next(). Do the same to eatLine except where really needed.
1679
1680         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1681         line when writing to the lyx file.
1682
1683         * output_plaintext.C (asciiParagraph): fix Bibliography style
1684         handling.
1685
1686         * text.C (read): fix end of file handling.
1687
1688 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1689
1690         * MenuBackend.C (Menu::operator[]): new method to access
1691         individual menu items
1692         (Menu::hasFunc): new method. search for an item that corresponds
1693         to a given func
1694         (MenuBackend::specialMenu): new method
1695         (MenuBackend::expand): if a special menu has been set, skip
1696         entries whose func() appears in this menu
1697
1698 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1699
1700         * text3.C: use Debug::DEBUG a bit more
1701
1702         * text.C (leftMargin): try to simplify a tiny bit change var x to
1703         l_margin. Dont output the wide margins always.
1704         (rightMargin): no margin in inner texts
1705
1706         * rowpainter.h (nestMargin): new func
1707         (changebarMargin): new func
1708         (rightMargin): new func
1709
1710         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1711         now functions.
1712         (paintLast): ditto
1713
1714         * factory.C (createInset): modify setDrawFrame
1715
1716         * cursor.C: use Debug::DEBUG a bit more
1717
1718 2004-08-14  André Pönitz  <poenitz@gmx.net>
1719
1720         * coordcache.[Ch]:
1721         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1722         cache for all insets in (at least partially) visible (top-level)
1723         paragraphs.
1724
1725         * BufferView_pimpl.C: reset external coord cache before every update.
1726         This means the coord cache only contains valid entries.
1727
1728 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1729
1730         bug 1096
1731         * BufferView_pimpl.C (getInsetByCode): move function out of class
1732         and change in to a template in anon namespace. Also fix to do what
1733         suits us better.
1734
1735 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1736
1737         bug 1305
1738         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1739         of char
1740         (breakParagraph): rename par to par_offset and use a local
1741         reference. Add code to keep the language over a rebreak.
1742         (breakParagraphConservative): rename par to par_offset, use a
1743         local reference
1744         (mergeParagraph): ditto
1745         (outerHook): ditto
1746         (isFirstInSequence): ditto
1747         (outerFont): rename pit to par_offset
1748
1749         * paragraph.C: ws change
1750         * paragraph.h: ditto
1751         * text3.C: ditto
1752         * text.C: ditto
1753
1754 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1755
1756         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1757         treatment for ']'
1758
1759         * paragraph.C (simpleTeXOnePar): when we have a \item with
1760         optional argument, enclose the argument with curly brackets (in
1761         case it contains a closing square bracket)
1762
1763         * text2.C (editXY):
1764         * text2.C (editXY):
1765         * text3.C (checkInsetHit): constify
1766
1767 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1768
1769         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1770         documents (bug 1629)
1771
1772 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1773
1774         Fix toggling of collapsable insets with the mouse (bug 1558)
1775
1776         * lyxfunc.C (dispatch): adapt to LCursor changes
1777
1778         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1779         make sure that dispatch is not invoked twice
1780
1781         * cursor.C (needsUpdate): new method
1782         (dispatch): return void
1783         (result): new method, to access the DispatchResult of the cursor.
1784
1785 2004-08-13  José Matos  <jamatos@lyx.org>
1786
1787         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1788
1789 2004-08-13  André Pönitz  <poenitz@gmx.net>
1790
1791         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1792
1793         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1794           multiple cells
1795
1796 2004-08-12  André Pönitz  <poenitz@gmx.net>
1797
1798         * text3.C: take out the 'cursor right' form insertInset and only
1799         do it in those places when it is really needed. Fixes crash on
1800         C-m...
1801
1802 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1803
1804         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1805
1806         * BufferView_pimpl.C (setBuffer): initialize the current font of
1807         the underlying LyXText
1808
1809 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1810
1811         * kbsequence.C (print): use UI native formatting for menu
1812         shortcuts
1813
1814         * text.C (insertChar): call Paragraph::insertChar with a font
1815         argument (cosmetic)
1816
1817         * paragraph.C (insertInset, insertChar): the version that takes a
1818         LyXFont argument is now a wrapper around the other one (the
1819         opposite used to be true).
1820
1821         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1822         argument. Font setting is done in Paragraph now.
1823
1824 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1825
1826         * outputparams.h: add new members intitle and lang.
1827
1828         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1829         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1830
1831 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1832
1833         * text3.C (dispatch): remove special handling of button 4 and 5,
1834         it is now taken care of in the frontend code.
1835
1836 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1837
1838         * Spacing.h: add <string> (STLPort compile fix)
1839
1840 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1841
1842         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1843
1844 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1845
1846         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1847         to bool.
1848
1849         * converter.C (showMessage): inherit from unary_function, make
1850         operator() const.
1851
1852         * buffer.C (writeFile): initialize retval
1853
1854         * InsetList.h: rename private variable list to list_
1855         * InsetList.[Ch]: adjust accordingly.
1856
1857 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1858
1859         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1860         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1861         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1862         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1863         * ParagraphParameters.C, LaTeXFeatures.C: replace
1864         "support/std_sstream.h" with <sstream>
1865
1866 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1867
1868         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1869         * lyxsocket.C (LyXServerSocket): ditto
1870         (serverCallback): ditto
1871
1872 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1873
1874         * LaTeXFeatures.C: check release date when loading jurabib.
1875
1876 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1877
1878         * lyxserver.C (startPipe): call register_socket_callback
1879         (endPipe): call unregister_socket_callback
1880
1881 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1882
1883         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1884         (LyXServerSocket): register the callback
1885         (LyXServerSocket): unregister the callback
1886         (fd): delete function
1887         (serverCallback): improve error checking and setup the callbacks.
1888         (dataCallback): change arg to fd.
1889         (writeln): new func (copied fro the client socket) used for server
1890         write to client.
1891         (LyXDataSocket): simplify
1892         (~LyXDataSocket): close ann unregiser callback
1893         (server): delete function
1894         (fd): delete function
1895         (readln): small changes, improve some std::string usage
1896         (writeln): constify a bit
1897
1898 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1899
1900         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1901         Qt frontend
1902
1903 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1904
1905         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1906         after it has been populated
1907
1908 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1909
1910         * text2.C (insertInset): move cursor when inserting inset.
1911
1912 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1913
1914         * kbmap.C (findbindings): a couple of new methods. returns a
1915         container of kb_sequence objects. The real work is done by the
1916         private recursive version
1917         (printbindings): uses findbindings to print out a bracketed list
1918         of bindings (renamed from findbinding).
1919
1920         * MenuBackend.C (binding): use kb_keymap::findbindings
1921
1922         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1923
1924 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1925
1926         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1927
1928 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1929
1930         * paragraph.C (isWord): return true on insets that report
1931         isLetter().
1932
1933         * text.C (getWord): use Paragraph::isWord to decide what is in a
1934         word and what is not; fix bug 1609.
1935
1936 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1937
1938         * tex-strings.C: add "none" to string_paperpackages[], fixes
1939         off-by-one-error in the paperpackage selection.
1940
1941         * lyxlex.[Ch]:
1942         * tex-strings.[Ch]: char const * string[n]
1943         -> char const * const string[]
1944
1945 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1946
1947         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1948         command, return early.
1949
1950 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1951
1952         * debug.h: add DEBUG to enum and fix size of ANY.
1953
1954         * debug.C: add support for Debug::DEBUG
1955         (showTags): cast errorTags.level to unsigned int
1956
1957         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1958         (redoCurrentBuffer): ditto
1959         (updateScrollbar): ditto
1960         * cursor.C (dispatch): ditto
1961         * text2.C (setLayout): ditto
1962         (setFont): ditto
1963         (updateCounters): ditto
1964         (editXY): ditto
1965         (deleteEmptyParagraphMechanism): ditto
1966
1967 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1968
1969         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1970         annotations to cleanup the Makefile slightly.
1971
1972 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1973
1974         * lyxrc.C: do not set user_email to a default value but use empty
1975         instead. The entry used to be translated, which does not work
1976         since at the point where lyxrc is constructed there is no
1977         translation service available
1978
1979         * messages.C (getLocaleDir): remove and use directly
1980         lyx_localedir() instead
1981
1982 2004-06-02  Angus Leeming  <leeming@lyx.org>
1983
1984         Fix crash caused by dereferencing null pointer 'exportdata' in
1985         OutputParams by creating a new ExportData variable on the heap,
1986         storing it in a boost::shared_ptr.
1987         The crash was triggered when generating an Instant Preview
1988         of an external inset.
1989
1990         * Makefile.am: add outputparams.C
1991
1992         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1993         (c-tor): allocate memory to it.
1994
1995         * exporter.C (c-tor): associated changes.
1996
1997 2004-06-01  Angus Leeming  <leeming@lyx.org>
1998
1999         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2000         contains data before calling isInset(0). (Bug 1513.)
2001
2002 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2003
2004         * exporter.C (checkOverwrite): new method
2005         * exporter.C (copyFile): new method
2006         * exporter.C (Export): copy referenced files to the document dir
2007         * exporter.[Ch]: new class ExportedFile
2008         * exporter.[Ch]: new class ExportData. Contains currently the
2009         names of referenced external files
2010         * outputparams.h: add exportdata member.
2011
2012 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2013
2014         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2015         version.C-tmp
2016
2017 2004-05-19  Angus Leeming  <leeming@lyx.org>
2018
2019         * LaTeXFeatures.C:
2020         * ToolbarBackend.C:
2021         * bufferparams.C:
2022         * lyxfunc.C: small changes due to the introduction of namespace
2023         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2024
2025 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2026
2027         * text3.C (dispatch): supress update when only moving the cursor
2028         * cursor.C (selHandle): remove commented code
2029
2030 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2031
2032         * paragraph.C (startTeXParParams): correct column count
2033         * CutAndPaste.C (pasteSelection): remove const_cast
2034         * output_docbook.C (docbookParagraphs): remove const_cast
2035         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2036         const_cast and return ParagraphList::const_iterator
2037         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2038         * output_plaintext.C (writeFileAscii): remove const_cast
2039         * paragraph.[Ch] (simpleTeXOnePar): make const
2040         * paragraph_funcs.C (outerPar): use const iterators
2041         * paragraph_pimpl.C (validate): use const iterators
2042         * text.C (setHeightOfRow): use const iterators
2043
2044 2004-05-17  Angus Leeming  <leeming@lyx.org>
2045
2046         * lfuns.h:
2047         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2048
2049         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2050         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2051         if the citation engine has changed.
2052
2053 2004-05-14  José Matos  <jamatos@lyx.org>
2054
2055         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2056         if the textclass does not provide it. Have it different for sgml and
2057         xml.
2058         support the language of document.
2059         * output_docbook.C (docbookParagraphs):
2060         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2061         first anchor as the id of the paragraph, remove special case code.
2062         * sgml.C (escapeChar): escape only < & >.
2063
2064 2004-05-14  Angus Leeming  <leeming@lyx.org>
2065
2066         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2067         dependencies on src/frontends/controllers/biblio.h. Define a
2068         CiteEngine_enum wrapper class to enable the enum to be forward
2069         declared.
2070
2071 2004-05-12  Angus Leeming  <leeming@lyx.org>
2072
2073         * buffer.C: up LYX_FORMAT to 234.
2074         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2075         use_numerical_citations with a single biblio::CiteEngine cite_engine
2076         variable.
2077         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2078
2079 2004-05-13  José Matos  <jamatos@lyx.org>
2080
2081         * converter.h:
2082         * converter.C (Converter, readFlags): add xml member.
2083         * outputparams.h: add XML flavor.
2084         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2085
2086 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2087
2088         * lyxfunc.C (dispatch):
2089         (getStatus): fix handling of LFUN_SEQUENCE
2090
2091 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2092
2093         * debug.C (showLevel): do not forget the end-of-line marker
2094
2095 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2096
2097         * kbmap.C (read): do not stop parsing a bind file when an error
2098         occurs (bug 1575)
2099
2100 2004-04-29  Angus Leeming  <leeming@lyx.org>
2101
2102         * cursor.C:
2103         * factory.C:
2104         * pariterator.C:
2105         * text2.C: wrap a bunch of #warning statements
2106         inside #ifdef WITH_WARNINGS blocks.
2107
2108 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2109
2110         * buffer.C: increment format to 233.
2111
2112 2004-04-28  Angus Leeming  <leeming@lyx.org>
2113
2114         * BufferView_pimpl.C:
2115         * lyxfunc.C:
2116         * text3.C:
2117         s/updateToolbar()/updateToolbars()/
2118         s/Toolbar.h/Toolbars.h/
2119
2120 2004-04-28  Angus Leeming  <leeming@lyx.org>
2121
2122         * BufferView.[Ch] (c-tor):
2123         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2124         No longer passes these data to the WorkArea generator.
2125
2126 2004-04-28  Angus Leeming  <leeming@lyx.org>
2127
2128         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2129
2130 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2131
2132         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2133
2134 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2135
2136         * output_latex.C (TeXEnvironment): make sure that there is a line
2137         break before \end{foo} for the last paragraph of a document
2138         (TeXOnePar): if the paragraph is at the end of the document (or
2139         inset) and the language has to be reset, then make sure that the
2140         line break is _before_ the language command, not after (fixes bug
2141         1225); also make sure that the language reset command is the first
2142         thing after the paragraph (to ensure proper nesting of
2143         environments and thus fix bug 1404)
2144
2145 2004-04-21  John Levon  <levon@movementarian.org>
2146
2147         * ToolbarBackend.h:
2148         * ToolbarBackend.C: make "name" be a programmatic name
2149         and a gui_name field.
2150
2151         * lyxfunc.C: display the minibuffer on M-x
2152
2153 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2154
2155         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2156         (bug 1526)
2157
2158 2004-04-19  Angus Leeming  <leeming@lyx.org>
2159
2160         * BufferView_pimpl.C (setBuffer): changed preview interface.
2161
2162         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2163         possible values.
2164
2165 2004-04-19  John Levon  <levon@movementarian.org>
2166
2167         * BufferView_pimpl.C:
2168         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2169
2170 2004-04-05  Angus Leeming  <leeming@lyx.org>
2171
2172         * text.C (redoParagraphs): add call to updateCounters(), thereby
2173         fixing the missing "Figure #:" label from the caption of a
2174         figure float.
2175
2176 2004-04-13  Angus Leeming  <leeming@lyx.org>
2177
2178         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2179         cursor is clicked out of an inset.
2180
2181 2004-04-13  Angus Leeming  <leeming@lyx.org>
2182
2183         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2184         than an InsetOld one.
2185
2186 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2187
2188         * format.[Ch]: add editor to Format
2189         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2190         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2191
2192 2004-04-08  André Pönitz  <poenitz@gmx.net>
2193
2194         * metricsinfo.h: remove PainterInfo::width member
2195
2196 2004-04-08  Angus Leeming  <leeming@lyx.org>
2197
2198         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2199         "\providecommand" rather than "\newcommand", thereby preventing
2200         clashes with packages that define "\boldsymbol" themselves.
2201         Eg, beamer.
2202
2203 2004-04-08  Angus Leeming  <leeming@lyx.org>
2204
2205         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2206         thereby squashing an unnecessary warning.
2207
2208 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2209
2210         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2211         setBuffer()
2212
2213 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2214
2215         * BufferView.C (setCursor): call redoParagraph (some insets could
2216         have been opened)
2217         (putSelectionAt): remove the 'double update' trick
2218
2219         * BufferView_pimpl.C (fitCursor): call refreshPar
2220         (workAreaDispatch): remove an uneeded update call
2221         (dispatch): remove some manual update calls
2222
2223         * cursor.[Ch]: remove cached_y_, updatePos
2224         (selHandle): set noUpdate when appropriate
2225
2226         * lyxfunc.C (dispatch): track if we need an update
2227
2228         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2229
2230         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2231         (paintSelection): cheap optimization, do not call cursorX when not
2232         needed
2233         (paintPars): change signature
2234         (refreshPar): add
2235         (paintText): adjust
2236         (paintTextInset): adjust
2237
2238         * text.C: adjust
2239
2240 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2241
2242         * lengthcommon.C: compilation fix: remove explicit array size from
2243         unit_name[] and friends
2244
2245 2004-04-05  Angus Leeming  <leeming@lyx.org>
2246
2247         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2248
2249         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2250         present only for the preferences dialog.
2251         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2252
2253 2004-04-05  Angus Leeming  <leeming@lyx.org>
2254
2255         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2256         to enable the frontends to export changes to lyxrc correctly.
2257
2258         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2259
2260 2004-04-07  André Pönitz  <poenitz@gmx.net>
2261
2262         * cursor.[Ch] (selClear, adjust): remove math
2263
2264         * cursor_slice.C: more agressive assert
2265
2266         * lyxfunc.C:
2267         * BufferView_pimpl.C: rework mouse event dispatch
2268
2269         * dociterator.C:
2270         * paragraph.C:
2271         * text2.C:
2272         * text3.C: adjust
2273
2274 2004-04-05  André Pönitz  <poenitz@gmx.net>
2275
2276         * cursor.[Ch] (valign, halign...): remove unneeded functions
2277
2278 2004-04-05  Angus Leeming  <leeming@lyx.org>
2279
2280         * lyxlength.[Ch] (unit_name et al.): const-correct.
2281
2282 2004-04-05  Angus Leeming  <leeming@lyx.org>
2283
2284         * BufferView_pimpl.C:
2285         * buffer.C:
2286         * counters.C:
2287         * cursor.C:
2288         * lyxfunc.C
2289         * paragraph.C:
2290         * pariterator.C:
2291         * text.C:
2292         * text2.C:
2293         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2294
2295 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2296
2297         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2298
2299 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2300
2301         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2302         * BufferView_pimpl.[Ch] (getStatus)
2303         * BufferView.[Ch] (getStatus): add
2304         * lyxfunc.C (getStatus): move lfuns handled in
2305         BufferView::dispatch to te function above
2306         * Cursor.C (setSelection): set selection() = true
2307
2308 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2309
2310         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2311
2312 2004-03-31  Angus Leeming  <leeming@lyx.org>
2313
2314         * lyxfunc.C (dispatch): Fall through to the generic
2315         Dialogs::show("preamble").
2316
2317 2004-03-31  Angus Leeming  <leeming@lyx.org>
2318
2319         * lyxfunc.C (dispatch): Fall through to the generic
2320         Dialogs::show("spellchecker").
2321
2322 2004-03-31  Angus Leeming  <leeming@lyx.org>
2323
2324         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2325         preferences dialog.
2326
2327 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2328
2329         * BufferView.C
2330         * cursor.[Ch]
2331         * dociterator.[Ch]:
2332         * insetiterator.[Ch]:
2333         * lyxfind.C:
2334         * lyxfunc.C:
2335         * pariterator.[Ch]:
2336         * text2.C:
2337         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2338
2339 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2340
2341         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2342         insets where we are putting the cursor.
2343
2344 2004-03-31  Angus Leeming  <leeming@lyx.org>
2345
2346         * lfuns.h:
2347         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2348
2349         * lyxrc.[Ch] (read, write): overloaded member functions taking
2350         a std::[io]stream arguments.
2351
2352         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2353
2354 2004-03-31  Angus Leeming  <leeming@lyx.org>
2355
2356         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2357         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2358
2359         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2360         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2361
2362 2004-03-31  Angus Leeming  <leeming@lyx.org>
2363
2364         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2365         the LFUN_ALL_INSETS_TOGGLE code.
2366
2367 2004-03-30  Angus Leeming  <leeming@lyx.org>
2368
2369         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2370         has died. Fall through to the generic Dialogs::show("document").
2371
2372 2004-03-30  Angus Leeming  <leeming@lyx.org>
2373
2374         * lfuns.h:
2375         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2376         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2377
2378         * lyxfunc.C (getStatus, dispatch): define the actions for these
2379         lfuns. Little more than a cut and pste job from ControlDocument.C
2380
2381         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2382
2383 2004-03-30  Angus Leeming  <leeming@lyx.org>
2384
2385         * lfuns.h:
2386         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2387         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2388
2389         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2390         open/closed state of ollapsable insets. Usage:
2391
2392         all-inset-toggle <state> <name>, where
2393         <state> == "open" || "closed" || "toggle" and
2394         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2395
2396         * lyxtext.h, text2.C (toggleInset): removed.
2397
2398         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2399         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2400         now passes LFUN_INSET_TOGGLE to the found inset.
2401
2402         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2403         is now invoked as "all-insets-toggle toggle branch".
2404
2405 2004-03-30  Angus Leeming  <leeming@lyx.org>
2406
2407         * dociterator.C:
2408         * insetiterator.C:
2409         * pariterator.[Ch]: added/corrected header blurb.
2410
2411 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2412
2413         * dociterator.[Ch]: add an inset_ member
2414         (backwardPos): implemented
2415         (backwardPos, forwardPos): use inset_ when the stack is empty.
2416         (doc_iterator_begin, doc_iterator_end): implemented
2417         * pariterator.[Ch]: adjust, add begin, end
2418         * insetiterator.[Ch]: adjust, add begin, end
2419         * cursor.C:
2420         * document.C:
2421         * BufferView.C:
2422         * BufferView_pimpl.C:
2423         * CutAndPaste.C: adjust
2424
2425 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2426
2427         * buffer.C: increment file format to 232.
2428         * LaTeXFeatures.C: add bibtopic package.
2429         * bufferparams.[Ch]: param \use_bibtopic.
2430
2431         * lyxrc.[Ch]: add lyxrc bibtex_command
2432         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2433
2434         * buffer.C: increment file format to 231.
2435
2436 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2437
2438         * dociterator.C: implement forwardPar
2439         * iterators.[Ch]: remove, replaced by
2440         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2441         * BufferView.C:
2442         * BufferView_pimpl.C:
2443         * CutAndPaste.C:
2444         * buffer.C:
2445         * bufferview_funcs.C:
2446         * cursor.C:
2447         * lyxfind.C
2448         * lyxfunc.C
2449         * paragraph_funcs.C
2450         * toc.C:
2451         * Makefile.am: adjust
2452
2453 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2454
2455         * CutAndPaste.C (pasteSelection): fix 2 crashes
2456         (eraseSelection): fix a crash
2457         * paragraph_funcs.C: remove a warning
2458
2459 2004-03-28  Angus Leeming  <leeming@lyx.org>
2460
2461         * lfuns.h:
2462         * LyXAction.C (init): new LFUN_PRINT.
2463
2464         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2465
2466 2004-03-27  Angus Leeming  <leeming@lyx.org>
2467
2468         * lfuns.h:
2469         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2470
2471         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2472
2473 2004-03-27  Angus Leeming  <leeming@lyx.org>
2474
2475         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2476         insetlist always contains non-null pointers to insets.
2477
2478 2004-03-26  Angus Leeming  <leeming@lyx.org>
2479
2480         * src/BufferView_pimpl.C:
2481         * src/CutAndPaste.C:
2482         * src/buffer.C:
2483         * src/iterators.C:
2484         * src/output_plaintext.C:
2485         * src/outputparams.h:
2486         * src/paragraph_funcs.C:
2487         * src/rowpainter.C:
2488         * src/text.C:
2489         * src/text2.C:
2490         * src/frontends/controllers/ControlErrorList.C:
2491         * src/frontends/gtk/FileDialogPrivate.C:
2492         * src/frontends/gtk/GPainter.C:
2493         * src/frontends/gtk/GToolbar.C:
2494         * src/frontends/qt2/QRef.C:
2495         * src/mathed/math_scriptinset.C: squash compiler warnings.
2496
2497 2004-03-26  Angus Leeming  <leeming@lyx.org>
2498
2499         * ispell.C (LaunchIspell::start):
2500         * lyx_cb.C (AutoSaveBuffer::start):
2501         invoke run(DontWait) rather than runNonBlocking().
2502
2503 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2504
2505         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2506
2507 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2508
2509         * kbsequence.C (print): adjust
2510
2511         * kbmap.C (printKeySym): rename and change signature
2512         (printKey): use LyXKeySym::print()
2513
2514 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2515
2516         * undo.C: add using std::advance to compile for stlport
2517
2518 2004-03-24  Angus Leeming  <leeming@lyx.org>
2519
2520         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2521         it leads to a crash when no buffer is present.
2522
2523 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2524             Martin Vermeer  <martin.vermeer@hut.fi>
2525
2526         * lyxfunc.C (dispatch):
2527         * bufferparams.C (readToken): use the new LColor::setColor
2528
2529         * LColor.[Ch] (setColor): new version that takes two strings as
2530         argument and creates a new color entry if necessary
2531
2532 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2533
2534         * buffer.C (makeLaTeXFile): if the main latex file that is
2535         processed is usually a subdocument of some master, then pretend
2536         for a while that it is actually the master
2537
2538 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2539
2540         * buffer.C (getLabelList):
2541         (getBibkeyList): use getMasterBuffer()
2542         (getMasterBuffer): new method. Returns the main document in the
2543         case where one is using included documents.
2544
2545 2004-03-25  André Pönitz  <poenitz@gmx.net>
2546
2547         * Makefile.am:
2548         * iterators.[Ch]:
2549         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2550
2551         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2552
2553         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2554         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2555
2556         * ParameterStruct.h: merge with ParagraphParameters
2557
2558         * lyxtext.h: remove LyXText::parOffset() and getPar()
2559
2560         * text3.C: Remove all 'manual' update calls. We do now one per user
2561         interaction which is completely sufficient.
2562
2563         * Bidi.C:
2564         * BufferView.[Ch]:
2565         * BufferView_pimpl.C:
2566         * FontIterator.[Ch]:
2567         * MenuBackend.C:
2568         * ParagraphParameters.[Ch]:
2569         * buffer.C:
2570         * buffer.h:
2571         * bufferlist.C:
2572         * cursor.[Ch]:
2573         * cursor_slice.[Ch]:
2574         * dociterator.[Ch]:
2575         * errorlist.[Ch]:
2576         * factory.C:
2577         * lfuns.h:
2578         * lyxfind.C:
2579         * lyxfunc.C:
2580         * output_docbook.[Ch]:
2581         * output_latex.[Ch]:
2582         * output_linuxdoc.[Ch]:
2583         * output_plaintext.[Ch]:
2584         * paragraph.[Ch]:
2585         * paragraph_funcs.[Ch]:
2586         * paragraph_pimpl.[Ch]:
2587         * rowpainter.C:
2588         * tabular.[Ch]:
2589         * text.C:
2590         * text2.C:
2591         * toc.C:
2592         * undo.[Ch]: adjust
2593
2594         * frontends/controllers/ControlDocument.C:
2595         * frontends/controllers/ControlErrorList.C:
2596         * frontends/controllers/ControlSpellchecker.C:
2597         * insets/inset.C:
2598         * insets/inset.h:
2599         * insets/insetbase.h:
2600         * insets/insetbibitem.C:
2601         * insets/insetbox.C:
2602         * insets/insetbranch.C:
2603         * insets/insetcaption.C:
2604         * insets/insetcharstyle.C:
2605         * insets/insetcharstyle.h:
2606         * insets/insetcollapsable.C:
2607         * insets/insetcollapsable.h:
2608         * insets/insetert.C:
2609         * insets/insetfloat.C:
2610         * insets/insetfoot.C:
2611         * insets/insetmarginal.C:
2612         * insets/insetnote.C:
2613         * insets/insetoptarg.C:
2614         * insets/insettabular.C:
2615         * insets/insettext.C:
2616         * insets/insettext.h:
2617         * insets/insetwrap.C:
2618         * mathed/math_mboxinset.C:
2619         * mathed/math_nestinset.C:
2620         * mathed/math_scriptinset.C:
2621         * mathed/math_scriptinset.h:
2622         * support/types.h:
2623
2624 2004-03-24  Angus Leeming  <leeming@lyx.org>
2625
2626         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2627         deal with any child processes that have finished but are waiting to
2628         communicate this fact to the rest of LyX.
2629
2630 2004-03-24  Angus Leeming  <leeming@lyx.org>
2631
2632         64-bit compile fixes.
2633
2634         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2635         (c-tor): pass lyx::pos_types rather than ints.
2636
2637         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2638         lyx::pos_type.
2639
2640         * text.C (Delete): compile fix.
2641         (getPar): ensure that function declaration is the same as that in
2642         the header file.
2643
2644 2004-03-23  Angus Leeming  <leeming@lyx.org>
2645
2646         * ispell.C (LaunchIspell):
2647         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2648         a boost::shred_ptr rather than a std::auto_ptr.
2649
2650 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2651
2652         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2653         handle LFUN_FILE_INSERT_*
2654
2655         * lyxrc.C (setDefaults, getDescription, output, read):
2656         * lyxrc.h: remove ps_command
2657
2658 2004-03-22  Angus Leeming  <leeming@lyx.org>
2659
2660         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2661         Ensure that error_handler is processed once only and that all data
2662         is saved before attempting to output any warning messages.
2663
2664         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2665
2666 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2667
2668         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2669
2670 2004-03-19  André Pönitz  <poenitz@gmx.net>
2671
2672         * cursor.[Ch] (reset): take main text inset as argument
2673
2674         * BufferView: adjust
2675         * BufferView_pimpl.C: adjust
2676
2677         * paragraph.[Ch]: fix completely broken operator=()
2678
2679 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2680
2681         * LColor.C (getFromLyXName): make sure that the color name is used
2682         as lowercase.
2683
2684 2004-03-17  Angus Leeming  <leeming@lyx.org>
2685
2686         * lfuns.h:
2687         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2688
2689         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2690         dialog and to kill a forked process.
2691
2692 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2693
2694         * text2.C (setCursorFromCoordinates): fix font problem
2695
2696 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2697
2698         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2699         bogus "rebuild cursor" code
2700
2701 2004-03-11  André Pönitz  <poenitz@gmx.net>
2702
2703         * buffer.[Ch]: use InsetText instead of LyXText as container for
2704         the main lyx text.
2705
2706         * dociterator.[Ch]: drop the BufferView * member which is not needed
2707         anymore after the change to buffer.C
2708
2709         * paragraph_funcs.C:
2710         * text.C:
2711         * text2.C:
2712         * BufferView.[Ch]:
2713         * BufferView_pimpl.[Ch]:
2714         * cursor.[Ch]:
2715         * cursor_slice.[Ch]: adjust
2716
2717         * text3.C: fix bug in mathDispatch
2718
2719 2004-03-08  André Pönitz  <poenitz@gmx.net>
2720
2721         * undo.[Ch]: use 'StableDocumentIterator' as base for
2722         the Undo struct.
2723
2724 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2725
2726         * LaTeXFeatures.C:
2727         * bufferparams.[Ch]: add jurabib support and param.
2728
2729         * LaTeX.C: add FIXME/comment.
2730
2731 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2732
2733         * buffer.C: increment file format to 230.
2734
2735 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2736
2737         * cursor.C (dispatch): avoid infinite loops
2738
2739 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2740
2741         * rowpainter.C (paintSelection): fix x coordinates
2742
2743 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2744
2745         * text.C (rowBreakPoint): fix breaking before displayed insets
2746
2747 2004-03-01  André Pönitz  <poenitz@gmx.net>
2748
2749         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2750
2751         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2752
2753         * Makefile.am:
2754         * BufferView.C:
2755         * BufferView_pimpl.C:
2756         * buffer.C:
2757         * lyxfind.C:
2758         * lyxfunc.C:
2759         * text.C:
2760         * text2.C:
2761         * text3.C: adjust
2762
2763 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2764
2765         * lyxtext.h:
2766         * text.C:
2767         * text2.C:
2768         * rowpainter.C:
2769         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2770         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2771
2772 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2773
2774         * Bidi.[Ch] (computeTables): const correctness
2775         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2776         fill_hfill, fill_label_hfill and x from Row
2777         * lyxtext.h: prepareToPrint returns a RowMetrics
2778         * rowPainter.C: adjust
2779         * text.C (prepareToPrint): use width, not textWidth. adjust
2780         (redoParagraphInternal, cursorX): adjust
2781         * text2.C (getColumnNearX): adjust
2782         (init): put a default value to the top LyXText::width
2783
2784 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2785
2786         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2787
2788 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2789
2790         * lyxtext.h: add FontIterator class
2791
2792         * text.C (FontIterator, operator*, operator->, operator++): add
2793         (rowBreakPoint, setRowWidth): adjust (fixing a
2794         rebreaking bug)
2795
2796 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2797
2798         * BufferView_pimpl.C (workAreaDispatch): allow also
2799         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2800
2801 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2802
2803         * text.C (rowBreakPoint): fix a bug showing with very large insets
2804
2805 2004-02-25  André Pönitz  <poenitz@gmx.net>
2806
2807         * text3.C:
2808         * cursor.[Ch]: move some mathed specific code to mathed
2809
2810 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2811
2812         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2813         use_tempdir in preferences
2814         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2815         tempfile creation
2816         * lyx_main.C: ensure that tempdir is valid
2817         * lyxlex.h: correct typo
2818         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2819         * paragraph.[Ch] (isMultiLingual): make const
2820         * cursor.[Ch] (openable): make const
2821
2822 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2823
2824         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2825
2826 2004-02-20  André Pönitz  <poenitz@gmx.net>
2827
2828         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2829
2830         * cursor.[Ch]: prepare for localized getStatus()
2831
2832         * lyxtext.h:
2833         * tabular.C:
2834         * text.C:
2835         * text2.C:
2836         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2837
2838 2004-02-20  André Pönitz  <poenitz@gmx.net>
2839
2840         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2841
2842 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2843
2844         * text2.C (setCursorFromCoordinates): switch to absolute coords
2845         (cursorUp): adjust
2846         (cursorDown): adjust
2847         * text3.C (dispatch): adjust
2848
2849 2004-02-16  André Pönitz  <poenitz@gmx.net>
2850
2851         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2852           insets/ChangeLog)
2853
2854         * cursor_slice.[Ch]: remove unneeded acessor function
2855
2856         * lyxtext.h: rename rtl() to isRTL()
2857
2858         * rowpainter.C:
2859         * tabular.C:
2860         * text.C:
2861         * text2.C:
2862         * text3.C: adjust
2863
2864 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2865
2866         * rowpainter.C (paintSelection): coord fix
2867
2868 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2869
2870         * Spacing.C: compile fix
2871
2872 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2873
2874         * cursor.C (dispatch): restore current_ before returning
2875
2876 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2877
2878         * text2.C (cursorUp, cursorDown): fix coords
2879         (moveUp): fix crash
2880
2881 2004-02-12  André Pönitz  <poenitz@gmx.net>
2882
2883         * lyxtext.h:
2884         * text.C:
2885         * text2.C:
2886         * text3.C: add LCursor & parameter to most cursor movement functions
2887           remove usage of LyXText::cursorRow() and cursorPar()
2888
2889         * cursor.[Ch]: add textRow() needed members
2890
2891         * BufferView.C:
2892         * BufferView_pimpl.C:
2893         * paragraph.[Ch]:
2894         * BufferView.C:
2895         * BufferView_pimpl.C: adjust
2896
2897 2004-02-11  André Pönitz  <poenitz@gmx.net>
2898
2899         * lyxfunc.C:
2900         * BufferView.[Ch]:
2901         * BufferView_pimpl.C: shift undo/redo handling
2902
2903         * cursor.[Ch]: fix mathed crash
2904
2905         * lyxfind.C:
2906         * lyxtext.h: move selectionAsText to LCursor
2907
2908         * output_latex.C:
2909         * paragraph.C:
2910         * text.C:
2911         * text2.C:
2912         * text3.C: adjust
2913
2914         * rowpainter.C: fix excessive drawing
2915
2916 2004-02-06  André Pönitz  <poenitz@gmx.net>
2917
2918         * BufferView.[Ch]:
2919         * BufferView_pimpl.[Ch]:
2920         * text3.C: move some text specific LFUN handling
2921
2922 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2923
2924         * text3.C (checkInsetHit): adjust coords
2925         * text2.C (getColumnNearX): adjust coords
2926         (edit): adjust coords
2927         * text.C (getRowNearY): add two asserts
2928
2929 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2930
2931         * converter.C:
2932         * format.C: add using std::distance to compile on gcc 2.95/stlport
2933
2934 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2935
2936         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2937
2938 2004-02-04  André Pönitz  <poenitz@gmx.net>
2939
2940         * BufferView.[Ch] (insertInset):
2941         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2942
2943         * text2.C:
2944         * text3.C: adjust
2945
2946 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2947
2948         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2949         on the default clause of the switch
2950         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2951         wasn't catched by LCursor::dispatch
2952
2953 2004-02-03  André Pönitz  <poenitz@gmx.net>
2954
2955         * BufferView.C:
2956         * cursor.[Ch]: some additional asserts
2957
2958         * undo.[Ch]: remove LyXText dependency in interface
2959
2960         * lyxfunc.C: adjust
2961
2962         * lyxtext.h (firstPar, lastPar): remove dead functions
2963
2964         * text.C:
2965         * text2.C:
2966         * text3.C:
2967         * paragraph.[Ch]: adjust
2968
2969 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2970
2971         * lyxfind.C (find): fix argument order in call to ::find
2972
2973 2004-02-02  André Pönitz  <poenitz@gmx.net>
2974
2975         * cursor.[Ch]: remove direct access to anchor
2976
2977         * text.C: remove findText() hack
2978
2979 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2980
2981         * iterators.[Ch] (lockPath): remove in favour of...
2982         * BufferView.[Ch] (setCursor): this addition
2983         * BufferView.C (putSelectionAt): adjust
2984         * undo.C (performUndoOrRedo): adjust
2985         * lyxfunc.C (dispatch): adjust
2986
2987 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2988
2989         * iterators.C (lockPath): add a missing slice
2990         * undo.C (performUndoOrRedo): remove redundant positioning code
2991
2992 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2993
2994         * vc-backend.C (scanMaster): ";" -> ';'
2995
2996 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2997
2998         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2999         std::binary_function
3000
3001         * lyxtextclass.C (compare_name): rename to...
3002         (LayoutNamesEqual): ...this
3003
3004         * lyxlex_pimpl.C (compare_tags): inherit from
3005         std::binary_function, put back into anon namespace
3006
3007         * lyxfind.C (MatchString): inherig from std::binary_function
3008         (findChange): use empty() istead of !size()
3009
3010         * format.C (FormatNamesEqual): new functor
3011         (getFormat): use it
3012         (getNumber): use it
3013         (add): use it
3014         (erase): use it
3015         (setViewer): use it
3016
3017         * converter.C (compare_Converter): rename to...
3018         (ConverterEqual): ...this, and fixup a bit.
3019         (getConverter): use it, and make function const
3020         (getNumber): use it, and make function const
3021         (add): use it
3022         (erase): use it:
3023
3024         * bufferlist.C: add using boost::bind
3025
3026         * MenuBackend.C (MenuNamesEqual): new functor
3027         (hasMenu): use it, and make function const
3028         (hasSubmenu): use nested bind to get rid of compare_memfun.
3029
3030 2004-01-30  André Pönitz  <poenitz@gmx.net>
3031
3032         * BufferView_pimpl.C:
3033         * cursor.C:
3034         * cursor.h:
3035         * cursor_slice.[Ch]:
3036         * lyxfunc.C:
3037         * lyxtext.h:
3038         * paragraph_funcs.C:
3039         * paragraph_funcs.h:
3040         * rowpainter.C:
3041         * text.C:
3042         * text2.C:
3043         * text3.C: move some of the edit(x,y) handling to the insets
3044         some coordinate changes.
3045
3046 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3047
3048         * text.C: add using statements for std::advance and std::distance
3049
3050         * paragraph.C: add using statement for std::distance
3051
3052         * lyxfind.C: add using statement for std::advance
3053
3054         * cursor.C (region): remove std:: from swap
3055         (openable): use nucleus in stead of operator->
3056
3057         * BufferView.C: add using statements for std::distance and std::swap
3058
3059 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3060
3061         * iterators.C: Remove the pimple, move the needed structures to
3062         the header file. Create accessor for the positions stack.
3063         (asPosIterator): remove function
3064
3065         * PosIterator.C (PosIterator): move constructors to top of file
3066         (PosIterator): reimplement the constructor taking a ParIterator in
3067         terms of setFrom.
3068         (setFrom): new function
3069         (operator!=): inline it
3070
3071 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3072
3073         * lyxfind.C (replaceAll): use std::advance
3074
3075         * iterators.h: inherit from std::iterator.
3076
3077         * PosIterator.C (advance, distance): remove
3078         * PosIterator.h: interit from std::iterator.
3079
3080 2004-01-26  André Pönitz  <poenitz@gmx.net>
3081
3082         * BufferView.[Ch]:
3083         * BufferView_pimpl.[Ch]:
3084         * InsetList.[Ch]:
3085         * PosIterator.[Ch]:
3086         * buffer.h:
3087         * bufferview_funcs.C:
3088         * cursor.[Ch]:
3089         * cursor_slice.h:
3090         * factory.[Ch]:
3091         * iterators.[Ch]:
3092         * lyxfind.C:
3093         * lyxfunc.C:
3094         * lyxtext.h:
3095         * output_docbook.C:
3096         * output_latex.C:
3097         * output_linuxdoc.C:
3098         * output_plaintext.C:
3099         * paragraph.[Ch]:
3100         * paragraph_funcs.[Ch]:
3101         * paragraph_pimpl.[Ch]:
3102         * rowpainter.C:
3103         * tabular.C:
3104         * tabular.h:
3105         * text.C:
3106         * text2.C:
3107         * text3.C: more IU:  dumps most of the rest of the mathcursor
3108     implementation into cursor.[Ch]; "globalize" a bit of it.
3109
3110 2004-01-25  Angus Leeming  <leeming@lyx.org>
3111
3112         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3113
3114 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3115
3116         * LaTeXFeatures.h: add nice_ and nice() const
3117         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3118
3119 2004-01-20  André Pönitz  <poenitz@gmx.net>
3120
3121         * BufferView.[Ch]:
3122         * BufferView_pimpl.C:
3123         * PosIterator.C:
3124         * bufferview_funcs.C:
3125         * cursor.[Ch]:
3126         * cursor_slice.[Ch]:
3127         * factory.C:
3128         * iterators.C:
3129         * lyx_cb.C:
3130         * lyxfind.C:
3131         * lyxfunc.C:
3132         * lyxtext.h:
3133         * rowpainter.C:
3134         * text.C:
3135         * text2.C:
3136         * text3.C:
3137         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3138           LCursor and mathcursor parts to LCursor and InsetBase.
3139
3140 2004-01-15  André Pönitz  <poenitz@gmx.net>
3141
3142         * cursor_slice.[Ch]: add a few covienience functions
3143
3144         * funcrequest.[Ch]: remove BufferView * member
3145
3146         * BufferView_pimpl.C:
3147         * cursor.C:
3148         * factory.[Ch]:
3149         * lyxfind.[Ch]:
3150         * lyxfunc.C:
3151         * lyxtext.h:
3152         * text3.C:
3153         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3154
3155 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3156
3157         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3158         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3159
3160 2004-01-13  André Pönitz  <poenitz@gmx.net>
3161
3162         * textcursor.[Ch]:
3163         * lyxtext.h: hide cursor and selection anchor behind accessor function
3164
3165         * BufferView.C:
3166         * BufferView_pimpl.[Ch]:
3167         * PosIterator.C:
3168         * bufferview_funcs.C:
3169         * cursor.h:
3170         * lyxfind.C:
3171         * lyxfunc.C:
3172         * text.C:
3173         * text2.C:
3174         * text3.C:
3175         * undo.C: adjust
3176
3177         * cursor.h:
3178         * cursor_slice.[Ch]: some integer type changes for inset unification
3179
3180         * lyxcursor.[hC]: remove, it's CursorSlice now.
3181
3182         * Makefile.am:
3183         * BufferView_pimpl.[Ch]:
3184         * bufferview_funcs.C:
3185         * cursor_slice.C:
3186         * lyxtext.h:
3187         * text.C:
3188         * text2.C:
3189         * text3.C:
3190         * textcursor.[Ch]: adjust
3191
3192 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3193
3194         * text2.C (undoSpan): add and use
3195         * text.C (breakParagraph): use undoSpan (fix bug 578)
3196         * lyxtext.h: adjust
3197
3198 2004-01-08  Angus Leeming  <leeming@lyx.org>
3199
3200         * BufferView_pimpl.C (MenuInsertLyXFile):
3201         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3202         * lyxfunc.C (menuNew, open, doImport):
3203         FileFilterList change to the FileDialog open and save functions.
3204
3205 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3206
3207         * ShareContainer.h: make isEqual and isUnique adaptable
3208
3209         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3210
3211 2004-01-07  Angus Leeming  <leeming@lyx.org>
3212
3213         * LyXAction.C:
3214         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3215
3216         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3217
3218         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3219         functions replacing find, replace and replaceAll.
3220
3221         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3222         LFUN_WORDFIND(FORWARD|BACKWARD).
3223
3224 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3225
3226         * text.C (breakParagraph): remove an outdated #warning
3227
3228 2004-01-07  André Pönitz  <poenitz@gmx.net>
3229
3230         * lyxfind.C: somewhat clearer logic
3231
3232         * text.C: prevent crash in cursorX on unitialized row cache
3233
3234 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3235
3236         * lyxcursor.[Ch] (operator>): add
3237         * textcursor.C (selStart, selEnd): use std::min and std::max
3238
3239 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3240
3241         * Chktex.C: include boost/format.hpp
3242
3243 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3244
3245         * InsetList.C: replace functor MathcIt with adaptable functor
3246         InsetTablePosLess
3247         (insetIterator): modify accordingly
3248
3249         * BranchList.h: move the BranchNamesEqual functor here from...
3250         * BranchList.C: ... to here
3251
3252         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3253         SameName and match.
3254         (add): replace a finding loop with std::find_if.
3255
3256 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3257
3258         * output_docbook.C: moving LatexParam functionality into
3259         .layout files
3260
3261 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3262
3263         * buffer.C: increment format to 229.
3264
3265 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3266
3267         * LaTeXFeatures.C:
3268         * lyx_sty.[Ch]: remove minipageindent_def
3269
3270         * LyXAction.C:
3271         * factory.C:
3272         * lfuns.h:
3273         * lyxfunc.C:
3274         * text3.C: remove LFUN_INSET_MINIPAGE
3275
3276 2003-12-28  Angus Leeming  <leeming@lyx.org>
3277
3278         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3279
3280 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3281
3282         * text2.C (setParagraph): fix off-by-one crash
3283
3284 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3285
3286         * output_docbook.C: header stuff for AGU
3287
3288 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3289
3290         * text2.C (redoCursor): remove
3291         * text.C:
3292         * text3.C:
3293         * BufferView_pimpl.C: remove calls to redoCursor and
3294         setCursor(cursor.par(), cursor.pos()) all around
3295
3296 2003-12-15  Angus Leeming  <leeming@lyx.org>
3297
3298         * buffer.C: up the format to 228.
3299
3300 2003-12-15  André Pönitz  <poenitz@gmx.net>
3301
3302         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3303         slices
3304
3305         * Makefile.am:
3306
3307         * BufferView_pimpl.C:
3308         * cursor.[Ch]:
3309         * lyxcursor.[Ch]:
3310         * rowpainter.[Ch]:
3311         * lyxtext.h:
3312         * text.C:
3313         * text2.C:
3314         * text3.C: adjust
3315
3316 2003-12-15  Angus Leeming  <leeming@lyx.org>
3317
3318         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3319         than getFromGUIName to manipulate the color.
3320
3321 2003-12-14  Angus Leeming  <leeming@lyx.org>
3322
3323         * BranchList.[Ch]: minimize the API.
3324         (Branch::getBranch, getColor): now return a 'const &'.
3325         (Branch::setSelected) now returns a bool set to true if the
3326         selection status changes.
3327         (BranchList::clear, size, getColor, setColor, setSelected,
3328         allBranches, allSelected, separator): removed.
3329         (BranchList::find): new functions, returning the Branch with
3330         the given name.
3331         (BranchList::add, remove): return a bool indicating that
3332         the operation was successful.
3333
3334         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3335         new InsetBranch::isBranchSlected member function.
3336
3337         * LColor.[Ch]: mimimize the API.
3338         (fill): renamed as addColor and made private.
3339         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3340         versions of these functions taking a string arg have been removed.
3341
3342         * bufferparams.C (readToken):
3343         * lyxfunc.C (dispatch):
3344         * lyxrc.C (read): changes due to the altered BranchList and
3345         LColor APIs.
3346
3347         * factory.C (createInset, readInset): changes due to altered
3348         InsetBranch c-tor.
3349
3350 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3351
3352         * factory.C:
3353         * lyxfunc.C: remove insetminipage. "minipage-insert"
3354         now produces a frameless minipage box inset.
3355
3356 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3357
3358         * textcursor.[Ch] (selStart,selEnd): add new methods
3359         remove selection::start, end, use LyXCursor::operator<
3360         * lyxcursor.[Ch] (operator<): add
3361         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3362         * BufferView.[Ch] (unsetXSel): add
3363         * text2.C (clearSelection): use unsetXSel,adjust
3364         * text.C: adjust
3365         * text3.C: adjust
3366         * rowpainter.C: adjust
3367         * bufferview_funcs.C (put_selection_at): adjust
3368
3369 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3370
3371         * BufferView_pimpl.C: small coord. correction
3372
3373 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3374
3375         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3376         dragging over the splash screen.
3377
3378 2003-12-11  Angus Leeming  <leeming@lyx.org>
3379
3380         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3381         as it is now handled in LyXText::dispatch.
3382
3383         * text3.C (doInsertInset): remove a level of nesting.
3384
3385 2003-12-11  Angus Leeming  <leeming@lyx.org>
3386
3387         * factory.C (createInset): changes due to the changed interface to
3388         InsetCommandMailer::string2params.
3389
3390 2003-12-10  Angus Leeming  <leeming@lyx.org>
3391
3392         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3393         'dialog-show-new-inset <inset name>'
3394
3395 2003-12-10  Angus Leeming  <leeming@lyx.org>
3396
3397         * buffer.C: up the format to 227.
3398
3399         * factory.C: the box inset is now identified simply by 'Box'.
3400
3401 2003-12-10  Angus Leeming  <leeming@lyx.org>
3402
3403         * buffer.C: up the format to 226.
3404
3405         * factory.C: the note inset is now identified simply by 'Note'.
3406
3407 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3408
3409         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3410         when a pit is enough. Standarize a couple of loops.
3411
3412 2003-12-05  Angus Leeming  <leeming@lyx.org>
3413
3414         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3415         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3416         data to the re-worked "log" dialog.
3417
3418 2003-12-03  André Pönitz  <poenitz@gmx.net>
3419
3420         * PosIterator.C:
3421         * iterators.C:
3422         * lyxtext.h:
3423         * output_latex.C:
3424         * paragraph_funcs.C:
3425         * text.C:
3426         * text2.C: use Inset::getText instead of Inset::getParagraph
3427
3428 2003-12-03  André Pönitz  <poenitz@gmx.net>
3429
3430         * buffer.[Ch]:
3431         * lyxtext.h:
3432         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3433         InsetText::read() as LyXText::read()
3434
3435 2003-12-02  Angus Leeming  <leeming@lyx.org>
3436
3437         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3438         type. Add a comment in the implementation that the function uses
3439         the stream's bad() function rather than fail() as the std::streams
3440         would do.
3441
3442 2003-12-02  André Pönitz  <poenitz@gmx.net>
3443
3444         * lyxlex.[Ch]: make interface more similar to std::stream
3445
3446         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3447
3448 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3449
3450         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3451
3452 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3453
3454         * vspace.[Ch]: remove VSpace::NONE
3455
3456 2003-12-01  André Pönitz  <poenitz@gmx.net>
3457
3458         * buffer.[Ch]:
3459         * lyxtext.h: move ParagraphList member to LyXText
3460         rename LyXText::ownerParagraphs to LyXText::paragraph
3461
3462         * CutAndPaste.C:
3463         * bufferview_funcs.C:
3464         * iterators.[Ch]:
3465         * lyx_cb.C:
3466         * paragraph.C:
3467         * rowpainter.C:
3468         * tabular.C:
3469         * text.C:
3470         * text2.C:
3471         * text3.C: adjust
3472
3473         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3474
3475         * undo.C: fix cursor positioning
3476
3477 2003-12-01  John Levon  <levon@movementarian.org>
3478
3479         * BufferView_pimpl.C: fix a crash on exit with
3480         a buffer open
3481
3482 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3483
3484         * BranchList.C: fix setSelected() method.
3485
3486 2003-11-28  André Pönitz  <poenitz@gmx.net>
3487
3488         * ParagraphParameters.[Ch]:
3489         * ParameterStruct.h: remove space above/below from Paragraph to
3490          InsetVSpace
3491
3492         * BufferView_pimpl.C:
3493         * factory.C:
3494         * lyxfunc.C:
3495         * lyxtext.h:
3496         * output_latex.C:
3497         * paragraph.C:
3498         * paragraph_funcs.C:
3499         * rowpainter.[Ch]:
3500         * text.C:
3501         * text2.C:
3502         * text3.C: adjust
3503
3504 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3505
3506         * factory.C: Syntax change for CharStyles
3507
3508 2003-11-28  André Pönitz  <poenitz@gmx.net>
3509
3510         * BufferView.[Ch]:
3511         * BufferView.[Ch]:
3512         * buffer.[Ch]:
3513         * buffer.[Ch]: move LyXText member
3514
3515 2003-11-28  André Pönitz  <poenitz@gmx.net>
3516
3517         * BufferView.[Ch]: make LyXText * text a private member
3518
3519         * BufferView_pimpl.C:
3520         * cursor.C:
3521         * iterators.C:
3522         * lyx_cb.C:
3523         * lyxfind.C:
3524         * lyxtext.h:
3525         * rowpainter.[Ch]:
3526         * text.C:
3527         * text2.C:
3528         * undo.C: adjust
3529
3530         * output_plaintext.C: cleanup
3531
3532 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3533
3534         * buffer.C:
3535         * lyxtextclass.[Ch]: parametrize SGML document header
3536
3537 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3538
3539         * converter.[Ch]:
3540         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3541         getFlavor().
3542
3543 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3544
3545         * text2.C (setFont): rework using PosIterator (no more recursive)
3546         (setCharFont): no more needed
3547         (setLayout): no more selection cursors fiddling (done by redoCursor)
3548         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3549         destroy remaining ones)
3550
3551 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3552
3553         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3554         * lyxtext.h: ditto
3555         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3556         selection cursors
3557         * lyxfunc.C: adjust
3558         * text3.C: adjust + re-allow multi par depth changes
3559         * textcursor.C: simplify a bit
3560
3561 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3562
3563         * src/buffer.C:
3564         * src/lyxlayout.C:
3565         * src/lyxlayout.h:
3566         * src/lyxtext.h:
3567         * src/output_docbook.C:
3568         * src/output_latex.C:
3569         * src/paragraph.C:
3570         * src/paragraph.h:
3571         * src/sgml.C:
3572         * src/sgml.h:
3573         * src/text2.C: Introducing a number of tags parametrizing various
3574         XML formats that we may want to support
3575
3576 2003-11-25  André Pönitz  <poenitz@gmx.net>
3577
3578         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3579
3580         * lyxtext.h (leftMargin/rightMargin): simplify interface
3581
3582         * rowpainter.C:
3583         * text.C:
3584         * text2.C:
3585         * text3.C: adjust
3586
3587 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3588
3589         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3590         master file to any child files. Fixes bug 546.
3591
3592 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3593
3594         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3595
3596 2003-11-24  André Pönitz  <poenitz@gmx.net>
3597
3598         * rowpainter.C: simplification
3599
3600         * text2.C (updateCounters): remove call to redoParagraph on
3601         changed labels as this is far too expensive.
3602
3603 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3604
3605         * converter.C (convert): fix a crash: this function gets
3606         called with buffer == 0 from importer code.
3607
3608 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3609
3610         * text3.C (cursorPrevious): make sure that we do not compare
3611         iterators form different containers.
3612         (cursorNext): ditto
3613
3614         * rowpainter.C (paintSelection): make sure that we do not compare
3615         iterators from different containers.
3616
3617         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3618         iterators from different ParagraphList containers.
3619         [NEXT] ditto
3620
3621         * text2.C (LyXText): change order of initialization slightly
3622         (operator=): new function. copy all variables except cache_par_
3623         (moveUp): make sure that we do not compare iterators from
3624         different ParagraphList constainers.
3625         (moveDown): ditto
3626
3627         * text.C (firstPar): new function
3628         (lastPar): new function
3629         (endPar): new function
3630
3631         * lyxtext.h: move things around and group public functions, public
3632         variables, private functions, private variables
3633
3634 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3635
3636         * factory.C: change call to InsetERT constructor to avoid
3637         additional invocation of method status
3638         * text2.C (toggleInset): remove redundant update() call
3639         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3640         instead of a Bufferview pointer
3641
3642 2003-11-21  André Pönitz  <poenitz@gmx.net>
3643
3644         * rowpainter.C: simplification
3645
3646 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3647
3648         * text3.C (dispatch): make possible to extend a word/row selection
3649         with the mouse
3650
3651 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3652
3653         * lyxtext.h: x0_,y0_ -> xo_,yo_
3654         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3655         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3656         * rowpainter.C (paintRows): paint full paragraphs
3657
3658 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3659
3660         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3661         screen coordinates)
3662
3663 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3664
3665         * lyxtext.h: add x0_, y0_
3666         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3667         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3668
3669 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3670
3671         * text2.C (setCursorIntern): move the x_target update here *
3672         * text3.C: change some bv() to true/false in calls to
3673         cursorUp/Down/Right/Left
3674         * cursor.C: use helper function.
3675
3676 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3677
3678         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3679         * paragraph_funcs.[Ch]: correct comment
3680         * rowpainter.C: do not paint selections away from bv->cursor()
3681         Fix a long standing selection painting bug.
3682         * text3.C: generalize mouse-selection code to LyXTexts other that
3683         top one
3684         * textcursor.C: do not use y coords if we can use par offsets
3685
3686 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3687
3688         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3689         cursor position after e.g. inset insert)
3690
3691 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3692
3693         * lyxfind.C (replace): adjust to locking removal + some
3694         code simplification
3695
3696 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3697
3698         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3699         of the path
3700
3701 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3702
3703         * lyxlayout.[Ch]:
3704         * output_docbook.C: XML sanitation: new layout
3705         parameters InnerTag and CommandDepth
3706
3707 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3708
3709         * BufferView_pimpl.C:
3710         * factory.C:
3711         * text3.C: Fix the insertion and modification of button-style
3712         insets
3713
3714 2003-11-13  André Pönitz  <poenitz@gmx.net>
3715
3716         * InsetList.[Ch]: remove deleteLyXText
3717
3718         * paragraph.[Ch]: cache beginOfBody position
3719
3720         * Bidi.C:
3721         * text.C:
3722         * text2.C:
3723         * text3.C: remove superfluous update() calls
3724
3725         * vspace.C: cleanup
3726
3727 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3728
3729         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3730         * BufferView.C (fitLockedInsetCursor): remove
3731         * cursor.[Ch] (getDim): add
3732         * text.C (getRowNearY): add faster version
3733         * text3.C: remove some update calls
3734
3735 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3736
3737         * LaTeXFeatures.C:
3738         * LyXAction.C:
3739         * MenuBackend.C:
3740         * MenuBackend.h:
3741         * dispatchresult.h:
3742         * factory.C:
3743         * lfuns.h:
3744         * lyxfunc.C:
3745         * lyxtextclass.C:
3746         * lyxtextclass.h:
3747         * text3.C: The Character Style /XML short element patch.
3748
3749 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3750
3751         * text3.C:
3752         * factory.C: Small step to solving 'unable to insert some insets'
3753         problem
3754
3755 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3756
3757         * cursor.[Ch] (updatePos): new function for updating the y
3758         position of the tip inset
3759         * bufferview_funcs.C (put_selection_at):
3760         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3761
3762 2003-11-11  André Pönitz  <poenitz@gmx.net>
3763
3764         * text.C: remove big comment on invalid Paragraph pointers as it is
3765         not valid anymore
3766
3767 2003-11-11  André Pönitz  <poenitz@gmx.net>
3768
3769         * text_funcs.[Ch]: merge with ...
3770
3771         * text.C: ... this
3772
3773         * lyxtext.h:
3774         * text2.C:
3775         * text3.C: adjust
3776
3777         * Makefile.am: remove text_funcs.[Ch]
3778
3779 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3780
3781         * cursor.C (getPos): return absolute cached y coord
3782
3783         * BufferView_pimpl.C (fitCursor): new simplistic code
3784         (workAreaDispatch): add a fitCursor call
3785
3786 2003-11-10  André Pönitz  <poenitz@gmx.net>
3787
3788         * BufferView.[Ch]:
3789         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3790
3791 2003-11-10  André Pönitz  <poenitz@gmx.net>
3792
3793         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3794         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3795         indicate that the cursor needs to leave an inset
3796
3797         * lyxtext.h: remove inset locking
3798
3799         * cursor.[Ch]: re-implement functionality provided by inset locking
3800
3801         * BufferView.[Ch]:
3802         * BufferView_pimpl.[Ch]:
3803         * LyXAction.C:
3804         * bufferview_funcs.[Ch]:
3805         * factory.C:
3806         * funcrequest.[Ch]:
3807         * iterators.C:
3808         * lyx_cb.C:
3809         * lyxfind.C:
3810         * lyxfunc.C:
3811         * text.C:
3812         * text2.C:
3813         * text3.C:
3814         * undo.C: adjust
3815
3816 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3817
3818         * PosIterator.[Ch]: replace the stack with a vector, add inset
3819         accesor
3820         * iterators.[C]: adjust
3821
3822 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3823
3824         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3825         replaced
3826         * paragraph_funcs.C (readParToken): put the correct id in the
3827         error item, not the id of the top paragraph
3828
3829 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3830
3831         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3832         * bufferview_funcs.C (put_selection_at): use the above
3833
3834 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3835
3836         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3837
3838 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3839
3840         * output_linuxdoc.h:
3841         * output_plaintext.h:
3842         * output.h:
3843         * output_docbook.h: add #include statements
3844
3845 2003-11-05  José Matos  <jamatos@lyx.org>
3846
3847         * output_docbook.[Ch]:
3848         * output_latex.[Ch]:
3849         * output_linuxdoc.[Ch]:
3850         * output_plaintext.[Ch]: New files for output formats.
3851         * output.[Ch]: New file for helper functions.
3852
3853         * buffer.[Ch]:
3854         * paragraph_funcs.[Ch]: output functions moved to new files.
3855
3856         * outputparams.h: rename of latexrunparams.h
3857
3858         * LaTeX.[Ch]:
3859         * buffer.[Ch]:
3860         * bufferlist.[Ch]:
3861         * converter.[Ch]:
3862         * exporter.C:
3863         * paragraph.[Ch]:
3864         * paragraph_funcs.[Ch]:
3865         * paragraph_pimpl.[Ch]:
3866         * tabular.[Ch]: rename ascii to plaintext
3867         and LatexRunParams to OutputParams.
3868
3869 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3870
3871         * iterators.[Ch] (text): require bv argument
3872         * undo.C (recordUndo):
3873         * lyxfunc.C (dispatch):
3874         * bufferview_funcs.C (put_selection_at): adjust
3875
3876 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3877
3878         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3879
3880 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3881
3882         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3883         nestings
3884
3885 2003-11-04  André Pönitz  <poenitz@gmx.net>
3886
3887         * cursor.[Ch]: restructure
3888
3889         * BufferView.[Ch]:
3890         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3891
3892         * iterators.[Ch] (asCursor): remove
3893
3894         * lfuns.h: remove LFUN_INSET_EDIT
3895
3896         * lyxfunc.C:
3897         * tabular.C:
3898         * text.C:
3899         * text2.C:
3900         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3901
3902 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3903
3904         * lyxfind.[Ch]: complete overhaul
3905         * BufferView_pimpl.C:
3906         * lyxfunc.C: adjust
3907         * paragraph.[Ch] (insert): add
3908
3909 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3910
3911         * BufferView.[Ch]:
3912         * lyxtext.h:
3913         * text.C: remove dead spellcheck code
3914
3915 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3916
3917         * dispatchresult.h: add a val setter
3918
3919         * cursor.C (dispatch): use a tempvar for data_[i]
3920
3921 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3922
3923         * PosIterator.[Ch]: compile fix
3924
3925 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3926
3927         * text.C (cursorPar): deactivate the cursor cache
3928
3929 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3930
3931         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3932
3933 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3934
3935         * text3.C (dispatch): adjust for new DisptchResult semantics.
3936
3937         * lyxfunc.C (dispatch): handle update when return from
3938         Cursor::dispatch, adjust for new DispatchResult semantics.
3939
3940         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3941         DispatchResult(true) mean to not update. Add class functions for
3942         setting dispatched and update, as well as reading.
3943
3944         * cursor.C (dispatch): don't handle update here
3945
3946 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3947
3948         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3949         * trans_mgr.C: adjust
3950
3951         * paragraph_funcs.C (readParToken): exception safety
3952
3953         * lyxvc.h: store the vcs pointer in a scoped_ptr
3954         * lyxvc.C: adjust
3955
3956         * lyxsocket.C (serverCallback): exception safety
3957
3958         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3959
3960         * ispell.C (clone): make it return a auto_ptr
3961
3962         * factory.C (createInset): exception safety
3963         (readInset): exception safety
3964
3965         * bufferlist.C (newBuffer): exception safety
3966
3967         * Thesaurus.C (Thesaurus): use initialization for aik_
3968
3969         * MenuBackend.C (expandToc): exception safety.
3970
3971 2003-11-03  André Pönitz  <poenitz@gmx.net>
3972
3973         * buffer.C:
3974         * buffer.h:
3975         * bufferview_funcs.C: remove getInsetFromId()
3976
3977         * lyxcursor.[Ch]:
3978         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3979
3980         * lyxfunc.C:
3981         * text2.C:
3982         * text3.C: adjust
3983
3984 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3985
3986         * PosIterator.C (distance, advance): new
3987         * bufferview_funcs.[Ch] (put_selection_at): new
3988         * iterators.[Ch] (lockPath): new
3989
3990 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3991
3992         * iterators.[Ch] (asPosIterator): added
3993         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3994         * PosIterator.[Ch]: added
3995
3996 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3997
3998         * text3.C:
3999         * lyxfunc.C:
4000         * cursor.C (dispatch):
4001         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4002
4003         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4004         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4005         contructor, add a class function dispatched. Remove operator>=
4006
4007 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4008
4009         * debug.C: only use the default constructor for debugstream
4010         (lyxerr) here.
4011
4012         * main.C (main): include debug.h and setup the lyxerr streambuf
4013         here.
4014
4015 2003-10-31  José Matos  <jamatos@lyx.org>
4016
4017         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4018
4019         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4020         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4021         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4022         * paragraph_pimpl.C (simpleTeXSpecialC):
4023         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4024         add LatexRunParams argument.
4025
4026         * exporter.C (Export): change call accordingly.
4027
4028         * latexrunparams.h: add new member to take care of the other backends.
4029 2003-10-30  José Matos  <jamatos@lyx.org>
4030
4031         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4032         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4033         factorise code for paragraph output.
4034         * buffer.[Ch]:
4035         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4036         move functions.
4037
4038 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4039
4040         * text3.C (dispatch):
4041         * lyxfunc.C (dispatch):
4042         * cursor.C (dispatch):
4043         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4044
4045         * dispatchresult.h: make the dispatch_result_t ctor explicit
4046
4047 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4048
4049         * sgml.[Ch]:
4050         * buffer.C: small refactoring of docbook stuff
4051
4052 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4053
4054         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4055         meaning.
4056
4057 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4058
4059         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4060         operator dispatch_result_t, and operators for == != and >=
4061
4062         * cursor.C (dispatch): adjust for operator dispatch_result_t
4063         removal. comment out call to update
4064
4065         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4066
4067 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4068
4069         * text3.C:
4070         * text2.C:
4071         * text.C:
4072         * lyxtext.h:
4073         * lyxfunc.C:
4074         * cursor.C:
4075         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4076         (dispatch):
4077
4078         * dispatchresult.h: new file, DispatchResult broken out of
4079         insets/insetbase.h
4080
4081         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4082
4083 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4084
4085         * text.C (rowBreakPoint): put a hack inside #if 0
4086
4087 2003-10-28  André Pönitz  <poenitz@gmx.net>
4088
4089         * lyxtext.h:
4090         * metricsinfo.C:
4091         * paragraph_funcs.C:
4092         * rowpainter.C:
4093         * text.C:
4094         * text2.C: general cleanup (lots of small stuff)
4095
4096 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4097
4098         * text2.C (cursorEnd): simple fix to the "end key goes to one
4099         before the end on last row" bug
4100
4101 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4102
4103         * text.C (backspace): fix the "zombie characters"
4104
4105 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4106
4107         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4108
4109 2003-10-27  André Pönitz  <poenitz@gmx.net>
4110
4111         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4112
4113         * factory.C: handle new InsetPagebreak, InsetLine
4114
4115         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4116         and move handling into new InsetPagebreak, InsetLine
4117
4118         * BufferView_pimpl.C:
4119         * LyXAction.C:
4120         * ParagraphParameters.C:
4121         * ParameterStruct.h:
4122         * lyxfunc.C:
4123         * lyxtext.h:
4124         * paragraph.C:
4125         * paragraph.h:
4126         * paragraph_funcs.C:
4127         * paragraph_pimpl.C:
4128         * rowpainter.C:
4129         * text.C:
4130         * text2.C:
4131         * text3.C: adjust
4132
4133 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4134
4135         * text.C:
4136         * lyxrow_funcs.[Ch]:
4137         * Bidi.C:
4138         * paragraph.C:
4139         * lyxtext.h:
4140         * rowpainter.C:
4141         * text2.C:
4142         * text3.C: remove lastPos uses in favour of Row::endpos
4143
4144 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4145
4146         * undo.C (performUndoOrRedo): fix two crashes by setting a
4147         cursor by hand and reordering some calls. Use bv->lockInset instead
4148         of inset->edit because the latter loses cursor information
4149
4150 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4151
4152         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4153         by Martin
4154         (rowBreakPoint): fix width. change point to point + 1.
4155         Add a missing check.
4156
4157 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4158
4159         * MenuBackend.C:
4160         * lyxfunc.C: fix (at least partly) the problems
4161         with the Nav menu and headers inside branch insets
4162         reported by Kayvan
4163
4164 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4165
4166         * paragraph.C (getChar): add strong asserts
4167
4168         * lyxrow_funcs.C (lastPos): remove hideous hack
4169
4170         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4171         (fill): adjust to that (avoid an infinite loop)
4172
4173 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4174
4175         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4176
4177 2003-10-23  André Pönitz  <poenitz@gmx.net>
4178
4179         * RowList_fwd.h: change list<> to vector<> to gain speed
4180         after suggestion from Alfredo
4181
4182 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4183
4184         * lyxtext.h: move the bidi stuff from here...
4185         * text.C: and here
4186         * text2.C: and here
4187         * Bidi.[Ch]: ... to here
4188
4189 2003-10-23  André Pönitz  <poenitz@gmx.net>
4190
4191         * lyxtext.h:
4192         * text.C (isLastRow, isFirstRow): new functions
4193
4194         * paragraph.h: new width cache member
4195
4196         * rowpainter.C: replace RowList::iterator with Row & where possible
4197
4198         * lyxfunc.C: replace several view()->text with a single call
4199
4200         * toc.C: fix 'unused' warning
4201
4202 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4203
4204         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4205         when woring with stream::pos_type
4206         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4207
4208 2003-10-22  André Pönitz  <poenitz@gmx.net>
4209
4210         * lyxtext.h:
4211         * text.C: use Row & instead of RowList::iterator
4212
4213         * lyxrow.h: rename end() to endpos()
4214
4215         * rowpainter.C:
4216         * text.C:
4217         * text2.C: adjust
4218
4219 2003-10-22  Angus Leeming  <leeming@lyx.org>
4220
4221         * buffer.[Ch] (fully_loaded): new member function, returning true
4222         only when the file has been loaded fully.
4223         Used to prevent the premature generation of previews and by the
4224         citation inset to prevent computation of the natbib-style label.
4225
4226         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4227         templates are all set up.
4228
4229         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4230
4231 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4232
4233         * text.C: fixed an "oops" in the "is a bit silly"
4234         bug fix
4235
4236 2003-10-21  André Pönitz  <poenitz@gmx.net>
4237
4238         * FuncStatus.[Ch]: small stuff, whitespace
4239
4240         * lyxfont.[Ch]: operator<<() for debug reasons
4241
4242         * lyxfunc.C:
4243         * lyxrow_funcs.C:
4244         * lyxtext.h: whitespace, spelling
4245
4246         * paragraph.C: naming of variables
4247
4248         * text.C:
4249         * text2.C: small stuff
4250
4251
4252 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4253
4254         * text.C: (1) finish off the inset display() work;
4255         (2) fix the "is a bit silly" bug (accessing char
4256         past end of par).
4257
4258 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4259
4260         * text.C: re-introduce display() for insets, fixing the
4261         various bugs (stretch of line above, math inset
4262         positioning, ...)
4263
4264 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4265
4266         * text.C (rightMargin): remove spurious semicolon
4267
4268         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4269         1415)
4270
4271 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4272
4273         * text3.C: fix one crash due to wrong cursor def
4274
4275 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4276
4277         * vc-backend.C (scanMaster): make the regex static
4278
4279         * LaTeX.C (scanAuxFile): make the regexs static
4280
4281         * text3.C (doInsertInset, dispatch, dispatch):
4282         * text2.C (cursorUp, cursorDown):
4283         * text.C (selectNextWordToSpellcheck):
4284         * BufferView_pimpl.C (dispatch):
4285         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4286
4287 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4288
4289         * lyxsocket.C: include <cerrno>
4290
4291 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4292
4293         * lyxfunc.C (dispatch): remove textcache stuff
4294
4295         * bufferlist.C (release): remove textcache stuff
4296         (closeAll): ditto
4297
4298         * TextCache.C: delete file
4299         * TextCache.h: delete file
4300
4301         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4302
4303         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4304         delete of the bv_->text.
4305         (resizeCurrentBuffer): remove texcache stuff
4306         (workAreaResize): ditto
4307
4308 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4311         action.
4312
4313 2003-10-16  André Pönitz  <poenitz@gmx.net>
4314
4315         * lyxrow.[Ch]:
4316         * paragraph.h:
4317         * rowpainter.C:
4318         * text.C:
4319         * text2.C:
4320         * text3.C: speed up by storing y positions per paragraph plus per-row
4321         offset instead of having a 'full' y position in the row.
4322
4323 2003-10-15  André Pönitz  <poenitz@gmx.net>
4324
4325         * iterators.[Ch]:
4326         * iterators.[Ch]:
4327         * undo.[Ch]: make undo aware of inner insets
4328
4329 2003-10-14  Angus Leeming  <leeming@lyx.org>
4330
4331         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4332         static member functions LyX::ref() and LyX::cref.
4333         (lastfiles): new accessor functions for the new lastfiles_ member var.
4334         (addLyXView, views_): add a new LyXView to the list of views_.
4335         (updateInset): loop over all LyXViews to call their own updateInset
4336         member function, returning a pointer to the Buffer owning the inset.
4337
4338         * BufferView_pimpl.C (loadLyXFile):
4339         * MenuBackend.C (expandLastfiles):
4340         * bufferlist.C (MenuWrite, QuitLyX):
4341         lastfiles is no longer a global variable.
4342         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4343
4344         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4345         static function. Access through LyX::cref().emergencyCleanup().
4346
4347 2003-10-14  André Pönitz  <poenitz@gmx.net>
4348
4349         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4350
4351         * undo.[Ch]: restoring part of 'undo in insets'
4352
4353         * Makefile.am:
4354         * undo_funcs.[Ch]: merge with undo.[Ch]
4355
4356         * tabular.C: small cleansing stuff
4357
4358 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4359
4360         * paragraph_funcs.C (readParToken): report unknown insets as error
4361         boxes. Use the outer paragraph as location (also for unknown
4362         tokens).
4363
4364         * factory.C (readInset): do not abort on reading an unknown inset.
4365         Eat it and return 0.
4366
4367 2003-10-13  Angus Leeming  <leeming@lyx.org>
4368
4369         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4370
4371         * lyxrc.C: displayTranslator is now a function,
4372         declared in GraphicsTypes.h.
4373
4374 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4375
4376         * format.C: new placeholder $$a to pass the socket address.
4377
4378         * bufferlist.[Ch]: new function getBufferFromTmp.
4379
4380         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4381           files in the temporary dir.
4382
4383 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4384
4385         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4386
4387         * Makefile.am: add lyxsocket.[Ch].
4388
4389         * lyx_main.C (error_handler): handle SIGPIPE.
4390
4391 2003-10-13  André Pönitz  <poenitz@gmx.net>
4392
4393         * BufferView_pimpl.C:
4394         * lyxtext.h:
4395         * text.C:
4396         * text2.C:
4397         * text3.C:
4398         * undo_funcs.[Ch]: use paroffset_type instead of
4399           ParagraphList::iterators to prevent multiple conversion
4400           (and get a more robust interface)
4401
4402 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4403
4404         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4405         * lyxtext.h: ditto
4406         * text3.C (dispatch): ditto
4407
4408 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4409
4410         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4411         move the onlyfile, use onlyfile instead of foundfile in a couple
4412         of places.
4413
4414         * DepTable.C (update): flush the error stream a bit more
4415
4416 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4417
4418         * lyxserver.C (callback): adjust
4419
4420         * lyxfunc.C (getStatus): add a missing brace in commented code
4421         (ensureBufferClean): reindent
4422         (dispatch): delete version taking a string
4423
4424 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4425
4426         * LaTeX.C (deplog): move found file handlig from here...
4427         (handleFoundFile): .. to new function here.
4428         (deplog): make sure to discover several files mentioned on the
4429         same log line.
4430
4431 2003-10-10  André Pönitz  <poenitz@gmx.net>
4432
4433         * lyxfunc.C:
4434         * lyxtext.h:
4435         * tabular.C:
4436         * text.C:
4437         * text2.C:
4438         * text3.C: fix some of the tabular crashes
4439
4440 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4441
4442         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4443
4444         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4445
4446 2003-10-09  André Pönitz  <poenitz@gmx.net>
4447
4448         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4449
4450         * BufferView.C:
4451         * BufferView_pimpl.C:
4452         * bufferview_funcs.C:
4453         * lyx_cb.C:
4454         * lyxcursor.C:
4455         * lyxfind.C:
4456         * lyxfunc.C:
4457         * lyxtext.h:
4458         * text.C:
4459         * text2.C:
4460         * text3.C:
4461         * text_funcs.[Ch]:
4462         * textcursor.[Ch]:
4463         * undo_funcs.C: adjust
4464
4465 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4466
4467         * text2.C (incrementItemDepth): new function, use a backtracking
4468         algorithm to discover the correct item depth.
4469         (resetEnumCounterIfNeeded): new function, use a backtracking
4470         algorithm to discover if counter reset is needed.
4471         (setCounter): use them. Simplify a bit. Add different labels for
4472         different item depths for itemize.
4473
4474         * paragraph.C (Paragraph): remove initialization of enumdepth
4475         (operator=): ditto
4476
4477         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4478         enumerate and itemize. Change the type of itemdepth to signed char.
4479
4480 2003-10-08  André Pönitz  <poenitz@gmx.net>
4481
4482         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4483           thing assignable.
4484         * text.C:
4485         * text2.C: adjust
4486
4487         * tabular.[Ch]: fix crash after 'row-insert'
4488
4489 2003-10-08  Angus Leeming  <leeming@lyx.org>
4490
4491         Fix doxygen warnings.
4492
4493         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4494         Remove CutAndPaste:: prefix from header file declaration.
4495
4496         * LColor.h (fill): remove LColor:: prefix from declaration.
4497
4498         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4499         use lyx::depth_type rather than Paragraph::depth_type so that
4500         header file and .C file match.
4501
4502         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4503
4504         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4505         * aspell.C: \file aspell_local.C -> \file aspell.C
4506         * gettext.C: \file gettext.C -> \file src/gettext.C
4507         * gettext.h: \file gettext.h -> \file src/gettext.h
4508         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4509         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4510         * text.C: \file text.C -> \file src/text.C
4511
4512         * toc.C: move comment so that doxygen is not confused.
4513
4514 2003-10-07  Angus Leeming  <leeming@lyx.org>
4515
4516         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4517
4518 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4519
4520         * aspell.C:
4521         * aspell_local.h: add forgotten std::string's.
4522
4523 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4524
4525         * LaTeXFeatures.C:
4526         * LyXAction.C:
4527         * factory.C:
4528         * lfuns.h:
4529         * lyxfunc.C:
4530         * text3.C: The Box patch. Fancybox support, minipage, parbox
4531
4532 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4533
4534         * CutAndPaste.h:
4535         * DepTable.h:
4536         * FloatList.h:
4537         * LaTeXFeatures.h:
4538         * ParagraphParameters.h:
4539         * TextCache.h:
4540         * Thesaurus.h:
4541         * bufferlist.h:
4542         * exporter.h:
4543         * importer.h:
4544         * lastfiles.h:
4545         * lyxfind.h:
4546         * lyxfont.h:
4547         * lyxlex.h:
4548         * lyxtextclasslist.h:
4549         * messages.h:
4550         * paragraph.h:
4551         * paragraph_pimpl.C:
4552         * textcursor.h: add <string> and other small fixes to make Lars'
4553         std::string patch compile with STLport.
4554
4555 2003-10-06  Angus Leeming  <leeming@lyx.org>
4556
4557         * LColor.h: Add missing #include <string>.
4558
4559 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4560
4561         * All most all file in all subdirs: Make <string> be the prefered
4562         way of getting to std::string, add using declarations.
4563
4564 2003-10-06  André Pönitz  <poenitz@gmx.net>
4565
4566         * metricsinfo.C: initialize LyXFont before changing attribute.
4567         (fixes the 'math in \emph is upright' bug)
4568
4569 2003-10-06  André Pönitz  <poenitz@gmx.net>
4570
4571         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4572
4573 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4574
4575         * graph.C:
4576         * paragraph_pimpl.C: Small fixes to build using STLport
4577
4578 2003-10-02  André Pönitz  <poenitz@gmx.net>
4579
4580         * lyxfunc.C:
4581         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4582
4583 2003-10-01  André Pönitz  <poenitz@gmx.net>
4584
4585         * factory.C: assert early
4586
4587 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4588
4589         * lyx_main.C: remove the global debug object
4590
4591         * debug.h: adjust for new debugstream
4592
4593         * debug.C: adjust for new debugstream and keep the global debug
4594         object here.
4595
4596 2003-09-22  Angus Leeming  <leeming@lyx.org>
4597
4598         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4599         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4600         an incomplete class LyXFont.
4601
4602 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4603
4604         * factory.C: bug fix in branches
4605
4606 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4607
4608         * lyxfunc.C (processKeySym): adjust
4609         (dispatch): adjust
4610         (dispatch): change arg name from ev to func, adjust
4611         (sendDispatchMessage): ditto
4612
4613         * lyx_main.C (defaultKeyBindings): adjust keybindings
4614         (deadKeyBindings): ditto
4615
4616         * kbsequence.C (addkey): return a FuncRequest
4617
4618         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4619
4620         * kbmap.C (bind): take a FuncRequest as arg, adjust
4621         (read): adjust
4622         (lookup): adjust
4623         (defkey): change to take a FuncRequest as arg, adjust
4624         (findbinding): take a FuncRequest as arg, adjust.
4625
4626         * funcrequest.h (operator=): added
4627
4628         * funcrequest.C (FuncRequest): default kb_action changed from
4629         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4630
4631         * buffer.C (dispatch): simplify
4632         (dispatch): adjust to take a FuncRequest as arg, adjust
4633
4634         * boost.C (assertion_failed): change assertion message slightly
4635
4636         * ToolbarBackend.C (read): simplify
4637
4638         * MenuBackend.C (binding): adjust call to findbinding, add a
4639         message if no binding is found.
4640         (read): simplify
4641         (expandToc): correct by adding a empty FuncRequest
4642
4643         * LyXAction.C: include <boost/assert.hpp>
4644         (isPseudoAction): delete function
4645         (LookupFunc): change name to...
4646         (lookupFunc): this. change return type to FuncRequest.
4647         (getActionName): take kb_action as arg, simplify
4648         (funcHasFlag): add an assert, simplify.
4649
4650 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4651
4652         * toc.C (action): return a FuncRequest, simplify
4653
4654         * lyxfunc.C (processKeySym): adjust
4655         (getStatus): delete version that takes an int.
4656         (getStatus): adjust
4657         (dispatch): delete version that takes action as int
4658         (dispatch): adjust
4659         (sendDispatchMessage): simplify and adjust
4660
4661         * funcrequest.C (getArg): take unsigned int as arg
4662
4663         * ToolbarBackend.C (read): adjust
4664         (add): delete version that takes func as a string.
4665         (getIton): take a FuncRequest as arg
4666
4667         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4668         action.
4669
4670         * MenuBackend.C (MenuItem): add a new construct that only takes a
4671         Kind, simplify the constructor use for submenus.
4672         (add): adjust
4673         (expandLastfiles): adjust
4674         (expandDocuments): adjust
4675         (expandFormats): adjust
4676         (expandFloatListInsert): adjust
4677         (expandFloatInsert): adjust
4678         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4679
4680         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4681         Remove class variables lyx_pseudo_map and lyx_arg_map
4682
4683         * LyXAction.C (searchActionArg): delete function
4684         (getPseudoAction): delete function
4685         (retrieveActionArg): delete function
4686         (LookupFunc): make it return kb_action, simplify.
4687         (getActionName): simplify
4688
4689         * factory.C (createInset): fix new bug
4690
4691 2003-09-19  Angus Leeming  <leeming@lyx.org>
4692
4693         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4694         masterFilename_ parameter in the include inset.
4695
4696         * factory.C (createInset): changes due to the changes to InsetInclude.
4697
4698 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4699
4700         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4701
4702 2003-09-18  Angus Leeming  <leeming@lyx.org>
4703
4704         * buffer.C:
4705         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4706         Inset::fillWithBibKeys.
4707         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4708
4709 2003-09-18  Angus Leeming  <leeming@lyx.org>
4710
4711         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4712         variables.
4713         (ctor): pass and store a 'Buffer const &'
4714         (buffer): new member function.
4715
4716         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4717         '*this' to the LaTeXFeatures ctor.
4718
4719 2003-09-18  Angus Leeming  <leeming@lyx.org>
4720
4721         * LColor.h:
4722         * lyxfont.C:
4723         * lyxfont.h:
4724         * lyxtext.h:
4725         * text.C: rename EnumLColor as LColor_color.
4726
4727 2003-09-18  Angus Leeming  <leeming@lyx.org>
4728
4729         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4730         remove #include "insets/insetbase.h" from cursor.h.
4731
4732 2003-09-18  Angus Leeming  <leeming@lyx.org>
4733
4734         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4735         InsetOld_code to remove #include "inset.h".
4736
4737         * iterators.C: add #include "insets/inset.h"
4738
4739 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4740
4741         * BufferView.C: remove more locking stuff that apparently doesn't
4742         do anything sensible.
4743
4744 2003-09-16  André Pönitz  <poenitz@gmx.net>
4745
4746         * paragraph.[Ch]:
4747         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4748           performance boost.
4749
4750 2003-09-16  Angus Leeming  <leeming@lyx.org>
4751
4752         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4753
4754         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4755         arg/return type.
4756
4757         * paragraph.h: remove #include "lyxfont.h". Forward declare
4758         LyXFont_size.
4759
4760 2003-09-16  Angus Leeming  <leeming@lyx.org>
4761
4762         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4763         of support/textutils.h.
4764         (isWord): move the contents of support/textutils.h's IsWordChar here.
4765
4766         * buffer.C:
4767         * lyxfind.C:
4768         * rowpainter.C:
4769         * text.C:
4770         * text2.C: add #include "paragraph.h".
4771
4772         * rowpainter.C:
4773         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4774
4775 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4776
4777         * main.C:
4778         * lyx_main.C:
4779         * lyx_cb.C:
4780         * buffer.C:
4781         * LaTeX.C: use namespace alias for lyx::support::os
4782
4783 2003-09-16  Angus Leeming  <leeming@lyx.org>
4784
4785         * bufferparams.C:
4786         * bufferview_funcs.C:
4787         * factory.C:
4788         * lyxfunc.C:
4789         * paragraph_pimpl.C:
4790         * rowpainter.C:
4791         * text.C: add #include "LColor.h".
4792
4793 2003-09-16  Angus Leeming  <leeming@lyx.org>
4794
4795         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4796         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4797         return LyXFont &.
4798         Store the FontBits::color variable as an int rather than as an
4799         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4800         file.
4801
4802         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4803         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4804         string calls together.
4805
4806         * lyxrc.C: add #include "LColor.h".
4807
4808 2003-09-15  Angus Leeming  <leeming@lyx.org>
4809
4810         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4811         a cow_ptr.
4812
4813 2003-09-15  Angus Leeming  <leeming@lyx.org>
4814
4815         * LColor.h: add an EnumLColor wrapper for LColor::color.
4816
4817         * lyxfont.[Ch] (color, setColor, realColor):
4818         * lyxtext.h, text.C (backgroundColor):
4819         pass EnumLColor args to/from the functions, rather than LColor::color
4820         ones.
4821
4822         * lyxfont.h:
4823         * lyxtext.h: forward declare EnumLColor.
4824
4825         * lyx_main.C: add #include "LColor.h".
4826
4827 2003-09-15  Angus Leeming  <leeming@lyx.org>
4828
4829         * .cvsignore: add lyx-gtk.
4830
4831 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * Chktex.C
4834         * LaTeX.C
4835         * LaTeXFeatures.C
4836         * ParagraphParameters.C
4837         * Spacing.C
4838         * buffer.C
4839         * bufferparams.C
4840         * bufferview_funcs.C
4841         * chset.C
4842         * counters.C
4843         * funcrequest.C
4844         * lyxfont.C
4845         * lyxgluelength.C
4846         * lyxlength.C
4847         * paragraph.C
4848         * paragraph_funcs.C
4849         * text3.C
4850         * vc-backend.C: remove usage of STRCONV
4851
4852 2003-09-15  Angus Leeming  <leeming@lyx.org>
4853
4854         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4855         explicitly define the color passed to the painter.
4856
4857 2003-09-15  Angus Leeming  <leeming@lyx.org>
4858
4859         * bufferparams.C (BufferParams): reorder member initializers to avoid
4860         compiler warning.
4861
4862 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4863
4864         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4865         * text.C (updateRowPositions): remove an unusual nop
4866
4867 2003-09-12  André Pönitz  <poenitz@gmx.net>
4868
4869         * BufferView_pimpl.C:
4870         * Bullet.C:
4871         * layout.h:
4872         * lyxfunc.C:
4873         * lyxlayout.[Ch]:
4874         * lyxtextclass.C:
4875         * rowpainter.C:
4876         * text.C:
4877         * text2.C:
4878         * Counters.[Ch]: finish the 'automatic counters' job
4879
4880 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4881
4882         * aspell.C: include <boost/assert.cpp> (compile fix)
4883
4884 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4885
4886         * boost.C (assertion_failed): use lyx::support::abort instead of
4887         assert.
4888
4889 2003-09-10  Angus Leeming  <leeming@lyx.org>
4890
4891         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4892         with their _fwd progeny.
4893
4894 2003-09-09  Angus Leeming  <leeming@lyx.org>
4895
4896         134 files throughtout the source tree: replace 'using namespace abc;'
4897         directives with the appropriate 'using abc::xyz;' declarations.
4898
4899 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4900
4901         * boost.C (emergencyCleanup): moved here from LAssert.c
4902         (assertion_failed): new function, called by BOOST_ASSERT
4903
4904         * several files: change Assert to BOOST_ASSERT
4905
4906 2003-09-09  Angus Leeming  <leeming@lyx.org>
4907
4908         * buffer.[Ch]: Add an Impl class and move Buffer's member
4909         variables into it. As a result move several header files out of
4910         buffer.h.
4911
4912         Add header files to lots of .C files all over the tree as a result.
4913
4914 2003-09-09  Angus Leeming  <leeming@lyx.org>
4915
4916         * buffer.[Ch]: make Buffer's member variables private. Add
4917         accessor functions.
4918
4919         Lots of changes all over the tree as a result.
4920
4921 2003-09-08  Angus Leeming  <leeming@lyx.org>
4922
4923         * graph.C: #include <config.h>.
4924
4925 2003-09-08  Angus Leeming  <leeming@lyx.org>
4926
4927         * BranchList.C:
4928         * BufferView.C:
4929         * BufferView_pimpl.C:
4930         * CutAndPaste.C:
4931         * DepTable.C:
4932         * LaTeX.C:
4933         * LaTeXFeatures.C:
4934         * LyXAction.C:
4935         * MenuBackend.C:
4936         * TextCache.C:
4937         * aspell.C:
4938         * buffer.C:
4939         * bufferlist.C:
4940         * changes.C:
4941         * chset.C:
4942         * converter.C:
4943         * counters.C:
4944         * debug.C:
4945         * graph.C:
4946         * ispell.C:
4947         * lyx_cb.C:
4948         * lyxfind.C:
4949         * lyxfunc.C:
4950         * lyxlex_pimpl.C:
4951         * lyxrc.C:
4952         * lyxrow.C:
4953         * paragraph.C:
4954         * rowpainter.C:
4955         * texrow.C:
4956         * text.C:
4957         * text2.C:
4958         * toc.C: remove redundant using directives.
4959
4960 2003-09-07  Angus Leeming  <leeming@lyx.org>
4961
4962         * LaTeXFeatures.h: remove #include "support/types.h".
4963         * ToolbarBackend.h: remove #include <algorithm>.
4964         * changes.h: remove #include <ctime>.
4965         * debug.h: remove #include <iosfwd>.
4966         * graph.h: remove #include "support/std_string.h".
4967         * lyx_main.h: remove #include <csignal>.
4968         * lyxlex_pimpl.h: remove #include <fstream>.
4969         * sgml.h: remove #include <algorithm>, <utility>.
4970         * toc.h: remove #include "support/std_ostream.h".
4971         Add #include <iosfwd>.
4972
4973 2003-09-07  Angus Leeming  <leeming@lyx.org>
4974
4975         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4976
4977         * converter.h: forward declare LatexRunParams.
4978         * encoding.h: remove #include "lyxrc.h".
4979         * lyxtext.h: remove #include "LColor.h".
4980         * lyxtextclass.h: remove #include "support/types.h".
4981         * trans.h: remove #include "tex-accent.h".
4982         * trans_mgr.h: remove #include "tex-accent.h".
4983         * insets/inset.h: remove #include "support/types.h", <vector>.
4984         * insets/insetcollapsable.h: remove #include "LColor.h".
4985         * insets/insetinclude.h: remove #include "dimension.h".
4986         * insets/insetlatexaccent.h: remove #include "dimension.h".
4987         * insets/insetoptarg.h:: remove #include "insettext.h".
4988         * insets/insettext.h: remove #include "dimension.h",
4989         <boost/shared_ptr.hpp>
4990
4991         * insets/renderers.h: add #include "dimension.h".
4992         * insets/updatableinset.h: add #include "support/types.h".
4993
4994         * many .C files: Associated changes.
4995
4996 2003-09-06  Angus Leeming  <leeming@lyx.org>
4997
4998         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4999         one, inside testInvariant.
5000
5001         * PrinterParams.C: new file.
5002         * PrinterParams.[Ch]: move the function bodies out of line.
5003
5004 2003-09-06  Angus Leeming  <leeming@lyx.org>
5005
5006         * ParagraphParameters.h: forward declare ParameterStruct rather than
5007         including its header file.
5008         (depth): moved out-of-line.
5009
5010 2003-09-06  Angus Leeming  <leeming@lyx.org>
5011
5012         * BufferView_pimpl.h:
5013         * kbmap.h:
5014         * kbsequence.h:
5015         * lyxfunc.h: forward declare LyXKeySym rather than
5016         #include "frontends/LyXKeySym.h".
5017
5018         * BufferView_pimpl.C:
5019         * kbmap.C:
5020         * kbsequence.C:
5021         * lyxfunc.C: associated changes.
5022
5023 2003-09-06  Angus Leeming  <leeming@lyx.org>
5024
5025         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5026         As a result, can remove the #include "insets/inset.h" from BufferView.h
5027
5028 2003-09-06  Angus Leeming  <leeming@lyx.org>
5029
5030         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5031         As a result, can remove the #include "insets/inset.h" from BufferView.h
5032
5033 2003-09-06  Angus Leeming  <leeming@lyx.org>
5034
5035         * buffer_funcs.C:
5036         * buffer.h:
5037         * bufferlist.C:
5038         * BufferView.C:
5039         * bufferview_funcs.C:
5040         * BufferView_pimpl.C:
5041         * CutAndPaste.C:
5042         * lyx_cb.C:
5043         * lyxfunc.C:
5044         * paragraph.h:
5045         * ParagraphParameters.C:
5046         * tabular.C:
5047         * text3.C:
5048         * toc.C:
5049         * undo_funcs.C:
5050         * frontends/controllers/ControlDocument.C:
5051         * insets/insetcaption.C: rearrange the #includes into some sort of
5052         coherent order.
5053
5054         * buffer.h: remove #includes ErrorList.h, undo.h
5055
5056 2003-09-06  Angus Leeming  <leeming@lyx.org>
5057
5058         * support/types.h: add a 'depth_type' typedef, used to store the
5059         nesting depth of a paragraph.
5060
5061         * paragraph.h:
5062         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5063         defining explicitly.
5064
5065         * buffer.h:
5066         * paragraph_funcs.h:
5067         * ParagraphParameters.h:
5068         * sgml.h: use lyx::depth_type rather than Paragraph or
5069         ParameterStruct's depth_type.
5070
5071         * buffer.h
5072         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5073
5074         * BufferView.C:
5075         * BufferView_pimpl.C:
5076         * CutAndPaste.C:
5077         * ParagraphParameters.C:
5078         * buffer_funcs.C:
5079         * bufferlist.C:
5080         * bufferview_funcs.C:
5081         * lyx_cb.C:
5082         * lyxfunc.C:
5083         * tabular.C:
5084         * text3.C:
5085         * toc.C:
5086         * undo_funcs.C:
5087         * frontends/LyXView.C:
5088         * frontends/controllers/ControlDocument.C:
5089         * frontends/controllers/ControlErrorList.C:
5090         * insets/insetbibitem.C:
5091         * insets/insetbranch.C:
5092         * insets/insetcaption.C:
5093         * insets/insetcollapsable.C:
5094         * insets/insetenv.C:
5095         * insets/insetert.C:
5096         * insets/insetfloat.C:
5097         * insets/insetfoot.C:
5098         * insets/insetfootlike.C:
5099         * insets/insetnewline.C:
5100         * insets/insetquotes.C:
5101         * insets/insettabular.C:
5102         * insets/insettext.C:
5103         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5104
5105         * frontends/controllers/ControlChanges.C: #include "changes.h".
5106
5107 2003-09-06  Angus Leeming  <leeming@lyx.org>
5108
5109         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5110         than #including paragraph.h.
5111
5112         * ParagraphList.h:
5113         * RowList.h: deleted. Superfluous.
5114
5115         * CutAndPaste.h:
5116         * iterators.h:
5117         * lyxcursor.h:
5118         * lyxtext.h:
5119         * text_funcs.h:
5120         * undo.h:
5121         * undo_funcs.h:
5122         * insets/inset.h:
5123         * insets/insettext.h: use ParagraphList_fwd.h rather than
5124         ParagraphList.h.
5125
5126         * paragraph.h: don't forward declare ParagraphList.
5127
5128         * buffer.h:
5129         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5130         rather than ParagraphList.h. paragraph.h is still needed for the
5131         Paragraph::depth_type parameters.
5132
5133         * textcursor.h: enable it to compile stand-alone in light of the
5134         above changes.
5135
5136         * bufferview_funcs.C:
5137         * iterators.C:
5138         * lyxfunc.C:
5139         * lyxrow_funcs.C:
5140         * paragraph.C:
5141         * rowpainter.C:
5142         * text.C:
5143         * text2.C:
5144         * text3.C:
5145         * text_funcs.C:
5146         * textcursor.C:
5147         * undo.C:
5148         * frontends/controllers/ControlParagraph.C:
5149         * frontends/controllers/ControlTabular.C:
5150         * insets/insetmarginal.C:
5151         * insets/insetminipage.C:
5152         * insets/insetnote.C:
5153         * insets/insetoptarg.C: add header files needed to compile again.
5154
5155 2003-09-06  Angus Leeming  <leeming@lyx.org>
5156
5157         * RowList_fwd.h: new file, forward-declaring Row rather than
5158         #including lyxrow.h.
5159
5160         * lyxrow_funcs.h:
5161         * lyxtext.h:
5162         * paragraph.h:
5163         * insets/insettext.h: use it instead of RowList.h
5164
5165         * bufferview_funcs.C:
5166         * lyxfunc.C:
5167         * lyxrow_funcs.C:
5168         * paragraph.C:
5169         * rowpainter.C:
5170         * text.C:
5171         * text2.C:
5172         * text3.C: #include "RowList.h".
5173
5174 2003-09-05  Angus Leeming  <leeming@lyx.org>
5175
5176         * factory.C (createInset):
5177         * vspace.C (c-tor): replace sscanf call with an istringstream.
5178         * ispell.C: re-add missing HP/UX headers.
5179         * lyxserver.C: re-add missing  os2 headers.
5180
5181 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5182
5183         * BranchList.C:
5184         * graph.C:
5185         * ispell.C:
5186         * lastfiles.C:
5187         * lyx_cb.C:
5188         * lyxserver.C:
5189         * texrow.C:
5190         * text3.C: re-add missing system headers, needed for 2.95.2.
5191
5192 2003-09-05  Angus Leeming  <leeming@lyx.org>
5193
5194         Changes most place everywhere due to the removal of using directives
5195         from support/std_sstream.h.
5196
5197 2003-09-05  Angus Leeming  <leeming@lyx.org>
5198
5199         Replace LString.h with support/std_string.h,
5200         Lsstream.h with support/std_sstream.h,
5201         support/LIstream.h with support/std_istream.h,
5202         support/LOstream.h with support/std_ostream.h.
5203
5204         Changes resulting throughout the tree.
5205
5206 2003-09-05  Angus Leeming  <leeming@lyx.org>
5207
5208         * sgml.h: ensure that the header file can be compiled stand-alone.
5209         * *.C: strip out redundant #includes. (320 in total.)
5210
5211 2003-09-04  Angus Leeming  <leeming@lyx.org>
5212
5213         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5214         here (from getPackages).
5215
5216         * debug.[Ch]: add a new EXTERNAL tag.
5217
5218 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5219
5220         * text2.C (cursorEnd): simplify
5221         (setCursor): adjust
5222         (getColumnNearX): adjust
5223
5224         * text.C (computeBidiTables): adjust
5225         (fill): adjust
5226
5227         * rowpainter.C (paintChars): adjust
5228         (paintSelection): adjust
5229         (paintChangeBar): adjust
5230         (paintText): adjust
5231
5232         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5233         lastPos instead.
5234         (numberOfSeparators): adjust
5235
5236 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5237
5238         * LyXAction.C:
5239         * box.[Ch]:
5240         * lfuns.h:
5241         * lyxfunc.C:
5242         * text3.C: Restricts the mouse click functionality
5243         of insets like bibtex, include, toc and floatlist to the visible
5244         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5245         up the dialogs. Cursor has to be in front of the inset (i.e.
5246         start of row) for this to function.
5247
5248 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5249
5250         * bufferview_funcs.C (currentState): output row information
5251
5252 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5253
5254         * bufferview_funcs.C (currentState): output paragraph position
5255
5256 2003-09-04  Angus Leeming  <leeming@lyx.org>
5257
5258         * FloatList.h: move out #include "Floating.h".
5259         * LaTeX.h: move out #include "DepTable.h".
5260         * LyXAction.h: move out #include "funcrequest.h".
5261         * buffer.h: move out #include "author.h", "iterators.h".
5262         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5263         * lyx_main.h: move out #include "errorlist.h".
5264         * lyxfunc.h: move out #include "FuncStatus.h".
5265         * lyxtext: move out #include "lyxcursor.h".
5266         * paragraph_pimpl.h: move out #include "counters.h".
5267
5268 2003-09-03  Angus Leeming  <leeming@lyx.org>
5269
5270         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5271         preamble_snippets list, enabling us to add snippets to the preamble
5272         only if the snippet was not there already.
5273
5274 2003-09-04  Angus Leeming  <leeming@lyx.org>
5275
5276         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5277
5278 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5279
5280         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5281         update
5282
5283 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5284
5285         * BranchList.C: point fix, earlier forgotten
5286
5287 2003-09-02  Angus Leeming  <leeming@lyx.org>
5288
5289         * box.C (contains): renamed from 'contained' after a fantastic
5290         amount of hot air.
5291
5292 2003-09-02  John Levon  <levon@movementarian.org>
5293
5294         * BufferView.C:
5295         * lyxcursor.h:
5296         * lyxcursor.C:
5297         * lyxfunc.C:
5298         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5299
5300 2003-09-02  John Levon  <levon@movementarian.org>
5301
5302         * text2.C: simplification of cursorEnd(), including partial
5303         fix for bug 1376
5304
5305 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5306
5307         * buffer.C (readFile): add a space
5308
5309 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5310
5311         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5312
5313 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5314
5315         * buffer.C (readFile): new function, take a filename and a
5316         ParagraphList::iterator
5317         (readFile): adjust
5318         (readFile): adjust, make it private. don't use setStream, make
5319         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5320         always contain the filename.
5321
5322         * BufferView.C (insertLyXFile): simplify and make it work for
5323         gzipped files.
5324
5325 2003-08-30  John Levon  <levon@movementarian.org>
5326
5327         * Makefile.am: fix dist (from Kayvan)
5328
5329 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5330
5331         * most files: change to use const Buffer refs
5332
5333 2003-08-27  André Pönitz  <poenitz@gmx.net>
5334
5335         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5336         on top of ownerPar().
5337
5338 2003-08-27  John Levon  <levon@movementarian.org>
5339
5340         * funcrequest.C: properly initialise POD members
5341
5342 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5343
5344         * lyxtext.h (top_y): move top_y from here
5345         * text.C:
5346         * text2.C:
5347         * text3.C:
5348         * BufferView.[Ch]:
5349         * BufferView_pimpl.[Ch]: to here
5350         * frontends/screen.C:
5351         * insets/insettabular.C:
5352         * insets/insettext.C: adjust
5353         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5354
5355 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5356
5357         * BufferView.[Ch]:
5358         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5359
5360 2003-08-26  André Pönitz  <poenitz@gmx.net>
5361
5362         * paragraph_func.[Ch] (outerPar): new function
5363
5364         * paragraph.C:
5365         * paragraph_funcs.C:
5366         * paragraph_funcs.h:
5367         * paragraph_pimpl.C:
5368         * text2.C: remove Inset::par_owner
5369
5370 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5371
5372         * lyxrow_funcs.C:
5373         * lyxtext.h:
5374         * text.C:
5375         * text2.C: eliminates the needFullRow/display() stuff
5376         altogether, putting the logic in metrics/draw in the insets.
5377
5378 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5379
5380         * text2.C (redoParagraphInternal, redoParagraphs):
5381         * text.C (redoParagraph): add a call to updateRowPositions at the
5382         end of each 'metrics-like' call. Remove all others.
5383         (getRow): remove the 'y-computing' version.
5384         (getRowNearY): do not compute nor return the real y. Solve the
5385         'y < 0' problem and simplify.
5386
5387 2003-08-22  Angus Leeming  <leeming@lyx.org>
5388
5389         * *.[Ch]: clean-up of licence and author blurbs.
5390         Also move config.h out of a few .h files and into a few .C files.
5391
5392 2003-08-22  André Pönitz  <poenitz@gmx.net>
5393
5394         * lyxrow.[Ch]: add x_ and *fill_ members
5395
5396         * lyxtext.h:
5397         * text.C:
5398         * rowpainter.C:
5399         * text2.C: adjust/remove prepareToPrint() calls
5400
5401 2003-08-22  André Pönitz  <poenitz@gmx.net>
5402
5403         * lyxrow.[Ch]: add  end_ member
5404
5405         * lyxrow_funcs.C: use LyXRow::end_
5406
5407         * lyxtext.h (singleWidth): add LyXFont parameter
5408
5409         * rowpainter.C:
5410         * text2.C: adjust LyXText::singleWidth() calls
5411
5412         * text.C (redoParagraph): simplify row breaking logic
5413
5414
5415 2003-08-19  André Pönitz  <poenitz@gmx.net>
5416
5417         * funcrequest.C: initialize button_ member
5418
5419         * text3.C:
5420         * rowpainter.[Ch]: interface consolidation
5421
5422 2003-08-18  André Pönitz  <poenitz@gmx.net>
5423
5424         * BufferView.C:
5425         * BufferView_pimpl.C:
5426         * lyxfind.C:
5427         * paragraph_funcs.C:
5428         * rowpainter.C:
5429         * text3.C: remove LyXScreen::draw() and fitCursor calls
5430
5431         * BranchList.h: remove spurious semicolons
5432
5433         * MenuBackend.C: fix branchlist related crash
5434
5435 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5436
5437         * BranchList.[Ch]:
5438         * InsetList.[Ch]:
5439         * LColor.[Ch]:
5440         * LyXAction.C:
5441         * Makefile.am:
5442         * MenuBackend.[Ch]:
5443         * bufferparams.[Ch]:
5444         * factory.C:
5445         * lfuns.h:
5446         * lyxfunc.C:
5447         * text3.C: implements the 'branch inset'
5448         idea. This allows the output of various versions of a document
5449         from a single source version, selectively outputing or suppressing
5450         output of parts of the text.
5451         This implementation contains a 'branch list editor' in a separate
5452         tab of the document settings dialog. Branches are user definable
5453         and have a "display colour" to distinguish them on-screen.
5454
5455         ColorHandler was somewhat cleaned up.
5456         (1) make possible a dynamically growing LColor list by allowing
5457         the graphic context cache to grow along (vector);
5458         (2) eliminate an IMHO unnecessary step in colour allocation.
5459
5460 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5461
5462         * BufferView_pimpl.C: compile fix
5463
5464 2003-08-15  André Pönitz  <poenitz@gmx.net>
5465
5466         * rowpainter.C: remove extra metrics calls
5467
5468         * lyxtext.h: merge the two constructors into a single one,
5469           pass reference to owner's par list
5470
5471         * BufferView_pimpl.C:
5472         * text.C:
5473         * text2.C: adjust
5474
5475 2003-08-15  André Pönitz  <poenitz@gmx.net>
5476
5477         * lyxrow_funcs.[Ch]:
5478         * lyxtext.h:
5479         * paragraph.h:
5480         * paragraph_funcs.C:
5481         * rowpainter.C:
5482         * text.C:
5483         * text2.C:
5484         * text3.C:
5485         * text_funcs.C: split LyXText::rowlist_ into individual
5486         Paragraph::rows_ chunks
5487
5488         * BufferView.[Ch]:
5489         * BufferView_pimpl.[Ch]:
5490         * lyxfind.C:
5491         * lyxtext.h:
5492         * text3.C: remove toggleSelection()
5493
5494 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5495
5496         * bufferlist.C: beautify two alerts (shorter text of buttons)
5497         * buffer.C: Remove redundant ' ' from message
5498         * tabular.h:
5499         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5500         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5501         rename VALIGN_CENTER to VALIGN_MIDDLE
5502
5503 2003-08-11  André Pönitz  <poenitz@gmx.net>
5504
5505         * lyxtext.h (getPar):
5506         * text.C: new function
5507
5508 2003-08-11  André Pönitz  <poenitz@gmx.net>
5509
5510         * Makefile.am:
5511         * tracer.[Ch]: remove unneeded files
5512
5513         * InsetList.[Ch]: remove resizeInsetsLyXText()
5514
5515         * lyxtext.h:
5516         * text.C:
5517         * text2.C:
5518         * text3.C: merge insertParagraphs() and appendParagraph()
5519         remove breakAgain(), update()
5520
5521         * BufferView_pimpl.[Ch]:
5522         * bufferview_funcs.[Ch]:
5523         * lyxfunc.C:
5524         * paragraph.[Ch]:
5525         * rowpainter.C:
5526         * tabular.C: adjust after text & InsetList changes.
5527
5528 2003-08-08  André Pönitz  <poenitz@gmx.net>
5529
5530         * text.C (insertChar, backspace): replace rowlist fiddling
5531         with rebreak of full par
5532
5533         * lyxtext.h:
5534         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5535         checkParagraph, updateInset): removed
5536
5537 2003-08-07  André Pönitz  <poenitz@gmx.net>
5538
5539         * paragraph.C:
5540         * text3.C: merge some LFUN handlers, remove dead code
5541
5542 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5543
5544         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5545
5546 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5547
5548         * text2.C (DEPM): fix part of bug 1255 and 1256
5549
5550 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5551
5552         * BufferView_pimpl.C (workAreaDispatch): change to use
5553         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5554         that are no mouse related.
5555
5556 2003-08-05  André Pönitz  <poenitz@gmx.net>
5557
5558         * BufferView.[Ch]:
5559         * BufferView_pimpl.[Ch]:
5560         * bufferview_funcs.C:
5561         * text2.C:
5562         * text3.C: rip out "deep update"
5563
5564         * textcursor.[Ch] (last_sel_cursor): remove unused member
5565
5566 2003-08-04  André Pönitz  <poenitz@gmx.net>
5567
5568         * BufferView.[Ch]:
5569         * BufferView_pimpl.[Ch]:
5570         * ParagraphParameters.C:
5571         * bufferview_funcs.C:
5572         * lyx_cb.C:
5573         * lyxfind.C:
5574         * lyxfunc.C:
5575         * text.C:
5576         * text2.C:
5577         * text3.C: replace "complicated" BufferView::update(...) calls with
5578         simpler ones.
5579
5580         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5581
5582 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5583
5584         * Makefile.am (lyx_SOURCES): add paper.h
5585
5586 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5587
5588         * Makefile.am: move things around so that both lyx-qt and
5589         lyx-xforms can be built (according to --with-frontend). Then lyx
5590         is a symbolic link to lyx-[firstfrontend]
5591
5592 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5593
5594         * Always use std::endl with lyxerr
5595
5596 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5597
5598         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5599
5600 2003-08-01  André Pönitz  <poenitz@gmx.net>
5601
5602         * BufferView.[Ch]:
5603         * BufferView_pimpl.[Ch]:
5604         * lyxfunc.C:
5605         * text3.C: merge BufferView::repaint() and BufferView::update()
5606
5607 2003-08-01  José Matos  <jamatos@lyx.org>
5608
5609         * buffer.[Ch]: file_format is no longer a buffer data element.
5610
5611 2003-08-01  André Pönitz  <poenitz@gmx.net>
5612
5613         * BufferView.C:
5614         * lyxtext.h:
5615         * text.C:
5616         * text2.C: make redoParagraph more independent of current cursor
5617
5618         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5619         * text.C:
5620         * text2.C: remove unneeded members
5621
5622 2003-07-30  André Pönitz  <poenitz@gmx.net>
5623
5624         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5625
5626         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5627           create a single function...
5628
5629         * paragraph_funcs.C (moveItem): ... here.
5630
5631         * text.C:
5632           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5633
5634 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5635
5636         * LColor.[Ch]: Add comment and greyedout logical colors.
5637
5638 2003-07-30  André Pönitz  <poenitz@gmx.net>
5639
5640         * tabular.C: don't use Assert too heavily. This crashes where it
5641           shouldn't
5642
5643 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5644
5645         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5646         is disabled (bug 1232)
5647
5648 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5649
5650         * factory.C: limited 'arg' scope
5651
5652 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5653
5654         * factory.C: fixed Note submenu issues
5655
5656 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5657
5658         * factory.C: submenu for Note/Comment/Greyedout
5659
5660 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5661
5662         * lyx_main.C (LyX):
5663         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5664
5665 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5666
5667         * LaTeXFeatures.C:
5668         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5669         greyedout. Patch provided by Jürgen Spitzmüller.
5670
5671 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5672
5673         * kbmap.C (read): fix error message when reading bind files
5674
5675 2003-07-29  Angus Leeming  <leeming@lyx.org>
5676
5677         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5678         certainly does not do what it purports to do. I am doing it, and
5679         us, a favour by killing it.
5680
5681 2003-07-28  José Matos  <jamatos@lyx.org>
5682
5683         * buffer.C (readBody, do_writeFile):
5684         * paragraph.C(readParagraph): \end_document replaces \the_end.
5685
5686 2003-07-29  André Pönitz  <poenitz@gmx.net>
5687
5688         * BufferView.[Ch]:
5689         * BufferView_pimpl.[Ch]:
5690         * lyxfunc.C:
5691         * text2.C:
5692         * text3.C:
5693         * textcursor.[Ch]: remove toggleToggle & Co
5694
5695 2003-07-28  José Matos  <jamatos@fep.up.pt>
5696
5697         * buffer.C (readParagraph):
5698         * params_func (readParToken, readParagraph):
5699         * paragraph.C (write): \layout -> \begin_layout.
5700
5701 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5702
5703         * lyxlex_pimpl.C (setFile): clean up slightly.
5704
5705         * bufferparams.h: add compressed var
5706
5707         * buffer_funcs.C (readFile): adjust for LyXLex change
5708         (newFile): ditto + simplify
5709
5710         * buffer.C (writeFile): handle writing of compressed files
5711
5712         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5713         Check if the file is compressed and set a bufferparm if so.
5714
5715         * Makefile.am (lyx_LDADD): remove explicit -lz
5716
5717 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5718
5719         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5720         makeDocBookFile): put the real LyX version in the first line of
5721         the file
5722
5723         * version.h:
5724         * version.C.in: remove lyx_docversion
5725
5726         * tabular.C (write_attribute): add a template-based version to
5727         write enums properly
5728
5729 2003-07-28  André Pönitz  <poenitz@gmx.net>
5730
5731         * lyxtext.h:
5732         * text.C:
5733         * text2.C:
5734         * text3.C: use doubles again for x-coordinates. They are needed.
5735
5736 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5737
5738         * messages.C (getLocaleDir): use lyx_localedir()
5739
5740         * lyxlex_pimpl.C (setFile): compress stuff
5741
5742         * buffer.C (writeFile): add some compression stuff
5743         (do_writeFile): new func, dont call expliti close... will this
5744         breake anything?
5745
5746         * Makefile.am (lyx_LDADD): add -lz
5747
5748 2003-07-28  José Matos  <jamatos@fep.up.pt>
5749
5750         * buffer.C: increment file format.
5751         * paragraph_funcs (readParagraph, readParToken):
5752         * paragraph.C (readParagraph): add \end_layout.
5753
5754 2003-07-27  Angus Leeming  <leeming@lyx.org>
5755
5756         * Makefile.am: remove special casing for configure-time setting of
5757         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5758
5759         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5760         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5761
5762 2003-07-26  André Pönitz  <poenitz@gmx.net>
5763
5764         * paragraph_func.[Ch]:
5765         * paragraph.C (realizeFont): inline it whereever it is used
5766
5767         * rowpainter.C:
5768         * text.C:
5769         * text2.C:
5770         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5771
5772
5773 2003-07-26  André Pönitz  <poenitz@gmx.net>
5774
5775         *       lyxtext.h:
5776         * text.C:
5777         * text2.C: get rid of LyXText::need_break_row
5778
5779 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5780
5781         * toc.[Ch]: put namespace toc inside namespace lyx
5782
5783         * MenuBackend.C (expandToc2): adjust for lyx::toc
5784         (expandToc): ditto
5785
5786         * lyxfunc.C (dispatch): adjust for lyx::find
5787
5788         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5789         lyx::find instead. Reorganize a bit.
5790         (LyXReplace): rename to replace
5791         (LyXFind): rename to find
5792
5793         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5794         (dispatch): ditto
5795
5796 2003-07-26  André Pönitz  <poenitz@gmx.net>
5797
5798         * text.C (setHeightOfRow): restrict scope of temporary variable
5799
5800         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5801           code (never has been used?)
5802
5803 2003-07-27  Asger Alstrup  <alstrup@local>
5804
5805         * text.C (fill): Optimise algorithm to exploit that we can reuse
5806         the LyXFont for many characters.
5807         (setHeightOfRow): Same thing.
5808         (rowBreakPoint): Same thing.
5809
5810 2003-07-26  Asger Alstrup  <alstrup@local>
5811
5812         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5813
5814         * text.C (singleWidth): Spurious font copying in hot-spot
5815         singleWidth avoided. Reorder tests for arabic for efficiency.
5816
5817         * text.C (fill): handle empty paragraphs better.
5818
5819 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5820
5821         * ispell.C:
5822         * encoding.h: add includes
5823
5824         * lyxrc.C: remove reading of bind files
5825
5826         * lyx_main.C (init): setup bindings and menus only if we have a
5827         gui.
5828
5829         * kbmap.C (read): new method. Do the actual reading of bind
5830         files.
5831
5832         * converter.C (dvipdfm_options):
5833         * bufferparams.C:
5834         * lyxrc.C (read):
5835         (output): adapt PAPER_* enums.
5836
5837         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5838
5839         * bufferparams.h: remove paper-related enums from there
5840
5841         * paper.h: New file. A trivial header file to hold paper-related
5842         enums. It should later expand to contain many paper-related
5843         horrors access.
5844
5845         * lyxrc.C: declare extern displayTranslator
5846
5847 2003-07-27  José Matos  <jamatos@fep.up.pt>
5848
5849         * tabular.[Ch] (linuxdoc): add support for tables and figures
5850         (linuxdoc).
5851
5852 2003-07-27  José Matos  <jamatos@fep.up.pt>
5853
5854         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5855         consistency in both functions.
5856         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5857
5858 2003-07-26  Asger Alstrup  <alstrup@local>
5859
5860         * rowpainter.C (paintRows): Change algorithm to work directly on
5861         the insets rather than asking every character in the document
5862         whether its an inset.
5863
5864 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5865
5866         * buffer.C (openFileWrite): factorize some code
5867
5868 2003-07-26  Angus Leeming  <leeming@lyx.org>
5869
5870         * lyx_cb.C:
5871         * lyx_main.[Ch]: replace occurances of system_tempdir with
5872         os::getTmpDir().
5873
5874 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5875
5876         * rename Inset to InsetOld
5877
5878 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5879
5880         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5881         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5882         which I think is a bit clearer. EDIT is gone, since it was
5883         premature optimisation, and broken for mathed anyway.
5884         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5885         with cursor positioning in insets as well (math insets still do not
5886         work, but that's a different story anyway.) It mysteriously
5887         crashes sometimes with undo in the first paragraph, but I'm fairly
5888         confident that this is a compiler bug.
5889
5890 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5891
5892         * paragraph.C (Paragraph): adjust for new clone return type
5893         (operator==): ditto
5894         (copyIntoMinibuffer): ditto
5895
5896 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5897
5898         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5899         by not having a special case, and always doing a full rebreak of
5900         the document after undo.
5901
5902 2003-07-23  Angus Leeming  <leeming@lyx.org>
5903
5904         * factory.C (createInset): InsetExternal::setParams now takes a
5905         Buffer const * arg.
5906
5907 2003-07-23  Angus Leeming  <leeming@lyx.org>
5908
5909         * factory.C (createInset): changed interface to the external and
5910         graphics mailers' string2params functions.
5911
5912 2003-07-23  Angus Leeming  <leeming@lyx.org>
5913
5914         * factory.C (createInset): pass a
5915         Buffer const * parameter to InsetExternalMailer's string2params.
5916
5917 2003-07-22  John Levon  <levon@movementarian.org>
5918
5919         * Thesaurus.h: include the right aiksaurus header
5920
5921 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5922
5923         * MenuBackend.C (expand): check menu shortcuts unconditionally
5924
5925 2003-07-21  Angus Leeming  <leeming@lyx.org>
5926
5927         * factory.C (createInset): pass a
5928         buffer_path parameter to InsetGraphicsMailer's string2params.
5929
5930 2003-07-21  Angus Leeming  <leeming@lyx.org>
5931
5932         * BufferView_pimpl.C (buffer):
5933         * buffer.C (d-tor):
5934         * lyx_main.C (LyX):
5935         * lyxfunc.C (dispatch):
5936         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5937         rather than the grfx shortcut.
5938
5939 2003-07-21  André Pönitz  <poenitz@gmx.net>
5940
5941         * rowpainter.C: remove unused variables
5942
5943         * tabular_funcs.C:
5944         * tabular_funcs.h: move to tabular.C
5945         * Makefile.am: adjust
5946
5947         * tabular.[Ch]: basic optical cleaning
5948
5949         * author.h: pass references, not values
5950
5951 2003-07-18  André Pönitz  <poenitz@gmx.net>
5952
5953         * lyxtext.h:
5954         * metricsinfo.C:
5955         * metricsinfo.h:
5956         * rowpainter.C:
5957         * text.C:
5958         * text2.C:
5959         * text3.C: two-phase drawing for InsetText and InsetTabular
5960         some float -> int changes.
5961
5962 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5963
5964         * lyx_main.C: fix the fix
5965
5966 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5967
5968         * lyx_main.C: fix a crash in batch mode if no files specified
5969         * converter.C: ws
5970
5971 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5972
5973         * format.[Ch] (papersize): moved to BufferParams
5974         * converter.[Ch] (dvips_options): moved to BufferParams
5975         (dvipdfm_options): moved to anon namespace
5976         * bufferparams.[Ch]: added above functions.
5977
5978 2003-07-17  André Pönitz  <poenitz@gmx.net>
5979
5980         * lyxtext.h:
5981         * rowpainter.C:
5982         * text2.C: don't call inset->update() anymore
5983
5984         * metricsinfo.[Ch]: add convenience constructor
5985
5986 2003-07-16  André Pönitz  <poenitz@gmx.net>
5987
5988         * lyxcursor.[Ch]:
5989         * lyxfunc.[Ch]:
5990         * text.C:
5991         * text2.C: replace the LyXCursor::irow_ member with
5992          on-demand computation of the value
5993
5994 2003-07-16  John Levon  <levon@movementarian.org>
5995
5996         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5997
5998 2003-07-15  André Pönitz  <poenitz@gmx.net>
5999
6000         * text.C:
6001         * text2.C: remove no more needed refresh_row
6002
6003 2003-07-15  André Pönitz  <poenitz@gmx.net>
6004
6005         * lyxtext.h:
6006         * rowpainter.C:
6007         * text2.C:
6008         * text3.C: refresh_status tristate -> need_update bool
6009
6010 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6011
6012         * lyxtext.h (init): remove reinit argument (act as if always true)
6013         * text2.C: adjust to that
6014
6015 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6016
6017         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6018         * text3.C: use it to delete selections in some cases
6019         (bugs 441, 673, 702, 954).
6020
6021 2003-07-14  André Pönitz  <poenitz@gmx.net>
6022
6023         * rowpainter.[Ch]: reduce interface
6024
6025 2003-07-14  André Pönitz  <poenitz@gmx.net>
6026
6027         * BufferView_pimpl.C:
6028         * text2.C: adjust after removing unused BufferView * argument
6029
6030 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6031
6032         * text2.C (init): fix a crash fired on resize
6033
6034 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6035
6036         * buffer.[Ch]: added new closing signal
6037         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6038         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6039         BufferView::Pimpl via the closing the signal
6040
6041 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6042
6043         * buffer.[Ch]: take out all bv-related from buffer
6044         * BufferView.C:
6045         * BufferView_pimpl.[Ch]: connect to new signals
6046         * CutAndPaste.C: removed useless asserts
6047         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6048         * lyxvc.[Ch]:
6049         * vc-backend.[Ch]:
6050         * lyxfunc.C: moved view-related funciontality from vc here
6051         * paragraph.C: removed outdated comments
6052         * text.C: ws
6053
6054 2003-07-10  André Pönitz  <poenitz@gmx.net>
6055
6056         * BufferView_pimpl.C:
6057         * tabular.h:
6058         * tabular_funcs.C:
6059         * text.C:
6060         * text2.C: remove InsetText::InnerCache, clean up consequences
6061
6062 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6063
6064         * ispell.C: fix two typos in error messages
6065
6066 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6067
6068         * Extend Note inset to other forms of annotation like Comment
6069         and Greyedout. Right button click gives dialog.
6070
6071         Files modified or added (+):
6072
6073         * insetnote.[Ch]
6074         * FormNote.[Ch]      +
6075         * ControlNote.[Ch]   +
6076         * form_note.fd       +
6077         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6078         frontends/controllers
6079         * xforms/Dialogs.C
6080         * factory.C
6081
6082 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6083
6084         * aspell.C: add missing namespace lyx::support
6085
6086 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6087
6088         * BufferView.[Ch] (newFile): Add
6089         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6090         * LaTeX.[Ch] (message): added this signal and use it
6091         * buffer.[Ch] (busy, message): added these signals and use them
6092         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6093         * converter.C:
6094         * exporter.C:
6095         * format.C:
6096         * importer.C: use buffer signals instead of direct bv calling
6097         * lyx_cb.[Ch] (ShowMessage): removed
6098         * lyx_main.C:
6099         * lyxfunc.C:
6100         * paragraph_funcs.C:
6101         * text2.C: use buffer signals
6102
6103 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6104
6105         * introduce namespace lyx::graphics
6106
6107 2003-07-02  André Pönitz  <poenitz@gmx.net>
6108
6109         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6110
6111 2003-07-01  André Pönitz  <poenitz@gmx.net>
6112
6113         * text.C:
6114         * text2.C:
6115         * text3.C:
6116         * text_funcs.[Ch]:
6117         * textcursor.h:
6118         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6119           text*.C to text_func.C
6120
6121 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6122
6123         * introduce namespace lyx::support
6124
6125 2003-06-30  André Pönitz  <poenitz@gmx.net>
6126
6127         * Chktex.C:
6128         * funcrequest.C:
6129         * lyxtext.h:
6130         * text.C: re-enable --with-included-string
6131
6132 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6133
6134         * textcursor.C: add <config.h>
6135
6136         * text.C (getWord): remove const from word_location arg
6137
6138         * lyxvc.C (getLogFile): fix const type order
6139
6140         * lyxtext.h: remove const from word_location arg, add arg name
6141
6142         * lyxlayout.h: currect type on labeltype.
6143
6144         * importer.C: correct \file
6145
6146         * converter.C (intToFormat): use std:: on ret val, ws changes
6147
6148         * bufferlist.h: correct \file
6149
6150         * buffer.C (makeLinuxDocFile): fix const type order
6151         (makeDocBookFile): ditto
6152         (fillWithBibKeys): use std:: on stdlib args.
6153
6154         * CutAndPaste.C: fix authors.
6155         (availableSelections): use std:: on return vector
6156
6157 2003-06-27  André Pönitz  <poenitz@gmx.net>
6158
6159         * BufferView_pimpl.C:
6160         * bufferview_funcs.C:
6161         * lyxcursor.C:
6162         * lyxcursor.h:
6163         * lyxfunc.C:
6164         * lyxtext.h:
6165         * rowpainter.C:
6166         * text.C:
6167         * text2.C:
6168         * text3.C: remove LyXCursor::row_ member
6169
6170         * lyxtext.h:
6171         * text.C: rename fullRebreak() to partialRebreak() and implement
6172           a fullRebreak() that really bereks fully
6173
6174         * textcursor.h: new struct for cursor-related data
6175
6176 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6177
6178         * lyx_main.C (LyX): get full path of document loaded on the
6179         command line
6180
6181 2003-06-26  André Pönitz  <poenitz@gmx.net>
6182
6183         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6184           remove unused/broken operator>,<,>=.
6185
6186         *       text.C: remove only use of broken operator<= in an Assert().
6187
6188 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6189
6190         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6191         moved errorlist_.clear to showErrorList
6192
6193 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6194
6195         * converter.C (scanLog, runLaTeX):
6196         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6197         move the bv->showErrorList call to the callers
6198         * lyxfunc.C: i.e. here...
6199         * text2.C: and here
6200         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6201         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6202         namespace, the second to...
6203         * buffer_funcs (BufferFormat, parseErrors): added
6204         * errorlist.C (ErrorList(TeXErrors const &)): removed
6205
6206 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6207
6208         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6209
6210 2003-06-24  "Garst R. Reese" <reese@isn.net>
6211
6212         * debug.C: fix typo
6213
6214 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6215
6216         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6217
6218         * version.C.in: change docversion to 1.4
6219
6220 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6221
6222         * buffer.C: fix a bug just introduced
6223
6224 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6225
6226         * buffer.[Ch]: added the parseError signal and use it, removed
6227         sgmlError
6228         * BufferView.[Ch] (addError): moved to ...
6229         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6230         to the Buffer::parseError signal to catch (guess what) parse errors
6231         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6232
6233 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6234
6235         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6236         ability to create a buffer and to return an existing one from
6237         the list. Moved these functions to...
6238         * buffer_funcs.[Ch]: added
6239         * BufferView.[Ch] (loadLyXFile): added
6240         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6241         job removed from bufferlist::loadLyXFile.
6242         * buffer.C (setReadOnly): make it work without view
6243         (i.e added an if (users))
6244
6245 2003-06-19  Angus Leeming  <leeming@lyx.org>
6246
6247         * lfuns.h:
6248         * LyXAction.C (init):
6249         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6250         with LFUN_DIALOG_SHOW <name> <data>.
6251
6252 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6253
6254         * CutAndPaste.C (availableSelections): small compilation fix for
6255         ancient (gcc 2.9x) compilers
6256
6257 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6258
6259         * text3.C (cursorNext): add tmp var
6260
6261         * text2.C (updateCounters): for function calling out of for clause
6262         (replaceSelectionWithString): ditto
6263         (insertStringAsParagraphs): ditto
6264         (getColumnNearX): add tmp var
6265         (setCursorFromCoordinates): add tmp var
6266         (cursorDownParagraph): add tmp var
6267         (deleteEmptyParagraphMechanism): add tmp var
6268
6269         * text.C (insertChar): add tmp var
6270
6271         * rowpainter.C (paintDepthBar): add tmp var
6272
6273         * CutAndPaste.C (availableSelections): potentially check all
6274         paragraphs in a cut to fill the shown strings.
6275
6276 2003-06-18  André Pönitz  <poenitz@gmx.net>
6277
6278         * kbmap.[Ch]: use vector<> instead of list<>
6279
6280 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6281
6282         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6283         pasteSelection with index
6284
6285         * text2.C (pasteSelection): modify, call pasteSelection with index
6286
6287         * paragraph.C (asString): reimplement version with no interval to
6288         call the one with interval.
6289
6290         * lyxtext.h: add index arg to pasteSelection
6291
6292         * MenuBackend.C (MenuItem): handle PasteRecent
6293         (Menu::read::Menutags): add md_pasterecent
6294         (read): handle it
6295         (expandPasteRecent): new function
6296         (expand): use it
6297
6298         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6299
6300         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6301         the limited stack
6302         (availableSelections): new function
6303
6304 2003-06-17  Angus Leeming  <leeming@lyx.org>
6305
6306         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6307
6308 2003-06-17  Angus Leeming  <leeming@lyx.org>
6309
6310         * lfuns.h:
6311         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6312
6313         * lyxfunc.C (dispatch): invoke it.
6314
6315 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6316
6317         * iterators.C (operator++, ParPosition): reintroduce some
6318         const_cast for the benefit of older compilers.
6319
6320 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6321
6322         * text3.C (dispatch): do not modify clipboard when doing
6323         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6324         LFUN_DELETE_SKIP on a selection selection
6325
6326 2003-06-16  André Pönitz  <poenitz@gmx.net>
6327
6328         * BufferView.C:
6329         * buffer.C:
6330         * buffer.h:
6331         * paragraph.C:
6332         * tabular.[Ch]: IU of clone() and getLabelList();
6333
6334 2003-06-13  André Pönitz  <poenitz@gmx.net>
6335
6336         * tabular.h: compactification
6337
6338 2003-06-12  André Pönitz  <poenitz@gmx.net>
6339
6340         * tabular.C:
6341         * tabular.h:
6342         * tabular_funcs.h: some renaming plus whitespace
6343
6344 2003-06-12  André Pönitz  <poenitz@gmx.net>
6345
6346         * BufferView.C:
6347         * BufferView_pimpl.C:
6348         * CutAndPaste.C:
6349         * buffer.C:
6350         * iterators.[Ch]:
6351         * lyxfunc.C:
6352         * text.C:
6353         * toc.C: Return a Paragraph & for ParIterator::operator*()
6354
6355 2003-06-11  John Levon  <levon@movementarian.org>
6356
6357         * lyx_main.C:
6358         * ToolbarBackend.h:
6359         * ToolbarBackend.C: add "Toolbars" section and
6360         put the flags there
6361
6362 2003-06-10  Angus Leeming  <leeming@lyx.org>
6363
6364         * lfuns.h:
6365         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6366
6367         * lyxfunc.C (dispatch): invoke it.
6368
6369 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6370
6371         * main.C: protect <ios> with HAVE_IOS
6372         (main): protect sync_with_stdio with HAVE_IOS
6373
6374 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6375
6376         * text2.C (cutSelection): adjust
6377         (pasteSelection): adjust
6378
6379         * messages.C: handle get of empty string
6380
6381         * main.C (main): use sync_with_stdio(false)
6382
6383         * lyxfunc.C (dispatch): adjust
6384
6385         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6386         (WriteAs): remove unneeded BufferView arg.
6387
6388         * bufferparams.h: use correct types on papersize, papersize2 and
6389         paperpackage.
6390
6391         * bufferparams.C (readToken): adjust for type
6392         (writeLaTeX): add missing cases to switch.
6393
6394         * bufferlist.C (quitWriteBuffer): adjust
6395         (close): adjust
6396
6397         * buffer.C (asciiParagraph): remove some commented code.
6398
6399         * CutAndPaste.C: remove current_view extern variable.
6400         (cutSelection): add BufferParams arg.
6401         (eraseSelection): add BufferParams arg.
6402         (pasteSelection): add Buffer const & arg
6403
6404 2003-06-07  John Levon  <levon@movementarian.org>
6405
6406         * buffer.C:
6407         * paragraph_funcs.C:
6408         * paragraph_pimpl.C:
6409         * text.C:
6410         * text2.C:
6411         * paragraph.h:
6412         * paragraph.C: allow InsetERT to freely space lines,
6413         and some consolidation of code
6414
6415 2003-06-06  José Matos  <jamatos@fep.up.pt>
6416
6417         * buffer.C (makeDocBookFile): fix bug #821
6418
6419 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6420
6421         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6422
6423 2003-06-04  Angus Leeming  <leeming@lyx.org>
6424
6425         * buffer.C: bump format to 224.
6426
6427 2003-06-05  André Pönitz  <poenitz@gmx.net>
6428
6429         * text2.C (redoParagraphs): remove two const_cast<>
6430
6431 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6432
6433         * ParagraphList.h: remove last remnants of NO_STD_LIST
6434
6435 2003-06-03  Angus Leeming  <leeming@lyx.org>
6436
6437         * factory.C (createInset): small change to the way InsetExternal's params
6438         are set.
6439
6440 2003-06-04  André Pönitz  <poenitz@gmx.net>
6441
6442         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6443
6444         * paragraph_pimpl.h:
6445         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6446
6447         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6448
6449         * undo_funcs.C: make some simple cases of undo work again
6450
6451 2003-06-03  John Levon  <levon@movementarian.org>
6452
6453         * ispell.C: HPUX doesn't have sys/select.h
6454         (from Albert Chin)
6455
6456 2003-06-03  John Levon  <levon@movementarian.org>
6457
6458         * CutAndPaste.C: update tabular and include inset
6459         buffer references
6460
6461         * buffer.h:
6462         * paragraph.h:
6463         * paragraph.C: remove owningBuffer(), don't pass Buffer
6464         to clone()
6465
6466         * factory.C: insetGraphicsParams changed
6467
6468 2003-06-02  John Levon  <levon@movementarian.org>
6469
6470         * LyXAction.C:
6471         * factory.C:
6472         * lfuns.h:
6473         * lyxfunc.C:
6474         * text3.C: remove insetparent
6475
6476 2003-06-02  John Levon  <levon@movementarian.org>
6477
6478         * buffer.h:
6479         * buffer.C: fix inset_iterator.end(), move out of line
6480         (bug 1149)
6481
6482 2003-06-01  John Levon  <levon@movementarian.org>
6483
6484         * text3.C: use a proper cut/paste when doing inset
6485         insert (from Jürgen Spitzmüller)
6486
6487 2003-06-01  John Levon  <levon@movementarian.org>
6488
6489         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6490
6491 2003-05-30  André Pönitz  <poenitz@gmx.net>
6492
6493         * rowpainter.C: unify second drawing phase
6494
6495 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6496
6497         * trans_mgr.C: remove one case of current_view
6498
6499         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6500
6501         * paragraph_funcs.h: remove paragraph.h include
6502
6503         * paragraph.h: delete NO_STD_LIST stuff
6504
6505         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6506
6507         * buffer.h: remove paragraph.h include
6508
6509         * ParagraphList.C: delete file
6510
6511         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6512
6513         * toc.C (getTocList): adjust
6514
6515         * paragraph_pimpl.C (validate): adjust
6516
6517         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6518
6519         * paragraph.C (Paragraph): adjust
6520         (getPositionOfInset): use const_iterator, adjust
6521         (bibitem): use const_iterator, adjust
6522         (setInsetOwner): adjust
6523
6524         * iterators.C (operator++): adjust
6525
6526         * InsetList.[Ch]: Replace selfmade iterator with standard
6527         vector::iterator also introduce const_iterator. Remove getPos,
6528         getInset and setInset from InsetTable. Adjust accordingly.
6529
6530         * BufferView.C (lockInset): adjust
6531         (ChangeInsets): adjust
6532
6533         * tabular.[Ch]: delete commented same_id functions
6534
6535 2003-05-28  John Levon  <levon@movementarian.org>
6536
6537         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6538
6539 2003-05-28  André Pönitz  <poenitz@gmx.net>
6540
6541         * metricsinfo.[Ch]: remove 'fullredraw' member
6542
6543 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6544
6545         * lyxtextclass.C (operator): remove caching.
6546
6547 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * text3.C: adjust
6550
6551         * text2.C (cursorBottom): adjust
6552         (setCounter): use ParagraphList::find, adjust
6553
6554         * text.C (workWidth): use ParagraphList::find, adjust
6555
6556         * lyxcursor.C (LyXCursor): adjust
6557
6558         * buffer.C (inset_iterator): adjust
6559
6560         * ParagraphList.h: make iterator(value_type) private, make
6561         ParagraphList a friend of iterator.
6562
6563         * ParagraphList.C (find): new function
6564
6565         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6566
6567 2003-05-27  André Pönitz  <poenitz@gmx.net>
6568
6569         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6570
6571 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6572
6573         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6574
6575 2003-05-26  John Levon  <levon@movementarian.org>
6576
6577         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6578
6579 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6580
6581         * remove same_id from function signatures, adjust.
6582
6583 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6584
6585         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6586
6587         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6588
6589         * paragraph.C (Paragraph): get rid of same_ids parameter
6590
6591         * ParagraphList.C (insert): adjust
6592         (push_back): adjust
6593
6594 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6595
6596         * paragraph_funcs.C (breakParagraph): adjust
6597         (breakParagraphConservative): adjust
6598
6599         * buffer.C (readParagraph): adjust
6600
6601         * ParagraphList.C (insert): take a reference instead of a pointer
6602         (insert): adjust
6603
6604         * paragraph.[Ch] (id): new function
6605
6606         * bufferlist.C (newFile): adjust
6607
6608         * ParagraphList.C (ParagraphList): adjust
6609         (assign): adjust
6610         (push_back): take a reference instead of a pointer.
6611
6612         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6613
6614         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6615         instead.
6616
6617         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6618         set else use old code.
6619
6620         * ParagraphList.C: remove all NO_NEXT code and only compile this
6621         code of NO_STD_LIST is set.
6622
6623 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6624
6625         * BufferView_pimpl.C:
6626         * TextCache.C:
6627         * TextCache.h:
6628         * bufferlist.C:
6629         * errorlist.h:
6630         * format.C:
6631         * format.h:
6632         * graph.C:
6633         * lyxfunc.C:
6634         * lyxrc.C:
6635         * graphics/GraphicsConverter.C:
6636         * graphics/PreviewLoader.C: header adjustment
6637
6638 2003-05-23  Angus Leeming  <leeming@lyx.org>
6639
6640         * LaTeXFeatures.[Ch] (useBabel): new method.
6641         * bufferparams.C (writeLaTeX): use it.
6642
6643 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6644
6645         * ParagraphList.h (set): remove unused function.
6646
6647 2003-05-23  André Pönitz  <poenitz@gmx.net>
6648
6649         * BufferView.C:
6650         * BufferView_pimpl.C:
6651         * buffer.C:
6652         * buffer.h:
6653         * lyxfunc.C:
6654         * undo_funcs.C: setUndo reworked
6655
6656         * iterators.[Ch]: add access to topmost ParagraphList
6657
6658         * lyxtext.[Ch] (workWidth): add a const
6659
6660 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6661
6662         * texrow.[Ch] (increasePos): remove function
6663         * exporter.C (export): removed unused var and outdated comment
6664
6665 2003-05-23  Angus Leeming  <leeming@lyx.org>
6666
6667         * latexrunparams.h: rename fragile as moving_arg.
6668         * paragraph.C (simpleTeXOnePar): ditto.
6669         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6670
6671 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6672
6673         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6674         (createUndo): ditto
6675         (textUndoOrRedo): comment out a currently unused var.
6676
6677         * paragraph.h (NO_NEXT): enable NO_NEXT
6678
6679         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6680
6681         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6682
6683         * exporter.C (Export): adjust for removeAutoInsets removal.
6684
6685         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6686
6687         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6688
6689         * BufferView.[Ch] (removeAutoInsets): delete function
6690
6691 2003-05-22  Angus Leeming  <leeming@lyx.org>
6692
6693         * latexrunparams.h: add a free_spacing variable.
6694
6695         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6696         to pass moving_arg, as the data is stored in runparams.fragile.
6697
6698         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6699         to Inset::latexOptional or to simpleTeXOnePar.
6700
6701         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6702         free_spacing arg to Inset::latexOptional.
6703
6704         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6705         free_spacing arg.
6706
6707 2003-05-22  Angus Leeming  <leeming@lyx.org>
6708
6709         * latexrunparams.h: add fragile and use_babel variables.
6710
6711         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6712         * buffer.C (makeLaTeXFile): store this returned value in
6713         runparams.use_babel, thus passing it to the inset::latex methods.
6714
6715         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6716         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6717
6718         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6719         longer has a fragile arg, as it is stored in runparams.fragile.
6720
6721         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6722         moving_arg parameter as the data is stored in runparams.fragile.
6723
6724         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6725         a fragile parameter as the data is stored in runparams.fragile.
6726
6727 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6728
6729         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6730
6731 2003-05-22  Angus Leeming  <leeming@lyx.org>
6732
6733         * latexrunparams.h: add a 'bool nice' which defaults to false.
6734
6735         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6736         now encapsulated within runparams.
6737
6738         * bufferlist.C (updateIncludedTeXfiles):
6739         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6740
6741 2003-05-22  Angus Leeming  <leeming@lyx.org>
6742
6743         * latexrunparams.h: new file containing struct LatexRunParams.
6744         * Makefile.am: add new file.
6745
6746         * LaTeX.[Ch] (c-tor, run):
6747         * buffer.[Ch] (makeLaTeXFile):
6748         * bufferlist.[Ch] (updateIncludedTeXfiles):
6749         * converter.C (convert, scanLog):
6750         * converter.[Ch] (runLaTeX):
6751         * exporter.C (Export):
6752         * paragraph.[Ch] (simpleTeXOnePar):
6753         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6754         * paragraph_funcs.[Ch] (latexParagraphs):
6755         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6756         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6757         pass around a LatexRunParams parameter.
6758
6759 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * paragraph.[Ch]: remove unused constructor
6762
6763         * ParagraphList.C (erase): new function, taking two iterators
6764
6765 2003-05-22  André Pönitz  <poenitz@gmx.net>
6766
6767         * undo_funcs.C: remove duplicated code
6768
6769         * iterator.[Ch]: operator=
6770
6771 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * tabular.C (SetMultiColumn): ws changes
6774
6775         * rowpainter.C (paintFirst): get rid of a ->previous
6776
6777         * lyx_cb.C (getPossibleLabel): parlist simplification
6778
6779         * BufferView.C (ChangeInsets): simplify slightly.
6780
6781 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6782
6783         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6784         * lfuns.h: new LFUN_SPACE
6785         * lyxfunc.C: protected space has a new lfun
6786         * paragraph_funcs.C: read new space insets
6787         * text3.C:
6788         * factory.C: handle new space insets
6789
6790 2003-05-22  André Pönitz  <poenitz@gmx.net>
6791
6792         * BufferView.C:
6793         * BufferView_pimpl.C:
6794         * buffer.[Ch]:
6795         * lyxfunc.C:
6796         * undo_funcs.C: return a ParIterator from getParFromID.
6797
6798         * iterators.[Ch]: add two const's
6799
6800 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6801
6802         * toc.C (getTocList): adjust
6803
6804         * iterators.[Ch]: rework for parlist
6805
6806         * buffer.C (par_iterator_begin): adjust
6807         (par_iterator_end): adjust
6808
6809         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6810
6811         * BufferView.C (removeAutoInsets): adjust
6812         (ChangeInsets): adjust
6813
6814 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6815
6816         * text.C (top_y): fix bug 1110
6817
6818 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6819
6820         * errorlist.[Ch]: added
6821         * buffer.C:
6822         * BufferView.[Ch]:
6823         * BufferView_pimpl.C:
6824         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6825         instead
6826
6827 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6828
6829         * Makefile.am: ensure that lyx is relinked upon changes to the
6830         various "convenience" libs.
6831
6832 2003-05-20  Angus Leeming  <leeming@lyx.org>
6833
6834         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6835         files are compiled in alphabetical order again.
6836
6837         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6838
6839 2003-05-19  Angus Leeming  <leeming@lyx.org>
6840
6841         * gettext.[Ch]: remove "char const * _(char const *)".
6842
6843 2003-05-19  André Pönitz  <poenitz@gmx.net>
6844
6845         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6846
6847         * Makefile.am:
6848         * BufferView.C:
6849         * DepTable.h:
6850         * LaTeXFeatures.C:
6851         * buffer.C:
6852         * lyxfont.C:
6853         * lyxlex.h:
6854         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6855
6856 2003-05-19  André Pönitz  <poenitz@gmx.net>
6857
6858         * buffer.C:
6859         * lyxlayout.[Ch]:
6860         * lyxtextclass.[Ch]:
6861         * paragraph.C:
6862         * paragraph_funcs.[Ch]:
6863         * text2.C:
6864         * text3.C: more insetenv work
6865
6866 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6867
6868         * ParagraphParameters.C (params2string): small bug fixed
6869
6870 2003-05-16  André Pönitz  <poenitz@gmx.net>
6871
6872         * debug.C:
6873         * bufferview_funcs.C: patch from Kornel Benko to prevent
6874           crash when _(...) is called twice in a statement
6875
6876 2003-05-16  André Pönitz  <poenitz@gmx.net>
6877
6878         * BufferView.C:
6879         * lyxfunc.C:
6880         * text.C:
6881         * text2.C:
6882         * text3.C:
6883         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6884
6885 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6886
6887         * lyx_main.C (init): remove spurious static_cast
6888
6889 2003-05-14  André Pönitz  <poenitz@gmx.net>
6890
6891         * BufferView.C: fix format string
6892
6893 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6894
6895         * BufferView.[Ch] (insertErrors): removed
6896         * BufferView.[Ch] (showErrorList): added
6897         * buffer.C (runChkTeX):
6898         * converter.C (scanLog): call showErrorList instead of inserterrors
6899
6900 2003-05-13  André Pönitz  <poenitz@gmx.net>
6901
6902         * BufferView_pimpl.C:
6903         * buffer.C:
6904         * bufferview_func.C:
6905         * MenuBackend.C:
6906         * lyxfunc.C:
6907         * lyxrc.C:
6908         * tex-accent.C:
6909         * text3.C:
6910         * toc.C:
6911         * tabular_funcs.h: tostr() from its own header
6912
6913         * ParagraphParameters.C:
6914         * ToolbarBackend.C:
6915         * bufferparams.C:
6916         * format.C:
6917         * lyxlex_pimpl.C:
6918         * text3.C: STRCONV()
6919
6920 2003-05-12  André Pönitz  <poenitz@gmx.net>
6921
6922         * BufferView.C:
6923         * BufferView_pimpl.C:
6924         * CutAndPaste.C:
6925         * LaTeX.C:
6926         * LaTeXFeatures.C:
6927         * ParagraphParameters.C:
6928         * buffer.C:
6929         * bufferlist.C:
6930         * bufferparams.C:
6931         * bufferview_funcs.C:
6932         * converter.C:
6933         * counters.C:
6934         * debug.C:
6935         * exporter.C:
6936         * format.C:
6937         * importer.C:
6938         * lyx_cb.C:
6939         * lyx_main.C:
6940         * lyxfont.C:
6941         * lyxfunc.C:
6942         * lyxvc.C:
6943         * paragraph.C:
6944         * paragraph_funcs.C:
6945         * tabular.C:
6946         * tabular_funcs.C:
6947         * text2.C:
6948         * text3.C:  boost::format -> bformat  all over the place
6949
6950
6951 2003-05-09  André Pönitz  <poenitz@gmx.net>
6952
6953         * LColor.[Ch]: Pimpl the #include <map> away
6954
6955 2003-05-09  John Levon  <levon@movementarian.org>
6956
6957         * bufferlist.C: never remove emergency saves
6958
6959 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6960
6961         * Makefile.am: better lib building
6962
6963 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6964
6965         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6966         instead.
6967         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6968         (simpleTeXSpecialChars): adjust
6969         (simpleTeXSpecialChars): adjust
6970         * paragraph.C (simpleTeXOnePar): adjust
6971         * buffer.C (makeLaTeXFile): adjust
6972
6973         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6974
6975         * text2.C (changeDepth): parlist cleanup
6976         (getColumnNearX): ditto
6977
6978         * rowpainter.C (getLabelFont): parlist cleanup
6979
6980         * bufferlist.C (newFile): parlist cleanup
6981
6982         * CutAndPaste.C (eraseSelection): parlist cleanup
6983
6984         * BufferView_pimpl.C (trackChanges): parlist cleanup
6985         (dispatch): ditto
6986
6987         * BufferView.C (lockInset): parlist cleanup.
6988         (ChangeInsets): ditto
6989
6990 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6991
6992         * CutAndPaste.h: Update file header.
6993
6994         * CutAndPaste.C: Update file header.
6995         Store the parts cut out of the Document in a limited_stack.
6996         (copySelection): adjust
6997         (pasteSelection): new function, takes the index in the limited stack.
6998         (nrOfParagraphs): adjust
6999         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7000         simplify error inset insertion.
7001         (checkPastePossible): adjust
7002
7003 2003-05-06  John Levon  <levon@movementarian.org>
7004
7005         * text2.C: don't cast wrap inset to float
7006
7007 2003-05-05  André Pönitz  <poenitz@gmx.net>
7008
7009         * iterator.C:
7010         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7011
7012         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7013           few naked Paragraph *.
7014
7015 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7016
7017         * bufferparams.C: Output warning if a document with missing
7018         TeX document class is loaded
7019         * exporter.C: Disable TeX exports if the document class is missing
7020         * lyxtextclass.C:
7021         * lyxtextclass.h:
7022         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7023         isTeXClassAvailable()
7024
7025 2003-05-03  John Levon  <levon@movementarian.org>
7026
7027         * BufferView.h:
7028         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7029         explicit cursor show/hide
7030
7031         * BufferView_pimpl.h:
7032         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7033         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7034
7035         * lyxfunc.C: hide cursor before dispatching.
7036
7037         * lyx_cb.C:
7038         * lyxfind.C:
7039         * text.C:
7040         * text3.C: remove explicit cursor hides
7041
7042 2003-05-02  André Pönitz  <poenitz@gmx.net>
7043
7044         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7045
7046         * undo_funcs.C:
7047         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7048           linked lists
7049
7050         * text2.C: tiny whitespace
7051
7052 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7053
7054         * undo_funcs.C: almost only ws changes.
7055
7056         * ParagraphList.C (splice): just return if pl is empty.
7057
7058 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7059
7060         * ParagraphList.C (splice): new function.
7061
7062         * CutAndPaste.C (pasteSelection): use it
7063
7064 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7065
7066         * CutAndPaste.C (pasteSelection): remove the last next and
7067         previous from this file.
7068
7069 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * CutAndPaste.C (pasteSelection): more clean up, user proper
7072         ParagraphList functions for pasteing.
7073
7074         * ParagraphList.C (insert): new function, three arg insert
7075
7076 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7077
7078         * ParagraphList.C (insert): new function, three arg insert
7079
7080         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7081         not on paragraphs.
7082
7083 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7084
7085         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7086
7087 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7088
7089         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7090
7091 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7092
7093         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7094         (copySelection): clean up a bit.
7095         (pasteSelection): use make_pair
7096
7097         * ParagraphList.C (ParagraphList): implement copy constructor
7098         (operator=): implement, base on copy constructor.
7099         (assign): new func
7100
7101         * paragraph.C (erase): return a bool
7102
7103         * paragraph_pimpl.C (erasePos): remove function, move contents...
7104         (erase): ... here. Return a bool.
7105         (erase): call erase instead of erasePos.
7106
7107 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7108
7109         * ParagraphList.h: define PitPosPair
7110         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7111         ParagraphList, fix a bug on pasting multiple pars
7112         * text2.C: change interface to C&P
7113
7114 2003-04-30  André Pönitz  <poenitz@gmx.net>
7115
7116         * undo_func.C: revert part of yesterday's patch 2
7117
7118 2003-04-30  John Levon  <levon@movementarian.org>
7119
7120         * LColor.C: s/tabular/table/
7121
7122 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7123
7124         * text3.C (dispatch): do not convert iterator -> pointer
7125         * undo_funcs.C (setCursorParUndo): ditto
7126         * text_funcs.C (transposeChars): ditto
7127
7128         * text2.C (setLayout): ws changes only
7129
7130         * text.C (breakParagraph): do not convert iterator -> pointer
7131         (insertChar): ditto
7132         (acceptChange): ditto
7133         (rejectChange): ditto
7134         (changeCase): ditto
7135         (Delete): ditto
7136         (backspace): ditto
7137
7138         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7139         pointer
7140
7141 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7142
7143         * text3.C (gotoInset): YABG (yet another bad getChar)
7144
7145 2003-04-29  André Pönitz  <poenitz@gmx.net>
7146
7147         * paragraph.h: make operator= private unimplemented as long as
7148           it is unusable
7149
7150         * ParagraphList.C: whitespace
7151
7152         * paragraph.[Ch]:
7153         * paragraph_pimpl.[Ch]:
7154         * paragraph_funcs.C:
7155         * CutAndPaste.C:
7156         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7157
7158         * text2.C:
7159           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7160
7161 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7162
7163         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7164         * paragraph.[Ch] (erase):
7165         * paragraph_pimpl.[Ch] (erase): change return type and value
7166         * text2.C (cutSelection): some rework
7167
7168 2003-04-28  John Levon  <levon@movementarian.org>
7169
7170         * bufferlist.C: changes for unsaved changes dialog
7171
7172 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7173
7174         * bufferlist.C (newFile): set language (messages_) for new
7175         documents also.
7176
7177         * buffer.C (readFile): ws changes only.
7178
7179 2003-04-28  André Pönitz  <poenitz@gmx.net>
7180
7181         * undo_funcs.C:
7182         * lyxfunc.C:
7183         * buffer.[Ch]:
7184         * BufferView_pimpl.C:
7185         * BufferView.C: getParFromID related ParagraphList::iterator changes
7186
7187 2003-04-28  André Pönitz  <poenitz@gmx.net>
7188
7189         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7190           Changes
7191
7192 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7193
7194         * messages.C: remove one more localedir class variable.
7195
7196 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7197
7198         * messages.C (getLocaleDir): singleton generation function
7199         (Pimpl): use it.
7200         (Messages): add a default constructor.
7201
7202         * main.C (main): do not setup localedir here, do not call
7203         gettext_init.
7204
7205         * gettext.C (_): use it.
7206         (gettext_init): delete funciton
7207
7208 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7209
7210         * gettext.C (getLyXMessages): new singleton generating function.
7211
7212         * buffer.C (updateDocLang): adjust
7213
7214         * Makefile.am (messages.o): add target
7215         (main.o): remove target
7216
7217 2003-04-27  John Levon  <levon@movementarian.org>
7218
7219         * bufferlist.C:
7220         * lyx_cb.C:
7221         * lyxfunc.C:
7222         * lyxvc.C: specify cancel button in Alert::prompt
7223
7224 2003-04-26  John Levon  <levon@movementarian.org>
7225
7226         * text3.C:
7227         * lyxfunc.C:
7228         * lfuns.h:
7229         * LyXAction.C: add LFUN_INSET_SETTINGS
7230
7231         * lyxfunc.C: don't enable tabular-feature when there's
7232         just any locking inset
7233
7234 2003-04-26  John Levon  <levon@movementarian.org>
7235
7236         * bufferlist.C: re-add Cancel to buffer close question
7237
7238         * lyxfunc.C: fix import UI a bit
7239
7240 2003-04-25  John Levon  <levon@movementarian.org>
7241
7242         * gettext.C: remove the broken asserts for now
7243
7244 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7245
7246         * messages.C: make case where setlocale cannot comply work better.
7247
7248         * buffer.C (updateDocLang): new function
7249         (changeLanguage): use it
7250         (readFile): use it
7251
7252         * text2.C (setCounter): use B_ a bit.
7253
7254         * lyxlayout.C (Read): be sure to trim the label strings.
7255
7256         * messages.C (Messages): fix typo in comment
7257
7258         * buffer.C (readFile): set message_ after file is loaded.
7259         (makeDocBookFile): remove double return
7260         (changeLanguage): reset message_ upon language change.
7261         (B_): new func, use this to get translated buffer strings.
7262
7263         * main.C: add myself and Jean Marc as authors.
7264
7265 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7266
7267         * messages.[hC]: pimplify Messages, and three different pimpls to be
7268         used in different circumstances.
7269
7270         * gettext.[Ch]: change for use with new message code.
7271
7272 2003-04-24 André Pönitz <poenitz@gmx.net>
7273
7274         * factory.C: support for eqref
7275
7276 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7277
7278         * messages.[Ch]: add missing char
7279
7280         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7281
7282         * messages.[Ch]: New files
7283
7284 2003-04-18  John Levon  <levon@movementarian.org>
7285
7286         * BufferView.h:
7287         * BufferView.C:
7288         * BufferView_pimpl.C:
7289         * lfuns.h:
7290         * LyXAction.C:
7291         * lyxtext.h:
7292         * text2.C: remove layout-copy/paste (bug 778)
7293
7294 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7295
7296         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7297
7298 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7299
7300         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7301         if they succeed. Act accordingly.
7302
7303 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7304
7305         * text2.C (setCharFont): adjust
7306         (setCounter): adjust
7307         (insertStringAsLines): adjust
7308
7309         * text.C (leftMargin): adjust
7310         (setHeightOfRow): adjust
7311
7312         * rowpainter.C (paintFirst): adjust
7313         (paintLast): adjust
7314
7315         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7316         (outerHook): ditto
7317         (isFirstInSequence): ditto
7318         (getEndLabel): ditto
7319         (outerFont): adjust
7320
7321         * paragraph.C (getParLanguage): comment out some hard stuff.
7322
7323         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7324         (sgmlError): ditto
7325         (simpleDocBookOnePar): ditto
7326         (makeDocBookFile): use ParagraphList::iterator
7327
7328         * CutAndPaste.C (pasteSelection): adjust
7329
7330 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7331
7332         * text2.C (getFont): adjust
7333         (getLayoutFont): adjust
7334         (getLabelFont): adjust
7335
7336         * paragraph_funcs.C (TeXOnePar): adjust
7337
7338         * buffer.C (simpleLinuxDocOnePar): adjust
7339         (simpleDocBookOnePar): adjust
7340
7341         * CutAndPaste.C (pasteSelection): adjust
7342
7343         * BufferView.C (getEncoding): adjust
7344
7345         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7346
7347 2003-04-16  John Levon  <levon@movementarian.org>
7348
7349         * lyxfind.C: use parlist stuff for search/changes
7350
7351 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7352
7353         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7354
7355         * text2.C (deleteEmptyParagraphMechanism): adjust
7356
7357         * text2.[Ch] (ownerParagraph): delete func (both of them
7358
7359 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7360
7361         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7362
7363 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7364
7365         * ParagraphList.C: prepare for NO_NEXT
7366
7367 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7368
7369         * text2.C (getFont): adjust
7370         (getLayoutFont): adjust
7371         (getLabelFont): adjust
7372
7373         * paragraph.C (getFont): adjust
7374         (getLabelFont): adjust
7375         (getLayoutFont): adjust
7376
7377         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7378
7379 2003-04-15  John Levon  <levon@movementarian.org>
7380
7381         From Angus Leeming
7382
7383         * lyx_main.C: handle Include in .ui files
7384
7385 2003-04-15  John Levon  <levon@movementarian.org>
7386
7387         * MenuBackend.C: make the doc files length shorter
7388
7389         * ToolbarBackend.h:
7390         * ToolbarBackend.C: handle toolbar placement flags,
7391         Minibuffer
7392
7393 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7394
7395         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7396         adjust
7397
7398         * paragraph_funcs.C (TeXOnePar): adjust
7399
7400         * paragraph.C (getLabelFont): add outerfont arg, adjust
7401         (getLayoutFont): ditto
7402         (simpleTeXOnePar): adjust
7403
7404         * paragraph_pimpl.C (realizeFont): delete func
7405
7406 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7407
7408         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7409         row argument, constify cur argument.
7410
7411 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7412
7413         * text2.C (getFont): adjust
7414         (getLayoutFont): adjust
7415         (getLabelFont): adjust
7416
7417         * paragraph_funcs.C (TeXOnePar): adjust
7418         (outerFont): new func...
7419         (realizeFont): ...moved out from here, changed this to facilitate
7420         transition
7421
7422         * paragraph.C (getFont): take outerfont as arg, adjust
7423         (simpleTeXOnePar): add outerfont arg, adjust
7424
7425         * buffer.C (simpleLinuxDocOnePar): adjust
7426         (simpleDocBookOnePar): adjust
7427
7428         * CutAndPaste.C (pasteSelection): adjust
7429
7430         * BufferView.C (getEncoding): adjust
7431
7432 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7433
7434         * text2.C (setCharFont): adjust
7435         (setCounter): adjust
7436
7437         * text.C (leftMargin): adjust
7438         (setHeightOfRow): adjust
7439
7440         * rowpainter.C (paintFirst): adjust
7441         (paintLast): adjust
7442
7443         * paragraph_pimpl.C (realizeFont): adjust
7444
7445         * paragraph.C (isFirstInSequence): move from here...
7446         * paragraph_funcs.C (isFirstInSequence): ...to here
7447
7448         * paragraph.C (outerHook): move from here...
7449         * paragraph_funcs.C (outerHook): ...to here
7450
7451         * paragraph.C (depthHook): move from here...
7452         * paragraph_funcs.C (depthHook): ...to here
7453
7454         * paragraph.C (getEndLabel): move from here...
7455         * paragraph_funcs.C (getEndLabel): ...to here
7456
7457         * text2.C (realizeFont): move from here...
7458         * paragraph_funcs.C (realizeFont): ...to here
7459
7460 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7461
7462         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7463
7464 2003-04-14  Angus Leeming  <leeming@lyx.org>
7465
7466         * LColor.[Ch]: scrap LColor mathcursor.
7467
7468 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7469
7470         * lyxlex.[Ch] (text): delete function
7471         * trans.C (Load): adjust
7472         * paragraph_funcs.C (readParToken): adjust
7473
7474 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7475
7476         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7477         vector<char> instead of a char[].
7478
7479         * lyxlex_pimpl.C (getString): adjust
7480         (next): adjust
7481         (lex): use getString
7482         (eatLine): adjust
7483         (nextToken): adjust
7484
7485         * lyxlex.C (text): use pimpl_->getString()
7486         (getBool): ditto
7487         (findToken): ditto
7488
7489 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7490
7491         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7492         (makeFontEntriesLayoutSpecific): temp var for par.size()
7493         (setLayout): temp var for ownerParagraphs().end()
7494         (fullRebreak): temp var for rows().end()
7495         (selectionAsString): temp var for boost::next(startpit), realize
7496         that the while really is a regular for loop.
7497         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7498         setCursor in one place.
7499         (setParagraph): temp vr for ownerParagraphs().end()
7500         (updateCounters): make the while loop a for loop
7501         (cutSelection): temp var for ownerParagraphs().end()
7502         (updateInset): make the do {} while() a regular for loop
7503         (getCursorX): use temp vars
7504         (setCurrentFont): use temp vars
7505         (getColumnNearX): use temp vars
7506
7507 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7508
7509         * text.C (transformChar): use temp var for getChar
7510         (computeBidiTables): use temp var for row->par()
7511         (fill): move temp vars for row->par() and pit->layout() earlier in
7512         the function.
7513         (labelFill): use temp var for row->par()
7514         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7515         asc and desc, realize that pit never changes and that firstpit is
7516         just a duplicate and not needed. Exchange rit->par() with pit in a
7517         lot of places.
7518         (breakAgain): use a temp var for boost::next(rit)
7519         (breakAgainOneRow): ditto
7520         (breakParagraph): use a temp var for rows().begin()
7521         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7522         (cursorRightOneWord): use temp var for cursor.par() and
7523         cursor.pos(), remove usage of tmpcursor.
7524         (cursorLeftOneWord): use temp var for cursor.par() and
7525         cursor.pos() only set cur at end of function.
7526
7527 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7528
7529         * text.C, text2.C: exchange all usage of Paragraph::next with
7530         boost::next(ParagraphList::iterator)
7531
7532         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7533
7534         * text2.C (cursorTop): simplify implementation
7535         (cursorBottom): ditto
7536         (setParagraph): use ParagraphList::iterator
7537         (setCurrentFont): adjust
7538         (getColumnNearX): adjust
7539         (cursorRight): adjust
7540         (cursorLeft): remove usage of Paragraph::previous
7541         (cursorUpParagraph): ditto
7542         (deleteEmptyParagraphMechanism): slight cleanup
7543
7544         * text.C (isBoundary): take a Paragraph const & instead of a
7545         pointer as arg.
7546         (addressBreakPoint): ditto
7547         (leftMargin): remove usage of Paragraph::previous.
7548         (setHeightOfRow): ditto
7549         (cursorLeftOneWord): ditto
7550         (selectNextWordToSpellcheck): ditto
7551         (Delete): ditto
7552         (backspace): ditto
7553         (breakParagraph): remove one usage of Paragraph::next
7554         (redoParagraph): ditto
7555         (acceptChange): ditto
7556         (insertChar): adjust
7557         (rowBreakPoint): adjust
7558
7559         * bufferview_funcs.C (toggleAndShow): adjust
7560
7561 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7562
7563         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7564         methods to access it.
7565         * lyxtext.h:
7566         * text.C: Added updateRowPositions to compute all row positions.
7567         Make top_y and getRowNearY() to use the cached y position
7568
7569 2003-04-11  John Levon  <levon@movementarian.org>
7570
7571         * text.C (rowBreakPoint): reintroduce the labelEnd
7572         checks, code copied from the row fill stuff. Deep voodoo.
7573
7574         * text.C (fill): add a comment and debugging for the
7575         next poor soul.
7576
7577 2003-04-11  John Levon  <levon@movementarian.org>
7578
7579         * text.C: make sure fullrow insets get wrapped to the next line,
7580         even when they're in a manual label
7581
7582 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7583
7584         * text2.C (insertParagraph): make it take ParagraphList::iterator
7585         as arg.
7586         (setLayout): make it return ParagraphList::iterator
7587         (redoParagraphs): ditto
7588         (setCounter): ditto
7589         (checkParagraph): ditto
7590
7591         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7592
7593         * text2.C: adjust several funcs.
7594         (realizeFont): take a ParagraphList::iterator as arg.
7595         (getLayoutFont): ditto
7596         (getLabelFont): ditto
7597         (setCharFont): ditto
7598
7599         * text.C: adjust several funcs.
7600
7601 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7602
7603         * text.C (selectNextWordToSpellcheck): don't accidentally
7604         skip insets
7605
7606 2003-04-10  John Levon  <levon@movementarian.org>
7607
7608         * ToolbarBackend.C (getIcon): special handling for
7609         LFUN_MATH_DELIM
7610
7611 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7612
7613         * text2.C (cursorRight): a getChar assert fixed
7614
7615 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7616
7617         * text2.C (getFont): change to take a ParagraphList::iterator
7618         instead of Paragraph*
7619         Adjust several functions.
7620
7621         * text.C (transformChar): change to take a ParagraphList::iterator
7622         instead of Paragraph*
7623         (singleWidth): ditto
7624         Adjust several functions.
7625
7626         * rowpainter.C: adjust several functions
7627         * rowpainter.h:store a ParagraphList::iterator and not a
7628         Paragraph&.
7629
7630
7631 2003-04-09  John Levon  <levon@movementarian.org>
7632
7633         * lyxfunc.C:
7634         * lfuns.h:
7635         * LyXAction.h:
7636         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7637         and the "help" bits as well
7638
7639 2003-04-09  John Levon  <levon@movementarian.org>
7640
7641         * ToolbarBackend.h:
7642         * ToolbarBackend.C: allow multiple toolbars
7643
7644 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7645
7646         * undo_funcs.C (setCursorParUndo): adjust
7647
7648         * text_funcs.C (transposeChars): adjust
7649
7650         * text3.C (gotoNextInset): adjust
7651         (dispatch): adjust
7652
7653         * text2.C (setLayout): adjust
7654         (changeDepth): adjust
7655         (setFont): adjust
7656         (redoParagraphs): adjust
7657         (selectionAsString): adjust
7658         (setParagraph): adjust
7659         (insertInset): adjust
7660         (cutSelection): adjust
7661         (copySelection): adjust
7662         (pasteSelection): adjust
7663         (insertStringAsLines): adjust
7664         (updateInset): adjust
7665         (setCursor): change to take a ParagraphList::iterator parameter
7666         (setCursorIntern): change to take a ParagraphList::iterator parameter
7667         (setCurrentFont): adjust
7668         (cursorLeft): adjust
7669         (cursorRight): adjust
7670         (deleteEmptyParagraphMechanism): adjust
7671
7672         * text.C (breakParagraph): adjust
7673         (insertChar): adjust
7674         (acceptChange): adjust
7675         (rejectChange): adjust
7676         (selectNextWordToSpellcheck): adjust
7677         (changeCase): adjust
7678         (Delete): adjust
7679         (backspace): adjust
7680
7681         * lyxfind.C (SearchForward): adjust
7682         (SearchBackward): adjust
7683         (nextChange): adjust
7684
7685         * lyxcursor.C (par): adjust
7686
7687         * lyxcursor.h: store a ParagraphList::iterator instead of a
7688         Paragraph*
7689
7690         * lyx_cb.C (getPossibleLabel): adjust
7691
7692         * bufferview_funcs.C (toggleAndShow): adjust
7693
7694         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7695         (dispatch): adjust
7696
7697         * BufferView.C (removeAutoInsets): adjust
7698         (lockedInsetStoreUndo): adjust
7699
7700 2003-04-09  John Levon  <levon@movementarian.org>
7701
7702         * ToolbarBackend.C: try icon without argument
7703         if with argument fails
7704
7705 2003-04-08  John Levon  <levon@movementarian.org>
7706
7707         * ToolbarBackend.h:
7708         * ToolbarBackend.C: add getIcon(), handle tooltip,
7709         and change from "Icon" to "Item".
7710
7711 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7712
7713         * BufferView.C (lockInset): another bad getchar crunched
7714
7715 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7716
7717         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7718         again)
7719
7720 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7721
7722         * lyxfind.C (searchForward, searchBackwards): bug 782
7723
7724 2003-04-07  John Levon  <levon@movementarian.org>
7725
7726         * paragraph.C: remove dead comment
7727
7728         * text.C: remove troublesome depth-fiddling code
7729         in leftMargin() and rightMargin() (bug 1017)
7730
7731         * text.C: fix breaking of rows in nested lists
7732         (bug 1004)
7733
7734         * text2.C (updateCounters): fix up depth values
7735         (bug 1013)
7736
7737 2003-04-07  John Levon  <levon@movementarian.org>
7738
7739         * BufferView_pimpl.C: clear message when doc finishes resizing,
7740         and after a mouse event
7741
7742         * lyxfunc.C: clear message after exiting inset
7743
7744 2003-04-07  John Levon  <levon@movementarian.org>
7745
7746         * bufferview_funcs.C: show math status not outside
7747         status in the statusbar
7748
7749 2003-04-07  John Levon  <levon@movementarian.org>
7750
7751         * lyxfunc.C: note status changed after a depth change
7752
7753 2003-04-04  Angus Leeming  <leeming@lyx.org>
7754
7755         * LaTeX.h: move AuxInfo operator==, != out of line.
7756         Remove LaTeX virtual destructor; nothing derives from it.
7757         Move operator()() out of public area and rename it startscript().
7758         Change protected for private.
7759
7760 2003-04-04  Angus Leeming  <leeming@lyx.org>
7761
7762         * lyxfunc.C:
7763         * text2.C: remove unneeded #includes.
7764
7765 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7766
7767         * text2.C (dEPM): fix the heigth of the next row
7768
7769 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7770
7771         * text.C: squashed an invalid getChar requester + some ws changes
7772
7773 2003-04-03  John Levon  <levon@movementarian.org>
7774
7775         * bufferview_funcs.h:
7776         * bufferview_funcs.C:
7777         * lyxfunc.C:
7778         * lyxtext.h:
7779         * text2.C: make getStatus work for the env depth lfuns
7780
7781 2003-04-03  John Levon  <levon@movementarian.org>
7782
7783         * bufferview_funcs.h:
7784         * bufferview_funcs.C:
7785         * lyxfunc.C:
7786         * lyxtext.h:
7787         * text2.C: parlistize decDepth(), by merging it with incDepth()
7788
7789 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7790
7791         * lyxrow.h: store a ParagraphList::iterator instead of a
7792         Paragraph* and adjust other class functions to suit.
7793
7794         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7795         above.
7796
7797 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7798
7799         * text2.C (setCursor): do not anchor to cursor row for the time being
7800
7801 2003-04-02  John Levon  <levon@movementarian.org>
7802
7803         * LyXAction.C:
7804         * lfuns.h:
7805         * lyx_main.C:
7806         * lyxtext.h:
7807         * text.C:
7808         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7809
7810 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7811
7812         * paragraph.h: make ParagraphList and ParagraphList::iterator
7813         friends of Paragraph.
7814
7815         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7816
7817         * ParagraphList.C: Use the private next_ and previous_ from
7818         Paragraph.
7819
7820 2003-04-01  John Levon  <levon@movementarian.org>
7821
7822         * ToolbarBackend.h:
7823         * ToolbarBackend.C:
7824         * Makefile.am: rename, remove defaults gunk
7825
7826         * MenuBackend.h:
7827         * MenuBackend.C: remove defaults gunk
7828
7829         * Languages.h:
7830         * Languages.C: remove defaults gunk
7831
7832         * lyx_main.h:
7833         * lyx_main.C: error out if files couldn't be found.
7834
7835 2003-04-02  John Levon  <levon@movementarian.org>
7836
7837         * text2.C: make incDepth() use parlist
7838
7839 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7840
7841         * undo_funcs.C (firstUndoParagraph): adjust
7842
7843         * text3.C (gotoInset): adjust
7844         (dispatch): adjust, and rewrite loop.
7845
7846         * text2.C (init): adjust, and rewrite loop.
7847         (redoParagraphs): adjust
7848         (updateInset): adjust, and rewrite loop.
7849         (deleteEmptyParagraphMechanism): adjust
7850
7851         * tabular.C (LyXTabular): adjust
7852         (SetMultiColumn): adjust
7853         (TeXRow): adjust
7854
7855         * lyxtext.[Ch] (ownerParagraph): delete function
7856         (ownerParagraphs): new function returns a ParagraphList.
7857
7858         * BufferView.C (removeAutoInsets): adjust
7859         (insertErrors): adjust
7860         (setCursorFromRow): adjust
7861
7862 2003-04-01  Angus Leeming  <leeming@lyx.org>
7863
7864         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7865         in the frontends.
7866
7867 2003-04-02  John Levon  <levon@movementarian.org>
7868
7869         * lyxtext.h:
7870         * text.C:
7871         * Makefile.am:
7872         * text_funcs.h:
7873         * text_funcs.C: make transposeChars a free function
7874
7875         * lyxrow_funcs.C: remove wrong comment
7876
7877 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7878
7879         * lyxtext.h: adjust
7880         * rowpainter.C: adjust
7881         * text.C: adjust
7882         * text2.C: adjust
7883         * text3.C: adjust
7884
7885         * lyxrow_funcs. [Ch]: new files
7886
7887         * lyxrow.[Ch]: remove next and previous pointers
7888         (next,previous): remove accessor functions
7889         (isParEnd): move to lyxrow_funcs
7890         (lastPos): move to lyxrow_funcs
7891         (nextRowIsAllInset): move to lyxrow_funcs
7892         (lastPrintablePos): move to lyxrow_funcs
7893         (numberOfSeparators): move to lyxrow_funcs
7894         (numberOfHfills): move to lyxrow_funcs
7895         (numberOfLabelHfills): move to lyxrow_funcs
7896         (hfillExpansion): move to lyxrow_funcs
7897
7898         * lyxfunc.C: adjust
7899
7900         * bufferview_funcs.C (toggleAndShow): adjust
7901
7902         * RowList.h: Remove class RowList from file leave just a
7903         std::list<Row>.
7904
7905         * RowList.C: delete file
7906
7907         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7908         and lyxrow_funcs.h
7909
7910 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7911
7912         * text3.C (cursorPrevious): adjust
7913         (cursorNext): adjust
7914         (dispatch): adjust
7915
7916         * text2.C (redoHeightOfParagraph): adjust
7917         (redoDrawingOfParagraph): adjust
7918         (setCursor): adjust
7919
7920         * text.C (breakParagraph): adjust
7921         (insertChar): adjust
7922         (backspace): adjust
7923
7924         * rowpainter.C (RowPainter): adjust
7925         (leftMargin): simplify and adjust
7926         (most rowpainter functions): adjust.
7927
7928         * rowpainter.h: store the row as RowList::iterator not as Row*
7929
7930         * lyxcursor.C (row): taka RowList::iterator as arg
7931         (irow): ditto
7932
7933         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7934         of Row*.
7935
7936 2003-04-01  Angus Leeming  <leeming@lyx.org>
7937
7938         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7939         stuff like bool Bool.
7940
7941 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7942
7943         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7944         rewrite a loop
7945
7946 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7947
7948         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7949         RowList::iterator.
7950
7951         * lyxtext.h (rows): drop one version and leve a const variant that
7952         returns a RowList::iterator.
7953
7954 2003-03-31  Angus Leeming  <leeming@lyx.org>
7955
7956         * text.C (fill): ensure that the signature is the same as that in the
7957         header file.
7958
7959 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7960
7961         * text2.C (redoParagraphs): adjust
7962         (updateCounters): adjust
7963         (checkParagraph): adjust
7964         (getColumnNearX): adjust and reformat a bit.
7965
7966         * text.C (top_y): adjust
7967         (workWidth): adjust
7968         (leftMargin): adjust
7969         (prepareToPrint): adjust
7970         (getRow): adjust
7971         (getRowNearY): adjust
7972
7973         * lyxtext.h: make rowlist_ mutable.
7974
7975         * RowList.h: add const_iterator
7976         * RowList.C: adjust for RowList::const_iterator.
7977
7978         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7979         adjust.
7980
7981 2003-03-31  John Levon  <levon@movementarian.org>
7982
7983         * lyxrc.h:
7984         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7985
7986         * lyx_main.C: set default fonts from using lyx_gui funcs
7987
7988         * exporter.C: pdf_mode moved from lyxrc
7989
7990         * lyx_cb.C:
7991         * lyxfunc.C: changes from above
7992
7993 2003-03-31  John Levon  <levon@movementarian.org>
7994
7995         * lyx_main.C: fix to the last fix
7996
7997 2003-03-31  John Levon  <levon@movementarian.org>
7998
7999         * bufferlist.C: "Load original" -> "Load Original"
8000
8001         * converter.C:
8002         * exporter.C:
8003         * importer.C:
8004         * lyx_main.C:
8005         * format.C: more Alert cleanups
8006
8007 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8008
8009         * text2.C (removeParagraph): make it take a RowList::iterator as
8010         arg, adjust.
8011         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8012         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8013
8014         * text.C (anchor_row): make it take a RowList::iterator as arg,
8015         adjust.
8016         (computeBidiTables): make it take a const reference to Row instead
8017         of Row pointer, adjust.
8018         (leftMargin): make it take a RowList::iterator as arg, adjust.
8019         (rowBreakPoint): adjust
8020         (breakAgainOneRow): make it take a RowList::iterator as arg,
8021         adjust.
8022         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8023
8024         * bufferview_funcs.C (toggleAndShow): adjust
8025
8026 2003-03-30  John Levon  <levon@movementarian.org>
8027
8028         * Makefile.am:
8029         * BoostFormat.h:
8030         * boost-inst.C: moved to support
8031
8032         * several files: changes as a result
8033
8034 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8035
8036         * text2.C (LyXText): adjust.
8037         (init): adjust
8038         (removeRow): make it take a RowList::iterator as arg, adjust.
8039         (fullRebreak): adjust
8040         (deleteEmptyParagraphMechanism): adjust
8041         (clearPaint): adjust
8042         (postPaint): adjust
8043
8044         * text.C (top_y): adjust
8045         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8046         (breakAgain): make it take a RowList::iterator as arg, adjust.
8047         (breakParagraph): adjust
8048         (insertChar): adjust
8049         (backspace): adjust
8050
8051         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8052         need_break_row, and refresh_row.
8053
8054         * text3.C (dispatch): adjust
8055
8056         * text2.C (checkParagraph): adjust
8057         (setCursor): adjust
8058         (setCursorFromCoordinates): adjust
8059
8060         * text.C (top_y): adjust
8061         (workWidth): adjust
8062         (getRow): make it return a RowList::iterator, adjust
8063         (getRowNearY): make it return a RowList::iterator, adjust
8064
8065         * text2.C (init): adjust
8066         (insertRow): remove function
8067         (insertParagraph): adjust
8068         (redoParagraphs): adjust
8069         (fullRebreak): adjust
8070         (updateCounters): adjust
8071
8072         * text.C (top_y): rewrite to use RowList iterators.
8073         (top_y): adjust
8074         (setHeightOfRow): rewrite to sue RowList iterators.
8075         (appendParagraph): adjust
8076         (breakAgain): adjust
8077         (breakAgainOneRow): adjust
8078         (breakParagraph): adjust
8079         (getRow): adjust
8080         (getRowNearY): adjust, and remove commented code.
8081
8082         * lyxtext.h (firstRow): delete function
8083         (lastRow): delete function
8084         (rows): new function (const and non-const versions.)
8085         (insertRow): delete function
8086
8087         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8088
8089 2003-03-29  John Levon  <levon@movementarian.org>
8090
8091         * BufferView_pimpl.C: always update scrollbar top
8092         because pasting text when we're anchored could mean we
8093         miss an update altogether
8094
8095 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8096
8097         * text2.C (init): use rowlist_.end() and not 0.
8098         (insertRow): change to take a RowList::iterator as arg, adjust
8099         for this.
8100         (insertParagraph): change to take a RowList::iterator as arg,
8101         adjust for this.
8102         (redoParagraphs): remove some debug msgs.
8103
8104         * text.C (appendParagraph): change to take a RowList::iterator
8105         arg, adjust for this.
8106         (breakAgain): add an assert
8107         (breakAgainOneRow): ditto
8108
8109 2003-03-29  John Levon  <levon@movementarian.org>
8110
8111         * text2.C: do not clear selection after inc/decDepth
8112         (bug 550)
8113
8114 2003-03-29  John Levon  <levon@movementarian.org>
8115
8116         * BufferView.C:
8117         * buffer.C: fix broken strerrors according to Lars
8118
8119 2003-03-29  John Levon  <levon@movementarian.org>
8120
8121         * converters.C: more Alert cleanups
8122
8123 2003-03-29  John Levon  <levon@movementarian.org>
8124
8125         * bufferview_funcs.C: remove pointless Alert
8126
8127         * buffer.C: fix confusing error message when
8128         a template is chmoded 000
8129
8130 2003-03-29  John Levon  <levon@movementarian.org>
8131
8132         * BufferView.C:
8133         * BufferView.h:
8134         * BufferView_pimpl.C: Alert fixes
8135
8136         * Makefile.am:
8137         * tabular.C:
8138         * tabular-old.C: remove unused table compat reading
8139
8140 2003-03-29  John Levon  <levon@movementarian.org>
8141
8142         * BufferView.C:
8143         * buffer.C:
8144         * lyx_cb.h:
8145         * lyx_cb.C: more Alert cleanups
8146
8147         * lyxfunc.C: don't allow chktex if not latex document
8148
8149 2003-03-29  John Levon  <levon@movementarian.org>
8150
8151         * lyx_cb.C:
8152         * BufferView.C:
8153         * buffer.C: warnings pushed down from support/,
8154         kill err_alert
8155
8156 2003-03-29  John Levon  <levon@movementarian.org>
8157
8158         * lyxfunc.C: safety check for C-r (revert)
8159
8160 2003-03-29  John Levon  <levon@movementarian.org>
8161
8162         * bufferlist.h:
8163         * bufferlist.C: several UI fixes using Alert::prompt.
8164         Fix the pointless looping quit code. Fix stupid revert
8165         behaviour (bug 938)
8166
8167         * lyxvc.h:
8168         * lyxvc.C:
8169         * lyx_cb.C: use Alert::prompt
8170
8171         * lyx_main.C: remove a silly question
8172
8173         * lyxfunc.C: remove a couple of silly questions,
8174         use Alert::prompt
8175
8176 2003-03-28  John Levon  <levon@movementarian.org>
8177
8178         * text2.C: fix bug 974 (End on empty par)
8179
8180 2003-03-28  John Levon  <levon@movementarian.org>
8181
8182         * BufferView_pimpl.C:
8183         * LyXAction.C:
8184         * lfuns.h: remove do-nothing math greek lfuns
8185
8186 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8187
8188         * lyxgluelength.h (isValidGlueLength): add default arg on
8189         parameter 2. Remove default arg from friend in class.
8190
8191         * lyxlength.h (isValidLength): add default arg on parameter 2.
8192         Remove default arg from friend in class.
8193
8194         * text2.C (LyXText): adjust, initialize refresh_row.
8195         (init): adjust
8196         (removeRow): adjust
8197         (insertRow): adjust
8198         (insertParagraph): adjst
8199         (redoParagraphs): adjust
8200         (fullRebreak): adjust
8201         (updateCounters): adjust
8202         (deleteEmptyParagraphMechanism): first attempt at fixing a
8203         crashing bug.
8204
8205         * text.C (top_y): adjust
8206         (setHeightOfRow): adjust
8207         (getRow): adjust
8208         (getRowNearY): adjust
8209
8210         * lyxtext.h: include RowList.h
8211         (~LyXText): not needed anymore, deleted.
8212         (firstRow): modify for RowList
8213         (lastRow): new function
8214         Delete firstrow and lastrow class variables, add a Rowlist
8215         rowlist_ class variable.
8216
8217         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8218         paragraph is empty.
8219
8220         * RowList.C (insert): fix case where it == begin().
8221
8222 2003-03-26  Angus Leeming  <leeming@lyx.org>
8223
8224         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8225         the thesaurus dialog.
8226
8227 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8228
8229         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8230
8231         * RowList.[Ch]: new files
8232
8233         * ParagraphList.C (erase): handle the case where it == begin
8234         correctly.
8235
8236 2003-03-25  John Levon  <levon@movementarian.org>
8237
8238         * Makefile.am:
8239         * aspell_local.h:
8240         * aspell.C: add new aspell support
8241
8242         * lyxrc.h:
8243         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8244         have it accessible.
8245
8246 2003-03-25  Angus Leeming  <leeming@lyx.org>
8247
8248         * lfuns.h:
8249         * LyXAction.C (init): new LFUN_INSET_INSERT.
8250
8251         * BufferView_pimpl.C (dispatch): split out part of the
8252         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8253
8254         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8255         LFUN_INSET_APPLY.
8256
8257 2003-03-25  Angus Leeming  <leeming@lyx.org>
8258
8259         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8260
8261 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8262
8263         * text2.C:
8264         * text3.C: remove useless row->height(0)
8265
8266 2003-03-25  John Levon  <levon@movementarian.org>
8267
8268         * lyxtext.h:
8269         * text2.C:
8270         * text3.C: rename the refreshing stuff to better names
8271
8272 2003-03-24  John Levon  <levon@movementarian.org>
8273
8274         * BufferView_pimpl.h:
8275         * BufferView_pimpl.C: update layout choice on a mouse
8276         press/release
8277
8278 2003-03-23  John Levon  <levon@movementarian.org>
8279
8280         * Makefile.am: fix commandtags.h reference
8281
8282 2003-03-22  John Levon  <levon@movementarian.org>
8283
8284         * BufferView_pimpl.C:
8285         * lyxtext.h:
8286         * rowpainter.C:
8287         * rowpainter.h:
8288         * text.C:
8289         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8290
8291 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8292
8293         * lyxtext.h:
8294         * text.C: take the rtl methods out of line
8295
8296 2003-03-21 André Pönitz <poenitz@gmx.net>
8297
8298         * metricsinfo.[Ch]: new files containing structures to be passed around
8299         during the two-phase-drawing...
8300
8301 2003-03-21 André Pönitz <poenitz@gmx.net>
8302
8303         * lyxtextclass.C: read 'environment' tag.
8304
8305 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8306
8307         * text2.C (removeRow): fix bug 964
8308
8309 2003-03-20  John Levon  <levon@movementarian.org>
8310
8311         * rowpainter.C:
8312         * text.C:
8313         * text2.C: paint cleanups. Inset::update() dropped font
8314         parameter
8315
8316 2003-03-19  John Levon  <levon@movementarian.org>
8317
8318         * lyxfunc.C: only fitcursor/markDirty if available()
8319
8320 2003-03-19  John Levon  <levon@movementarian.org>
8321
8322         * commandtags.h: rename to ...
8323
8324         * lfuns.h: ... this, and renumber / cleanup
8325
8326 2003-03-19  John Levon  <levon@movementarian.org>
8327
8328         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8329         fit the cursor after an lfun
8330
8331         * BufferView.h:
8332         * BufferView.C:
8333         * BufferView_pimpl.h:
8334         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8335
8336         * LyXAction.C: layout-character should have ReadOnly
8337
8338         * ParagraphParameters.C:
8339         * buffer.C:
8340         * bufferview_funcs.C:
8341         * lyx_cb.C:
8342         * lyxfind.C:
8343         * lyxtext.h:
8344         * text.C:
8345         * text2.C:
8346         * text3.C:
8347         * undo_funcs.C: changes from above
8348
8349 2003-03-18  John Levon  <levon@movementarian.org>
8350
8351         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8352         remove it from update()
8353
8354         * lyxfunc.C: update layout choice after an lfun
8355
8356         * text3.C: remove extra updateLayoutChoice()s
8357
8358 2003-03-18  John Levon  <levon@movementarian.org>
8359
8360         * text.C: top_y change means full repaint, fix
8361         a drawing bug with cursor movement
8362
8363 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8364
8365         * lyxtext.h:
8366         * text.C:
8367         * text2.C: anchor row on setCursor
8368
8369 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8370
8371         * lyxtext.h: remove almost all mutable keywords
8372         * text.C:
8373         * text2.C:
8374         * text3.C: remove const keywords accordingly
8375
8376 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8377
8378         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8379         anon namespace
8380         (TeXEnvironment): ditto
8381         (TeXOnePar): ditto
8382
8383 2003-03-17  John Levon  <levon@movementarian.org>
8384
8385         * text.C (rowBreakPoint): remove attempt to fix displayed
8386         math insets inside a manual label
8387
8388 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8389
8390         * lyxtext.h: remove BufferView* as first arg from almost all class
8391         functions.
8392         * other files: adjust.
8393
8394 2003-03-17  John Levon  <levon@movementarian.org>
8395
8396         * lyxtext.h:
8397         * undo_funcs.C:
8398         * text2.C: more paint cleanups
8399
8400         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8401
8402         * rowpainter.h:
8403         * rowpainter.C: remove "smart" background painting code
8404
8405 2003-03-16  John Levon  <levon@movementarian.org>
8406
8407         * lyxtext.h:
8408         * text.C:
8409         * text2.C:
8410         * text3.C: add helper functions for setting refresh_row/y
8411
8412 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8413
8414         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8415         newline inset which *can* get inserted in the pass_thru layouts.
8416         This is primarily for literate documents.
8417
8418 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8419
8420         * buffer.C: increment LYX_FORMAT to 223
8421
8422 2003-03-14 André Pönitz <poenitz@gmx.net>
8423
8424         * textclass.h: prepare for environment handling, ws changes
8425         * lyxlayout.C: read latexheader and latexfooter tags
8426
8427 2003-03-14  John Levon  <levon@movementarian.org>
8428
8429         * text2.C: rewrite ::status() a bit
8430
8431 2003-03-13  John Levon  <levon@movementarian.org>
8432
8433         * lyxtext.h: add some docs
8434
8435 2003-03-13  John Levon  <levon@movementarian.org>
8436
8437         * lyxtext.h:
8438         * text.C:
8439         * text2.C:
8440         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8441
8442 2003-03-13  John Levon  <levon@movementarian.org>
8443
8444         * text3.C: fix appendix redrawing
8445
8446 2003-03-13  John Levon  <levon@movementarian.org>
8447
8448         * text.C (setHeightOfRow):
8449         * rowpainter.h:
8450         * rowpainter.C: make appendix mark have the text
8451           "Appendix" so the user knows what it is
8452
8453         * LColor.h:
8454         * LColor.C: s/appendixline/appendix/ from above
8455
8456 2003-03-13  John Levon  <levon@movementarian.org>
8457
8458         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8459
8460         * text.C: fix a getChar(pos) bug properly
8461
8462 2003-03-13  Angus Leeming  <leeming@lyx.org>
8463
8464         * commandtags.h:
8465         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8466         Probably only temporary. Let's see how things pan out.
8467
8468         * BufferView.C (unlockInset):
8469         * BufferView_pimpl.C (fitCursor):
8470         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8471
8472         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8473         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8474
8475         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8476         new functions that convert ParagraphParameters to and from a string.
8477
8478         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8479         BufferView::Pimpl's dispatch.
8480         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8481
8482 2003-03-13 André Pönitz <poenitz@gmx.net>
8483
8484         * lyxfunc.C:
8485         * text3.C:
8486         * factory.C: make it aware of InsetEnv
8487
8488 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * text2.C (setCursor): never ask for one past last
8491         (setCursor): add some debugging messages.
8492
8493         * text.C (singleWidth): never ask for one past last
8494         (singleWidth): ditto
8495         (leftMargin): ditto
8496         (rightMargin): ditto
8497         (rowBreakPoint): ditto
8498         (setHeightOfRow): ditto
8499         (prepareToPrint): ditto
8500
8501         * rowpainter.C (paintBackground): never ask for one past last
8502         (paintText): never ask for one past last
8503
8504         * paragraph_pimpl.C (getChar): make the assert stricter, never
8505         allow the one past last pos to be taken
8506
8507         * paragraph.C (getChar): ws changes only
8508
8509         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8510         (numberOfSeparators): ditto
8511         (numberOfHfills): ditto
8512
8513 2003-03-12  John Levon  <levon@movementarian.org>
8514
8515         * author.h:
8516         * author.C:
8517         * bufferparams.h:
8518         * bufferparams.C:
8519         * paragraph_funcs.C: fix per-buffer authorlists
8520
8521 2003-03-12  John Levon  <levon@movementarian.org>
8522
8523         * text.C: fix newline in right address
8524
8525 2003-03-12  Angus Leeming  <leeming@lyx.org>
8526
8527         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8528         duplicate those in LyXFunc::dispatch.
8529
8530         * commandtags.h:
8531         * LyXAction.C:
8532         * ToolbarDefaults.C:
8533         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8534         Add LFUN_FONTFREE_UPDATE.
8535
8536         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8537         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8538
8539         * bufferview_func.[Ch]: several new functions to facilliate
8540         transfer of data to and from the character dialog.
8541
8542 2003-03-12  John Levon  <levon@movementarian.org>
8543
8544         * buffer.C:
8545         * paragraph.h:
8546         * paragraph.C:
8547         * paragraph_funcs.C:
8548         * paragraph_pimpl.C:
8549         * sgml.C:
8550         * tabular.C:
8551         * text.C:
8552         * text3.C: remove META_NEWLINE in favour of an inset
8553
8554         * rowpainter.h:
8555         * rowpainter.C: remove paintNewline (done by inset)
8556
8557 2003-03-12  John Levon  <levon@movementarian.org>
8558
8559         * paragraph_pimpl.C: complain about bad getChar()s
8560         for a while at least
8561
8562 2003-03-12  John Levon  <levon@movementarian.org>
8563
8564         * buffer.h:
8565         * buffer.C: move paragraph read into a separate function,
8566         a little renaming to reflect that.
8567
8568         * bufferparams.h:
8569         * bufferparams.C: remove the author_ids map, not necessary now
8570
8571         * factory.h:
8572         * factory.C: moved Buffer::readInset to here
8573
8574         * paragraph_funcs.h:
8575         * paragraph_funcs.C: readParagraph free function moved from
8576         buffer.C
8577
8578         * tabular.C: name change
8579
8580 2003-03-12  John Levon  <levon@movementarian.org>
8581
8582         * buffer.C:
8583         * ParagraphParameters.C: move par params input to
8584         a read() method
8585
8586         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8587         behave like a normal read from the stream wrt reading
8588         a line vs. a \\token
8589
8590 2003-03-12  John Levon  <levon@movementarian.org>
8591
8592         * paragraph.C:
8593         * ParagraphParameters.h:
8594         * ParagraphParameters.C: move output code to a
8595         ::write() method
8596
8597 2003-03-12  John Levon  <levon@movementarian.org>
8598
8599         * BufferView.C (insertLyXFile):
8600         * buffer.h:
8601         * buffer.C:
8602         * tabular.C: use a parlist iterator for creating the
8603           document.
8604
8605 2003-03-12  John Levon  <levon@movementarian.org>
8606
8607         * buffer.C: make current_change static local not
8608           static file-scope
8609
8610 2003-03-12  John Levon  <levon@movementarian.org>
8611
8612         * buffer.C: fix insertStringAsLines for change tracking
8613
8614 2003-03-12  John Levon  <levon@movementarian.org>
8615
8616         * BufferView.C:
8617         * tabular.C:
8618         * buffer.h:
8619         * buffer.C:
8620         * bufferparams.h:
8621         * bufferparams.C: move author list into params. Rename some
8622           functions. Move the header reading into a separate token
8623           loop. Move the header token reading into BufferParams.
8624
8625 2003-03-12  John Levon  <levon@movementarian.org>
8626
8627         * changes.C: put debug inside lyxerr.debugging() checks
8628
8629 2003-03-11 André Pönitz <poenitz@gmx.net>
8630
8631         * factory.C: make it aware of InsetHFill
8632
8633 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8634
8635         * buffer.C (latexParagraphs): move function from here...
8636         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8637         args.
8638
8639 2003-03-10  Angus Leeming  <leeming@lyx.org>
8640
8641         * LyXAction.C (init): fix bug in poplating array with multiple entries
8642         with the same LFUN (spotted by JMarc).
8643
8644 2003-03-10  John Levon  <levon@movementarian.org>
8645
8646         * text.C:
8647         * text2.C: move getColumnNearX() near its
8648         only call site
8649
8650 2003-03-10  John Levon  <levon@movementarian.org>
8651
8652         * text.C: fix break before a minipage
8653
8654 2003-03-10  John Levon  <levon@movementarian.org>
8655
8656         * text.C: fix the last commit
8657
8658 2003-03-09  John Levon  <levon@movementarian.org>
8659
8660         * lyxtext.h:
8661         * text.C:
8662         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8663         bug 365 (don't break before insets unless needed). Don't
8664         return a value > last under any circumstances.
8665
8666 2003-03-09  Angus Leeming  <leeming@lyx.org>
8667
8668         * BufferView_pimpl.C (trackChanges, dispatch): call
8669         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8670
8671 2003-03-09  Angus Leeming  <leeming@lyx.org>
8672
8673         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8674         than Dialogs::showAboutlyx().
8675
8676 2003-03-09  Angus Leeming  <leeming@lyx.org>
8677
8678         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8679         than Dialogs::showTabularCreate().
8680
8681 2003-03-09  John Levon  <levon@movementarian.org>
8682
8683         * lyxtext.h:
8684         * text.C:
8685         * text2.C: 3rd arg to nextBreakPoint was always the same.
8686           Use references.
8687
8688 2003-03-08  John Levon  <levon@movementarian.org>
8689
8690         * lyxrow.C:
8691         * paragraph.C:
8692         * paragraph.h:
8693         * rowpainter.C:
8694         * text.C:
8695         * text2.C: Remove the "main" bit from the "main body"
8696           notion.
8697
8698 2003-03-08  John Levon  <levon@movementarian.org>
8699
8700         * text.C (leftMargin): The left margin of an empty
8701         manual label paragraph should not include the label width
8702         string length.
8703
8704         * text.C (prepareToPrint): don't attempt to measure hfills
8705         for empty manual label paragraphs - the answer should be 0
8706
8707 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8708
8709         * CutAndPaste.C: remove commented code and reindent.
8710
8711 2003-03-08  John Levon  <levon@movementarian.org>
8712
8713         * lyxfunc.h:
8714         * lyxfunc.C: move reloadBuffer()
8715
8716         * BufferView.h:
8717         * BufferView.C: to here
8718
8719         * lyxvc.C: add comment
8720
8721         * vc-backend.h:
8722         * vc-backend.C: call bv->reload() to avoid
8723           getStatus() check on MENURELOAD
8724
8725 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8726
8727         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8728         to an old format .dep file.
8729
8730 2003-03-07  Angus Leeming  <leeming@lyx.org>
8731
8732         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8733         when the LFUN_MOUSE_RELEASE should have been handled by
8734         inset->localDispatch.
8735
8736 2003-03-07  Angus Leeming  <leeming@lyx.org>
8737
8738         * BufferView_pimpl.C (dispatch):
8739         * LyXAction.C (init):
8740         * ToolbarDefaults.C (init):
8741         * commandtags.h:
8742         * lyxfunc.C (getStatus):
8743         remove LFUN_INSET_GRAPHICS.
8744
8745         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8746
8747 2003-03-07  Angus Leeming  <leeming@lyx.org>
8748
8749         * commandtags.h:
8750         * LyXAction.C (init):
8751         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8752
8753         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8754
8755         * commandtags.h:
8756         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8757
8758         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8759         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8760
8761 2003-03-07  Angus Leeming  <leeming@lyx.org>
8762
8763         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8764         remove "ert".
8765
8766 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8767
8768         * ParagraphList.C (front): new function
8769         (back): implement
8770
8771 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8772
8773         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8774         and top_row_offset_. removed var first_y.
8775         * text.C (top_y):
8776         * text2.C (LyXText, removeRow):
8777         * text3.C:
8778         * BufferView_pimpl.C:
8779         use these methods instead of using first_y
8780
8781 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8782
8783         * text2.C (pasteSelection): adjust for checkPastePossible
8784
8785         * CutAndPaste.C: remove Paragraph * buf and replace with
8786         ParagraphList paragraphs.
8787         (DeleteBuffer): delete
8788         (cutSelection): change the tc type to textclass_type
8789         (copySelection): change the tc type to textclass_type
8790         (copySelection): adjust for ParagraphList
8791         (pasteSelection): change the tc type to textclass_type
8792         (pasteSelection): adjust for Paragraphlist
8793         (nrOfParagraphs): simplify for ParagraphList
8794         (checkPastePossible): simplify for ParagraphList
8795         (checkPastePossible): remove unused arg
8796
8797         * ParagraphList.C (insert): handle the case where there are no
8798         paragraphs yet.
8799
8800         * CutAndPaste.h: make CutAndPaste a namespace.
8801
8802         * text3.C (dispatch): adjust
8803
8804         * text.C (breakParagraph): add a ParagraphList as arg
8805
8806         * paragraph_funcs.C (breakParagraph): change to take a
8807         BufferParams and a ParagraphList as args.
8808         (breakParagraphConservative): ditto
8809         (mergeParagraph): ditto
8810         (TeXDeeper): add a ParagraphList arg
8811         (TeXEnvironment): ditto
8812         (TeXOnePar): ditto
8813
8814         * buffer.C (readLyXformat2): adjust
8815         (insertStringAsLines): adjust
8816         (latexParagraphs): adjust
8817
8818         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8819         (cutSelection): adjust
8820         (pasteSelection): adjust
8821
8822         * BufferView_pimpl.C (insertInset): adjust
8823
8824 2003-03-05  Angus Leeming  <leeming@lyx.org>
8825
8826         * commandtags.h:
8827         * LyXAction.C (init):
8828         * BufferView_pimpl.C (dispatch):
8829         * lyxfunc.C (getStatus):
8830         remove LFUN_CHILD_INSERT.
8831
8832         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8833
8834 2003-03-05  Angus Leeming  <leeming@lyx.org>
8835
8836         * commandtags.h:
8837         * LyXAction.C (init):
8838         * src/factory.C (createInset):
8839         * lyxfunc.C (getStatus):
8840         * text3.C (dispatch):
8841         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8842
8843         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8844
8845 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8846
8847         * ParagraphList.C (insert): handle insert right before end()
8848         (erase): fix cases where it can be first or last paragraph.
8849
8850 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8851
8852         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8853         Paragraph::next and Paragraph::previous
8854         (TeXOnePar): ditto
8855
8856         * text.C (breakParagraph): adjust
8857
8858         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8859         BufferParams& as arg.
8860         (breakParagraph): use ParagraphList::insert
8861         (breakParagraphConservative): take a Buffer* instead of a
8862         BufferParams& as arg.
8863         (breakParagraphConservative): use ParagraphList::insert.
8864
8865         * buffer.C (insertStringAsLines): un-const it
8866         (insertStringAsLines): adjust
8867
8868         * ParagraphList.C (insert): new function
8869
8870         * CutAndPaste.C (pasteSelection): adjust
8871
8872         * text.C (backspace): adjust
8873
8874         * tabular.C (SetMultiColumn): adjust
8875
8876         * CutAndPaste.C (cutSelection): adjust
8877         (pasteSelection): adjust
8878
8879         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8880         Buffer const * as arg
8881
8882         * ParagraphList.C (erase): new function
8883         * paragraph_funcs.C (mergeParagraph): use it
8884         (mergeParagraph): make it take a Buffer* instead of a
8885         BufferParams* as arg
8886
8887         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8888         as arg
8889         (breakParagraphConservative): ditto
8890
8891         * paragraph.h: remove the breakParagraph friend
8892
8893         * paragraph.C (eraseIntern): new function
8894         (setChange): new function
8895
8896         * paragraph_funcs.C (mergeParagraph): make it take a
8897         ParagraphList::iterator instead of a Paragraph *, adjust
8898         accordingly.
8899
8900         * paragraph.h: move an #endif so that the change tracking stuff
8901         also works in the NO_NEXT case.
8902
8903 2003-03-04  Angus Leeming  <leeming@lyx.org>
8904
8905         * commandtags.h:
8906         * LyXAction.C: new LFUN_INSET_MODIFY.
8907
8908         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8909         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8910
8911 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8912
8913         * several files: ws changes only
8914
8915         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8916         (TeXEnvironment): ditto
8917         (TeXDeeper): ditto
8918
8919         * buffer.C (makeLaTeXFile): adjust
8920         (latexParagraphs): make it take ParagraphList::iterator as args
8921
8922 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8923
8924         * buffer.C (latexParagraphs): adjust
8925
8926         * paragraph.C (TeXOnePar): move function...
8927         (optArgInset): move function...
8928         (TeXEnvironment): move function...
8929         * paragraph_pimpl.C (TeXDeeper): move function...
8930         * paragraph_funcs.C: ...here
8931
8932         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8933
8934 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8935
8936         * buffer.C (readInset): remove compability code for old Figure and
8937         InsetInfo insets
8938
8939 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8940
8941         * buffer.C: ws changes
8942         (readInset):
8943
8944         * BufferView_pimpl.C: ditto
8945         * author.C: ditto
8946         * buffer.h: ditto
8947         * bufferlist.h: ditto
8948         * changes.h: ditto
8949         * lyxfunc.C: ditto
8950
8951 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8952
8953         * converter.[Ch]: split into itself +
8954         * graph.[Ch]
8955         * format.[Ch]
8956         * Makefile.am: += graph.[Ch] + format.[Ch]
8957         * MenuBackend.C
8958         * buffer.C
8959         * exporter.C
8960         * importer.C
8961         * lyx_main.C
8962         * lyxfunc.C
8963         * lyxrc.C: added #include "format.h"
8964
8965 2003-02-27  Angus Leeming  <leeming@lyx.org>
8966
8967         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8968           a label.
8969
8970         * factory.C (createInset): add "label" to the factory.
8971
8972         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8973           string and do no more.
8974
8975 2003-02-27  Angus Leeming  <leeming@lyx.org>
8976
8977         * commandtags.h:
8978         * LyXAction.C (init):
8979         * factory.C (createInset):
8980         * BufferView_pimpl.C (dispatch):
8981           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8982
8983         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8984
8985         * lyxfunc.C (dispatch):
8986         * text3.C (dispatch): pass name to params2string.
8987
8988 2003-02-26  Angus Leeming  <leeming@lyx.org>
8989
8990         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8991           blocks together.
8992           Rearrange the ~includes. Strip out the unnecessary ones.
8993
8994         * factory.C (createInset): reformat.
8995           create new insets for the various LFUN_XYZ_APPLY lfuns.
8996
8997 2003-02-26  John Levon  <levon@movementarian.org>
8998
8999         * lyxrow.h:
9000         * lyxrow.C: add isParStart,isParEnd helpers
9001
9002         * paragraph.h: make isInserted/DeletedText take refs
9003
9004         * paragraph_funcs.h:
9005         * paragraph_funcs.C: remove #if 0'd code
9006
9007         * lyxtext.h:
9008         * text3.C:
9009         * text2.C:
9010         * text.C: use lyxrow helpers above.
9011           Move draw and paint routines to RowPainter.
9012           Make several methods use refs not pointers.
9013           Make backgroundColor() const.
9014           Add markChangeInDraw(), isInInset().
9015           Merge changeRegionCase into changeCase.
9016           Make workWidth() shouldn't-happen code into an Assert.
9017
9018         * rowpainter.h:
9019         * rowpainter.C: new class for painting a row.
9020
9021         * vspace.h:
9022         * vspace.C: make inPixels take a ref
9023
9024 2003-02-26  Angus Leeming  <leeming@lyx.org>
9025
9026         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9027         LFUN_REF_APPLY.
9028
9029 2003-02-25  John Levon  <levon@movementarian.org>
9030
9031         * ispell.C: give the forked command a more accurate name
9032
9033 2003-02-22  John Levon  <levon@movementarian.org>
9034
9035         * toc.h:
9036         * toc.C: make TocItem store an id not a Paragraph *
9037           (bug #913)
9038
9039 2003-02-21  Angus Leeming  <leeming@lyx.org>
9040
9041         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9042           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9043           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9044           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9045           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9046           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9047
9048         * BufferView_pimpl.C (dispatch):
9049         * LyXAction.C (init):
9050         * factory.C (createInset):
9051         * lyxfunc.C (getStatus, dispatch):
9052         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9053
9054 2003-02-21  Angus Leeming  <leeming@lyx.org>
9055
9056         * BufferView_pimpl.C (MenuInsertLyXFile):
9057         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9058         * lyxfunc.C (menuNew, open, doImport):
9059           no longer pass a LyXView & to fileDlg.
9060
9061 2003-02-21  Angus Leeming  <leeming@lyx.org>
9062
9063         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9064         * LyXAction.C: change, BIBKEY to BIBITEM.
9065         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9066         Change InsetBibKey to InsetBibitem.
9067         Change BIBKEY_CODE to BIBITEM_CODE.
9068         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9069         * factory.C: replace insetbib.h with insetbibitem.h.
9070         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9071         * paragraph.C: replace insetbib.h with insetbibitem.h.
9072         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9073         Change bibkey() to bibitem().
9074         * text.C: remove insetbib.h.
9075         * text2.C: replace insetbib.h with insetbibitem.h.
9076         change bibkey() to bibitem().
9077         * text3.C: remove insetbib.h.
9078         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9079
9080 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9081
9082         * lyxrc.C (output): enclose user email in quotes (in case there are
9083         several words)
9084
9085 2003-02-18  John Levon  <levon@movementarian.org>
9086
9087         * buffer.h: add std::
9088
9089 2003-02-17  John Levon  <levon@movementarian.org>
9090
9091         * SpellBase.h:
9092         * ispell.h:
9093         * ispell.C:
9094         * pspell.h:
9095         * pspell.C: reworking. Especially in ispell, a large
9096           number of clean ups and bug fixes.
9097
9098         * lyxfunc.C: fix revert to behave sensibly
9099
9100 2003-02-17 André Pönitz <poenitz@gmx.net>
9101
9102         * LyXAction.C:
9103         * commandtags.h: new LFUN_INSERT_BIBKEY
9104
9105         * layout.h:
9106         * lyxlayout.C:
9107         * buffer.C:
9108         * factory.C:
9109         * text.C:
9110         * text2.C:
9111         * text3.C:
9112         * paragraph.[Ch]:
9113         * paragraph_func.C: remove special bibkey handling
9114
9115 2003-02-17  John Levon  <levon@movementarian.org>
9116
9117         * text.C (Delete): fix case where delete at the end of
9118           the very first paragraph would not merge the pars
9119
9120 2003-02-17  John Levon  <levon@movementarian.org>
9121
9122         * lyxrow.C: fix lastPrintablePos()
9123
9124 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9125
9126         * bufferparams.C (writeLaTeX): add a std:here
9127
9128         * buffer.C: and remove a using directive there
9129
9130 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9131
9132         * buffer.C (makeLaTeXFile): move the code that generates the
9133           preamble...
9134
9135         * bufferparams.C (writeLaTeX): ... in this new method
9136
9137         * LaTeXFeatures.C (getEncodingSet): make const
9138           (getLanguages): make const
9139
9140         * MenuBackend.C (binding): returns the binding associated to this
9141           action
9142           (add): sets the status of each item by calling getStatus. Adds
9143           some intelligence.
9144           (read): add support for OptSubMenu
9145           (expand): remove extra separator at the end of expanded menu
9146
9147 2003-02-15  John Levon  <levon@movementarian.org>
9148
9149         * BufferView.C:
9150         * BufferView_pimpl.C:
9151         * bufferlist.h:
9152         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9153           inset code that had no actual effect. Remove unneeded status
9154           code.
9155
9156 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9157
9158         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9159           in preamble
9160
9161 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9162
9163         * text.C (drawLengthMarker): also draw an arrow marker for
9164           symbolic lengths (medskip...)
9165
9166 2003-02-14  John Levon  <levon@movementarian.org>
9167
9168         * tabular.h:
9169         * tabular.C: better method names
9170
9171 2003-02-14  John Levon  <levon@movementarian.org>
9172
9173         * BufferView_pimpl.C:
9174         * bufferlist.C:
9175         * buffer.C:
9176         * converter.C:
9177         * lyx_cb.C:
9178         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9179           it's a more accurate name. Remove some pointless uses.
9180
9181 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9182
9183         * text2.C (LyXText): change order of initilizers to shut off
9184           warnings
9185
9186 2003-02-14  John Levon  <levon@movementarian.org>
9187
9188         * buffer.C: use ParIterator for getParFromID()
9189
9190         * paragraph.h:
9191         * paragraph.C:
9192         * paragraph_pimpl.h:
9193         * paragraph_pimpl.C: remove unused getParFromID()
9194
9195 2003-02-14  John Levon  <levon@movementarian.org>
9196
9197         * buffer.C: remove some very old #if 0'd parse code
9198
9199 2003-02-13  John Levon  <levon@movementarian.org>
9200
9201         * text.h:
9202         * text.C:
9203         * text2.C: move hfillExpansion(), numberOfSeparators(),
9204           rowLast(), rowLastPrintable(), numberofHfills(),
9205           numberOfLabelHfills() ...
9206
9207         * lyxrow.h:
9208         * lyxrow.C: ... to member functions here.
9209
9210         * paragraph.h:
9211         * paragraph.C:
9212         * lyxtext.h:
9213         * text.C: remove LyXText::beginningOfMainBody(), and call
9214           p->beginningOfMainBody() directly. Move the check for
9215           LABEL_MANUAL into the latter.
9216
9217         * text.h:
9218         * text.C:
9219         * text2.C:
9220         * vspace.C:
9221         * BufferView.h:
9222         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9223
9224         * text.h:
9225         * text.C:
9226         * text2.C:
9227         * text3.C:
9228         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9229           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9230
9231 2003-02-13  John Levon  <levon@movementarian.org>
9232
9233         * CutAndPaste.C: remove debug
9234
9235 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9236
9237         * paragraph.C (asString): remove two unused variables
9238
9239         * lyxtextclass.C (readTitleType):
9240           (Read):
9241           (LyXTextClass): handle new members titletype_ and titlename_
9242
9243         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9244
9245 2003-02-09  John Levon  <levon@movementarian.org>
9246
9247         * buffer.h:
9248         * buffer.C: replace hand-coded list with a map for the dep clean
9249
9250 2003-02-08  John Levon  <levon@movementarian.org>
9251
9252         * LaTeX.C: consolidate code into showRunMessage() helper
9253
9254 2003-02-08  John Levon  <levon@movementarian.org>
9255
9256         * lyxfind.C:
9257         * lyxtext.h:
9258         * text2.C:
9259         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9260           and pass the size in explicitly
9261
9262         * BufferView_pimpl.h:
9263         * BufferView_pimpl.C:
9264         * BufferView.h:
9265         * BufferView.C: add getCurrentChange()
9266
9267         * BufferView_pimpl.h:
9268         * BufferView_pimpl.C: handle change lfuns
9269
9270         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9271           for changes. Mark pasted paragraphs as new.
9272
9273         * support/lyxtime.h:
9274         * support/lyxtime.C:
9275         * DepTable.C: abstract time_t as lyx::time_type
9276
9277         * LColor.h:
9278         * LColor.C: add colours for new text, deleted text, changebars
9279
9280         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9281           package use "usenames" option.
9282
9283         * commandtags.h:
9284         * lyxfunc.C:
9285         * LyXAction.C: add change lfuns
9286
9287         * Makefile.am:
9288         * author.h:
9289         * author.C: author handling
9290
9291         * buffer.h:
9292         * buffer.C: add a per-buffer author list, with first entry as
9293           current author. Handle new .lyx tokens for change tracking. Output
9294           author list to .lyx file. Output dvipost stuff to .tex preamble.
9295           Bump lyx format to 222.
9296
9297         * bufferlist.h:
9298         * bufferlist.C: add setCurrentAuthor() to reset current author details
9299           in all buffers.
9300
9301         * bufferparams.h:
9302         * bufferparams.C: add param for tracking
9303
9304         * bufferview_funcs.C: output change info in minibuffer
9305
9306         * Makefile.am:
9307         * changes.h:
9308         * changes.C: add change-tracking structure
9309
9310         * debug.h:
9311         * debug.C: add CHANGES debug flag
9312
9313         * lyxfind.h:
9314         * lyxfind.C: add code for finding the next change piece
9315
9316         * lyxrc.h:
9317         * lyxrc.C: add user_name and user_email
9318
9319         * lyxrow.h:
9320         * lyxrow.C: add a metric for the top of the text line
9321
9322         * lyxtext.h:
9323         * text.C: implement accept/rejectChange()
9324
9325         * lyxtext.h:
9326         * text.C: paint changebars. Paint new/deleted text in the chosen
9327         colours. Strike through deleted text.
9328
9329         * paragraph.h:
9330         * paragraph.C:
9331         * paragraph_pimpl.h:
9332         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9333           in the current change to the insert functions. Rework erase to
9334           mark text as deleted, adding an eraseIntern() and a range-based
9335           erase(). Implement per-paragraph change lookup and
9336           accept/reject.
9337
9338         * paragraph_funcs.C: Fixup paste for change tracking.
9339
9340         * tabular.C: mark added row/columns as new.
9341
9342         * text.C: fix rowLast() to never return -1. Don't allow
9343           spellchecking of deleted text. Track transpose changes. Don't
9344           allow paragraph break or merge where appropriate.
9345
9346         * text2.C: leave cursor at end of selection after a cut.
9347
9348 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9349
9350         * text.C (getLengthMarkerHeight):
9351         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9352         visible on screen too.
9353
9354 2003-02-07  John Levon  <levon@movementarian.org>
9355
9356         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9357
9358 2003-02-05  Angus Leeming  <leeming@lyx.org>
9359
9360         * lyxserver.C (read_ready): revert my patch of 11 September last year
9361         as it sends PC cpu through the roof. Presumably this means that
9362         the lyxserver will no longer run on an Alpha...
9363
9364 2003-01-30  Angus Leeming  <leeming@lyx.org>
9365
9366         * factory.C (createInset): create an InsetCommandParam of type "index"
9367         and use it to 'do the right thing'.
9368
9369         * text2.C (getStringToIndex): ensure that cursor position is always
9370         reset to the reset_cursor position.
9371
9372 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9373
9374         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9375         disabled.
9376
9377 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9378
9379         * bufferview.C:
9380         * lyxcb.C:
9381         * lyxfunc.C: Output messages with identical spelling, punctuation,
9382         and spaces
9383
9384 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9385
9386         * MenuBackend.C (expandFormats): List only viewable export formats
9387         in "View" menu
9388
9389         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9390         message
9391
9392         * lyxfunc.C (getStatus): Make sure that formats other than
9393         "fax" can also be disabled
9394
9395 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9396
9397         * text3.C (dispatch): put the lfuns that insert insets in 3
9398         groups, and call doInsertInset with appropriate arguments.
9399         (doInsertInset): new function, that creates an inset and inserts
9400         it according to some boolean parameters.
9401
9402 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9403
9404         * buffer.C (readFile): remember to pass on 'par' when calling
9405         readFile recursively.
9406
9407 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9408
9409         * MenuBackend.C (expandFormats): add "..." to import formats.
9410
9411 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9412
9413         * paragraph.C (asString): Remove XForms RTL hacks.
9414
9415 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9416         * buffer.C: fix typo
9417
9418 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9419
9420         * Makefile.am (LIBS): delete var
9421         (lyx_LDADD): add @LIBS@ here instead.
9422
9423 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9424
9425         * Clarify the meaning of "wheel mouse jump"
9426
9427 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9428
9429         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9430         tabular in a float
9431
9432 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9433
9434         * importer.C (Loaders): do not preallocate 3 elements in the
9435         vector, since one ends up with 6 elements otherwise
9436
9437 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9438
9439         * DepTable.C (write): write the file name as last element of the
9440         .dep file (because it may contain spaces)
9441         (read): read info in the right order
9442
9443 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9444
9445         * paragraph_pimpl.C (simpleTeXBlanks):
9446         (simpleTeXSpecialChars):
9447         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9448
9449         * tabular.C (latex): add some missing case statements. Reindent.
9450
9451         * MenuBackend.C (expandToc): remove unused variable.
9452
9453 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9454
9455         * LColor.C:
9456         * LaTeX.C:
9457         * LyXAction.C:
9458         * MenuBackend.C:
9459         * buffer.C:
9460         * exporter.C:
9461         * lyxfunc.C:
9462         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9463         and the like.
9464
9465 2003-01-05  John Levon  <levon@movementarian.org>
9466
9467         * BufferView.h:
9468         * BufferView.C: add getEncoding()
9469
9470         * kbsequence.h:
9471         * kbsequence.C: do not store last keypress
9472
9473         * lyxfunc.h:
9474         * lyxfunc.C: store last keypress here instead. Pass encoding
9475           to getISOEncoded()
9476
9477 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9478
9479         * lyx_main.C (init): remove annoying error message when following
9480         symbolic links (bug #780)
9481
9482 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9483
9484         * text.C (insertChar):
9485         * lyxrc.C (getDescription): remove extra spaces
9486
9487 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9488
9489         * lyxrc.C (getDescription): remove extra spaces
9490
9491 2002-12-20  John Levon  <levon@movementarian.org>
9492
9493         * text3.C: hack fix for page up/down across tall rows
9494
9495 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9496
9497         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9498         not been invoked
9499
9500 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9501
9502         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9503         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9504         thesaurus is not compiled in
9505
9506 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9507
9508         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9509
9510 2002-12-16  Angus Leeming  <leeming@lyx.org>
9511
9512         * lyxrc.[Ch]:
9513         * lyx_main.C (init): remove override_x_deadkeys stuff.
9514
9515 2002-12-12  John Levon  <levon@movementarian.org>
9516
9517         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9518           insert. Only remove shift modifier under strict
9519           circumstances.
9520
9521 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9522
9523         * MenuBackend.C (expandToc): fix crash.
9524
9525 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9526
9527         * MenuBackend.C (expandToc): gettext on float names.
9528
9529 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9530
9531         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9532         implement bool empty() [bug 490]
9533
9534 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9535
9536         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9537
9538 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9539
9540         * several files: ws changes
9541
9542 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9543
9544         * text2.C (setCounter): clean up a bit, use boost.format.
9545         (updateCounters): initialize par upon declaration.
9546
9547         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9548         if the layout exists. We do not just store the layout any more.
9549         (SwitchLayoutsBetweenClasses): use boost.format
9550
9551 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9552
9553         * converter.C (convert): if from and to files are the same, use a
9554         temporary files as intermediary
9555
9556 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9557
9558         * commandtags.h:
9559         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9560
9561 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9562
9563         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9564
9565 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9566
9567         * tabular.C (asciiPrintCell): use string(size, char) instead of
9568         explicit loop.
9569
9570         * sgml.C (openTag): fix order of arguments to string constructor
9571         (closeTag): ditto
9572
9573         * lyxfunc.C (dispatch): use boost.format
9574
9575         * lots of files: change "c" -> 'c'
9576
9577 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9578
9579         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9580
9581 2002-11-25  Angus Leeming  <leeming@lyx.org>
9582
9583         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9584
9585         * lyx_main.C (init): compile fix.
9586
9587 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9588
9589         * lyx_cb.C (start): boost.formatify
9590         do not include <iostream>
9591
9592         * lengthcommon.C: ws only
9593
9594         * boost-inst.C,BoostFormat.h: add more explict instantations
9595
9596 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9597
9598         * lots of files: handle USE_BOOST_FORMAT
9599
9600 2002-11-21  John Levon  <levon@movementarian.org>
9601
9602         * pspell.C: fix compile
9603
9604 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9605
9606         * lyxfunc.C (dispatch): use boost::format
9607         (open): ditto
9608         (doImport): ditto
9609
9610         * lyxfont.C (stateText): use boost::format
9611
9612         * lyx_main.C (LyX): use boost::format
9613         (init): ditto
9614         (queryUserLyXDir): ditto
9615         (readRcFile): ditto
9616         (parse_dbg): ditto
9617         (typedef boost::function): use the recommened syntax.
9618
9619         * importer.C (Import): use boost::format
9620
9621         * debug.C (showLevel): use boost::format
9622
9623         * converter.C (view): use boost::format
9624         (convert): ditto
9625         (move): ditto
9626         (scanLog): ditto
9627
9628         * bufferview_funcs.C (currentState): use boost::format
9629
9630         * bufferlist.C (emergencyWrite): use boost::format
9631
9632         * buffer.C (readLyXformat2): use boost::format
9633         (parseSingleLyXformat2Token): ditto
9634
9635         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9636
9637         * LaTeX.C (run): use boost::format
9638
9639         * Chktex.C (scanLogFile): use boost::format
9640
9641         * BufferView_pimpl.C (savePosition): use boost::format
9642         (restorePosition): ditto
9643         (MenuInsertLyXFile): ditto
9644
9645         * BoostFormat.h: help file for explicit instation.
9646
9647 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9648
9649         * tabular.C (latex): Support for block alignment in fixed width
9650         columns.
9651
9652 2002-11-17  John Levon  <levon@movementarian.org>
9653
9654         * BufferView_pimpl.C:
9655         * lyx_cb.C:
9656         * lyxfunc.C: split filedialog into open/save
9657
9658 2002-11-08  Juergen Vigna  <jug@sad.it>
9659
9660         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9661         by my last patch (hopefully).
9662
9663 2002-11-08  John Levon  <levon@movementarian.org>
9664
9665         * iterators.h:
9666         * iterators.C:
9667         * buffer.h:
9668         * buffer.C:
9669         * paragraph.h:
9670         * paragraph.C:
9671         * toc.h:
9672         * toc.C: ParConstIterator, and use it (from Lars)
9673
9674 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9675
9676         * lyxtextclass.[Ch]: revise and add doxygen comments
9677
9678 2002-11-07  John Levon  <levon@movementarian.org>
9679
9680         * text.C: fix progress value for spellchecker
9681
9682         * toc.C: fix navigate menu for insetwrap inside minipage
9683
9684         * paragraph_funcs.C: added FIXME for suspect code
9685
9686 2002-11-07  John Levon  <levon@movementarian.org>
9687
9688         * BufferView_pimpl.C: fix redrawing of insets
9689           on buffer switch
9690
9691 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9692
9693         * text2.C (updateCounters): fix bug 668
9694
9695 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9696
9697         * text3.C (dispatch): Do not make the buffer dirty when moving the
9698         cursor.
9699
9700 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9701
9702         * vc-backend.C: STRCONV
9703         (scanMaster): ditto
9704
9705         * text2.C (setCounter): STRCONV
9706
9707         * paragraph.C (asString): STRCONV
9708
9709         * lyxlength.C (asString): STRCONV
9710         (asLatexString): ditto
9711
9712         * lyxgluelength.C (asString): STRCONV
9713         (asLatexString): ditto
9714
9715         * lyxfunc.C (dispatch): STRCONV
9716         (open): ditto
9717
9718         * lyxfont.C (stateText): STRCONV
9719
9720         * importer.C (Import): STRCONV
9721
9722         * counters.C (labelItem): STRCONV
9723         (numberLabel): ditto
9724         (numberLabel): remove unused ostringstream o
9725
9726         * chset.C: STRCONV
9727         (loadFile): ditto
9728
9729         * bufferview_funcs.C (currentState): STRCONV
9730
9731         * buffer.C (readFile): STRCONV
9732         (asciiParagraph): ditto
9733         (makeLaTeXFile): ditto
9734
9735         * Spacing.C (writeEnvirBegin): STRCONV
9736
9737         * LaTeXFeatures.C (getLanguages): STRCONV
9738         (getPackages): ditto
9739         (getMacros): ditto
9740         (getBabelOptions): ditto
9741         (getTClassPreamble): ditto
9742         (getLyXSGMLEntities): ditto
9743         (getIncludedFiles): ditto
9744
9745         * LaTeX.C: STRCONV
9746         (run): ditto
9747         (scanAuxFile): ditto
9748         (deplog): ditto
9749
9750         * LString.h: add the STRCONV macros
9751
9752         * BufferView_pimpl.C (savePosition): STRCONV
9753         (restorePosition): ditto
9754         (MenuInsertLyXFile): ditto
9755
9756         * vc-backend.C (scanMaster): change from submatch[...] to
9757         submatch.str(...)
9758
9759         * funcrequest.C: include config.h
9760
9761         * factory.C: include config.h
9762
9763         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9764
9765         * box.C: include config.h
9766
9767         * LaTeX.C (scanAuxFile): change from submatch[...] to
9768         submatch.str(...)
9769         (deplog): ditto
9770
9771 2002-10-25  Angus Leeming  <leeming@lyx.org>
9772
9773         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9774
9775         * ispell.[Ch] (setError): new method.
9776         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9777         Use setError() insetead of goto END.
9778
9779         * lyx_cb.C (AutoSave): move out child process into new class
9780         AutoSaveBuffer.
9781
9782 2002-10-30  John Levon  <levon@movementarian.org>
9783
9784         * text3.C: make start appendix undoable
9785
9786 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9787
9788         * lyxlength.C (inPixels): Fix returned value.
9789
9790         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9791         environment.
9792
9793 2002-10-24  Angus Leeming  <leeming@lyx.org>
9794
9795         * lyxgluelength.h: no need to forward declare BufferParams
9796         or BufferView, so don't.
9797
9798 2002-10-21  John Levon  <levon@movementarian.org>
9799
9800         * BufferView.C: menuUndo ->undo, redo
9801
9802         * BufferView.h: document, remove dead, make some methods private
9803
9804         * paragraph_funcs.h:
9805         * paragraph_funcs.C:
9806         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9807
9808         * buffer.h:
9809         * buffer.C:
9810         * sgml.h:
9811         * sgml.C: move sgml open/close tag into sgml.C
9812
9813         * bufferview_funcs.h: unused prototype
9814
9815         * lyxfunc.h:
9816         * lyxfunc.C: remove unused
9817
9818         * lyxtext.h:
9819         * text.C: remove unused
9820
9821 2002-10-21  John Levon  <levon@movementarian.org>
9822
9823         * BufferView.h:
9824         * BufferView.C:
9825         * BufferView_pimpl.h:
9826         * BufferView_pimpl.C: fix mouse wheel handling based on
9827           patch from Darren Freeman
9828
9829 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9830
9831         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9832
9833 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9834
9835         * lyxlength.C (inPixels): Fix hanfling of negative length.
9836         Fix LyXLength::MU case.
9837
9838 2002-10-16  John Levon  <levon@movementarian.org>
9839
9840         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9841
9842 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9843
9844         * converter.C (view): add support for $$i (file name) and $$p
9845         (file path) for the viewer command. If $$i is not specified, then
9846         it is appended to the command (for compatibility with old syntax)
9847
9848 2002-10-14  Juergen Vigna  <jug@sad.it>
9849
9850         * undo_funcs.C (textHandleUndo): alter the order in which the
9851         new undopar is added to the LyXText, as we have to set first
9852         the right prev/next and then add it as otherwise the rebuild of
9853         LyXText is not correct. Also reset the cursor to the right paragraph,
9854         with this IMO we could remove the hack in "redoParagraphs()".
9855
9856 2002-10-09  Angus Leeming  <leeming@lyx.org>
9857
9858         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9859         to turn off an optimisation if a new inset is to be inserted.
9860
9861 2002-10-11 André Pönitz <poenitz@gmx.net>
9862
9863         * lyxtext.h: make some functions public to allow access
9864         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9865
9866 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9867
9868         * text3.C (dispatch): when changing layout, avoid an infinite loop
9869         [bug #652]
9870
9871 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9872
9873         * lyxrc.C (read): treat a viewer or converter command of "none" as
9874         if it were empty.
9875
9876         * MenuBackend.C (expandFormats): for an update, also allow the
9877         formats that are not viewable
9878
9879         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9880         script if it is newer than the lyxrc.defaults in user directory
9881
9882 2002-10-07 André Pönitz <poenitz@gmx.net>
9883
9884         * text.C: Vitaly Lipatov's small i18n fix
9885
9886 2002-09-25  Angus Leeming  <leeming@lyx.org>
9887
9888         * ispell.h: doxygen fix.
9889
9890 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9891
9892         * buffer.h (readFile): Add a new argument to the method, to allow
9893         reading of old-format templates.
9894
9895 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9896
9897         * toc.C (getTocList): Get TOC from InsetWrap.
9898
9899 2002-09-16  John Levon  <levon@movementarian.org>
9900
9901         * lyxfunc.C: check tabular for cut/copy too
9902
9903 2002-09-12  John Levon  <levon@movementarian.org>
9904
9905         * LyXAction.C: tidy
9906
9907         * factory.h:
9908         * factory.C: add header
9909
9910         * paragraph_funcs.h:
9911         * paragraph_funcs.C: cleanup
9912
9913 2002-09-11  John Levon  <levon@movementarian.org>
9914
9915         * PrinterParams.h: odd/even default to true
9916
9917 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9918
9919         * PrinterParams.h: update printer parameters for new xforms dialog
9920
9921 2002-09-11  Angus Leeming  <leeming@lyx.org>
9922
9923         * lyxserver.C (read_ready): re-write to make it more transparent
9924         and to make it work in coherent fashion under Tru64 Unix.
9925
9926 2002-09-11  André Pönitz <poenitz@gmx.net>
9927
9928         * commandtags.h:
9929         * LyXAction.C:
9930         * text3.C: implement LFUN_WORDSEL
9931
9932 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9933
9934         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9935         make floatlist_ a boost::shared_ptr<FloatList>
9936
9937         * lyxtextclass.C: include FloatList.h
9938         (LyXTextClass): initialize floatlist_
9939         (TextClassTags): add TC_NOFLOAT
9940         (Read): match "nofloat" to TC_NOFLOAT and use it.
9941         (readFloat): modify call to floatlist_
9942         (floats): ditto
9943         (floats): ditto
9944
9945         * FloatList.[Ch] (FloatList): remove commented out float
9946         initialization.
9947         (erase): new function
9948
9949 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9950
9951         * MenuBackend.C (expandToc): fix crash when there is no document
9952         open
9953
9954 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9955
9956         * many files: Add insetwrap.
9957
9958 2002-09-09  John Levon  <levon@movementarian.org>
9959
9960         * text2.C: remove confusing and awkward depth wraparound
9961
9962 2002-09-09  John Levon  <levon@movementarian.org>
9963
9964         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9965
9966         * buffer.h:
9967         * buffer.C: remove getIncludeonlyList()
9968
9969         * paragraph.C:
9970         * lyxfunc.C: remove headers
9971
9972 2002-09-09  Juergen Vigna  <jug@sad.it>
9973
9974         * text.C (getColumnNearX): fix form Michael this is most
9975         probably a cut&paste bug.
9976
9977 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9978
9979         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9980
9981         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9982         references, ws changes.
9983
9984         * text2.C (init): update counters after init
9985         (insertParagraph): no need to set counter on idividual paragraphs.
9986         (setCounter): access the counters object in the textclass object
9987         on in the buffer object.
9988         (updateCounters): ditto
9989
9990         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9991         shared_ptr<Counters> to avoid loading counters.h in all
9992         compilation units.
9993         (LyXTextClass): initialize ctrs_
9994         (TextClassTags): add TC_COUNTER, and ...
9995         (Read): use it here.
9996         (CounterTags): new tags
9997         (readCounter): new function
9998         (counters): new funtion
9999         (defaultLayoutName): return a const reference
10000
10001         * counters.C (Counters): remove contructor
10002         (newCounter): remove a couple of unneeded statements.
10003         (newCounter): simplify a bit.
10004         (numberLabel): some small formatting changes.
10005
10006         * buffer.[Ch]: remove all traces of counters, move the Counters
10007         object to the LyXTextClass.
10008
10009 2002-09-06  Alain Castera  <castera@in2p3.fr>
10010
10011         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10012         package to set the horizontal alignment on fixed width columns.
10013
10014         * lyx_sty.C:
10015         * lyx_sty.h: added tabularnewline macro def.
10016
10017         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10018
10019 2002-09-06  John Levon  <levon@movementarian.org>
10020
10021         * LyXAction.C: tooltips for sub/superscript
10022
10023         * MenuBackend.C: a bit more verbose
10024
10025         * lyxfunc.C: tiny clean
10026
10027         * undo_funcs.C: document undo_frozen
10028
10029 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10030
10031         * counters.C (Counters): add missing algorithm counter.
10032
10033         * text2.C (setCounter): lookup the counter with layouts latexname
10034         instead of by section number.
10035         (setCounter): use a hackish way to lookup the correct enum
10036         counter.
10037         a float name->type change
10038         reset enum couners with counter name directly instead of depth value.
10039
10040         * counters.C (Counters): remove the push_backs, change to use the
10041         float type not the float name.
10042         (labelItem): remove unused string, float name->type change
10043
10044         * counters.h: don't include vector, loose the enums and sects vectors
10045
10046 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10047
10048         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10049         (Read): add float->TC_FLOAT to textclassTags
10050         (Read): and handle it in the switch
10051         (readFloat): new function
10052
10053         * FloatList.C (FloatList): comment out the hardcoded float
10054         definitions.
10055
10056         * lyxlayout.h: ws change.
10057
10058 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10059
10060         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10061
10062 2002-09-03  Angus Leeming  <leeming@lyx.org>
10063
10064         * BufferView_pimpl.h: qualified name is not allowed in member
10065         declaration: WorkArea & Pimpl::workarea() const;
10066
10067         * factory.C: added using std::endl directive.
10068
10069         * text3.C: added using std::find and std::vector directives.
10070
10071 2002-08-29  André Pönitz <poenitz@gmx.net>
10072
10073         * lyxtext.h:
10074         * text2.C: remove unused member number_of_rows
10075
10076         * Makefile.am:
10077         * BufferView2.C: remove file, move contents to...
10078         * BufferView.C: ... here
10079
10080         * BufferView_pimpl.C:
10081         * factory.C: move more inset creation to factory
10082
10083         * vspace.C: avoid direct usage of LyXText, ws changes
10084
10085         * BufferView.[Ch]:
10086                 don't provide direct access to WorkArea, use two simple
10087                 acessors haveSelction() and workHeight() instead
10088
10089
10090 2002-08-29  John Levon  <levon@movementarian.org>
10091
10092         * BufferView_pimpl.C (dispatch): do not continue when
10093           no buffer
10094
10095 2002-08-28  André Pönitz <poenitz@gmx.net>
10096
10097         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10098
10099         * BufferView.h:
10100         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10101
10102 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10103
10104         * buffer.C: increment LYX_FORMAT to 221
10105
10106         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10107         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10108
10109         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10110
10111         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10112
10113 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10114
10115         * factory.C (createInset): use LyXTextClass::floats
10116
10117         * MenuBackend.C (expandFloatListInsert):
10118         (expandFloatInsert):
10119         (expandToc):
10120
10121         * text2.C (setCounter):
10122
10123         * LaTeXFeatures.C (useFloat):
10124         (getFloatDefinitions):
10125
10126         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10127
10128         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10129         floatlist_, with accessor floats().
10130
10131         * FloatList.h: remove global FloatList
10132
10133 2002-08-26  André Pönitz <poenitz@gmx.net>
10134
10135         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10136
10137         * BufferView.h:
10138         * BufferView2.C:
10139         * BufferView_pimpl.C:
10140         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10141
10142 2002-08-25  John Levon  <levon@movementarian.org>
10143
10144         * LyXAction.C: fix margin note description
10145
10146 2002-08-24  John Levon  <levon@movementarian.org>
10147
10148         * buffer.C:
10149         * bufferlist.C:
10150         * bufferview_funcs.C:
10151         * lyxfont.C:
10152         * undo_funcs.C: cleanups
10153
10154         * lyxfunc.C: disable CUT/COPY when no selection
10155
10156 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10157
10158         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10159         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10160
10161         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10162         Add backward compatibility to "mono", "gray" and "no".
10163
10164 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10165
10166         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10167         (and file_format >= 200).
10168
10169 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10170
10171         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10172
10173 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10174
10175         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10176
10177 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10178
10179         * BufferView_pimpl.C:
10180         * LyXAction.C:
10181         * buffer.C:
10182         * commandtags.h:
10183         * lyxfunc.C:
10184         * paragraph.[Ch]:
10185         * text2.C:
10186         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10187         inset and code to make it  work with the paragraph code. The inset
10188         can be anywhere in the paragraph, but will only do the expected
10189         thing in LaTeX if the layout file contains the parameter line
10190                         OptionalArgs    1
10191         (or more generally, a nonzero value) for that layout.
10192
10193 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10194
10195         * paragraph.h: remove the declaration of undefined counters class
10196         function.
10197
10198 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10199
10200         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10201         Dr. Richard Hawkins.
10202
10203 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10204
10205         * paragraph_funcs.h: remove some unneeded includes
10206
10207         * text.C (backspace): pasteParagraph now in global scipe
10208
10209         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10210         (pasteSelection): ditto
10211
10212         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10213         * paragraph_funcs.C (pasteParagraph): ... here
10214
10215 2002-08-20  André Pönitz <poenitz@gmx.net>
10216
10217         * commandtags.h: new LFUNs for swapping/copying table row/colums
10218
10219         * LyXAction.C:
10220         * lyxfunc.C: support for new lfuns
10221
10222 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10223
10224         * tabular.C:
10225         * buffer.[Ch]: remove NO_COMPABILITY stuff
10226
10227 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10228
10229         * boost.C (throw_exception): new file, with helper function for
10230         boost compiled without exceptions.
10231
10232         * paragraph.h:
10233         * lyxlength.C:
10234         * buffer.C:
10235         * ParameterStruct.h:
10236         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10237
10238         * bufferlist.C (emergencyWriteAll): use boost bind
10239
10240         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10241
10242         * text.C: include paragraph_funcs.h
10243         (breakParagraph): breakParagraph is now in global scope
10244
10245         * paragraph_funcs.[Ch]: new files
10246
10247         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10248         global scope
10249
10250         * buffer.C: include paragraph_funcs.h
10251         (insertStringAsLines): breakParagraph is now in global scope
10252
10253         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10254         paragraph_funcs.C
10255
10256         * CutAndPaste.C: include paragraph_funcs.h
10257         (cutSelection): breakParagraphConservative is now in global scope
10258         (pasteSelection): ditto
10259
10260         * buffer.h: declare oprator== and operator!= for
10261         Buffer::inset_iterator
10262
10263         * bufferlist.C (emergencyWrite): don't use fmt(...)
10264
10265         * text3.C: add using std::endl
10266
10267         * BufferView.C (moveCursorUpdate): remove default arg
10268
10269 2002-08-20  André Pönitz <poenitz@gmx.net>
10270
10271         * buffer.[Ch]: move inline functions to .C
10272
10273         * BufferView2.C:
10274         * BufferView_pimpl.C:
10275         * text.C:
10276         * buffer.[Ch]: use improved inset_iterator
10277
10278         * buffer.C:
10279         * paragraph.[Ch]: write one paragraph at a time
10280
10281 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10282
10283         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10284         style if style is not specified.
10285
10286 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10287
10288         * text2.C (setCounter): when searching for right label for a
10289         caption, make sure to recurse to parent insets (so that a caption
10290         in a minipage in a figure float works) (bug #568)
10291
10292 2002-08-20  André Pönitz <poenitz@gmx.net>
10293
10294         * text3.C: new file for LyXText::dispatch() and helpers
10295
10296         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10297
10298         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10299
10300 2002-08-19  André Pönitz <poenitz@gmx.net>
10301
10302         * lyxtext.h:
10303         * text.C: new LyXText::dispatch()
10304
10305         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10306
10307 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10308
10309         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10310
10311         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10312         Hebrew text.
10313
10314 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10315
10316         * Makefile.am: use $(variables) instead of @substitutions@
10317
10318 2002-08-15  André Pönitz <poenitz@gmx.net>
10319
10320         * lyxfunc.C:
10321         * BufferView_pimpl.C: streamlining mathed <-> outer world
10322         interaction
10323
10324         * commandtags.h:
10325         * LyXAction.C: remove unused LFUN_MATH
10326
10327 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10328
10329         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10330
10331 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10332
10333         * paragraph.C (Paragraph): reformat a bit
10334         (cutIntoMinibuffer): use builtin InsetList function instad of
10335         doing it manually.
10336         (getInset): ditto
10337
10338         * buffer.C: include boost/bind.hpp, add using std::for_each
10339         (writeFileAscii): use ParagraphList iterators
10340         (validate): use for_each for validate traversal of paragraphs
10341         (getBibkeyList): use ParagraphList iterators
10342         (resizeInsets): use for_each to resizeInsetsLyXText for all
10343         paragraphs.
10344         (getParFromID): use ParagraphList iterators
10345
10346         * BufferView2.C (lockInset): use paragraph list and iterators
10347
10348 2002-08-14  John Levon  <levon@movementarian.org>
10349
10350         * lyxserver.C: remove spurious xforms include
10351
10352 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10353
10354         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10355
10356 2002-08-13  André Pönitz <poenitz@gmx.net>
10357
10358         * LyXAction.[Ch]:
10359         * lyxfunc.C: further cleaning
10360
10361 2002-08-13  André Pönitz <poenitz@gmx.net>
10362
10363         * funcrequest.h: new constructor
10364
10365         * funcrequest.C: move stuff here from .h
10366
10367         * Makefile.am:
10368         * BufferView_pimpl.C:
10369         * LyXAction.C:
10370         * toc.C:
10371         * lyxfunc.C: subsequent changes
10372
10373         * lyxfunc.h: new view() member function
10374
10375         * lyxfunc.C: subsequent changes
10376
10377 2002-08-13  Angus Leeming  <leeming@lyx.org>
10378
10379         * BufferView2.C:
10380         * BufferView_pimpl.C:
10381         * buffer.C:
10382         * converter.C:
10383         * importer.C:
10384         * lyxfunc.C:
10385         * lyxvc.C:
10386         * toc.C:
10387         * vc-backend.C:
10388         changes due to the changed LyXView interface that now returns references
10389         to member variables not pointers.
10390
10391 2002-08-13  Angus Leeming  <leeming@lyx.org>
10392
10393         * WordLangTuple (word, lang_code): return references to strings,
10394         not strings.
10395
10396         * BufferView.h:
10397         * SpellBase.h:
10398         * lyxtext.h: forward-declare WordLangTuple.
10399
10400         * BufferView2.C:
10401         * ispell.C:
10402         * pspell.C:
10403         * text.C: #include "WordLangTuple.h".
10404
10405         * lyxtext.h:
10406         * text.C: (selectNextWordToSpellcheck): constify return type.
10407
10408 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10409
10410         * buffer.C:
10411         * buffer.h:
10412         * lyxtext.h:
10413         * paragraph.C:
10414         * paragraph_pimpl.h:
10415         * text.C:
10416         * text2.C:
10417         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10418         suggested by Angus.
10419         Made updateCounter always count from start of buffer, and removed
10420         second argument (par).
10421         Reverted floats number display to '#'. Perhaps I'll try again when the
10422         code base is sanitized a bit.
10423
10424 2002-08-12  Angus Leeming  <leeming@lyx.org>
10425
10426         * buffer.[Ch] (getLabelList): constify.
10427
10428 2002-08-07  André Pönitz <poenitz@gmx.net>
10429
10430         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10431
10432         * funcrequest.h: extension to keep mouse (x,y) position
10433
10434 2002-08-12  Juergen Vigna  <jug@sad.it>
10435
10436         * BufferView2.C (insertErrors): forbid undo when inserting error
10437         insets.
10438
10439         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10440
10441 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10442
10443         * ParagraphList.[Ch]: new files
10444
10445         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10446
10447         * BufferView2.C (lockInset): ParagraphList changes
10448         * toc.C: ditto
10449         * text2.C: ditto
10450         * bufferlist.C: ditto
10451         * buffer.h: ditto
10452         * buffer.C: ditto
10453
10454 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10455
10456         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10457         unused class variable counter_,
10458
10459         * paragraph.[Ch] (getFirstCounter): delete unused function
10460
10461         * counters.C: include LAssert.h
10462         (reset): add a new function with no arg, change other version to
10463         not have def. arg and to not allow empty arg.
10464
10465         * text2.C (setCounter): remove empty arg from call to Counters::reset
10466
10467 2002-08-11  John Levon  <levon@movementarian.org>
10468
10469         * Makefile.am: add WordLangTuple.h
10470
10471 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10472
10473         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10474         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10475
10476         * insets/insettext.C: InsetList changes
10477
10478         * graphics/GraphicsSupport.C (operator()): InsetList changes
10479
10480         * toc.C (getTocList): InsetList changes
10481
10482         * paragraph_pimpl.[Ch]: InsetList changes
10483
10484         * paragraph.[Ch]: InsetList changes
10485
10486         * buffer.C (inset_iterator): InsetList changes
10487         (setParagraph): ditto
10488         * buffer.h (inset_iterator): ditto
10489         * iterators.C (operator++): ditto
10490         * iterators.h: ditto
10491
10492         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10493
10494         * InsetList.[Ch]: new files, most InsetList handling moved out of
10495         paragraph.C.
10496
10497         * BufferView2.C (removeAutoInsets): InsetList changes
10498         (lockInset): ditto
10499         (ChangeInsets): ditto
10500
10501 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10502
10503         * paragraph_pimpl.h (empty): new function
10504
10505         * paragraph.[Ch] (empty): new function
10506
10507         * other files: use the new Paragraph::empty function
10508
10509 2002-08-09  John Levon  <levon@movementarian.org>
10510
10511         * lyxtext.h: remove unused refresh_height
10512
10513 2002-08-09  John Levon  <levon@movementarian.org>
10514
10515         * Makefile.am:
10516         * sgml.h:
10517         * sgml.C:
10518         * buffer.C:
10519         * paragraph.h:
10520         * paragraph.C: move sgml char escaping out of paragraph
10521
10522         * paragraph.h:
10523         * paragraph.C: remove id setter
10524
10525         * buffer.C:
10526         * paragraph.C:
10527         * paragraph_pimpl.C: remove dead tex_code_break_column
10528
10529         * bufferview_funcs.C: small cleanup
10530
10531         * lyxfunc.C: remove dead proto
10532
10533         * lyxtext.h: make some stuff private. Remove some dead stuff.
10534
10535         * lyxgluelength.C: make as[LyX]String() readable
10536
10537 2002-08-08  John Levon  <levon@movementarian.org>
10538
10539         * LyXAction.h:
10540         * LyXAction.C:
10541         * MenuBackend.C:
10542         * ToolbarDefaults.C:
10543         * lyxfunc.C:
10544         * lyxrc.C:
10545         * toc.C: lyxaction cleanup
10546
10547 2002-08-08  John Levon  <levon@movementarian.org>
10548
10549         * BufferView2.C: small cleanup
10550
10551         * lyxfind.h:
10552         * lyxfind.C: move unnecessary header into the .C
10553
10554 2002-08-08  John Levon  <levon@movementarian.org>
10555
10556         * funcrequest.h: just tedious nonsense
10557
10558         * lyx_main.h:
10559         * lyx_main.C: cleanups
10560
10561         * buffer.C:
10562         * vspace.C: remove dead header lyx_main.h
10563
10564 2002-08-07  Angus Leeming  <leeming@lyx.org>
10565
10566         * Paragraph.[Ch]:
10567         * paragraph_pimpl.h:
10568         Forward declare class Counters in paragraph.h by moving the ctrs member
10569         variable into Paragraph::Pimpl.
10570         (counters): new method, returning a reference to pimpl_->ctrs.
10571
10572         * text2.C: ensuing changes.
10573
10574 2002-08-07  John Levon  <levon@movementarian.org>
10575
10576         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10577
10578         * BufferView_pimpl.C: announce X selection on double/triple
10579           click
10580
10581         * lyx_main.C: use correct bool in batch dispatch
10582
10583         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10584
10585 2002-08-07  André Pönitz <poenitz@gmx.net>
10586
10587         * funcrequest.h: new class to wrap a kb_action and its argument
10588
10589         * BufferView.[Ch]:
10590         * BufferView_pimpl[Ch]:
10591         * LaTeX.C:
10592         * LyXAction.[Ch]:
10593         * lyxfunc.[Ch]:
10594         * lyxrc.C: subsequent changes
10595
10596
10597 2002-08-07  John Levon  <levon@movementarian.org>
10598
10599         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10600           document options change.
10601
10602 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10603
10604         * counters.[Ch]
10605         * text2.C
10606         * paragraph.[Ch]
10607         * makefile.am: move counters functionality over from
10608         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10609
10610 2002-08-06  John Levon  <levon@movementarian.org>
10611
10612         * WordLangTuple.h: new file for word + language code tuple
10613
10614         * SpellBase.h:
10615         * pspell.h:
10616         * pspell.C:
10617         * ispell.h:
10618         * ispell.C:
10619         * lyxtext.h:
10620         * text.C:
10621         * text2.C:
10622         * BufferView.h:
10623         * BufferView2.C: use WordLangTuple
10624
10625         * layout.h:
10626         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10627
10628 2002-08-06  John Levon  <levon@movementarian.org>
10629
10630         * lyx_main.C: fix cmdline batch handling
10631
10632 2002-08-06  André Pönitz <poenitz@gmx.net>
10633
10634         * lyxrc.C: set default for show_banner to true
10635
10636 2002-08-06  John Levon  <levon@movementarian.org>
10637
10638         * pspell.C: fix a crash, and allow new aspell to work
10639
10640 2002-08-06  John Levon  <levon@movementarian.org>
10641
10642         * lyxfunc.C:
10643         * kbmap.C: small cleanup
10644
10645         * vspace.h:
10646         * vspace.C: add const
10647
10648 2002-08-05  John Levon  <levon@movementarian.org>
10649
10650         * LyXAction.C: back to tabular-insert
10651
10652 2002-08-04  John Levon  <levon@movementarian.org>
10653
10654         * BufferView.h:
10655         * BufferView.C: cosmetic change
10656
10657         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10658
10659         * bufferlist.C:
10660         * buffer.h:
10661         * buffer.C:
10662         * lyxcb.h:
10663         * lyxcb.C:
10664         * lyxserver.C:
10665         * lyxvc.C:
10666         * vc-backend.C:
10667         * BufferView2.C: purge all "Lyx" not "LyX" strings
10668
10669         * lyxcursor.h:
10670         * lyxcursor.C: attempt to add some documentation
10671
10672         * lyxfunc.C:
10673         * commandtags.h:
10674         * LyXAction.C:
10675         * ToolbarDefaults.C:
10676         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10677           merge with LFUN_TABULAR_INSERT
10678
10679         * Makefile.am:
10680         * SpellBase.h:
10681         * ispell.h:
10682         * ispell.C:
10683         * pspell.h:
10684         * pspell.C: split up i/pspell implementations into separate
10685           files, many cleanups
10686
10687         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10688
10689         * text2.C: some cleanup
10690
10691         * lyxfunc.C: don't check for isp_command == "none" any more, it
10692           didn't make any sense
10693
10694 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10695
10696         * counters.[Ch]
10697         * text2.C
10698         * paragraph.[Ch]
10699         * makefile.am: move counters functionality over
10700         from text2.C/paragraph.[Ch] to counters.[Ch], and
10701         make proper C++.
10702 2002-08-02  John Levon  <levon@movementarian.org>
10703
10704         * buffer.C: s/lyxconvert/lyx2lyx/
10705
10706 2002-08-02  Angus Leeming  <leeming@lyx.org>
10707
10708         * lyxlex.C: revert John's change as it breaks reading of the user
10709         preamble.
10710
10711 2002-08-02  Angus Leeming  <leeming@lyx.org>
10712
10713         * importer.C (Import):
10714         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10715         changes due to LyXView::view() now returning a boost::shared_ptr.
10716
10717 2002-08-02  John Levon  <levon@movementarian.org>
10718
10719         * lyxlex.C: small cleanup
10720
10721 2002-08-02  John Levon  <levon@movementarian.org>
10722
10723         * text2.C (status): small cleanup, no logic change
10724
10725 2002-08-01  John Levon  <levon@movementarian.org>
10726
10727         * buffer.h:
10728         * buffer.C (writeFile): don't output alerts, caller
10729           handles this
10730
10731         * bufferlist.C:
10732         * lyx_cb.C: from above
10733
10734         * lyxfunc.C: allow to open non-existent files
10735
10736 2002-07-31  John Levon  <levon@movementarian.org>
10737
10738         * lyxserver.C: don't let incidental errors get
10739           in the way (errno)
10740
10741 2002-07-30  John Levon  <levon@movementarian.org>
10742
10743         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10744
10745 2002-07-30  John Levon  <levon@movementarian.org>
10746
10747         * lyxserver.h:
10748         * lyxserver.C: remove I/O callback too
10749
10750 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10751
10752         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10753         log.
10754
10755 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10756
10757         * many files: strip,frontStrip -> trim,ltrim,rtrim
10758
10759 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10760
10761         * PrinterParams.h: remove extern containsOnly, and include
10762         support/lstrings.h instead.
10763
10764         * LaTeX.C (scanAuxFile): modify because of strip changes
10765         (deplog): ditto
10766         * buffer.C (makeLaTeXFile): ditto
10767         * bufferparams.C (writeFile): ditt
10768         * lyxfont.C (stateText): ditto
10769         * lyxserver.C (read_ready): ditto
10770         * vc-backend.C (scanMaster): ditto
10771
10772         * BufferView_pimpl.h: ws changes
10773
10774         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10775
10776 2002-07-26  André Pönitz <poenitz@gmx.net>
10777
10778         * kb_sequence.C: remove unnedred usings
10779
10780 2002-07-26  Juergen Vigna  <jug@sad.it>
10781
10782         * lyxfind.C (LyXReplace): we have to check better if the returned
10783         text is not of theLockingInset()->getLockingInset().
10784
10785 2002-07-25  Juergen Vigna  <jug@sad.it>
10786
10787         * lyxfind.C (LyXReplace): don't replace if we don't get the
10788         right LyXText.
10789
10790         * undo_funcs.C (createUndo): remove debugging code.
10791
10792 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10793
10794         * buffer.C (parseSingleLyXformat2Token): Use default placement
10795         when reading old floats.
10796
10797         * FloatList.C (FloatList): Change the default placement of figure
10798         and tables to "tbp".
10799
10800 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10801
10802         * MenuBackend.C: using std::max
10803
10804 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10805
10806         * MenuBackend.C (expandToc):
10807         (expandToc2): code moved from xforms menu frontend. It is now
10808         generic and TOCs are transparent to menu frontends.
10809
10810 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10811
10812         * toc.C (getTocList): protect against buf=0
10813
10814         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10815         Menu as first parameter. Now, this calls itself recursively to
10816         expand a whole tree (this will be useful for TOC handling)
10817         (expandFloatInsert): remove 'wide' version of floats
10818
10819         * MenuBackend.h (submenuname): returns the name of the submenu.
10820         (submenu): returns the submenu itself, provided it has been
10821         created by MenuBackend::expand
10822
10823 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10824
10825         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10826         insets which have noFontChange == true. (bug #172)
10827
10828 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10829
10830         * BufferView_pimpl.C: add connection objects and use them...
10831         (Pimpl): here.
10832
10833 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10834
10835         * MenuBackend.C (expandLastfiles):
10836         (expandDocuments):
10837         (expandFormats):
10838         (expandFloatListInsert):
10839         (expandFloatInsert):
10840         (expand): split expand in parts
10841
10842 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10843
10844         * lyx_gui.C: use lyx_gui::exit()
10845
10846 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10847
10848         * LyXAction.C: show the failing pseudo action
10849
10850 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10851
10852         * buffer.C (readFile): Run the lyxconvert script in order to read
10853         old files.
10854
10855 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10856
10857         * LyXAction.C:
10858         * commandtags.h:
10859         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10860
10861 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10862
10863         * LyXAction.C:
10864         * commandtags.h:
10865         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10866
10867 2002-07-22  Herbert Voss  <voss@lyx.org>
10868
10869         * lengthcommon.C:
10870         * lyxlength.[Ch]: add support for the vertical lengths
10871
10872 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10873
10874         * toc.[Ch]: std:: fixes
10875
10876 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10877
10878         * lyxrc.C: do not include lyx_main.h
10879
10880         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10881         for layouts
10882
10883         * lyxrc.C:
10884         * encoding.C:
10885         * bufferlist.C:
10886         * BufferView2.C: include "lyxlex.h"
10887
10888         * tabular.h:
10889         * bufferparams.h: do not #include "lyxlex.h"
10890
10891         * lyxtextclasslist.C (Add): remove method
10892         (classlist): renamed to classlist_
10893
10894         * paragraph_pimpl.C:
10895         * paragraph.C:
10896         * text2.C:
10897         * CutAndPaste.C:
10898         * bufferview_funcs.C:
10899         * bufferlist.C:
10900         * text.C:
10901         * LaTeXFeatures.C:
10902         * buffer.C:
10903         * toc.C (getTocList): use BufferParams::getLyXTextClass
10904
10905         * toc.C (getTocList): use InsetFloat::addToToc
10906
10907         * toc.[Ch]: new files, containing helper functions to handle table
10908         of contents
10909
10910         * lyxfunc.C (dispatch): no need to remove spaces around command
10911         given as a string
10912         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10913         first command of the sequence; it is not very clever, but I do not
10914         have a better idea, actually
10915
10916         * LyXAction.C (LookupFunc): make sure to remove space at the
10917         beginning and end of the command
10918
10919 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10920
10921         * MenuBackend.C (getMenubar): new method: return the menubar of
10922         this menu set
10923         (read): treat differently reading of menu and menubar (in
10924         particular, the menubar has no name now)
10925         (Menu::menubar): remove
10926
10927         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10928         saving is finished
10929
10930 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10931
10932         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10933         a bibitem inset in a RTL paragraph.
10934
10935 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10936
10937         * paragraph_pimpl.C: constify
10938
10939         * BufferView_pimpl.C:
10940         * LaTeX.C:
10941         * lyxfunc.C: fix dispatch in a nicer way
10942
10943 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10944
10945         * lyxfunc.C (dispatch):
10946         * BufferView_pimpl.C:
10947         * BufferView_pimpl.h:
10948         * BufferView.C:
10949         * BufferView.h: rename Dispatch() to dispatch()
10950
10951         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10952
10953         * lyxlayout.C (Read): honor DependsOn tag
10954
10955         * lyxlayout.[Ch] (depends_on): new method
10956
10957         * version.C.in: update lyx_docversion
10958
10959         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10960
10961         * paragraph.C (validate): remove from here...
10962         * paragraph_pimpl.C (validate): ... and move here
10963         (isTextAt): make it const
10964
10965         * buffer.C (getLists): ws cleanup
10966
10967 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10968
10969         * language.C (read): Use iso8859-1 encoding in latex_lang
10970         (this prevents LyX from crashing when using iso10646-1 encoding).
10971
10972 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10973
10974         * text2.C (toggleInset): if cursor is inside an inset, close the
10975         inset and leave cursor _after_ it
10976
10977 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10978
10979         * lyxfunc.C: move minibuffer completion handling out of here
10980
10981 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10982
10983         * BufferView_pimpl.C:
10984         * LaTeX.C: fix dispatch calls
10985
10986 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10987
10988         * text.C (drawChars): Fix Arabic text rendering.
10989
10990 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10991
10992         * LyXAction.C:
10993         * commandtags.h:
10994         * lyxfunc.C: remove message-push/pop
10995
10996         * lyxserver.C:
10997         * lyxfunc.h:
10998         * lyxfunc.C: rationalise some code by removing verboseDispatch
10999           in favour of a bool argument to dispatch()
11000
11001 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11002
11003         * lyx_main.C (init): make sure to read symlinks as absolute paths
11004
11005 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11006
11007         * lyxfunc.h:
11008         * lyxfunc.C: no need for commandshortcut to be a member
11009
11010 2002-07-15  André Pönitz <poenitz@gmx.net>
11011
11012         * converter.C: add support for $$s (scripts from lib/scripts dir)
11013         * lyx_main.C: white space
11014
11015 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11016
11017         * bufferlist.C:
11018         * lyxrc.h:
11019         * lyxrc.C: remove second exit confirmation
11020
11021 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11022
11023         * BufferView.h:
11024         * BufferView.C:
11025         * BufferView2.C:
11026         * BufferView_pimpl.h:
11027         * BufferView_pimpl.C:
11028         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11029
11030 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11031
11032         * MenuBackend.C (expand): add numeric shortcuts to document menu
11033
11034         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11035
11036 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11037
11038         * lyxfont.C (setLyXFamily):
11039         (setLyXSeries):
11040         (setLyXShape):
11041         (setLyXSize):
11042         (setLyXMisc):
11043         (lyxRead):
11044         * debug.C (value):
11045         * buffer.C (asciiParagraph): use ascii_lowercase
11046
11047 2002-07-15  Mike Fabian  <mfabian@suse.de>
11048
11049         * lyxlex_pimpl.C (search_kw):
11050         * lyxlex.C (getLongString):
11051         * converter.h (operator<):
11052         * converter.C (operator<):
11053         * buffer.C (parseSingleLyXformat2Token):
11054         (asciiParagraph):
11055         * ToolbarDefaults.C (read):
11056         * MenuBackend.C (checkShortcuts):
11057         (read):
11058         * LColor.C (getFromGUIName):
11059         (getFromLyXName): use the compare_ascii_no_case instead of
11060         compare_no_case, because in turkish, 'i' is not the lowercase
11061         version of 'I', and thus turkish locale breaks parsing of tags.
11062
11063 2002-07-16  Angus Leeming  <leeming@lyx.org>
11064
11065         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11066         now takes a Buffer const & argument.
11067
11068 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11069
11070         * BufferView.C (resize): check there's a buffer to resize
11071
11072 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11073
11074         * lyxfunc.C: remove dead code
11075
11076         * lyxserver.h:
11077         * lyxserver.C: use lyx_guii::set_read_callback
11078
11079 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11080
11081         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11082         an inset in a RTL paragraph.
11083
11084 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11085
11086         * lyxfunc.C: repaint after a font size update
11087
11088 2002-07-15  André Pönitz <poenitz@gmx.net>
11089
11090         * lyxlength.C: inBP should be able to return negative values
11091
11092 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11093
11094         * lyxfunc.C: use lyx_gui::update_fonts()
11095
11096 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11097
11098         * lyxfunc.C: use lyx_gui::update_color()
11099
11100 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11101
11102         * bufferlist.C:
11103         * lyxfunc.h:
11104         * lyxfunc.C:
11105         * lyxrc.h:
11106         * lyxrc.C: remove file->new asks for name option, and let
11107           buffer-new take an argument
11108
11109 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11110
11111         * BufferView_pimpl.C: remove unneeded extra repaint()
11112
11113 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * LyXAction.C: allow command-sequence with NoBuffer
11116
11117         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11118
11119 2002-07-10  Angus Leeming  <leeming@lyx.org>
11120
11121         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11122
11123 2002-07-09  Angus Leeming  <leeming@lyx.org>
11124
11125         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11126
11127 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11128
11129         * lengthcommon.h: whitespace
11130
11131         * lyxfunc.C: update scrollbar after goto paragraph
11132
11133         * lyxtext.h: factor out page break drawing, and fix it so
11134           page break/added space paints as selected nicely
11135
11136 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11137
11138         * BufferView_pimpl.C: add FIXMEs, clean up a little
11139
11140 2002-07-09  André Pönitz <poenitz@gmx.net>
11141
11142         * lyxfont.[Ch]: support for wasy symbols
11143
11144 2002-07-08  André Pönitz <poenitz@gmx.net>
11145
11146         * BufferView_pimpl.C: apply John's patch for #93.
11147
11148 2002-07-05  Angus Leeming  <leeming@lyx.org>
11149
11150         * BufferView_pimpl.C (buffer): generate previews if desired.
11151
11152         * LColor.h: add "preview" to the color enum.
11153
11154         * LColor.C (LColor): add a corresponding entry to the items array.
11155
11156         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11157         with this buffer.
11158
11159 2002-07-05  Angus Leeming  <leeming@lyx.org>
11160
11161         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11162         The body of the code is now in the method that is passed an ostream &
11163         rather than a file name.
11164         Pass an additional only_preamble parameter, useful for the forthcoming
11165         preview stuff.
11166
11167 2002-07-03  André Pönitz <poenitz@gmx.net>
11168
11169         * lyxfunc.C: simplify getStatus() a bit for math stuff
11170
11171 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11172
11173         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11174
11175 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11176
11177         * text.C (changeRegionCase): do not change case of all the
11178         document when region ends at paragraph end (bug #461)
11179
11180 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11181
11182         * paragraph.C (startTeXParParams):
11183         (endTeXParParams): add \protect when necessary
11184
11185 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11186
11187         * BufferView_pimpl.C (workAreaExpose): remove warning
11188
11189 2002-06-27  Angus Leeming  <leeming@lyx.org>
11190
11191         * Makefile.am: add lyxlayout_ptr_fwd.h.
11192
11193 2002-06-26  André Pönitz <poenitz@gmx.net>
11194
11195         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11196
11197 2002-06-25  Angus Leeming  <leeming@lyx.org>
11198
11199         * lyxfunc.C (dispatch): Comment out the call to
11200         grfx::GCache::changeDisplay. The method no longer exists now that the
11201         pixmap generation part of the graphics loader has been moved into
11202         InsetGraphics.
11203
11204 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11205
11206         * text2.C: layout as layout
11207
11208         * text.C: layout as layout
11209
11210         * tabular.C (OldFormatRead): layout as layout
11211
11212         * paragraph_pimpl.C (TeXDeeper): layout as layout
11213         (realizeFont): layout as layout
11214
11215         * paragraph.C (writeFile): layout as layout
11216         (validate): layout as layout
11217         (getFont): layout as layout
11218         (getLabelFont): layout as layout
11219         (getLayoutFont): layout as layout
11220         (breakParagraph): layout as layout
11221         (stripLeadingSpaces): layout as layout
11222         (getEndLabel): layout as layout
11223         (getMaxDepthAfter): layout as layout
11224         (applyLayout): layout as layout
11225         (TeXOnePar): layout as layout
11226         (simpleTeXOnePar): layout as layout
11227         (TeXEnvironment): layout as layout
11228         (layout): layout as layout
11229         (layout): layout as layout
11230
11231         * lyxtextclass.C (compare_name): new functor to work with
11232         shared_ptr, layout as layout
11233         (Read): layout as layout
11234         (hasLayout): layout as layout
11235         (operator): layout as layout
11236         (delete_layout): layout as layout
11237         (defaultLayout): layout as layout
11238
11239         * lyxlayout_ptr_fwd.h: new file
11240
11241         * lyxlayout.C (Read): layout as layout
11242
11243         * lyx_cb.C (MenuInsertLabel): layout as layout
11244
11245         * bufferlist.C (newFile): layout as layout
11246
11247         * buffer.C (readLyXformat2): layout as layout
11248         (parseSingleLyXformat2Token): layout as layout
11249         (insertStringAsLines): layout as layout
11250         (asciiParagraph): layout as layout
11251         (latexParagraphs): layout as layout
11252         (makeLinuxDocFile): layout as layout
11253         (simpleLinuxDocOnePar): layout as layout
11254         (makeDocBookFile): layout as layout
11255         (simpleDocBookOnePar): layout as layout
11256         (getLists): layout as layout
11257
11258         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11259
11260         * CutAndPaste.C (cutSelection): layout as layout
11261         (pasteSelection): layout as layout
11262         (SwitchLayoutsBetweenClasses): layout as layout
11263
11264         * BufferView_pimpl.C (Dispatch): layout as layout
11265         (smartQuote): layout as layout
11266
11267         * BufferView2.C (unlockInset): layout as layout
11268
11269 2002-06-24  André Pönitz <poenitz@gmx.net>
11270
11271         * lyxfunc.C: fix #487
11272
11273 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11274
11275         * lyxrc.h:
11276         * lyxrc.C:
11277         * lyxfunc.C: remove display_shortcuts, show_banner
11278
11279 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11280
11281         * Buffer_pimpl.C: oops, update on resize
11282
11283 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11284
11285         * buffer.C:
11286         * converter.C:
11287         * exporter.C:
11288         * lyxfunc.C:
11289         * BufferView.h:
11290         * BufferView.C: use repaint()
11291
11292         * BufferView_pimpl.h:
11293         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11294           as it's a clearer description. Remove superfluous
11295           redraws.
11296
11297 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11298
11299         * text.C: fix bug 488. Not ideal, but getting
11300           getWord() to work properly for the insets that
11301           matter is more difficult ...
11302
11303 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11304
11305         * BufferView_pimpl.C:
11306         * LyXAction.C:
11307         * commandtags.h:
11308         * lyxfunc.C: remove the six million index lyxfuncs to just
11309           one, and DTRT (bug 458)
11310
11311 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11312
11313         * BufferView.h:
11314         * BufferView.C:
11315         * BufferView_pimpl.h:
11316         * BufferView_pimpl.C: clean up resize() stuff,
11317           and unnecessary updateScreen()s
11318
11319 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11320
11321         * BufferView.h:
11322         * BufferView.C:
11323         * BufferView_pimpl.h:
11324         * BufferView_pimpl.C:
11325         * lyxfind.h:
11326         * lyxfind.C:
11327         * minibuffer.C: remove focus management of workarea,
11328           not needed. Use screen's greyOut()
11329
11330 2002-06-17  Herbert Voss  <voss@lyx.org>
11331
11332         * converter.C: (convert) do not post a message, when converting
11333         fails, let the calling function decide what to do in this case
11334
11335 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11336
11337         * lyxfunc.C: tidy up a little
11338
11339 2002-06-16    <alstrup@diku.dk>
11340
11341         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11342         Got rid of FORMS_H_LOCATION include. Now we are
11343         GUII.
11344
11345 2002-06-15  LyX Development team  <lyx@rilke>
11346
11347         * buffer.[Ch] (sgmlOpenTag):
11348         (sgmlCloseTag): Added support for avoiding pernicious mixed
11349         content. Return number of lines written.
11350
11351         (makeLinuxDocFile):
11352         (makeDocBookFile): Fixed calls to sgml*Tag.
11353         Simple white space clean.
11354
11355         (simpleDocBookOnePar): Simple white space clean.
11356
11357         * tabular.[Ch] (docBook): Renamed to docbook and got another
11358         argument to related with the pernicious mixed content.
11359
11360         (docbookRow): Fixed calls for docbook inset method.
11361
11362 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11363
11364         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11365         so it's X11 independent.
11366
11367         * kb*.[Ch]: ditto.
11368
11369         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11370
11371 2002-06-15  Lyx Development team  <lyx@electronia>
11372
11373         * intl.h: Renamed getTrans to getTransManager.
11374
11375 2002-06-14  Angus Leeming  <leeming@lyx.org>
11376
11377         * Makefile.am: nuke forgotten stl_string_fwd.h.
11378
11379 2002-06-12  Angus Leeming  <leeming@lyx.org>
11380
11381         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11382
11383 2002-06-13  Angus Leeming  <leeming@lyx.org>
11384
11385         * LaTeX.C:
11386         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11387
11388 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11389
11390         * kbmap.C (getiso): add support for cyrillic and greek
11391
11392 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11393
11394         * BufferView.h:
11395         * BufferView.C:
11396         * BufferView_pimpl.h:
11397         * BufferView_pimpl.C: move bogus scrolling logic
11398           to xforms
11399
11400 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11401
11402         * lyxfunc.C:
11403         * BufferView_pimpl.C: view->resize() change
11404
11405 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11406
11407         * BufferView_pimpl.C: topCursorVisible
11408           prototype change
11409
11410 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11411
11412         * Makefile.am:
11413         * lyx_gui.h:
11414         * lyx_gui.C: move to frontends/
11415
11416         * main.C:
11417         * lyx_main.h:
11418         * lyx_main.C: changes from above
11419
11420 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11421
11422         * intl.C:
11423         * intl.h:
11424         * kbmap.C:
11425         * kbsequence.C:
11426         * lyx_cb.C:
11427         * lyx_main.C: minor tidy
11428
11429 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11430
11431         * BufferView_pimpl.h:
11432         * BufferView_pimpl.C:
11433         * BufferView.h:
11434         * BufferView.C: make painter() const,
11435           remove dead code
11436
11437         * BufferView2.C: use screen() accessor
11438
11439         * lyx_main.h:
11440         * lyx_main.C: some minor cleanup
11441
11442 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11443
11444         * BufferView_pimpl.h:
11445         * BufferView_pimpl.C: remove enter/leaveView,
11446           use workHeight()
11447
11448 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11449
11450         * BufferView.h:
11451         * BufferView.C:
11452         * BufferView2.C:
11453         * BufferView_pimpl.h:
11454         * BufferView_pimpl.C: only construct screen once,
11455           rename
11456
11457         * lyxrc.C: remove pointless comment
11458
11459 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11460
11461         * BufferView.h:
11462         * BufferView.C: remove active() and belowMouse()
11463
11464         * BufferView_pimpl.h:
11465         * BufferView_pimpl.C: use workarea() not workarea_,
11466           and make it use a scoped_ptr instead
11467
11468 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11469
11470         * lyx_gui.C: add debug message on BadWindow
11471
11472 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11473
11474         * sp_spell.C: fdopen is not part of the C++ standard.
11475
11476         * paragraph.C (InsetIterator): use >= instead of ==
11477
11478 2002-06-07  Angus Leeming  <leeming@lyx.org>
11479
11480         Fixes needed to compile with Compaq cxx 6.5.
11481         * BufferView_pimpl.C:
11482         * DepTable.C:
11483         * buffer.C:
11484         * converter.C:
11485         * encoding.C:
11486         * lyx_gui.C:
11487         * lyx_main.C:
11488         * lyxtextclasslist.C:
11489         * minibuffer.C:
11490         * sp_spell.C:
11491         * tabular_funcs.C:
11492         * vc-backend.C:
11493         all c-library variables have been moved into namespace std. Wrap
11494         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11495
11496         * lyxlength.C:
11497         * tabular-old.C:
11498         * tabular.C:
11499         Add a using std::abs declaration.
11500
11501         * kbmap.h (modifier_pair):
11502         * paragraph.h (InsetTable, InsetList):
11503         * lyxfont.h (FontBits):
11504         type definition made public.
11505
11506         * bufferlist.C (emergencyWriteAll): the compiler complains that
11507         there is more than one possible lyx::class_fun template to choose from.
11508         I re-named the void specialisation as lyx::void_class_fun.
11509
11510         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11511
11512         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11513         the compiler is is unable to find tostr in write_attribute.
11514
11515 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11516
11517         * buffer.C (sgmlError): hide #warning
11518
11519 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11520
11521         * xtl/*: get rid of xtl, which is not in use anyway
11522
11523         * LyXAction.C (init):
11524         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11525         were unimplemented xtl experimentation
11526
11527 2002-06-04  André Pönitz <poenitz@gmx.net>
11528
11529         * lyxfunc.C: disable array operation on simple formulae
11530
11531 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11532
11533         * converter.C: constify a bit
11534
11535 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11536
11537         * lyx_gui.C: check xforms version correctly
11538
11539 2002-04-30  Herbert Voss  <voss@lyx.org>
11540
11541         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11542         "keep" option
11543
11544 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11545
11546         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11547           attempt to register it with a VCS)
11548
11549 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11550
11551         * lyx_main.C (init): honor variables LYX_DIR_13x and
11552         LYX_USERDIR_13x
11553
11554 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11555
11556         * buffer.h:
11557         * buffer.C:
11558         * lyx_main.C: fix a crash on bad command line,
11559           and give a useful exit status on error
11560
11561         * lyxfunc.C (doImport): allow -i lyx to work
11562
11563 2002-03-30  André Pönitz <poenitz@gmx.net>
11564
11565         * lyxfunc.C: mathed font changes
11566
11567 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11568
11569         * LaTeX.C:
11570         * importer.h:
11571         * importer.C:
11572         * lyx_sty.h:
11573         * lyx_sty.C:
11574         * lyxlex.C:
11575         * lyxrow.h:
11576         * lyxtext.h:
11577         * paragraph.h:
11578         * paragraph.C:
11579         * texrow.h:
11580         * texrow.C:
11581         * text.C:
11582         * trans_mgr.h: srcdocs, and some minor cleanups
11583
11584 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11585
11586         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11587         call getFont all the time)
11588
11589 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11590
11591         * switch from SigC signals to boost::signals
11592
11593 2002-05-29  André Pönitz <poenitz@gmx.net>
11594
11595         * paragraph_pimpl.C (getChar): don't call size() too often...
11596
11597 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11598
11599         * paragraph_pimpl.C (insertChar): do not try to update tables when
11600         appending (pos == size())
11601
11602         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11603         in order to reduce drastically the number of comparisons needed to
11604         parse a large document
11605
11606 2002-05-29  André Pönitz <poenitz@gmx.net>
11607
11608         * text.C:
11609         * text2.C:
11610         * lyxtextclass.C:
11611         * sp_pspell.h:
11612         * textclasslist.[Ch]:
11613         * sp_ispell.h: whitespace change
11614
11615 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11616
11617         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11618         lyxaction directly now.
11619
11620 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11621
11622         * trans.C:
11623         * lyxfont.C:
11624         * lyxvc.C: remove unused headers
11625
11626 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11627
11628         * Makefile.am:
11629         * buffer.h:
11630         * undostack.h:
11631         * undostack.C:
11632         * undo_funcs.h:
11633         * undo_funcs.C: some cleanups. Use shared_ptr
11634           and a template for the undo stacks.
11635
11636 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11637
11638         * BufferView_pimpl.h:
11639         * BufferView_pimpl.C:
11640         * kbmap.h:
11641         * kbmap.C:
11642         * kbsequence.h:
11643         * kbsequence.C:
11644         * lyxfunc.h:
11645         * lyxfunc.C:
11646         * text2.C: use key_state/mouse_state
11647
11648 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11649
11650         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11651         and LSubstring
11652
11653         * chset.C: change include order
11654         (loadFile): use boost regex and get rid of LRegex and LSubstring
11655
11656         * Makefile.am (BOOST_LIBS): new variable
11657         (lyx_LDADD): use it
11658
11659         * LaTeX.C: change include order.
11660         (scanAuxFile): use boost regex and get rid of LRegex and
11661         LSubstring
11662         (deplog): ditto
11663
11664 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * ColorHandler.h:
11667         * ColorHandler.C:
11668         * FontInfo.h:
11669         * FontInfo.C: moved to frontends/xforms/
11670
11671         * FontLoader.h:
11672         * FontLoader.C: moved into frontends for GUIIzation
11673
11674         * Makefile.am:
11675         * lyx_gui.C:
11676         * lyxfont.C:
11677         * lyxfunc.C: changes from above
11678
11679 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11680
11681         * LColor.C: remove spurious X include
11682
11683         * BufferView_pimpl.C:
11684         * Makefile.am:
11685         * font.h:
11686         * font.C:
11687         * text.C:
11688         * text2.C: move font metrics to frontends/
11689
11690 2002-05-24  Juergen Vigna  <jug@sad.it>
11691
11692         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11693         setting the undo_cursor.
11694
11695         * ParagraphParameters.h: include local includes first.
11696
11697 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * BufferView_pimpl.C:
11700         * BufferView_pimpl.h:
11701         * Makefile.am:
11702         * WorkArea.h:
11703         * WorkArea.C:
11704         * screen.C: move WorkArea into frontends/
11705
11706         * lyxscreen.h:
11707         * screen.C:
11708         * text.C:
11709         * BufferView.C:
11710         * BufferView2.C: move LyXScreen into frontends/
11711
11712         * lyxlookup.h:
11713         * lyxlookup.C:
11714         * lyx_gui.C: move lyxlookup into frontends/xforms/
11715
11716 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11717
11718         * BufferView2.C:
11719         * BufferView_pimpl.C:
11720         * FontLoader.C:
11721         * LyXView.h:
11722         * LyXView.C:
11723         * Makefile.am:
11724         * WorkArea.C:
11725         * XFormsView.h:
11726         * XFormsView.C:
11727         * buffer.C:
11728         * bufferlist.C:
11729         * bufferview_funcs.C:
11730         * converter.C:
11731         * importer.C:
11732         * lyx_cb.C:
11733         * lyx_gui.C:
11734         * lyx_main.C:
11735         * lyx_find.C:
11736         * lyxfunc.C:
11737         * lyxvc.C:
11738         * minibuffer.C:
11739         * text.C:
11740         * text2.C:
11741         * trans.C:
11742         * vc-backend.C: move LyX/XFormsView into frontends/
11743
11744 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11745
11746         * Makefile.am:
11747         * PainterBase.C:
11748         * PainterBase.h:
11749         * Painter.C:
11750         * Painter.h:
11751         * WorkArea.C:
11752         * WorkArea.h:
11753         * screen.C:
11754         * tabular.C:
11755         * text.C:
11756         * text2.C: move Painter to frontends/
11757
11758 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11759
11760         * buffer.C: comment out some some code that depend upon lyx_format
11761         < 220
11762
11763         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11764         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11765
11766         * buffer.h (NO_COMPABILITY): turn off compability
11767
11768         * ColorHandler.C: include scoped_array.hpp
11769
11770         * font.C: Use more specific smart_ptr header.
11771         * Painter.C: ditto
11772         * gettext.C: ditto
11773         * ShareContainer.h: ditto
11774         * lyx_main.h: ditto
11775         * kbmap.h: ditto
11776         * FontInfo.h: ditto
11777         * BufferView_pimpl.h: ditto
11778         * ColorHandler.h: ditto
11779
11780         * kbmap.C (defkey): change call to shared_ptr::reset
11781
11782 2002-05-21  Juergen Vigna  <jug@sad.it>
11783
11784         * buffer.C (insertErtContents): fix to insert ert asis if it is
11785         non empty. Skip it completely if it contains only whitespaces.
11786
11787 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11788
11789         * BufferView_pimpl.C:
11790         * BufferView2.C: clear selection on paste (bug 393)
11791
11792 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11793
11794         * DepTable.C: include ctime
11795
11796 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11797
11798         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11799
11800 2002-05-14  Juergen Vigna  <jug@sad.it>
11801
11802         * text.C (breakParagraph): fixed function to honor the keepempty
11803         layout in the right maner and also to permit the right breaking
11804         algorithm on empty or non empyt keepempty paragraphs.
11805
11806         * paragraph.C (breakParagraph): we have to check also if the par
11807         is really empty (!size()) for isempty otherwise we do the wrong
11808         paragraph break.
11809
11810 2002-05-10  Juergen Vigna  <jug@sad.it>
11811
11812         * buffer.[Ch] : The following are only changes to the ert
11813         compatibility read reading old LaTeX layout and font stuff and
11814         convert it to ERTInsets.
11815
11816         * buffer.h: added isErtInset().
11817
11818         * buffer.C (struct ErtComp): add a fromlayout bool to check
11819         if we're inside a LaTeX layout.
11820         (isErtInset): new helper function.
11821         (insertErtContents): look for other ert insets before this one
11822         and insert the contents there, so that we don't have subsequent
11823         ERT insets with nothing between them. This way we create only one
11824         inset with multiple paragraphs. Also check if we don't insert only
11825         spaces ' ' as they are ignored anyway afterwards in the .tex file
11826         so if we have only spaces we will ignore this latex part in the
11827         new file.
11828         (parseSingleLyXformat2Token \\layout): better compatibility when
11829         reading layout-latex stuff.
11830         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11831         language tag.
11832         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11833         stuff after reading the inset only get the information back from
11834         the stack.
11835
11836 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11837
11838         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11839
11840         * LaTeXFeatures.C (getBabelOptions): New method.
11841
11842 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11843
11844         * BufferView_pimpl.C (Dispatch): work around missing argument for
11845         'layout'
11846
11847 2002-05-08  Juergen Vigna  <jug@sad.it>
11848
11849         * text.C (leftMargin): handle paragraph leftindent.
11850
11851         * paragraph.C (writeFile): write the new \\leftindent tag.
11852         (validate): handle leftindent code.
11853         (TeXEnvironment): handle paragraphleftindent code again.
11854
11855         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11856
11857         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11858         for paragrap_extra indent code and new token \\leftindent.
11859         (latexParagraphs): handle the leftindent as environment.
11860
11861         * ParameterStruct.h: added leftindent support.
11862
11863         * ParagraphParameters.C (leftIndent): added support functions for
11864         the paragraph left indent.
11865
11866         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11867         more appropriate.
11868
11869 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11870
11871         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11872         inside insetERT.
11873
11874         * text.C (computeBidiTables): No bidi in insetERT.
11875
11876         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11877         in RTL documents.
11878
11879 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11880
11881         * version.C.in: pre 5
11882
11883 2002-05-02  José Matos  <jamatos@fep.up.pt>
11884         * buffer.C (makeDocBookFile): white space changes, add newline to
11885         command styles.
11886         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11887
11888         * tabular.C (docBook): fix typo.
11889
11890 2002-05-03  Juergen Vigna  <jug@sad.it>
11891
11892         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11893         change in LyXText as we can not be sure it was not freed.
11894         (drawOneRow): remove unused code.
11895
11896         * text.C (drawInset): redo the calculation of the need_break_row as
11897         it could have a row which was already freed.
11898         (draw): look at the return value of drawInset and return false if
11899         it also returned false.
11900         (paintRowText): look at the return value of draw and return false if
11901         it also returned false.
11902
11903         * lyxtext.h: added bool return type to drawInset() and draw() so that
11904         if we have a change in the row so that the rowbreak has to be redone
11905         we abort drawing as it will be called again.
11906
11907 2002-05-02  Juergen Vigna  <jug@sad.it>
11908
11909         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11910         a change in the maintext also if we're inside an inset.
11911         (Dispatch): set the cursor again after a break line and after the
11912         screen has been updated as it could be we're in a different row.
11913
11914         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11915         to set the cursor behind the pargraph with > size().
11916         (setCursor): check also for the same paragraph when checking where
11917         to put the cursor if we have a NFR inset.
11918
11919         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11920         parts of layout read further up as it still was in the wrong
11921         position.
11922
11923 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11924
11925         * screen.C (drawFromTo): change sine fullRebreak always return
11926         true.
11927
11928         * buffer.C (parseSingleLyXformat2Token): reindent some
11929
11930         * BufferView_pimpl.C (update): change since fullRebreak always
11931         return true.
11932         (Dispatch): git rid of the last hardcoded "Standard"s.
11933
11934 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11935
11936         * text2.[Ch] (fullRebreak): make it return void now that we always
11937         returned true.
11938
11939 2002-04-30  Juergen Vigna  <jug@sad.it>
11940
11941         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11942         ert compatibility check for "latex" layout.
11943
11944 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11945
11946         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11947         minipages: use col% instead of p%, and also use the current font.
11948         (makeLaTeXFile): Fix use babel condition.
11949         (parseSingleLyXformat2Token): Correct font when reading old floats.
11950
11951 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11952
11953         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11954         inserting list of floats.
11955
11956 2002-04-25  Herbert Voss  <voss@lyx.org>
11957
11958         * MenuBackend.C (expand): don't add the graphics extensions to the
11959         export menu
11960
11961 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11962
11963         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11964         non-existing layout, do not complain if it was the default layout
11965         of the original class (bug #342)
11966
11967 2002-04-24  Juergen Vigna  <jug@sad.it>
11968
11969         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11970         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11971
11972 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11973
11974         * buffer.C (getBibkeyList): If using \bibliography, return the
11975         option field with the reference itself. Enables us to provide natbib
11976         support when using \bibliography.
11977
11978 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11979
11980         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11981
11982         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11983         natbib is provided by the LaTeX class.
11984
11985 2002-04-23  Juergen Vigna  <jug@sad.it>
11986
11987         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11988         Wakeup functions.
11989
11990         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11991
11992 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11993
11994         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11995
11996         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11997         ensuremath around textordmasculine, textordfeminine and
11998         textdegree.
11999
12000 2002-04-19  Juergen Vigna  <jug@sad.it>
12001
12002         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12003         reinitializing the buffer otherwise row-dimensions may be wrong.
12004         (update): reset also the selection cursors if they do exits otherwise
12005         their x/y positions may be wrong.
12006
12007         * text2.C (cursorDown): don't enter the inset if we came from a row
12008         above and are one row over the inset.
12009
12010         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12011         really leaving an inset.
12012
12013 2002-04-18  Juergen Vigna  <jug@sad.it>
12014
12015         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12016         of the selected paragraph does not have the selected layout also if
12017         the last one had!
12018
12019         * text2.C (setLayout): fixed bug which did not change last selected
12020         paragraph.
12021
12022         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12023         changed the read and substituted \\end_float with \\end_inset!
12024
12025         * BufferView_pimpl.C (cursorPrevious):
12026         (cursorNext): fixed to make it work with rows heigher than the work
12027         area without moving the cursor only the draw of the row.
12028         (workAreaMotionNotify): fix jumping over high rows.
12029
12030 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12031
12032         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12033         Ressler.
12034
12035 2002-04-16  Juergen Vigna  <jug@sad.it>
12036
12037         * text2.C (setCursor): set also the irow().
12038         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12039         (cursorUp):
12040         (cursorDown): support for locking an inset if the x_fix value goes
12041         inside it. That way I can transverse insets too with cursor up/down.
12042
12043         * lyxrow.h: added irow helper function same as other (i) functions.
12044
12045         * BufferView_pimpl.C (cursorPrevious):
12046         (cursorNext): fixed for insets!
12047
12048 2002-04-15  Juergen Vigna  <jug@sad.it>
12049
12050         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12051         position otherwise it is wrong in some cases.
12052
12053         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12054         inside the inset before the call.
12055
12056 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12057
12058         * buffer.[Ch] (getBibkeyList): make it const.
12059
12060 2002-04-12  Juergen Vigna  <jug@sad.it>
12061
12062         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12063
12064         * text2.C (getCursorX): new helper function
12065         (setCursor): compute also ix_
12066         (setCursorFromCoordinates): set also ix.
12067
12068         * lyxcursor.h: added ix_ and helper functions.
12069
12070         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12071
12072         * buffer.C (insertStringAsLines): dont break paragraph if the this
12073         paragraph is inside an inset which does not permit it!
12074
12075         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12076         also with no chars on this paragraph.
12077         (paintRowText): only paint stuff if it's inside the workarea!
12078
12079         * paragraph.C (breakParagraph): honor keepempty flag and break the
12080         paragraph always below not above.
12081
12082         * BufferView2.C (unlockInset): update the paragraph layout on inset
12083         unlock as we changed paragraph in such a case.
12084
12085         * lyxfind.C (LyXFind): clear the former selection if not found!
12086
12087         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12088         again called in insertChar().
12089
12090         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12091         an inset which uses the whole row!
12092         (rightMargin): ditto.
12093         (insertChar): force a rebreak if we inserted an inset!
12094
12095 2002-03-28  Herbert Voss  <voss@lyx.org>
12096
12097         * lyxlength.[Ch]: add inBP() to get the right PS-point
12098         units (BigPoint). With inPixels we have rounding errors
12099
12100 2002-04-11  Juergen Vigna  <jug@sad.it>
12101
12102         * text2.C (setCursorFromCoordinates): set iy to the right value.
12103         (setCursor): add check if row->previous exists!
12104
12105         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12106         an old float_type as this was the case in the old code!
12107
12108         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12109
12110         * BufferView2.C (showLockedInsetCursor): use iy
12111         (fitLockedInsetCursor): ditto
12112
12113         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12114         locked insets as there we have the right value now.
12115
12116         * lyxcursor.C: added iy_ variable and iy functions to set to the
12117         baseline of cursor-y of the locked inset.
12118
12119         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12120         (setCursor): fixed for insets which need a full row.
12121
12122         * text.C (rowLastPrintable): don't ignore the last space when before
12123         an inset which needs a full row.
12124         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12125         as last character of a row when before a inset which needs a full row.
12126
12127 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12128
12129         * version.C.in: update date
12130
12131         * text2.C (fullRebreak): try to always return true and see what
12132         happens...
12133
12134 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12135
12136         * MenuBackend.C (expand): use Floating::listName
12137
12138         * FloatList.C (FloatList): add listName argument to the built-in
12139         floats
12140
12141         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12142         text associated with the float.
12143
12144 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12145
12146         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12147
12148 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12149
12150         * ShareContainer.h: add a couple of missing typenames.
12151
12152 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12153
12154         * lyxrc.C (getDescription): use _() correctly rather than N_().
12155
12156 2002-03-28  Herbert Voss  <voss@lyx.org>
12157
12158         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12159         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12160
12161 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12162
12163         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12164         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12165
12166 2002-03-29  Juergen Vigna  <jug@sad.it>
12167
12168         * lyxfunc.C (dispatch): add a missing fitCursor call.
12169
12170         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12171         it was scrolled by a cursor move, so return the bool status.
12172
12173         * BufferView.C (fitCursor): return the bool flag also to the outside
12174         world as this is needed.
12175
12176         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12177
12178         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12179         call the edit() as it is not needed (and wrong) IMO.
12180         (workAreaButtonPress): set the screen_first variable before evt.
12181         unlock the inset as this may change screen_first and then we have
12182         a wrong y position for the click!
12183
12184 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12185
12186         * MenuBackend.C (expand): another translation that I missed
12187
12188 2002-03-28  Juergen Vigna  <jug@sad.it>
12189
12190         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12191
12192         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12193
12194 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12195
12196         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12197
12198         * MenuBackend.C (expand): fix export/view/update when there is no
12199         document open.
12200
12201 2002-03-27  Herbert Voss  <voss@lyx.org>
12202
12203         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12204         and text%
12205
12206 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12207
12208         * bufferview_funcs.C (currentState): only show paragraph number
12209         for is DEVEL_VERSION is set.
12210
12211         * lyxfunc.C (dispatch): put warning in INFO channel
12212
12213         * MenuBackend.C (expand): translate the name of floats
12214
12215         * FloatList.C (FloatList): mark the float names for translation
12216
12217         * converter.C (convert): use LibScriptSearch
12218
12219 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12220
12221         * MenuBackend.C (defaults): fix default menu (we might as well get
12222         rid of it...)
12223
12224 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12225
12226         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12227         directory.
12228
12229 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12230
12231         * lyxvc.C: reorder includes.
12232
12233 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12234
12235         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12236           properly
12237
12238 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12239
12240         * CutAndPaste.C: change layouts earlier on paste
12241           to avoid crashing when calling getFont()
12242
12243 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12244
12245         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12246         irritating #error.
12247
12248 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12249
12250         * WorkArea.C: remove 'Pending' debug message.
12251
12252         * most files: ws cleanup
12253
12254         * buffer.[Ch]: ws changes
12255
12256         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12257
12258 2002-03-21  Juergen Vigna  <jug@sad.it>
12259
12260         * tabular.C (SetMultiColumn): collapse also the contents of the
12261         cells and set the last border right. Added a Buffer const * param.
12262
12263 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12264
12265         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12266         linking or not.
12267
12268 2002-03-19  Juergen Vigna  <jug@sad.it>
12269
12270         * text2.C (clearSelection): reset also xsel_cache.
12271
12272         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12273         where it needs to be called (John tells us to do so too :)
12274         (selectionLost): reset sel_cache.
12275
12276         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12277
12278 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12279
12280         * text2.C (setCursorIntern): put debuging code in INSETS channel
12281
12282 2002-03-19  André Pönitz <poenitz@gmx.net>
12283
12284         * lyxfunc.C: tiny whitespace change
12285
12286 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12287
12288         * ToolbarDefaults.C (init):
12289         * LyXAction.C (init):
12290         * commandtags.h:
12291         * BufferView_pimpl.C (Dispatch):
12292         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12293
12294 2002-03-19  Allan Rae  <rae@lyx.org>
12295
12296         * exporter.C (Export): removeAutoInsets before doing anything else.
12297         While I've just introduced a dependency on BufferView this really is
12298         the best place to clean the buffer otherwise you need to cleanup in
12299         a dozen places before calling export or cleanup in a dozen functions
12300         that export calls.
12301
12302         * converter.C (runLaTeX):
12303         (scanLog): Better handling of removeAutoInsets and screen updates.
12304
12305         * lyxfunc.C (dispatch): small whitespace changes
12306
12307 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12308
12309         * WorkArea.C (C_WorkAreaEvent): return a value.
12310         (event_cb): return 1 if we handled the event, 0 otherwise.
12311
12312         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12313
12314 2002-03-18  Juergen Vigna  <jug@sad.it>
12315
12316         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12317         (GetAdditionalWidth): ditto.
12318         (RightLine): ditto.
12319         (LeftLine): ditto.
12320
12321         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12322         inset if we're there actually (probably not used right now but this
12323         is the direction to go for unifying code).
12324         (paste): disable code to clear the selection.
12325
12326         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12327         inside an InsetText and move the check further up as it is in the
12328         wrong place.
12329
12330         * text2.C (pasteSelection): set a selection over the pasted text.
12331
12332 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12333
12334         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12335         and libgraphics to build on Cygwin.
12336
12337 2002-03-15  Juergen Vigna  <jug@sad.it>
12338
12339         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12340         inserting an Inset into the paragraph. I know this is not the best
12341         fix but we already use current_view in CutAndPaste so we will remove
12342         all of it's using at the same time.
12343
12344         * buffer.C (sgmlError): deactivated function till it is rewritten in
12345         the right mode, now it can create problems.
12346
12347         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12348         before accessing it.
12349
12350 2002-03-14  Juergen Vigna  <jug@sad.it>
12351
12352         * undo_funcs.C (textHandleUndo): do the right thing when updating
12353         the inset after the undo/redo.
12354
12355         * text2.C (setCursor): just some testcode for #44 not ready yet.
12356
12357         * undo_funcs.C (textHandleUndo): set the next() and previous()
12358         pointers of the paragraph to 0 before deleting otherwise we have
12359         problems with the Paragraph::[destructor].
12360
12361         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12362         on a paragraph insertion.
12363
12364 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12365
12366         * buffer.C (asciiParagraph): use += operator for char append to
12367         string.
12368
12369         * paragraph.C (getFontSettings): compare >= not just >
12370         (highestFontInRange): ditto
12371         (setFont): ditto
12372
12373 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12374
12375         * paragraph.C: change several algorithm to be more appripriate for
12376         the problem domain. This is lookip in FontList and in the InsetList.
12377
12378 2002-03-13  André Pönitz <poenitz@gmx.net>
12379
12380         * commandtags.h:
12381         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12382
12383 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12384
12385         * commandtags.h:
12386         * LyXAction.C:
12387         * lyxfunc.C:
12388         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12389
12390 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12391
12392         * Painter.C (display): anon helper function, adjust code for this
12393         change.
12394         (pixmap): remove function.
12395
12396         * Painter.h: remove private display variable.
12397
12398         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12399
12400 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12401
12402         * WorkArea.[Ch]: remove figinset_canvas cruft.
12403
12404 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12405
12406         * lyxtextclass.C (operator): add one item cache optimization.
12407
12408         * bufferlist.h: doxy changes
12409
12410         * bufferlist.C: ws changes
12411
12412         * DepTable.[Ch] (ext_exist): place const in the right spot.
12413
12414         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12415         call resizeInsets.
12416         (workAreaExpose): call resizeInsets when the with BufferView changes.
12417         (Dispatch): adjust for protectedBlank removal
12418         (specialChar): call updateInset if the insert went ok.
12419
12420         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12421         specialChar instead.
12422
12423         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12424
12425         * BufferView.h: doxy change
12426
12427         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12428
12429         * lyxtextclass.C (operator[]): remove non-const version
12430         (defaultLayout): remove non-const version
12431
12432 2002-03-12  Juergen Vigna  <jug@sad.it>
12433
12434         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12435         did resize the LyXText too.
12436
12437         * buffer.C (readLyXformat2): set layout information on newly allocated
12438         paragraphs.
12439
12440         * tabular.C (OldFormatRead): set layout information on the paragraph.
12441
12442 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12443
12444         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12445
12446 2002-03-11  Juergen Vigna  <jug@sad.it>
12447
12448         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12449         plainly wrong.
12450         (resizeCurrentBuffer): force also the insets to resize themselfes.
12451         (moveCursorUpdate): fixed up for InsetText.
12452
12453 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12454
12455         * commandtags.h:
12456         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12457         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12458         value of Dialogs::tooltipsEnabled().
12459         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12460
12461 2002-03-08  Juergen Vigna  <jug@sad.it>
12462
12463         * BufferView_pimpl.C (updateInset): update inset inside inset also
12464         if it isn't inside theLockingInset().
12465
12466 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12467
12468         * buffer.C (asciiParagraph): redo some of the word and line length
12469         handling.
12470         (getLists): look for Caption instead of caption.
12471
12472 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12473
12474         * buffer.C (Buffer): initialize niceFile to true
12475         (makeLaTeXFile):
12476         (makeLinuxDocFile):
12477         (makeDocBookFile): make sure niceFile is true on exit
12478
12479 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12480
12481         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12482
12483 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12484
12485         * LyXSendto.C: remove.
12486         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12487         * lyx_gui.C: remove now-redundant comment.
12488         * ColorHandler.h: remove forward declaration of class WorkArea.
12489         * lyxfunc.C: remove #include "WorkArea.h".
12490
12491 2002-03-07  Juergen Vigna  <jug@sad.it>
12492
12493         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12494         got moved away with the DEPM and also set the inset_owner always
12495         right which before could have been omitted.
12496
12497 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12498
12499         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12500         wanted layout is not found.
12501
12502 2002-03-07  Juergen Vigna  <jug@sad.it>
12503
12504         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12505
12506 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12507
12508         * paragraph.C (breakParagraph): use default layout not layout of
12509         prev paragraph.
12510         (Paragraph): clear ParagraphParameters.
12511
12512 2002-03-06  Juergen Vigna  <jug@sad.it>
12513
12514         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12515         otherwise it would not be a valid lenght. Fixed a special case in
12516         the minipage compatibility read where we end the document with a
12517         minipage.
12518
12519         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12520         was set as it could be 0 for InsetTexts first entry.
12521
12522 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12523
12524         * paragraph.C (writeFile): if layout is empty write out
12525         defaultLayoutName().
12526
12527         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12528         file without named layout we set layout to defaultLayoutName().
12529
12530 2002-03-06  Juergen Vigna  <jug@sad.it>
12531
12532         * CutAndPaste.C (copySelection): set layout for new paragraph.
12533
12534         * text.C (prepareToPrint): leave ERT inset left aligned
12535         (leftMargin): don't indent paragraphs inside ERT insets
12536
12537 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12538
12539         * paragraph.C (breakParagraph): dont call clear do the work manually
12540
12541         * paragraph.[Ch] (clear): remove function
12542
12543 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12544
12545         * paragraph.C (Paragraph): dont call clear, the work has already
12546         been done.
12547
12548         * lyxtextclass.C (operator): assert if n is empty
12549
12550         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12551         work manually instead.
12552
12553 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12554
12555         * BufferView_pimpl.C: protect selectionLost against text == 0
12556
12557 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12558
12559         * text.C (breakParagraph): fix a setting layout to '0' problem.
12560
12561 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12562
12563         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12564         final location of file, for the included files, and graphics.
12565
12566 2002-03-05  Juergen Vigna  <jug@sad.it>
12567
12568         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12569
12570 2002-03-04  Juergen Vigna  <jug@sad.it>
12571
12572         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12573
12574         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12575         last column of multicolumn cells.
12576         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12577
12578 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12579
12580         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12581         file if it doesn't go to a temporary file.
12582
12583         * buffer.C (sgmlOpenTag):
12584         (sgmlCloseTag):  remove extra newline insertion.
12585
12586 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12587
12588         * text.C (getRowNearY): comment out debug msg
12589
12590 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12591
12592         * text2.C: first -> first_y
12593
12594         * text.C (getRowNearY): add some attemts at a possible
12595         optimization, not working.
12596
12597         * tabular.[Ch]: add BufferParams to several function so that newly
12598         created paragraph can be initialized to he default layotu for the
12599         buffers textclass.
12600
12601         * tabular-old.C (ReadOld): add buf->params to call of Init
12602
12603         * screen.C: rename text->first to text->first_y
12604
12605         * paragraph.C (breakParagraph): always set layout in the broken
12606         paragraph
12607
12608         * lyxtextclass.C (Read): remove lowercase
12609         (hasLayout): ditto
12610         (operator): ditto
12611         (delete_layout): ditto
12612
12613         * lyxtext.h: rename first -> first_y
12614
12615         * lyxlayout.C (Read): remove lowercase
12616         (name): ditto
12617         (setName): ditto
12618         (obsoleted_by): ditto
12619
12620         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12621
12622         * buffer.C (insertErtContents): add params are to InsetERT
12623         (parseSingleLyXformat2Token): add code to check if a paragraphs
12624         layout really exist.
12625         (parseSingleLyXformat2Token): add params to several inset
12626         constructors
12627         (asciiParagraph): remove lowercase, do the layout comparisons with
12628         no_case
12629
12630         * BufferView_pimpl.C (cursorNext): first -> first_y
12631         (resizeCurrentBuffer): first -> first_y
12632         (updateScrollbar): first -> first_y
12633         (scrollCB): first -> first_y
12634         (workAreaMotionNotify): first -> first_y
12635         (workAreaButtonPress): first -> first_y
12636         (checkInsetHit): first -> first_y
12637         (cursorPrevious): first -> first_y
12638         (cursorNext): first -> first_y
12639         (Dispatch): add buffer_->params to severl inset contructors
12640
12641 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12642
12643         * lyxlayout.C (Read): remove some debug info that I forgot.
12644
12645         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12646         clean up the code slightly.
12647         (makeLinuxDocFile): ditto
12648         (makeDocBookFile): ditto
12649
12650         * text2.C: layout as string
12651
12652         * text.C: layout as string
12653
12654         * paragraph_pimpl.C: layout as string
12655
12656         * paragraph.[Ch]: layout as string
12657
12658         * lyxtextclasslist.[Ch]: layout as string
12659
12660         * lyxtextclass.[Ch]: layout as string
12661
12662         * lyxtext.h: layout as string
12663
12664         * lyxlayout.[Ch]: layout as string
12665
12666         * lyx_cb.C: layout as string
12667
12668         * bufferview_funcs.C: layout as string
12669
12670         * bufferparams.C: layout as string
12671
12672         * buffer.C: layout as string
12673
12674         * LyXView.[Ch]: layout as string
12675
12676         * LaTeXFeatures.[Ch]: layout as string
12677
12678         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12679
12680         * BufferView_pimpl.C: change current_layout to string, remove
12681         lyx::layout_type.
12682         (Dispatch):
12683         (smartQuote):
12684         (insertInset):
12685         (workAreaButtonRelease): layout as string
12686
12687         * BufferView2.C (unlockInset): adjust
12688
12689         * vspace.C (asLatexCommand): use an explict temp variable.
12690
12691 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12692
12693         * Makefile.am: use FRONTEND_*
12694
12695 2002-03-01  Juergen Vigna  <jug@sad.it>
12696
12697         * tabular.C (SetWidthOfMulticolCell): changed to something better
12698         I hope but still work in progress.
12699         (recalculateMulticolumnsOfColumn): renamed function from
12700         recalculateMulticolCells as it is more appropriate now.
12701         (SetWidthOfCell): calculate multicols better.
12702
12703 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12704
12705         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12706
12707         * lyxfunc.C (processKeySym): print sequence also if it is
12708         `deleted' (complete)
12709
12710         * kbsequence.C (print): print sequence even if it is deleted
12711         (complete would be a better word, actually).
12712
12713         * lyxfunc.C (dispatch): print complete options after a prefix key
12714
12715         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12716
12717 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12718
12719         * text2.C (setCharFont): eliminate setCharFont code duplication.
12720
12721 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12722
12723         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12724         LFUN_TABULAR_FEATURE (bug #177)
12725
12726 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12727
12728         * Makefile.am: remove figure.h
12729
12730 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12731
12732         * Bufferview_pimpl.C:
12733         * CutAndPasteC:
12734         * LaTeX.C:
12735         * LyXSendto.C:
12736         * buffer.C:
12737         * bufferlist.C:
12738         * converter.C:
12739         * language.C:
12740         * lyxfunc.C:
12741         * lyxvc.C:
12742         * paragraph.C:
12743         * text.C:
12744         * text2.C: remove #include "lyx_gui_misc.h".
12745
12746         * LaTeX.C: added #include <cstdio>
12747
12748 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12749
12750         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12751         that the paragraph following this one can have.
12752
12753         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12754
12755         * vspace.C (asLatexCommand): fix bogus gcc warning
12756
12757         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12758
12759 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12760
12761         * text2.C (setLayout): get rid of redundant code
12762
12763 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12764
12765         * text2.C (incDepth): make sure depth cannot be increased beyond
12766         reasonable values.
12767
12768 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12769
12770         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12771         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12772
12773         * PainterBase.h (image):
12774         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12775         a LyXImage const *.
12776
12777 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12778
12779         * BufferView.C:
12780         * BufferView.h:
12781         * BufferView_pimpl.C:
12782         * BufferView_pimpl.h:
12783         * LaTeXFeatures.C:
12784         * LyXAction.C:
12785         * LyXView.C:
12786         * Makefile.am:
12787         * UpdateList.h:
12788         * UpdateList.C:
12789         * buffer.C:
12790         * figure.h:
12791         * figureForm.C:
12792         * figureForm.h:
12793         * figure_form.C:
12794         * figure_form.h:
12795         * lyx_cb.C:
12796         * lyx_gui.C:
12797         * lyx_gui_misc.C:
12798         * lyxfunc.C:
12799         * sp_base.h:
12800         * sp_ispell.h:
12801         * sp_pspell.h:
12802         * sp_spell.C: remove fig inset, and the crap house of
12803           cards that follows it
12804
12805 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12806
12807         * Makefile.am:
12808         * lyxserver.C:
12809         * os2_defines.h:
12810         * os2_errortable.h:
12811         * nt_defines.h: move .h into support/
12812
12813         * vms_defines.h: remove
12814
12815         * WorkArea.C: add space in debug output
12816
12817         * text2.C:
12818         * paragraph.C:
12819         * buffer.C: add WITH_WARNINGS
12820
12821         * vc-backend.h:
12822         * vc-backend.C:
12823         * bufferlist.C: s/retrive/retrieve/, add docs
12824
12825         * vspace.h:
12826         * vspace.C:
12827         * kbmap.h:
12828         * lyxlength.h:
12829         * lyxgluelength.h:
12830         * length_common.h:
12831         * chset.h:
12832         * chset.C: add docs
12833
12834         * lyxgui.C: add ID to X error handler
12835
12836         * lyxtestclass.c: fix typo
12837
12838 2002-02-26  Juergen Vigna  <jug@sad.it>
12839
12840         * tabular_funcs.C (write_attribute): changed so that some default
12841         attributes are not written at all.
12842         (getTokenValue): set default values before trying to read the
12843         value so we have the return value always set as default if we don't
12844         find the token we search for.
12845
12846         * tabular.C (Write): write bools as bools not as strings!
12847
12848 2002-02-22  Juergen Vigna  <jug@sad.it>
12849
12850         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12851         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12852
12853         * text.C (leftMargin): don't add an indent for paragraphs inside
12854         tabular cells (fix #208).
12855
12856 2002-02-21  José Matos  <jamatos@fep.up.pt>
12857
12858         * tabular.C (docBook): fixed support for long tables.
12859
12860 2002-02-20  Juergen Vigna  <jug@sad.it>
12861
12862         * text2.C (getFont): get the drawing font of the Inset if this
12863         paragraph is inside an inset (only important for InsetERT for now).
12864
12865         * buffer.C (insertErtContents): use new lanugage params in ERT
12866         constructor.
12867
12868         * CutAndPaste.C: commenting out seemingly uneeded code.
12869
12870 2002-02-19  Allan Rae  <rae@lyx.org>
12871
12872         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12873         Iterators might be simple to use but they also get invalidated.
12874         (removeAutoInsets): renamed saved cursor tracking variables and added
12875         some comments to clarify what everything does.
12876
12877 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12878
12879         * Chktex.C:
12880         * LaTeX.C:
12881         * LyXSendto.C:
12882         * converter.C:
12883         * lyx_cb.C:
12884         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12885         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12886
12887         * lyxfunc.C:
12888         * vc-backend.h: remove #include "support/syscall.h"
12889
12890         * LaTeX.C:
12891         * LyXSendto.C:
12892         * converter.C: rearrange #includes in Lars' approved fashion.
12893
12894         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12895         forward declare class Timeout in the header file.
12896
12897         * XFormsView.C: changes due to the above.
12898
12899         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12900         similar to LyXView.
12901
12902         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12903         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12904
12905 2002-02-18  José Matos  <jamatos@fep.up.pt>
12906
12907         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12908         insets contents.
12909
12910 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12911
12912         * a lot of small ws changes
12913         * add a lot of using std::XXX
12914         * use std construcs some places where approp.
12915         * use some exisint stuff from lyxfunctional where approp.
12916         * Make file changes to use partial linking (lets test this now...)
12917
12918 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12919
12920         * Chktex.C:
12921         * buffer.C:
12922         remove #include "support/syscontr.h" as it's redundant. Always has been.
12923
12924         * Chktex.C:
12925         * LaTeX.C:
12926         * LyXSendto.C:
12927         * converter.C:
12928         * lyx_cb.C:
12929         * vc-backend.C:
12930         change Systemcalls::System to Systemcalls::Wait and
12931         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12932         No change of functionality, just reflects the stripped down Systemcalls
12933         class.
12934
12935 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12936
12937         * debug.[Ch]: add a GRAPHICS type to the enum.
12938
12939 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12940
12941         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12942
12943         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12944         there is an inset.
12945
12946 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12947
12948         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12949         match the changes below.
12950
12951         * text2.C (toggleInset): if there is not editable inset at cursor
12952         position, try to see if cursor is _inside_ a collapsable inset
12953         and close it.
12954
12955 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12956
12957         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12958         document menu has a nice checkbox
12959
12960 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12961
12962         * lyxlength.C (asLatexString): change PW to output as percent of
12963         \textwidth.
12964
12965         * lengthcommon.C: change '%' to 't%'
12966
12967         * lyxfunc.C (dispatch): a few comments from Martin
12968
12969 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12970
12971         * WorkArea.h:
12972         * WorkArea.C:
12973         * BufferView_pimpl.h:
12974         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12975           the X selection.
12976
12977 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12978
12979         * vspace.C (inPixels): fix compiler warning
12980
12981 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12982
12983         * lyxfunc.C (getStatus): fix status message for disabled commands.
12984
12985 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12986
12987         * BufferView_pimpl.C: fix crash on close buffer
12988         during selection (#227)
12989
12990 2002-01-27  Herbert Voss  <voss@lyx.org>
12991
12992         * buffer.C: link old Figure to new graphic inset
12993
12994 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12995
12996         * FontLoader.C (getFontinfo): Change the latex font names in order
12997         to match the names of type1inst.
12998
12999 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13000
13001         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13002
13003         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13004         (extchanged): ditto
13005         (ext_exist): ditto
13006         (remove_files_with_extension): ditto
13007         (remove_file): ditto
13008         (write): ditto
13009
13010         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13011         document is smaller than the work area height. Do not initialize
13012         static variables to 0.
13013
13014 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13015
13016         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13017
13018         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13019         LFUN_LAYOUT_PARAGRAPHS.
13020
13021         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13022         tabular. It is possible to provide a possible cell, which will
13023         typically be the actcell from the corresponding insettabular
13024
13025         * lyxfunc.C (getStatus): small cleanup; disable
13026         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13027         true
13028
13029 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13030
13031         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13032
13033         * paragraph.C (startTeXParParams):
13034         (endTeXParParams): new methods. The LaTeX code to
13035         start/end paragraph formatting
13036         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13037         empty (fixes bug #200)
13038
13039         * vspace.C (inPixels): adapt to the change below
13040         (inPixels): [later] more cleanups (remove unused variables)
13041
13042         * lyxlength.C (inPixels): change to use a width and a height as
13043         parameter.
13044
13045 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13046
13047         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13048         Replaced with \paperwidth
13049
13050         * DepTable.C (insert): add std:: qualifier
13051
13052 2002-01-18  Allan Rae  <rae@lyx.org>
13053
13054         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13055         updated also?
13056
13057         * text.C (drawInset): Turned out I didn't know enough about how
13058         rebreaking worked.  This fixes most of the redraw problems.  I see
13059         an occasional cursor trail when a line is broken now and the cursor
13060         placement can seem out by a few pixels also after a rebreak.
13061
13062 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13063
13064         * buffer.C (parseSingleLyXformat2Token): update because minipage
13065         width is now a LyXLength
13066
13067         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13068
13069         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13070         math insets
13071
13072 2002-01-17  Juergen Vigna  <jug@sad.it>
13073
13074         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13075
13076         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13077         is set correctly and the inset is updated correctly.
13078
13079 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13080
13081         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13082         the beginning of the loop.
13083
13084 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13085
13086         * lyxrc.C: improve help for use_scalable_fonts
13087
13088 2002-01-17  Allan Rae  <rae@lyx.org>
13089
13090         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13091
13092 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13093
13094         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13095         make sure to set their inset_owner to the right value (bug #171)
13096
13097 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13098
13099         * DepTable.h
13100         * DepTable.C: Implement mtime checking to reduce time spent doing
13101         CRCs.
13102
13103 2002-01-16  Juergen Vigna  <jug@sad.it>
13104
13105         * tabular.C (GetAdditionalHeight): one of error fixed.
13106
13107         * lyxrc.C (output): small fix in writing use_pspell.
13108
13109 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13110
13111         * sp_base.h: #include LString.h
13112
13113 2002-01-16  Allan Rae  <rae@lyx.org>
13114
13115         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13116         Can someone check this please?
13117
13118         * text.C (drawInset): It was possible that p.row would be removed by
13119         breakAgainOneRow upsetting a few other settings.  There may be another
13120         small tweak possible by setting need_break_row = 0 when p.row has been
13121         removed but I don't know enough about the logic here.
13122
13123 2002-01-15  Allan Rae  <rae@lyx.org>
13124
13125         * text.C (insertChar): removed conditional truism.
13126
13127         * BufferView2.C (removeAutoInsets): More tweaks.
13128         cur_par_prev could be a stray pointer.  Check for trailing empty line
13129         in case last line was cur_par and only had an error inset on it.
13130
13131 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13132
13133         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13134         absolute
13135
13136         * vc-backend.C (most methods):
13137         * exporter.C (Export):
13138         * converter.C (convert):
13139         (runLaTeX):
13140         * LyXSendto.C (SendtoApplyCB):
13141         * lyxfunc.C (dispatch):
13142         (menuNew):
13143         (open):
13144         (doImport):
13145         * lyx_cb.C (AutoSave):
13146         (InsertAsciiFile):
13147         * BufferView_pimpl.C (MenuInsertLyXFile):
13148         * buffer.C (runChktex): use Buffer::filePath().
13149
13150         * buffer.h: rename filename to filename_; rename filepath to
13151         filepath_ and make it private
13152         (filePath): new method
13153
13154         * buffer.C (writeFile): use fileName()
13155         (getLatexName):
13156
13157         * lyx_main.C (init): fix starting  of LyX when the binary is a
13158         link from so,ewhere else.
13159
13160         * minibuffer.C: include <cctype> for isprint
13161
13162 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13163
13164         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13165         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13166         name clash with InsetCollapsable's width function.
13167
13168 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13169
13170         * lastfiles.C: include <iterator>
13171
13172 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13173
13174         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13175         std::count.
13176
13177         * buffer.C (makeLaTeXFile): ditto.
13178         Also make loop operation more transparent.
13179
13180 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13181
13182         * ToolbarDefaults.C: remove trailing comma closing namespace.
13183
13184         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13185
13186         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13187         as in WorkArea.
13188
13189         * trans.C (Load): comment out unused variable, allowed.
13190
13191 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13192
13193         * minibuffer.[Ch] (append_char): new method to recieve input from the
13194         drop-down completion browser. If a key was pressed, then recieve this
13195         char and append it to the existing string.
13196         (peek_event): modify the positioning data passed to the completion
13197         browser so that it can be placed above the minibuffer rather than below.
13198 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13199
13200         * LyXAction.C (init): alloe error-next for readonly documents.
13201
13202         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13203         count.
13204
13205 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13206
13207         * bufferlist.C (readFile): create the buffer _after_ checking that
13208         the file exists.
13209
13210         * lyxfunc.C (verboseDispatch): fix handling of arguments
13211
13212         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13213
13214         * lyxrc.C: use string::erase() instead of initializing to "".
13215
13216
13217 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13218
13219         * BufferView_pimpl.h:
13220         * BufferView_pimpl.C:
13221         * WorkArea.h:
13222         * WorkArea.C:
13223         * text2.C: tell X when we have made a selection for copying
13224
13225 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13226
13227         * BufferView_pimpl.C (MenuInsertLyXFile):
13228         * lyxfunc.C (menuNew):
13229         (open):
13230         (doImport): add shortcuts to directory buttons
13231
13232         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13233         open a float)
13234
13235         * lyxfunc.C (setStatusMessage):
13236         (getStatusMessage): new methods
13237         (getStatus):use setStatusMessage instead of setErrorMessage
13238         (dispatch): when function is disabled, set error message here
13239         [instead of in getStatus previously]
13240
13241         * BufferView_pimpl.C (workAreaButtonRelease): update
13242         toolbar/menubar here too.
13243
13244 2002-01-13  Allan Rae  <rae@lyx.org>
13245
13246         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13247         Now seems indestructible.  Remaining task is to audit all other
13248         code affected by deleteEmptyParagraphMechanism.  One small quirk
13249         left is that an empty document with an error in the preamble can
13250         be made to report an error but no error box appears.  I don't know
13251         where it goes.
13252         (removeAutoInsets): Improved comments.
13253
13254 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13255
13256         * Thesaurus.h:
13257         * Thesaurus.C: update for Aiksaurus 0.14
13258
13259 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13260
13261         * text2.C (firstParagraph): removed member function, all uses
13262         replaces with ownerParagraph
13263         (redoParagraphs): here
13264         (updateInset): here
13265         (toggleAppendix): here
13266         * BufferView2.C (insertErrors): here
13267         (setCursorFromRow): here
13268
13269 2002-01-13  Allan Rae  <rae@lyx.org>
13270
13271         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13272         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13273         There is still a way to segfault this although you may have to do this
13274         multiple times: Have an InsetERT with an unknown command in it.
13275         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13276         <down-arrow>, <Enter> again, View->DVI, BANG!
13277
13278         * text2.C (setCursor):
13279         (deleteEmptyParagraphMechanism):
13280         * lyxtext.h (setCursor):
13281         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13282         Making use of the return value may help fix other bugs.
13283
13284 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13285
13286         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13287
13288         * LyXView.C (updateMenubar): call MenuBar::update here
13289         (updateToolbar): but not here
13290         (showState): do not update toolbar/menubar
13291
13292         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13293         should need to care about that.
13294
13295         * lyxfunc.C (verboseDispatch): simplify a bit
13296         (getStatus): have a version which takes a pseudoaction, and
13297         another which requires a (kb_action,string).
13298
13299         * LyXAction.C (retrieveActionArg): make it work also when action
13300         is not a pseudo-action.
13301         (getActionName): simplify a bit
13302         (helpText):
13303
13304 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13305
13306         * lyxfunc.C (verboseDispatch): new families of methods with
13307         several ways to specify a command and a bool to indicate whether
13308         the command name and shortcut should be displayed in minibuffer
13309         (eventually, we could extend that to a finer bitmask like
13310         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13311         (dispatch): the pristine dispatch command which just, well,
13312         dispatchs! Note it still sets its result to minibuffer; I'm not
13313         sure we want that.
13314
13315         * lyxfunc.h: remove setHintMessage
13316
13317         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13318
13319 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13320
13321         * BufferView_pimpl.C (specialChar): delete new inset if we have
13322         not been able to insert it.
13323
13324         * kbmap.C: revert to using int instead of kb_action, since all we
13325         are dealing with is pseudo-actions.
13326
13327         * LyXAction.C (searchActionArg): change to return int instead of
13328         kb_action, since the result is a pseudoaction.
13329
13330 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13331
13332         * buffer.C (insertErtContents): Fix (partially) the font bug.
13333
13334 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13335
13336         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13337         as the other one is broken on my machine!
13338
13339 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13340
13341         * commandtags.h:
13342         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13343
13344 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13345
13346         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13347         reflect their actual use. Provide compatibility code for older lyxrc
13348         files.
13349
13350         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13351         FL_NORMAL_STYLE.
13352         change names of popup font variables in line with the changes to lyxrc.C
13353
13354 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13355
13356         * buffer.C (asciiParagraph): avoid outputing a word twice after
13357         an inset.
13358
13359         * lyxrc.C (getDescription): document that document_path and
13360         template_path can be empty.
13361
13362 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13363
13364         * LaTeXFeatures.C (getMacros):
13365         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13366
13367         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13368
13369         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13370         getPackages.
13371         (getPackages): rename feature "floats" to "float". Use an array to
13372         iterate over 'simple' features (i.e. just a \usepackage). Add
13373         handling of "amsmath" (renamed from "amsstyle").
13374
13375 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13376
13377         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13378         features list.
13379
13380 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13381
13382         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13383         FuncStaus::FuncStatus & FuncStaus::some_method().
13384
13385 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13386
13387         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13388         of the func_satus stuff. Edited and massaged in various ways by
13389         JMarc.
13390
13391         * lyxfunc.C (getStatus): use FuncStatus
13392
13393 2002-01-08  Juergen Vigna  <jug@sad.it>
13394
13395         * text.C (nextBreakPoint): use function Inset::isChar().
13396
13397         * paragraph.C (TeXOnePar): use function
13398         Inset::forceDefaultParagraphs.
13399
13400         * buffer.C (latexParagraphs): use function
13401         Inset::forceDefaultParagraphs.
13402
13403 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13404
13405         * lyx_gui.C (init): set the style of the menu popups to
13406         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13407
13408 2002-01-07  Juergen Vigna  <jug@sad.it>
13409
13410         * text.C (setHeightOfRow): small fix
13411         (prepareToPrint): don't look at alignment if we don't have the place
13412         for doing it.
13413
13414 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13415
13416         * box.C: New file. Move the Box methods and functions out of box.h,
13417         following Lars' suggestion.
13418
13419 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13420
13421         * box.h: #include "support/LOstream.h", needed for inlined function.
13422
13423         * lyxtextclass.C:
13424         * lyxtextclasslist.C: added some using std declarations.
13425
13426 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13427
13428         * box.h: make signed dimensions to allow insets wider than
13429           the screen (bug #162)
13430
13431         * BufferView_pimpl.C: add some insetHit debug
13432
13433 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13434
13435         * vc-backend.C: add FIXME
13436
13437 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13438
13439         * lyxfunc.C (getStatus): enable code for showing math font status
13440         in toolbar/menu.
13441
13442 2002-01-07  Juergen Vigna  <jug@sad.it>
13443
13444         * text.C (nextBreakPoint): removed debug output not needed anymore.
13445
13446 2002-01-06  Juergen Vigna  <jug@sad.it>
13447
13448         * text.C (nextBreakPoint): fixed up this function we had this bug
13449         since ever but now hopefully we break row better.
13450         (insertChar): we have to check if an inset is the next char as it
13451         could now happen that a large inset is causing a break.
13452
13453 2002-01-05  Juergen Vigna  <jug@sad.it>
13454
13455         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13456         if it doesn't like to be drawed.
13457
13458 2002-01-04  Juergen Vigna  <jug@sad.it>
13459
13460         * BufferView2.C (lockInset): forgot to set a cursor.
13461
13462         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13463
13464 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13465
13466         * FormMathsPanel.C:
13467         * FormMathsPanel.h
13468         * MathsSymbols.C:
13469         * form_maths_panel.C:
13470         * form_maths_panel.h:
13471         * form_maths_panel.fd: implemented sub- and super- buttons in math
13472         panel.
13473
13474         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13475         (or ^ space) to be used as in TeX (req'd by André).
13476
13477         * lyxfunc.C: Allow ^ and _ again to be used both as
13478         super/subscript (mathed) and as themselves (in text).
13479
13480 2002-01-03  Allan Rae  <rae@lyx.org>
13481
13482         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13483         "LyX" or the filename of the current buffer if it has one.  This is a
13484         modified form of John Levon's patch.
13485
13486         * XFormsView.C (setWindowTitle): also set icon title.
13487
13488         * LyXView.h (setWindowTitle): signature changed.
13489         * XFormsView.h (setWindowTitle): ditto.
13490
13491 2002-01-02  Juergen Vigna  <jug@sad.it>
13492
13493         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13494
13495 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13496
13497         * screen.C (topCursorVisible): introduce a temp var for
13498         text->cursor.row(), handle the case where this row is null. (kindo
13499         hachish)
13500
13501         * text2.C (setCursor): add a couple of asserts.
13502
13503         * paragraph.h (inset_iterator): add -> operator
13504
13505         * paragraph.[Ch] (autoDeleteInsets): remove member function
13506
13507         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13508         cursor pos correctly and handle inset deletion by itself.
13509         (insertErrors): move iterator declaration out of for expression
13510
13511         * lyxtextclass.C: add <algorithm>
13512
13513         * Makefile.am: added the new files to sources, removed layout.C
13514
13515         * layout.C: removed file
13516
13517         * layout.h: remove LYX_DUMMY_LAYOUT
13518
13519         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13520         layout.
13521
13522         * lyxlayout.[Ch]:
13523         * lyxtextclass.[Ch]:
13524         * lyxtextclasslist.[Ch]: new files
13525
13526         * include order changes to a lot of files, also changes because of
13527         the six new files.
13528
13529 2001-12-27  Juergen Vigna  <jug@sad.it>
13530
13531         * buffer.C (asciiParagraph): more fixes.
13532
13533         * tabular.C (ascii): make ascii export support export of only the
13534         data separated by a column-delimiter.
13535         (ascii): better support for ascii export.
13536
13537         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13538
13539 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13540
13541         * tabular_funcs.C: use a "using std::getline" instead of the
13542         previous fix from Angus (necessary for cxx + lyxstring)
13543
13544 2001-12-24  Juergen Vigna  <jug@sad.it>
13545
13546         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13547
13548         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13549         problems. First check a minipage also if we have some ert-contents
13550         (not only on par->size(), second set the right depth of the paragraph
13551         on the relink to the root-paragraph-list!
13552
13553         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13554         which then did not anymore update the main paragraphs on undo/redo!
13555
13556 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13557
13558         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13559         code. Support all font-changing funcs (even those which are not in
13560         menu currently). Support for reporting font settings in
13561         mathed (disabled until Andre provides a function on mathed's side).
13562
13563         * func_status.h (toggle): small helper function to set toggle
13564         state on a flag.
13565
13566 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13567
13568         * tabular_funcs.C: getline -> std::getline
13569
13570 2001-12-21  Juergen Vigna  <jug@sad.it>
13571
13572         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13573         accessed and could be 0 (I couldn't generate this but it seems
13574         Michael could!).
13575
13576 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13577
13578         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13579         * tabular_funcs.h: here and include iosfwd
13580
13581 2001-12-20  Juergen Vigna  <jug@sad.it>
13582
13583         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13584         inside inset but undo_par was.
13585
13586 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13587
13588         * Thesaurus.C: always include <config.h> in sources.
13589
13590         * Painter.h:
13591         * lyxlookup.h:
13592         * box.h: do not include <config.h> in header files
13593
13594         * text.C (paintLastRow): remove unused variable
13595
13596         * text.C (transformChar):
13597         (insertChar):
13598         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13599
13600         * Painter.C (text):
13601         * font.C (width): rewrite to use uppercase() instead of
13602         islower/toupper.
13603
13604         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13605
13606 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13607
13608         * lyxfind.C: clean up of find failure position change
13609
13610 2001-12-20  Juergen Vigna  <jug@sad.it>
13611
13612         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13613
13614         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13615         (TeXRow): added to LaTeX a single tabular row.
13616         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13617         (Latex): simplified and finally good LT-h/f support.
13618         (various_functions): just small adaptions for LT-h/f support.
13619
13620         * tabular_funcs.[hC]: added and moved here all not classfunctions
13621         of LyXTabular.
13622
13623 2001-12-19  Juergen Vigna  <jug@sad.it>
13624
13625         * tabular.[Ch]: better support for longtabular options (not finished
13626         yet!)
13627
13628 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13629
13630         * text.C (paintLastRow): use the label font instead of the font of
13631         the last character to compute the size of *_BOX. This makes more
13632         sense and avoids a crash with empty paragraphs.
13633         Use Painter::rectangle to draw EMPTY_BOX.
13634
13635 2001-12-19  Juergen Vigna  <jug@sad.it>
13636
13637         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13638         the paragraphs if the replaced paragraph is not the first one!
13639         Tried to delete not used paragraphs but does not work yet so for
13640         now it's inside #ifdef's and by default off!
13641
13642 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13643
13644         * MenuBackend.C: include "lyx_main.h" instead of declaring
13645         lastfiles (actually was declared as LastFiles* instead of a
13646         scoped_ptr).
13647
13648 2001-12-17  Juergen Vigna  <jug@sad.it>
13649
13650         * tabular.C (AppendColumn): applied John's fix
13651
13652 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13653
13654         * BufferView.h:
13655         * BufferView.C:
13656         * BufferView_pimpl.h:
13657         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13658
13659         * Makefile.am:
13660         * box.h: new start of class for above
13661
13662         * lyxfunc.C: ignore space-only minibuffer dispatches.
13663           Show the command name when it doesn't exist
13664
13665         * minibuffer.C: don't add empty lines to the history
13666
13667         * minibuffer.C: add a space on dropdown completion
13668
13669 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13670
13671         * text.C: fix line above/below drawing in insets
13672
13673 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13674
13675         * lyxlength.C (LyXLength): Initialize private variables.
13676
13677 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13678
13679         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13680         when inserting error insets.
13681
13682 2001-12-13  Juergen Vigna  <jug@sad.it>
13683
13684         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13685         actually sometimes the before-paragraph.
13686         (setUndo): don't clear the redostack if we're not actually undoing!
13687
13688 2001-12-06  Juergen Vigna  <jug@sad.it>
13689
13690         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13691         and fixed redoing of main paragraph, so we can use it now ;)
13692
13693         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13694
13695 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13696
13697         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13698         Juergen's request
13699
13700 2001-12-13  André Pönitz <poenitz@gmx.net>
13701
13702         * undostack.[Ch]:
13703         * undo_func.C: minor cleanup
13704
13705 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13706
13707         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13708         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13709         font in urw-fonts package which is marked as -urw-fontspecific and
13710         does not work (incidentally, changing the encoding in the
13711         fonts.dir of this package to -adobe-fontspecific fixes the
13712         problem).
13713
13714         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13715         is a crash when undoing first paragraph (Juergen, please take a
13716         look). THis does not mean the undo fix is wrong, just that it
13717         uncovers problems.
13718
13719         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13720         the (Paragraph*) version when needed instead of duplicating the
13721         code.
13722
13723         * text.C (workWidth): use Inset::parOwner to find out where the
13724         inset has been inserted. This is a huge performance gain for large
13725         documents with lots of insets. If Inset::parOwner is not set, fall
13726         back on the brute force method
13727
13728         * paragraph_pimpl.C (insertInset):
13729         * paragraph.C (Paragraph):
13730         (cutIntoMinibuffer): set parOwner of insets when
13731         inserting/removing them
13732
13733         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13734
13735 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13736
13737         * commandtags.h:
13738         * LyXAction.C:
13739         * lyx_main.C:
13740         * lyxfunc.C:
13741         * mathed/formulabase.C:
13742         * mathed/math_cursor.[Ch]:
13743         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13744
13745
13746 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13747
13748         * lyxlength.[Ch] (operator!=): new function
13749
13750 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13751
13752         * text.C (workWidth): use Inset::parOwner to find out where the
13753         inset has been inserted. This is a huge performance gain for large
13754         documents with lots of insets. If Inset::parOwner is not set, fall
13755         back on the brute force method
13756
13757         * paragraph_pimpl.C (insertInset):
13758         * paragraph.C (Paragraph):
13759         (cutIntoMinibuffer): set parOwner of insets when
13760         inserting/removing them
13761
13762         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13763
13764 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13765
13766         * tabular-old.C (getTokenValue):
13767         * tabular.C (getTokenValue):
13768         (write_attribute): new versions for LyXLength
13769         (everywhere): adjust the use of widths
13770
13771         * tabular.h: change the type of widths from string to LyXLength
13772
13773 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13774
13775         * paragraph.C: fixed missing line number count when exporting
13776         Environments to LaTeX file
13777
13778         * buffer.C: added informational message for checking line numbers.
13779
13780 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13781
13782         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13783         paragraph, do the 'double space' part, but not the 'empty
13784         paragraph' one.
13785
13786         * text.C (workWidth): small optimization
13787         (getLengthMarkerHeight): use minimal size for negative lengths.
13788
13789 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13790
13791         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13792
13793         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13794
13795 2001-12-11  André Pönitz <poenitz@gmx.net>
13796
13797         * FontLoader.C:
13798         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13799
13800 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13801
13802         * text2.C: keep selection on a setFont()
13803
13804 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13805
13806         * lyx_cb.C: another bv->text misuse, from insert label
13807
13808 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13809
13810         * kbsequence.h:
13811         * kbsequence.C: re-instate nmodifier mask
13812
13813 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13814
13815         * lyx_main.h: make lyxGUI private.
13816
13817 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13818
13819         * lyxfind.C: place the cursor correctly on failed search
13820
13821 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13822
13823         * text.C (getLengthMarkerHeight): for small heights, the arrows
13824         are not always on top/bottom of the text
13825         (drawLengthMarker): smaller arrows; take the left margin in
13826         account; draw also vfills.
13827         (paintFirstRow):
13828         (paintLastRow): remove special code for vfill and standard spaces,
13829         since everything is handled in drawLengthMarker now.
13830
13831 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13832
13833         * buffer.C (insertErtContents): try to handle font and language
13834         interaction a bit better.g
13835
13836         * ColorHandler.C (updateColor): change the hash to cover the whole
13837         LColor enum, ws cleanup
13838         (getGCLinepars): ditto
13839         (getGCLinepars): only lookup in the linecache once.
13840
13841 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13842
13843         * iterators.C (operator++): Make the iterator more robust
13844
13845         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13846         (John's patch)
13847         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13848
13849 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13850
13851         * lyxtext.h:
13852         * text.C: better added space drawing
13853
13854 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13855
13856         * LyXView.C:
13857         * BufferView2.C: fix layout combo update on inset unlock
13858
13859 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13860
13861         * Makefile.am: don't compile unused files
13862
13863 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13864
13865         * lyxfunc.C:
13866         * commandtags.h:
13867         * LyXAction.C: remove old LFUN_LAYOUTNO
13868
13869 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13870
13871         * paragraph_pimpl.h:
13872         * paragraph_pimpl.C: isTextAt() doesn't need font param
13873
13874 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13875
13876         * lyxlex.h:
13877         * lyxlex.C: little cleanup
13878
13879 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13880
13881         * BufferView_pimpl.C: fix insertAscii for insets
13882
13883 2001-12-05  Juergen Vigna  <jug@sad.it>
13884
13885         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13886         set the right font on the "multi" paragraph paste!
13887
13888 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13889
13890         * trans_decl.h:
13891         * trans_mgr.[Ch]:
13892         * trans.[Ch]:
13893         * lyxgluelength.C:
13894         * lyxlength.C: remove out-commented code.
13895
13896         * BufferView_pimpl:
13897         * CutAndPaste.C:
13898         * DepTable.C:
13899         * buffer.C:
13900         * chset.C:
13901         * lastfiles.C:
13902         * lyxlex.C:
13903         * lyxlex_pimpl.C:
13904         * lyxserver.C:
13905         * screen.C:
13906         * tabular-old.C:
13907         * tabular.C:
13908         * text.C:
13909         * trans_mgr.C:
13910         * vc-backend.C: change "while(" to "while ("
13911
13912         * lyxlength.[Ch]: add zero function to check if length is zero or
13913         not
13914         * lyxgluelength.C: use it
13915
13916 2001-12-05  Allan Rae  <rae@lyx.org>
13917
13918         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13919         Works for 2.95.3, from what I understand of Garst's reports this should
13920         work for other g++ versions.  We're screwed if the abs(int) definition
13921         changed between bugfix releases of gcc.
13922
13923 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13924
13925         * text.C: fix chapter label offset !
13926
13927 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13928
13929         * lyxtext.h:
13930         * text.C: fix hfill at end of line, clean up
13931
13932 2001-12-04  Juergen Vigna  <jug@sad.it>
13933
13934         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13935         that we force an update of the inset and it's owners if neccessary.
13936
13937 2001-12-03  Juergen Vigna  <jug@sad.it>
13938
13939         * text.C (rowLast): simplified code
13940
13941 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13942
13943         * lyxfunc.C: fix show options on timeout
13944
13945 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13946
13947         * screen.C (topCursorVisible): scroll half a page when the cursor
13948         reached top of bottom of screen
13949
13950 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13951
13952         * minibuffer.C: deactivate on loss of focus
13953
13954 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13955
13956         * vspace.[Ch] (operator!=): add operator.
13957
13958 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13959
13960         * BufferView_pimpl.C: refuse to open an inset when
13961         there's a selection.
13962
13963 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13964
13965         * BufferView_pimpl.C: allow to click on RHS of full row insets
13966
13967 2001-11-30  Juergen Vigna  <jug@sad.it>
13968
13969         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13970         insets for undo reasons.
13971
13972 2001-11-28  André Pönitz <poenitz@gmx.net>
13973
13974         * vspace.[Ch]: cosmetical changes
13975
13976 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13977
13978         * LyXAction.h:
13979         * LyXAction.C:
13980         * lyxfunc.h:
13981         * lyxfunc.C:
13982         * kbmap.h:
13983         * kbmap.C:
13984         * lyxrc.C:
13985         * kbsequence.h:
13986         * kbsequence.C: part re-write of old kb code
13987
13988         * Painter.C:
13989         * WorkArea.C: remove Lgb_bug_find_hack
13990
13991 2001-11-30  José Matos <jamatos@fep.up.pt>
13992
13993         * buffer.C (makeDocBookFile): add a comment to point a hack.
13994         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13995         Fixed a double write of labels.
13996
13997 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13998
13999         * LaTeX.C:
14000         * LaTeX.h Fixed bug in LaTeX class where it would not
14001         re-run latex if no depfiles were changed, but the .dvi was removed.
14002
14003 2001-11-28  André Pönitz <poenitz@gmx.net>
14004
14005         * all the files from the change on 2001/11/26:
14006         use lyx::layout_type instead of LyXTextClass::size_type
14007         use lyx::textclass_type instead of LyXTextClassList::size_type
14008
14009 2001-11-29  Juergen Vigna  <jug@sad.it>
14010
14011         * text.C: added support for paragraph::isFreeSpacing()
14012
14013         * buffer.C: same as above
14014
14015         * paragraph.h: inserted isFreeSpacing() function to enable
14016         FreeSpacing inside InsetERT.
14017
14018         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14019         of the paragraph's in the cut/copy buffer to 0!
14020
14021         * text2.C (removeRow): remove the assert as it can!
14022
14023         * lyxtext.h: added helper function firstRow returning firstrow and
14024         made firstrow private again.
14025
14026         * BufferView2.C (lockInset): don't relock if we're already locked!
14027
14028         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14029         the only paragraph.
14030         (removeRow): added Assert::(firstrow)
14031
14032         * debug.C: forgot to add INSETTEXT here.
14033
14034 2001-11-28  Juergen Vigna  <jug@sad.it>
14035
14036         * sp_spell.C (initialize): changed error text to more general
14037         spellchecker command use (not only ispell!)
14038
14039         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14040
14041         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14042
14043 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14044
14045         * vspace.C: initialise lyxgluelength on failure
14046
14047 2001-11-28  Allan Rae  <rae@lyx.org>
14048
14049         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14050         declaration & definition that looks like a function declaration.
14051
14052 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14053
14054         * BufferView2.C (copy):
14055         (copyEnvironment): do not clear the selection when doing a copy.
14056
14057         * text.C (paintFirstRow): compilation fix
14058
14059 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14060
14061         * tabular.C (Latex): correct line count when writing latex.
14062
14063 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14064
14065         * paragraph_pimpl.h:
14066         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14067           bug a bit
14068
14069 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14070
14071         * text.C:
14072         * LColor.h:
14073         * LColor.C: change vfillline->added_space
14074
14075         * text.C: add markers and text for added space
14076
14077         * vspace.C: fix comment
14078
14079 2001-11-28  André Pönitz <poenitz@gmx.net>
14080
14081         * paragraph.C: whitespace changes
14082         * all the other files from the change on 2001/11/26:
14083         change *::pos_type into lyx::pos_type
14084
14085 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14086
14087         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14088         language of the document when inserting error insets.
14089
14090 2001-11-26  André Pönitz <poenitz@gmx.net>
14091
14092         * BufferView_pimpl.[Ch]:
14093         *       CutAndPaste.C:
14094         * buffer.[Ch]:
14095         * lyxcursor.[Ch]:
14096         * lyxfind.C:
14097         * lyxfunc.C:
14098         * lyxrow.[Ch]:
14099         * paragraph.[Ch]:
14100         * paragraph_pimpl.[Ch]:
14101         * sp_spell.C:
14102         * text.C:
14103         * text2.C: reduce header dependencies, introduce type for positions
14104
14105 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14106
14107         * <various>: change to use Alert.h
14108
14109 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14110
14111         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14112         when encountering an unknown token.
14113         (readLyXformat2): Show an error message if there were unknown tokens.
14114
14115 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14116
14117         * BufferView2.C:
14118         * BufferView_pimpl.C:
14119         * buffer.C:
14120         * paragraph.h:
14121         * text.C:
14122         * text2.C: use par->isInset()
14123
14124 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14125
14126         * paragraph_pimpl.h:
14127         * paragraph_pimpl.C: cleanup
14128
14129 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14130
14131         * text2.C (removeRow):
14132         * text.C (setHeightOfRow): remove useless (and costly) call to
14133         getRow.
14134
14135 2001-11-20  Allan Rae  <rae@lyx.org>
14136
14137         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14138         Now need Inset*::checkInsertChar() to return true for appropriate
14139         cases so that the characters in the minibuffer will actually be
14140         inserted.
14141
14142 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14143
14144         * text.C: change the order of the includes.
14145         (workWidth): initialize it at once.
14146         (workWidth): make maxw unsigned
14147         (setHeightOfRow): remove unused variable (inset)
14148         (selectSelectedWord): remove unused variable (inset)
14149         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14150
14151 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14152
14153         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14154         server is not running.
14155         (openConnection):
14156         (closeConnection): add debug info when server is disabled.
14157
14158         * ColorHandler.C (getGCForeground): send debug message to GUI
14159         channel.
14160
14161         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14162
14163         * kbmap.C (bind): modify because return conventions of
14164         kb_sequence::parse have changed.
14165
14166         * kbsequence.C (parse): only ignore spaces and not any stupid
14167         control character. This avoids tests like s[i] <= ' ', which are
14168         guaranteed to fail with 8bit characters and signed chars.
14169         Change return code to string::npos when there have been no error
14170         (0 was a bad idea when error is at first character)
14171
14172 2001-11-14  José Matos  <jamatos@fep.up.pt>
14173
14174         * buffer.h:
14175         * buffer.C (simpleDocBookOnePar): removed unused argument.
14176
14177 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14178
14179         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14180         insets which are part of a word. Paragraph::isLetter takes care of
14181         that now. Use Paragraph::isInset to identify insets.
14182         (selectSelectedWord): do not test for hyphenation break.
14183
14184         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14185         that protected spaces are considered as spaces.
14186
14187         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14188         Inset::isLetter.
14189
14190 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14191
14192         * lyxserver.h:
14193         * lyxserver.C: fix it. and small cleanup.
14194
14195 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14196
14197         * BufferView_pimpl.C: use inline helpers
14198
14199         * LaTeXFeatures.h:
14200         * LaTeXFeatures.C: fix typos
14201
14202         * Spacing.h:
14203         * Spacing.C: move spacing_string into class
14204
14205         * ToolbarDefaults.C: move stuff into namespace anon
14206
14207         * layout.h: update enum
14208
14209         * lyxfunc.C: use better debug
14210
14211         * minibuffer.h: fix typo
14212
14213         * debug.h:
14214         * debug.C:
14215         * WorkArea.C: add and use Debug::WORKAREA
14216
14217         * lyxtext.h:
14218         * text.C:
14219         * text2.C: code re-organisation, inline helpers
14220
14221 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14222
14223         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14224         std::vector.empty().
14225
14226 2001-11-09  Allan Rae  <rae@lyx.org>
14227
14228         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14229         '\n's after tables.  Tabular and ERT inset work now makes this no
14230         longer necessary.
14231
14232 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14233
14234         * minibuffer.h:
14235         * minibuffer.C: fix crash, improve drop-down completion
14236
14237 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14238
14239         * lyxserver.h:
14240         * lyxserver.C: invalidate fd's when doing endPipe()
14241
14242 2001-11-08  José Matos  <jamatos@fep.up.pt>
14243
14244         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14245         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14246
14247         * paragraph.h:
14248         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14249
14250 2001-11-07  José Matos  <jamatos@fep.up.pt>
14251
14252         * buffer.h:
14253         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14254         const qualifier.
14255
14256         * buffer.C (sgmlOpenTag):
14257         * buffer.C (sgmlCloseTag): removed debug info.
14258
14259         * buffer.h (sgmlOpenTag):
14260         * buffer.h (sgmlCloseTag): made public.
14261
14262 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14263
14264         * buffer.C (saveParamsAsDefaults):
14265         * lyx_cb.C (MenuLayoutSave): remove
14266
14267         * LyXAction.C (init):
14268         * commandtags.h:
14269         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14270
14271 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14272
14273         * buffer.C (setPaperStuff): removed from here...
14274
14275         * bufferparams.C (setPaperStuff): ... and moved there.
14276
14277 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14278
14279         * minibuffer.h:
14280         * minibuffer.C:
14281         * XFormsView.C: add support for drop-down completion
14282
14283 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14284
14285         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14286         commands.
14287
14288 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14289
14290         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14291         disabled.
14292
14293 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14294
14295         * lyx_main.C: change ref to known bugs
14296
14297 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14298
14299         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14300         to work around older babel problems.
14301
14302 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14303
14304         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14305
14306 2001-10-24  Juergen Vigna  <jug@sad.it>
14307
14308         * tabular-old.C (ReadOld): below variable changes reflected.
14309
14310         * tabular.[Ch]: added ltType struct for longtable header/footer
14311         defines and changed all instances where they are used. Added
14312         future support for double top/bottom rows.
14313
14314 2001-10-24  José Matos  <jamatos@fep.up.pt>
14315
14316         * buffer.h (docbookHandleCaption):
14317         * buffer.C (docbookHandleCaption): removed unused function.
14318         (makeDocBookFile): moved docbook supported version to v4.1.
14319
14320 2001-10-24  José Matos  <jamatos@fep.up.pt>
14321
14322         * tabular.h:
14323         * tabular.C (docbookRow): new function to export docbook code of a row.
14324         (DocBook): now honors the longtable flags.
14325
14326 2001-10-23  José Matos  <jamatos@fep.up.pt>
14327
14328         * LaTeXFeatures.h:
14329         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14330         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14331
14332         * buffer.C (makeLinuxDocFile):
14333         (makeDocBookFile): reworked the preamble, more clean, and with
14334         support for lyx defined entities. Changed the document declaration
14335         to be more XML friendly.
14336
14337         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14338         if we need to output XML that should be done with a filter.
14339
14340 2001-10-22  Juergen Vigna  <jug@sad.it>
14341
14342         * sp_pspell.h (class PSpell): add alive function needed in the
14343         controller to see if the spellchecker could be started.
14344
14345 2001-10-22  Juergen Vigna  <jug@sad.it>
14346
14347         * buffer.C (insertStringAsLines): modify the font for inserting
14348         chars in certain conditions by calling checkInsertChar(font).
14349
14350 2001-10-19  Juergen Vigna  <jug@sad.it>
14351
14352         * text.C (workWidth): use getRow instead of wrong algorithm.
14353         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14354
14355 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14356
14357         * lyxserver.h:
14358         * lyxserver.C:
14359         * lyx_main.h:
14360         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14361
14362 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14363
14364         * text.C (workWidth): do not search for the exact row when
14365         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14366         optimization for big documents.
14367
14368 2001-10-18  Juergen Vigna  <jug@sad.it>
14369
14370         * text.C (workWidth): new function with added Inset * parameter.
14371
14372 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14373
14374         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14375
14376         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14377         change return type of getColumnNearX.
14378
14379
14380         * text.C (changeRegionCase): use uppercase/lowercase instead of
14381         toupper/tolower.
14382         (leftMargin):
14383         (rightMargin): simplify code by factoring out the uses of
14384         textclasslist.
14385         (labelFill):
14386         (numberOfHfills):
14387         (setHeightOfRow):
14388         (appendParagraph): use Paragraph::size_type
14389
14390 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14391
14392         * vspace.C (asLatexString): add a missing break
14393
14394 2001-10-15  Herbert Voss  <voss@perce.de>
14395
14396         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14397
14398 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14399
14400         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14401         is not available.
14402
14403 2001-10-10  André Pönitz <poenitz@gmx.net>
14404
14405         * lyxfunc.C: removed greek_kb_flag.
14406
14407 2001-10-10  Herbert Voss  <voss@perce.de>
14408
14409         * lyx_main.C: delete global string help_lyxdir.
14410
14411 2001-10-09  Herbert Voss  <voss@perce.de>
14412
14413         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14414
14415         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14416
14417         * lyx_main.C: added global string help_lyxdir.
14418
14419         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14420
14421 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14422
14423         * lyxrc.C (set_font_norm_type): support iso8859-4
14424
14425 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14426
14427         * LaTeX.C (deplog): add another regex for MikTeX
14428
14429 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14430
14431         * lyxrc.C (set_font_norm_type): support iso8859-3
14432
14433 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14434
14435         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14436
14437         * LaTeXFeatures.C: remove special case of french and index
14438
14439         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14440         before \begin{document}). This solves several incompatibilities.
14441
14442 2001-10-03  Garst Reese  <reese@isn.net>
14443
14444         * lyx_cb.C: change CheckTex error msg.
14445
14446 2001-10-03  José Matos  <jamatos@fep.up.pt>
14447
14448         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14449
14450 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14451
14452         * .cvsignore: update
14453
14454         * lyx_main.C (commandLineVersionInfo): use new style version info.
14455
14456         * buffer.C (writeFile):
14457         (makeLaTeXFile):
14458         (makeLinuxDocFile):
14459         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14460
14461         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14462
14463         * version.h: update to use stuff in version.C
14464
14465         * version.C.in: new file. Contains version information determined
14466         at compile time. This is a merging of version.h and
14467         version_info.h.in.
14468
14469 2001-10-03  Juergen Vigna  <jug@sad.it>
14470
14471         * BufferView_pimpl.C (update): don't change "dirty" status in
14472         updateInset call.
14473
14474 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14475
14476         * WorkArea.C (c-tor): re-position version string slightly.
14477
14478 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14479
14480         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14481         revert to previous code.
14482
14483         WorkArea.[Ch]: (show, destroySplash): methods removed.
14484
14485         WorkArea.C: rework code so that it's an amalgam of the codes before and
14486         after the splash screen was moved to WorkArea.
14487
14488 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14489
14490         * lyxrc.C (read):
14491         * vspace.C (inPixels):
14492         (lyx_advance):
14493         * kbmap.C (bind):
14494         * buffer.C (insertStringAsLines):
14495         (asciiParagraph): fix types to be large enough
14496
14497         * lyxlex_pimpl.h: change member status from short to int
14498
14499         * layout.h: fix type of endlabeltype
14500
14501         * kbmap.C (bind):
14502         * kbsequence.C (parse): change return type to string::size_type
14503
14504         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14505         variable
14506
14507         * Bullet.C (bulletSize):
14508         (bulletEntry): do not use short ints as parameters
14509
14510         * BufferView2.C (insertLyXFile): change a char to an int.
14511
14512         * WorkArea.C (WorkArea): remove unneeded floats in computation
14513
14514 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14515
14516         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14517
14518         * paragraph.C (asString): Do not ignore newline/hfill chars when
14519         copying to the clipboard.
14520
14521 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14522
14523         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14524         after a multi-line inset.
14525
14526 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14527
14528         * paragraph.C (validate): Set NeedLyXFootnoteCode
14529
14530 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14531
14532         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14533         and decrease-error to decrease.
14534
14535 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14536
14537         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14538         it more readable (should be equivalent)
14539
14540 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14541
14542         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14543
14544 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14545
14546         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14547         of a cursor (row, etc.) after a character has been deleted
14548         (deleteEmptyParagraphMechanism): call the method above on _all_
14549         cursors held by the LyXText when a double space has been
14550         detected/deleted.
14551
14552 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14553
14554         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14555         pixmap.
14556         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14557
14558         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14559         background. Use greyOut() and the new show() methods to toggle between
14560         the foreground and background. Add code to remove the splash after
14561         its initial showing.
14562
14563         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14564         (create_forms): no longer call Dialogs::showSplash.
14565
14566 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14567
14568         * .cvsignore: add version_info.h
14569
14570 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14571
14572         * version_info.h.in: new file
14573
14574         * Makefile.am: add version_info.h.in
14575
14576         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14577         version_info.h instead of VERSION_INFO
14578
14579 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14580
14581         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14582         The ERT inset now returns string().
14583
14584 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14585
14586         * lyxtext.h, text.C (selectNextWord): renamed as
14587         selectNextWordToSpellcheck.
14588
14589         * text.C (selectNextWordToSpellcheck): Modified to not select
14590         words inside an ERT inset.
14591
14592 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14593
14594         * lyx_cb.C (MenuLayoutSave): change a bit the question
14595
14596         * sp_base.h: include <sys/types.h>
14597
14598 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14599
14600         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14601
14602 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14603
14604         * several files: fix typos in user-visible strings
14605
14606 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14607
14608         * text2.C (pasteSelection): do not set the selection, since it
14609         will be cleared later. Actually, the intent was to fix the way the
14610         selection was set, but I figured rmoving the code was just as good.
14611
14612 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14613
14614         * FontLoader.C (available): Check if font is available without
14615         loading the font.
14616
14617 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14618
14619         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14620
14621 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14622
14623         * lyxrc.[Ch]: added display_graphics variable and associated code.
14624
14625 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14626
14627         * bufferparams.C (hasClassDefaults): new method. Returns true if
14628         the buffer parameters correspond to known class defaults
14629
14630 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14631
14632         * XFormsView.C (show): set minimum size to the main window.
14633
14634 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14635
14636         * text2.C (copySelection):
14637         (cutSelection):
14638         * lyxfind.C (LyXReplace):
14639         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14640         LyXText::selectionAsString.
14641
14642         * paragraph.C (asString): add "label" argument to the second form
14643
14644         * text2.C (selectionAsString): add "label" argument and pass it to
14645         Paragraph::asString.
14646
14647 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14648
14649         * lyx_main.C (commandLineHelp): remove version information
14650
14651 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14652
14653         * lyx_main.C: add -version commandline option
14654
14655 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14656
14657         * paragraph.h: make the optional constructor arg required instead.
14658         some modifications to other files because of this.
14659
14660         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14661
14662         * lyxserver.C (C_LyXComm_callback): make it static
14663
14664         * lyx_main.C (error_handler): make it static
14665
14666         * lyx_gui.C (LyX_XErrHandler): make it static
14667
14668         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14669
14670         * WorkArea.C: make the extern "C" methods static.
14671
14672         * Makefile.am (lyx_LDADD): simplify
14673
14674 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14675
14676         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14677         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14678
14679         * LyXAction.C (init):
14680         * lyxfunc.C (dispatch): associated code removal.
14681
14682 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14683
14684         * lyxfont.h (isSymbolFont): shut off warning
14685
14686         * text.C (setHeightOfRow):
14687         (getVisibleRow): fix crash with empty paragraphs which have a
14688         bottom line
14689
14690 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14691
14692         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14693         code.
14694
14695 2001-09-04  José Matos  <jamatos@fep.up.pt>
14696         * buffer.C
14697         * buffer.h
14698         * tabular.C (docbook): rename docBook method to docbook.
14699
14700 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14701
14702         * Makefile.am: add dependencies to main.o.
14703
14704 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14705
14706         * FontLoader.C (available): Return false if !lyxrc.use_gui
14707
14708 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14709
14710         * FontInfo.C (query):
14711         * converter.C (view):
14712         * importer.C (Import):
14713         * exporter.C (Export): Can not -> cannot.
14714
14715 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14716
14717         * BufferView_pimpl.C: allow to create index inset even if
14718           string is empty
14719
14720 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14721
14722         * buffer.C (getLists): replace boost::tie code with an explicit pair
14723         as boost::tie can break some compilers.
14724
14725         * iterators.h: Added a std:: declaration to the return type of
14726         ParIterator::size.
14727
14728 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14729
14730         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14731           case.
14732
14733 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14734
14735         * iterators.[Ch]: New files. Provide paragraph iterators.
14736
14737         * buffer.C (changeLanguage): Use paragraph iterators.
14738         (isMultiLingual): ditto
14739
14740         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14741
14742 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14743
14744         * FontLoader.C: Support for cmr font.
14745
14746 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14747
14748         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14749         (available): New method.
14750
14751         * FontInfo.C (getFontname): Use scalable fonts even when
14752         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14753         found.
14754
14755 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14756
14757         * converter.C (Formats::view): reverted! Incorrect fix.
14758
14759 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14760
14761         * converter.C (Formats::view): only output the -paper option
14762         if the dvi viewer is xdvi, thereby fixing bug #233429.
14763
14764 2001-08-23  Herbert Voss  <voss@perce>
14765
14766         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14767
14768 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14769
14770         * Spacing.h (Spacing): Set space to Default on in the default
14771         constructor.
14772
14773 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14774
14775         * vc-backend.h (RCS::versionString): add RCS to version
14776         (CVS::versionString): add CVS to version
14777
14778         * vc-backend.C (scanMaster): do not add CVS to version.
14779         (scanMaster): do not add RCS to version
14780
14781         * lyxvc.C (versionString): new method
14782
14783         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14784
14785 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14786
14787         * Spacing.C (set): initialize fval
14788
14789 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14790
14791         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14792         " or \.
14793
14794 2001-08-16  Juergen Vigna  <jug@sad.it>
14795
14796         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14797
14798 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14799
14800         * BufferView_pimpl.C:
14801         * figureForm.C:
14802         * lyxtext.h:
14803         * text2.C: setParagraph takes linespacing now
14804
14805 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14806
14807         * LyxAction.C: add internal LFUN_CITATION_INSERT
14808
14809         * LyXView.C: actually apply fix
14810
14811         * bufferlist.C: fix open non-existent file
14812
14813         * lyxfind.C: fix indentation
14814
14815         * lyxfunc.C: remove unneeded assert, fix typo
14816
14817 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14818
14819         * MenuBackend.C: use "Floatname List"
14820
14821 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14822
14823         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14824         when converting LaTeX layout to insetERT.
14825         Generate a non-collapsed float when reading old float
14826
14827 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14828
14829         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14830         ERT insets.
14831
14832 2001-08-13  Juergen Vigna  <jug@sad.it>
14833
14834         * text.C (fill): return 0 instead of 20 as this seems to be the more
14835         correct value.
14836
14837 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14838
14839         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14840         lyxrc.font_norm.
14841
14842 2001-08-13  Juergen Vigna  <jug@sad.it>
14843
14844         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14845         casesensitive off.
14846         (SearchBackward): comment out the unlocking of the inset_owner this
14847         should not be needed!
14848
14849 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14850
14851         * Many files: Remove inherit_language, and add latex_language
14852
14853         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14854         collapsible insets.
14855
14856 2001-08-10  Juergen Vigna  <jug@sad.it>
14857
14858         * text.C (prepareToPrint): fixed hfill-width in draw!
14859
14860         * BufferView2.C (selectLastWord): save the selection cursor as this
14861         now is cleared in the function LyXText::clearSelection!
14862
14863 2001-08-08  Juergen Vigna  <jug@sad.it>
14864
14865         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14866         BACKSPACE type functions.
14867
14868         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14869         is only cutted from the document but not put in the cut-buffer, where
14870         still the old stuff should be.
14871
14872         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14873
14874         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14875
14876         * tabular.C (SetWidthOfCell): fixed special case where the width
14877         was not updated!
14878         (LeftLine): handle '|' in align_special.
14879         (RightLine): ditto
14880         (LeftAlreadyDrawed): ditto
14881         (SetWidthOfCell): ditto
14882
14883 2001-08-07  Juergen Vigna  <jug@sad.it>
14884
14885         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14886
14887 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14888
14889         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14890         * lyxlex.[hC]: ditto
14891
14892 2001-08-06  Juergen Vigna  <jug@sad.it>
14893
14894         * text.C (getVisibleRow): fix up row clearing a bit.
14895
14896 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14897
14898         * minibuffer.C: make sure the X server sees the changes in the input.
14899
14900 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14901
14902         * paragraph.C (getFont): split into...
14903         (getLabelFont): this
14904         (getLayoutFont): and this
14905         * paragraph_pimpl.C (realizeFont): calling this
14906
14907         * text2.C (getFont): split into...
14908         (getLayoutFont): this
14909         (getLabelFont): and this
14910         (realizeFont): all three calling this
14911
14912         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14913         files where used.
14914
14915 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14916
14917         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14918
14919 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14920
14921         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14922         layouts from the Quote inset insertion.
14923
14924 2001-08-03  Juergen Vigna  <jug@sad.it>
14925
14926         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14927
14928         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14929         only if status not is already CHANGED_IN_DRAW (second level).
14930
14931         * text.C (draw): don't set the need_break_row when inside an
14932         InsetText LyXText.
14933
14934 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14935
14936         * buffer.C (parseSingleLyXformat2Token): handle more latex
14937         conversion cases.
14938
14939         * bufferview_funcs.[hC]: change function names to
14940         begin with small char, adjust other files.
14941
14942 2001-08-02  André Pönitz <poenitz@gmx.net>
14943
14944         * lyxfunc.C:
14945         BufferView_pimpl.C: remove broken special code for math-greek
14946
14947 2001-08-02  Juergen Vigna  <jug@sad.it>
14948
14949         * BufferView_pimpl.C (update): redone this function so that we
14950         update the text again if there was a CHANGE_IN_DRAW.
14951
14952         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14953         (drawFromTo): added a new internal bool which is used by draw() and
14954         redraw() function.
14955         (general): some cursor drawing problems fixed.
14956
14957 2001-08-01  Juergen Vigna  <jug@sad.it>
14958
14959         * lyxfind.C (LyXFind): fixed
14960         (SearchForward): ditto
14961         (SearchBackward): ditto
14962
14963         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14964         spurius drawing of the cursor in the main area.
14965
14966         * text2.C (status): small fix which could lead to a segfault!
14967         (clearSelection): remove unneeded BufferView param.
14968
14969 2001-08-01  André Pönitz <poenitz@gmx.net>
14970
14971         * lyxfunc.C: small change due to changed mathed interface
14972
14973 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14974
14975         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14976
14977 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14978
14979         * lyxfunc.c: fail gracefully if file doesn't exist
14980
14981         * LyXSendto.C:
14982         * buffer.C:
14983         * lyxfunc.C:
14984         * BufferView_pimpl.C: IsDirWriteable() proto changed
14985
14986         * LyXView.C: fix updateWindowTitle() to store the last title
14987
14988 2001-07-31  Juergen Vigna  <jug@sad.it>
14989
14990         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14991         the font (wrong since using of Paragraph::highestFontInRange).
14992
14993         * paragraph.C (highestFontInRange): added a default_size parameter.
14994
14995         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14996         (setHeightOfRow): reformat
14997
14998 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14999
15000         * converter.[hC] + affected files: move to (inital-char)lowercase
15001         function names.
15002
15003         * ParagraphParameters.C (ParagraphParameters): remove commented code
15004
15005         * PainterBase.[Ch]: remove commented code
15006
15007         * LaTeXFeatures.h: add "bool floats" for float.sty
15008
15009         * LaTeXFeatures.C (LaTeXFeatures): init floats
15010         (require): handle float
15011         (getPackages): do it with floats
15012
15013 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15014
15015         * BufferView_pimpl.C (Dispatch): improve handling of
15016         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15017
15018         * commandtags.h: #include lyxfont.h here temporarily to avoid
15019         keybinding bug.
15020
15021         * bufferlist.h: include LString.h here.
15022
15023 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15024
15025         * text2.C (getStringToIndex): new method.
15026
15027 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15028
15029         * *: Reduced header file dependencies all over.
15030
15031 2001-07-30  Baruch Even  <baruch@lyx.org>
15032
15033         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15034
15035 2001-07-29  Baruch Even  <baruch@lyx.org>
15036
15037         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15038
15039 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15040
15041         * ParameterStruct.h (endif): add a default constructor to make
15042         sure that all variables is initialized.
15043
15044         * ParagraphParameters.C (ParagraphParameters): adjust
15045
15046 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15047
15048         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15049         index; also, check that there is something to index, and that it
15050         does not span over several paragraphs.
15051         (doubleClick): use WHOLE_WORD_STRICT for double click.
15052
15053         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15054
15055         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15056         scheme.
15057
15058 2001-07-26  Baruch Even  <baruch@lyx.org>
15059
15060         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15061         an InsetFig figure, backwards compatible reading of old figure code.
15062
15063 2001-07-27  Juergen Vigna  <jug@sad.it>
15064
15065         * text2.C: font.realize function adaption.
15066
15067         * text.C (draw): add a warnings lyxerr text if needed.
15068
15069         * layout.C: font.realize function adaption.
15070
15071         * language.C: add inherit_language and implement it's handlings
15072
15073         * bufferview_funcs.C (StyleReset): remove language parameter from
15074         font creation (should be language_inherit now).
15075
15076         * bufferparams.C (writeFile): handle ignore_language.
15077
15078         * paragraph.C (getFontSettings): the language has to be resolved
15079         otherwise we have problems in LyXFont!
15080
15081         * lyxfont.C (lyxWriteChanges): added document_language parameter
15082         (update): removed unneeded language parameter
15083
15084         * paragraph.C (validate): fixed wrong output of color-package when
15085         using interface colors for certain fonts in certain environments,
15086         which should not seen as that on the final output.
15087
15088 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15089
15090         * BufferView_pimpl.C:
15091         * Thesaurus.h:
15092         * Thesaurus.C:
15093         * Makefile.am:
15094         * commandtags.h:
15095         * LyXAction.C: add thesaurus support
15096
15097         * lyxfind.h:
15098         * lyxfind.C: add "once" parameter, for thesaurus, to not
15099           move to the next match
15100
15101 2001-07-26  Juergen Vigna  <jug@sad.it>
15102
15103         * lyxfont.C (realize): honor ignore_language too!
15104         (resolved): ditto.
15105
15106         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15107
15108         * text.C (draw): one place more for ignore_language to not draw
15109         itself!
15110
15111 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15112
15113         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15114
15115 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15116
15117         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15118         the minipage conversion problem.
15119
15120 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15121
15122         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15123         insert an inset.
15124
15125 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15126
15127         * BufferView.h: don't forward declare WorkArea
15128
15129         * BufferView.C: don't include WorkArea.h
15130
15131 2001-07-25  André Pönitz <poenitz@gmx.net>
15132
15133         * commandtags.h:
15134         * LyXAction.C:
15135         * lyxfunc.C:  new LFUN 'math-space'
15136
15137         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15138
15139 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15140
15141         * text2.C (toggleInset): call open/close
15142
15143 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15144
15145         * lyxfunc.C (dispatch): add debug for the disabled case
15146
15147         * font.C (buttonText): make similar to rectText
15148
15149         * buffer.C (readInset): comment out parsing of insetlist and
15150         insttheorem
15151
15152         * PainterBase.C (rectText): small correction
15153
15154         * BufferView_pimpl.C: comment out insettheorem and insetlist
15155         * LyXAction.C: ditto
15156         * commandtags.h: ditto
15157
15158 2001-07-24  Juergen Vigna  <jug@sad.it>
15159
15160         * text.C (draw): honor the ignore_language.
15161
15162         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15163
15164 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15165
15166         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15167         char inset.
15168
15169 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15170
15171         * lyxtext.h: remove unused (and unimplemented) methods
15172
15173 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15174
15175         * text.C (getVisibleRow): honor background color
15176
15177         * PainterBase.h:
15178         * Painter.h: remove default color argument for fillRectangle
15179
15180         * text.C (backgroundColor): new method
15181
15182 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15183
15184         * text.C (getVisibleRow): adjust
15185
15186         * font.[Ch] (rectText): new method, metrics
15187         (buttonText): new method, metrics
15188
15189         * PainterBase.[hC]: make rectText and buttonText always draw and take
15190         fewer paramteres.
15191
15192 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15193
15194         * ToolbarDefaults.C (read):
15195         * MenuBackend.C (read): allow escaping in all strings
15196
15197         * BufferView_pimpl.C (insertAndEditInset): new method.
15198         (Dispatch): use insertAndEditInset whenever appropriate.
15199
15200         * BufferView_pimpl.C (insertNote): removed
15201
15202         * BufferView_pimpl.C (smartQuote): new method, moved from
15203         BufferView; if an insetquote cannot be inserted, insert a '"'
15204         character instead.
15205
15206         * BufferView2.C: remove insertCorrectQuote();
15207
15208         * lyxfunc.C (getStatus): Add support for all remaingin
15209         inset-insert lfuns.
15210
15211         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15212
15213         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15214         command (necessary to pass " as parameter of self-insert.
15215
15216         * text.C (selectWordWhenUnderCursor):
15217         (selectWord): add word_location parameter
15218         (selectWordWhenUnderCursor): same + remove special code for word
15219         boundary.
15220         (selectNextWord): use kind() to guess type of insetspecialchar,
15221         not latex().
15222
15223         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15224         (insertErtContents): create ert insets as collapsed.
15225         (readInset): better compatibility code for Info inset.
15226
15227 2001-07-20  Juergen Vigna  <jug@sad.it>
15228
15229         * lyxfunc.C (dispatch): use always LyXFind now!
15230
15231         * text2.C (init): add a reinit flag so that the LyXText can be
15232         reinited instead of deleted and reallocated (used in InsetText).
15233
15234         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15235
15236         * text.C: ditto
15237
15238         * text2.C: ditto
15239
15240 2001-07-18  Juergen Vigna  <jug@sad.it>
15241
15242         * text.C (selectNextWord): handle insets inside inset by calling
15243         always the bv->text functions so that we can go up the_locking_inset!
15244
15245         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15246         in strange locations when inside an inset!
15247
15248         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15249         handling to include insets.
15250
15251         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15252
15253 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15254
15255         * LyXAction.C (init):
15256         * commandtags.h:
15257         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15258         LIGATURE_BREAK, since the name is so stupid.
15259
15260 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15261
15262         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15263         InsetInfos.
15264
15265         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15266
15267         * sp_form.[Ch]: remove.
15268
15269         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15270
15271         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15272         InsetInfo.
15273
15274         * src/buffer.C (readInset): ditto.
15275
15276 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15277
15278         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15279         menuSeparator(), endOfSentenceDot(), ldots() and
15280         hyphenationPoint(), which are therefore removed.
15281         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15282
15283         * LyXAction.C (init):
15284         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15285
15286         * paragraph.C (getWord): removed.
15287
15288         * BufferView_pimpl.C (Dispatch): use last word or selection for
15289         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15290
15291         * lyx_main.C (queryUserLyXDir): do not ask before creating
15292         user_dir, except if it has been named explicitely.
15293
15294 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15295
15296         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15297         a document of zero size.
15298
15299 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15300
15301         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15302         approriately in the c-tor and in require().
15303         (getPackages): output the appropriate LaTeX for natbib support.
15304
15305         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15306         variables "use_natbib" and "use_numerical_citations" when reading the
15307         LyX file.
15308         (readInset): read the various natbib cite commands.
15309         (validate): white-space change.
15310
15311         * bufferparams.[Ch]: new variables "bool use_natbib" and
15312         "bool use_numerical_citations".
15313         (writeFile): output them in the LyX file.
15314
15315 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15316
15317         * lyxfunc.C (getStatus): add support for all the inset insertion
15318         commands.
15319
15320         * text2.C (insertInset):
15321         * paragraph.C (insetAllowed):
15322         * BufferView_pimpl.C (insertInset): update to take in account the
15323         renaming of insertInsetAllowed
15324
15325         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15326
15327         * text2.C (getInset): new method. returns inset at cursor position.
15328
15329         * BufferView_pimpl.C (Dispatch): changes because of this.
15330
15331         * LyXAction.C (init): rename open-stuff to inset-toggle.
15332
15333         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15334
15335         * text2.C (toggleInset): renamed from openStuff; use
15336         Inset::open().
15337
15338 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15339
15340         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15341
15342         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15343
15344 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15345
15346         * buffer.C (readLyXformat2): Add filename to the error dialog
15347
15348 2001-07-18  Juergen Vigna  <jug@sad.it>
15349
15350         * tabular.C (GetCellNumber): put an assert here instead of the check!
15351
15352 2001-07-17  Juergen Vigna  <jug@sad.it>
15353
15354         * BufferView_pimpl.C (toggleSelection): adapted too.
15355
15356         * text.C (selectNextWord): adapted for use with insets.
15357         (selectSelectedWord): ditto
15358
15359 2001-07-17  Juergen Vigna  <jug@sad.it>
15360
15361         * sp_spell.C (PSpell): fix initialitation order.
15362
15363 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15364
15365         * paragraph.C: spacing
15366
15367 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15368
15369         * sp_spell.C: repair language selection for pspell
15370
15371 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15372
15373         * lyxfunc.h: change more methods to begin with lower char.
15374
15375 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15376
15377         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15378         for unknown layouts.
15379
15380 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15381
15382         * buffer.C (readLyXformat2): Generate an error dialog if there are
15383         unknown layouts.
15384
15385 2001-07-16  Juergen Vigna  <jug@sad.it>
15386
15387         * sp_spell.C: always compile ISpell part.
15388
15389         * lyxrc.C: added use_pspell entry and it's handling.
15390
15391 2001-07-13  Juergen Vigna  <jug@sad.it>
15392
15393         * sp_spell.C: removed double includes.
15394
15395 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15396
15397         Consistent use of Lsstream.h:
15398         * Lsstream.h: added using std::stringstream for consistencies sake.
15399
15400         * buffer.C: removed using std::stringstream
15401
15402         * lyxfont.C (stateText):
15403         * paragraph.C (asString):
15404         * text.C (selectNextWord, selectSelectedWord):
15405         * text2.C (setCounter):
15406         * vspace.C (asString, asLatexString):
15407         std::ostringstream -> ostringstream.
15408
15409 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15410
15411         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15412         * commandtags.h: add LFUN_HELP_ABOUTLYX
15413         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15414
15415 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15416
15417         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15418         cursorToggle()
15419         * lyx_gui_misc.C: remove spellchecker
15420         * lyxfunc.C: showSpellchecker
15421         * sp_base.h: added
15422         * sp_ispell.h: added
15423         * sp_pspell.h: added
15424         * sp_spell.C: added
15425         * sp_form.[Ch]: removed
15426         * spellchecker.[Ch]: removed
15427
15428 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15429
15430         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15431         is set.
15432         (simpleTeXSpecialChars): Simply print the input character without
15433         any special translation if pass_thru is set.
15434
15435         * layout.h: Added bool pass_thru to layout class for being able to
15436         implement pass through of a paragraph for Literate Programming.
15437
15438         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15439         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15440         * layout.C (Read): add "passthru" to list of layout tags and add
15441         code to set the pass_thru boolean when it is read.
15442
15443 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15444
15445         * trans_decl.h: remove allowed from KmodInfo
15446
15447         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15448         remove allowed code
15449         (Load): adjust
15450
15451         * paragraph_pimpl.C (erase): use boost::prior
15452
15453         * Painter.C (text): use data() instead of c_str() when length is
15454         also provided.
15455         * WorkArea.C (putClipboard): ditto
15456         * font.h (width): ditto
15457
15458         * BufferView2.C: use it-> instead of (*it). for iterators
15459         * texrow.C: ditto
15460         * paragraph_pimpl.C: ditto
15461         * paragraph.C: ditto
15462         * minibuffer.C: ditto
15463         * language.C: ditto
15464         * kbmap.C: ditto
15465         * encoding.C: ditto
15466         * counters.C: ditto
15467         * converter.C: ditto
15468         * chset.C: ditto
15469         * Variables.C: ditto
15470         * TextCache.C: ditto
15471         * MenuBackend.C: ditto
15472         * LyXAction.C: ditto
15473         * LColor.C: ditto
15474         * FloatList.C: ditto
15475         * DepTable.C: ditto
15476         * ColorHandler.C (LyXColorHandler): ditto
15477
15478 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15479
15480         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15481
15482         * text2.C (openStuff): reintroduce this method (which had been
15483         nuked in NEW_INSETS frenzy).
15484
15485         * lyxfunc.C (Dispatch): when an action has not been handled, use
15486         its name in the error message, not its number.
15487
15488         * paragraph.C (inInset): change method name to begin with lowercase.
15489
15490         * undo_funcs.C:
15491         * text2.C: updates because of this.
15492
15493 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15494
15495         * ToolbarDefaults.C (add): add spaces in error message
15496
15497 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15498
15499         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15500         (readLyXformat2): rename return_par to first_par, use lyxlex's
15501         pushToken and remove the manual push handling.
15502         (parseSingleLyXformat2Token): add another ert comp. variable:
15503         in_tabular, rename return_par to first_par. handle newlines better
15504
15505 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15506
15507         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15508
15509 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15510
15511         * text2.C (getParFromID): removed
15512
15513         * buffer.C (getParFromID): new method moved form lyxtext.
15514         * BufferView2.C (insertErrors): adjust
15515         (setCursorFromRow): adjust
15516         * BufferView_pimpl.C (restorePosition): adjust
15517         * lyxfunc.C (Dispatch): adjust
15518         * undo_funcs.C (textUndo): adjust
15519         (textRedo): adjust
15520         (textHandleUndo): adjust
15521         (textHandleUndo): adjust
15522
15523 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15524
15525         * buffer.C: up' the LYX_FORMAT
15526
15527         * lyxfont.h: turn NO_LATEX on as default
15528
15529         * buffer.C (insertErtContents): new methods of tex style compability.
15530         (parseSingleLyXformat2Token): use it several places.
15531         * tabular.C (OldFormatRead): and here
15532
15533 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15534
15535         * text2.C: remove some commented code.
15536         reindent file.
15537
15538         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15539         * trans.C: changes because of the above.
15540
15541 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15542
15543         * text2.C (setCounter): Fix counters bug with bibliography layout.
15544
15545 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15546
15547         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15548         own member functions
15549         (simpleTeXSpecialChars): ditto
15550
15551 2001-07-06  Juergen Vigna  <jug@sad.it>
15552
15553         * a lot of files: changed the access to LyXText::status and the
15554         call of undo-functions.
15555
15556         * undo.[Ch]: added a inset_id to the undo informations.
15557
15558         * undo_funcs.[Ch]: added and moved here all undo functions.
15559
15560         * lyxtext.h: give the status enum a weight, made status_ a private
15561         variable and made accessor functions for it, removed the whole bunch
15562         of undo-functions as they are now in their own file, make some
15563         functions publically available. Added function ownerParagraph with
15564         int parameter.
15565
15566         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15567         made InInset() a const function, added getParFromID() function.
15568
15569         * buffer.[Ch]: added const version for inset_iterator functions,
15570         added getInsetFromID() function.
15571
15572         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15573         changed undo functions for new version.
15574
15575 2001-07-05  Juergen Vigna  <jug@sad.it>
15576
15577         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15578         unknow mechanism does not call the proper constructor but only this
15579         one also if I request the other!?
15580
15581 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15582
15583         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15584
15585         * text2.C (LyXText): use initialization lists.
15586
15587         * lyxtext.h (Selection): initialize set_ and mark_
15588         (init): remove method
15589
15590 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15591
15592         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15593
15594 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15595
15596         * screen.[Ch]: change method names to begin with lowercase
15597
15598         * BufferView_pimpl.C (updateScrollbar): simplify further and
15599         hopefully make it a bit faster.
15600
15601 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15602
15603         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15604         calling directly xforms functions.
15605
15606         * Painter.C (Painter):
15607         * lyx_cb.C (MenuWrite):
15608         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15609         fl_display.
15610
15611         * lyx_gui.C: remove bogus guiruntime extern declaration.
15612
15613 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15614
15615         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15616         in NEW_INSETS
15617         (redoDrawingOfParagraph): ditto
15618         (redoParagraphs): ditto
15619         (cutSelection): don't create a object for CutAndPaste use the
15620         static method directly
15621         (pasteSelection): ditto
15622
15623         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15624         LyXview (+ rename)
15625
15626 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15627
15628         * modifications to some other files because of this.
15629
15630         * Makefile.am (lyx_SOURCES): add XFormsView
15631
15632         * XFormsView.[Ch]: new files
15633
15634         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15635         the main window. Move the gui dependent stuff to XFormsView
15636
15637 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15638
15639         * tabular.C (GetCellInset): update cur_cell also in the row/col
15640         version of this function.
15641
15642         * lyxfunc.C: no need to include figure_form.h here.
15643
15644         * FontLoader.h:
15645         * lyxfunc.h:
15646         * lyxscreen.h:
15647         * text2.C:
15648         * lyxvc.C: no need to include forms.h here.
15649
15650 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15651
15652         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15653
15654         * lyxfunc.C (Dispatch):
15655         * Spacing.C (set):
15656         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15657         constructor argument.
15658
15659 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15660
15661         * paragraph.C (Paragraph): dont't clear, and just set layout.
15662         (makeSameLayout): use params's copy contructor.
15663
15664         * ParagraphParameters.[Ch] (makeSame): delete method
15665
15666 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15667
15668         * Variables.[Ch]: fix indentation, rename set to isSet
15669
15670 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15671
15672         * lyxfunc.C (Dispatch): fix typo
15673
15674 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15675
15676         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15677         upper_bound.
15678
15679         * bufferlist.C: include assert.h for emergencyWrite().
15680
15681 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15682
15683         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15684           give up at last (bug #425202) !
15685
15686 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15687
15688         * lyx_gui_misc.C:
15689         * sp_form.h:
15690         * sp_form.C:
15691         * spellchecker.h:
15692         * spellchecker.C: strip spellchecker options and bring up
15693           preferences tab instead
15694
15695 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15696
15697         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15698         the istringstream constructor
15699
15700 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15701
15702         * paragraph.C (getLayout): fix return value
15703
15704         * paragraph.h: do not declare getLayout as inline.
15705
15706         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15707
15708 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15709
15710         * lyxcursor.h (operator<): new func
15711         (operator>): new func
15712         (operator>=): new func
15713         (operator<=): new func
15714
15715         * text.C (changeCase): use selection.start and selection.end
15716         (changeRegionCase): require from to be <= to. Require par to be a
15717         valid paragraph.
15718
15719         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15720
15721 2001-06-27  Juergen Vigna  <jug@sad.it>
15722
15723         * text.C (cursorLeftOneWord): changed to return the cursor and added
15724         overlay with BufferView * parameter which calls this one.
15725         (getWord): added
15726         (selectWord): use new getWord function.
15727         (changeCase): renamed from changeWordCase as and extended to work
15728         also on selections.
15729
15730         * lyxtext.h: added enum word_location
15731
15732         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15733         changeCase as this operates now also on selections.
15734
15735 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15736
15737         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15738
15739         * many files: send debug output to Debug::INFO instead of
15740         Debug::ANY.
15741
15742         * converter.C (View):
15743         (Convert):
15744         (Move): send debug output to Debug::FILES instead of console.
15745
15746 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15747
15748         * lyxfunc.C (getStatus): use func_status
15749
15750         * func_status.h: new header, describing the results of
15751         LyXFunc::getStatus;
15752
15753         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15754         LFUN_MATH_HALIGN.
15755
15756 2001-06-25  The LyX Project  <jug@sad.it>
15757
15758         * buffer.C (sgmlOpenTag):
15759         (sgmlCloseTag):
15760         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15761
15762 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15763
15764         * text2.C: remove some dead code
15765
15766         * tabular.C (GetCellInset): store the last cell checked (gotten)
15767
15768         * tabular.h: add the helper for the speedup
15769
15770         * lyxtext.h: remove some dead code
15771
15772 2001-06-26  The LyX Project  <Asger>
15773
15774         * paragraph.C: Change export to LaTeX of alignment to
15775         \begin{center} and family for better roundtrip work with reLyX.
15776
15777         * Tune the math drawing a bit.
15778
15779 2001-06-25  The LyX Project  <Asger>
15780
15781         * LColor.C (LColor): New color for math background. New color
15782         for buttons.
15783
15784 2001-06-25  The LyX Project  <jug@sad.it>
15785
15786         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15787
15788         * lyxfunc.C (Open):
15789         * bufferlist.C (newFile): do not restrict to files ending with
15790         .lyx
15791
15792         * BufferView_pimpl.C (MenuInsertLyXFile):
15793
15794 2001-06-24  The LyX Project  <jug@sad.it>
15795
15796         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15797         of compare_no_case
15798
15799 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15800
15801         * lyxtext.h: rename most methods to begin with a small char.
15802         Lots of changes because of this.
15803
15804         * paragraph.C (Paragraph): do not call fitToSize
15805         (erase): call Pimpl::erase
15806         (insertChar): call Pimpl::insertChar
15807         (insertInset): call Pipl::insertInset
15808         (breakParagraph): do not call fitToSize
15809         (breakParagraphConservative): do not call fitToSize
15810         (fitToSize): remove method
15811
15812         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15813
15814 2001-06-24  The LyX Project  <Asger>
15815
15816         * Fix Qt compilation^2
15817
15818 2001-06-24  The LyX Project  <jug@sad.it>
15819
15820         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15821         depthHook(getDepth()-1).
15822
15823         * paragraph.h:
15824         * ParagraphParameters.h:
15825         * ParameterStruct.h: change type of depth to unsigned int ==
15826         depth_type. Many adaptations to other files before of that.
15827
15828 2001-06-24  The LyX Project  <Asger>
15829
15830         * Fix Qt compilation.
15831
15832 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15833
15834         * paragraph.h: renamed several methods to begin with small letter.
15835         several changes to many parts of the code because of this.
15836
15837 2001-06-23  The LyX Project  <jug@sad.it>
15838
15839         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15840         rewritten to discard all double spaces when KeepEmpty is off
15841         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15842         to only handle newlines but not fiddle with spaces and friends.
15843
15844         * lyxfunc.C (MenuNew): when doing 'new from template', use
15845         template_path as default directory
15846
15847 2001-06-23  The LyX Project  <Asger>
15848
15849         * Clean-up of header file includes all over
15850         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15851
15852 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15853
15854         * paragraph.h: renamed from lyxparagraph.h
15855
15856 2001-06-23  Asger  <lyx@violet.home.sad.it>
15857
15858         * Buffer.h: Removed Buffer::resize
15859         * BufferList.h: Removed BufferList::resize
15860         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15861         the document lazily when we change the width, or the font settings.
15862
15863 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15864
15865         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15866
15867 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15868
15869         * buffer.h: remove out of date comment
15870
15871 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15872
15873         * lyxscreen.h:
15874         * screen.C: fix "theoretical" GC leak
15875
15876 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15877
15878         * LaTeX.C (scanAuxFile):
15879         (deplog): remove trailing \r when reading stream (useful under
15880         win32)
15881
15882 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15883
15884         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15885         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15886         and BufferView::theLockingInset(Inset*), so should use them and not
15887         access bv_->text->the_locking_inset directly.
15888
15889         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15890
15891 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15892
15893         * Makefile.am:
15894         * tex-defs.h: remove old unused file
15895
15896 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15897
15898         * BufferView_pimpl.C: fix typo, remove minibuffer message
15899           when buffer has loaded
15900
15901 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15902
15903         * lyxfunc.C (Dispatch): use stringstream
15904         (MenuNew): use stringstream
15905         (Open): use stringstream
15906
15907         * importer.C (Import): use stringstream
15908
15909         * bufferview_funcs.C (CurrentState): use stringstream
15910
15911         * LaTeX.C (run): use stringstream
15912
15913         * BufferView_pimpl.C (savePosition): use stringstream
15914         (restorePosition): use stringstream
15915         (MenuInsertLyXFile): use stringstream
15916
15917 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15918
15919         * BufferView.C:
15920         * Bullet.C:
15921         * ColorHandler.C:
15922         * FontInfo.C:
15923         * FontLoader.C:
15924         * LColor.C:
15925         * LaTeXFeatures.C:
15926         * Painter.C:
15927         * gettext.C:
15928         * lyx_gui_misc.C:
15929         * lyxserver.C:
15930         * vspace.C: removed // -*- C++ -*- as first line.
15931
15932         * lyxfind.h:
15933         * version.h: added // -*- C++ -*- as first line.
15934
15935 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15936
15937         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15938
15939         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15940         of string
15941
15942 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15943
15944         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15945         of floats.
15946
15947 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15948
15949         * gettext.C: include LString.h even when --disable-nls is on.
15950
15951 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15952
15953         * converter.h (Get): changed argument type from int to
15954         FormatList::size_type to avoid unnecessary conversion.
15955
15956         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15957         before using it.
15958
15959 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15960
15961         * gettext.h: include LString.h even when --disable-nls is on.
15962
15963 2001-06-07  Juergen Vigna  <jug@sad.it>
15964
15965         * text.C (BreakAgain): subst spaces with tabs.
15966
15967         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15968         (resizeInsetsLyXText): set force on resizeLyXText.
15969
15970 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15971
15972         * gettext.h (gettext_init):
15973         (locale_init): use a real definition instead of a macro
15974
15975 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15976
15977         * Bufferview_pimpl.C:
15978         * LColor.h:
15979         * LColor.C: further lcolor tidies
15980
15981 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15982
15983         * BufferView_pimpl.C (updateScrollbar): simplify.
15984
15985         * BufferView2.C: don't include insets/insetinfo.h, change
15986         prototype for insertInset and call the Pimpl version. let
15987         updateInset call Pimpl version.
15988
15989         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15990         gotoInset to BufferView::Pimpl
15991
15992 2001-06-01  Juergen Vigna  <jug@sad.it>
15993
15994         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15995         inside a LockingInset (is the update needed at all?).
15996
15997 2001-05-31  Juergen Vigna  <jug@sad.it>
15998
15999         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16000         here not the old one otherwise how should we compare it afterwards
16001         if it's the same!
16002
16003 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16004
16005         * lyxfont.C:
16006         * tabular.C:
16007         * tabular-old.C:
16008         * FontInfo.C: bring C functions into global namespace when
16009         necessary
16010
16011 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16012
16013         * LString.h: make sure config.h has been loaded before LString.h.
16014
16015         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16016         (one for each char read by EatLine!).
16017
16018         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16019         variables.
16020
16021 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16022
16023         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16024         to the same as the par we break from
16025
16026 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16027
16028         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16029
16030         * MenuBackend.C (expand): also create menu entries for wide
16031         versions of the floats.
16032
16033         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16034
16035         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16036
16037         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16038         frontends/Makefile.am
16039
16040         * text2.C: adjust
16041         * text.C: adjust
16042
16043
16044         * tabular.C (getTokenValue): add std::
16045
16046         * tabular-old.C (getTokenValue): add std::
16047         (getTokenValue): ditto
16048         (getTokenValue): ditto
16049
16050         * screen.C (ToggleSelection): adjust
16051
16052         * lyxtext.h: put selection cursors inside a Selection struct.
16053
16054         * lyxfunc.C (moveCursorUpdate): adjust
16055
16056         * lyxfont.C (latexWriteStartChanges): add std::
16057
16058         * lyxfind.C: adjust
16059
16060         * font.h: delete with(char const *, LyXFont const &)
16061
16062         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16063
16064         * FontInfo.C (getFontname): add std::
16065
16066         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16067         (workAreaButtonPress): adjust
16068         (tripleClick): adjust
16069         (update): adjust
16070         (moveCursorUpdate): adjust
16071         (Dispatch): adjust
16072
16073         * BufferView2.C (gotoInset): adjust
16074
16075 2001-05-30  Juergen Vigna  <jug@sad.it>
16076
16077         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16078         to check pspell I add this as default as I now have new pspell
16079         libraries and they seem to use this.
16080
16081 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16082
16083         * text2.C (CutSelection): make the cursor valid before the call to
16084         ClearSelection.
16085
16086 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16087
16088         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16089         relied on 0 terminated strings and other horrors. Bug found due to
16090         the new assert in lyxstring!
16091
16092         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16093         KP_ keys.
16094
16095 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16096
16097         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16098         to latinkeys.bind.
16099
16100         * lyxfunc.C (processKeySym): change method of getting to the
16101         self-insert char.
16102
16103         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16104         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16105         * BufferView_pimpl.[Ch]: here as private methods.
16106
16107 2001-05-28  Juergen Vigna  <jug@sad.it>
16108
16109         * text.C (SetHeightOfRow): added the update() call again as it is
16110         needed to initialize inset dimensions!
16111
16112 2001-05-16  Juergen Vigna  <jug@sad.it>
16113
16114         * text2.C (SetCharFont): Add new function with BufferView * and
16115         bool toggleall parameters for setting insets internal fonts.
16116         (SetFont): Freeze the undo as we may change fonts in Insets and
16117         all this change should be inside only one Undo!
16118
16119         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16120         setting font's in insets as for them we have the SetFont function!
16121
16122 2001-05-15  Juergen Vigna  <jug@sad.it>
16123
16124         * text2.C (ClearSelection): to be sure we REALLY don't have any
16125         selection anymore!
16126
16127         * tabular.C (TeXCellPreamble): fixed the left border problem for
16128         multicolumn cells.
16129
16130 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16131
16132         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16133         dependancy file
16134
16135 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16136
16137         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16138         LFUN_BREAKPARAGRAPH.
16139
16140         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16141         help test to "internal only", similar for LFUN_INSERT_URL
16142
16143         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16144         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16145         auto_region_delete and deadkeys.
16146
16147 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16148
16149         * LColor.h:
16150         * LColor.C: remove some dead entries, tidy a little
16151
16152 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16153
16154         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16155         commented code.
16156         (Dispatch): implement LFUN_ESCAPE
16157
16158         * commandtags.h: add LFUN_ESCAPE
16159
16160         * LyXAction.C (init): add entry for LFUN_ESCAPE
16161
16162         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16163         Remove commented code.
16164         (insertNote): moved here
16165         (open_new_inset): moved here
16166
16167         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16168         BufferView_pimpl
16169
16170 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16171
16172         * kbmap.C (findbinding): clean it up and make it work correctly.
16173
16174         * lyx_main.C (init): do not pass argc and argv as parameters
16175
16176 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16177
16178         * buffer.C: fix path for OS/2 & Win32
16179
16180         * lyx_gui.C:
16181         * lyx_main:
16182         * lyx_main.C: Added os:: class.
16183
16184         * os2_defines.h: update
16185
16186 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16187
16188         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16189         better by trying again with reduced state.
16190
16191 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16192
16193         * lyxrc.C (read): print error about invalid key sequence only when
16194         debugging (because not all latinX keysyms are known to some X
16195         servers)
16196
16197         * kbsequence.C (getiso): add a few std:: qualifiers
16198         (getiso): comment out extra return statement.
16199
16200 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16201
16202         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16203         handling.
16204         (Dispatch): enhance the accent inset a bit. (not perfect)
16205
16206 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16207
16208         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16209
16210 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16211
16212         * bufferlist.C (emergencyWrite): fix assert() call
16213
16214 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16215
16216         * text.C (InsertChar): Added trivial patch to only send the "you
16217         can not do multiple spaces this way" message once during a
16218         session.
16219
16220 2001-05-08  Baruch Even  <baruch@lyx.org>
16221
16222         * Makefile.am: Changed order of libraries to get LyX to link properly
16223         with the gnome frontend.
16224
16225 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16226
16227         * LaTeXFeatures.h: add a std:: qualifier
16228
16229 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16230
16231         * paragraph.C (String): use stringstream
16232
16233 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16234
16235         * paragraph.C (writeFile): remove footflag arg
16236
16237         * buffer.C (makeLaTeXFile): use stringstream
16238         (latexParagraphs): remove footnot gurba
16239
16240         * LaTeXFeatures.C (getPackages): use stringstream
16241         (getMacros): likewise
16242         (getTClassPreamble): likewise
16243         (getFloatDefinitions): new method
16244
16245         * paragraph.C (writeFile): reindent
16246         (Erase): reindent
16247
16248         * WorkArea.h: revert the xpos + etc changes.
16249
16250         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16251
16252         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16253
16254         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16255         (pasteSelection): likewise
16256         * text2.C (CreateUndo): likewise
16257
16258 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16259
16260         * minibuffer.C (peek_event): temporarily reduce the functionality
16261         of the minibuffer (to allow args on lfuns)
16262
16263         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16264         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16265
16266         * buffer.C (readInset): add compability reading of old float
16267         lists, add reading of new style float list.
16268         (readInset): avoid reevaluation of inscmd.getCmdName()
16269         (getLists): reindent
16270
16271         * MenuBackend.C (MenuItem): implement parsing of
16272         md_floatlistinsert and md_floatinsert.
16273         (expand::LastFiles): move initalizaton of iterators out of loop,
16274         avoid reevaluation.
16275         (expand::Documents): introduce typdedef vector<string> Strings,
16276         and use it.
16277         (expand::ExportFormats): introduce typedef vector<Format const *>
16278         Formats, and use it.
16279         (expand): implement FloatListInsert and FloatInsert.
16280
16281         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16282         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16283         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16284
16285         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16286         handling.
16287         (Dispatch::LFUN_FLOAT_LIST): implement
16288
16289 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16290
16291         * LaTeX.C (run): Fix problem with --export code.
16292
16293 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16294
16295         * BufferView.[Ch] (workarea): removed.
16296         (getClipboard) new method; wrapper for workarea()->getClipboard()
16297
16298         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16299         bug.
16300
16301         * WorkArea.h (width, height, xpos, ypos): These methods all
16302         returned the dimensions of the work_area sub-area of WorkArea,
16303         resulting in a position error if the WorkArea were resized. Now
16304         return the dimensions of the entire WorkArea.
16305
16306         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16307
16308 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16309
16310         * LaTeX.C (deplog): correct the syntax of regex reg1
16311
16312 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16313
16314         * undo.C: remove !NEW_INSETS cruft
16315
16316 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16317
16318         * text2.C: remove !NEW_INSETS cruft
16319
16320         * text.C: remove !NEW_INSETS cruft
16321
16322         * tabular.C: remove !NEW_INSETS cruft
16323
16324         * spellchecker.C: remove !NEW_INSETS cruft
16325
16326         * lyxtext.h: remove !NEW_INSETS cruft
16327
16328         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16329
16330         * lyxfunc.C: remove !NEW_INSETS cruft
16331
16332         * lyxfind.C: remove !NEW_INSETS cruft
16333
16334         * lyx_cb.C: remove !NEW_INSETS cruft
16335
16336         * figureForm.C: remove  !NEW_INSETS cruft
16337
16338         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16339
16340         * buffer.[Ch]: remove !NEW_INSETS cruft
16341
16342         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16343
16344         * CutAndPaste.C: remove !NEW_INSETS cruft
16345
16346         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16347
16348         * BufferView2.C: remove !NEW_INSETS cruft
16349
16350         * BufferView.h: remove !NEW_INSETS cruft
16351
16352 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16353
16354         * Lsstream.h: include LString.h before the sstream headers to
16355         fix problem with gcc 2.95.3 and lyxstring
16356
16357 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16358
16359         * lyx_main.C: add using directives when needed for C functions
16360         declared in std:: namespace.
16361
16362 2001-04-27  Juergen Vigna  <jug@sad.it>
16363
16364         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16365         (SetHeightOfRow): comment out the update call should not be needed!
16366
16367 2001-04-13  Juergen Vigna  <jug@sad.it>
16368
16369         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16370         (LyXTabular): tried to minimize operator= operations (and realized
16371         hopfully Lars wish).
16372
16373 2001-04-27  Juergen Vigna  <jug@sad.it>
16374
16375         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16376
16377 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16378
16379         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16380
16381         * buffer.C (readInset): hack to make listof algorithm work
16382
16383         * BufferView_pimpl.C: hack to make listof algorithm work
16384
16385 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16386
16387         * LyXAction.C: removed all !NEW_INSETS cruft
16388         (init): moved lfun_item in method
16389
16390         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16391
16392 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16393
16394         * BufferView2.C (theLockingInset): white space.
16395
16396 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16397
16398         * minibuffer.C: include <iostream>
16399
16400         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16401
16402         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16403
16404         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16405
16406         * text.[Ch] (TransposeChars): new method
16407
16408 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16409
16410         * call message directly through LyXView instead of through LyXFunc
16411         * BufferView2.C: adjust
16412         * BufferView_pimpl.C: adjust
16413         * FontLoader.C: adjust
16414         * buffer.C: adjust
16415         * bufferview_funcs.C: adjust
16416         * converter.C: adjust
16417         * figureForm.C: adjust
16418         * importer.C: adjust
16419         * lyx_cb.C: adjust
16420         * lyx_gui_misc.C: adjust
16421         * lyxfunc.C: adjust
16422         * lyxvc.C: adjust
16423         * text2.C: adjust
16424         + more files in subdirs
16425
16426         * lyxparagraph.h (size): move up int file
16427         (GetLayout): ditto
16428
16429         * adjust all uses of Assert to lyx::Assert.
16430
16431         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16432         lyxfunctional in namespace lyx
16433         * layout.C (hasLayout): ditto
16434         (GetLayout): ditto
16435         (GetLayout): ditto
16436         (delete_layout): ditto
16437         (NumberOfClass): ditto
16438         * converter.C (GetFormat): ditto
16439         (GetNumber): ditto
16440         (Add): ditto
16441         (Delete): ditto
16442         (SetViewer): ditto
16443         * bufferlist.C (getFileNames): ditto
16444         (emergencyWriteAll): ditto
16445         (exists): ditto
16446         (getBuffer): ditto
16447         * MenuBackend.C (hasSubmenu): ditto
16448         (hasMenu): ditto
16449         (getMenu): ditto
16450         * BufferView_pimpl.C (getInsetByCode): ditto
16451
16452 2001-04-18  Juergen Vigna  <jug@sad.it>
16453
16454         * vspace.C (asLatexString): fixed the 100% problem.
16455
16456 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16457
16458         * lyxfunc.C (Dispatch):
16459         * minibuffer.C:
16460         * minibuffer.h: add a few std:: qualifiers
16461
16462 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16463
16464         * minibuffer.[Ch]: reimplement so that commands is initiated and
16465         run from lyxfunc, simplified som handling, and made the completion
16466         and history code for complete. wip.
16467
16468         * lyxfunc.C (processKeySym): call message
16469         (miniDispatch): new temporary method
16470         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16471         (LFUN_MESSAGE): implement
16472         (LFUN_MESSAGE_PUSH): implement
16473         (LFUN_MESSAGE_POP): implement
16474         (initMiniBuffer): the initial/defualt minibuffer message.
16475
16476         * lyxfont.[Ch]: inline some more getters
16477
16478         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16479
16480         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16481
16482         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16483         (AutoSave): use LFUN_MESSAGE
16484         (Reconfigure): ditto
16485
16486         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16487
16488         * figureForm.C: use LFUN_MESSAGE
16489
16490         * converter.C (runLaTeX): use LFUN_MESSAGE
16491
16492         * bufferview_funcs.C: use LFUN_MESSAGE
16493         (Melt): ditto
16494         (changeDepth): ditto
16495
16496         * bufferparams.h: use boost::
16497
16498         * bufferlist.h: inherit privately from noncopyable
16499
16500         * bufferlist.C (loadLyXFile): remove some commented code.
16501
16502         * buffer.C (runChktex): use LFUN_MESSAGE
16503
16504         * ShareContainer.h: inherit privately from noncopyable
16505
16506         * ParagraphParameters.[hC] (depth): inline it.
16507
16508         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16509         methods.
16510         (message): new method
16511         (messagePush): ditto
16512         (messagePop): ditto
16513         (show): init minibuffer
16514         (showState): direct call
16515
16516         * LaTeX.[Ch]: inherit privately from noncopyable
16517         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16518         instead of WriteStatus.
16519
16520         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16521
16522         * BufferView_pimpl.C (buffer): don't init minibuffer
16523         (workAreaButtonPress): use LFUN_MESSAGE
16524         (workAreaButtonRelease): ditto
16525         (savePosition): ditto
16526         (restorePosition): ditto
16527         (MenuInsertLyXFile): ditto
16528         (workAreaExpose): don't init minibuffer
16529         (update): remove commented code, simplify
16530
16531         * BufferView2.C (openStuff): use LFUN_MESSAGE
16532         (toggleFloat): ditto
16533         (menuUndo): ditto
16534         (menuRedo): ditto
16535         (copyEnvironment): ditto
16536         (pasteEnvironment): ditto
16537         (copy): ditto
16538         (cut): ditto
16539         (paste): ditto
16540         (gotoInset): ditto
16541         (updateInset): remove some commented code
16542
16543         * lastfiles.h: inherit privately from noncopyable
16544         * layout.h: ditto
16545         * lyx_gui.h: ditto
16546         * lyx_main.h: ditto
16547         * lyxlex.h: ditto
16548         * lyxlex_pimpl.h: ditto
16549
16550         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16551         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16552         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16553
16554         * LyXAction.h: inherit privately from noncopyable, add methods
16555         func_begin, func_end, returning iterators to the func map.
16556
16557         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16558         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16559         (func_begin): new method
16560         (func_end): new method
16561
16562         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16563         and not)
16564         (copySelection): ditto
16565         (pasteSelection): ditto
16566
16567         * BufferView.C: whitespace change
16568         * BufferView.h: inherit privately from noncopyable
16569
16570 2001-04-16  Allan Rae  <rae@lyx.org>
16571
16572         * tabular-old.C (l_getline):
16573         * spellchecker.C (sc_check_word):
16574         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16575         an unrecognised preprocessor directive.  So ensure they're wrapped.
16576
16577 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16578
16579         * src/exporter.C (Export): Give an error message when path to file
16580         contains spaces.
16581
16582 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16583
16584         * LaTeX.C (deplog): Always check that foundfile exists.
16585
16586 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16587
16588         * lyx_main.h:
16589         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16590
16591 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16592
16593         * tabular.[Ch] (getLabelList): implement new method
16594
16595         * minibuffer.h: comment ouf setTiimer
16596
16597         * minibuffer.C (ExecutingCB): constify res
16598         (peek_event): constify s
16599         (Set): constify ntext
16600         (Init): constify nicename
16601
16602         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16603
16604         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16605         (savePosition): use two params to Minibuffer::Set
16606         (restorePosition): ditto
16607
16608 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16609
16610         * lyx_main.C: include language.h
16611
16612         * Makefile.am (lyx_main.o): add language.h
16613
16614 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16615
16616         * exporter.C:
16617         * paragraph.C:
16618         * screen.C:
16619         * tabular.C:
16620         * CutAndPaste.C: include gettext.h
16621
16622         * lyxfont.h: remove old hack with ON and OFF.
16623
16624         * lyxparagraph.h:
16625         * lyxfont.h: do not include language.h...
16626
16627         * BufferView2.C:
16628         * LaTeXFeatures.C:
16629         * Painter.C:
16630         * bufferview_funcs.C:
16631         * font.C:
16632         * lyxfont.C:
16633         * text.C:
16634         * text2.C:
16635         * trans_mgr.C:
16636         * paragraph.C: ... but do it here instead
16637
16638 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16639
16640         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16641
16642         * tabular.C: small reformat
16643
16644         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16645         NEW_INSETS version
16646         (GetChar): ditto
16647         (BreakParagraph): ditto
16648         (SetOnlyLayout): ditto
16649         (SetLayout): ditto
16650
16651         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16652         with one arg less.
16653
16654         * lastfiles.C: removed most using decl, add std:: where needed
16655
16656         * buffer.C: ws changes
16657
16658         * MenuBackend.C (class compare_format): put into anon namespace
16659         (expand): constify label, names, action, action2
16660         (expand):
16661
16662         * text.C (SingleWidth): constify font
16663         (IsBoundary): constify rtl2
16664         (GetVisibleRow): constify ww
16665
16666         * LaTeX.C (deplog): constify logfile
16667
16668         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16669         start_x, end_x
16670         (workAreaExpose): constify widthChange, heightChange
16671
16672         * lyxrow.C (par): moved
16673         (height): moved
16674         (next): moved
16675         * lyxrow.h: as inlines here
16676
16677         * lyxfont.h (shape): moved from lyxfont.C
16678         (emph): moved from lyxfont.C
16679
16680         * lyxfont.C (LyXFont): use initialization list for all
16681         constructors
16682         (shape): move to lyxfont.h as inline
16683         (emph): move to lyxfont.h as inline
16684
16685
16686 2001-04-04  Juergen Vigna  <jug@sad.it>
16687
16688         * vspace.C: had to include stdio.h for use of sscanf
16689
16690 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16691
16692         * BufferView.h:
16693         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16694         independent of xforms.
16695
16696 2001-04-02  Juergen Vigna  <jug@sad.it>
16697
16698         * spellchecker.C: fixed namespace placing!
16699
16700 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16701
16702         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16703         the LyXParagraph * is 0.
16704
16705 2001-03-29  Juergen Vigna  <jug@sad.it>
16706
16707         * vspace.C: added support for %, c%, p%, l%.
16708         (stringFromUnit): added helper function.
16709         (asLatexString): changed to give right results for the %-values.
16710
16711         * buffer.C: convert the widthp in a width%.
16712
16713 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16714
16715         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16716         figureForm.[Ch].
16717
16718         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16719         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16720
16721         * lyx_cb.[Ch]: see above.
16722
16723         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16724         form1.[Ch].
16725
16726         * form1.[Ch]:
16727         * lyx.[Ch]: replaced by figure_form.[Ch].
16728
16729         * lyx_gui.C:
16730         * lyx_gui_misc.C:
16731         * lyxfunc.C: changed headers associated with above changes.
16732
16733 2001-03-27  Juergen Vigna  <jug@sad.it>
16734
16735         * BufferView_pimpl.C: set the temporary cursor right!
16736
16737 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16738
16739         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16740
16741 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16742
16743         * LString.h: removed "using std::getline"!
16744
16745         * BufferView_pimpl.C (Dispatch): changes due to changes in
16746         InsetInclude::Params.
16747
16748         * buffer.C (tag_name): removed redundant break statements as they were
16749         producing lots of warnings with my compiler.
16750
16751 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16752
16753         * LString.h: add "using std::getline" when using the real <string>.
16754
16755 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16756
16757         * buffer.C: removed bitset usage.
16758         PAR_TAG moved to an anonymous name space.
16759         (tag_name): new funtion, also in the anonymous namespace.
16760         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16761         (makeDocBookFile): clean code. Completed transition from string arrays
16762         to string vectors.
16763         (SimpleDocBookOnePar): code clean.
16764
16765 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16766
16767         * tabular.C: add some comments.
16768
16769 2001-03-22  Juergen Vigna  <jug@sad.it>
16770
16771         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16772         compatibility read a bit and fixed bug with minipage in different
16773         depth.
16774
16775 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16776
16777         * buffer.C (pop_tag): removed.
16778         (push_tag): removed.
16779         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16780         array replaced with vector. Added support for CDATA sections.
16781         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16782         at any nest level.
16783         (makeDocBookFile): XML conformant declaration of CDATA section,
16784         fixed bug related to <emphasis> in the first paragraph char.
16785         (sgmlOpenTag): exclude empty tags.
16786         (sgmlCloseTag): ditto.
16787
16788         * buffer.h (pop_tag): removed.
16789         (push_tag): removed.
16790
16791 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16792
16793         * language.h (Languages): added size_type and size().
16794
16795 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16796
16797         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16798         response on compability reading of minipages. One probliem is that
16799         the old usage of minipages was «flertydig»
16800
16801         * several files here and in subdirs: don't use static at file
16802         scope use anon namespaces instead.
16803
16804 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16805
16806         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16807         LaTeX output. This is necessary for Literate document
16808         processing.
16809
16810 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16811
16812         * buffer.C: insert hfill when needed.
16813
16814         * tabular.C (l_getline): use string::erase, small whitespace change.
16815
16816         * BufferView_pimpl.C: try the anon namespace.
16817         * WorkArea.C: ditto
16818
16819 2001-03-16  Juergen Vigna  <jug@sad.it>
16820
16821         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16822         otherwise it won't open options-dialogs.
16823
16824         * buffer.C: honor pextraWidth(p) on converting minipages.
16825
16826         * tabular.C (l_getline): changed the functions to strip trailing \r.
16827
16828 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16829
16830         * BufferView_pimpl.C:
16831         * minibuffer..C: added "using SigC::slot" declaration.
16832
16833 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16834
16835         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16836
16837         * text2.C: ditto
16838
16839         * text.C: ditto
16840
16841         * paragraph.C: ditto
16842
16843         * lyxtext.h: NO_PEXTRA
16844
16845         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16846
16847         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16848         * ParameterStruct.h: ditto
16849         * ParagraphParameters.h: ditto
16850         * lyxparagraph.h: ditto
16851
16852 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16853
16854         * buffer.C: add compability for minipage alignment.
16855         (latexParagraphs): remove unwanted pextra check.
16856
16857         * several files: remove CXX_WORKING_NAMESPACES
16858
16859         * buffer.C (pop_tag): tie is in namespace boost
16860
16861         * BufferView.h: noncopyable is in namespace boost
16862         * lyxlex.h: ditto
16863         * lyx_main.h: ditto
16864         * lyx_gui.h: ditto
16865         * layout.h: ditto
16866         * lastfiles.h: ditto
16867         * bufferlist.h: ditto
16868         * ShareContainer.h: ditto
16869         * LyXView.h: ditto
16870         * LyXAction.h: ditto
16871         * LaTeX.h: ditto
16872
16873 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16874
16875         * Merging changes from BRANCH_MVC back into HEAD.
16876
16877         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16878
16879 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16880
16881         * BufferView_pimpl.C: change from intl.C
16882
16883         * combox.h:
16884         * combox.C:
16885         * Makefile.am: move combox.*
16886
16887         * form1.h:
16888         * form1.C:
16889         * lyx_gui.C:
16890         * intl.h:
16891         * intl.C: remove dialog (covered by prefs)
16892
16893 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16894
16895         * lyxfunc.C (Dispatch): removed redundant break statement.
16896
16897 2001-03-14  Juergen Vigna  <jug@sad.it>
16898
16899         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16900
16901 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16902
16903         * buffer.C: add hack to fix compability reading of minipages.
16904
16905 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16906
16907         * buffer.C (getLists): Cleanup.
16908
16909 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16910
16911         * lyxfont.C (update): don't honor toggleall on font size.
16912
16913 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16914
16915         * bmtable.c:
16916         * bmtable.h:
16917         * Makefile.am: moved to frontends/xforms/
16918
16919         * lyx_gui_misc.C:
16920         * lyxfunc.C:
16921         * BufferView_pimpl.C: changes for moved mathpanel
16922
16923 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16924
16925         * gettext.h: fix gettext_init() in --disable-nls
16926
16927 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16928
16929         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16930
16931 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16932
16933         * lyx.C:
16934         * lyx.h: strip external form
16935
16936 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16937
16938         * BufferView_pimpl.C: add comment, destroySplash()
16939
16940 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16941
16942         * BufferView_pimpl.C:
16943         * LyXAction.C:
16944         * buffer.C:
16945         * commandtags.h:
16946         * lyxfunc.C: use re-worked insetinclude
16947
16948 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16949
16950         * buffer.C: add using std::stringstream.
16951
16952         * lyx_cb.C: readd using std::ios.
16953
16954         * buffer.C: add using std::map.
16955
16956         * BufferView_pimpl.C: add using std::vector.
16957
16958         * ShareContainer.h: add std:: to swap.
16959
16960         * buffer.h: add some typedefs
16961         * buffer.C (getLists): use them
16962         (getLists): renamed from getTocList.
16963         add a counter for the different float types and use it in the
16964         generated string.
16965         (getLists): use the same counter for the NEW_INSETS and the "non"
16966         NEW_INSETS
16967
16968         * lyx_cb.h: remove unused items, includes, using etc.
16969
16970         * ShareContainer.h: remove some commented code, add more comments
16971         and "documentation".
16972
16973 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16974
16975         * buffer.C (getTocList): make the list also when NEW_INSETS is
16976         defined.
16977
16978         * buffer.h: remove TocType
16979
16980         * buffer.C (getTocList): change to return a map<string,
16981         vector<TocItem> >, implement for dynamic number of list.
16982
16983         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16984         * text2.C (PasteSelection): adjust
16985         * CutAndPaste.C (pasteSelection): adjust
16986
16987         * FloatList.C (FloatList): update from the new_insets branch.
16988         * Floating.[Ch]: ditto
16989         * LaTeXFeatures.C: ditto
16990         * buffer.C: ditto
16991         * lyxlex_pimpl.C: ditto
16992
16993         * paragraph.C (Last): remove when NEW_INSETS is defined.
16994
16995         * other file: changes because of the above.
16996
16997 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16998
16999         * lyxparagraph.h: rename next to next_, previous to previous_,
17000         make them private for NEW_INSETS. Rename Next() to next(),
17001         Previous() to previous().
17002
17003         * other files: changes because of the above.
17004
17005 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17006
17007         * BufferView.h:
17008         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17009         problem.
17010
17011 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17012
17013         * main.C (main): pass lyx_localedir to gettext_init().
17014
17015         * gettext.h: remove locale_init and gettext_init macros
17016
17017         * gettext.C (locale_init): new function
17018         (gettext_init): new function
17019
17020         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17021         setlocale().
17022
17023 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17024
17025         * Moved credits to frontends:
17026         * credits.[Ch]: removed
17027         * credits_form.[Ch]: removed
17028         * lyx_gui_misc.C: remove credits stuff
17029         * Makefile.am:
17030
17031 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17032
17033         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17034
17035         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17036         unneeded destructor.
17037
17038         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17039         a standalone pointer again.
17040
17041         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17042
17043 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17044
17045         * Makefile.am:
17046         * filedlg.h:
17047         * filedlg.C:
17048         * LyXAction.C:
17049         * ToolbarDefaults.C:
17050         * bufferlist.C:
17051         * commandtags.h:
17052         * form1.C:
17053         * form1.h:
17054         * lyx_cb.C:
17055         * lyx_cb.h:
17056         * lyxfunc.h:
17057         * lyxfunc.C:
17058         * BufferView_pimpl.C: use new file dialog in GUII
17059
17060         * lyx_cb.h:
17061         * lyx_cb.C: remove LayoutsCB to Toolbar
17062
17063 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17064
17065         * ShareContainer.h (get): add std:: qualifier
17066
17067 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17068
17069         * ShareContainer.h: define a proper ShareContainer::value_type
17070         type (and use typename to please compaq cxx)
17071
17072 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17073
17074         * lyxparagraph.h: move serveral local vars to
17075         ParameterStruct/ParagraphParameters., use ShareContainer in
17076         FontTable., make vars in FontTable private and add getter and
17077         setter.
17078
17079         * paragraph.C: changes because of the above.
17080
17081         * lyxfont.h: remove copy constructor and copy assignment. (the
17082         default ones is ok), move number inside FontBits. move inlines to
17083         lyxfont.C
17084
17085         * lyxfont.C: add number to initializaton of statics, move several
17086         inlines here. constify several local vars. some whitespace
17087         cleanup. Dont hide outerscope variables.
17088
17089         * Spacing.h: add two new constructors to match the set methods.
17090
17091         * ShareContainer.h: new file, will perhaps be moved to support
17092
17093         * ParameterStruct.h: new file
17094
17095         * ParagraphParameters.h: new file
17096
17097         * ParagraphParameters.C: new file
17098
17099         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17100         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17101
17102         * BufferView_pimpl.C: ParagraphParameter changes.
17103         * buffer.C: Likewise.
17104         * bufferview_funcs.C: Likewise.
17105         * text.C: Likewise.
17106         * text2.C: Likewise.
17107
17108 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17109
17110         * lyxfind.C (LyXReplace): do not redefine default argument in
17111         implementation.
17112         (IsStringInText): ditto
17113         (SearchForward): ditto
17114         (SearchBackward): ditto
17115
17116 2001-03-06  Juergen Vigna  <jug@sad.it>
17117
17118         * lyxfind.C (IsStringInText): put parentes around expressions.
17119
17120 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17121
17122         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17123
17124 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17125
17126         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17127
17128         * stl_string_fwd.h: add comment
17129
17130         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17131
17132         * tabular.h:
17133         * tabular.C: remove unused DocBook methods
17134
17135         * intl.C:
17136         * language.C:
17137         * paragraph.C:
17138         * buffer.C:
17139         killed DO_USE_DEFAULT_LANGUAGE
17140
17141 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17142
17143         * lyx_gui.C: do not include language.h.
17144
17145         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17146         arguments in function implementation.
17147
17148 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17149
17150         * BufferView_pimpl.C: add <ctime>
17151
17152 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17153
17154         * BufferView_pimpl.C: add using std::find_if
17155
17156 2001-02-27  José Matos  <jamatos@fep.up.pt>
17157
17158         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17159         by OnlyPath.
17160
17161 2001-02-11  José Matos  <jamatos@fep.up.pt>
17162
17163         * buffer.C (makeDocBookFile): command styles now have a parameter as
17164         "title" by default.
17165
17166 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17167
17168         * layout_forms.[Ch]: removed
17169         * lyx_cb.[Ch]: out character
17170         * lyx_gui.C: out character
17171         * lyx_gui_misc.C: out character
17172         * bufferview_funcs.C: : out character,
17173         added toggleall as parameter in ToggleAndShow
17174
17175 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17176
17177         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17178
17179         * text2.C (SetCurrentFont): Disable number property at boundary.
17180
17181 2001-02-26  Juergen Vigna  <jug@sad.it>
17182
17183         * lyxfunc.C (getStatus): added a string argument override function so
17184         that this is correctly called from LyXFunc::Dispatch if it contains a
17185         do_not_use_argument which is used!
17186         (Dispatch): added check for "custom" export and call appropriate func.
17187
17188 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17189
17190         * lyxrc.C: Add language_command_local, language_use_babel and
17191         language_global_options.
17192
17193         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17194
17195         * buffer.C (makeLaTeXFile): Use language_use_babel and
17196         language_global_options.
17197
17198 2001-02-23  Juergen Vigna  <jug@sad.it>
17199
17200         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17201         which works with LyXText and putted it inside BufferView. Here now we
17202         only call for that part the BufferView::Dispatch() function.
17203
17204         * BufferView.C (Dispatch): added.
17205
17206         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17207         functions which needs to use a LyXText over from LyXFunc.
17208         (MenuInsertLyXFile): added
17209         (getInsetByCode): added
17210         (moveCursorUpdate): added
17211         (static TEXT): added
17212
17213 2001-02-22  Juergen Vigna  <jug@sad.it>
17214
17215         * BufferView_pimpl.C (update): call a status update to see if LyXText
17216         needs it.
17217
17218 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17219
17220         * vc-backend.C (revert): implement for CVS
17221         (getLog): implement for CVS
17222
17223 2001-02-20  Juergen Vigna  <jug@sad.it>
17224
17225         * text2.C (ClearSelection): added BufferView param for inset_owner call
17226
17227         * lyxfunc.C (TEXT): added this function and use it instead of
17228         directly owner->view()-text of getLyXText().
17229
17230 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17231
17232         * src/layout_forms.C: out preamble
17233         * src/layout_forms.h: out preamble
17234         * src/lyx_cb.C: out preamble
17235         * src/lyx_cb.h: out preamble
17236         * src/lyx_gui.C: out preamble
17237         * src/lyx_gui_misc.C: out preamble
17238         * src/lyxfunc.C: connect with guii preamble
17239
17240 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17241
17242         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17243
17244 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17245
17246         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17247         whether to run bibtex.
17248
17249 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17250
17251         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17252
17253 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17254
17255         * Makefile.am (lyx_SOURCES): removed bibforms.h
17256
17257         * vspace.h: doxygen
17258
17259         * text.C (GetVisibleRow): make several local vars const
17260
17261         * tabular.C: small cleanup.
17262
17263         * lyxserver.C (callback): use compare instead of strncmp
17264
17265         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17266         inlines to after class or to paragraph.C
17267
17268         * lyxfont.h: remove friend operator!=
17269
17270         * converter.h: move friend bool operator< to non friend and after
17271         class def.
17272
17273         * combox.h: small cleanup
17274
17275         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17276         to inlines after class def.
17277
17278         * buffer.C (pop_tag): use string operations instead of strcmp
17279
17280         * bmtable.c: doxygen, small cleanup
17281
17282         * LaTeX.h: remove friend operator==
17283
17284 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17285
17286         * screen.C:
17287         * lyxrc.[Ch]:
17288         * lyxfunc.C:
17289         * lyxfont.[Ch]:
17290         * lyx_cb.C:
17291         * intl.[Ch]:
17292         * commandtags.h:
17293         * buffer.C:
17294         * WorkArea.[Ch]:
17295         * LyXAction.C:
17296         * BufferView_pimpl.C:
17297         * BufferView.[Ch]: remove cruft
17298
17299 2001-02-14  Juergen Vigna  <jug@sad.it>
17300
17301         * lyxfunc.C: removed #if 0 unused code
17302
17303         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17304
17305         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17306
17307         * text2.C (SetSelection): added a BufferView * parameter
17308
17309 2001-02-13  Juergen Vigna  <jug@sad.it>
17310
17311         * lyxfunc.C (Dispatch): fixed protected blank problem.
17312         * BufferView2.C (protectedBlank): added LyxText * parameter.
17313
17314         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17315         (AppendColumn): same as above for column_info.
17316
17317         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17318         (moveCursorUpdate): use a LyXText param for support of InsetText.
17319
17320         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17321         (tripleClick): ditto
17322
17323         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17324
17325         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17326
17327         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17328
17329         * text2.C (SetSelection): set correct update status if inset_owner
17330         (ToggleFree): ditto
17331
17332 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17333
17334         * tabular.C: remove some commented code.
17335
17336 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17337
17338         * BufferView_pimpl.C: call hideSplash()
17339
17340         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17341
17342         * include_form.h:
17343         * bibforms.h: remove
17344
17345         * lyxfunc.C:
17346         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17347           add LFUN_CHILD_CREATE
17348
17349         * counters.h: fix tiny typo
17350
17351         * lyx_cb.C:
17352         * lyx.h:
17353         * lyx_gui.C:
17354         * lyx.C: move splash to frontends/xforms/
17355
17356         * lyx_gui_misc.C: move Include and Bibform to frontends
17357
17358         * lyxvc.h: clarify comment
17359
17360         * vspace.C: tiny housekeeping
17361
17362 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17363
17364         * text.C (PrepareToPrint): RTL Fix.
17365
17366         * paragraph.C (GetUChar): New method.
17367         (String):  Use GetUChar.
17368
17369         * buffer.C (asciiParagraph): Use GetUChar.
17370
17371 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17372
17373         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17374
17375 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17376
17377         * buffer.h:
17378         * buffer.C: rename to getLogName(), handle
17379           build log / latex log nicely
17380
17381 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17382
17383         * MenuBackend.C:
17384         * MenuBackend.h: remove support for reference menuitem type.
17385
17386 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17387
17388         * BufferView_pimpl.C: housekeeping
17389         * BufferView_pimpl.h:
17390         * LyXView.h:
17391         * Makefile.am:
17392         * Timeout.C:
17393         * Timeout.h:
17394         * minibuffer.h: move Timeout GUI-I
17395
17396 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17397
17398         * lyxrc.C (read): Update converters data-structures.
17399
17400 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17401
17402         * LaTeX.h (operator!=): add operator != for Aux_Info
17403
17404 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17405
17406         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17407
17408         * LaTeXLog.C: deleted, useful code moved to Buffer
17409
17410         * buffer.h:
17411         * buffer.C: new function getLatexLogName()
17412
17413         * lyx_gui_misc.C:
17414         * lyx_gui.C:
17415         * lyxvc.C:
17416         * lyxvc.h:
17417         * lyxfunc.C: use frontends for LaTeX and VC logs
17418
17419 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17420
17421         * LaTeX.h: yet another std:: that Allan forgot.
17422
17423         * Variables.C (set): renamed from isset(), because this clashes
17424         with some HP-UX macros (grr).
17425
17426 2001-02-06  Allan Rae  <rae@lyx.org>
17427
17428         * LaTeX.h: Another bug fix.  Missing std:: this time.
17429
17430 2001-02-04  Allan Rae  <rae@lyx.org>
17431
17432         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17433         floats problem. I've left it commented out because it's not quite
17434         correct.  It should also test that the current object is a table or
17435         figure inset.  But I haven't gotten around to figuring out how to do
17436         that.  I *think* it'll be something like: "table" == inset.type()
17437
17438         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17439         bool.
17440
17441 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17442
17443         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17444         all the citation/databases/styles in the auxilary file.
17445         (run): Rerun latex if there was a babel language error.
17446
17447 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17448
17449         * text.C (Backspace): Preserve the font when changing newline char
17450         with a space.
17451         (BreakParagraph): If the cursor is before a space, delete the space.
17452
17453         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17454
17455 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17456
17457         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17458         new argument (code).
17459         (ChangeCitationsIfUnique): New method.
17460
17461         * paragraph.C (GetPositionOfInset): Handle bibkey.
17462
17463 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17464
17465         * BufferView_pimpl.h: change type of Position::par_pos to
17466         LyXParagraph::size_type.
17467
17468 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17469
17470         * BufferView_pimpl.C (savePosition, restorePosition): Write
17471         messages to minibuffer.
17472
17473 2001-01-28  José Matos  <jamatos@fep.up.pt>
17474
17475         * buffer.C (makeDocBookFile): adds support for document language.
17476         A silly restriction on the name of LatexCommand types where removed.
17477         Added support for CDATA sections, allows to chars unescaped, used
17478         among others in code, to avoid escape < and >.
17479
17480 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17481
17482         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17483         saved positions instrad of a stack. Furthermore, a position is
17484         stored using paragraph id/paragraph position.
17485
17486         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17487         Remove LFUN_REF_BACK.
17488
17489 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17490
17491         * converter.C (dvipdfm_options): New method.
17492
17493 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17494
17495         * vspace.C (isValidLength): Fix for empty input string.
17496
17497 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17498
17499         * LyXAction.C (init): change description of LFUN_FIGURE to
17500         "Insert Graphics"
17501
17502 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17503
17504         * LaTeX.C: add using directive
17505
17506 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17507
17508         * MenuBackend.C (expand): Fix the sorting of the formats.
17509
17510 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17511
17512         * lyx_main.C: tiny error message fix
17513
17514 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17515
17516         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17517         calling fl_initialize(). This fixes the problem with ',' as
17518         decimal separator in text files.
17519
17520 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17521
17522         * trans.C (process): Fix the keymap bug.
17523
17524 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17525
17526         * LaTeX.C (scanAuxFiles): New method. Provides support for
17527         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17528         (scanLogFile) Scan for "run BibTeX" messages.
17529
17530         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17531         OT1 font encoding. Also, load the aecompl package if the ae
17532         package is loaded.
17533
17534         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17535
17536 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17537
17538         * texrow.C (increasePos): turn two error messages into debug
17539         messages.
17540
17541 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17542
17543         * LaTeX.C (scanAux): Handle the \@input macro.
17544         (runBibTeX): Use scanAux().
17545
17546         * language.C (latex_options_): New field.
17547
17548         * LaTeXFeatures.C (getMacros): Add language macros.
17549
17550         * buffer.C (makeLaTeXFile): Small fix.
17551
17552 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17553
17554         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17555
17556         * text2.C: add a using directive.
17557
17558 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17559
17560         * BufferView2.C:
17561         * lyx_gui_misc.h:
17562         * lyxfr1.C:
17563         * lyxfunc.C: kill LyXBell.
17564
17565 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17566
17567         * text.C (IsBoundary): Remove the error message
17568
17569         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17570
17571         * lyxrc.C (setDefaults): Correct initialization value for
17572         font_norm_type.
17573
17574 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17575
17576         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17577         gotoError().
17578
17579         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17580         and GotoNextNote().
17581
17582         * src/LyXAction.C: Added reference-next.
17583
17584         * text.C (InsertChar): Use contains instead of strchr.
17585
17586         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17587
17588 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17589
17590         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17591         alignment commands (when needed).
17592
17593         * text.C (InsertChar): Add ':' to number separator chars.