]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
cb46f40a5d761d83b614165f4fbbb4b039da1fa6
[lyx.git] / src / ChangeLog
1 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         Fix bug 1892:
4         
5         * text2.C (getStringToIndex): constify cur argument.
6
7         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
8         argument has been given
9         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
10         try to invoke LFUN_INSET_APPLY).
11
12         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
13         if no inset was created by doInsertInset
14         (doInsertInset): return true if an inset has been inserted.
15
16 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
17
18         * vspace.C (asGUIName): new method. A version of the space
19         suitable for showing on screen.
20
21 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
22
23         * MenuBackend.C:
24         * lyxrc.C: rename "ASCII" to "Plain Text"
25
26 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
27
28         * buffer_funcs.C (expandLabel): take a Buffer as argument;
29         translate the labelstring.
30         (setCounter): translate labelstring as needed.
31
32         * output_docbook.C (makeCommand): fix expandLabel invokation
33
34 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
35
36         * BufferView.C: fix dialog title
37
38 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
39
40         * lyx_main.C (priv_exec): fix logic error with help from Angus
41         * lyx_main.C (parse_execute): set is_gui = false and remove now
42         obsolete comment about a segfault
43
44 2005-05-18  Angus Leeming  <leeming@lyx.org>
45
46         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
47
48 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * tabular.[hC]: added setCellInset to fix tabular paste.
51
52 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
53
54         * buffer.C (save): check if destination is writable before trying
55         to copy a file
56
57 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
58
59         * BufferView_pimpl.C (update): fix processEvents -caused update
60         recursion bug
61
62 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
63
64         * buffer_funcs.C (setCounter): fix test for numbering of
65         environments. 
66
67         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
68         depth correctly; use optional argument when it exists
69
70         * lyxtextclass.C: remove unused MaxCounterTags enum
71         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
72         (max_toclevel, min_toclevel): new methods.
73
74         * MenuBackend.C (expandToc2): fix case where depth is smaller than
75         the smallest depth in toc.
76
77         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
78         layouts that should not appear in a table of contents.
79         
80 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
81
82         * cursor.h (undispatched, noUpdate): add comments from André
83
84 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
85
86         * lfuns.h:
87         * LyXAction.C:
88         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
89
90 2005-05-07  André Pönitz  <poenitz@gmx.net>
91
92         * cursor.[Ch] (leaveInset): new function
93
94 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
95
96         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
97
98 2005-05-04  Angus Leeming  <leeming@lyx.org>
99
100         * lyxfunc.C (getStatus): disable the spell checker dialog if
101         none of USE_[AIP]SPELL are defined.
102
103 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
104
105         * tabular.C (setWidthOfCell): remove obsolete comment
106
107 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
108
109         * paragraph.C (bibitem):
110         * buffer_funcs.C (setCounter):
111         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
112
113 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
114
115         * text3.C (getStatus): immediately return after setOnOff
116
117         * rowpainter.C: fix drawing of appendix start
118
119 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
120
121         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
122         SwitchBetweenClasses and remove the unused return value.
123         Handle character styles, too
124
125 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
126
127         * factory.C (createInset): handle undefined character styles
128
129 2005-05-02  Angus Leeming  <leeming@lyx.org>
130
131         * buffer.C: protect the #include of utime.h with a preprocessor
132         guard.
133
134 2005-05-02  Angus Leeming  <leeming@lyx.org>
135
136         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
137         function so that auto-saving works, albeit in a blocking manner.
138
139         * Makefile.am: make compilation of the client sub directory, of
140         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
141         on conditionals set at configure time.
142
143         * SpellBase.[Ch]: no longer an abstract base class. Instead,
144         it can be compiled in its own right but has no-op functionality.
145
146         * aspell.C, pspell.C: remove preprocessor guards. The files should
147         be compiled only if the necessary functionality exists.
148
149         * lyxserver.C, lyxsocket.C: disable on Windows.
150
151 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
152
153         * text.C (leftMargin): Fix the parindent use bug (1764)
154         by dirty trick
155
156 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
157
158         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
159         argument.
160
161 2005-04-25  Angus Leeming  <leeming@lyx.org>
162
163         * Bidi.[Ch]:
164         * coordcache.[Ch]:
165         * ispell.C:
166         * lyxserver.C:
167         * mover.C:
168         * pch.h:
169         include <config.h> in .C files, not .h ones.
170         add licence blurb.
171         protect headers inside preprocessor guards.
172
173 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
174
175         * FuncStatus.h (StatusCodes): document
176
177 2005-04-21  André Pönitz  <poenitz@gmx.net>
178
179         * FuncStatus.h (enabled, onoff): document
180
181 2005-04-19  Angus Leeming  <leeming@lyx.org>
182
183         * BufferView_pimpl.C (cursorToggle): no longer test whether
184         any child processes have been reaped before calling
185         handleCompletedProcesses().
186
187 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
188
189         * text3.C (dispatch): fix, finally fix, the language problem in
190         new lyxtexts, without disabling on-the-fly font changes (Helge's
191         bug report)
192
193 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
194
195         * text3.C (dispatch): set cursor on double/triple click events
196         (bug 1811)
197
198 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
199
200         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
201         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
202
203         * rowpainter.C (paintFirst): simplify the code a little bit. In
204         particular, remove the test for secnumdepth.
205         * text.C (setHeightOfRow): only allocate space for chapter number
206         when updateCounters provided an actual label, instead of looking
207         at secnumdepth directly.
208
209         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
210
211         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
212         paragraphs when secnumdepth is large enough or, for environments,
213         when they are not the first in a sequence.
214
215 2005-04-17  Angus Leeming  <leeming@lyx.org>
216
217         * buffer.C (makeLaTeXFile): replace code to manipulate a path
218         containing space and '~' characters with a call to latex_path().
219
220 2005-04-17  Angus Leeming  <leeming@lyx.org>
221
222         * converter.C (convert): protect all args of convertDefault.sh
223         script with quotes.
224
225 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
226
227         * text3.C (dispatch): change the layout to "Caption" after inserting
228         a float.
229
230 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
231
232         * text3.C (dispatch): fix language problem in newly created
233         textinsets (and main text) in non-english docs
234
235 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
236
237         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
238         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
239         * text3.C (getStatus): disable LFUN_INSET_MODIFY
240
241 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
242
243         * lyxtext.h:
244         * text.C (metrics):
245         * text2.C (getFont):
246         * rowpainter.C (getFont): Fix metrics bug introduced by inset
247         fonts fix
248
249 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
250
251         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
252         output of \item arguments without trailing text.
253
254 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
255
256         * FontIterator.C (operator*): avoid a copy of the font.
257
258 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
259
260         * rowpainter.C (getFont): fix language bug from previous fix
261
262 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
263
264         * rowpainter.C (RowPainter, getFont): fix font inside inset
265         (bugs 1766, 1809)
266
267 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
268
269         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
270         preventing inserted font, deco, delim insets jumping to start of
271         surrounding inset.
272
273 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
274
275         * lyxfunc.C (dispatch): translate message before sending it to the
276         minibuffer.
277
278 2005-03-29  Angus Leeming  <leeming@lyx.org>
279
280         * lyx_main.C (priv_exec): call os::internal_path on each file passed
281         to LyX on the command line.
282
283 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
284
285         * vc-backend.C: use QuoteName to protect file names wherever
286         necessary.
287
288 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
289
290         * buffer.[Ch]:
291         * BranchList.h: fix bugs 1844,1845: document settings don't
292         stick
293
294 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
295
296         * lyxrc.C (setDefaults, read, output, getDescription): add support
297         for tex_allows_spaces.
298
299         * exporter.C (Export): allows files in directory containing spaces
300         if tex_allows_spaces is true.
301
302         * buffer.C (makeLaTeXFile): if the document path contains spaces,
303         output it in double quotes.
304
305 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
306
307         * rowpainter.C: use default text height for drawing change tracker
308         strikeout lines.
309
310 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
311
312         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
313
314 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
315
316         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
317         directory is missing.
318
319 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
320
321         * text2.C: fixed the fix, extended to other case.
322
323 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
324
325         * text2.C: fix for cursor up/down stuck in math [bug 1792]
326
327 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
328
329         * text2.C (cursorUp): get rid of a crash
330         * text.C (x2pos): add an assert
331
332 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
333
334         * lyxfunc.C (getStatus): fix warning when assertions are disabled
335
336         * text3.C:
337         * lyxfunc.C:
338         * dociterator.C: include <boost/current_function.hpp>, which is
339         needed when assertions are disabled.
340
341 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
342
343         * text2.C: fix for stuck cursor when traversing two
344         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
345
346 2005-02-25  Andreas Vox  <avox@arcor.de>
347
348         * output_docbook.C (makeParagraph): suppress trailing newline
349         after a run of paragraphs
350
351 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
352
353         * paragraph.C: fix for confused change tracker when pasting
354         text that begins with a lineseparator. [bug 1827]
355         (setChange(0, Change::INSERTED);)
356
357         * paragraph_funcs.C: fix for lost changes on triple-paste
358         in change tracking mode [bug 1827] (par.setChange()).
359
360 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
361
362         * text2.C (updateCounters, setCounter, expandLabel): move to
363         buffer_funcs.
364
365         * buffer_funcs.C (updateCounters): turn into a free standing
366         function and add a buffer parameter. Remove dead code for tracking
367         labelstring change.
368         (setCounter): change into a free-standing function which gets a
369         dociterator as argument. Use this iterator to fix captions in a
370         simple way. When no float is found above the caption, use the
371         labelstring of the caption layout as default.
372
373         * text.C (breakParagraph, backspace):
374         * text2.C (init, setLayout, changeDepth):
375         * text3.C (dispatch):
376         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
377         updateCounters.
378
379         * dociterator.C (forwardPar): make it much faster by calling
380         forwardPos() only when really necessary.
381
382         * output_docbook.C (makeCommand): adapt to expandLabel move.
383
384         * cursor.C: remove unused variable
385
386 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
387
388         * paragraph_funcs.C: fix crash when pasting insets in change
389         tracking mode [bug 1277] (honour change type in moveItem).
390
391 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
392
393         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
394
395 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
396
397         * BufferView.C (setCursor): change to use a DocIterator.
398         (gotoLabel): use BufferView::setCursor (other part of bug 781).
399         (putSelectionAt): adapt to BufferView::setCursor change.
400
401         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
402         moved here from LyXText and rewritten to use proper cursor
403         methods. Fixes bug 1787, 616 and 835.
404
405         * BufferView_pimpl.C (restorePosition): set the cursor correctly
406         when inside an inset (part of bug 781).
407         (dispatch): adapt to change of BufferView::setCursor.
408         (getStatus, dispatch): handle LFUN_GOTOERROR,
409         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
410
411         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
412         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
413         * text3.C (gotoNextInset, gotoInset): removed.
414
415 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
416
417         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
418
419 2005-02-15  Angus Leeming  <leeming@lyx.org>
420
421         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
422         can be used meaningfully in a comparison.
423
424 2005-02-13  André Pönitz  <poenitz@gmx.net>
425
426         * bufferview_funcs.C (coordOffset): improve cursor drawing
427
428 2005-02-13  André Pönitz  <poenitz@gmx.net>
429
430         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
431         * Cursor.C (dispatch): use fixIfBroken
432         * lyxfunc.C (getStatus): use fixIfBroken
433
434 2005-02-15  Angus Leeming  <leeming@lyx.org>
435
436         * lyx_main.C (error_handler):
437         * lyxfunc.C:
438         * lyxrc.C (setDefaults):
439         s/GetEnv/getEnv/.
440         #include "environment.h".
441
442         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
443
444 2005-02-15  Angus Leeming  <leeming@lyx.org>
445
446         * lyxserver.C (startPipe): squash MSVC warning "local variable
447         'fd' used without having been initialized".
448
449 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
450
451         * BufferView_pimpl.C: revert accidental commit.
452
453 2005-02-14  André Pönitz  <poenitz@gmx.net>
454
455         * dociterator.[Ch]: new member forwardPosNoDescent(),
456         which doesn't enter nested insets.
457         * text2.C (setFont): use forwardPosNoDescent() instead
458         of ForwardPos() (fixes crash on font change).
459
460 2005-02-13  Angus Leeming  <leeming@lyx.org>
461
462         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
463         only if lyxrc.path_prefix is not empty.
464
465 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
466
467         * bufferparams.C (readGraphicsDriver): prevent crash
468
469 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
470
471         * text2.C (setCounter): check for inInset() == 0
472
473 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
474
475         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
476         but use update() to get correct screen display; use convert
477         instead of istringstream.
478         (getStatus): handle LFUN_GOTO_PARAGRAPH
479
480         * lyxfunc.C (dispatch, getStatus): do not handle
481         LFUN_GOTO_PARAGRAPH here.
482
483 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
484
485         * text3.C (dispatch): size() -> depth()
486
487         * text2.C: remove some debug output
488
489         * paragraph.C: ws changes only
490
491         * lyxfunc.C (getStatus): size() -> depth()
492
493         * dociterator.h (clear, push_back, pop_back, internalData,
494         operator[], resize, empty): new functions
495         Make StableDocIterator and operator== be friends. Don't inherit
496         from std::vector use a privat class variable slices_ instead.
497         Modify to fit.
498
499         * dociterator.C: update because of not inheriting from std::vector
500         anymore. Call explictly to slices_ instead. Use depth() instead of
501         size() and top() instead of back()
502
503         * cursor.C: chagne size() -> depth and back() -> top(). Also
504         remove some direct operator[](i) calls in favour of foo[i]
505         (getFont): remove some dead code
506
507         * bufferview_funcs.C (coordOffset): size() -> depth()
508
509         * buffer.C: ws changes only
510
511         * CutAndPaste.C (eraseSelection): back() -> top()
512
513         * BufferView_pimpl.C (selectionRequested): back() -> top()
514
515         * BufferView.C (setCursor): size() -> depth()
516
517 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
518
519         * text3.C (cursorPrevious): return true if depm changed something
520         (cursorNext): ditto
521         (dispatch): rename sl to oldTopSlice, remove moving use the new
522         NoUpdate func attrib instead. Make sure that needsUpdate is set
523         for function that have NoUpdate, but where depm might have changed
524         the buffer anyway.
525
526         * text2.C (cursorLeft): make us return true if depm changed
527         something
528         (cursorRight): ditto
529         (cursorUpParagraph): ditto
530         (curosrDownParagraph): ditto
531         (cursorUp, cursorDown): ditto, make sure to read comments in code
532         (deleteEmptyParagraphMechanism): remove an assert, also return
533         true if just a single char was deleted.
534
535         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
536         cursor that we modify, to avoid modifying an active cursor before
537         we call setCursor. This allows depm to run. Also return true if
538         depm deleted something.
539
540         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
541         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
542         cursorDownParagraph, cursorPrevious and cursorNext, return true if
543         something was changed in the buffer because of them (ie. depm run)
544
545         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
546         debug messages. Make update by default be false. Make sure that
547         the result of update is retained throught several calls down to
548         dispatch.
549
550         * LyXAction.h: add a new func_attrib: NoUpdate
551
552         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
553         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
554         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
555         and LFUN_WORDLEFT
556         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
557
558 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
559
560         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
561         bv_->owner(), bv_->buffer() by direct references to the private
562         members.
563         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
564         (getStatus): isSavedPosition() is in BufferView::Pimpl.
565         (fitCursor): center() is in BufferView::Pimpl.
566         (getStatus, trackChanges, dispatch): no need for a temporary buf
567         variable
568         (fitCursor, workAreaDispatch): use workarea().workheight()
569
570 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
571
572         * CutAndPaste.C (pasteSelectionHelper): fix a crash
573
574 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
575
576         * buffer.C: format up to 241.
577         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
578         break if pasting into ERT
579         * lyxfunc.C (getStatus): suppress mathpanel and
580         LFUN_DIALOG_SHOW_NEW_INSET in ERT
581
582 2005-02-01  Angus Leeming  <leeming@lyx.org>
583
584         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
585
586 2005-02-01  Angus Leeming  <leeming@lyx.org>
587
588         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
589         calling fs::is_directory().
590
591 2005-01-31  Angus Leeming  <leeming@lyx.org>
592
593         * lyx_main.C (priv_exec): specify explicitly the relative location
594         of the top level build directory when run in-place.
595
596 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
597
598         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
599         LyXText containing the cursor, not the top-level one.
600
601         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
602         true.
603         (insertStringAsLines): rename par to pit; use temporary variable
604         par to hold a Paragraph; do not store par.layout() in a variable,
605         since the pointer may die when breaking paragraphs; pass pars to
606         breakParagraph() instead of Buffer::paragraphs().
607
608 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
609
610         * lyxlex_pimpl.h: #include <fstream>.
611
612         * BufferView.[Ch] (getLyXText): add a const version.
613
614         * BufferView_pimpl.C: add debug aids.
615
616         * RowList_fwd.h:
617         * buffer.h:
618         * lyxrow.h:
619         * paragraph_funcs.h: add commentary explaining what the class does.
620
621
622         * coordcache.[Ch]: add lots of commentary.
623         (startUpdating, doneUpdating): debug aids.
624         (arrays, insets, parPos, getParPos): accessors to private data.
625
626         * cursor_slice.[Ch] (text): add a const version.
627         * dociterator.[Ch] (text, innerText): add const versions.
628
629         * lyxtext.h (breakParagraph): change the keep_layout arg to a
630         bool.
631
632         * paragraph.C (getRow, pos2ros): add asserts.
633
634         * paragraph.h: add commentary. Lots of.
635
636         * paragraph.[Ch] (metrucs, draw): removed.
637
638         * cursor.C:
639         * rowpainter.[Ch]: const-correct changes.
640
641         * text.C: various obvious clean-ups. Removal of ancient cruft.
642         Bug fixes, even.
643
644 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
645
646         * vc-backend.C (find_file): rewrite to use boost.filesystem
647         (scanMaster): ditto
648
649         * main.C (main): set default name check for boost.filesystem to
650         no check
651
652         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
653         (open): ditto
654         (doImport): ditto
655         (actOnUpdatedPrefs): ditto
656
657         * lyx_main.C (init): rewrite to use boost.filesystem
658         (queryUserLyXDir): ditto
659
660         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
661         (getContentsOfAsciiFile): ditto
662
663         * lastfiles.C (readFile): rewrite to use boost.filesystem
664
665         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
666
667         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
668         (loadLyXFile): ditto
669
670         * buffer.C (Buffer): adjust for destroydir
671         (getLogName): rewrite to use boost.filesystem
672         (setFileName): ditto
673         (save): use fs::copy_file (from fs_extras)
674
675         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
676
677         * LaTeX.C (run): rewrite to use boost.filesystem
678         (scanAuxFiles): ditto
679         (handleFoundFile): ditto
680
681 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
682
683         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
684
685         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
686
687 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
688
689         * lyxlayout.[Ch]: change some vars from float to double
690
691         * buffer.C (readFile): make a local var const
692
693         * Several files: use convert<> instead of atoi,strToXXX and friends
694
695 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
696
697         * LaTeXFeatures.[Ch]: Add a static list packages_ that
698         holds the contents of packages.lst. New functions getAvailable
699         and isAvailable to parse and check that list, resp.
700
701         * LyXAction.C:
702         * lfuns.h:
703         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
704
705         * bufferparams.[Ch]: new param output_changes.
706
707         * Buffer.C: increase file format to 240.
708         Use output_changes and isVailable.
709
710         * changes.[Ch]:
711         * paragraph.C:
712         * paragraph_pimpl.C: Use output_changes and isVailable.
713
714 2005-01-23  Angus Leeming  <leeming@lyx.org>
715
716         * output_latex.C: #include "insetbibitem.h", rather than
717         forward declare function bibitemWidest.
718
719 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
720
721         * lyx_main.C (init): make it compile on the Mac.
722
723 2005-01-20  Angus Leeming  <leeming@lyx.org>
724
725         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
726         (setLyXMisc): (char string literal) != (char string literal) is
727         performing a comparison on the addresses. Convert one operand
728         explicitly to string to guarantee expected behaviour.
729         From MSVC warning.
730
731 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
732
733         * buffer.C:
734         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
735
736         * output_plaintext.C: remove unneeded #include gzstream.h.
737
738 2005-01-20  Angus Leeming  <leeming@lyx.org>
739
740         * SpellBase.h: rename some of the elements of the Result enum.
741
742         * aspell_local.h:
743         * ispell.h:
744         * pspell.h:
745         * aspell.C (check):
746         * ispell.C (check):
747         * pspell.C (check): ditto
748
749 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
750
751         * buffer.C: add #include <fstream>.
752
753         * lyx_main.C (init): Compile fix.
754
755         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
756
757 2005-01-20  Angus Leeming  <leeming@lyx.org>
758
759         * mover.h: change commentary to reflect the changed meaning of
760         the $$s placeholder.
761
762 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
763
764         * output_linuxdoc.C (linuxdocParagraphs): silence warning
765
766         * lyxfind.C (MatchString::operator()): remove bogus semicolon
767
768 2005-01-20  Angus Leeming  <leeming@lyx.org>
769
770         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
771         printing diagnostic data by not dereferecing an iterator past the
772         end.
773
774 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
775
776         * buffer.C (readHeader): use "&&" rather than "and".
777
778         * lyxserver.h (inPipeName, outPipeName): make these const.
779
780 2005-01-19  Angus Leeming  <leeming@lyx.org>
781
782         * lyx_main.C (error_handler, init): protect SIGHUP with
783         #ifdef SIGHUP guards.
784
785 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
786
787         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
788
789 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
790
791         * text.C (setHeightOfRow): add a margin at the top and bottom of
792         the document (bug 1761)
793
794 2005-01-17  Angus Leeming  <leeming@lyx.org>
795
796         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
797         with "python ". Workaround for a brain-dead Windows.
798
799 2005-01-16  Angus Leeming  <leeming@lyx.org>
800
801         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
802         for MacOSX and Windows to use prependEnvPath.
803         Strip out the hard-coded block to add elements to the PATH for
804         MacOSX and replace it with a call to prependEnvPath using the
805         contents of LyXRC::path_prefix.
806         (queryUserLyXDir): strip out the code to run reconfigure, instead
807         returning a boolean indicating the necessity to do so.
808         (reconfigureUserLyXDir): contains the code to reconfigure the
809         user support directory. Is now called after the various LyXRC data
810         files have been read.
811
812         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
813
814 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
815
816         * converter.[Ch] (convert): take a new parameter try_default. Use
817         a default converter (imagemagick) if try_default is true.
818
819 2005-01-13  Angus Leeming  <leeming@lyx.org>
820
821         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
822         os::cygwin_path_fix.
823         (write): output LyXRC::cygwin_path_fix as necessary.
824
825 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
826
827         * lyxrc.h:
828         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
829
830 2005-01-12  Angus Leeming  <leeming@lyx.org>
831
832         * lyx_main.C (init): set the PATH variable to include the
833         directory containing the LyX binary when running on Mac or Windows.
834
835 2005-01-12  Angus Leeming  <leeming@lyx.org>
836
837         * lyx_main.C (init): remove cruft that purports to set the locale
838         dir. It doesn't and is not needed anyway.
839
840 2005-01-10  Angus Leeming  <leeming@lyx.org>
841
842         * Makefile.am: remove the lyx_main.C special casing.
843
844         * BufferView_pimpl.C:
845         * bufferlist.C:
846         * exporter.C:
847         * lyx_cb.C:
848         * lyx_main.C:
849         * lyxfunc.C:
850         * messages.C: use support/package.h to provide the paths to the
851         various directories used by LyX.
852
853 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
854
855         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
856         layout if pasting into an empty paragraph)
857
858 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
859
860         * tex-accent.C: add <string>
861
862 2005-01-06  José Matos  <jamatos@lyx.org>
863
864         * ParagraphParameters.C (write): put every parameter in its own line.
865         * paragraph.C (write): reduce number of consecutive empty lines exported.
866         * buffer.C (LYX_FORMAT): increase file format to 239.
867
868 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
869
870         * everywhere: change support/tostr.h -> support/convert.h
871
872         * tabular.C: make all write_attributes templates, tostr -> convert
873
874         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
875         (emptyTag): and -> &&, and fix type for ret from getChar
876         (getFirstWord): fix type for ret from getChar
877         (onlyText): and -> &&
878         (simpleDocBookOnePar): and not -> && !, fix type for ret from
879         getChar
880
881         * toc.C (goTo, action):
882         * text3.C (dispatch):
883         * text.C (currentState):
884         * tex-accent.C (DoAccent):
885         * sgml.C:
886         * lyxrc.C:
887         * lyxfunc.C (menuNew):
888         * lyxfinc.C (replace):
889         * counters.C (laberItem):
890         * bufferview_funcs.C (font2string):
891         * bufferparams.C (writeFile):
892         * buffer.C (readFile):
893         * Spacing.C (set):
894         * MenuBackend.C: tostr -> convert
895
896         * LaTeX.C (runMessage): fix format
897         (scanAuxFiles): tostr -> convert
898
899         * BufferView_pimpl.C (savePosition): fix format
900         (restorePosition): ditto
901         (dispatch): ditto
902
903 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
904
905         * Spacing.[Ch]: New method getValueAsString().
906
907         * Spacing.[Ch]:
908         * bufferparams.C:
909         * ParagraphParameters.C:
910         * lyxlayout.C:
911         * text.C:
912         * text3.C: store/read spacing value as string.
913
914         * rowpainter.C: change float value (spacing_val) to double.
915
916         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
917         broken custom document spacing).
918
919 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
920
921         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
922         namespace, also more use of temp references and const
923
924         * cursor.[Ch] (getStatus): move to lyxfunc.C
925
926         * bufferparams.C: reformat slightly
927
928         * bufferview_funcs.C (font2string): constify arg
929
930         * changes.C:
931         * converter.C:
932         * counters.C:
933         * bufferlist.C:
934         * buffer_funcs.C: (many funcs): constify arg on function
935         definitions, also make more local vars const, also add ASSERTS on
936         pointer args.
937
938         * buffer.C (LYX_FORMAT): put const in correct place
939         (many funcs): constify arg on function definitions, also make
940         more local vars const
941
942         * aspell_local.h: remove "struct" from typdef setup
943
944         * aspell.C (check): make word_ok const
945         (nextMiss): simplify slightly
946         (error): ditto
947
948 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
949
950         * lyxrc.[Ch]: store all float values as strings.
951         use int (not float) for lyxrc.dpi.
952
953 2005-01-04  Angus Leeming  <leeming@lyx.org>
954
955         * lyx_cb.C (Reconfigure):
956         * lyx_main.C (queryUserLyXDir):
957         to run the <system_lyxdir>/configure correctly on Windows, prefix
958         the path to the script with "sh " when generating the string that
959         is passed to system().
960
961 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
962
963         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
964
965 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
966
967         * lyxlength.C (asLatexString): get rid of setprecision
968
969 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
970
971         * text2.C (setLayout): remove unused variable endpit.
972         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
973
974         * paragraph.C (onlyText): remove unused variable style.
975
976         * cursor.C (bruteFind): remove unused variables beg and end.
977
978         * Makefile.am (dist_noinset_DATA): not needed anymore
979
980         * cheaders/*: remove.
981
982 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
983
984         * text3.C: fix LFUN_MATH_MODE.
985
986 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
987
988         * buffer_funcs.C (countWords): new function. Counts words between
989         two iterators.
990
991         * BufferView_pimpl.C (getStatus, dispatch): handle
992         LFUN_WORDS_COUNT.
993
994         * LyXAction.C (init):
995         * lfuns.h: add LFUN_WORDS_COUNT.
996
997 2004-12-19  Angus Leeming  <leeming@lyx.org>
998
999         * buffer.C (save): s/slashify_path/internal_path/.
1000
1001 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1002
1003         * lyxfind.C (findChange): do not search for end of pars, because
1004         the change tracker cannot handle this (fixes bug 1719).
1005
1006 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1007
1008         * paragraph.[Ch] (autoBreakRows): remove
1009
1010         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1011
1012         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1013         avoid using the paragraph one
1014
1015         * text2.C (LyXText, insertStringAsLines): adjust
1016
1017 2004-12-16  Angus Leeming  <leeming@lyx.org>
1018
1019         * bufferlist.C:
1020         * lyx_main.C:
1021         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1022
1023 2004-12-14  Angus Leeming  <leeming@lyx.org>
1024
1025         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1026
1027         * bufferlist.C (emergencyWrite):
1028         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1029         GetEnvPath("HOME").
1030
1031 2004-12-14  Angus Leeming  <leeming@lyx.org>
1032
1033         * main.C: (main): no longer pass pointers to os::init.
1034
1035 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1036
1037         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1038         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1039
1040 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1041
1042         * lyxfunc.C:
1043         * text3.C: remove selection_possible global flag
1044
1045 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1046
1047         * text2.C (getSelectionSpan): remove
1048         (changeDepth, changeDepthAllowed): adjust
1049
1050 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1051
1052         * Makefile.am (BOOST_LIBS): use boost variables
1053
1054 2004-12-03  José Matos  <jamatos@lyx.org>
1055
1056         * buffer.C: format up to 238.
1057
1058 2004-12-03  José Matos  <jamatos@lyx.org>
1059
1060         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1061
1062 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1063
1064         * cursor.C (goUpDown): remove call to idxUpDown2
1065
1066 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1067
1068         * tabular.[Ch]: use size_t-like types for cell, row and column
1069         indices
1070
1071 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1072
1073         * lyxfunc.C (getStatus): do not lose previous information when
1074         calling BufferView::getStatus; do not set a default "Command
1075         disabled" message at the beginning, but just before returning.
1076
1077 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1078
1079         * cursor.h (getStatus): add better comment from src/cursor.C
1080
1081 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1082
1083         * text3.C (getStatus): return false when the lfun is not handled
1084
1085 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1086
1087         * broken_headers.h: remove
1088
1089         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1090
1091 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1092
1093         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1094         offset_ref accessors
1095
1096         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1097         top_y_, merge fitcursor with update
1098         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1099         coord scheme
1100         (metrics): introduce
1101         (workAreaDispatch): adapt to new coord scheme
1102         (redoCurrentBuffer): remove
1103
1104         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1105
1106         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1107         CurStatus enum.
1108
1109         * coordcache.[Ch]: add paragraph cache and helpers
1110
1111         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1112         adjust everywhere
1113
1114         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1115         (targetX, setTargetX): introduce
1116
1117         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1118         baseline -> ascent, as the rest of lyx
1119
1120         * lyxtext.h: remove redoParagraphs, updateParPositions,
1121         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1122         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1123         have ascent/descent (ascent is ascent of first par)
1124
1125         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1126         step of BufferView
1127
1128         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1129
1130         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1131
1132         * pariterator.C: fix infinite loop introduced in par->pit renaming
1133
1134         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1135         in insets and LyXText, draw two off-screen paragraphs using
1136         NullPainter, and adapt to new coord scheme
1137
1138         * text.C:
1139         * text2.C:
1140         * text3.C: adapt lfun handlers to the new coord scheme, which
1141         means: there's only guaranteed coord information for onscreen pars
1142         plus one above and one below. This implies that one can do search
1143         from y coordinates in the range [-1,workHeight]
1144
1145 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1146
1147         * rename a lot of InsetOld to InsetBase
1148
1149 2004-11-25  Angus Leeming  <leeming@lyx.org>
1150
1151         * BufferView_pimpl.C:
1152         * lyx_cb.C:
1153         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1154
1155 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1156
1157         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1158         call BufferView::getStatus if LCursor::getStatus did nothing
1159         (setStatusMessage, getStatusMessage): removed.
1160
1161         * FuncStatus.C (message): new methods. Used to provide an error
1162         message indicating why a command is disabled.
1163         (clear, |=, FuncStatus): update for message.
1164
1165 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1166
1167         * lyxfunc.C (dispatch): always call sendDispatchMessage
1168
1169 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1170
1171         * BufferView.C:
1172         * BufferView_pimpl.C:
1173         * CutAndPaste.C:
1174         * FontIterator.C:
1175         * buffer.C:
1176         * cursor.C:
1177         * cursor_slice.[Ch]:
1178         * dociterator.[Ch]:
1179         * lyxfind.C:
1180         * paragraph_funcs.C:
1181         * pariterator.C:
1182         * rowpainter.C:
1183         * text.C:
1184         * text2.C:
1185         * text3.C:
1186         * undo.C: par->pit renaming
1187
1188 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1189
1190         * tabular.C (cellstruct): use initialization, store a shared_ptr
1191         to insettext instead of the insettext directly, adjust to fit.
1192         (operator=):  new function
1193         (swap): new function
1194         (rowstruct): use initialization
1195         (columnstruct): use initialization
1196         (ltType): use initialization
1197
1198
1199         * lyxlength.h (swap): new function
1200
1201         * LColor.[Ch] (operator=): use the common semantics
1202
1203 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1204
1205         * lyxfind.C (findNextChange): update the bufferview after setting
1206         the selection.
1207
1208 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1209
1210         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1211         number of InsetOptArgs has already been inserted.
1212
1213         * output_latex.C (latexOptArgInsets): new method. This outputs all
1214         the optarg insets, up to the limit defined in the layout file.
1215         (optArgInset): removed
1216         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1217
1218 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1219
1220         * paragraph.C (isLetter): remove special spellchecker-related
1221         code; return true also for digits
1222         (isWord, isKomma): remove
1223
1224         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1225         * lyxfind.C (MatchString()): use isLetter instead of isWord
1226
1227 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1228
1229         * pariterator.h (operatir=): comment out un-implemented member
1230         function.
1231
1232         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1233         static cast.
1234
1235 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1236
1237         * lyxfont.h: include LColor.h to satisfy concept checks.
1238
1239 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1240
1241         * pariterator.h: add typdefs for value_type, difference_type,
1242         pointer and reference to satisfy concept checks. Also add default
1243         constructor for same reason.
1244
1245         * pariterator.C (operator++): add post-increment operator to
1246         satisfy concept checks.
1247
1248         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1249         checks.
1250
1251         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1252
1253         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1254         checks. Also rename base_type to BaseType to follow naming
1255         standard better.
1256
1257         * FloatList.h: include Floating.h to satisfy concept checks.
1258
1259 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1260
1261         * lyxfunc.C (getStatus): when the origin of the request is menu or
1262         toolbar, and the LyXView does not have focus, do as if there was
1263         no buffer (bug 1720)
1264
1265         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1266         FuncRequest to individual entries of LFUN_SEQUENCE
1267
1268 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1269
1270         * output_latex.C (TeXOnePar): override runparams.moving_arg
1271         according to the needprotect value of the current paragraph (bug
1272         1739)
1273
1274         * paragraph.C (simpleTeXOnePar): no need to override
1275         runparams.moving_args here
1276
1277 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1278
1279         * vspace.C: fix off-by-one-error, related to fix #1682
1280
1281 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1282
1283         * lengthcommon.C: a more general fix for bug 1682
1284
1285 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1286
1287         * text.C (backspace): fix crash
1288
1289 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1290
1291         * format.[Ch] (getFormatFromFile): new method
1292         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1293
1294 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1295
1296         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1297
1298 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1299
1300         * lyxfunc.C (dispatch): remove the verbose argument
1301         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1302         instead
1303
1304         * kbmap.C (defkey): set the origin of func to KEYBOARD
1305
1306         * MenuBackend.C (MenuItem):
1307         * ToolbarBackend.C (add): set the origin of func to UI
1308
1309         * funcrequest.[Ch]: add origin member, which indicates which part
1310         of LyX requests an action
1311
1312 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1313
1314         * converter.C (move): don't lie in the error message
1315         * converter.h (isReachable, move): document
1316
1317 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1318
1319         * buffer.C: remove unused using lyx::support::atoi
1320         * paragraph_funcs.C: ditto
1321
1322 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1323
1324         * bufferlist.C (exists): use bind and equal_to instead of
1325         compare_memfun
1326         (getBuffer): ditto
1327         * lyxtextclasslist.C (NumberOfClass): ditto
1328
1329         * cursor.C (insert): use for_each instead of explicit for loop
1330
1331         * bufferlist.C (getFileNames): use std::transform and
1332         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1333
1334         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1335         for loop
1336
1337         * buffer.C (changeLanguage): use for_each instead of explicit for
1338         loop
1339         (hasParWithID): implement using getParFromID
1340
1341         * LaTeXFeatures.C: ws change only
1342
1343         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1344         to cleanup a bit.
1345
1346         * BufferView_pimpl.C (trackChanges): use for_each instead of
1347         expilicit for loop
1348
1349 2004-11-04  André Pönitz  <poenitz@gmx.net>
1350
1351         * undo.h:
1352         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1353
1354         * dociterator.C (asDocIterator): use hard assert again.
1355
1356 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1357
1358         * lyxlength.C (asLatexString): rewrite so that it does not use
1359         snprintf anymore
1360
1361 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1362
1363         * text3.C (specialChar, dispatch): make sure cursor moves to the
1364         right after inserting an inset
1365
1366 2004-11-02  José Matos  <jamatos@lyx.org>
1367
1368         * output_docbook.C (docbook):
1369         * paragraph.C (getID):
1370         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1371         garantee that the output is always legal.
1372
1373         * tabular.C (docbook):
1374         * outputprams.[Ch]: remove mixed contents.
1375
1376 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1377
1378         * text2.C (setCounter): prevent endless loop
1379
1380 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1381
1382         * exporter.C (copyFile): use the mover instead of support::copy()
1383         * exporter.C (Export): pass format and latex name to copyFile()
1384         * exporter.h (addExternalFile): document
1385         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1386
1387 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1388
1389         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1390
1391 2004-10-30  José Matos  <jamatos@lyx.org>
1392
1393         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1394         text and no inset or font change. This allows to use CDATA
1395         sections just for the whole paragraph.
1396
1397 2004-10-30  José Matos  <jamatos@lyx.org>
1398
1399         * paragraph.C (getFirstWord): remove unused variable.
1400
1401 2004-10-30  José Matos  <jamatos@lyx.org>
1402
1403         * paragraph.C (getFirstWord): the content should always be escaped
1404         there.
1405         (simpleDocBookOnePar):
1406         * output_docbook.C (makeEnvironment): replace reference to CDATA
1407         to style pass_thru.
1408
1409 2004-10-30  José Matos  <jamatos@lyx.org>
1410
1411         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1412
1413 2004-10-30  José Matos  <jamatos@lyx.org>
1414
1415         * output_docbook.C (makeParagraphs):
1416         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1417         standard paragraph has only a given type of content drop the wrapper.
1418
1419 2004-10-29  José Matos  <jamatos@lyx.org>
1420
1421         * output_docbook.C (makeEnvironment):
1422         * sgml.C (openTag):
1423         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1424
1425 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1426
1427         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1428         (cleanID): sanitize any id.
1429
1430 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1431
1432         * buffer.C, lyxlex_pimpl.C:
1433         * lyxlex_pimpl.C (setFile):
1434         s/getExtFromContents/getFormatFromContents/
1435
1436 2004-10-28  José Matos  <jamatos@lyx.org>
1437
1438         * output_docbook.C (makeEnvironment): move id to broadest possible
1439         scope.
1440
1441         * sgml.C (openTag): apply substitution of <> for all attributes.
1442
1443 2004-10-28  José Matos  <jamatos@lyx.org>
1444
1445         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1446         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1447         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1448
1449         * sgml.[Ch]: new version for open and closeTag for paragraph and
1450         for strings. Now they handle the ids of paragraphs.
1451
1452 2004-10-26  Angus Leeming  <leeming@lyx.org>
1453
1454         * Makefile.am: add mover.[Ch].
1455
1456         * converter.C (convert, move): use the new Movers to move external
1457         files to the temp directory.
1458
1459         * lyx_main.C (init): ensure that the global system_movers data
1460         is initialised.
1461
1462         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1463         preferences file.
1464
1465         * mover.[Ch]: new files, defining a Mover as a utility to move an
1466         external file between directories and, if necessary, manipulate this
1467         file using a helper script.
1468
1469 2004-10-25  José Matos  <jamatos@lyx.org>
1470
1471         * output_docbook.C (makeCommand): merge two if's that tested the
1472         same condition.
1473
1474 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1475
1476         * sgml.C (escapeString): fix warning in a better way
1477
1478 2004-10-25  José Matos  <jamatos@lyx.org>
1479
1480         * sgml.C (escapeString): import the require boosts header file for
1481         tie, and avoid a signed unsigned comparison.
1482
1483 2004-10-25  José Matos  <jamatos@lyx.org>
1484
1485         * sgml.h: add #include <string>
1486
1487 2004-10-25  José Matos  <jamatos@lyx.org>
1488
1489         * sgml.[Ch] (escapeString): new function to escape all the string.
1490
1491 2004-10-24  José Matos  <jamatos@lyx.org>
1492
1493         * paragraph.[Ch] (getFirstWord): new function to get the first
1494         word. Useful for description.
1495         (simpleDocBookOnePar): remove depth argument, add another that
1496         says where to start the paragraph.
1497
1498         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1499         use the new functions to fix cleanly the support for descriptions.
1500
1501 2004-10-24  José Matos  <jamatos@lyx.org>
1502
1503         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1504         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1505         * output_linuxdoc.C (linuxdocParagraphs):
1506         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1507         add buffer as argument.
1508
1509 2004-10-24  José Matos  <jamatos@lyx.org>
1510
1511         * output_docbook.C (makeEnvironment, searchEnvironment): place
1512         CDATA inside paragraphs and fix scope for listitems.
1513
1514 2004-10-24  José Matos  <jamatos@lyx.org>
1515
1516         * output_docbook.C: remove using statement for stack.
1517
1518 2004-10-23  José Matos  <jamatos@lyx.org>
1519
1520         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1521         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1522         docbook. The new scheme is recursive and makes use of iterators, the
1523         same as latex export works.
1524         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1525         directly with the paragraph contents. This code was moved up to
1526         output_docbook.C (docbookParagraphs).
1527         * sgml.C (openTag, closeTag): removed unneeded newlines.
1528         (closeEnvTags) removed.
1529
1530 2004-10-23  André Pönitz  <poenitz@gmx.net>
1531
1532         * undo.C (textUndoOrRedo):
1533         * dociterator.C (asDocIterator): work around crash
1534
1535         * cursor.C (getStatus): replace ASSERT by more verbose error message
1536           and manual correction of the problem. Should increase stability
1537           while providing more sensible information.
1538
1539 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1540
1541         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1542
1543         * bufferlist.C (previous, next): new methods
1544
1545         * lfuns.h:
1546         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1547
1548 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1549
1550         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1551         entities to preamble.
1552
1553 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1554
1555         * messages.C (Pimpl): strip off translation context information
1556
1557 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1558
1559         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1560         the cursor is correct (bug 1694)
1561
1562 2004-10-13  José Matos  <jamatos@lyx.org>
1563
1564         * output_docbook.C (docbookParagraphs): fix closing tags in the
1565         end of the document.
1566
1567 2004-10-09  José Matos  <jamatos@lyx.org>
1568
1569         * buffer.C: format up to 237.
1570         * bufferparams.C (write): use tostr to convert booleans to strings.
1571
1572 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1573
1574         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1575
1576 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1577
1578         * LaTeX.C: implement use of babel language in xindy.
1579
1580 2004-10-05  José Matos  <jamatos@lyx.org>
1581
1582         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1583         Add new translators to help reading and writing the lyx file.
1584
1585 2004-10-05  José Matos  <jamatos@lyx.org>
1586
1587         * ParagraphParameters.C (read):
1588         * text.C (readParToken): replace nexToken by more appropriate lex
1589         methods.
1590
1591 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1592
1593         * LaTeX.C (runMakeIndex):
1594         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1595         (usually 'makeindex') configurable.
1596
1597         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1598         with a variable rather than with a number.
1599
1600 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1601
1602         * output_latex.C (TeXOnePar): make sure font setting is the first
1603         thing that gets output (and the last at the end). Should fix bug
1604         1404.
1605
1606 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1607
1608         * pch.h: use proper signal include
1609
1610         * LaTeX.h: Use preferred calling of Boost.Signal
1611         * buffer.h: ditto
1612
1613 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1614
1615         * pch.h: dont include <boost/function/function0.hpp>
1616
1617         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1618
1619         * paragraph_pimpl.h: remove usage of ShareContainer
1620
1621         * paragraph_pimpl.C: remove initialization of ShareContainer.
1622
1623 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1624
1625         Fix bug #1666
1626
1627         * BufferView.C (putSelectionAt): change the semantics when
1628         backwards == true: now, this just swaps cursor and anchor wrt the
1629         forward case
1630
1631         * BufferView.h (putSelectionAt): add some documentation
1632
1633         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1634         make sure backwardChar is done at least once (to avoid getting
1635         stuck)
1636         (findNextChange): use putSelectionAt in the forward direction
1637         (operator()): use Paragraph::isWord
1638
1639 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1640
1641         * Spacing.C (set): c_str fix
1642
1643 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1644
1645         * lyx_cb.C (Reconfigure): quote the name of configure script in
1646         case it contains spaces
1647
1648 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1649
1650         * client: new dir
1651
1652         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1653         (BOOST_LIBS): use top_buildir when looking for the file
1654
1655 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1656
1657         * pch.h: do not use include boost/format.hpp, multiple symbols
1658                 will result (gcc bug)
1659
1660
1661 2004-08-23  José Matos  <jamatos@lyx.org>
1662
1663         * bufferparams.C (readToken): fix reading of the author field.
1664
1665 2004-08-20  José Matos  <jamatos@lyx.org>
1666
1667         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1668
1669 2004-08-20  José Matos  <jamatos@lyx.org>
1670
1671         * lyxlex.[Ch] (findToken): remove function.
1672
1673         * ParagraphParameters.C (findToken):
1674         * bufferparams.C (findToken): replace call for previous function
1675         with local copy. This local function has one more argument, the
1676         read string argument.
1677
1678 2004-08-16  José Matos  <jamatos@lyx.org>
1679
1680         * ParagraphParameters.C (write):
1681         * Spacing.C (writeFile):
1682         * bufferparams.C (writeLaTeX):
1683         * lyx_cb.C (Reconfigure):
1684         * paragraph.C (write):
1685         * tabular.C (write): remove unnecessary space at end of line.
1686
1687
1688 2004-08-16  José Matos  <jamatos@lyx.org>
1689
1690         * text.C (readParagraph): remove debug message.
1691
1692 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1693
1694         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1695         crash
1696
1697         * output_plaintext.C (asciiParagraph): set depth correctly
1698
1699         * outputparams.h: add member depth
1700
1701         * paragraph_funcs.C (ownerPar): remove.
1702
1703         * text2.C (setCounter): remove first_pit; comment out some
1704         non-working code that uses ownerPar
1705
1706         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1707         uses ownerPar
1708
1709 2004-08-16  José Matos  <jamatos@lyx.org>
1710
1711         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1712         For the same level of importance use the same chanel to report problems.
1713         (read): add code to deal with \begin_body and \end_body.
1714
1715
1716 2004-08-15  José Matos  <jamatos@lyx.org>
1717
1718         * lyxlex.C (getString): fix comment, buffer::readBody is now
1719         buffer:readDocument.
1720
1721         * tex-strings.C (string_papersize): Default -> default,
1722         Custom -> custom, for consistency with other options.
1723
1724 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1725
1726         * pch.h: new file
1727
1728         * Makefile.am: support pch
1729
1730 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1731
1732         * text.C (readParToken): remove the static LyXFont variable and
1733         pass it as a parameter instead. This fixes a nasty bug where an
1734         inset will be inserted with a bad font in some situations
1735         (readParagraph): adapt
1736
1737         * text2.C (setCounter): reduce number of calls to pars_[pit]
1738
1739         * text.C (singleWidth): add an assert, fix a test
1740
1741         * rowpainter.C (paintText): reduce number of calls to singleWidth
1742
1743         * paragraph.C (isHfill):
1744         (isNewline): ws only
1745
1746 2004-08-14  André Pönitz  <poenitz@gmx.net>
1747
1748         * text.C:
1749         * text2.C:
1750         * rowpainter.C:
1751         * lyxtext.h (several functions): use a Paragraph & argument
1752         instead of par_type
1753
1754 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1755
1756         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1757
1758         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1759
1760         * text.C (singleWidth): remove useless test
1761
1762 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1763
1764         * tabular.h: remove bogus comments
1765
1766         * tabular.C (getDescentOfRow):
1767         (isPartOfMultiColumn): add assertions
1768
1769         * lyxlength.C (inPixels): remove #warning
1770
1771 2004-08-14  André Pönitz  <poenitz@gmx.net>
1772
1773         * paragraph.h: inline getChar()
1774
1775         * BufferView.h: remove unused declarations
1776
1777 2004-08-14  José Matos  <jamatos@lyx.org>
1778
1779         * Buffer.[Ch] (readDocument): new name for old readBody.
1780         * Buffer.C: new file format, new keywords: \begin_document,
1781         \begin_header, \begin_body, \end_body.
1782
1783         * bufferparams.C (readToken): replace all calls to lex.nextToken
1784         by lex.next(). Do the same to eatLine except where really needed.
1785
1786         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1787         line when writing to the lyx file.
1788
1789         * output_plaintext.C (asciiParagraph): fix Bibliography style
1790         handling.
1791
1792         * text.C (read): fix end of file handling.
1793
1794 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1795
1796         * MenuBackend.C (Menu::operator[]): new method to access
1797         individual menu items
1798         (Menu::hasFunc): new method. search for an item that corresponds
1799         to a given func
1800         (MenuBackend::specialMenu): new method
1801         (MenuBackend::expand): if a special menu has been set, skip
1802         entries whose func() appears in this menu
1803
1804 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1805
1806         * text3.C: use Debug::DEBUG a bit more
1807
1808         * text.C (leftMargin): try to simplify a tiny bit change var x to
1809         l_margin. Dont output the wide margins always.
1810         (rightMargin): no margin in inner texts
1811
1812         * rowpainter.h (nestMargin): new func
1813         (changebarMargin): new func
1814         (rightMargin): new func
1815
1816         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1817         now functions.
1818         (paintLast): ditto
1819
1820         * factory.C (createInset): modify setDrawFrame
1821
1822         * cursor.C: use Debug::DEBUG a bit more
1823
1824 2004-08-14  André Pönitz  <poenitz@gmx.net>
1825
1826         * coordcache.[Ch]:
1827         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1828         cache for all insets in (at least partially) visible (top-level)
1829         paragraphs.
1830
1831         * BufferView_pimpl.C: reset external coord cache before every update.
1832         This means the coord cache only contains valid entries.
1833
1834 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1835
1836         bug 1096
1837         * BufferView_pimpl.C (getInsetByCode): move function out of class
1838         and change in to a template in anon namespace. Also fix to do what
1839         suits us better.
1840
1841 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1842
1843         bug 1305
1844         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1845         of char
1846         (breakParagraph): rename par to par_offset and use a local
1847         reference. Add code to keep the language over a rebreak.
1848         (breakParagraphConservative): rename par to par_offset, use a
1849         local reference
1850         (mergeParagraph): ditto
1851         (outerHook): ditto
1852         (isFirstInSequence): ditto
1853         (outerFont): rename pit to par_offset
1854
1855         * paragraph.C: ws change
1856         * paragraph.h: ditto
1857         * text3.C: ditto
1858         * text.C: ditto
1859
1860 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1861
1862         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1863         treatment for ']'
1864
1865         * paragraph.C (simpleTeXOnePar): when we have a \item with
1866         optional argument, enclose the argument with curly brackets (in
1867         case it contains a closing square bracket)
1868
1869         * text2.C (editXY):
1870         * text2.C (editXY):
1871         * text3.C (checkInsetHit): constify
1872
1873 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1874
1875         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1876         documents (bug 1629)
1877
1878 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1879
1880         Fix toggling of collapsable insets with the mouse (bug 1558)
1881
1882         * lyxfunc.C (dispatch): adapt to LCursor changes
1883
1884         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1885         make sure that dispatch is not invoked twice
1886
1887         * cursor.C (needsUpdate): new method
1888         (dispatch): return void
1889         (result): new method, to access the DispatchResult of the cursor.
1890
1891 2004-08-13  José Matos  <jamatos@lyx.org>
1892
1893         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1894
1895 2004-08-13  André Pönitz  <poenitz@gmx.net>
1896
1897         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1898
1899         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1900           multiple cells
1901
1902 2004-08-12  André Pönitz  <poenitz@gmx.net>
1903
1904         * text3.C: take out the 'cursor right' form insertInset and only
1905         do it in those places when it is really needed. Fixes crash on
1906         C-m...
1907
1908 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1909
1910         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1911
1912         * BufferView_pimpl.C (setBuffer): initialize the current font of
1913         the underlying LyXText
1914
1915 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1916
1917         * kbsequence.C (print): use UI native formatting for menu
1918         shortcuts
1919
1920         * text.C (insertChar): call Paragraph::insertChar with a font
1921         argument (cosmetic)
1922
1923         * paragraph.C (insertInset, insertChar): the version that takes a
1924         LyXFont argument is now a wrapper around the other one (the
1925         opposite used to be true).
1926
1927         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1928         argument. Font setting is done in Paragraph now.
1929
1930 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1931
1932         * outputparams.h: add new members intitle and lang.
1933
1934         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1935         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1936
1937 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1938
1939         * text3.C (dispatch): remove special handling of button 4 and 5,
1940         it is now taken care of in the frontend code.
1941
1942 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1943
1944         * Spacing.h: add <string> (STLPort compile fix)
1945
1946 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1947
1948         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1949
1950 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1951
1952         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1953         to bool.
1954
1955         * converter.C (showMessage): inherit from unary_function, make
1956         operator() const.
1957
1958         * buffer.C (writeFile): initialize retval
1959
1960         * InsetList.h: rename private variable list to list_
1961         * InsetList.[Ch]: adjust accordingly.
1962
1963 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1964
1965         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1966         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1967         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1968         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1969         * ParagraphParameters.C, LaTeXFeatures.C: replace
1970         "support/std_sstream.h" with <sstream>
1971
1972 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1973
1974         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1975         * lyxsocket.C (LyXServerSocket): ditto
1976         (serverCallback): ditto
1977
1978 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1979
1980         * LaTeXFeatures.C: check release date when loading jurabib.
1981
1982 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1983
1984         * lyxserver.C (startPipe): call register_socket_callback
1985         (endPipe): call unregister_socket_callback
1986
1987 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1988
1989         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1990         (LyXServerSocket): register the callback
1991         (LyXServerSocket): unregister the callback
1992         (fd): delete function
1993         (serverCallback): improve error checking and setup the callbacks.
1994         (dataCallback): change arg to fd.
1995         (writeln): new func (copied fro the client socket) used for server
1996         write to client.
1997         (LyXDataSocket): simplify
1998         (~LyXDataSocket): close ann unregiser callback
1999         (server): delete function
2000         (fd): delete function
2001         (readln): small changes, improve some std::string usage
2002         (writeln): constify a bit
2003
2004 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2005
2006         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2007         Qt frontend
2008
2009 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2010
2011         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2012         after it has been populated
2013
2014 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2015
2016         * text2.C (insertInset): move cursor when inserting inset.
2017
2018 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2019
2020         * kbmap.C (findbindings): a couple of new methods. returns a
2021         container of kb_sequence objects. The real work is done by the
2022         private recursive version
2023         (printbindings): uses findbindings to print out a bracketed list
2024         of bindings (renamed from findbinding).
2025
2026         * MenuBackend.C (binding): use kb_keymap::findbindings
2027
2028         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2029
2030 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2031
2032         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2033
2034 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2035
2036         * paragraph.C (isWord): return true on insets that report
2037         isLetter().
2038
2039         * text.C (getWord): use Paragraph::isWord to decide what is in a
2040         word and what is not; fix bug 1609.
2041
2042 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2043
2044         * tex-strings.C: add "none" to string_paperpackages[], fixes
2045         off-by-one-error in the paperpackage selection.
2046
2047         * lyxlex.[Ch]:
2048         * tex-strings.[Ch]: char const * string[n]
2049         -> char const * const string[]
2050
2051 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2052
2053         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2054         command, return early.
2055
2056 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2057
2058         * debug.h: add DEBUG to enum and fix size of ANY.
2059
2060         * debug.C: add support for Debug::DEBUG
2061         (showTags): cast errorTags.level to unsigned int
2062
2063         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2064         (redoCurrentBuffer): ditto
2065         (updateScrollbar): ditto
2066         * cursor.C (dispatch): ditto
2067         * text2.C (setLayout): ditto
2068         (setFont): ditto
2069         (updateCounters): ditto
2070         (editXY): ditto
2071         (deleteEmptyParagraphMechanism): ditto
2072
2073 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2074
2075         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2076         annotations to cleanup the Makefile slightly.
2077
2078 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2079
2080         * lyxrc.C: do not set user_email to a default value but use empty
2081         instead. The entry used to be translated, which does not work
2082         since at the point where lyxrc is constructed there is no
2083         translation service available
2084
2085         * messages.C (getLocaleDir): remove and use directly
2086         lyx_localedir() instead
2087
2088 2004-06-02  Angus Leeming  <leeming@lyx.org>
2089
2090         Fix crash caused by dereferencing null pointer 'exportdata' in
2091         OutputParams by creating a new ExportData variable on the heap,
2092         storing it in a boost::shared_ptr.
2093         The crash was triggered when generating an Instant Preview
2094         of an external inset.
2095
2096         * Makefile.am: add outputparams.C
2097
2098         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2099         (c-tor): allocate memory to it.
2100
2101         * exporter.C (c-tor): associated changes.
2102
2103 2004-06-01  Angus Leeming  <leeming@lyx.org>
2104
2105         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2106         contains data before calling isInset(0). (Bug 1513.)
2107
2108 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2109
2110         * exporter.C (checkOverwrite): new method
2111         * exporter.C (copyFile): new method
2112         * exporter.C (Export): copy referenced files to the document dir
2113         * exporter.[Ch]: new class ExportedFile
2114         * exporter.[Ch]: new class ExportData. Contains currently the
2115         names of referenced external files
2116         * outputparams.h: add exportdata member.
2117
2118 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2119
2120         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2121         version.C-tmp
2122
2123 2004-05-19  Angus Leeming  <leeming@lyx.org>
2124
2125         * LaTeXFeatures.C:
2126         * ToolbarBackend.C:
2127         * bufferparams.C:
2128         * lyxfunc.C: small changes due to the introduction of namespace
2129         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2130
2131 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2132
2133         * text3.C (dispatch): supress update when only moving the cursor
2134         * cursor.C (selHandle): remove commented code
2135
2136 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2137
2138         * paragraph.C (startTeXParParams): correct column count
2139         * CutAndPaste.C (pasteSelection): remove const_cast
2140         * output_docbook.C (docbookParagraphs): remove const_cast
2141         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2142         const_cast and return ParagraphList::const_iterator
2143         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2144         * output_plaintext.C (writeFileAscii): remove const_cast
2145         * paragraph.[Ch] (simpleTeXOnePar): make const
2146         * paragraph_funcs.C (outerPar): use const iterators
2147         * paragraph_pimpl.C (validate): use const iterators
2148         * text.C (setHeightOfRow): use const iterators
2149
2150 2004-05-17  Angus Leeming  <leeming@lyx.org>
2151
2152         * lfuns.h:
2153         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2154
2155         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2156         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2157         if the citation engine has changed.
2158
2159 2004-05-14  José Matos  <jamatos@lyx.org>
2160
2161         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2162         if the textclass does not provide it. Have it different for sgml and
2163         xml.
2164         support the language of document.
2165         * output_docbook.C (docbookParagraphs):
2166         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2167         first anchor as the id of the paragraph, remove special case code.
2168         * sgml.C (escapeChar): escape only < & >.
2169
2170 2004-05-14  Angus Leeming  <leeming@lyx.org>
2171
2172         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2173         dependencies on src/frontends/controllers/biblio.h. Define a
2174         CiteEngine_enum wrapper class to enable the enum to be forward
2175         declared.
2176
2177 2004-05-12  Angus Leeming  <leeming@lyx.org>
2178
2179         * buffer.C: up LYX_FORMAT to 234.
2180         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2181         use_numerical_citations with a single biblio::CiteEngine cite_engine
2182         variable.
2183         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2184
2185 2004-05-13  José Matos  <jamatos@lyx.org>
2186
2187         * converter.h:
2188         * converter.C (Converter, readFlags): add xml member.
2189         * outputparams.h: add XML flavor.
2190         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2191
2192 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2193
2194         * lyxfunc.C (dispatch):
2195         (getStatus): fix handling of LFUN_SEQUENCE
2196
2197 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2198
2199         * debug.C (showLevel): do not forget the end-of-line marker
2200
2201 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2202
2203         * kbmap.C (read): do not stop parsing a bind file when an error
2204         occurs (bug 1575)
2205
2206 2004-04-29  Angus Leeming  <leeming@lyx.org>
2207
2208         * cursor.C:
2209         * factory.C:
2210         * pariterator.C:
2211         * text2.C: wrap a bunch of #warning statements
2212         inside #ifdef WITH_WARNINGS blocks.
2213
2214 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2215
2216         * buffer.C: increment format to 233.
2217
2218 2004-04-28  Angus Leeming  <leeming@lyx.org>
2219
2220         * BufferView_pimpl.C:
2221         * lyxfunc.C:
2222         * text3.C:
2223         s/updateToolbar()/updateToolbars()/
2224         s/Toolbar.h/Toolbars.h/
2225
2226 2004-04-28  Angus Leeming  <leeming@lyx.org>
2227
2228         * BufferView.[Ch] (c-tor):
2229         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2230         No longer passes these data to the WorkArea generator.
2231
2232 2004-04-28  Angus Leeming  <leeming@lyx.org>
2233
2234         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2235
2236 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2237
2238         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2239
2240 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2241
2242         * output_latex.C (TeXEnvironment): make sure that there is a line
2243         break before \end{foo} for the last paragraph of a document
2244         (TeXOnePar): if the paragraph is at the end of the document (or
2245         inset) and the language has to be reset, then make sure that the
2246         line break is _before_ the language command, not after (fixes bug
2247         1225); also make sure that the language reset command is the first
2248         thing after the paragraph (to ensure proper nesting of
2249         environments and thus fix bug 1404)
2250
2251 2004-04-21  John Levon  <levon@movementarian.org>
2252
2253         * ToolbarBackend.h:
2254         * ToolbarBackend.C: make "name" be a programmatic name
2255         and a gui_name field.
2256
2257         * lyxfunc.C: display the minibuffer on M-x
2258
2259 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2260
2261         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2262         (bug 1526)
2263
2264 2004-04-19  Angus Leeming  <leeming@lyx.org>
2265
2266         * BufferView_pimpl.C (setBuffer): changed preview interface.
2267
2268         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2269         possible values.
2270
2271 2004-04-19  John Levon  <levon@movementarian.org>
2272
2273         * BufferView_pimpl.C:
2274         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2275
2276 2004-04-05  Angus Leeming  <leeming@lyx.org>
2277
2278         * text.C (redoParagraphs): add call to updateCounters(), thereby
2279         fixing the missing "Figure #:" label from the caption of a
2280         figure float.
2281
2282 2004-04-13  Angus Leeming  <leeming@lyx.org>
2283
2284         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2285         cursor is clicked out of an inset.
2286
2287 2004-04-13  Angus Leeming  <leeming@lyx.org>
2288
2289         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2290         than an InsetOld one.
2291
2292 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2293
2294         * format.[Ch]: add editor to Format
2295         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2296         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2297
2298 2004-04-08  André Pönitz  <poenitz@gmx.net>
2299
2300         * metricsinfo.h: remove PainterInfo::width member
2301
2302 2004-04-08  Angus Leeming  <leeming@lyx.org>
2303
2304         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2305         "\providecommand" rather than "\newcommand", thereby preventing
2306         clashes with packages that define "\boldsymbol" themselves.
2307         Eg, beamer.
2308
2309 2004-04-08  Angus Leeming  <leeming@lyx.org>
2310
2311         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2312         thereby squashing an unnecessary warning.
2313
2314 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2315
2316         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2317         setBuffer()
2318
2319 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2320
2321         * BufferView.C (setCursor): call redoParagraph (some insets could
2322         have been opened)
2323         (putSelectionAt): remove the 'double update' trick
2324
2325         * BufferView_pimpl.C (fitCursor): call refreshPar
2326         (workAreaDispatch): remove an uneeded update call
2327         (dispatch): remove some manual update calls
2328
2329         * cursor.[Ch]: remove cached_y_, updatePos
2330         (selHandle): set noUpdate when appropriate
2331
2332         * lyxfunc.C (dispatch): track if we need an update
2333
2334         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2335
2336         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2337         (paintSelection): cheap optimization, do not call cursorX when not
2338         needed
2339         (paintPars): change signature
2340         (refreshPar): add
2341         (paintText): adjust
2342         (paintTextInset): adjust
2343
2344         * text.C: adjust
2345
2346 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2347
2348         * lengthcommon.C: compilation fix: remove explicit array size from
2349         unit_name[] and friends
2350
2351 2004-04-05  Angus Leeming  <leeming@lyx.org>
2352
2353         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2354
2355         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2356         present only for the preferences dialog.
2357         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2358
2359 2004-04-05  Angus Leeming  <leeming@lyx.org>
2360
2361         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2362         to enable the frontends to export changes to lyxrc correctly.
2363
2364         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2365
2366 2004-04-07  André Pönitz  <poenitz@gmx.net>
2367
2368         * cursor.[Ch] (selClear, adjust): remove math
2369
2370         * cursor_slice.C: more agressive assert
2371
2372         * lyxfunc.C:
2373         * BufferView_pimpl.C: rework mouse event dispatch
2374
2375         * dociterator.C:
2376         * paragraph.C:
2377         * text2.C:
2378         * text3.C: adjust
2379
2380 2004-04-05  André Pönitz  <poenitz@gmx.net>
2381
2382         * cursor.[Ch] (valign, halign...): remove unneeded functions
2383
2384 2004-04-05  Angus Leeming  <leeming@lyx.org>
2385
2386         * lyxlength.[Ch] (unit_name et al.): const-correct.
2387
2388 2004-04-05  Angus Leeming  <leeming@lyx.org>
2389
2390         * BufferView_pimpl.C:
2391         * buffer.C:
2392         * counters.C:
2393         * cursor.C:
2394         * lyxfunc.C
2395         * paragraph.C:
2396         * pariterator.C:
2397         * text.C:
2398         * text2.C:
2399         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2400
2401 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2402
2403         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2404
2405 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2406
2407         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2408         * BufferView_pimpl.[Ch] (getStatus)
2409         * BufferView.[Ch] (getStatus): add
2410         * lyxfunc.C (getStatus): move lfuns handled in
2411         BufferView::dispatch to te function above
2412         * Cursor.C (setSelection): set selection() = true
2413
2414 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2415
2416         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2417
2418 2004-03-31  Angus Leeming  <leeming@lyx.org>
2419
2420         * lyxfunc.C (dispatch): Fall through to the generic
2421         Dialogs::show("preamble").
2422
2423 2004-03-31  Angus Leeming  <leeming@lyx.org>
2424
2425         * lyxfunc.C (dispatch): Fall through to the generic
2426         Dialogs::show("spellchecker").
2427
2428 2004-03-31  Angus Leeming  <leeming@lyx.org>
2429
2430         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2431         preferences dialog.
2432
2433 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2434
2435         * BufferView.C
2436         * cursor.[Ch]
2437         * dociterator.[Ch]:
2438         * insetiterator.[Ch]:
2439         * lyxfind.C:
2440         * lyxfunc.C:
2441         * pariterator.[Ch]:
2442         * text2.C:
2443         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2444
2445 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2446
2447         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2448         insets where we are putting the cursor.
2449
2450 2004-03-31  Angus Leeming  <leeming@lyx.org>
2451
2452         * lfuns.h:
2453         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2454
2455         * lyxrc.[Ch] (read, write): overloaded member functions taking
2456         a std::[io]stream arguments.
2457
2458         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2459
2460 2004-03-31  Angus Leeming  <leeming@lyx.org>
2461
2462         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2463         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2464
2465         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2466         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2467
2468 2004-03-31  Angus Leeming  <leeming@lyx.org>
2469
2470         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2471         the LFUN_ALL_INSETS_TOGGLE code.
2472
2473 2004-03-30  Angus Leeming  <leeming@lyx.org>
2474
2475         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2476         has died. Fall through to the generic Dialogs::show("document").
2477
2478 2004-03-30  Angus Leeming  <leeming@lyx.org>
2479
2480         * lfuns.h:
2481         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2482         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2483
2484         * lyxfunc.C (getStatus, dispatch): define the actions for these
2485         lfuns. Little more than a cut and pste job from ControlDocument.C
2486
2487         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2488
2489 2004-03-30  Angus Leeming  <leeming@lyx.org>
2490
2491         * lfuns.h:
2492         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2493         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2494
2495         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2496         open/closed state of ollapsable insets. Usage:
2497
2498         all-inset-toggle <state> <name>, where
2499         <state> == "open" || "closed" || "toggle" and
2500         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2501
2502         * lyxtext.h, text2.C (toggleInset): removed.
2503
2504         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2505         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2506         now passes LFUN_INSET_TOGGLE to the found inset.
2507
2508         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2509         is now invoked as "all-insets-toggle toggle branch".
2510
2511 2004-03-30  Angus Leeming  <leeming@lyx.org>
2512
2513         * dociterator.C:
2514         * insetiterator.C:
2515         * pariterator.[Ch]: added/corrected header blurb.
2516
2517 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2518
2519         * dociterator.[Ch]: add an inset_ member
2520         (backwardPos): implemented
2521         (backwardPos, forwardPos): use inset_ when the stack is empty.
2522         (doc_iterator_begin, doc_iterator_end): implemented
2523         * pariterator.[Ch]: adjust, add begin, end
2524         * insetiterator.[Ch]: adjust, add begin, end
2525         * cursor.C:
2526         * document.C:
2527         * BufferView.C:
2528         * BufferView_pimpl.C:
2529         * CutAndPaste.C: adjust
2530
2531 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2532
2533         * buffer.C: increment file format to 232.
2534         * LaTeXFeatures.C: add bibtopic package.
2535         * bufferparams.[Ch]: param \use_bibtopic.
2536
2537         * lyxrc.[Ch]: add lyxrc bibtex_command
2538         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2539
2540         * buffer.C: increment file format to 231.
2541
2542 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2543
2544         * dociterator.C: implement forwardPar
2545         * iterators.[Ch]: remove, replaced by
2546         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2547         * BufferView.C:
2548         * BufferView_pimpl.C:
2549         * CutAndPaste.C:
2550         * buffer.C:
2551         * bufferview_funcs.C:
2552         * cursor.C:
2553         * lyxfind.C
2554         * lyxfunc.C
2555         * paragraph_funcs.C
2556         * toc.C:
2557         * Makefile.am: adjust
2558
2559 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2560
2561         * CutAndPaste.C (pasteSelection): fix 2 crashes
2562         (eraseSelection): fix a crash
2563         * paragraph_funcs.C: remove a warning
2564
2565 2004-03-28  Angus Leeming  <leeming@lyx.org>
2566
2567         * lfuns.h:
2568         * LyXAction.C (init): new LFUN_PRINT.
2569
2570         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2571
2572 2004-03-27  Angus Leeming  <leeming@lyx.org>
2573
2574         * lfuns.h:
2575         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2576
2577         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2578
2579 2004-03-27  Angus Leeming  <leeming@lyx.org>
2580
2581         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2582         insetlist always contains non-null pointers to insets.
2583
2584 2004-03-26  Angus Leeming  <leeming@lyx.org>
2585
2586         * src/BufferView_pimpl.C:
2587         * src/CutAndPaste.C:
2588         * src/buffer.C:
2589         * src/iterators.C:
2590         * src/output_plaintext.C:
2591         * src/outputparams.h:
2592         * src/paragraph_funcs.C:
2593         * src/rowpainter.C:
2594         * src/text.C:
2595         * src/text2.C:
2596         * src/frontends/controllers/ControlErrorList.C:
2597         * src/frontends/gtk/FileDialogPrivate.C:
2598         * src/frontends/gtk/GPainter.C:
2599         * src/frontends/gtk/GToolbar.C:
2600         * src/frontends/qt2/QRef.C:
2601         * src/mathed/math_scriptinset.C: squash compiler warnings.
2602
2603 2004-03-26  Angus Leeming  <leeming@lyx.org>
2604
2605         * ispell.C (LaunchIspell::start):
2606         * lyx_cb.C (AutoSaveBuffer::start):
2607         invoke run(DontWait) rather than runNonBlocking().
2608
2609 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2610
2611         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2612
2613 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2614
2615         * kbsequence.C (print): adjust
2616
2617         * kbmap.C (printKeySym): rename and change signature
2618         (printKey): use LyXKeySym::print()
2619
2620 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2621
2622         * undo.C: add using std::advance to compile for stlport
2623
2624 2004-03-24  Angus Leeming  <leeming@lyx.org>
2625
2626         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2627         it leads to a crash when no buffer is present.
2628
2629 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2630             Martin Vermeer  <martin.vermeer@hut.fi>
2631
2632         * lyxfunc.C (dispatch):
2633         * bufferparams.C (readToken): use the new LColor::setColor
2634
2635         * LColor.[Ch] (setColor): new version that takes two strings as
2636         argument and creates a new color entry if necessary
2637
2638 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2639
2640         * buffer.C (makeLaTeXFile): if the main latex file that is
2641         processed is usually a subdocument of some master, then pretend
2642         for a while that it is actually the master
2643
2644 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2645
2646         * buffer.C (getLabelList):
2647         (getBibkeyList): use getMasterBuffer()
2648         (getMasterBuffer): new method. Returns the main document in the
2649         case where one is using included documents.
2650
2651 2004-03-25  André Pönitz  <poenitz@gmx.net>
2652
2653         * Makefile.am:
2654         * iterators.[Ch]:
2655         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2656
2657         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2658
2659         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2660         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2661
2662         * ParameterStruct.h: merge with ParagraphParameters
2663
2664         * lyxtext.h: remove LyXText::parOffset() and getPar()
2665
2666         * text3.C: Remove all 'manual' update calls. We do now one per user
2667         interaction which is completely sufficient.
2668
2669         * Bidi.C:
2670         * BufferView.[Ch]:
2671         * BufferView_pimpl.C:
2672         * FontIterator.[Ch]:
2673         * MenuBackend.C:
2674         * ParagraphParameters.[Ch]:
2675         * buffer.C:
2676         * buffer.h:
2677         * bufferlist.C:
2678         * cursor.[Ch]:
2679         * cursor_slice.[Ch]:
2680         * dociterator.[Ch]:
2681         * errorlist.[Ch]:
2682         * factory.C:
2683         * lfuns.h:
2684         * lyxfind.C:
2685         * lyxfunc.C:
2686         * output_docbook.[Ch]:
2687         * output_latex.[Ch]:
2688         * output_linuxdoc.[Ch]:
2689         * output_plaintext.[Ch]:
2690         * paragraph.[Ch]:
2691         * paragraph_funcs.[Ch]:
2692         * paragraph_pimpl.[Ch]:
2693         * rowpainter.C:
2694         * tabular.[Ch]:
2695         * text.C:
2696         * text2.C:
2697         * toc.C:
2698         * undo.[Ch]: adjust
2699
2700         * frontends/controllers/ControlDocument.C:
2701         * frontends/controllers/ControlErrorList.C:
2702         * frontends/controllers/ControlSpellchecker.C:
2703         * insets/inset.C:
2704         * insets/inset.h:
2705         * insets/insetbase.h:
2706         * insets/insetbibitem.C:
2707         * insets/insetbox.C:
2708         * insets/insetbranch.C:
2709         * insets/insetcaption.C:
2710         * insets/insetcharstyle.C:
2711         * insets/insetcharstyle.h:
2712         * insets/insetcollapsable.C:
2713         * insets/insetcollapsable.h:
2714         * insets/insetert.C:
2715         * insets/insetfloat.C:
2716         * insets/insetfoot.C:
2717         * insets/insetmarginal.C:
2718         * insets/insetnote.C:
2719         * insets/insetoptarg.C:
2720         * insets/insettabular.C:
2721         * insets/insettext.C:
2722         * insets/insettext.h:
2723         * insets/insetwrap.C:
2724         * mathed/math_mboxinset.C:
2725         * mathed/math_nestinset.C:
2726         * mathed/math_scriptinset.C:
2727         * mathed/math_scriptinset.h:
2728         * support/types.h:
2729
2730 2004-03-24  Angus Leeming  <leeming@lyx.org>
2731
2732         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2733         deal with any child processes that have finished but are waiting to
2734         communicate this fact to the rest of LyX.
2735
2736 2004-03-24  Angus Leeming  <leeming@lyx.org>
2737
2738         64-bit compile fixes.
2739
2740         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2741         (c-tor): pass lyx::pos_types rather than ints.
2742
2743         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2744         lyx::pos_type.
2745
2746         * text.C (Delete): compile fix.
2747         (getPar): ensure that function declaration is the same as that in
2748         the header file.
2749
2750 2004-03-23  Angus Leeming  <leeming@lyx.org>
2751
2752         * ispell.C (LaunchIspell):
2753         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2754         a boost::shred_ptr rather than a std::auto_ptr.
2755
2756 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2757
2758         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2759         handle LFUN_FILE_INSERT_*
2760
2761         * lyxrc.C (setDefaults, getDescription, output, read):
2762         * lyxrc.h: remove ps_command
2763
2764 2004-03-22  Angus Leeming  <leeming@lyx.org>
2765
2766         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2767         Ensure that error_handler is processed once only and that all data
2768         is saved before attempting to output any warning messages.
2769
2770         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2771
2772 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2773
2774         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2775
2776 2004-03-19  André Pönitz  <poenitz@gmx.net>
2777
2778         * cursor.[Ch] (reset): take main text inset as argument
2779
2780         * BufferView: adjust
2781         * BufferView_pimpl.C: adjust
2782
2783         * paragraph.[Ch]: fix completely broken operator=()
2784
2785 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2786
2787         * LColor.C (getFromLyXName): make sure that the color name is used
2788         as lowercase.
2789
2790 2004-03-17  Angus Leeming  <leeming@lyx.org>
2791
2792         * lfuns.h:
2793         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2794
2795         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2796         dialog and to kill a forked process.
2797
2798 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2799
2800         * text2.C (setCursorFromCoordinates): fix font problem
2801
2802 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2803
2804         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2805         bogus "rebuild cursor" code
2806
2807 2004-03-11  André Pönitz  <poenitz@gmx.net>
2808
2809         * buffer.[Ch]: use InsetText instead of LyXText as container for
2810         the main lyx text.
2811
2812         * dociterator.[Ch]: drop the BufferView * member which is not needed
2813         anymore after the change to buffer.C
2814
2815         * paragraph_funcs.C:
2816         * text.C:
2817         * text2.C:
2818         * BufferView.[Ch]:
2819         * BufferView_pimpl.[Ch]:
2820         * cursor.[Ch]:
2821         * cursor_slice.[Ch]: adjust
2822
2823         * text3.C: fix bug in mathDispatch
2824
2825 2004-03-08  André Pönitz  <poenitz@gmx.net>
2826
2827         * undo.[Ch]: use 'StableDocumentIterator' as base for
2828         the Undo struct.
2829
2830 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2831
2832         * LaTeXFeatures.C:
2833         * bufferparams.[Ch]: add jurabib support and param.
2834
2835         * LaTeX.C: add FIXME/comment.
2836
2837 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2838
2839         * buffer.C: increment file format to 230.
2840
2841 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2842
2843         * cursor.C (dispatch): avoid infinite loops
2844
2845 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2846
2847         * rowpainter.C (paintSelection): fix x coordinates
2848
2849 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2850
2851         * text.C (rowBreakPoint): fix breaking before displayed insets
2852
2853 2004-03-01  André Pönitz  <poenitz@gmx.net>
2854
2855         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2856
2857         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2858
2859         * Makefile.am:
2860         * BufferView.C:
2861         * BufferView_pimpl.C:
2862         * buffer.C:
2863         * lyxfind.C:
2864         * lyxfunc.C:
2865         * text.C:
2866         * text2.C:
2867         * text3.C: adjust
2868
2869 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2870
2871         * lyxtext.h:
2872         * text.C:
2873         * text2.C:
2874         * rowpainter.C:
2875         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2876         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2877
2878 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2879
2880         * Bidi.[Ch] (computeTables): const correctness
2881         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2882         fill_hfill, fill_label_hfill and x from Row
2883         * lyxtext.h: prepareToPrint returns a RowMetrics
2884         * rowPainter.C: adjust
2885         * text.C (prepareToPrint): use width, not textWidth. adjust
2886         (redoParagraphInternal, cursorX): adjust
2887         * text2.C (getColumnNearX): adjust
2888         (init): put a default value to the top LyXText::width
2889
2890 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2891
2892         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2893
2894 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2895
2896         * lyxtext.h: add FontIterator class
2897
2898         * text.C (FontIterator, operator*, operator->, operator++): add
2899         (rowBreakPoint, setRowWidth): adjust (fixing a
2900         rebreaking bug)
2901
2902 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2903
2904         * BufferView_pimpl.C (workAreaDispatch): allow also
2905         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2906
2907 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2908
2909         * text.C (rowBreakPoint): fix a bug showing with very large insets
2910
2911 2004-02-25  André Pönitz  <poenitz@gmx.net>
2912
2913         * text3.C:
2914         * cursor.[Ch]: move some mathed specific code to mathed
2915
2916 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2917
2918         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2919         use_tempdir in preferences
2920         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2921         tempfile creation
2922         * lyx_main.C: ensure that tempdir is valid
2923         * lyxlex.h: correct typo
2924         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2925         * paragraph.[Ch] (isMultiLingual): make const
2926         * cursor.[Ch] (openable): make const
2927
2928 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2929
2930         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2931
2932 2004-02-20  André Pönitz  <poenitz@gmx.net>
2933
2934         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2935
2936         * cursor.[Ch]: prepare for localized getStatus()
2937
2938         * lyxtext.h:
2939         * tabular.C:
2940         * text.C:
2941         * text2.C:
2942         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2943
2944 2004-02-20  André Pönitz  <poenitz@gmx.net>
2945
2946         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2947
2948 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2949
2950         * text2.C (setCursorFromCoordinates): switch to absolute coords
2951         (cursorUp): adjust
2952         (cursorDown): adjust
2953         * text3.C (dispatch): adjust
2954
2955 2004-02-16  André Pönitz  <poenitz@gmx.net>
2956
2957         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2958           insets/ChangeLog)
2959
2960         * cursor_slice.[Ch]: remove unneeded acessor function
2961
2962         * lyxtext.h: rename rtl() to isRTL()
2963
2964         * rowpainter.C:
2965         * tabular.C:
2966         * text.C:
2967         * text2.C:
2968         * text3.C: adjust
2969
2970 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2971
2972         * rowpainter.C (paintSelection): coord fix
2973
2974 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2975
2976         * Spacing.C: compile fix
2977
2978 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2979
2980         * cursor.C (dispatch): restore current_ before returning
2981
2982 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2983
2984         * text2.C (cursorUp, cursorDown): fix coords
2985         (moveUp): fix crash
2986
2987 2004-02-12  André Pönitz  <poenitz@gmx.net>
2988
2989         * lyxtext.h:
2990         * text.C:
2991         * text2.C:
2992         * text3.C: add LCursor & parameter to most cursor movement functions
2993           remove usage of LyXText::cursorRow() and cursorPar()
2994
2995         * cursor.[Ch]: add textRow() needed members
2996
2997         * BufferView.C:
2998         * BufferView_pimpl.C:
2999         * paragraph.[Ch]:
3000         * BufferView.C:
3001         * BufferView_pimpl.C: adjust
3002
3003 2004-02-11  André Pönitz  <poenitz@gmx.net>
3004
3005         * lyxfunc.C:
3006         * BufferView.[Ch]:
3007         * BufferView_pimpl.C: shift undo/redo handling
3008
3009         * cursor.[Ch]: fix mathed crash
3010
3011         * lyxfind.C:
3012         * lyxtext.h: move selectionAsText to LCursor
3013
3014         * output_latex.C:
3015         * paragraph.C:
3016         * text.C:
3017         * text2.C:
3018         * text3.C: adjust
3019
3020         * rowpainter.C: fix excessive drawing
3021
3022 2004-02-06  André Pönitz  <poenitz@gmx.net>
3023
3024         * BufferView.[Ch]:
3025         * BufferView_pimpl.[Ch]:
3026         * text3.C: move some text specific LFUN handling
3027
3028 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3029
3030         * text3.C (checkInsetHit): adjust coords
3031         * text2.C (getColumnNearX): adjust coords
3032         (edit): adjust coords
3033         * text.C (getRowNearY): add two asserts
3034
3035 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3036
3037         * converter.C:
3038         * format.C: add using std::distance to compile on gcc 2.95/stlport
3039
3040 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3041
3042         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3043
3044 2004-02-04  André Pönitz  <poenitz@gmx.net>
3045
3046         * BufferView.[Ch] (insertInset):
3047         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3048
3049         * text2.C:
3050         * text3.C: adjust
3051
3052 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3053
3054         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3055         on the default clause of the switch
3056         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3057         wasn't catched by LCursor::dispatch
3058
3059 2004-02-03  André Pönitz  <poenitz@gmx.net>
3060
3061         * BufferView.C:
3062         * cursor.[Ch]: some additional asserts
3063
3064         * undo.[Ch]: remove LyXText dependency in interface
3065
3066         * lyxfunc.C: adjust
3067
3068         * lyxtext.h (firstPar, lastPar): remove dead functions
3069
3070         * text.C:
3071         * text2.C:
3072         * text3.C:
3073         * paragraph.[Ch]: adjust
3074
3075 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3076
3077         * lyxfind.C (find): fix argument order in call to ::find
3078
3079 2004-02-02  André Pönitz  <poenitz@gmx.net>
3080
3081         * cursor.[Ch]: remove direct access to anchor
3082
3083         * text.C: remove findText() hack
3084
3085 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3086
3087         * iterators.[Ch] (lockPath): remove in favour of...
3088         * BufferView.[Ch] (setCursor): this addition
3089         * BufferView.C (putSelectionAt): adjust
3090         * undo.C (performUndoOrRedo): adjust
3091         * lyxfunc.C (dispatch): adjust
3092
3093 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3094
3095         * iterators.C (lockPath): add a missing slice
3096         * undo.C (performUndoOrRedo): remove redundant positioning code
3097
3098 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3099
3100         * vc-backend.C (scanMaster): ";" -> ';'
3101
3102 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3103
3104         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3105         std::binary_function
3106
3107         * lyxtextclass.C (compare_name): rename to...
3108         (LayoutNamesEqual): ...this
3109
3110         * lyxlex_pimpl.C (compare_tags): inherit from
3111         std::binary_function, put back into anon namespace
3112
3113         * lyxfind.C (MatchString): inherig from std::binary_function
3114         (findChange): use empty() istead of !size()
3115
3116         * format.C (FormatNamesEqual): new functor
3117         (getFormat): use it
3118         (getNumber): use it
3119         (add): use it
3120         (erase): use it
3121         (setViewer): use it
3122
3123         * converter.C (compare_Converter): rename to...
3124         (ConverterEqual): ...this, and fixup a bit.
3125         (getConverter): use it, and make function const
3126         (getNumber): use it, and make function const
3127         (add): use it
3128         (erase): use it:
3129
3130         * bufferlist.C: add using boost::bind
3131
3132         * MenuBackend.C (MenuNamesEqual): new functor
3133         (hasMenu): use it, and make function const
3134         (hasSubmenu): use nested bind to get rid of compare_memfun.
3135
3136 2004-01-30  André Pönitz  <poenitz@gmx.net>
3137
3138         * BufferView_pimpl.C:
3139         * cursor.C:
3140         * cursor.h:
3141         * cursor_slice.[Ch]:
3142         * lyxfunc.C:
3143         * lyxtext.h:
3144         * paragraph_funcs.C:
3145         * paragraph_funcs.h:
3146         * rowpainter.C:
3147         * text.C:
3148         * text2.C:
3149         * text3.C: move some of the edit(x,y) handling to the insets
3150         some coordinate changes.
3151
3152 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3153
3154         * text.C: add using statements for std::advance and std::distance
3155
3156         * paragraph.C: add using statement for std::distance
3157
3158         * lyxfind.C: add using statement for std::advance
3159
3160         * cursor.C (region): remove std:: from swap
3161         (openable): use nucleus in stead of operator->
3162
3163         * BufferView.C: add using statements for std::distance and std::swap
3164
3165 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3166
3167         * iterators.C: Remove the pimple, move the needed structures to
3168         the header file. Create accessor for the positions stack.
3169         (asPosIterator): remove function
3170
3171         * PosIterator.C (PosIterator): move constructors to top of file
3172         (PosIterator): reimplement the constructor taking a ParIterator in
3173         terms of setFrom.
3174         (setFrom): new function
3175         (operator!=): inline it
3176
3177 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3178
3179         * lyxfind.C (replaceAll): use std::advance
3180
3181         * iterators.h: inherit from std::iterator.
3182
3183         * PosIterator.C (advance, distance): remove
3184         * PosIterator.h: interit from std::iterator.
3185
3186 2004-01-26  André Pönitz  <poenitz@gmx.net>
3187
3188         * BufferView.[Ch]:
3189         * BufferView_pimpl.[Ch]:
3190         * InsetList.[Ch]:
3191         * PosIterator.[Ch]:
3192         * buffer.h:
3193         * bufferview_funcs.C:
3194         * cursor.[Ch]:
3195         * cursor_slice.h:
3196         * factory.[Ch]:
3197         * iterators.[Ch]:
3198         * lyxfind.C:
3199         * lyxfunc.C:
3200         * lyxtext.h:
3201         * output_docbook.C:
3202         * output_latex.C:
3203         * output_linuxdoc.C:
3204         * output_plaintext.C:
3205         * paragraph.[Ch]:
3206         * paragraph_funcs.[Ch]:
3207         * paragraph_pimpl.[Ch]:
3208         * rowpainter.C:
3209         * tabular.C:
3210         * tabular.h:
3211         * text.C:
3212         * text2.C:
3213         * text3.C: more IU:  dumps most of the rest of the mathcursor
3214     implementation into cursor.[Ch]; "globalize" a bit of it.
3215
3216 2004-01-25  Angus Leeming  <leeming@lyx.org>
3217
3218         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3219
3220 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3221
3222         * LaTeXFeatures.h: add nice_ and nice() const
3223         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3224
3225 2004-01-20  André Pönitz  <poenitz@gmx.net>
3226
3227         * BufferView.[Ch]:
3228         * BufferView_pimpl.C:
3229         * PosIterator.C:
3230         * bufferview_funcs.C:
3231         * cursor.[Ch]:
3232         * cursor_slice.[Ch]:
3233         * factory.C:
3234         * iterators.C:
3235         * lyx_cb.C:
3236         * lyxfind.C:
3237         * lyxfunc.C:
3238         * lyxtext.h:
3239         * rowpainter.C:
3240         * text.C:
3241         * text2.C:
3242         * text3.C:
3243         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3244           LCursor and mathcursor parts to LCursor and InsetBase.
3245
3246 2004-01-15  André Pönitz  <poenitz@gmx.net>
3247
3248         * cursor_slice.[Ch]: add a few covienience functions
3249
3250         * funcrequest.[Ch]: remove BufferView * member
3251
3252         * BufferView_pimpl.C:
3253         * cursor.C:
3254         * factory.[Ch]:
3255         * lyxfind.[Ch]:
3256         * lyxfunc.C:
3257         * lyxtext.h:
3258         * text3.C:
3259         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3260
3261 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3262
3263         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3264         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3265
3266 2004-01-13  André Pönitz  <poenitz@gmx.net>
3267
3268         * textcursor.[Ch]:
3269         * lyxtext.h: hide cursor and selection anchor behind accessor function
3270
3271         * BufferView.C:
3272         * BufferView_pimpl.[Ch]:
3273         * PosIterator.C:
3274         * bufferview_funcs.C:
3275         * cursor.h:
3276         * lyxfind.C:
3277         * lyxfunc.C:
3278         * text.C:
3279         * text2.C:
3280         * text3.C:
3281         * undo.C: adjust
3282
3283         * cursor.h:
3284         * cursor_slice.[Ch]: some integer type changes for inset unification
3285
3286         * lyxcursor.[hC]: remove, it's CursorSlice now.
3287
3288         * Makefile.am:
3289         * BufferView_pimpl.[Ch]:
3290         * bufferview_funcs.C:
3291         * cursor_slice.C:
3292         * lyxtext.h:
3293         * text.C:
3294         * text2.C:
3295         * text3.C:
3296         * textcursor.[Ch]: adjust
3297
3298 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3299
3300         * text2.C (undoSpan): add and use
3301         * text.C (breakParagraph): use undoSpan (fix bug 578)
3302         * lyxtext.h: adjust
3303
3304 2004-01-08  Angus Leeming  <leeming@lyx.org>
3305
3306         * BufferView_pimpl.C (MenuInsertLyXFile):
3307         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3308         * lyxfunc.C (menuNew, open, doImport):
3309         FileFilterList change to the FileDialog open and save functions.
3310
3311 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3312
3313         * ShareContainer.h: make isEqual and isUnique adaptable
3314
3315         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3316
3317 2004-01-07  Angus Leeming  <leeming@lyx.org>
3318
3319         * LyXAction.C:
3320         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3321
3322         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3323
3324         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3325         functions replacing find, replace and replaceAll.
3326
3327         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3328         LFUN_WORDFIND(FORWARD|BACKWARD).
3329
3330 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3331
3332         * text.C (breakParagraph): remove an outdated #warning
3333
3334 2004-01-07  André Pönitz  <poenitz@gmx.net>
3335
3336         * lyxfind.C: somewhat clearer logic
3337
3338         * text.C: prevent crash in cursorX on unitialized row cache
3339
3340 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3341
3342         * lyxcursor.[Ch] (operator>): add
3343         * textcursor.C (selStart, selEnd): use std::min and std::max
3344
3345 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3346
3347         * Chktex.C: include boost/format.hpp
3348
3349 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3350
3351         * InsetList.C: replace functor MathcIt with adaptable functor
3352         InsetTablePosLess
3353         (insetIterator): modify accordingly
3354
3355         * BranchList.h: move the BranchNamesEqual functor here from...
3356         * BranchList.C: ... to here
3357
3358         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3359         SameName and match.
3360         (add): replace a finding loop with std::find_if.
3361
3362 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3363
3364         * output_docbook.C: moving LatexParam functionality into
3365         .layout files
3366
3367 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3368
3369         * buffer.C: increment format to 229.
3370
3371 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3372
3373         * LaTeXFeatures.C:
3374         * lyx_sty.[Ch]: remove minipageindent_def
3375
3376         * LyXAction.C:
3377         * factory.C:
3378         * lfuns.h:
3379         * lyxfunc.C:
3380         * text3.C: remove LFUN_INSET_MINIPAGE
3381
3382 2003-12-28  Angus Leeming  <leeming@lyx.org>
3383
3384         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3385
3386 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3387
3388         * text2.C (setParagraph): fix off-by-one crash
3389
3390 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3391
3392         * output_docbook.C: header stuff for AGU
3393
3394 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3395
3396         * text2.C (redoCursor): remove
3397         * text.C:
3398         * text3.C:
3399         * BufferView_pimpl.C: remove calls to redoCursor and
3400         setCursor(cursor.par(), cursor.pos()) all around
3401
3402 2003-12-15  Angus Leeming  <leeming@lyx.org>
3403
3404         * buffer.C: up the format to 228.
3405
3406 2003-12-15  André Pönitz  <poenitz@gmx.net>
3407
3408         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3409         slices
3410
3411         * Makefile.am:
3412
3413         * BufferView_pimpl.C:
3414         * cursor.[Ch]:
3415         * lyxcursor.[Ch]:
3416         * rowpainter.[Ch]:
3417         * lyxtext.h:
3418         * text.C:
3419         * text2.C:
3420         * text3.C: adjust
3421
3422 2003-12-15  Angus Leeming  <leeming@lyx.org>
3423
3424         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3425         than getFromGUIName to manipulate the color.
3426
3427 2003-12-14  Angus Leeming  <leeming@lyx.org>
3428
3429         * BranchList.[Ch]: minimize the API.
3430         (Branch::getBranch, getColor): now return a 'const &'.
3431         (Branch::setSelected) now returns a bool set to true if the
3432         selection status changes.
3433         (BranchList::clear, size, getColor, setColor, setSelected,
3434         allBranches, allSelected, separator): removed.
3435         (BranchList::find): new functions, returning the Branch with
3436         the given name.
3437         (BranchList::add, remove): return a bool indicating that
3438         the operation was successful.
3439
3440         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3441         new InsetBranch::isBranchSlected member function.
3442
3443         * LColor.[Ch]: mimimize the API.
3444         (fill): renamed as addColor and made private.
3445         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3446         versions of these functions taking a string arg have been removed.
3447
3448         * bufferparams.C (readToken):
3449         * lyxfunc.C (dispatch):
3450         * lyxrc.C (read): changes due to the altered BranchList and
3451         LColor APIs.
3452
3453         * factory.C (createInset, readInset): changes due to altered
3454         InsetBranch c-tor.
3455
3456 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3457
3458         * factory.C:
3459         * lyxfunc.C: remove insetminipage. "minipage-insert"
3460         now produces a frameless minipage box inset.
3461
3462 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3463
3464         * textcursor.[Ch] (selStart,selEnd): add new methods
3465         remove selection::start, end, use LyXCursor::operator<
3466         * lyxcursor.[Ch] (operator<): add
3467         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3468         * BufferView.[Ch] (unsetXSel): add
3469         * text2.C (clearSelection): use unsetXSel,adjust
3470         * text.C: adjust
3471         * text3.C: adjust
3472         * rowpainter.C: adjust
3473         * bufferview_funcs.C (put_selection_at): adjust
3474
3475 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3476
3477         * BufferView_pimpl.C: small coord. correction
3478
3479 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3480
3481         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3482         dragging over the splash screen.
3483
3484 2003-12-11  Angus Leeming  <leeming@lyx.org>
3485
3486         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3487         as it is now handled in LyXText::dispatch.
3488
3489         * text3.C (doInsertInset): remove a level of nesting.
3490
3491 2003-12-11  Angus Leeming  <leeming@lyx.org>
3492
3493         * factory.C (createInset): changes due to the changed interface to
3494         InsetCommandMailer::string2params.
3495
3496 2003-12-10  Angus Leeming  <leeming@lyx.org>
3497
3498         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3499         'dialog-show-new-inset <inset name>'
3500
3501 2003-12-10  Angus Leeming  <leeming@lyx.org>
3502
3503         * buffer.C: up the format to 227.
3504
3505         * factory.C: the box inset is now identified simply by 'Box'.
3506
3507 2003-12-10  Angus Leeming  <leeming@lyx.org>
3508
3509         * buffer.C: up the format to 226.
3510
3511         * factory.C: the note inset is now identified simply by 'Note'.
3512
3513 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3514
3515         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3516         when a pit is enough. Standarize a couple of loops.
3517
3518 2003-12-05  Angus Leeming  <leeming@lyx.org>
3519
3520         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3521         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3522         data to the re-worked "log" dialog.
3523
3524 2003-12-03  André Pönitz  <poenitz@gmx.net>
3525
3526         * PosIterator.C:
3527         * iterators.C:
3528         * lyxtext.h:
3529         * output_latex.C:
3530         * paragraph_funcs.C:
3531         * text.C:
3532         * text2.C: use Inset::getText instead of Inset::getParagraph
3533
3534 2003-12-03  André Pönitz  <poenitz@gmx.net>
3535
3536         * buffer.[Ch]:
3537         * lyxtext.h:
3538         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3539         InsetText::read() as LyXText::read()
3540
3541 2003-12-02  Angus Leeming  <leeming@lyx.org>
3542
3543         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3544         type. Add a comment in the implementation that the function uses
3545         the stream's bad() function rather than fail() as the std::streams
3546         would do.
3547
3548 2003-12-02  André Pönitz  <poenitz@gmx.net>
3549
3550         * lyxlex.[Ch]: make interface more similar to std::stream
3551
3552         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3553
3554 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3555
3556         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3557
3558 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3559
3560         * vspace.[Ch]: remove VSpace::NONE
3561
3562 2003-12-01  André Pönitz  <poenitz@gmx.net>
3563
3564         * buffer.[Ch]:
3565         * lyxtext.h: move ParagraphList member to LyXText
3566         rename LyXText::ownerParagraphs to LyXText::paragraph
3567
3568         * CutAndPaste.C:
3569         * bufferview_funcs.C:
3570         * iterators.[Ch]:
3571         * lyx_cb.C:
3572         * paragraph.C:
3573         * rowpainter.C:
3574         * tabular.C:
3575         * text.C:
3576         * text2.C:
3577         * text3.C: adjust
3578
3579         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3580
3581         * undo.C: fix cursor positioning
3582
3583 2003-12-01  John Levon  <levon@movementarian.org>
3584
3585         * BufferView_pimpl.C: fix a crash on exit with
3586         a buffer open
3587
3588 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3589
3590         * BranchList.C: fix setSelected() method.
3591
3592 2003-11-28  André Pönitz  <poenitz@gmx.net>
3593
3594         * ParagraphParameters.[Ch]:
3595         * ParameterStruct.h: remove space above/below from Paragraph to
3596          InsetVSpace
3597
3598         * BufferView_pimpl.C:
3599         * factory.C:
3600         * lyxfunc.C:
3601         * lyxtext.h:
3602         * output_latex.C:
3603         * paragraph.C:
3604         * paragraph_funcs.C:
3605         * rowpainter.[Ch]:
3606         * text.C:
3607         * text2.C:
3608         * text3.C: adjust
3609
3610 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3611
3612         * factory.C: Syntax change for CharStyles
3613
3614 2003-11-28  André Pönitz  <poenitz@gmx.net>
3615
3616         * BufferView.[Ch]:
3617         * BufferView.[Ch]:
3618         * buffer.[Ch]:
3619         * buffer.[Ch]: move LyXText member
3620
3621 2003-11-28  André Pönitz  <poenitz@gmx.net>
3622
3623         * BufferView.[Ch]: make LyXText * text a private member
3624
3625         * BufferView_pimpl.C:
3626         * cursor.C:
3627         * iterators.C:
3628         * lyx_cb.C:
3629         * lyxfind.C:
3630         * lyxtext.h:
3631         * rowpainter.[Ch]:
3632         * text.C:
3633         * text2.C:
3634         * undo.C: adjust
3635
3636         * output_plaintext.C: cleanup
3637
3638 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3639
3640         * buffer.C:
3641         * lyxtextclass.[Ch]: parametrize SGML document header
3642
3643 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3644
3645         * converter.[Ch]:
3646         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3647         getFlavor().
3648
3649 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3650
3651         * text2.C (setFont): rework using PosIterator (no more recursive)
3652         (setCharFont): no more needed
3653         (setLayout): no more selection cursors fiddling (done by redoCursor)
3654         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3655         destroy remaining ones)
3656
3657 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3658
3659         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3660         * lyxtext.h: ditto
3661         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3662         selection cursors
3663         * lyxfunc.C: adjust
3664         * text3.C: adjust + re-allow multi par depth changes
3665         * textcursor.C: simplify a bit
3666
3667 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3668
3669         * src/buffer.C:
3670         * src/lyxlayout.C:
3671         * src/lyxlayout.h:
3672         * src/lyxtext.h:
3673         * src/output_docbook.C:
3674         * src/output_latex.C:
3675         * src/paragraph.C:
3676         * src/paragraph.h:
3677         * src/sgml.C:
3678         * src/sgml.h:
3679         * src/text2.C: Introducing a number of tags parametrizing various
3680         XML formats that we may want to support
3681
3682 2003-11-25  André Pönitz  <poenitz@gmx.net>
3683
3684         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3685
3686         * lyxtext.h (leftMargin/rightMargin): simplify interface
3687
3688         * rowpainter.C:
3689         * text.C:
3690         * text2.C:
3691         * text3.C: adjust
3692
3693 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3694
3695         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3696         master file to any child files. Fixes bug 546.
3697
3698 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3699
3700         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3701
3702 2003-11-24  André Pönitz  <poenitz@gmx.net>
3703
3704         * rowpainter.C: simplification
3705
3706         * text2.C (updateCounters): remove call to redoParagraph on
3707         changed labels as this is far too expensive.
3708
3709 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3710
3711         * converter.C (convert): fix a crash: this function gets
3712         called with buffer == 0 from importer code.
3713
3714 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3715
3716         * text3.C (cursorPrevious): make sure that we do not compare
3717         iterators form different containers.
3718         (cursorNext): ditto
3719
3720         * rowpainter.C (paintSelection): make sure that we do not compare
3721         iterators from different containers.
3722
3723         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3724         iterators from different ParagraphList containers.
3725         [NEXT] ditto
3726
3727         * text2.C (LyXText): change order of initialization slightly
3728         (operator=): new function. copy all variables except cache_par_
3729         (moveUp): make sure that we do not compare iterators from
3730         different ParagraphList constainers.
3731         (moveDown): ditto
3732
3733         * text.C (firstPar): new function
3734         (lastPar): new function
3735         (endPar): new function
3736
3737         * lyxtext.h: move things around and group public functions, public
3738         variables, private functions, private variables
3739
3740 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3741
3742         * factory.C: change call to InsetERT constructor to avoid
3743         additional invocation of method status
3744         * text2.C (toggleInset): remove redundant update() call
3745         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3746         instead of a Bufferview pointer
3747
3748 2003-11-21  André Pönitz  <poenitz@gmx.net>
3749
3750         * rowpainter.C: simplification
3751
3752 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3753
3754         * text3.C (dispatch): make possible to extend a word/row selection
3755         with the mouse
3756
3757 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3758
3759         * lyxtext.h: x0_,y0_ -> xo_,yo_
3760         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3761         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3762         * rowpainter.C (paintRows): paint full paragraphs
3763
3764 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3765
3766         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3767         screen coordinates)
3768
3769 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3770
3771         * lyxtext.h: add x0_, y0_
3772         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3773         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3774
3775 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3776
3777         * text2.C (setCursorIntern): move the x_target update here *
3778         * text3.C: change some bv() to true/false in calls to
3779         cursorUp/Down/Right/Left
3780         * cursor.C: use helper function.
3781
3782 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3783
3784         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3785         * paragraph_funcs.[Ch]: correct comment
3786         * rowpainter.C: do not paint selections away from bv->cursor()
3787         Fix a long standing selection painting bug.
3788         * text3.C: generalize mouse-selection code to LyXTexts other that
3789         top one
3790         * textcursor.C: do not use y coords if we can use par offsets
3791
3792 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3793
3794         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3795         cursor position after e.g. inset insert)
3796
3797 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3798
3799         * lyxfind.C (replace): adjust to locking removal + some
3800         code simplification
3801
3802 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3803
3804         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3805         of the path
3806
3807 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3808
3809         * lyxlayout.[Ch]:
3810         * output_docbook.C: XML sanitation: new layout
3811         parameters InnerTag and CommandDepth
3812
3813 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3814
3815         * BufferView_pimpl.C:
3816         * factory.C:
3817         * text3.C: Fix the insertion and modification of button-style
3818         insets
3819
3820 2003-11-13  André Pönitz  <poenitz@gmx.net>
3821
3822         * InsetList.[Ch]: remove deleteLyXText
3823
3824         * paragraph.[Ch]: cache beginOfBody position
3825
3826         * Bidi.C:
3827         * text.C:
3828         * text2.C:
3829         * text3.C: remove superfluous update() calls
3830
3831         * vspace.C: cleanup
3832
3833 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3834
3835         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3836         * BufferView.C (fitLockedInsetCursor): remove
3837         * cursor.[Ch] (getDim): add
3838         * text.C (getRowNearY): add faster version
3839         * text3.C: remove some update calls
3840
3841 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3842
3843         * LaTeXFeatures.C:
3844         * LyXAction.C:
3845         * MenuBackend.C:
3846         * MenuBackend.h:
3847         * dispatchresult.h:
3848         * factory.C:
3849         * lfuns.h:
3850         * lyxfunc.C:
3851         * lyxtextclass.C:
3852         * lyxtextclass.h:
3853         * text3.C: The Character Style /XML short element patch.
3854
3855 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3856
3857         * text3.C:
3858         * factory.C: Small step to solving 'unable to insert some insets'
3859         problem
3860
3861 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3862
3863         * cursor.[Ch] (updatePos): new function for updating the y
3864         position of the tip inset
3865         * bufferview_funcs.C (put_selection_at):
3866         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3867
3868 2003-11-11  André Pönitz  <poenitz@gmx.net>
3869
3870         * text.C: remove big comment on invalid Paragraph pointers as it is
3871         not valid anymore
3872
3873 2003-11-11  André Pönitz  <poenitz@gmx.net>
3874
3875         * text_funcs.[Ch]: merge with ...
3876
3877         * text.C: ... this
3878
3879         * lyxtext.h:
3880         * text2.C:
3881         * text3.C: adjust
3882
3883         * Makefile.am: remove text_funcs.[Ch]
3884
3885 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3886
3887         * cursor.C (getPos): return absolute cached y coord
3888
3889         * BufferView_pimpl.C (fitCursor): new simplistic code
3890         (workAreaDispatch): add a fitCursor call
3891
3892 2003-11-10  André Pönitz  <poenitz@gmx.net>
3893
3894         * BufferView.[Ch]:
3895         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3896
3897 2003-11-10  André Pönitz  <poenitz@gmx.net>
3898
3899         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3900         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3901         indicate that the cursor needs to leave an inset
3902
3903         * lyxtext.h: remove inset locking
3904
3905         * cursor.[Ch]: re-implement functionality provided by inset locking
3906
3907         * BufferView.[Ch]:
3908         * BufferView_pimpl.[Ch]:
3909         * LyXAction.C:
3910         * bufferview_funcs.[Ch]:
3911         * factory.C:
3912         * funcrequest.[Ch]:
3913         * iterators.C:
3914         * lyx_cb.C:
3915         * lyxfind.C:
3916         * lyxfunc.C:
3917         * text.C:
3918         * text2.C:
3919         * text3.C:
3920         * undo.C: adjust
3921
3922 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3923
3924         * PosIterator.[Ch]: replace the stack with a vector, add inset
3925         accesor
3926         * iterators.[C]: adjust
3927
3928 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3929
3930         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3931         replaced
3932         * paragraph_funcs.C (readParToken): put the correct id in the
3933         error item, not the id of the top paragraph
3934
3935 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3936
3937         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3938         * bufferview_funcs.C (put_selection_at): use the above
3939
3940 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3941
3942         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3943
3944 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3945
3946         * output_linuxdoc.h:
3947         * output_plaintext.h:
3948         * output.h:
3949         * output_docbook.h: add #include statements
3950
3951 2003-11-05  José Matos  <jamatos@lyx.org>
3952
3953         * output_docbook.[Ch]:
3954         * output_latex.[Ch]:
3955         * output_linuxdoc.[Ch]:
3956         * output_plaintext.[Ch]: New files for output formats.
3957         * output.[Ch]: New file for helper functions.
3958
3959         * buffer.[Ch]:
3960         * paragraph_funcs.[Ch]: output functions moved to new files.
3961
3962         * outputparams.h: rename of latexrunparams.h
3963
3964         * LaTeX.[Ch]:
3965         * buffer.[Ch]:
3966         * bufferlist.[Ch]:
3967         * converter.[Ch]:
3968         * exporter.C:
3969         * paragraph.[Ch]:
3970         * paragraph_funcs.[Ch]:
3971         * paragraph_pimpl.[Ch]:
3972         * tabular.[Ch]: rename ascii to plaintext
3973         and LatexRunParams to OutputParams.
3974
3975 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3976
3977         * iterators.[Ch] (text): require bv argument
3978         * undo.C (recordUndo):
3979         * lyxfunc.C (dispatch):
3980         * bufferview_funcs.C (put_selection_at): adjust
3981
3982 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3983
3984         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3985
3986 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3987
3988         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3989         nestings
3990
3991 2003-11-04  André Pönitz  <poenitz@gmx.net>
3992
3993         * cursor.[Ch]: restructure
3994
3995         * BufferView.[Ch]:
3996         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3997
3998         * iterators.[Ch] (asCursor): remove
3999
4000         * lfuns.h: remove LFUN_INSET_EDIT
4001
4002         * lyxfunc.C:
4003         * tabular.C:
4004         * text.C:
4005         * text2.C:
4006         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4007
4008 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4009
4010         * lyxfind.[Ch]: complete overhaul
4011         * BufferView_pimpl.C:
4012         * lyxfunc.C: adjust
4013         * paragraph.[Ch] (insert): add
4014
4015 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4016
4017         * BufferView.[Ch]:
4018         * lyxtext.h:
4019         * text.C: remove dead spellcheck code
4020
4021 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4022
4023         * dispatchresult.h: add a val setter
4024
4025         * cursor.C (dispatch): use a tempvar for data_[i]
4026
4027 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4028
4029         * PosIterator.[Ch]: compile fix
4030
4031 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4032
4033         * text.C (cursorPar): deactivate the cursor cache
4034
4035 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4036
4037         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4038
4039 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4040
4041         * text3.C (dispatch): adjust for new DisptchResult semantics.
4042
4043         * lyxfunc.C (dispatch): handle update when return from
4044         Cursor::dispatch, adjust for new DispatchResult semantics.
4045
4046         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4047         DispatchResult(true) mean to not update. Add class functions for
4048         setting dispatched and update, as well as reading.
4049
4050         * cursor.C (dispatch): don't handle update here
4051
4052 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4053
4054         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4055         * trans_mgr.C: adjust
4056
4057         * paragraph_funcs.C (readParToken): exception safety
4058
4059         * lyxvc.h: store the vcs pointer in a scoped_ptr
4060         * lyxvc.C: adjust
4061
4062         * lyxsocket.C (serverCallback): exception safety
4063
4064         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4065
4066         * ispell.C (clone): make it return a auto_ptr
4067
4068         * factory.C (createInset): exception safety
4069         (readInset): exception safety
4070
4071         * bufferlist.C (newBuffer): exception safety
4072
4073         * Thesaurus.C (Thesaurus): use initialization for aik_
4074
4075         * MenuBackend.C (expandToc): exception safety.
4076
4077 2003-11-03  André Pönitz  <poenitz@gmx.net>
4078
4079         * buffer.C:
4080         * buffer.h:
4081         * bufferview_funcs.C: remove getInsetFromId()
4082
4083         * lyxcursor.[Ch]:
4084         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4085
4086         * lyxfunc.C:
4087         * text2.C:
4088         * text3.C: adjust
4089
4090 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4091
4092         * PosIterator.C (distance, advance): new
4093         * bufferview_funcs.[Ch] (put_selection_at): new
4094         * iterators.[Ch] (lockPath): new
4095
4096 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4097
4098         * iterators.[Ch] (asPosIterator): added
4099         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4100         * PosIterator.[Ch]: added
4101
4102 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4103
4104         * text3.C:
4105         * lyxfunc.C:
4106         * cursor.C (dispatch):
4107         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4108
4109         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4110         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4111         contructor, add a class function dispatched. Remove operator>=
4112
4113 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4114
4115         * debug.C: only use the default constructor for debugstream
4116         (lyxerr) here.
4117
4118         * main.C (main): include debug.h and setup the lyxerr streambuf
4119         here.
4120
4121 2003-10-31  José Matos  <jamatos@lyx.org>
4122
4123         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4124
4125         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4126         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4127         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4128         * paragraph_pimpl.C (simpleTeXSpecialC):
4129         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4130         add LatexRunParams argument.
4131
4132         * exporter.C (Export): change call accordingly.
4133
4134         * latexrunparams.h: add new member to take care of the other backends.
4135 2003-10-30  José Matos  <jamatos@lyx.org>
4136
4137         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4138         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4139         factorise code for paragraph output.
4140         * buffer.[Ch]:
4141         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4142         move functions.
4143
4144 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4145
4146         * text3.C (dispatch):
4147         * lyxfunc.C (dispatch):
4148         * cursor.C (dispatch):
4149         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4150
4151         * dispatchresult.h: make the dispatch_result_t ctor explicit
4152
4153 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4154
4155         * sgml.[Ch]:
4156         * buffer.C: small refactoring of docbook stuff
4157
4158 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4159
4160         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4161         meaning.
4162
4163 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4164
4165         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4166         operator dispatch_result_t, and operators for == != and >=
4167
4168         * cursor.C (dispatch): adjust for operator dispatch_result_t
4169         removal. comment out call to update
4170
4171         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4172
4173 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4174
4175         * text3.C:
4176         * text2.C:
4177         * text.C:
4178         * lyxtext.h:
4179         * lyxfunc.C:
4180         * cursor.C:
4181         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4182         (dispatch):
4183
4184         * dispatchresult.h: new file, DispatchResult broken out of
4185         insets/insetbase.h
4186
4187         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4188
4189 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4190
4191         * text.C (rowBreakPoint): put a hack inside #if 0
4192
4193 2003-10-28  André Pönitz  <poenitz@gmx.net>
4194
4195         * lyxtext.h:
4196         * metricsinfo.C:
4197         * paragraph_funcs.C:
4198         * rowpainter.C:
4199         * text.C:
4200         * text2.C: general cleanup (lots of small stuff)
4201
4202 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4203
4204         * text2.C (cursorEnd): simple fix to the "end key goes to one
4205         before the end on last row" bug
4206
4207 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4208
4209         * text.C (backspace): fix the "zombie characters"
4210
4211 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4212
4213         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4214
4215 2003-10-27  André Pönitz  <poenitz@gmx.net>
4216
4217         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4218
4219         * factory.C: handle new InsetPagebreak, InsetLine
4220
4221         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4222         and move handling into new InsetPagebreak, InsetLine
4223
4224         * BufferView_pimpl.C:
4225         * LyXAction.C:
4226         * ParagraphParameters.C:
4227         * ParameterStruct.h:
4228         * lyxfunc.C:
4229         * lyxtext.h:
4230         * paragraph.C:
4231         * paragraph.h:
4232         * paragraph_funcs.C:
4233         * paragraph_pimpl.C:
4234         * rowpainter.C:
4235         * text.C:
4236         * text2.C:
4237         * text3.C: adjust
4238
4239 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4240
4241         * text.C:
4242         * lyxrow_funcs.[Ch]:
4243         * Bidi.C:
4244         * paragraph.C:
4245         * lyxtext.h:
4246         * rowpainter.C:
4247         * text2.C:
4248         * text3.C: remove lastPos uses in favour of Row::endpos
4249
4250 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4251
4252         * undo.C (performUndoOrRedo): fix two crashes by setting a
4253         cursor by hand and reordering some calls. Use bv->lockInset instead
4254         of inset->edit because the latter loses cursor information
4255
4256 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4257
4258         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4259         by Martin
4260         (rowBreakPoint): fix width. change point to point + 1.
4261         Add a missing check.
4262
4263 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4264
4265         * MenuBackend.C:
4266         * lyxfunc.C: fix (at least partly) the problems
4267         with the Nav menu and headers inside branch insets
4268         reported by Kayvan
4269
4270 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4271
4272         * paragraph.C (getChar): add strong asserts
4273
4274         * lyxrow_funcs.C (lastPos): remove hideous hack
4275
4276         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4277         (fill): adjust to that (avoid an infinite loop)
4278
4279 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4280
4281         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4282
4283 2003-10-23  André Pönitz  <poenitz@gmx.net>
4284
4285         * RowList_fwd.h: change list<> to vector<> to gain speed
4286         after suggestion from Alfredo
4287
4288 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4289
4290         * lyxtext.h: move the bidi stuff from here...
4291         * text.C: and here
4292         * text2.C: and here
4293         * Bidi.[Ch]: ... to here
4294
4295 2003-10-23  André Pönitz  <poenitz@gmx.net>
4296
4297         * lyxtext.h:
4298         * text.C (isLastRow, isFirstRow): new functions
4299
4300         * paragraph.h: new width cache member
4301
4302         * rowpainter.C: replace RowList::iterator with Row & where possible
4303
4304         * lyxfunc.C: replace several view()->text with a single call
4305
4306         * toc.C: fix 'unused' warning
4307
4308 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4311         when woring with stream::pos_type
4312         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4313
4314 2003-10-22  André Pönitz  <poenitz@gmx.net>
4315
4316         * lyxtext.h:
4317         * text.C: use Row & instead of RowList::iterator
4318
4319         * lyxrow.h: rename end() to endpos()
4320
4321         * rowpainter.C:
4322         * text.C:
4323         * text2.C: adjust
4324
4325 2003-10-22  Angus Leeming  <leeming@lyx.org>
4326
4327         * buffer.[Ch] (fully_loaded): new member function, returning true
4328         only when the file has been loaded fully.
4329         Used to prevent the premature generation of previews and by the
4330         citation inset to prevent computation of the natbib-style label.
4331
4332         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4333         templates are all set up.
4334
4335         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4336
4337 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4338
4339         * text.C: fixed an "oops" in the "is a bit silly"
4340         bug fix
4341
4342 2003-10-21  André Pönitz  <poenitz@gmx.net>
4343
4344         * FuncStatus.[Ch]: small stuff, whitespace
4345
4346         * lyxfont.[Ch]: operator<<() for debug reasons
4347
4348         * lyxfunc.C:
4349         * lyxrow_funcs.C:
4350         * lyxtext.h: whitespace, spelling
4351
4352         * paragraph.C: naming of variables
4353
4354         * text.C:
4355         * text2.C: small stuff
4356
4357
4358 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4359
4360         * text.C: (1) finish off the inset display() work;
4361         (2) fix the "is a bit silly" bug (accessing char
4362         past end of par).
4363
4364 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4365
4366         * text.C: re-introduce display() for insets, fixing the
4367         various bugs (stretch of line above, math inset
4368         positioning, ...)
4369
4370 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4371
4372         * text.C (rightMargin): remove spurious semicolon
4373
4374         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4375         1415)
4376
4377 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4378
4379         * text3.C: fix one crash due to wrong cursor def
4380
4381 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4382
4383         * vc-backend.C (scanMaster): make the regex static
4384
4385         * LaTeX.C (scanAuxFile): make the regexs static
4386
4387         * text3.C (doInsertInset, dispatch, dispatch):
4388         * text2.C (cursorUp, cursorDown):
4389         * text.C (selectNextWordToSpellcheck):
4390         * BufferView_pimpl.C (dispatch):
4391         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4392
4393 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4394
4395         * lyxsocket.C: include <cerrno>
4396
4397 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4398
4399         * lyxfunc.C (dispatch): remove textcache stuff
4400
4401         * bufferlist.C (release): remove textcache stuff
4402         (closeAll): ditto
4403
4404         * TextCache.C: delete file
4405         * TextCache.h: delete file
4406
4407         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4408
4409         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4410         delete of the bv_->text.
4411         (resizeCurrentBuffer): remove texcache stuff
4412         (workAreaResize): ditto
4413
4414 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4415
4416         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4417         action.
4418
4419 2003-10-16  André Pönitz  <poenitz@gmx.net>
4420
4421         * lyxrow.[Ch]:
4422         * paragraph.h:
4423         * rowpainter.C:
4424         * text.C:
4425         * text2.C:
4426         * text3.C: speed up by storing y positions per paragraph plus per-row
4427         offset instead of having a 'full' y position in the row.
4428
4429 2003-10-15  André Pönitz  <poenitz@gmx.net>
4430
4431         * iterators.[Ch]:
4432         * iterators.[Ch]:
4433         * undo.[Ch]: make undo aware of inner insets
4434
4435 2003-10-14  Angus Leeming  <leeming@lyx.org>
4436
4437         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4438         static member functions LyX::ref() and LyX::cref.
4439         (lastfiles): new accessor functions for the new lastfiles_ member var.
4440         (addLyXView, views_): add a new LyXView to the list of views_.
4441         (updateInset): loop over all LyXViews to call their own updateInset
4442         member function, returning a pointer to the Buffer owning the inset.
4443
4444         * BufferView_pimpl.C (loadLyXFile):
4445         * MenuBackend.C (expandLastfiles):
4446         * bufferlist.C (MenuWrite, QuitLyX):
4447         lastfiles is no longer a global variable.
4448         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4449
4450         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4451         static function. Access through LyX::cref().emergencyCleanup().
4452
4453 2003-10-14  André Pönitz  <poenitz@gmx.net>
4454
4455         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4456
4457         * undo.[Ch]: restoring part of 'undo in insets'
4458
4459         * Makefile.am:
4460         * undo_funcs.[Ch]: merge with undo.[Ch]
4461
4462         * tabular.C: small cleansing stuff
4463
4464 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4465
4466         * paragraph_funcs.C (readParToken): report unknown insets as error
4467         boxes. Use the outer paragraph as location (also for unknown
4468         tokens).
4469
4470         * factory.C (readInset): do not abort on reading an unknown inset.
4471         Eat it and return 0.
4472
4473 2003-10-13  Angus Leeming  <leeming@lyx.org>
4474
4475         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4476
4477         * lyxrc.C: displayTranslator is now a function,
4478         declared in GraphicsTypes.h.
4479
4480 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4481
4482         * format.C: new placeholder $$a to pass the socket address.
4483
4484         * bufferlist.[Ch]: new function getBufferFromTmp.
4485
4486         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4487           files in the temporary dir.
4488
4489 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4490
4491         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4492
4493         * Makefile.am: add lyxsocket.[Ch].
4494
4495         * lyx_main.C (error_handler): handle SIGPIPE.
4496
4497 2003-10-13  André Pönitz  <poenitz@gmx.net>
4498
4499         * BufferView_pimpl.C:
4500         * lyxtext.h:
4501         * text.C:
4502         * text2.C:
4503         * text3.C:
4504         * undo_funcs.[Ch]: use paroffset_type instead of
4505           ParagraphList::iterators to prevent multiple conversion
4506           (and get a more robust interface)
4507
4508 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4509
4510         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4511         * lyxtext.h: ditto
4512         * text3.C (dispatch): ditto
4513
4514 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4515
4516         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4517         move the onlyfile, use onlyfile instead of foundfile in a couple
4518         of places.
4519
4520         * DepTable.C (update): flush the error stream a bit more
4521
4522 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4523
4524         * lyxserver.C (callback): adjust
4525
4526         * lyxfunc.C (getStatus): add a missing brace in commented code
4527         (ensureBufferClean): reindent
4528         (dispatch): delete version taking a string
4529
4530 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4531
4532         * LaTeX.C (deplog): move found file handlig from here...
4533         (handleFoundFile): .. to new function here.
4534         (deplog): make sure to discover several files mentioned on the
4535         same log line.
4536
4537 2003-10-10  André Pönitz  <poenitz@gmx.net>
4538
4539         * lyxfunc.C:
4540         * lyxtext.h:
4541         * tabular.C:
4542         * text.C:
4543         * text2.C:
4544         * text3.C: fix some of the tabular crashes
4545
4546 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4547
4548         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4549
4550         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4551
4552 2003-10-09  André Pönitz  <poenitz@gmx.net>
4553
4554         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4555
4556         * BufferView.C:
4557         * BufferView_pimpl.C:
4558         * bufferview_funcs.C:
4559         * lyx_cb.C:
4560         * lyxcursor.C:
4561         * lyxfind.C:
4562         * lyxfunc.C:
4563         * lyxtext.h:
4564         * text.C:
4565         * text2.C:
4566         * text3.C:
4567         * text_funcs.[Ch]:
4568         * textcursor.[Ch]:
4569         * undo_funcs.C: adjust
4570
4571 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4572
4573         * text2.C (incrementItemDepth): new function, use a backtracking
4574         algorithm to discover the correct item depth.
4575         (resetEnumCounterIfNeeded): new function, use a backtracking
4576         algorithm to discover if counter reset is needed.
4577         (setCounter): use them. Simplify a bit. Add different labels for
4578         different item depths for itemize.
4579
4580         * paragraph.C (Paragraph): remove initialization of enumdepth
4581         (operator=): ditto
4582
4583         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4584         enumerate and itemize. Change the type of itemdepth to signed char.
4585
4586 2003-10-08  André Pönitz  <poenitz@gmx.net>
4587
4588         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4589           thing assignable.
4590         * text.C:
4591         * text2.C: adjust
4592
4593         * tabular.[Ch]: fix crash after 'row-insert'
4594
4595 2003-10-08  Angus Leeming  <leeming@lyx.org>
4596
4597         Fix doxygen warnings.
4598
4599         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4600         Remove CutAndPaste:: prefix from header file declaration.
4601
4602         * LColor.h (fill): remove LColor:: prefix from declaration.
4603
4604         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4605         use lyx::depth_type rather than Paragraph::depth_type so that
4606         header file and .C file match.
4607
4608         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4609
4610         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4611         * aspell.C: \file aspell_local.C -> \file aspell.C
4612         * gettext.C: \file gettext.C -> \file src/gettext.C
4613         * gettext.h: \file gettext.h -> \file src/gettext.h
4614         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4615         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4616         * text.C: \file text.C -> \file src/text.C
4617
4618         * toc.C: move comment so that doxygen is not confused.
4619
4620 2003-10-07  Angus Leeming  <leeming@lyx.org>
4621
4622         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4623
4624 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4625
4626         * aspell.C:
4627         * aspell_local.h: add forgotten std::string's.
4628
4629 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4630
4631         * LaTeXFeatures.C:
4632         * LyXAction.C:
4633         * factory.C:
4634         * lfuns.h:
4635         * lyxfunc.C:
4636         * text3.C: The Box patch. Fancybox support, minipage, parbox
4637
4638 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4639
4640         * CutAndPaste.h:
4641         * DepTable.h:
4642         * FloatList.h:
4643         * LaTeXFeatures.h:
4644         * ParagraphParameters.h:
4645         * TextCache.h:
4646         * Thesaurus.h:
4647         * bufferlist.h:
4648         * exporter.h:
4649         * importer.h:
4650         * lastfiles.h:
4651         * lyxfind.h:
4652         * lyxfont.h:
4653         * lyxlex.h:
4654         * lyxtextclasslist.h:
4655         * messages.h:
4656         * paragraph.h:
4657         * paragraph_pimpl.C:
4658         * textcursor.h: add <string> and other small fixes to make Lars'
4659         std::string patch compile with STLport.
4660
4661 2003-10-06  Angus Leeming  <leeming@lyx.org>
4662
4663         * LColor.h: Add missing #include <string>.
4664
4665 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4666
4667         * All most all file in all subdirs: Make <string> be the prefered
4668         way of getting to std::string, add using declarations.
4669
4670 2003-10-06  André Pönitz  <poenitz@gmx.net>
4671
4672         * metricsinfo.C: initialize LyXFont before changing attribute.
4673         (fixes the 'math in \emph is upright' bug)
4674
4675 2003-10-06  André Pönitz  <poenitz@gmx.net>
4676
4677         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4678
4679 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4680
4681         * graph.C:
4682         * paragraph_pimpl.C: Small fixes to build using STLport
4683
4684 2003-10-02  André Pönitz  <poenitz@gmx.net>
4685
4686         * lyxfunc.C:
4687         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4688
4689 2003-10-01  André Pönitz  <poenitz@gmx.net>
4690
4691         * factory.C: assert early
4692
4693 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4694
4695         * lyx_main.C: remove the global debug object
4696
4697         * debug.h: adjust for new debugstream
4698
4699         * debug.C: adjust for new debugstream and keep the global debug
4700         object here.
4701
4702 2003-09-22  Angus Leeming  <leeming@lyx.org>
4703
4704         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4705         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4706         an incomplete class LyXFont.
4707
4708 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4709
4710         * factory.C: bug fix in branches
4711
4712 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4713
4714         * lyxfunc.C (processKeySym): adjust
4715         (dispatch): adjust
4716         (dispatch): change arg name from ev to func, adjust
4717         (sendDispatchMessage): ditto
4718
4719         * lyx_main.C (defaultKeyBindings): adjust keybindings
4720         (deadKeyBindings): ditto
4721
4722         * kbsequence.C (addkey): return a FuncRequest
4723
4724         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4725
4726         * kbmap.C (bind): take a FuncRequest as arg, adjust
4727         (read): adjust
4728         (lookup): adjust
4729         (defkey): change to take a FuncRequest as arg, adjust
4730         (findbinding): take a FuncRequest as arg, adjust.
4731
4732         * funcrequest.h (operator=): added
4733
4734         * funcrequest.C (FuncRequest): default kb_action changed from
4735         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4736
4737         * buffer.C (dispatch): simplify
4738         (dispatch): adjust to take a FuncRequest as arg, adjust
4739
4740         * boost.C (assertion_failed): change assertion message slightly
4741
4742         * ToolbarBackend.C (read): simplify
4743
4744         * MenuBackend.C (binding): adjust call to findbinding, add a
4745         message if no binding is found.
4746         (read): simplify
4747         (expandToc): correct by adding a empty FuncRequest
4748
4749         * LyXAction.C: include <boost/assert.hpp>
4750         (isPseudoAction): delete function
4751         (LookupFunc): change name to...
4752         (lookupFunc): this. change return type to FuncRequest.
4753         (getActionName): take kb_action as arg, simplify
4754         (funcHasFlag): add an assert, simplify.
4755
4756 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4757
4758         * toc.C (action): return a FuncRequest, simplify
4759
4760         * lyxfunc.C (processKeySym): adjust
4761         (getStatus): delete version that takes an int.
4762         (getStatus): adjust
4763         (dispatch): delete version that takes action as int
4764         (dispatch): adjust
4765         (sendDispatchMessage): simplify and adjust
4766
4767         * funcrequest.C (getArg): take unsigned int as arg
4768
4769         * ToolbarBackend.C (read): adjust
4770         (add): delete version that takes func as a string.
4771         (getIton): take a FuncRequest as arg
4772
4773         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4774         action.
4775
4776         * MenuBackend.C (MenuItem): add a new construct that only takes a
4777         Kind, simplify the constructor use for submenus.
4778         (add): adjust
4779         (expandLastfiles): adjust
4780         (expandDocuments): adjust
4781         (expandFormats): adjust
4782         (expandFloatListInsert): adjust
4783         (expandFloatInsert): adjust
4784         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4785
4786         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4787         Remove class variables lyx_pseudo_map and lyx_arg_map
4788
4789         * LyXAction.C (searchActionArg): delete function
4790         (getPseudoAction): delete function
4791         (retrieveActionArg): delete function
4792         (LookupFunc): make it return kb_action, simplify.
4793         (getActionName): simplify
4794
4795         * factory.C (createInset): fix new bug
4796
4797 2003-09-19  Angus Leeming  <leeming@lyx.org>
4798
4799         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4800         masterFilename_ parameter in the include inset.
4801
4802         * factory.C (createInset): changes due to the changes to InsetInclude.
4803
4804 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4805
4806         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4807
4808 2003-09-18  Angus Leeming  <leeming@lyx.org>
4809
4810         * buffer.C:
4811         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4812         Inset::fillWithBibKeys.
4813         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4814
4815 2003-09-18  Angus Leeming  <leeming@lyx.org>
4816
4817         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4818         variables.
4819         (ctor): pass and store a 'Buffer const &'
4820         (buffer): new member function.
4821
4822         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4823         '*this' to the LaTeXFeatures ctor.
4824
4825 2003-09-18  Angus Leeming  <leeming@lyx.org>
4826
4827         * LColor.h:
4828         * lyxfont.C:
4829         * lyxfont.h:
4830         * lyxtext.h:
4831         * text.C: rename EnumLColor as LColor_color.
4832
4833 2003-09-18  Angus Leeming  <leeming@lyx.org>
4834
4835         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4836         remove #include "insets/insetbase.h" from cursor.h.
4837
4838 2003-09-18  Angus Leeming  <leeming@lyx.org>
4839
4840         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4841         InsetOld_code to remove #include "inset.h".
4842
4843         * iterators.C: add #include "insets/inset.h"
4844
4845 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4846
4847         * BufferView.C: remove more locking stuff that apparently doesn't
4848         do anything sensible.
4849
4850 2003-09-16  André Pönitz  <poenitz@gmx.net>
4851
4852         * paragraph.[Ch]:
4853         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4854           performance boost.
4855
4856 2003-09-16  Angus Leeming  <leeming@lyx.org>
4857
4858         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4859
4860         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4861         arg/return type.
4862
4863         * paragraph.h: remove #include "lyxfont.h". Forward declare
4864         LyXFont_size.
4865
4866 2003-09-16  Angus Leeming  <leeming@lyx.org>
4867
4868         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4869         of support/textutils.h.
4870         (isWord): move the contents of support/textutils.h's IsWordChar here.
4871
4872         * buffer.C:
4873         * lyxfind.C:
4874         * rowpainter.C:
4875         * text.C:
4876         * text2.C: add #include "paragraph.h".
4877
4878         * rowpainter.C:
4879         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4880
4881 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4882
4883         * main.C:
4884         * lyx_main.C:
4885         * lyx_cb.C:
4886         * buffer.C:
4887         * LaTeX.C: use namespace alias for lyx::support::os
4888
4889 2003-09-16  Angus Leeming  <leeming@lyx.org>
4890
4891         * bufferparams.C:
4892         * bufferview_funcs.C:
4893         * factory.C:
4894         * lyxfunc.C:
4895         * paragraph_pimpl.C:
4896         * rowpainter.C:
4897         * text.C: add #include "LColor.h".
4898
4899 2003-09-16  Angus Leeming  <leeming@lyx.org>
4900
4901         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4902         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4903         return LyXFont &.
4904         Store the FontBits::color variable as an int rather than as an
4905         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4906         file.
4907
4908         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4909         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4910         string calls together.
4911
4912         * lyxrc.C: add #include "LColor.h".
4913
4914 2003-09-15  Angus Leeming  <leeming@lyx.org>
4915
4916         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4917         a cow_ptr.
4918
4919 2003-09-15  Angus Leeming  <leeming@lyx.org>
4920
4921         * LColor.h: add an EnumLColor wrapper for LColor::color.
4922
4923         * lyxfont.[Ch] (color, setColor, realColor):
4924         * lyxtext.h, text.C (backgroundColor):
4925         pass EnumLColor args to/from the functions, rather than LColor::color
4926         ones.
4927
4928         * lyxfont.h:
4929         * lyxtext.h: forward declare EnumLColor.
4930
4931         * lyx_main.C: add #include "LColor.h".
4932
4933 2003-09-15  Angus Leeming  <leeming@lyx.org>
4934
4935         * .cvsignore: add lyx-gtk.
4936
4937 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4938
4939         * Chktex.C
4940         * LaTeX.C
4941         * LaTeXFeatures.C
4942         * ParagraphParameters.C
4943         * Spacing.C
4944         * buffer.C
4945         * bufferparams.C
4946         * bufferview_funcs.C
4947         * chset.C
4948         * counters.C
4949         * funcrequest.C
4950         * lyxfont.C
4951         * lyxgluelength.C
4952         * lyxlength.C
4953         * paragraph.C
4954         * paragraph_funcs.C
4955         * text3.C
4956         * vc-backend.C: remove usage of STRCONV
4957
4958 2003-09-15  Angus Leeming  <leeming@lyx.org>
4959
4960         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4961         explicitly define the color passed to the painter.
4962
4963 2003-09-15  Angus Leeming  <leeming@lyx.org>
4964
4965         * bufferparams.C (BufferParams): reorder member initializers to avoid
4966         compiler warning.
4967
4968 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4969
4970         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4971         * text.C (updateRowPositions): remove an unusual nop
4972
4973 2003-09-12  André Pönitz  <poenitz@gmx.net>
4974
4975         * BufferView_pimpl.C:
4976         * Bullet.C:
4977         * layout.h:
4978         * lyxfunc.C:
4979         * lyxlayout.[Ch]:
4980         * lyxtextclass.C:
4981         * rowpainter.C:
4982         * text.C:
4983         * text2.C:
4984         * Counters.[Ch]: finish the 'automatic counters' job
4985
4986 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4987
4988         * aspell.C: include <boost/assert.cpp> (compile fix)
4989
4990 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4991
4992         * boost.C (assertion_failed): use lyx::support::abort instead of
4993         assert.
4994
4995 2003-09-10  Angus Leeming  <leeming@lyx.org>
4996
4997         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4998         with their _fwd progeny.
4999
5000 2003-09-09  Angus Leeming  <leeming@lyx.org>
5001
5002         134 files throughtout the source tree: replace 'using namespace abc;'
5003         directives with the appropriate 'using abc::xyz;' declarations.
5004
5005 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5006
5007         * boost.C (emergencyCleanup): moved here from LAssert.c
5008         (assertion_failed): new function, called by BOOST_ASSERT
5009
5010         * several files: change Assert to BOOST_ASSERT
5011
5012 2003-09-09  Angus Leeming  <leeming@lyx.org>
5013
5014         * buffer.[Ch]: Add an Impl class and move Buffer's member
5015         variables into it. As a result move several header files out of
5016         buffer.h.
5017
5018         Add header files to lots of .C files all over the tree as a result.
5019
5020 2003-09-09  Angus Leeming  <leeming@lyx.org>
5021
5022         * buffer.[Ch]: make Buffer's member variables private. Add
5023         accessor functions.
5024
5025         Lots of changes all over the tree as a result.
5026
5027 2003-09-08  Angus Leeming  <leeming@lyx.org>
5028
5029         * graph.C: #include <config.h>.
5030
5031 2003-09-08  Angus Leeming  <leeming@lyx.org>
5032
5033         * BranchList.C:
5034         * BufferView.C:
5035         * BufferView_pimpl.C:
5036         * CutAndPaste.C:
5037         * DepTable.C:
5038         * LaTeX.C:
5039         * LaTeXFeatures.C:
5040         * LyXAction.C:
5041         * MenuBackend.C:
5042         * TextCache.C:
5043         * aspell.C:
5044         * buffer.C:
5045         * bufferlist.C:
5046         * changes.C:
5047         * chset.C:
5048         * converter.C:
5049         * counters.C:
5050         * debug.C:
5051         * graph.C:
5052         * ispell.C:
5053         * lyx_cb.C:
5054         * lyxfind.C:
5055         * lyxfunc.C:
5056         * lyxlex_pimpl.C:
5057         * lyxrc.C:
5058         * lyxrow.C:
5059         * paragraph.C:
5060         * rowpainter.C:
5061         * texrow.C:
5062         * text.C:
5063         * text2.C:
5064         * toc.C: remove redundant using directives.
5065
5066 2003-09-07  Angus Leeming  <leeming@lyx.org>
5067
5068         * LaTeXFeatures.h: remove #include "support/types.h".
5069         * ToolbarBackend.h: remove #include <algorithm>.
5070         * changes.h: remove #include <ctime>.
5071         * debug.h: remove #include <iosfwd>.
5072         * graph.h: remove #include "support/std_string.h".
5073         * lyx_main.h: remove #include <csignal>.
5074         * lyxlex_pimpl.h: remove #include <fstream>.
5075         * sgml.h: remove #include <algorithm>, <utility>.
5076         * toc.h: remove #include "support/std_ostream.h".
5077         Add #include <iosfwd>.
5078
5079 2003-09-07  Angus Leeming  <leeming@lyx.org>
5080
5081         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5082
5083         * converter.h: forward declare LatexRunParams.
5084         * encoding.h: remove #include "lyxrc.h".
5085         * lyxtext.h: remove #include "LColor.h".
5086         * lyxtextclass.h: remove #include "support/types.h".
5087         * trans.h: remove #include "tex-accent.h".
5088         * trans_mgr.h: remove #include "tex-accent.h".
5089         * insets/inset.h: remove #include "support/types.h", <vector>.
5090         * insets/insetcollapsable.h: remove #include "LColor.h".
5091         * insets/insetinclude.h: remove #include "dimension.h".
5092         * insets/insetlatexaccent.h: remove #include "dimension.h".
5093         * insets/insetoptarg.h:: remove #include "insettext.h".
5094         * insets/insettext.h: remove #include "dimension.h",
5095         <boost/shared_ptr.hpp>
5096
5097         * insets/renderers.h: add #include "dimension.h".
5098         * insets/updatableinset.h: add #include "support/types.h".
5099
5100         * many .C files: Associated changes.
5101
5102 2003-09-06  Angus Leeming  <leeming@lyx.org>
5103
5104         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5105         one, inside testInvariant.
5106
5107         * PrinterParams.C: new file.
5108         * PrinterParams.[Ch]: move the function bodies out of line.
5109
5110 2003-09-06  Angus Leeming  <leeming@lyx.org>
5111
5112         * ParagraphParameters.h: forward declare ParameterStruct rather than
5113         including its header file.
5114         (depth): moved out-of-line.
5115
5116 2003-09-06  Angus Leeming  <leeming@lyx.org>
5117
5118         * BufferView_pimpl.h:
5119         * kbmap.h:
5120         * kbsequence.h:
5121         * lyxfunc.h: forward declare LyXKeySym rather than
5122         #include "frontends/LyXKeySym.h".
5123
5124         * BufferView_pimpl.C:
5125         * kbmap.C:
5126         * kbsequence.C:
5127         * lyxfunc.C: associated changes.
5128
5129 2003-09-06  Angus Leeming  <leeming@lyx.org>
5130
5131         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5132         As a result, can remove the #include "insets/inset.h" from BufferView.h
5133
5134 2003-09-06  Angus Leeming  <leeming@lyx.org>
5135
5136         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5137         As a result, can remove the #include "insets/inset.h" from BufferView.h
5138
5139 2003-09-06  Angus Leeming  <leeming@lyx.org>
5140
5141         * buffer_funcs.C:
5142         * buffer.h:
5143         * bufferlist.C:
5144         * BufferView.C:
5145         * bufferview_funcs.C:
5146         * BufferView_pimpl.C:
5147         * CutAndPaste.C:
5148         * lyx_cb.C:
5149         * lyxfunc.C:
5150         * paragraph.h:
5151         * ParagraphParameters.C:
5152         * tabular.C:
5153         * text3.C:
5154         * toc.C:
5155         * undo_funcs.C:
5156         * frontends/controllers/ControlDocument.C:
5157         * insets/insetcaption.C: rearrange the #includes into some sort of
5158         coherent order.
5159
5160         * buffer.h: remove #includes ErrorList.h, undo.h
5161
5162 2003-09-06  Angus Leeming  <leeming@lyx.org>
5163
5164         * support/types.h: add a 'depth_type' typedef, used to store the
5165         nesting depth of a paragraph.
5166
5167         * paragraph.h:
5168         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5169         defining explicitly.
5170
5171         * buffer.h:
5172         * paragraph_funcs.h:
5173         * ParagraphParameters.h:
5174         * sgml.h: use lyx::depth_type rather than Paragraph or
5175         ParameterStruct's depth_type.
5176
5177         * buffer.h
5178         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5179
5180         * BufferView.C:
5181         * BufferView_pimpl.C:
5182         * CutAndPaste.C:
5183         * ParagraphParameters.C:
5184         * buffer_funcs.C:
5185         * bufferlist.C:
5186         * bufferview_funcs.C:
5187         * lyx_cb.C:
5188         * lyxfunc.C:
5189         * tabular.C:
5190         * text3.C:
5191         * toc.C:
5192         * undo_funcs.C:
5193         * frontends/LyXView.C:
5194         * frontends/controllers/ControlDocument.C:
5195         * frontends/controllers/ControlErrorList.C:
5196         * insets/insetbibitem.C:
5197         * insets/insetbranch.C:
5198         * insets/insetcaption.C:
5199         * insets/insetcollapsable.C:
5200         * insets/insetenv.C:
5201         * insets/insetert.C:
5202         * insets/insetfloat.C:
5203         * insets/insetfoot.C:
5204         * insets/insetfootlike.C:
5205         * insets/insetnewline.C:
5206         * insets/insetquotes.C:
5207         * insets/insettabular.C:
5208         * insets/insettext.C:
5209         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5210
5211         * frontends/controllers/ControlChanges.C: #include "changes.h".
5212
5213 2003-09-06  Angus Leeming  <leeming@lyx.org>
5214
5215         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5216         than #including paragraph.h.
5217
5218         * ParagraphList.h:
5219         * RowList.h: deleted. Superfluous.
5220
5221         * CutAndPaste.h:
5222         * iterators.h:
5223         * lyxcursor.h:
5224         * lyxtext.h:
5225         * text_funcs.h:
5226         * undo.h:
5227         * undo_funcs.h:
5228         * insets/inset.h:
5229         * insets/insettext.h: use ParagraphList_fwd.h rather than
5230         ParagraphList.h.
5231
5232         * paragraph.h: don't forward declare ParagraphList.
5233
5234         * buffer.h:
5235         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5236         rather than ParagraphList.h. paragraph.h is still needed for the
5237         Paragraph::depth_type parameters.
5238
5239         * textcursor.h: enable it to compile stand-alone in light of the
5240         above changes.
5241
5242         * bufferview_funcs.C:
5243         * iterators.C:
5244         * lyxfunc.C:
5245         * lyxrow_funcs.C:
5246         * paragraph.C:
5247         * rowpainter.C:
5248         * text.C:
5249         * text2.C:
5250         * text3.C:
5251         * text_funcs.C:
5252         * textcursor.C:
5253         * undo.C:
5254         * frontends/controllers/ControlParagraph.C:
5255         * frontends/controllers/ControlTabular.C:
5256         * insets/insetmarginal.C:
5257         * insets/insetminipage.C:
5258         * insets/insetnote.C:
5259         * insets/insetoptarg.C: add header files needed to compile again.
5260
5261 2003-09-06  Angus Leeming  <leeming@lyx.org>
5262
5263         * RowList_fwd.h: new file, forward-declaring Row rather than
5264         #including lyxrow.h.
5265
5266         * lyxrow_funcs.h:
5267         * lyxtext.h:
5268         * paragraph.h:
5269         * insets/insettext.h: use it instead of RowList.h
5270
5271         * bufferview_funcs.C:
5272         * lyxfunc.C:
5273         * lyxrow_funcs.C:
5274         * paragraph.C:
5275         * rowpainter.C:
5276         * text.C:
5277         * text2.C:
5278         * text3.C: #include "RowList.h".
5279
5280 2003-09-05  Angus Leeming  <leeming@lyx.org>
5281
5282         * factory.C (createInset):
5283         * vspace.C (c-tor): replace sscanf call with an istringstream.
5284         * ispell.C: re-add missing HP/UX headers.
5285         * lyxserver.C: re-add missing  os2 headers.
5286
5287 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5288
5289         * BranchList.C:
5290         * graph.C:
5291         * ispell.C:
5292         * lastfiles.C:
5293         * lyx_cb.C:
5294         * lyxserver.C:
5295         * texrow.C:
5296         * text3.C: re-add missing system headers, needed for 2.95.2.
5297
5298 2003-09-05  Angus Leeming  <leeming@lyx.org>
5299
5300         Changes most place everywhere due to the removal of using directives
5301         from support/std_sstream.h.
5302
5303 2003-09-05  Angus Leeming  <leeming@lyx.org>
5304
5305         Replace LString.h with support/std_string.h,
5306         Lsstream.h with support/std_sstream.h,
5307         support/LIstream.h with support/std_istream.h,
5308         support/LOstream.h with support/std_ostream.h.
5309
5310         Changes resulting throughout the tree.
5311
5312 2003-09-05  Angus Leeming  <leeming@lyx.org>
5313
5314         * sgml.h: ensure that the header file can be compiled stand-alone.
5315         * *.C: strip out redundant #includes. (320 in total.)
5316
5317 2003-09-04  Angus Leeming  <leeming@lyx.org>
5318
5319         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5320         here (from getPackages).
5321
5322         * debug.[Ch]: add a new EXTERNAL tag.
5323
5324 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5325
5326         * text2.C (cursorEnd): simplify
5327         (setCursor): adjust
5328         (getColumnNearX): adjust
5329
5330         * text.C (computeBidiTables): adjust
5331         (fill): adjust
5332
5333         * rowpainter.C (paintChars): adjust
5334         (paintSelection): adjust
5335         (paintChangeBar): adjust
5336         (paintText): adjust
5337
5338         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5339         lastPos instead.
5340         (numberOfSeparators): adjust
5341
5342 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5343
5344         * LyXAction.C:
5345         * box.[Ch]:
5346         * lfuns.h:
5347         * lyxfunc.C:
5348         * text3.C: Restricts the mouse click functionality
5349         of insets like bibtex, include, toc and floatlist to the visible
5350         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5351         up the dialogs. Cursor has to be in front of the inset (i.e.
5352         start of row) for this to function.
5353
5354 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5355
5356         * bufferview_funcs.C (currentState): output row information
5357
5358 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5359
5360         * bufferview_funcs.C (currentState): output paragraph position
5361
5362 2003-09-04  Angus Leeming  <leeming@lyx.org>
5363
5364         * FloatList.h: move out #include "Floating.h".
5365         * LaTeX.h: move out #include "DepTable.h".
5366         * LyXAction.h: move out #include "funcrequest.h".
5367         * buffer.h: move out #include "author.h", "iterators.h".
5368         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5369         * lyx_main.h: move out #include "errorlist.h".
5370         * lyxfunc.h: move out #include "FuncStatus.h".
5371         * lyxtext: move out #include "lyxcursor.h".
5372         * paragraph_pimpl.h: move out #include "counters.h".
5373
5374 2003-09-03  Angus Leeming  <leeming@lyx.org>
5375
5376         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5377         preamble_snippets list, enabling us to add snippets to the preamble
5378         only if the snippet was not there already.
5379
5380 2003-09-04  Angus Leeming  <leeming@lyx.org>
5381
5382         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5383
5384 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5385
5386         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5387         update
5388
5389 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5390
5391         * BranchList.C: point fix, earlier forgotten
5392
5393 2003-09-02  Angus Leeming  <leeming@lyx.org>
5394
5395         * box.C (contains): renamed from 'contained' after a fantastic
5396         amount of hot air.
5397
5398 2003-09-02  John Levon  <levon@movementarian.org>
5399
5400         * BufferView.C:
5401         * lyxcursor.h:
5402         * lyxcursor.C:
5403         * lyxfunc.C:
5404         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5405
5406 2003-09-02  John Levon  <levon@movementarian.org>
5407
5408         * text2.C: simplification of cursorEnd(), including partial
5409         fix for bug 1376
5410
5411 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * buffer.C (readFile): add a space
5414
5415 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5416
5417         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5418
5419 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5420
5421         * buffer.C (readFile): new function, take a filename and a
5422         ParagraphList::iterator
5423         (readFile): adjust
5424         (readFile): adjust, make it private. don't use setStream, make
5425         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5426         always contain the filename.
5427
5428         * BufferView.C (insertLyXFile): simplify and make it work for
5429         gzipped files.
5430
5431 2003-08-30  John Levon  <levon@movementarian.org>
5432
5433         * Makefile.am: fix dist (from Kayvan)
5434
5435 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5436
5437         * most files: change to use const Buffer refs
5438
5439 2003-08-27  André Pönitz  <poenitz@gmx.net>
5440
5441         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5442         on top of ownerPar().
5443
5444 2003-08-27  John Levon  <levon@movementarian.org>
5445
5446         * funcrequest.C: properly initialise POD members
5447
5448 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5449
5450         * lyxtext.h (top_y): move top_y from here
5451         * text.C:
5452         * text2.C:
5453         * text3.C:
5454         * BufferView.[Ch]:
5455         * BufferView_pimpl.[Ch]: to here
5456         * frontends/screen.C:
5457         * insets/insettabular.C:
5458         * insets/insettext.C: adjust
5459         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5460
5461 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5462
5463         * BufferView.[Ch]:
5464         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5465
5466 2003-08-26  André Pönitz  <poenitz@gmx.net>
5467
5468         * paragraph_func.[Ch] (outerPar): new function
5469
5470         * paragraph.C:
5471         * paragraph_funcs.C:
5472         * paragraph_funcs.h:
5473         * paragraph_pimpl.C:
5474         * text2.C: remove Inset::par_owner
5475
5476 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5477
5478         * lyxrow_funcs.C:
5479         * lyxtext.h:
5480         * text.C:
5481         * text2.C: eliminates the needFullRow/display() stuff
5482         altogether, putting the logic in metrics/draw in the insets.
5483
5484 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5485
5486         * text2.C (redoParagraphInternal, redoParagraphs):
5487         * text.C (redoParagraph): add a call to updateRowPositions at the
5488         end of each 'metrics-like' call. Remove all others.
5489         (getRow): remove the 'y-computing' version.
5490         (getRowNearY): do not compute nor return the real y. Solve the
5491         'y < 0' problem and simplify.
5492
5493 2003-08-22  Angus Leeming  <leeming@lyx.org>
5494
5495         * *.[Ch]: clean-up of licence and author blurbs.
5496         Also move config.h out of a few .h files and into a few .C files.
5497
5498 2003-08-22  André Pönitz  <poenitz@gmx.net>
5499
5500         * lyxrow.[Ch]: add x_ and *fill_ members
5501
5502         * lyxtext.h:
5503         * text.C:
5504         * rowpainter.C:
5505         * text2.C: adjust/remove prepareToPrint() calls
5506
5507 2003-08-22  André Pönitz  <poenitz@gmx.net>
5508
5509         * lyxrow.[Ch]: add  end_ member
5510
5511         * lyxrow_funcs.C: use LyXRow::end_
5512
5513         * lyxtext.h (singleWidth): add LyXFont parameter
5514
5515         * rowpainter.C:
5516         * text2.C: adjust LyXText::singleWidth() calls
5517
5518         * text.C (redoParagraph): simplify row breaking logic
5519
5520
5521 2003-08-19  André Pönitz  <poenitz@gmx.net>
5522
5523         * funcrequest.C: initialize button_ member
5524
5525         * text3.C:
5526         * rowpainter.[Ch]: interface consolidation
5527
5528 2003-08-18  André Pönitz  <poenitz@gmx.net>
5529
5530         * BufferView.C:
5531         * BufferView_pimpl.C:
5532         * lyxfind.C:
5533         * paragraph_funcs.C:
5534         * rowpainter.C:
5535         * text3.C: remove LyXScreen::draw() and fitCursor calls
5536
5537         * BranchList.h: remove spurious semicolons
5538
5539         * MenuBackend.C: fix branchlist related crash
5540
5541 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5542
5543         * BranchList.[Ch]:
5544         * InsetList.[Ch]:
5545         * LColor.[Ch]:
5546         * LyXAction.C:
5547         * Makefile.am:
5548         * MenuBackend.[Ch]:
5549         * bufferparams.[Ch]:
5550         * factory.C:
5551         * lfuns.h:
5552         * lyxfunc.C:
5553         * text3.C: implements the 'branch inset'
5554         idea. This allows the output of various versions of a document
5555         from a single source version, selectively outputing or suppressing
5556         output of parts of the text.
5557         This implementation contains a 'branch list editor' in a separate
5558         tab of the document settings dialog. Branches are user definable
5559         and have a "display colour" to distinguish them on-screen.
5560
5561         ColorHandler was somewhat cleaned up.
5562         (1) make possible a dynamically growing LColor list by allowing
5563         the graphic context cache to grow along (vector);
5564         (2) eliminate an IMHO unnecessary step in colour allocation.
5565
5566 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5567
5568         * BufferView_pimpl.C: compile fix
5569
5570 2003-08-15  André Pönitz  <poenitz@gmx.net>
5571
5572         * rowpainter.C: remove extra metrics calls
5573
5574         * lyxtext.h: merge the two constructors into a single one,
5575           pass reference to owner's par list
5576
5577         * BufferView_pimpl.C:
5578         * text.C:
5579         * text2.C: adjust
5580
5581 2003-08-15  André Pönitz  <poenitz@gmx.net>
5582
5583         * lyxrow_funcs.[Ch]:
5584         * lyxtext.h:
5585         * paragraph.h:
5586         * paragraph_funcs.C:
5587         * rowpainter.C:
5588         * text.C:
5589         * text2.C:
5590         * text3.C:
5591         * text_funcs.C: split LyXText::rowlist_ into individual
5592         Paragraph::rows_ chunks
5593
5594         * BufferView.[Ch]:
5595         * BufferView_pimpl.[Ch]:
5596         * lyxfind.C:
5597         * lyxtext.h:
5598         * text3.C: remove toggleSelection()
5599
5600 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5601
5602         * bufferlist.C: beautify two alerts (shorter text of buttons)
5603         * buffer.C: Remove redundant ' ' from message
5604         * tabular.h:
5605         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5606         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5607         rename VALIGN_CENTER to VALIGN_MIDDLE
5608
5609 2003-08-11  André Pönitz  <poenitz@gmx.net>
5610
5611         * lyxtext.h (getPar):
5612         * text.C: new function
5613
5614 2003-08-11  André Pönitz  <poenitz@gmx.net>
5615
5616         * Makefile.am:
5617         * tracer.[Ch]: remove unneeded files
5618
5619         * InsetList.[Ch]: remove resizeInsetsLyXText()
5620
5621         * lyxtext.h:
5622         * text.C:
5623         * text2.C:
5624         * text3.C: merge insertParagraphs() and appendParagraph()
5625         remove breakAgain(), update()
5626
5627         * BufferView_pimpl.[Ch]:
5628         * bufferview_funcs.[Ch]:
5629         * lyxfunc.C:
5630         * paragraph.[Ch]:
5631         * rowpainter.C:
5632         * tabular.C: adjust after text & InsetList changes.
5633
5634 2003-08-08  André Pönitz  <poenitz@gmx.net>
5635
5636         * text.C (insertChar, backspace): replace rowlist fiddling
5637         with rebreak of full par
5638
5639         * lyxtext.h:
5640         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5641         checkParagraph, updateInset): removed
5642
5643 2003-08-07  André Pönitz  <poenitz@gmx.net>
5644
5645         * paragraph.C:
5646         * text3.C: merge some LFUN handlers, remove dead code
5647
5648 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5649
5650         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5651
5652 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5653
5654         * text2.C (DEPM): fix part of bug 1255 and 1256
5655
5656 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5657
5658         * BufferView_pimpl.C (workAreaDispatch): change to use
5659         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5660         that are no mouse related.
5661
5662 2003-08-05  André Pönitz  <poenitz@gmx.net>
5663
5664         * BufferView.[Ch]:
5665         * BufferView_pimpl.[Ch]:
5666         * bufferview_funcs.C:
5667         * text2.C:
5668         * text3.C: rip out "deep update"
5669
5670         * textcursor.[Ch] (last_sel_cursor): remove unused member
5671
5672 2003-08-04  André Pönitz  <poenitz@gmx.net>
5673
5674         * BufferView.[Ch]:
5675         * BufferView_pimpl.[Ch]:
5676         * ParagraphParameters.C:
5677         * bufferview_funcs.C:
5678         * lyx_cb.C:
5679         * lyxfind.C:
5680         * lyxfunc.C:
5681         * text.C:
5682         * text2.C:
5683         * text3.C: replace "complicated" BufferView::update(...) calls with
5684         simpler ones.
5685
5686         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5687
5688 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5689
5690         * Makefile.am (lyx_SOURCES): add paper.h
5691
5692 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5693
5694         * Makefile.am: move things around so that both lyx-qt and
5695         lyx-xforms can be built (according to --with-frontend). Then lyx
5696         is a symbolic link to lyx-[firstfrontend]
5697
5698 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5699
5700         * Always use std::endl with lyxerr
5701
5702 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5703
5704         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5705
5706 2003-08-01  André Pönitz  <poenitz@gmx.net>
5707
5708         * BufferView.[Ch]:
5709         * BufferView_pimpl.[Ch]:
5710         * lyxfunc.C:
5711         * text3.C: merge BufferView::repaint() and BufferView::update()
5712
5713 2003-08-01  José Matos  <jamatos@lyx.org>
5714
5715         * buffer.[Ch]: file_format is no longer a buffer data element.
5716
5717 2003-08-01  André Pönitz  <poenitz@gmx.net>
5718
5719         * BufferView.C:
5720         * lyxtext.h:
5721         * text.C:
5722         * text2.C: make redoParagraph more independent of current cursor
5723
5724         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5725         * text.C:
5726         * text2.C: remove unneeded members
5727
5728 2003-07-30  André Pönitz  <poenitz@gmx.net>
5729
5730         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5731
5732         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5733           create a single function...
5734
5735         * paragraph_funcs.C (moveItem): ... here.
5736
5737         * text.C:
5738           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5739
5740 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5741
5742         * LColor.[Ch]: Add comment and greyedout logical colors.
5743
5744 2003-07-30  André Pönitz  <poenitz@gmx.net>
5745
5746         * tabular.C: don't use Assert too heavily. This crashes where it
5747           shouldn't
5748
5749 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5750
5751         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5752         is disabled (bug 1232)
5753
5754 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5755
5756         * factory.C: limited 'arg' scope
5757
5758 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5759
5760         * factory.C: fixed Note submenu issues
5761
5762 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5763
5764         * factory.C: submenu for Note/Comment/Greyedout
5765
5766 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5767
5768         * lyx_main.C (LyX):
5769         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5770
5771 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5772
5773         * LaTeXFeatures.C:
5774         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5775         greyedout. Patch provided by Jürgen Spitzmüller.
5776
5777 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5778
5779         * kbmap.C (read): fix error message when reading bind files
5780
5781 2003-07-29  Angus Leeming  <leeming@lyx.org>
5782
5783         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5784         certainly does not do what it purports to do. I am doing it, and
5785         us, a favour by killing it.
5786
5787 2003-07-28  José Matos  <jamatos@lyx.org>
5788
5789         * buffer.C (readBody, do_writeFile):
5790         * paragraph.C(readParagraph): \end_document replaces \the_end.
5791
5792 2003-07-29  André Pönitz  <poenitz@gmx.net>
5793
5794         * BufferView.[Ch]:
5795         * BufferView_pimpl.[Ch]:
5796         * lyxfunc.C:
5797         * text2.C:
5798         * text3.C:
5799         * textcursor.[Ch]: remove toggleToggle & Co
5800
5801 2003-07-28  José Matos  <jamatos@fep.up.pt>
5802
5803         * buffer.C (readParagraph):
5804         * params_func (readParToken, readParagraph):
5805         * paragraph.C (write): \layout -> \begin_layout.
5806
5807 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5808
5809         * lyxlex_pimpl.C (setFile): clean up slightly.
5810
5811         * bufferparams.h: add compressed var
5812
5813         * buffer_funcs.C (readFile): adjust for LyXLex change
5814         (newFile): ditto + simplify
5815
5816         * buffer.C (writeFile): handle writing of compressed files
5817
5818         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5819         Check if the file is compressed and set a bufferparm if so.
5820
5821         * Makefile.am (lyx_LDADD): remove explicit -lz
5822
5823 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5824
5825         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5826         makeDocBookFile): put the real LyX version in the first line of
5827         the file
5828
5829         * version.h:
5830         * version.C.in: remove lyx_docversion
5831
5832         * tabular.C (write_attribute): add a template-based version to
5833         write enums properly
5834
5835 2003-07-28  André Pönitz  <poenitz@gmx.net>
5836
5837         * lyxtext.h:
5838         * text.C:
5839         * text2.C:
5840         * text3.C: use doubles again for x-coordinates. They are needed.
5841
5842 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5843
5844         * messages.C (getLocaleDir): use lyx_localedir()
5845
5846         * lyxlex_pimpl.C (setFile): compress stuff
5847
5848         * buffer.C (writeFile): add some compression stuff
5849         (do_writeFile): new func, dont call expliti close... will this
5850         breake anything?
5851
5852         * Makefile.am (lyx_LDADD): add -lz
5853
5854 2003-07-28  José Matos  <jamatos@fep.up.pt>
5855
5856         * buffer.C: increment file format.
5857         * paragraph_funcs (readParagraph, readParToken):
5858         * paragraph.C (readParagraph): add \end_layout.
5859
5860 2003-07-27  Angus Leeming  <leeming@lyx.org>
5861
5862         * Makefile.am: remove special casing for configure-time setting of
5863         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5864
5865         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5866         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5867
5868 2003-07-26  André Pönitz  <poenitz@gmx.net>
5869
5870         * paragraph_func.[Ch]:
5871         * paragraph.C (realizeFont): inline it whereever it is used
5872
5873         * rowpainter.C:
5874         * text.C:
5875         * text2.C:
5876         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5877
5878
5879 2003-07-26  André Pönitz  <poenitz@gmx.net>
5880
5881         *       lyxtext.h:
5882         * text.C:
5883         * text2.C: get rid of LyXText::need_break_row
5884
5885 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5886
5887         * toc.[Ch]: put namespace toc inside namespace lyx
5888
5889         * MenuBackend.C (expandToc2): adjust for lyx::toc
5890         (expandToc): ditto
5891
5892         * lyxfunc.C (dispatch): adjust for lyx::find
5893
5894         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5895         lyx::find instead. Reorganize a bit.
5896         (LyXReplace): rename to replace
5897         (LyXFind): rename to find
5898
5899         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5900         (dispatch): ditto
5901
5902 2003-07-26  André Pönitz  <poenitz@gmx.net>
5903
5904         * text.C (setHeightOfRow): restrict scope of temporary variable
5905
5906         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5907           code (never has been used?)
5908
5909 2003-07-27  Asger Alstrup  <alstrup@local>
5910
5911         * text.C (fill): Optimise algorithm to exploit that we can reuse
5912         the LyXFont for many characters.
5913         (setHeightOfRow): Same thing.
5914         (rowBreakPoint): Same thing.
5915
5916 2003-07-26  Asger Alstrup  <alstrup@local>
5917
5918         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5919
5920         * text.C (singleWidth): Spurious font copying in hot-spot
5921         singleWidth avoided. Reorder tests for arabic for efficiency.
5922
5923         * text.C (fill): handle empty paragraphs better.
5924
5925 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5926
5927         * ispell.C:
5928         * encoding.h: add includes
5929
5930         * lyxrc.C: remove reading of bind files
5931
5932         * lyx_main.C (init): setup bindings and menus only if we have a
5933         gui.
5934
5935         * kbmap.C (read): new method. Do the actual reading of bind
5936         files.
5937
5938         * converter.C (dvipdfm_options):
5939         * bufferparams.C:
5940         * lyxrc.C (read):
5941         (output): adapt PAPER_* enums.
5942
5943         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5944
5945         * bufferparams.h: remove paper-related enums from there
5946
5947         * paper.h: New file. A trivial header file to hold paper-related
5948         enums. It should later expand to contain many paper-related
5949         horrors access.
5950
5951         * lyxrc.C: declare extern displayTranslator
5952
5953 2003-07-27  José Matos  <jamatos@fep.up.pt>
5954
5955         * tabular.[Ch] (linuxdoc): add support for tables and figures
5956         (linuxdoc).
5957
5958 2003-07-27  José Matos  <jamatos@fep.up.pt>
5959
5960         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5961         consistency in both functions.
5962         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5963
5964 2003-07-26  Asger Alstrup  <alstrup@local>
5965
5966         * rowpainter.C (paintRows): Change algorithm to work directly on
5967         the insets rather than asking every character in the document
5968         whether its an inset.
5969
5970 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5971
5972         * buffer.C (openFileWrite): factorize some code
5973
5974 2003-07-26  Angus Leeming  <leeming@lyx.org>
5975
5976         * lyx_cb.C:
5977         * lyx_main.[Ch]: replace occurances of system_tempdir with
5978         os::getTmpDir().
5979
5980 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5981
5982         * rename Inset to InsetOld
5983
5984 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5985
5986         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5987         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5988         which I think is a bit clearer. EDIT is gone, since it was
5989         premature optimisation, and broken for mathed anyway.
5990         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5991         with cursor positioning in insets as well (math insets still do not
5992         work, but that's a different story anyway.) It mysteriously
5993         crashes sometimes with undo in the first paragraph, but I'm fairly
5994         confident that this is a compiler bug.
5995
5996 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5997
5998         * paragraph.C (Paragraph): adjust for new clone return type
5999         (operator==): ditto
6000         (copyIntoMinibuffer): ditto
6001
6002 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6003
6004         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6005         by not having a special case, and always doing a full rebreak of
6006         the document after undo.
6007
6008 2003-07-23  Angus Leeming  <leeming@lyx.org>
6009
6010         * factory.C (createInset): InsetExternal::setParams now takes a
6011         Buffer const * arg.
6012
6013 2003-07-23  Angus Leeming  <leeming@lyx.org>
6014
6015         * factory.C (createInset): changed interface to the external and
6016         graphics mailers' string2params functions.
6017
6018 2003-07-23  Angus Leeming  <leeming@lyx.org>
6019
6020         * factory.C (createInset): pass a
6021         Buffer const * parameter to InsetExternalMailer's string2params.
6022
6023 2003-07-22  John Levon  <levon@movementarian.org>
6024
6025         * Thesaurus.h: include the right aiksaurus header
6026
6027 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6028
6029         * MenuBackend.C (expand): check menu shortcuts unconditionally
6030
6031 2003-07-21  Angus Leeming  <leeming@lyx.org>
6032
6033         * factory.C (createInset): pass a
6034         buffer_path parameter to InsetGraphicsMailer's string2params.
6035
6036 2003-07-21  Angus Leeming  <leeming@lyx.org>
6037
6038         * BufferView_pimpl.C (buffer):
6039         * buffer.C (d-tor):
6040         * lyx_main.C (LyX):
6041         * lyxfunc.C (dispatch):
6042         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6043         rather than the grfx shortcut.
6044
6045 2003-07-21  André Pönitz  <poenitz@gmx.net>
6046
6047         * rowpainter.C: remove unused variables
6048
6049         * tabular_funcs.C:
6050         * tabular_funcs.h: move to tabular.C
6051         * Makefile.am: adjust
6052
6053         * tabular.[Ch]: basic optical cleaning
6054
6055         * author.h: pass references, not values
6056
6057 2003-07-18  André Pönitz  <poenitz@gmx.net>
6058
6059         * lyxtext.h:
6060         * metricsinfo.C:
6061         * metricsinfo.h:
6062         * rowpainter.C:
6063         * text.C:
6064         * text2.C:
6065         * text3.C: two-phase drawing for InsetText and InsetTabular
6066         some float -> int changes.
6067
6068 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6069
6070         * lyx_main.C: fix the fix
6071
6072 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6073
6074         * lyx_main.C: fix a crash in batch mode if no files specified
6075         * converter.C: ws
6076
6077 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6078
6079         * format.[Ch] (papersize): moved to BufferParams
6080         * converter.[Ch] (dvips_options): moved to BufferParams
6081         (dvipdfm_options): moved to anon namespace
6082         * bufferparams.[Ch]: added above functions.
6083
6084 2003-07-17  André Pönitz  <poenitz@gmx.net>
6085
6086         * lyxtext.h:
6087         * rowpainter.C:
6088         * text2.C: don't call inset->update() anymore
6089
6090         * metricsinfo.[Ch]: add convenience constructor
6091
6092 2003-07-16  André Pönitz  <poenitz@gmx.net>
6093
6094         * lyxcursor.[Ch]:
6095         * lyxfunc.[Ch]:
6096         * text.C:
6097         * text2.C: replace the LyXCursor::irow_ member with
6098          on-demand computation of the value
6099
6100 2003-07-16  John Levon  <levon@movementarian.org>
6101
6102         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6103
6104 2003-07-15  André Pönitz  <poenitz@gmx.net>
6105
6106         * text.C:
6107         * text2.C: remove no more needed refresh_row
6108
6109 2003-07-15  André Pönitz  <poenitz@gmx.net>
6110
6111         * lyxtext.h:
6112         * rowpainter.C:
6113         * text2.C:
6114         * text3.C: refresh_status tristate -> need_update bool
6115
6116 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6117
6118         * lyxtext.h (init): remove reinit argument (act as if always true)
6119         * text2.C: adjust to that
6120
6121 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6122
6123         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6124         * text3.C: use it to delete selections in some cases
6125         (bugs 441, 673, 702, 954).
6126
6127 2003-07-14  André Pönitz  <poenitz@gmx.net>
6128
6129         * rowpainter.[Ch]: reduce interface
6130
6131 2003-07-14  André Pönitz  <poenitz@gmx.net>
6132
6133         * BufferView_pimpl.C:
6134         * text2.C: adjust after removing unused BufferView * argument
6135
6136 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6137
6138         * text2.C (init): fix a crash fired on resize
6139
6140 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6141
6142         * buffer.[Ch]: added new closing signal
6143         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6144         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6145         BufferView::Pimpl via the closing the signal
6146
6147 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6148
6149         * buffer.[Ch]: take out all bv-related from buffer
6150         * BufferView.C:
6151         * BufferView_pimpl.[Ch]: connect to new signals
6152         * CutAndPaste.C: removed useless asserts
6153         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6154         * lyxvc.[Ch]:
6155         * vc-backend.[Ch]:
6156         * lyxfunc.C: moved view-related funciontality from vc here
6157         * paragraph.C: removed outdated comments
6158         * text.C: ws
6159
6160 2003-07-10  André Pönitz  <poenitz@gmx.net>
6161
6162         * BufferView_pimpl.C:
6163         * tabular.h:
6164         * tabular_funcs.C:
6165         * text.C:
6166         * text2.C: remove InsetText::InnerCache, clean up consequences
6167
6168 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6169
6170         * ispell.C: fix two typos in error messages
6171
6172 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6173
6174         * Extend Note inset to other forms of annotation like Comment
6175         and Greyedout. Right button click gives dialog.
6176
6177         Files modified or added (+):
6178
6179         * insetnote.[Ch]
6180         * FormNote.[Ch]      +
6181         * ControlNote.[Ch]   +
6182         * form_note.fd       +
6183         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6184         frontends/controllers
6185         * xforms/Dialogs.C
6186         * factory.C
6187
6188 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6189
6190         * aspell.C: add missing namespace lyx::support
6191
6192 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6193
6194         * BufferView.[Ch] (newFile): Add
6195         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6196         * LaTeX.[Ch] (message): added this signal and use it
6197         * buffer.[Ch] (busy, message): added these signals and use them
6198         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6199         * converter.C:
6200         * exporter.C:
6201         * format.C:
6202         * importer.C: use buffer signals instead of direct bv calling
6203         * lyx_cb.[Ch] (ShowMessage): removed
6204         * lyx_main.C:
6205         * lyxfunc.C:
6206         * paragraph_funcs.C:
6207         * text2.C: use buffer signals
6208
6209 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6210
6211         * introduce namespace lyx::graphics
6212
6213 2003-07-02  André Pönitz  <poenitz@gmx.net>
6214
6215         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6216
6217 2003-07-01  André Pönitz  <poenitz@gmx.net>
6218
6219         * text.C:
6220         * text2.C:
6221         * text3.C:
6222         * text_funcs.[Ch]:
6223         * textcursor.h:
6224         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6225           text*.C to text_func.C
6226
6227 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6228
6229         * introduce namespace lyx::support
6230
6231 2003-06-30  André Pönitz  <poenitz@gmx.net>
6232
6233         * Chktex.C:
6234         * funcrequest.C:
6235         * lyxtext.h:
6236         * text.C: re-enable --with-included-string
6237
6238 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6239
6240         * textcursor.C: add <config.h>
6241
6242         * text.C (getWord): remove const from word_location arg
6243
6244         * lyxvc.C (getLogFile): fix const type order
6245
6246         * lyxtext.h: remove const from word_location arg, add arg name
6247
6248         * lyxlayout.h: currect type on labeltype.
6249
6250         * importer.C: correct \file
6251
6252         * converter.C (intToFormat): use std:: on ret val, ws changes
6253
6254         * bufferlist.h: correct \file
6255
6256         * buffer.C (makeLinuxDocFile): fix const type order
6257         (makeDocBookFile): ditto
6258         (fillWithBibKeys): use std:: on stdlib args.
6259
6260         * CutAndPaste.C: fix authors.
6261         (availableSelections): use std:: on return vector
6262
6263 2003-06-27  André Pönitz  <poenitz@gmx.net>
6264
6265         * BufferView_pimpl.C:
6266         * bufferview_funcs.C:
6267         * lyxcursor.C:
6268         * lyxcursor.h:
6269         * lyxfunc.C:
6270         * lyxtext.h:
6271         * rowpainter.C:
6272         * text.C:
6273         * text2.C:
6274         * text3.C: remove LyXCursor::row_ member
6275
6276         * lyxtext.h:
6277         * text.C: rename fullRebreak() to partialRebreak() and implement
6278           a fullRebreak() that really bereks fully
6279
6280         * textcursor.h: new struct for cursor-related data
6281
6282 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6283
6284         * lyx_main.C (LyX): get full path of document loaded on the
6285         command line
6286
6287 2003-06-26  André Pönitz  <poenitz@gmx.net>
6288
6289         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6290           remove unused/broken operator>,<,>=.
6291
6292         *       text.C: remove only use of broken operator<= in an Assert().
6293
6294 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6295
6296         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6297         moved errorlist_.clear to showErrorList
6298
6299 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6300
6301         * converter.C (scanLog, runLaTeX):
6302         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6303         move the bv->showErrorList call to the callers
6304         * lyxfunc.C: i.e. here...
6305         * text2.C: and here
6306         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6307         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6308         namespace, the second to...
6309         * buffer_funcs (BufferFormat, parseErrors): added
6310         * errorlist.C (ErrorList(TeXErrors const &)): removed
6311
6312 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6313
6314         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6315
6316 2003-06-24  "Garst R. Reese" <reese@isn.net>
6317
6318         * debug.C: fix typo
6319
6320 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6321
6322         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6323
6324         * version.C.in: change docversion to 1.4
6325
6326 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6327
6328         * buffer.C: fix a bug just introduced
6329
6330 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6331
6332         * buffer.[Ch]: added the parseError signal and use it, removed
6333         sgmlError
6334         * BufferView.[Ch] (addError): moved to ...
6335         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6336         to the Buffer::parseError signal to catch (guess what) parse errors
6337         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6338
6339 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6340
6341         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6342         ability to create a buffer and to return an existing one from
6343         the list. Moved these functions to...
6344         * buffer_funcs.[Ch]: added
6345         * BufferView.[Ch] (loadLyXFile): added
6346         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6347         job removed from bufferlist::loadLyXFile.
6348         * buffer.C (setReadOnly): make it work without view
6349         (i.e added an if (users))
6350
6351 2003-06-19  Angus Leeming  <leeming@lyx.org>
6352
6353         * lfuns.h:
6354         * LyXAction.C (init):
6355         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6356         with LFUN_DIALOG_SHOW <name> <data>.
6357
6358 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6359
6360         * CutAndPaste.C (availableSelections): small compilation fix for
6361         ancient (gcc 2.9x) compilers
6362
6363 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6364
6365         * text3.C (cursorNext): add tmp var
6366
6367         * text2.C (updateCounters): for function calling out of for clause
6368         (replaceSelectionWithString): ditto
6369         (insertStringAsParagraphs): ditto
6370         (getColumnNearX): add tmp var
6371         (setCursorFromCoordinates): add tmp var
6372         (cursorDownParagraph): add tmp var
6373         (deleteEmptyParagraphMechanism): add tmp var
6374
6375         * text.C (insertChar): add tmp var
6376
6377         * rowpainter.C (paintDepthBar): add tmp var
6378
6379         * CutAndPaste.C (availableSelections): potentially check all
6380         paragraphs in a cut to fill the shown strings.
6381
6382 2003-06-18  André Pönitz  <poenitz@gmx.net>
6383
6384         * kbmap.[Ch]: use vector<> instead of list<>
6385
6386 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6387
6388         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6389         pasteSelection with index
6390
6391         * text2.C (pasteSelection): modify, call pasteSelection with index
6392
6393         * paragraph.C (asString): reimplement version with no interval to
6394         call the one with interval.
6395
6396         * lyxtext.h: add index arg to pasteSelection
6397
6398         * MenuBackend.C (MenuItem): handle PasteRecent
6399         (Menu::read::Menutags): add md_pasterecent
6400         (read): handle it
6401         (expandPasteRecent): new function
6402         (expand): use it
6403
6404         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6405
6406         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6407         the limited stack
6408         (availableSelections): new function
6409
6410 2003-06-17  Angus Leeming  <leeming@lyx.org>
6411
6412         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6413
6414 2003-06-17  Angus Leeming  <leeming@lyx.org>
6415
6416         * lfuns.h:
6417         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6418
6419         * lyxfunc.C (dispatch): invoke it.
6420
6421 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6422
6423         * iterators.C (operator++, ParPosition): reintroduce some
6424         const_cast for the benefit of older compilers.
6425
6426 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6427
6428         * text3.C (dispatch): do not modify clipboard when doing
6429         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6430         LFUN_DELETE_SKIP on a selection selection
6431
6432 2003-06-16  André Pönitz  <poenitz@gmx.net>
6433
6434         * BufferView.C:
6435         * buffer.C:
6436         * buffer.h:
6437         * paragraph.C:
6438         * tabular.[Ch]: IU of clone() and getLabelList();
6439
6440 2003-06-13  André Pönitz  <poenitz@gmx.net>
6441
6442         * tabular.h: compactification
6443
6444 2003-06-12  André Pönitz  <poenitz@gmx.net>
6445
6446         * tabular.C:
6447         * tabular.h:
6448         * tabular_funcs.h: some renaming plus whitespace
6449
6450 2003-06-12  André Pönitz  <poenitz@gmx.net>
6451
6452         * BufferView.C:
6453         * BufferView_pimpl.C:
6454         * CutAndPaste.C:
6455         * buffer.C:
6456         * iterators.[Ch]:
6457         * lyxfunc.C:
6458         * text.C:
6459         * toc.C: Return a Paragraph & for ParIterator::operator*()
6460
6461 2003-06-11  John Levon  <levon@movementarian.org>
6462
6463         * lyx_main.C:
6464         * ToolbarBackend.h:
6465         * ToolbarBackend.C: add "Toolbars" section and
6466         put the flags there
6467
6468 2003-06-10  Angus Leeming  <leeming@lyx.org>
6469
6470         * lfuns.h:
6471         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6472
6473         * lyxfunc.C (dispatch): invoke it.
6474
6475 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6476
6477         * main.C: protect <ios> with HAVE_IOS
6478         (main): protect sync_with_stdio with HAVE_IOS
6479
6480 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6481
6482         * text2.C (cutSelection): adjust
6483         (pasteSelection): adjust
6484
6485         * messages.C: handle get of empty string
6486
6487         * main.C (main): use sync_with_stdio(false)
6488
6489         * lyxfunc.C (dispatch): adjust
6490
6491         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6492         (WriteAs): remove unneeded BufferView arg.
6493
6494         * bufferparams.h: use correct types on papersize, papersize2 and
6495         paperpackage.
6496
6497         * bufferparams.C (readToken): adjust for type
6498         (writeLaTeX): add missing cases to switch.
6499
6500         * bufferlist.C (quitWriteBuffer): adjust
6501         (close): adjust
6502
6503         * buffer.C (asciiParagraph): remove some commented code.
6504
6505         * CutAndPaste.C: remove current_view extern variable.
6506         (cutSelection): add BufferParams arg.
6507         (eraseSelection): add BufferParams arg.
6508         (pasteSelection): add Buffer const & arg
6509
6510 2003-06-07  John Levon  <levon@movementarian.org>
6511
6512         * buffer.C:
6513         * paragraph_funcs.C:
6514         * paragraph_pimpl.C:
6515         * text.C:
6516         * text2.C:
6517         * paragraph.h:
6518         * paragraph.C: allow InsetERT to freely space lines,
6519         and some consolidation of code
6520
6521 2003-06-06  José Matos  <jamatos@fep.up.pt>
6522
6523         * buffer.C (makeDocBookFile): fix bug #821
6524
6525 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6526
6527         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6528
6529 2003-06-04  Angus Leeming  <leeming@lyx.org>
6530
6531         * buffer.C: bump format to 224.
6532
6533 2003-06-05  André Pönitz  <poenitz@gmx.net>
6534
6535         * text2.C (redoParagraphs): remove two const_cast<>
6536
6537 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6538
6539         * ParagraphList.h: remove last remnants of NO_STD_LIST
6540
6541 2003-06-03  Angus Leeming  <leeming@lyx.org>
6542
6543         * factory.C (createInset): small change to the way InsetExternal's params
6544         are set.
6545
6546 2003-06-04  André Pönitz  <poenitz@gmx.net>
6547
6548         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6549
6550         * paragraph_pimpl.h:
6551         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6552
6553         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6554
6555         * undo_funcs.C: make some simple cases of undo work again
6556
6557 2003-06-03  John Levon  <levon@movementarian.org>
6558
6559         * ispell.C: HPUX doesn't have sys/select.h
6560         (from Albert Chin)
6561
6562 2003-06-03  John Levon  <levon@movementarian.org>
6563
6564         * CutAndPaste.C: update tabular and include inset
6565         buffer references
6566
6567         * buffer.h:
6568         * paragraph.h:
6569         * paragraph.C: remove owningBuffer(), don't pass Buffer
6570         to clone()
6571
6572         * factory.C: insetGraphicsParams changed
6573
6574 2003-06-02  John Levon  <levon@movementarian.org>
6575
6576         * LyXAction.C:
6577         * factory.C:
6578         * lfuns.h:
6579         * lyxfunc.C:
6580         * text3.C: remove insetparent
6581
6582 2003-06-02  John Levon  <levon@movementarian.org>
6583
6584         * buffer.h:
6585         * buffer.C: fix inset_iterator.end(), move out of line
6586         (bug 1149)
6587
6588 2003-06-01  John Levon  <levon@movementarian.org>
6589
6590         * text3.C: use a proper cut/paste when doing inset
6591         insert (from Jürgen Spitzmüller)
6592
6593 2003-06-01  John Levon  <levon@movementarian.org>
6594
6595         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6596
6597 2003-05-30  André Pönitz  <poenitz@gmx.net>
6598
6599         * rowpainter.C: unify second drawing phase
6600
6601 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6602
6603         * trans_mgr.C: remove one case of current_view
6604
6605         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6606
6607         * paragraph_funcs.h: remove paragraph.h include
6608
6609         * paragraph.h: delete NO_STD_LIST stuff
6610
6611         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6612
6613         * buffer.h: remove paragraph.h include
6614
6615         * ParagraphList.C: delete file
6616
6617         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6618
6619         * toc.C (getTocList): adjust
6620
6621         * paragraph_pimpl.C (validate): adjust
6622
6623         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6624
6625         * paragraph.C (Paragraph): adjust
6626         (getPositionOfInset): use const_iterator, adjust
6627         (bibitem): use const_iterator, adjust
6628         (setInsetOwner): adjust
6629
6630         * iterators.C (operator++): adjust
6631
6632         * InsetList.[Ch]: Replace selfmade iterator with standard
6633         vector::iterator also introduce const_iterator. Remove getPos,
6634         getInset and setInset from InsetTable. Adjust accordingly.
6635
6636         * BufferView.C (lockInset): adjust
6637         (ChangeInsets): adjust
6638
6639         * tabular.[Ch]: delete commented same_id functions
6640
6641 2003-05-28  John Levon  <levon@movementarian.org>
6642
6643         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6644
6645 2003-05-28  André Pönitz  <poenitz@gmx.net>
6646
6647         * metricsinfo.[Ch]: remove 'fullredraw' member
6648
6649 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6650
6651         * lyxtextclass.C (operator): remove caching.
6652
6653 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6654
6655         * text3.C: adjust
6656
6657         * text2.C (cursorBottom): adjust
6658         (setCounter): use ParagraphList::find, adjust
6659
6660         * text.C (workWidth): use ParagraphList::find, adjust
6661
6662         * lyxcursor.C (LyXCursor): adjust
6663
6664         * buffer.C (inset_iterator): adjust
6665
6666         * ParagraphList.h: make iterator(value_type) private, make
6667         ParagraphList a friend of iterator.
6668
6669         * ParagraphList.C (find): new function
6670
6671         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6672
6673 2003-05-27  André Pönitz  <poenitz@gmx.net>
6674
6675         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6676
6677 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6678
6679         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6680
6681 2003-05-26  John Levon  <levon@movementarian.org>
6682
6683         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6684
6685 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6686
6687         * remove same_id from function signatures, adjust.
6688
6689 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6690
6691         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6692
6693         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6694
6695         * paragraph.C (Paragraph): get rid of same_ids parameter
6696
6697         * ParagraphList.C (insert): adjust
6698         (push_back): adjust
6699
6700 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6701
6702         * paragraph_funcs.C (breakParagraph): adjust
6703         (breakParagraphConservative): adjust
6704
6705         * buffer.C (readParagraph): adjust
6706
6707         * ParagraphList.C (insert): take a reference instead of a pointer
6708         (insert): adjust
6709
6710         * paragraph.[Ch] (id): new function
6711
6712         * bufferlist.C (newFile): adjust
6713
6714         * ParagraphList.C (ParagraphList): adjust
6715         (assign): adjust
6716         (push_back): take a reference instead of a pointer.
6717
6718         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6719
6720         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6721         instead.
6722
6723         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6724         set else use old code.
6725
6726         * ParagraphList.C: remove all NO_NEXT code and only compile this
6727         code of NO_STD_LIST is set.
6728
6729 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6730
6731         * BufferView_pimpl.C:
6732         * TextCache.C:
6733         * TextCache.h:
6734         * bufferlist.C:
6735         * errorlist.h:
6736         * format.C:
6737         * format.h:
6738         * graph.C:
6739         * lyxfunc.C:
6740         * lyxrc.C:
6741         * graphics/GraphicsConverter.C:
6742         * graphics/PreviewLoader.C: header adjustment
6743
6744 2003-05-23  Angus Leeming  <leeming@lyx.org>
6745
6746         * LaTeXFeatures.[Ch] (useBabel): new method.
6747         * bufferparams.C (writeLaTeX): use it.
6748
6749 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6750
6751         * ParagraphList.h (set): remove unused function.
6752
6753 2003-05-23  André Pönitz  <poenitz@gmx.net>
6754
6755         * BufferView.C:
6756         * BufferView_pimpl.C:
6757         * buffer.C:
6758         * buffer.h:
6759         * lyxfunc.C:
6760         * undo_funcs.C: setUndo reworked
6761
6762         * iterators.[Ch]: add access to topmost ParagraphList
6763
6764         * lyxtext.[Ch] (workWidth): add a const
6765
6766 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6767
6768         * texrow.[Ch] (increasePos): remove function
6769         * exporter.C (export): removed unused var and outdated comment
6770
6771 2003-05-23  Angus Leeming  <leeming@lyx.org>
6772
6773         * latexrunparams.h: rename fragile as moving_arg.
6774         * paragraph.C (simpleTeXOnePar): ditto.
6775         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6776
6777 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6778
6779         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6780         (createUndo): ditto
6781         (textUndoOrRedo): comment out a currently unused var.
6782
6783         * paragraph.h (NO_NEXT): enable NO_NEXT
6784
6785         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6786
6787         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6788
6789         * exporter.C (Export): adjust for removeAutoInsets removal.
6790
6791         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6792
6793         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6794
6795         * BufferView.[Ch] (removeAutoInsets): delete function
6796
6797 2003-05-22  Angus Leeming  <leeming@lyx.org>
6798
6799         * latexrunparams.h: add a free_spacing variable.
6800
6801         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6802         to pass moving_arg, as the data is stored in runparams.fragile.
6803
6804         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6805         to Inset::latexOptional or to simpleTeXOnePar.
6806
6807         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6808         free_spacing arg to Inset::latexOptional.
6809
6810         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6811         free_spacing arg.
6812
6813 2003-05-22  Angus Leeming  <leeming@lyx.org>
6814
6815         * latexrunparams.h: add fragile and use_babel variables.
6816
6817         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6818         * buffer.C (makeLaTeXFile): store this returned value in
6819         runparams.use_babel, thus passing it to the inset::latex methods.
6820
6821         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6822         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6823
6824         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6825         longer has a fragile arg, as it is stored in runparams.fragile.
6826
6827         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6828         moving_arg parameter as the data is stored in runparams.fragile.
6829
6830         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6831         a fragile parameter as the data is stored in runparams.fragile.
6832
6833 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6834
6835         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6836
6837 2003-05-22  Angus Leeming  <leeming@lyx.org>
6838
6839         * latexrunparams.h: add a 'bool nice' which defaults to false.
6840
6841         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6842         now encapsulated within runparams.
6843
6844         * bufferlist.C (updateIncludedTeXfiles):
6845         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6846
6847 2003-05-22  Angus Leeming  <leeming@lyx.org>
6848
6849         * latexrunparams.h: new file containing struct LatexRunParams.
6850         * Makefile.am: add new file.
6851
6852         * LaTeX.[Ch] (c-tor, run):
6853         * buffer.[Ch] (makeLaTeXFile):
6854         * bufferlist.[Ch] (updateIncludedTeXfiles):
6855         * converter.C (convert, scanLog):
6856         * converter.[Ch] (runLaTeX):
6857         * exporter.C (Export):
6858         * paragraph.[Ch] (simpleTeXOnePar):
6859         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6860         * paragraph_funcs.[Ch] (latexParagraphs):
6861         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6862         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6863         pass around a LatexRunParams parameter.
6864
6865 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6866
6867         * paragraph.[Ch]: remove unused constructor
6868
6869         * ParagraphList.C (erase): new function, taking two iterators
6870
6871 2003-05-22  André Pönitz  <poenitz@gmx.net>
6872
6873         * undo_funcs.C: remove duplicated code
6874
6875         * iterator.[Ch]: operator=
6876
6877 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6878
6879         * tabular.C (SetMultiColumn): ws changes
6880
6881         * rowpainter.C (paintFirst): get rid of a ->previous
6882
6883         * lyx_cb.C (getPossibleLabel): parlist simplification
6884
6885         * BufferView.C (ChangeInsets): simplify slightly.
6886
6887 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6888
6889         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6890         * lfuns.h: new LFUN_SPACE
6891         * lyxfunc.C: protected space has a new lfun
6892         * paragraph_funcs.C: read new space insets
6893         * text3.C:
6894         * factory.C: handle new space insets
6895
6896 2003-05-22  André Pönitz  <poenitz@gmx.net>
6897
6898         * BufferView.C:
6899         * BufferView_pimpl.C:
6900         * buffer.[Ch]:
6901         * lyxfunc.C:
6902         * undo_funcs.C: return a ParIterator from getParFromID.
6903
6904         * iterators.[Ch]: add two const's
6905
6906 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6907
6908         * toc.C (getTocList): adjust
6909
6910         * iterators.[Ch]: rework for parlist
6911
6912         * buffer.C (par_iterator_begin): adjust
6913         (par_iterator_end): adjust
6914
6915         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6916
6917         * BufferView.C (removeAutoInsets): adjust
6918         (ChangeInsets): adjust
6919
6920 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6921
6922         * text.C (top_y): fix bug 1110
6923
6924 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6925
6926         * errorlist.[Ch]: added
6927         * buffer.C:
6928         * BufferView.[Ch]:
6929         * BufferView_pimpl.C:
6930         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6931         instead
6932
6933 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6934
6935         * Makefile.am: ensure that lyx is relinked upon changes to the
6936         various "convenience" libs.
6937
6938 2003-05-20  Angus Leeming  <leeming@lyx.org>
6939
6940         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6941         files are compiled in alphabetical order again.
6942
6943         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6944
6945 2003-05-19  Angus Leeming  <leeming@lyx.org>
6946
6947         * gettext.[Ch]: remove "char const * _(char const *)".
6948
6949 2003-05-19  André Pönitz  <poenitz@gmx.net>
6950
6951         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6952
6953         * Makefile.am:
6954         * BufferView.C:
6955         * DepTable.h:
6956         * LaTeXFeatures.C:
6957         * buffer.C:
6958         * lyxfont.C:
6959         * lyxlex.h:
6960         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6961
6962 2003-05-19  André Pönitz  <poenitz@gmx.net>
6963
6964         * buffer.C:
6965         * lyxlayout.[Ch]:
6966         * lyxtextclass.[Ch]:
6967         * paragraph.C:
6968         * paragraph_funcs.[Ch]:
6969         * text2.C:
6970         * text3.C: more insetenv work
6971
6972 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6973
6974         * ParagraphParameters.C (params2string): small bug fixed
6975
6976 2003-05-16  André Pönitz  <poenitz@gmx.net>
6977
6978         * debug.C:
6979         * bufferview_funcs.C: patch from Kornel Benko to prevent
6980           crash when _(...) is called twice in a statement
6981
6982 2003-05-16  André Pönitz  <poenitz@gmx.net>
6983
6984         * BufferView.C:
6985         * lyxfunc.C:
6986         * text.C:
6987         * text2.C:
6988         * text3.C:
6989         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6990
6991 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6992
6993         * lyx_main.C (init): remove spurious static_cast
6994
6995 2003-05-14  André Pönitz  <poenitz@gmx.net>
6996
6997         * BufferView.C: fix format string
6998
6999 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7000
7001         * BufferView.[Ch] (insertErrors): removed
7002         * BufferView.[Ch] (showErrorList): added
7003         * buffer.C (runChkTeX):
7004         * converter.C (scanLog): call showErrorList instead of inserterrors
7005
7006 2003-05-13  André Pönitz  <poenitz@gmx.net>
7007
7008         * BufferView_pimpl.C:
7009         * buffer.C:
7010         * bufferview_func.C:
7011         * MenuBackend.C:
7012         * lyxfunc.C:
7013         * lyxrc.C:
7014         * tex-accent.C:
7015         * text3.C:
7016         * toc.C:
7017         * tabular_funcs.h: tostr() from its own header
7018
7019         * ParagraphParameters.C:
7020         * ToolbarBackend.C:
7021         * bufferparams.C:
7022         * format.C:
7023         * lyxlex_pimpl.C:
7024         * text3.C: STRCONV()
7025
7026 2003-05-12  André Pönitz  <poenitz@gmx.net>
7027
7028         * BufferView.C:
7029         * BufferView_pimpl.C:
7030         * CutAndPaste.C:
7031         * LaTeX.C:
7032         * LaTeXFeatures.C:
7033         * ParagraphParameters.C:
7034         * buffer.C:
7035         * bufferlist.C:
7036         * bufferparams.C:
7037         * bufferview_funcs.C:
7038         * converter.C:
7039         * counters.C:
7040         * debug.C:
7041         * exporter.C:
7042         * format.C:
7043         * importer.C:
7044         * lyx_cb.C:
7045         * lyx_main.C:
7046         * lyxfont.C:
7047         * lyxfunc.C:
7048         * lyxvc.C:
7049         * paragraph.C:
7050         * paragraph_funcs.C:
7051         * tabular.C:
7052         * tabular_funcs.C:
7053         * text2.C:
7054         * text3.C:  boost::format -> bformat  all over the place
7055
7056
7057 2003-05-09  André Pönitz  <poenitz@gmx.net>
7058
7059         * LColor.[Ch]: Pimpl the #include <map> away
7060
7061 2003-05-09  John Levon  <levon@movementarian.org>
7062
7063         * bufferlist.C: never remove emergency saves
7064
7065 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * Makefile.am: better lib building
7068
7069 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7072         instead.
7073         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7074         (simpleTeXSpecialChars): adjust
7075         (simpleTeXSpecialChars): adjust
7076         * paragraph.C (simpleTeXOnePar): adjust
7077         * buffer.C (makeLaTeXFile): adjust
7078
7079         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7080
7081         * text2.C (changeDepth): parlist cleanup
7082         (getColumnNearX): ditto
7083
7084         * rowpainter.C (getLabelFont): parlist cleanup
7085
7086         * bufferlist.C (newFile): parlist cleanup
7087
7088         * CutAndPaste.C (eraseSelection): parlist cleanup
7089
7090         * BufferView_pimpl.C (trackChanges): parlist cleanup
7091         (dispatch): ditto
7092
7093         * BufferView.C (lockInset): parlist cleanup.
7094         (ChangeInsets): ditto
7095
7096 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7097
7098         * CutAndPaste.h: Update file header.
7099
7100         * CutAndPaste.C: Update file header.
7101         Store the parts cut out of the Document in a limited_stack.
7102         (copySelection): adjust
7103         (pasteSelection): new function, takes the index in the limited stack.
7104         (nrOfParagraphs): adjust
7105         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7106         simplify error inset insertion.
7107         (checkPastePossible): adjust
7108
7109 2003-05-06  John Levon  <levon@movementarian.org>
7110
7111         * text2.C: don't cast wrap inset to float
7112
7113 2003-05-05  André Pönitz  <poenitz@gmx.net>
7114
7115         * iterator.C:
7116         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7117
7118         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7119           few naked Paragraph *.
7120
7121 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7122
7123         * bufferparams.C: Output warning if a document with missing
7124         TeX document class is loaded
7125         * exporter.C: Disable TeX exports if the document class is missing
7126         * lyxtextclass.C:
7127         * lyxtextclass.h:
7128         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7129         isTeXClassAvailable()
7130
7131 2003-05-03  John Levon  <levon@movementarian.org>
7132
7133         * BufferView.h:
7134         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7135         explicit cursor show/hide
7136
7137         * BufferView_pimpl.h:
7138         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7139         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7140
7141         * lyxfunc.C: hide cursor before dispatching.
7142
7143         * lyx_cb.C:
7144         * lyxfind.C:
7145         * text.C:
7146         * text3.C: remove explicit cursor hides
7147
7148 2003-05-02  André Pönitz  <poenitz@gmx.net>
7149
7150         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7151
7152         * undo_funcs.C:
7153         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7154           linked lists
7155
7156         * text2.C: tiny whitespace
7157
7158 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7159
7160         * undo_funcs.C: almost only ws changes.
7161
7162         * ParagraphList.C (splice): just return if pl is empty.
7163
7164 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7165
7166         * ParagraphList.C (splice): new function.
7167
7168         * CutAndPaste.C (pasteSelection): use it
7169
7170 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7171
7172         * CutAndPaste.C (pasteSelection): remove the last next and
7173         previous from this file.
7174
7175 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7176
7177         * CutAndPaste.C (pasteSelection): more clean up, user proper
7178         ParagraphList functions for pasteing.
7179
7180         * ParagraphList.C (insert): new function, three arg insert
7181
7182 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7183
7184         * ParagraphList.C (insert): new function, three arg insert
7185
7186         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7187         not on paragraphs.
7188
7189 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7190
7191         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7192
7193 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7194
7195         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7196
7197 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7198
7199         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7200         (copySelection): clean up a bit.
7201         (pasteSelection): use make_pair
7202
7203         * ParagraphList.C (ParagraphList): implement copy constructor
7204         (operator=): implement, base on copy constructor.
7205         (assign): new func
7206
7207         * paragraph.C (erase): return a bool
7208
7209         * paragraph_pimpl.C (erasePos): remove function, move contents...
7210         (erase): ... here. Return a bool.
7211         (erase): call erase instead of erasePos.
7212
7213 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7214
7215         * ParagraphList.h: define PitPosPair
7216         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7217         ParagraphList, fix a bug on pasting multiple pars
7218         * text2.C: change interface to C&P
7219
7220 2003-04-30  André Pönitz  <poenitz@gmx.net>
7221
7222         * undo_func.C: revert part of yesterday's patch 2
7223
7224 2003-04-30  John Levon  <levon@movementarian.org>
7225
7226         * LColor.C: s/tabular/table/
7227
7228 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7229
7230         * text3.C (dispatch): do not convert iterator -> pointer
7231         * undo_funcs.C (setCursorParUndo): ditto
7232         * text_funcs.C (transposeChars): ditto
7233
7234         * text2.C (setLayout): ws changes only
7235
7236         * text.C (breakParagraph): do not convert iterator -> pointer
7237         (insertChar): ditto
7238         (acceptChange): ditto
7239         (rejectChange): ditto
7240         (changeCase): ditto
7241         (Delete): ditto
7242         (backspace): ditto
7243
7244         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7245         pointer
7246
7247 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7248
7249         * text3.C (gotoInset): YABG (yet another bad getChar)
7250
7251 2003-04-29  André Pönitz  <poenitz@gmx.net>
7252
7253         * paragraph.h: make operator= private unimplemented as long as
7254           it is unusable
7255
7256         * ParagraphList.C: whitespace
7257
7258         * paragraph.[Ch]:
7259         * paragraph_pimpl.[Ch]:
7260         * paragraph_funcs.C:
7261         * CutAndPaste.C:
7262         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7263
7264         * text2.C:
7265           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7266
7267 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7268
7269         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7270         * paragraph.[Ch] (erase):
7271         * paragraph_pimpl.[Ch] (erase): change return type and value
7272         * text2.C (cutSelection): some rework
7273
7274 2003-04-28  John Levon  <levon@movementarian.org>
7275
7276         * bufferlist.C: changes for unsaved changes dialog
7277
7278 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7279
7280         * bufferlist.C (newFile): set language (messages_) for new
7281         documents also.
7282
7283         * buffer.C (readFile): ws changes only.
7284
7285 2003-04-28  André Pönitz  <poenitz@gmx.net>
7286
7287         * undo_funcs.C:
7288         * lyxfunc.C:
7289         * buffer.[Ch]:
7290         * BufferView_pimpl.C:
7291         * BufferView.C: getParFromID related ParagraphList::iterator changes
7292
7293 2003-04-28  André Pönitz  <poenitz@gmx.net>
7294
7295         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7296           Changes
7297
7298 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7299
7300         * messages.C: remove one more localedir class variable.
7301
7302 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7303
7304         * messages.C (getLocaleDir): singleton generation function
7305         (Pimpl): use it.
7306         (Messages): add a default constructor.
7307
7308         * main.C (main): do not setup localedir here, do not call
7309         gettext_init.
7310
7311         * gettext.C (_): use it.
7312         (gettext_init): delete funciton
7313
7314 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7315
7316         * gettext.C (getLyXMessages): new singleton generating function.
7317
7318         * buffer.C (updateDocLang): adjust
7319
7320         * Makefile.am (messages.o): add target
7321         (main.o): remove target
7322
7323 2003-04-27  John Levon  <levon@movementarian.org>
7324
7325         * bufferlist.C:
7326         * lyx_cb.C:
7327         * lyxfunc.C:
7328         * lyxvc.C: specify cancel button in Alert::prompt
7329
7330 2003-04-26  John Levon  <levon@movementarian.org>
7331
7332         * text3.C:
7333         * lyxfunc.C:
7334         * lfuns.h:
7335         * LyXAction.C: add LFUN_INSET_SETTINGS
7336
7337         * lyxfunc.C: don't enable tabular-feature when there's
7338         just any locking inset
7339
7340 2003-04-26  John Levon  <levon@movementarian.org>
7341
7342         * bufferlist.C: re-add Cancel to buffer close question
7343
7344         * lyxfunc.C: fix import UI a bit
7345
7346 2003-04-25  John Levon  <levon@movementarian.org>
7347
7348         * gettext.C: remove the broken asserts for now
7349
7350 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7351
7352         * messages.C: make case where setlocale cannot comply work better.
7353
7354         * buffer.C (updateDocLang): new function
7355         (changeLanguage): use it
7356         (readFile): use it
7357
7358         * text2.C (setCounter): use B_ a bit.
7359
7360         * lyxlayout.C (Read): be sure to trim the label strings.
7361
7362         * messages.C (Messages): fix typo in comment
7363
7364         * buffer.C (readFile): set message_ after file is loaded.
7365         (makeDocBookFile): remove double return
7366         (changeLanguage): reset message_ upon language change.
7367         (B_): new func, use this to get translated buffer strings.
7368
7369         * main.C: add myself and Jean Marc as authors.
7370
7371 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7372
7373         * messages.[hC]: pimplify Messages, and three different pimpls to be
7374         used in different circumstances.
7375
7376         * gettext.[Ch]: change for use with new message code.
7377
7378 2003-04-24 André Pönitz <poenitz@gmx.net>
7379
7380         * factory.C: support for eqref
7381
7382 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7383
7384         * messages.[Ch]: add missing char
7385
7386         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7387
7388         * messages.[Ch]: New files
7389
7390 2003-04-18  John Levon  <levon@movementarian.org>
7391
7392         * BufferView.h:
7393         * BufferView.C:
7394         * BufferView_pimpl.C:
7395         * lfuns.h:
7396         * LyXAction.C:
7397         * lyxtext.h:
7398         * text2.C: remove layout-copy/paste (bug 778)
7399
7400 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7401
7402         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7403
7404 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7405
7406         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7407         if they succeed. Act accordingly.
7408
7409 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7410
7411         * text2.C (setCharFont): adjust
7412         (setCounter): adjust
7413         (insertStringAsLines): adjust
7414
7415         * text.C (leftMargin): adjust
7416         (setHeightOfRow): adjust
7417
7418         * rowpainter.C (paintFirst): adjust
7419         (paintLast): adjust
7420
7421         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7422         (outerHook): ditto
7423         (isFirstInSequence): ditto
7424         (getEndLabel): ditto
7425         (outerFont): adjust
7426
7427         * paragraph.C (getParLanguage): comment out some hard stuff.
7428
7429         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7430         (sgmlError): ditto
7431         (simpleDocBookOnePar): ditto
7432         (makeDocBookFile): use ParagraphList::iterator
7433
7434         * CutAndPaste.C (pasteSelection): adjust
7435
7436 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7437
7438         * text2.C (getFont): adjust
7439         (getLayoutFont): adjust
7440         (getLabelFont): adjust
7441
7442         * paragraph_funcs.C (TeXOnePar): adjust
7443
7444         * buffer.C (simpleLinuxDocOnePar): adjust
7445         (simpleDocBookOnePar): adjust
7446
7447         * CutAndPaste.C (pasteSelection): adjust
7448
7449         * BufferView.C (getEncoding): adjust
7450
7451         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7452
7453 2003-04-16  John Levon  <levon@movementarian.org>
7454
7455         * lyxfind.C: use parlist stuff for search/changes
7456
7457 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7458
7459         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7460
7461         * text2.C (deleteEmptyParagraphMechanism): adjust
7462
7463         * text2.[Ch] (ownerParagraph): delete func (both of them
7464
7465 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7466
7467         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7468
7469 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7470
7471         * ParagraphList.C: prepare for NO_NEXT
7472
7473 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7474
7475         * text2.C (getFont): adjust
7476         (getLayoutFont): adjust
7477         (getLabelFont): adjust
7478
7479         * paragraph.C (getFont): adjust
7480         (getLabelFont): adjust
7481         (getLayoutFont): adjust
7482
7483         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7484
7485 2003-04-15  John Levon  <levon@movementarian.org>
7486
7487         From Angus Leeming
7488
7489         * lyx_main.C: handle Include in .ui files
7490
7491 2003-04-15  John Levon  <levon@movementarian.org>
7492
7493         * MenuBackend.C: make the doc files length shorter
7494
7495         * ToolbarBackend.h:
7496         * ToolbarBackend.C: handle toolbar placement flags,
7497         Minibuffer
7498
7499 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7500
7501         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7502         adjust
7503
7504         * paragraph_funcs.C (TeXOnePar): adjust
7505
7506         * paragraph.C (getLabelFont): add outerfont arg, adjust
7507         (getLayoutFont): ditto
7508         (simpleTeXOnePar): adjust
7509
7510         * paragraph_pimpl.C (realizeFont): delete func
7511
7512 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7513
7514         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7515         row argument, constify cur argument.
7516
7517 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7518
7519         * text2.C (getFont): adjust
7520         (getLayoutFont): adjust
7521         (getLabelFont): adjust
7522
7523         * paragraph_funcs.C (TeXOnePar): adjust
7524         (outerFont): new func...
7525         (realizeFont): ...moved out from here, changed this to facilitate
7526         transition
7527
7528         * paragraph.C (getFont): take outerfont as arg, adjust
7529         (simpleTeXOnePar): add outerfont arg, adjust
7530
7531         * buffer.C (simpleLinuxDocOnePar): adjust
7532         (simpleDocBookOnePar): adjust
7533
7534         * CutAndPaste.C (pasteSelection): adjust
7535
7536         * BufferView.C (getEncoding): adjust
7537
7538 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7539
7540         * text2.C (setCharFont): adjust
7541         (setCounter): adjust
7542
7543         * text.C (leftMargin): adjust
7544         (setHeightOfRow): adjust
7545
7546         * rowpainter.C (paintFirst): adjust
7547         (paintLast): adjust
7548
7549         * paragraph_pimpl.C (realizeFont): adjust
7550
7551         * paragraph.C (isFirstInSequence): move from here...
7552         * paragraph_funcs.C (isFirstInSequence): ...to here
7553
7554         * paragraph.C (outerHook): move from here...
7555         * paragraph_funcs.C (outerHook): ...to here
7556
7557         * paragraph.C (depthHook): move from here...
7558         * paragraph_funcs.C (depthHook): ...to here
7559
7560         * paragraph.C (getEndLabel): move from here...
7561         * paragraph_funcs.C (getEndLabel): ...to here
7562
7563         * text2.C (realizeFont): move from here...
7564         * paragraph_funcs.C (realizeFont): ...to here
7565
7566 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7567
7568         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7569
7570 2003-04-14  Angus Leeming  <leeming@lyx.org>
7571
7572         * LColor.[Ch]: scrap LColor mathcursor.
7573
7574 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7575
7576         * lyxlex.[Ch] (text): delete function
7577         * trans.C (Load): adjust
7578         * paragraph_funcs.C (readParToken): adjust
7579
7580 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7581
7582         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7583         vector<char> instead of a char[].
7584
7585         * lyxlex_pimpl.C (getString): adjust
7586         (next): adjust
7587         (lex): use getString
7588         (eatLine): adjust
7589         (nextToken): adjust
7590
7591         * lyxlex.C (text): use pimpl_->getString()
7592         (getBool): ditto
7593         (findToken): ditto
7594
7595 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7596
7597         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7598         (makeFontEntriesLayoutSpecific): temp var for par.size()
7599         (setLayout): temp var for ownerParagraphs().end()
7600         (fullRebreak): temp var for rows().end()
7601         (selectionAsString): temp var for boost::next(startpit), realize
7602         that the while really is a regular for loop.
7603         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7604         setCursor in one place.
7605         (setParagraph): temp vr for ownerParagraphs().end()
7606         (updateCounters): make the while loop a for loop
7607         (cutSelection): temp var for ownerParagraphs().end()
7608         (updateInset): make the do {} while() a regular for loop
7609         (getCursorX): use temp vars
7610         (setCurrentFont): use temp vars
7611         (getColumnNearX): use temp vars
7612
7613 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7614
7615         * text.C (transformChar): use temp var for getChar
7616         (computeBidiTables): use temp var for row->par()
7617         (fill): move temp vars for row->par() and pit->layout() earlier in
7618         the function.
7619         (labelFill): use temp var for row->par()
7620         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7621         asc and desc, realize that pit never changes and that firstpit is
7622         just a duplicate and not needed. Exchange rit->par() with pit in a
7623         lot of places.
7624         (breakAgain): use a temp var for boost::next(rit)
7625         (breakAgainOneRow): ditto
7626         (breakParagraph): use a temp var for rows().begin()
7627         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7628         (cursorRightOneWord): use temp var for cursor.par() and
7629         cursor.pos(), remove usage of tmpcursor.
7630         (cursorLeftOneWord): use temp var for cursor.par() and
7631         cursor.pos() only set cur at end of function.
7632
7633 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7634
7635         * text.C, text2.C: exchange all usage of Paragraph::next with
7636         boost::next(ParagraphList::iterator)
7637
7638         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7639
7640         * text2.C (cursorTop): simplify implementation
7641         (cursorBottom): ditto
7642         (setParagraph): use ParagraphList::iterator
7643         (setCurrentFont): adjust
7644         (getColumnNearX): adjust
7645         (cursorRight): adjust
7646         (cursorLeft): remove usage of Paragraph::previous
7647         (cursorUpParagraph): ditto
7648         (deleteEmptyParagraphMechanism): slight cleanup
7649
7650         * text.C (isBoundary): take a Paragraph const & instead of a
7651         pointer as arg.
7652         (addressBreakPoint): ditto
7653         (leftMargin): remove usage of Paragraph::previous.
7654         (setHeightOfRow): ditto
7655         (cursorLeftOneWord): ditto
7656         (selectNextWordToSpellcheck): ditto
7657         (Delete): ditto
7658         (backspace): ditto
7659         (breakParagraph): remove one usage of Paragraph::next
7660         (redoParagraph): ditto
7661         (acceptChange): ditto
7662         (insertChar): adjust
7663         (rowBreakPoint): adjust
7664
7665         * bufferview_funcs.C (toggleAndShow): adjust
7666
7667 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7668
7669         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7670         methods to access it.
7671         * lyxtext.h:
7672         * text.C: Added updateRowPositions to compute all row positions.
7673         Make top_y and getRowNearY() to use the cached y position
7674
7675 2003-04-11  John Levon  <levon@movementarian.org>
7676
7677         * text.C (rowBreakPoint): reintroduce the labelEnd
7678         checks, code copied from the row fill stuff. Deep voodoo.
7679
7680         * text.C (fill): add a comment and debugging for the
7681         next poor soul.
7682
7683 2003-04-11  John Levon  <levon@movementarian.org>
7684
7685         * text.C: make sure fullrow insets get wrapped to the next line,
7686         even when they're in a manual label
7687
7688 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7689
7690         * text2.C (insertParagraph): make it take ParagraphList::iterator
7691         as arg.
7692         (setLayout): make it return ParagraphList::iterator
7693         (redoParagraphs): ditto
7694         (setCounter): ditto
7695         (checkParagraph): ditto
7696
7697         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7698
7699         * text2.C: adjust several funcs.
7700         (realizeFont): take a ParagraphList::iterator as arg.
7701         (getLayoutFont): ditto
7702         (getLabelFont): ditto
7703         (setCharFont): ditto
7704
7705         * text.C: adjust several funcs.
7706
7707 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7708
7709         * text.C (selectNextWordToSpellcheck): don't accidentally
7710         skip insets
7711
7712 2003-04-10  John Levon  <levon@movementarian.org>
7713
7714         * ToolbarBackend.C (getIcon): special handling for
7715         LFUN_MATH_DELIM
7716
7717 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7718
7719         * text2.C (cursorRight): a getChar assert fixed
7720
7721 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7722
7723         * text2.C (getFont): change to take a ParagraphList::iterator
7724         instead of Paragraph*
7725         Adjust several functions.
7726
7727         * text.C (transformChar): change to take a ParagraphList::iterator
7728         instead of Paragraph*
7729         (singleWidth): ditto
7730         Adjust several functions.
7731
7732         * rowpainter.C: adjust several functions
7733         * rowpainter.h:store a ParagraphList::iterator and not a
7734         Paragraph&.
7735
7736
7737 2003-04-09  John Levon  <levon@movementarian.org>
7738
7739         * lyxfunc.C:
7740         * lfuns.h:
7741         * LyXAction.h:
7742         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7743         and the "help" bits as well
7744
7745 2003-04-09  John Levon  <levon@movementarian.org>
7746
7747         * ToolbarBackend.h:
7748         * ToolbarBackend.C: allow multiple toolbars
7749
7750 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7751
7752         * undo_funcs.C (setCursorParUndo): adjust
7753
7754         * text_funcs.C (transposeChars): adjust
7755
7756         * text3.C (gotoNextInset): adjust
7757         (dispatch): adjust
7758
7759         * text2.C (setLayout): adjust
7760         (changeDepth): adjust
7761         (setFont): adjust
7762         (redoParagraphs): adjust
7763         (selectionAsString): adjust
7764         (setParagraph): adjust
7765         (insertInset): adjust
7766         (cutSelection): adjust
7767         (copySelection): adjust
7768         (pasteSelection): adjust
7769         (insertStringAsLines): adjust
7770         (updateInset): adjust
7771         (setCursor): change to take a ParagraphList::iterator parameter
7772         (setCursorIntern): change to take a ParagraphList::iterator parameter
7773         (setCurrentFont): adjust
7774         (cursorLeft): adjust
7775         (cursorRight): adjust
7776         (deleteEmptyParagraphMechanism): adjust
7777
7778         * text.C (breakParagraph): adjust
7779         (insertChar): adjust
7780         (acceptChange): adjust
7781         (rejectChange): adjust
7782         (selectNextWordToSpellcheck): adjust
7783         (changeCase): adjust
7784         (Delete): adjust
7785         (backspace): adjust
7786
7787         * lyxfind.C (SearchForward): adjust
7788         (SearchBackward): adjust
7789         (nextChange): adjust
7790
7791         * lyxcursor.C (par): adjust
7792
7793         * lyxcursor.h: store a ParagraphList::iterator instead of a
7794         Paragraph*
7795
7796         * lyx_cb.C (getPossibleLabel): adjust
7797
7798         * bufferview_funcs.C (toggleAndShow): adjust
7799
7800         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7801         (dispatch): adjust
7802
7803         * BufferView.C (removeAutoInsets): adjust
7804         (lockedInsetStoreUndo): adjust
7805
7806 2003-04-09  John Levon  <levon@movementarian.org>
7807
7808         * ToolbarBackend.C: try icon without argument
7809         if with argument fails
7810
7811 2003-04-08  John Levon  <levon@movementarian.org>
7812
7813         * ToolbarBackend.h:
7814         * ToolbarBackend.C: add getIcon(), handle tooltip,
7815         and change from "Icon" to "Item".
7816
7817 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7818
7819         * BufferView.C (lockInset): another bad getchar crunched
7820
7821 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7822
7823         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7824         again)
7825
7826 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7827
7828         * lyxfind.C (searchForward, searchBackwards): bug 782
7829
7830 2003-04-07  John Levon  <levon@movementarian.org>
7831
7832         * paragraph.C: remove dead comment
7833
7834         * text.C: remove troublesome depth-fiddling code
7835         in leftMargin() and rightMargin() (bug 1017)
7836
7837         * text.C: fix breaking of rows in nested lists
7838         (bug 1004)
7839
7840         * text2.C (updateCounters): fix up depth values
7841         (bug 1013)
7842
7843 2003-04-07  John Levon  <levon@movementarian.org>
7844
7845         * BufferView_pimpl.C: clear message when doc finishes resizing,
7846         and after a mouse event
7847
7848         * lyxfunc.C: clear message after exiting inset
7849
7850 2003-04-07  John Levon  <levon@movementarian.org>
7851
7852         * bufferview_funcs.C: show math status not outside
7853         status in the statusbar
7854
7855 2003-04-07  John Levon  <levon@movementarian.org>
7856
7857         * lyxfunc.C: note status changed after a depth change
7858
7859 2003-04-04  Angus Leeming  <leeming@lyx.org>
7860
7861         * LaTeX.h: move AuxInfo operator==, != out of line.
7862         Remove LaTeX virtual destructor; nothing derives from it.
7863         Move operator()() out of public area and rename it startscript().
7864         Change protected for private.
7865
7866 2003-04-04  Angus Leeming  <leeming@lyx.org>
7867
7868         * lyxfunc.C:
7869         * text2.C: remove unneeded #includes.
7870
7871 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7872
7873         * text2.C (dEPM): fix the heigth of the next row
7874
7875 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7876
7877         * text.C: squashed an invalid getChar requester + some ws changes
7878
7879 2003-04-03  John Levon  <levon@movementarian.org>
7880
7881         * bufferview_funcs.h:
7882         * bufferview_funcs.C:
7883         * lyxfunc.C:
7884         * lyxtext.h:
7885         * text2.C: make getStatus work for the env depth lfuns
7886
7887 2003-04-03  John Levon  <levon@movementarian.org>
7888
7889         * bufferview_funcs.h:
7890         * bufferview_funcs.C:
7891         * lyxfunc.C:
7892         * lyxtext.h:
7893         * text2.C: parlistize decDepth(), by merging it with incDepth()
7894
7895 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7896
7897         * lyxrow.h: store a ParagraphList::iterator instead of a
7898         Paragraph* and adjust other class functions to suit.
7899
7900         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7901         above.
7902
7903 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7904
7905         * text2.C (setCursor): do not anchor to cursor row for the time being
7906
7907 2003-04-02  John Levon  <levon@movementarian.org>
7908
7909         * LyXAction.C:
7910         * lfuns.h:
7911         * lyx_main.C:
7912         * lyxtext.h:
7913         * text.C:
7914         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7915
7916 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7917
7918         * paragraph.h: make ParagraphList and ParagraphList::iterator
7919         friends of Paragraph.
7920
7921         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7922
7923         * ParagraphList.C: Use the private next_ and previous_ from
7924         Paragraph.
7925
7926 2003-04-01  John Levon  <levon@movementarian.org>
7927
7928         * ToolbarBackend.h:
7929         * ToolbarBackend.C:
7930         * Makefile.am: rename, remove defaults gunk
7931
7932         * MenuBackend.h:
7933         * MenuBackend.C: remove defaults gunk
7934
7935         * Languages.h:
7936         * Languages.C: remove defaults gunk
7937
7938         * lyx_main.h:
7939         * lyx_main.C: error out if files couldn't be found.
7940
7941 2003-04-02  John Levon  <levon@movementarian.org>
7942
7943         * text2.C: make incDepth() use parlist
7944
7945 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7946
7947         * undo_funcs.C (firstUndoParagraph): adjust
7948
7949         * text3.C (gotoInset): adjust
7950         (dispatch): adjust, and rewrite loop.
7951
7952         * text2.C (init): adjust, and rewrite loop.
7953         (redoParagraphs): adjust
7954         (updateInset): adjust, and rewrite loop.
7955         (deleteEmptyParagraphMechanism): adjust
7956
7957         * tabular.C (LyXTabular): adjust
7958         (SetMultiColumn): adjust
7959         (TeXRow): adjust
7960
7961         * lyxtext.[Ch] (ownerParagraph): delete function
7962         (ownerParagraphs): new function returns a ParagraphList.
7963
7964         * BufferView.C (removeAutoInsets): adjust
7965         (insertErrors): adjust
7966         (setCursorFromRow): adjust
7967
7968 2003-04-01  Angus Leeming  <leeming@lyx.org>
7969
7970         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7971         in the frontends.
7972
7973 2003-04-02  John Levon  <levon@movementarian.org>
7974
7975         * lyxtext.h:
7976         * text.C:
7977         * Makefile.am:
7978         * text_funcs.h:
7979         * text_funcs.C: make transposeChars a free function
7980
7981         * lyxrow_funcs.C: remove wrong comment
7982
7983 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7984
7985         * lyxtext.h: adjust
7986         * rowpainter.C: adjust
7987         * text.C: adjust
7988         * text2.C: adjust
7989         * text3.C: adjust
7990
7991         * lyxrow_funcs. [Ch]: new files
7992
7993         * lyxrow.[Ch]: remove next and previous pointers
7994         (next,previous): remove accessor functions
7995         (isParEnd): move to lyxrow_funcs
7996         (lastPos): move to lyxrow_funcs
7997         (nextRowIsAllInset): move to lyxrow_funcs
7998         (lastPrintablePos): move to lyxrow_funcs
7999         (numberOfSeparators): move to lyxrow_funcs
8000         (numberOfHfills): move to lyxrow_funcs
8001         (numberOfLabelHfills): move to lyxrow_funcs
8002         (hfillExpansion): move to lyxrow_funcs
8003
8004         * lyxfunc.C: adjust
8005
8006         * bufferview_funcs.C (toggleAndShow): adjust
8007
8008         * RowList.h: Remove class RowList from file leave just a
8009         std::list<Row>.
8010
8011         * RowList.C: delete file
8012
8013         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8014         and lyxrow_funcs.h
8015
8016 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8017
8018         * text3.C (cursorPrevious): adjust
8019         (cursorNext): adjust
8020         (dispatch): adjust
8021
8022         * text2.C (redoHeightOfParagraph): adjust
8023         (redoDrawingOfParagraph): adjust
8024         (setCursor): adjust
8025
8026         * text.C (breakParagraph): adjust
8027         (insertChar): adjust
8028         (backspace): adjust
8029
8030         * rowpainter.C (RowPainter): adjust
8031         (leftMargin): simplify and adjust
8032         (most rowpainter functions): adjust.
8033
8034         * rowpainter.h: store the row as RowList::iterator not as Row*
8035
8036         * lyxcursor.C (row): taka RowList::iterator as arg
8037         (irow): ditto
8038
8039         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8040         of Row*.
8041
8042 2003-04-01  Angus Leeming  <leeming@lyx.org>
8043
8044         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8045         stuff like bool Bool.
8046
8047 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8048
8049         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8050         rewrite a loop
8051
8052 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8053
8054         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8055         RowList::iterator.
8056
8057         * lyxtext.h (rows): drop one version and leve a const variant that
8058         returns a RowList::iterator.
8059
8060 2003-03-31  Angus Leeming  <leeming@lyx.org>
8061
8062         * text.C (fill): ensure that the signature is the same as that in the
8063         header file.
8064
8065 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8066
8067         * text2.C (redoParagraphs): adjust
8068         (updateCounters): adjust
8069         (checkParagraph): adjust
8070         (getColumnNearX): adjust and reformat a bit.
8071
8072         * text.C (top_y): adjust
8073         (workWidth): adjust
8074         (leftMargin): adjust
8075         (prepareToPrint): adjust
8076         (getRow): adjust
8077         (getRowNearY): adjust
8078
8079         * lyxtext.h: make rowlist_ mutable.
8080
8081         * RowList.h: add const_iterator
8082         * RowList.C: adjust for RowList::const_iterator.
8083
8084         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8085         adjust.
8086
8087 2003-03-31  John Levon  <levon@movementarian.org>
8088
8089         * lyxrc.h:
8090         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8091
8092         * lyx_main.C: set default fonts from using lyx_gui funcs
8093
8094         * exporter.C: pdf_mode moved from lyxrc
8095
8096         * lyx_cb.C:
8097         * lyxfunc.C: changes from above
8098
8099 2003-03-31  John Levon  <levon@movementarian.org>
8100
8101         * lyx_main.C: fix to the last fix
8102
8103 2003-03-31  John Levon  <levon@movementarian.org>
8104
8105         * bufferlist.C: "Load original" -> "Load Original"
8106
8107         * converter.C:
8108         * exporter.C:
8109         * importer.C:
8110         * lyx_main.C:
8111         * format.C: more Alert cleanups
8112
8113 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8114
8115         * text2.C (removeParagraph): make it take a RowList::iterator as
8116         arg, adjust.
8117         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8118         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8119
8120         * text.C (anchor_row): make it take a RowList::iterator as arg,
8121         adjust.
8122         (computeBidiTables): make it take a const reference to Row instead
8123         of Row pointer, adjust.
8124         (leftMargin): make it take a RowList::iterator as arg, adjust.
8125         (rowBreakPoint): adjust
8126         (breakAgainOneRow): make it take a RowList::iterator as arg,
8127         adjust.
8128         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8129
8130         * bufferview_funcs.C (toggleAndShow): adjust
8131
8132 2003-03-30  John Levon  <levon@movementarian.org>
8133
8134         * Makefile.am:
8135         * BoostFormat.h:
8136         * boost-inst.C: moved to support
8137
8138         * several files: changes as a result
8139
8140 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8141
8142         * text2.C (LyXText): adjust.
8143         (init): adjust
8144         (removeRow): make it take a RowList::iterator as arg, adjust.
8145         (fullRebreak): adjust
8146         (deleteEmptyParagraphMechanism): adjust
8147         (clearPaint): adjust
8148         (postPaint): adjust
8149
8150         * text.C (top_y): adjust
8151         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8152         (breakAgain): make it take a RowList::iterator as arg, adjust.
8153         (breakParagraph): adjust
8154         (insertChar): adjust
8155         (backspace): adjust
8156
8157         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8158         need_break_row, and refresh_row.
8159
8160         * text3.C (dispatch): adjust
8161
8162         * text2.C (checkParagraph): adjust
8163         (setCursor): adjust
8164         (setCursorFromCoordinates): adjust
8165
8166         * text.C (top_y): adjust
8167         (workWidth): adjust
8168         (getRow): make it return a RowList::iterator, adjust
8169         (getRowNearY): make it return a RowList::iterator, adjust
8170
8171         * text2.C (init): adjust
8172         (insertRow): remove function
8173         (insertParagraph): adjust
8174         (redoParagraphs): adjust
8175         (fullRebreak): adjust
8176         (updateCounters): adjust
8177
8178         * text.C (top_y): rewrite to use RowList iterators.
8179         (top_y): adjust
8180         (setHeightOfRow): rewrite to sue RowList iterators.
8181         (appendParagraph): adjust
8182         (breakAgain): adjust
8183         (breakAgainOneRow): adjust
8184         (breakParagraph): adjust
8185         (getRow): adjust
8186         (getRowNearY): adjust, and remove commented code.
8187
8188         * lyxtext.h (firstRow): delete function
8189         (lastRow): delete function
8190         (rows): new function (const and non-const versions.)
8191         (insertRow): delete function
8192
8193         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8194
8195 2003-03-29  John Levon  <levon@movementarian.org>
8196
8197         * BufferView_pimpl.C: always update scrollbar top
8198         because pasting text when we're anchored could mean we
8199         miss an update altogether
8200
8201 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8202
8203         * text2.C (init): use rowlist_.end() and not 0.
8204         (insertRow): change to take a RowList::iterator as arg, adjust
8205         for this.
8206         (insertParagraph): change to take a RowList::iterator as arg,
8207         adjust for this.
8208         (redoParagraphs): remove some debug msgs.
8209
8210         * text.C (appendParagraph): change to take a RowList::iterator
8211         arg, adjust for this.
8212         (breakAgain): add an assert
8213         (breakAgainOneRow): ditto
8214
8215 2003-03-29  John Levon  <levon@movementarian.org>
8216
8217         * text2.C: do not clear selection after inc/decDepth
8218         (bug 550)
8219
8220 2003-03-29  John Levon  <levon@movementarian.org>
8221
8222         * BufferView.C:
8223         * buffer.C: fix broken strerrors according to Lars
8224
8225 2003-03-29  John Levon  <levon@movementarian.org>
8226
8227         * converters.C: more Alert cleanups
8228
8229 2003-03-29  John Levon  <levon@movementarian.org>
8230
8231         * bufferview_funcs.C: remove pointless Alert
8232
8233         * buffer.C: fix confusing error message when
8234         a template is chmoded 000
8235
8236 2003-03-29  John Levon  <levon@movementarian.org>
8237
8238         * BufferView.C:
8239         * BufferView.h:
8240         * BufferView_pimpl.C: Alert fixes
8241
8242         * Makefile.am:
8243         * tabular.C:
8244         * tabular-old.C: remove unused table compat reading
8245
8246 2003-03-29  John Levon  <levon@movementarian.org>
8247
8248         * BufferView.C:
8249         * buffer.C:
8250         * lyx_cb.h:
8251         * lyx_cb.C: more Alert cleanups
8252
8253         * lyxfunc.C: don't allow chktex if not latex document
8254
8255 2003-03-29  John Levon  <levon@movementarian.org>
8256
8257         * lyx_cb.C:
8258         * BufferView.C:
8259         * buffer.C: warnings pushed down from support/,
8260         kill err_alert
8261
8262 2003-03-29  John Levon  <levon@movementarian.org>
8263
8264         * lyxfunc.C: safety check for C-r (revert)
8265
8266 2003-03-29  John Levon  <levon@movementarian.org>
8267
8268         * bufferlist.h:
8269         * bufferlist.C: several UI fixes using Alert::prompt.
8270         Fix the pointless looping quit code. Fix stupid revert
8271         behaviour (bug 938)
8272
8273         * lyxvc.h:
8274         * lyxvc.C:
8275         * lyx_cb.C: use Alert::prompt
8276
8277         * lyx_main.C: remove a silly question
8278
8279         * lyxfunc.C: remove a couple of silly questions,
8280         use Alert::prompt
8281
8282 2003-03-28  John Levon  <levon@movementarian.org>
8283
8284         * text2.C: fix bug 974 (End on empty par)
8285
8286 2003-03-28  John Levon  <levon@movementarian.org>
8287
8288         * BufferView_pimpl.C:
8289         * LyXAction.C:
8290         * lfuns.h: remove do-nothing math greek lfuns
8291
8292 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8293
8294         * lyxgluelength.h (isValidGlueLength): add default arg on
8295         parameter 2. Remove default arg from friend in class.
8296
8297         * lyxlength.h (isValidLength): add default arg on parameter 2.
8298         Remove default arg from friend in class.
8299
8300         * text2.C (LyXText): adjust, initialize refresh_row.
8301         (init): adjust
8302         (removeRow): adjust
8303         (insertRow): adjust
8304         (insertParagraph): adjst
8305         (redoParagraphs): adjust
8306         (fullRebreak): adjust
8307         (updateCounters): adjust
8308         (deleteEmptyParagraphMechanism): first attempt at fixing a
8309         crashing bug.
8310
8311         * text.C (top_y): adjust
8312         (setHeightOfRow): adjust
8313         (getRow): adjust
8314         (getRowNearY): adjust
8315
8316         * lyxtext.h: include RowList.h
8317         (~LyXText): not needed anymore, deleted.
8318         (firstRow): modify for RowList
8319         (lastRow): new function
8320         Delete firstrow and lastrow class variables, add a Rowlist
8321         rowlist_ class variable.
8322
8323         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8324         paragraph is empty.
8325
8326         * RowList.C (insert): fix case where it == begin().
8327
8328 2003-03-26  Angus Leeming  <leeming@lyx.org>
8329
8330         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8331         the thesaurus dialog.
8332
8333 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8334
8335         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8336
8337         * RowList.[Ch]: new files
8338
8339         * ParagraphList.C (erase): handle the case where it == begin
8340         correctly.
8341
8342 2003-03-25  John Levon  <levon@movementarian.org>
8343
8344         * Makefile.am:
8345         * aspell_local.h:
8346         * aspell.C: add new aspell support
8347
8348         * lyxrc.h:
8349         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8350         have it accessible.
8351
8352 2003-03-25  Angus Leeming  <leeming@lyx.org>
8353
8354         * lfuns.h:
8355         * LyXAction.C (init): new LFUN_INSET_INSERT.
8356
8357         * BufferView_pimpl.C (dispatch): split out part of the
8358         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8359
8360         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8361         LFUN_INSET_APPLY.
8362
8363 2003-03-25  Angus Leeming  <leeming@lyx.org>
8364
8365         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8366
8367 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8368
8369         * text2.C:
8370         * text3.C: remove useless row->height(0)
8371
8372 2003-03-25  John Levon  <levon@movementarian.org>
8373
8374         * lyxtext.h:
8375         * text2.C:
8376         * text3.C: rename the refreshing stuff to better names
8377
8378 2003-03-24  John Levon  <levon@movementarian.org>
8379
8380         * BufferView_pimpl.h:
8381         * BufferView_pimpl.C: update layout choice on a mouse
8382         press/release
8383
8384 2003-03-23  John Levon  <levon@movementarian.org>
8385
8386         * Makefile.am: fix commandtags.h reference
8387
8388 2003-03-22  John Levon  <levon@movementarian.org>
8389
8390         * BufferView_pimpl.C:
8391         * lyxtext.h:
8392         * rowpainter.C:
8393         * rowpainter.h:
8394         * text.C:
8395         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8396
8397 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8398
8399         * lyxtext.h:
8400         * text.C: take the rtl methods out of line
8401
8402 2003-03-21 André Pönitz <poenitz@gmx.net>
8403
8404         * metricsinfo.[Ch]: new files containing structures to be passed around
8405         during the two-phase-drawing...
8406
8407 2003-03-21 André Pönitz <poenitz@gmx.net>
8408
8409         * lyxtextclass.C: read 'environment' tag.
8410
8411 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8412
8413         * text2.C (removeRow): fix bug 964
8414
8415 2003-03-20  John Levon  <levon@movementarian.org>
8416
8417         * rowpainter.C:
8418         * text.C:
8419         * text2.C: paint cleanups. Inset::update() dropped font
8420         parameter
8421
8422 2003-03-19  John Levon  <levon@movementarian.org>
8423
8424         * lyxfunc.C: only fitcursor/markDirty if available()
8425
8426 2003-03-19  John Levon  <levon@movementarian.org>
8427
8428         * commandtags.h: rename to ...
8429
8430         * lfuns.h: ... this, and renumber / cleanup
8431
8432 2003-03-19  John Levon  <levon@movementarian.org>
8433
8434         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8435         fit the cursor after an lfun
8436
8437         * BufferView.h:
8438         * BufferView.C:
8439         * BufferView_pimpl.h:
8440         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8441
8442         * LyXAction.C: layout-character should have ReadOnly
8443
8444         * ParagraphParameters.C:
8445         * buffer.C:
8446         * bufferview_funcs.C:
8447         * lyx_cb.C:
8448         * lyxfind.C:
8449         * lyxtext.h:
8450         * text.C:
8451         * text2.C:
8452         * text3.C:
8453         * undo_funcs.C: changes from above
8454
8455 2003-03-18  John Levon  <levon@movementarian.org>
8456
8457         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8458         remove it from update()
8459
8460         * lyxfunc.C: update layout choice after an lfun
8461
8462         * text3.C: remove extra updateLayoutChoice()s
8463
8464 2003-03-18  John Levon  <levon@movementarian.org>
8465
8466         * text.C: top_y change means full repaint, fix
8467         a drawing bug with cursor movement
8468
8469 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8470
8471         * lyxtext.h:
8472         * text.C:
8473         * text2.C: anchor row on setCursor
8474
8475 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8476
8477         * lyxtext.h: remove almost all mutable keywords
8478         * text.C:
8479         * text2.C:
8480         * text3.C: remove const keywords accordingly
8481
8482 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8483
8484         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8485         anon namespace
8486         (TeXEnvironment): ditto
8487         (TeXOnePar): ditto
8488
8489 2003-03-17  John Levon  <levon@movementarian.org>
8490
8491         * text.C (rowBreakPoint): remove attempt to fix displayed
8492         math insets inside a manual label
8493
8494 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8495
8496         * lyxtext.h: remove BufferView* as first arg from almost all class
8497         functions.
8498         * other files: adjust.
8499
8500 2003-03-17  John Levon  <levon@movementarian.org>
8501
8502         * lyxtext.h:
8503         * undo_funcs.C:
8504         * text2.C: more paint cleanups
8505
8506         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8507
8508         * rowpainter.h:
8509         * rowpainter.C: remove "smart" background painting code
8510
8511 2003-03-16  John Levon  <levon@movementarian.org>
8512
8513         * lyxtext.h:
8514         * text.C:
8515         * text2.C:
8516         * text3.C: add helper functions for setting refresh_row/y
8517
8518 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8519
8520         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8521         newline inset which *can* get inserted in the pass_thru layouts.
8522         This is primarily for literate documents.
8523
8524 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8525
8526         * buffer.C: increment LYX_FORMAT to 223
8527
8528 2003-03-14 André Pönitz <poenitz@gmx.net>
8529
8530         * textclass.h: prepare for environment handling, ws changes
8531         * lyxlayout.C: read latexheader and latexfooter tags
8532
8533 2003-03-14  John Levon  <levon@movementarian.org>
8534
8535         * text2.C: rewrite ::status() a bit
8536
8537 2003-03-13  John Levon  <levon@movementarian.org>
8538
8539         * lyxtext.h: add some docs
8540
8541 2003-03-13  John Levon  <levon@movementarian.org>
8542
8543         * lyxtext.h:
8544         * text.C:
8545         * text2.C:
8546         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8547
8548 2003-03-13  John Levon  <levon@movementarian.org>
8549
8550         * text3.C: fix appendix redrawing
8551
8552 2003-03-13  John Levon  <levon@movementarian.org>
8553
8554         * text.C (setHeightOfRow):
8555         * rowpainter.h:
8556         * rowpainter.C: make appendix mark have the text
8557           "Appendix" so the user knows what it is
8558
8559         * LColor.h:
8560         * LColor.C: s/appendixline/appendix/ from above
8561
8562 2003-03-13  John Levon  <levon@movementarian.org>
8563
8564         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8565
8566         * text.C: fix a getChar(pos) bug properly
8567
8568 2003-03-13  Angus Leeming  <leeming@lyx.org>
8569
8570         * commandtags.h:
8571         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8572         Probably only temporary. Let's see how things pan out.
8573
8574         * BufferView.C (unlockInset):
8575         * BufferView_pimpl.C (fitCursor):
8576         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8577
8578         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8579         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8580
8581         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8582         new functions that convert ParagraphParameters to and from a string.
8583
8584         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8585         BufferView::Pimpl's dispatch.
8586         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8587
8588 2003-03-13 André Pönitz <poenitz@gmx.net>
8589
8590         * lyxfunc.C:
8591         * text3.C:
8592         * factory.C: make it aware of InsetEnv
8593
8594 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8595
8596         * text2.C (setCursor): never ask for one past last
8597         (setCursor): add some debugging messages.
8598
8599         * text.C (singleWidth): never ask for one past last
8600         (singleWidth): ditto
8601         (leftMargin): ditto
8602         (rightMargin): ditto
8603         (rowBreakPoint): ditto
8604         (setHeightOfRow): ditto
8605         (prepareToPrint): ditto
8606
8607         * rowpainter.C (paintBackground): never ask for one past last
8608         (paintText): never ask for one past last
8609
8610         * paragraph_pimpl.C (getChar): make the assert stricter, never
8611         allow the one past last pos to be taken
8612
8613         * paragraph.C (getChar): ws changes only
8614
8615         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8616         (numberOfSeparators): ditto
8617         (numberOfHfills): ditto
8618
8619 2003-03-12  John Levon  <levon@movementarian.org>
8620
8621         * author.h:
8622         * author.C:
8623         * bufferparams.h:
8624         * bufferparams.C:
8625         * paragraph_funcs.C: fix per-buffer authorlists
8626
8627 2003-03-12  John Levon  <levon@movementarian.org>
8628
8629         * text.C: fix newline in right address
8630
8631 2003-03-12  Angus Leeming  <leeming@lyx.org>
8632
8633         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8634         duplicate those in LyXFunc::dispatch.
8635
8636         * commandtags.h:
8637         * LyXAction.C:
8638         * ToolbarDefaults.C:
8639         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8640         Add LFUN_FONTFREE_UPDATE.
8641
8642         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8643         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8644
8645         * bufferview_func.[Ch]: several new functions to facilliate
8646         transfer of data to and from the character dialog.
8647
8648 2003-03-12  John Levon  <levon@movementarian.org>
8649
8650         * buffer.C:
8651         * paragraph.h:
8652         * paragraph.C:
8653         * paragraph_funcs.C:
8654         * paragraph_pimpl.C:
8655         * sgml.C:
8656         * tabular.C:
8657         * text.C:
8658         * text3.C: remove META_NEWLINE in favour of an inset
8659
8660         * rowpainter.h:
8661         * rowpainter.C: remove paintNewline (done by inset)
8662
8663 2003-03-12  John Levon  <levon@movementarian.org>
8664
8665         * paragraph_pimpl.C: complain about bad getChar()s
8666         for a while at least
8667
8668 2003-03-12  John Levon  <levon@movementarian.org>
8669
8670         * buffer.h:
8671         * buffer.C: move paragraph read into a separate function,
8672         a little renaming to reflect that.
8673
8674         * bufferparams.h:
8675         * bufferparams.C: remove the author_ids map, not necessary now
8676
8677         * factory.h:
8678         * factory.C: moved Buffer::readInset to here
8679
8680         * paragraph_funcs.h:
8681         * paragraph_funcs.C: readParagraph free function moved from
8682         buffer.C
8683
8684         * tabular.C: name change
8685
8686 2003-03-12  John Levon  <levon@movementarian.org>
8687
8688         * buffer.C:
8689         * ParagraphParameters.C: move par params input to
8690         a read() method
8691
8692         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8693         behave like a normal read from the stream wrt reading
8694         a line vs. a \\token
8695
8696 2003-03-12  John Levon  <levon@movementarian.org>
8697
8698         * paragraph.C:
8699         * ParagraphParameters.h:
8700         * ParagraphParameters.C: move output code to a
8701         ::write() method
8702
8703 2003-03-12  John Levon  <levon@movementarian.org>
8704
8705         * BufferView.C (insertLyXFile):
8706         * buffer.h:
8707         * buffer.C:
8708         * tabular.C: use a parlist iterator for creating the
8709           document.
8710
8711 2003-03-12  John Levon  <levon@movementarian.org>
8712
8713         * buffer.C: make current_change static local not
8714           static file-scope
8715
8716 2003-03-12  John Levon  <levon@movementarian.org>
8717
8718         * buffer.C: fix insertStringAsLines for change tracking
8719
8720 2003-03-12  John Levon  <levon@movementarian.org>
8721
8722         * BufferView.C:
8723         * tabular.C:
8724         * buffer.h:
8725         * buffer.C:
8726         * bufferparams.h:
8727         * bufferparams.C: move author list into params. Rename some
8728           functions. Move the header reading into a separate token
8729           loop. Move the header token reading into BufferParams.
8730
8731 2003-03-12  John Levon  <levon@movementarian.org>
8732
8733         * changes.C: put debug inside lyxerr.debugging() checks
8734
8735 2003-03-11 André Pönitz <poenitz@gmx.net>
8736
8737         * factory.C: make it aware of InsetHFill
8738
8739 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8740
8741         * buffer.C (latexParagraphs): move function from here...
8742         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8743         args.
8744
8745 2003-03-10  Angus Leeming  <leeming@lyx.org>
8746
8747         * LyXAction.C (init): fix bug in poplating array with multiple entries
8748         with the same LFUN (spotted by JMarc).
8749
8750 2003-03-10  John Levon  <levon@movementarian.org>
8751
8752         * text.C:
8753         * text2.C: move getColumnNearX() near its
8754         only call site
8755
8756 2003-03-10  John Levon  <levon@movementarian.org>
8757
8758         * text.C: fix break before a minipage
8759
8760 2003-03-10  John Levon  <levon@movementarian.org>
8761
8762         * text.C: fix the last commit
8763
8764 2003-03-09  John Levon  <levon@movementarian.org>
8765
8766         * lyxtext.h:
8767         * text.C:
8768         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8769         bug 365 (don't break before insets unless needed). Don't
8770         return a value > last under any circumstances.
8771
8772 2003-03-09  Angus Leeming  <leeming@lyx.org>
8773
8774         * BufferView_pimpl.C (trackChanges, dispatch): call
8775         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8776
8777 2003-03-09  Angus Leeming  <leeming@lyx.org>
8778
8779         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8780         than Dialogs::showAboutlyx().
8781
8782 2003-03-09  Angus Leeming  <leeming@lyx.org>
8783
8784         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8785         than Dialogs::showTabularCreate().
8786
8787 2003-03-09  John Levon  <levon@movementarian.org>
8788
8789         * lyxtext.h:
8790         * text.C:
8791         * text2.C: 3rd arg to nextBreakPoint was always the same.
8792           Use references.
8793
8794 2003-03-08  John Levon  <levon@movementarian.org>
8795
8796         * lyxrow.C:
8797         * paragraph.C:
8798         * paragraph.h:
8799         * rowpainter.C:
8800         * text.C:
8801         * text2.C: Remove the "main" bit from the "main body"
8802           notion.
8803
8804 2003-03-08  John Levon  <levon@movementarian.org>
8805
8806         * text.C (leftMargin): The left margin of an empty
8807         manual label paragraph should not include the label width
8808         string length.
8809
8810         * text.C (prepareToPrint): don't attempt to measure hfills
8811         for empty manual label paragraphs - the answer should be 0
8812
8813 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8814
8815         * CutAndPaste.C: remove commented code and reindent.
8816
8817 2003-03-08  John Levon  <levon@movementarian.org>
8818
8819         * lyxfunc.h:
8820         * lyxfunc.C: move reloadBuffer()
8821
8822         * BufferView.h:
8823         * BufferView.C: to here
8824
8825         * lyxvc.C: add comment
8826
8827         * vc-backend.h:
8828         * vc-backend.C: call bv->reload() to avoid
8829           getStatus() check on MENURELOAD
8830
8831 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8832
8833         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8834         to an old format .dep file.
8835
8836 2003-03-07  Angus Leeming  <leeming@lyx.org>
8837
8838         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8839         when the LFUN_MOUSE_RELEASE should have been handled by
8840         inset->localDispatch.
8841
8842 2003-03-07  Angus Leeming  <leeming@lyx.org>
8843
8844         * BufferView_pimpl.C (dispatch):
8845         * LyXAction.C (init):
8846         * ToolbarDefaults.C (init):
8847         * commandtags.h:
8848         * lyxfunc.C (getStatus):
8849         remove LFUN_INSET_GRAPHICS.
8850
8851         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8852
8853 2003-03-07  Angus Leeming  <leeming@lyx.org>
8854
8855         * commandtags.h:
8856         * LyXAction.C (init):
8857         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8858
8859         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8860
8861         * commandtags.h:
8862         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8863
8864         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8865         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8866
8867 2003-03-07  Angus Leeming  <leeming@lyx.org>
8868
8869         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8870         remove "ert".
8871
8872 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8873
8874         * ParagraphList.C (front): new function
8875         (back): implement
8876
8877 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8878
8879         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8880         and top_row_offset_. removed var first_y.
8881         * text.C (top_y):
8882         * text2.C (LyXText, removeRow):
8883         * text3.C:
8884         * BufferView_pimpl.C:
8885         use these methods instead of using first_y
8886
8887 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8888
8889         * text2.C (pasteSelection): adjust for checkPastePossible
8890
8891         * CutAndPaste.C: remove Paragraph * buf and replace with
8892         ParagraphList paragraphs.
8893         (DeleteBuffer): delete
8894         (cutSelection): change the tc type to textclass_type
8895         (copySelection): change the tc type to textclass_type
8896         (copySelection): adjust for ParagraphList
8897         (pasteSelection): change the tc type to textclass_type
8898         (pasteSelection): adjust for Paragraphlist
8899         (nrOfParagraphs): simplify for ParagraphList
8900         (checkPastePossible): simplify for ParagraphList
8901         (checkPastePossible): remove unused arg
8902
8903         * ParagraphList.C (insert): handle the case where there are no
8904         paragraphs yet.
8905
8906         * CutAndPaste.h: make CutAndPaste a namespace.
8907
8908         * text3.C (dispatch): adjust
8909
8910         * text.C (breakParagraph): add a ParagraphList as arg
8911
8912         * paragraph_funcs.C (breakParagraph): change to take a
8913         BufferParams and a ParagraphList as args.
8914         (breakParagraphConservative): ditto
8915         (mergeParagraph): ditto
8916         (TeXDeeper): add a ParagraphList arg
8917         (TeXEnvironment): ditto
8918         (TeXOnePar): ditto
8919
8920         * buffer.C (readLyXformat2): adjust
8921         (insertStringAsLines): adjust
8922         (latexParagraphs): adjust
8923
8924         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8925         (cutSelection): adjust
8926         (pasteSelection): adjust
8927
8928         * BufferView_pimpl.C (insertInset): adjust
8929
8930 2003-03-05  Angus Leeming  <leeming@lyx.org>
8931
8932         * commandtags.h:
8933         * LyXAction.C (init):
8934         * BufferView_pimpl.C (dispatch):
8935         * lyxfunc.C (getStatus):
8936         remove LFUN_CHILD_INSERT.
8937
8938         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8939
8940 2003-03-05  Angus Leeming  <leeming@lyx.org>
8941
8942         * commandtags.h:
8943         * LyXAction.C (init):
8944         * src/factory.C (createInset):
8945         * lyxfunc.C (getStatus):
8946         * text3.C (dispatch):
8947         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8948
8949         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8950
8951 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8952
8953         * ParagraphList.C (insert): handle insert right before end()
8954         (erase): fix cases where it can be first or last paragraph.
8955
8956 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8957
8958         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8959         Paragraph::next and Paragraph::previous
8960         (TeXOnePar): ditto
8961
8962         * text.C (breakParagraph): adjust
8963
8964         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8965         BufferParams& as arg.
8966         (breakParagraph): use ParagraphList::insert
8967         (breakParagraphConservative): take a Buffer* instead of a
8968         BufferParams& as arg.
8969         (breakParagraphConservative): use ParagraphList::insert.
8970
8971         * buffer.C (insertStringAsLines): un-const it
8972         (insertStringAsLines): adjust
8973
8974         * ParagraphList.C (insert): new function
8975
8976         * CutAndPaste.C (pasteSelection): adjust
8977
8978         * text.C (backspace): adjust
8979
8980         * tabular.C (SetMultiColumn): adjust
8981
8982         * CutAndPaste.C (cutSelection): adjust
8983         (pasteSelection): adjust
8984
8985         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8986         Buffer const * as arg
8987
8988         * ParagraphList.C (erase): new function
8989         * paragraph_funcs.C (mergeParagraph): use it
8990         (mergeParagraph): make it take a Buffer* instead of a
8991         BufferParams* as arg
8992
8993         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8994         as arg
8995         (breakParagraphConservative): ditto
8996
8997         * paragraph.h: remove the breakParagraph friend
8998
8999         * paragraph.C (eraseIntern): new function
9000         (setChange): new function
9001
9002         * paragraph_funcs.C (mergeParagraph): make it take a
9003         ParagraphList::iterator instead of a Paragraph *, adjust
9004         accordingly.
9005
9006         * paragraph.h: move an #endif so that the change tracking stuff
9007         also works in the NO_NEXT case.
9008
9009 2003-03-04  Angus Leeming  <leeming@lyx.org>
9010
9011         * commandtags.h:
9012         * LyXAction.C: new LFUN_INSET_MODIFY.
9013
9014         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9015         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9016
9017 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9018
9019         * several files: ws changes only
9020
9021         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9022         (TeXEnvironment): ditto
9023         (TeXDeeper): ditto
9024
9025         * buffer.C (makeLaTeXFile): adjust
9026         (latexParagraphs): make it take ParagraphList::iterator as args
9027
9028 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9029
9030         * buffer.C (latexParagraphs): adjust
9031
9032         * paragraph.C (TeXOnePar): move function...
9033         (optArgInset): move function...
9034         (TeXEnvironment): move function...
9035         * paragraph_pimpl.C (TeXDeeper): move function...
9036         * paragraph_funcs.C: ...here
9037
9038         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9039
9040 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9041
9042         * buffer.C (readInset): remove compability code for old Figure and
9043         InsetInfo insets
9044
9045 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9046
9047         * buffer.C: ws changes
9048         (readInset):
9049
9050         * BufferView_pimpl.C: ditto
9051         * author.C: ditto
9052         * buffer.h: ditto
9053         * bufferlist.h: ditto
9054         * changes.h: ditto
9055         * lyxfunc.C: ditto
9056
9057 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9058
9059         * converter.[Ch]: split into itself +
9060         * graph.[Ch]
9061         * format.[Ch]
9062         * Makefile.am: += graph.[Ch] + format.[Ch]
9063         * MenuBackend.C
9064         * buffer.C
9065         * exporter.C
9066         * importer.C
9067         * lyx_main.C
9068         * lyxfunc.C
9069         * lyxrc.C: added #include "format.h"
9070
9071 2003-02-27  Angus Leeming  <leeming@lyx.org>
9072
9073         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9074           a label.
9075
9076         * factory.C (createInset): add "label" to the factory.
9077
9078         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9079           string and do no more.
9080
9081 2003-02-27  Angus Leeming  <leeming@lyx.org>
9082
9083         * commandtags.h:
9084         * LyXAction.C (init):
9085         * factory.C (createInset):
9086         * BufferView_pimpl.C (dispatch):
9087           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9088
9089         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9090
9091         * lyxfunc.C (dispatch):
9092         * text3.C (dispatch): pass name to params2string.
9093
9094 2003-02-26  Angus Leeming  <leeming@lyx.org>
9095
9096         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9097           blocks together.
9098           Rearrange the ~includes. Strip out the unnecessary ones.
9099
9100         * factory.C (createInset): reformat.
9101           create new insets for the various LFUN_XYZ_APPLY lfuns.
9102
9103 2003-02-26  John Levon  <levon@movementarian.org>
9104
9105         * lyxrow.h:
9106         * lyxrow.C: add isParStart,isParEnd helpers
9107
9108         * paragraph.h: make isInserted/DeletedText take refs
9109
9110         * paragraph_funcs.h:
9111         * paragraph_funcs.C: remove #if 0'd code
9112
9113         * lyxtext.h:
9114         * text3.C:
9115         * text2.C:
9116         * text.C: use lyxrow helpers above.
9117           Move draw and paint routines to RowPainter.
9118           Make several methods use refs not pointers.
9119           Make backgroundColor() const.
9120           Add markChangeInDraw(), isInInset().
9121           Merge changeRegionCase into changeCase.
9122           Make workWidth() shouldn't-happen code into an Assert.
9123
9124         * rowpainter.h:
9125         * rowpainter.C: new class for painting a row.
9126
9127         * vspace.h:
9128         * vspace.C: make inPixels take a ref
9129
9130 2003-02-26  Angus Leeming  <leeming@lyx.org>
9131
9132         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9133         LFUN_REF_APPLY.
9134
9135 2003-02-25  John Levon  <levon@movementarian.org>
9136
9137         * ispell.C: give the forked command a more accurate name
9138
9139 2003-02-22  John Levon  <levon@movementarian.org>
9140
9141         * toc.h:
9142         * toc.C: make TocItem store an id not a Paragraph *
9143           (bug #913)
9144
9145 2003-02-21  Angus Leeming  <leeming@lyx.org>
9146
9147         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9148           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9149           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9150           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9151           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9152           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9153
9154         * BufferView_pimpl.C (dispatch):
9155         * LyXAction.C (init):
9156         * factory.C (createInset):
9157         * lyxfunc.C (getStatus, dispatch):
9158         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9159
9160 2003-02-21  Angus Leeming  <leeming@lyx.org>
9161
9162         * BufferView_pimpl.C (MenuInsertLyXFile):
9163         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9164         * lyxfunc.C (menuNew, open, doImport):
9165           no longer pass a LyXView & to fileDlg.
9166
9167 2003-02-21  Angus Leeming  <leeming@lyx.org>
9168
9169         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9170         * LyXAction.C: change, BIBKEY to BIBITEM.
9171         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9172         Change InsetBibKey to InsetBibitem.
9173         Change BIBKEY_CODE to BIBITEM_CODE.
9174         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9175         * factory.C: replace insetbib.h with insetbibitem.h.
9176         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9177         * paragraph.C: replace insetbib.h with insetbibitem.h.
9178         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9179         Change bibkey() to bibitem().
9180         * text.C: remove insetbib.h.
9181         * text2.C: replace insetbib.h with insetbibitem.h.
9182         change bibkey() to bibitem().
9183         * text3.C: remove insetbib.h.
9184         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9185
9186 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9187
9188         * lyxrc.C (output): enclose user email in quotes (in case there are
9189         several words)
9190
9191 2003-02-18  John Levon  <levon@movementarian.org>
9192
9193         * buffer.h: add std::
9194
9195 2003-02-17  John Levon  <levon@movementarian.org>
9196
9197         * SpellBase.h:
9198         * ispell.h:
9199         * ispell.C:
9200         * pspell.h:
9201         * pspell.C: reworking. Especially in ispell, a large
9202           number of clean ups and bug fixes.
9203
9204         * lyxfunc.C: fix revert to behave sensibly
9205
9206 2003-02-17 André Pönitz <poenitz@gmx.net>
9207
9208         * LyXAction.C:
9209         * commandtags.h: new LFUN_INSERT_BIBKEY
9210
9211         * layout.h:
9212         * lyxlayout.C:
9213         * buffer.C:
9214         * factory.C:
9215         * text.C:
9216         * text2.C:
9217         * text3.C:
9218         * paragraph.[Ch]:
9219         * paragraph_func.C: remove special bibkey handling
9220
9221 2003-02-17  John Levon  <levon@movementarian.org>
9222
9223         * text.C (Delete): fix case where delete at the end of
9224           the very first paragraph would not merge the pars
9225
9226 2003-02-17  John Levon  <levon@movementarian.org>
9227
9228         * lyxrow.C: fix lastPrintablePos()
9229
9230 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9231
9232         * bufferparams.C (writeLaTeX): add a std:here
9233
9234         * buffer.C: and remove a using directive there
9235
9236 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9237
9238         * buffer.C (makeLaTeXFile): move the code that generates the
9239           preamble...
9240
9241         * bufferparams.C (writeLaTeX): ... in this new method
9242
9243         * LaTeXFeatures.C (getEncodingSet): make const
9244           (getLanguages): make const
9245
9246         * MenuBackend.C (binding): returns the binding associated to this
9247           action
9248           (add): sets the status of each item by calling getStatus. Adds
9249           some intelligence.
9250           (read): add support for OptSubMenu
9251           (expand): remove extra separator at the end of expanded menu
9252
9253 2003-02-15  John Levon  <levon@movementarian.org>
9254
9255         * BufferView.C:
9256         * BufferView_pimpl.C:
9257         * bufferlist.h:
9258         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9259           inset code that had no actual effect. Remove unneeded status
9260           code.
9261
9262 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9263
9264         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9265           in preamble
9266
9267 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9268
9269         * text.C (drawLengthMarker): also draw an arrow marker for
9270           symbolic lengths (medskip...)
9271
9272 2003-02-14  John Levon  <levon@movementarian.org>
9273
9274         * tabular.h:
9275         * tabular.C: better method names
9276
9277 2003-02-14  John Levon  <levon@movementarian.org>
9278
9279         * BufferView_pimpl.C:
9280         * bufferlist.C:
9281         * buffer.C:
9282         * converter.C:
9283         * lyx_cb.C:
9284         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9285           it's a more accurate name. Remove some pointless uses.
9286
9287 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9288
9289         * text2.C (LyXText): change order of initilizers to shut off
9290           warnings
9291
9292 2003-02-14  John Levon  <levon@movementarian.org>
9293
9294         * buffer.C: use ParIterator for getParFromID()
9295
9296         * paragraph.h:
9297         * paragraph.C:
9298         * paragraph_pimpl.h:
9299         * paragraph_pimpl.C: remove unused getParFromID()
9300
9301 2003-02-14  John Levon  <levon@movementarian.org>
9302
9303         * buffer.C: remove some very old #if 0'd parse code
9304
9305 2003-02-13  John Levon  <levon@movementarian.org>
9306
9307         * text.h:
9308         * text.C:
9309         * text2.C: move hfillExpansion(), numberOfSeparators(),
9310           rowLast(), rowLastPrintable(), numberofHfills(),
9311           numberOfLabelHfills() ...
9312
9313         * lyxrow.h:
9314         * lyxrow.C: ... to member functions here.
9315
9316         * paragraph.h:
9317         * paragraph.C:
9318         * lyxtext.h:
9319         * text.C: remove LyXText::beginningOfMainBody(), and call
9320           p->beginningOfMainBody() directly. Move the check for
9321           LABEL_MANUAL into the latter.
9322
9323         * text.h:
9324         * text.C:
9325         * text2.C:
9326         * vspace.C:
9327         * BufferView.h:
9328         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9329
9330         * text.h:
9331         * text.C:
9332         * text2.C:
9333         * text3.C:
9334         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9335           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9336
9337 2003-02-13  John Levon  <levon@movementarian.org>
9338
9339         * CutAndPaste.C: remove debug
9340
9341 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9342
9343         * paragraph.C (asString): remove two unused variables
9344
9345         * lyxtextclass.C (readTitleType):
9346           (Read):
9347           (LyXTextClass): handle new members titletype_ and titlename_
9348
9349         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9350
9351 2003-02-09  John Levon  <levon@movementarian.org>
9352
9353         * buffer.h:
9354         * buffer.C: replace hand-coded list with a map for the dep clean
9355
9356 2003-02-08  John Levon  <levon@movementarian.org>
9357
9358         * LaTeX.C: consolidate code into showRunMessage() helper
9359
9360 2003-02-08  John Levon  <levon@movementarian.org>
9361
9362         * lyxfind.C:
9363         * lyxtext.h:
9364         * text2.C:
9365         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9366           and pass the size in explicitly
9367
9368         * BufferView_pimpl.h:
9369         * BufferView_pimpl.C:
9370         * BufferView.h:
9371         * BufferView.C: add getCurrentChange()
9372
9373         * BufferView_pimpl.h:
9374         * BufferView_pimpl.C: handle change lfuns
9375
9376         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9377           for changes. Mark pasted paragraphs as new.
9378
9379         * support/lyxtime.h:
9380         * support/lyxtime.C:
9381         * DepTable.C: abstract time_t as lyx::time_type
9382
9383         * LColor.h:
9384         * LColor.C: add colours for new text, deleted text, changebars
9385
9386         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9387           package use "usenames" option.
9388
9389         * commandtags.h:
9390         * lyxfunc.C:
9391         * LyXAction.C: add change lfuns
9392
9393         * Makefile.am:
9394         * author.h:
9395         * author.C: author handling
9396
9397         * buffer.h:
9398         * buffer.C: add a per-buffer author list, with first entry as
9399           current author. Handle new .lyx tokens for change tracking. Output
9400           author list to .lyx file. Output dvipost stuff to .tex preamble.
9401           Bump lyx format to 222.
9402
9403         * bufferlist.h:
9404         * bufferlist.C: add setCurrentAuthor() to reset current author details
9405           in all buffers.
9406
9407         * bufferparams.h:
9408         * bufferparams.C: add param for tracking
9409
9410         * bufferview_funcs.C: output change info in minibuffer
9411
9412         * Makefile.am:
9413         * changes.h:
9414         * changes.C: add change-tracking structure
9415
9416         * debug.h:
9417         * debug.C: add CHANGES debug flag
9418
9419         * lyxfind.h:
9420         * lyxfind.C: add code for finding the next change piece
9421
9422         * lyxrc.h:
9423         * lyxrc.C: add user_name and user_email
9424
9425         * lyxrow.h:
9426         * lyxrow.C: add a metric for the top of the text line
9427
9428         * lyxtext.h:
9429         * text.C: implement accept/rejectChange()
9430
9431         * lyxtext.h:
9432         * text.C: paint changebars. Paint new/deleted text in the chosen
9433         colours. Strike through deleted text.
9434
9435         * paragraph.h:
9436         * paragraph.C:
9437         * paragraph_pimpl.h:
9438         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9439           in the current change to the insert functions. Rework erase to
9440           mark text as deleted, adding an eraseIntern() and a range-based
9441           erase(). Implement per-paragraph change lookup and
9442           accept/reject.
9443
9444         * paragraph_funcs.C: Fixup paste for change tracking.
9445
9446         * tabular.C: mark added row/columns as new.
9447
9448         * text.C: fix rowLast() to never return -1. Don't allow
9449           spellchecking of deleted text. Track transpose changes. Don't
9450           allow paragraph break or merge where appropriate.
9451
9452         * text2.C: leave cursor at end of selection after a cut.
9453
9454 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9455
9456         * text.C (getLengthMarkerHeight):
9457         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9458         visible on screen too.
9459
9460 2003-02-07  John Levon  <levon@movementarian.org>
9461
9462         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9463
9464 2003-02-05  Angus Leeming  <leeming@lyx.org>
9465
9466         * lyxserver.C (read_ready): revert my patch of 11 September last year
9467         as it sends PC cpu through the roof. Presumably this means that
9468         the lyxserver will no longer run on an Alpha...
9469
9470 2003-01-30  Angus Leeming  <leeming@lyx.org>
9471
9472         * factory.C (createInset): create an InsetCommandParam of type "index"
9473         and use it to 'do the right thing'.
9474
9475         * text2.C (getStringToIndex): ensure that cursor position is always
9476         reset to the reset_cursor position.
9477
9478 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9479
9480         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9481         disabled.
9482
9483 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9484
9485         * bufferview.C:
9486         * lyxcb.C:
9487         * lyxfunc.C: Output messages with identical spelling, punctuation,
9488         and spaces
9489
9490 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9491
9492         * MenuBackend.C (expandFormats): List only viewable export formats
9493         in "View" menu
9494
9495         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9496         message
9497
9498         * lyxfunc.C (getStatus): Make sure that formats other than
9499         "fax" can also be disabled
9500
9501 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9502
9503         * text3.C (dispatch): put the lfuns that insert insets in 3
9504         groups, and call doInsertInset with appropriate arguments.
9505         (doInsertInset): new function, that creates an inset and inserts
9506         it according to some boolean parameters.
9507
9508 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9509
9510         * buffer.C (readFile): remember to pass on 'par' when calling
9511         readFile recursively.
9512
9513 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9514
9515         * MenuBackend.C (expandFormats): add "..." to import formats.
9516
9517 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9518
9519         * paragraph.C (asString): Remove XForms RTL hacks.
9520
9521 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9522         * buffer.C: fix typo
9523
9524 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9525
9526         * Makefile.am (LIBS): delete var
9527         (lyx_LDADD): add @LIBS@ here instead.
9528
9529 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9530
9531         * Clarify the meaning of "wheel mouse jump"
9532
9533 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9534
9535         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9536         tabular in a float
9537
9538 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9539
9540         * importer.C (Loaders): do not preallocate 3 elements in the
9541         vector, since one ends up with 6 elements otherwise
9542
9543 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9544
9545         * DepTable.C (write): write the file name as last element of the
9546         .dep file (because it may contain spaces)
9547         (read): read info in the right order
9548
9549 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9550
9551         * paragraph_pimpl.C (simpleTeXBlanks):
9552         (simpleTeXSpecialChars):
9553         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9554
9555         * tabular.C (latex): add some missing case statements. Reindent.
9556
9557         * MenuBackend.C (expandToc): remove unused variable.
9558
9559 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9560
9561         * LColor.C:
9562         * LaTeX.C:
9563         * LyXAction.C:
9564         * MenuBackend.C:
9565         * buffer.C:
9566         * exporter.C:
9567         * lyxfunc.C:
9568         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9569         and the like.
9570
9571 2003-01-05  John Levon  <levon@movementarian.org>
9572
9573         * BufferView.h:
9574         * BufferView.C: add getEncoding()
9575
9576         * kbsequence.h:
9577         * kbsequence.C: do not store last keypress
9578
9579         * lyxfunc.h:
9580         * lyxfunc.C: store last keypress here instead. Pass encoding
9581           to getISOEncoded()
9582
9583 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9584
9585         * lyx_main.C (init): remove annoying error message when following
9586         symbolic links (bug #780)
9587
9588 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9589
9590         * text.C (insertChar):
9591         * lyxrc.C (getDescription): remove extra spaces
9592
9593 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9594
9595         * lyxrc.C (getDescription): remove extra spaces
9596
9597 2002-12-20  John Levon  <levon@movementarian.org>
9598
9599         * text3.C: hack fix for page up/down across tall rows
9600
9601 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9602
9603         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9604         not been invoked
9605
9606 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9607
9608         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9609         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9610         thesaurus is not compiled in
9611
9612 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9613
9614         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9615
9616 2002-12-16  Angus Leeming  <leeming@lyx.org>
9617
9618         * lyxrc.[Ch]:
9619         * lyx_main.C (init): remove override_x_deadkeys stuff.
9620
9621 2002-12-12  John Levon  <levon@movementarian.org>
9622
9623         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9624           insert. Only remove shift modifier under strict
9625           circumstances.
9626
9627 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9628
9629         * MenuBackend.C (expandToc): fix crash.
9630
9631 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9632
9633         * MenuBackend.C (expandToc): gettext on float names.
9634
9635 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9636
9637         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9638         implement bool empty() [bug 490]
9639
9640 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9641
9642         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9643
9644 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9645
9646         * several files: ws changes
9647
9648 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9649
9650         * text2.C (setCounter): clean up a bit, use boost.format.
9651         (updateCounters): initialize par upon declaration.
9652
9653         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9654         if the layout exists. We do not just store the layout any more.
9655         (SwitchLayoutsBetweenClasses): use boost.format
9656
9657 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9658
9659         * converter.C (convert): if from and to files are the same, use a
9660         temporary files as intermediary
9661
9662 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9663
9664         * commandtags.h:
9665         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9666
9667 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9668
9669         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9670
9671 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9672
9673         * tabular.C (asciiPrintCell): use string(size, char) instead of
9674         explicit loop.
9675
9676         * sgml.C (openTag): fix order of arguments to string constructor
9677         (closeTag): ditto
9678
9679         * lyxfunc.C (dispatch): use boost.format
9680
9681         * lots of files: change "c" -> 'c'
9682
9683 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9684
9685         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9686
9687 2002-11-25  Angus Leeming  <leeming@lyx.org>
9688
9689         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9690
9691         * lyx_main.C (init): compile fix.
9692
9693 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9694
9695         * lyx_cb.C (start): boost.formatify
9696         do not include <iostream>
9697
9698         * lengthcommon.C: ws only
9699
9700         * boost-inst.C,BoostFormat.h: add more explict instantations
9701
9702 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9703
9704         * lots of files: handle USE_BOOST_FORMAT
9705
9706 2002-11-21  John Levon  <levon@movementarian.org>
9707
9708         * pspell.C: fix compile
9709
9710 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9711
9712         * lyxfunc.C (dispatch): use boost::format
9713         (open): ditto
9714         (doImport): ditto
9715
9716         * lyxfont.C (stateText): use boost::format
9717
9718         * lyx_main.C (LyX): use boost::format
9719         (init): ditto
9720         (queryUserLyXDir): ditto
9721         (readRcFile): ditto
9722         (parse_dbg): ditto
9723         (typedef boost::function): use the recommened syntax.
9724
9725         * importer.C (Import): use boost::format
9726
9727         * debug.C (showLevel): use boost::format
9728
9729         * converter.C (view): use boost::format
9730         (convert): ditto
9731         (move): ditto
9732         (scanLog): ditto
9733
9734         * bufferview_funcs.C (currentState): use boost::format
9735
9736         * bufferlist.C (emergencyWrite): use boost::format
9737
9738         * buffer.C (readLyXformat2): use boost::format
9739         (parseSingleLyXformat2Token): ditto
9740
9741         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9742
9743         * LaTeX.C (run): use boost::format
9744
9745         * Chktex.C (scanLogFile): use boost::format
9746
9747         * BufferView_pimpl.C (savePosition): use boost::format
9748         (restorePosition): ditto
9749         (MenuInsertLyXFile): ditto
9750
9751         * BoostFormat.h: help file for explicit instation.
9752
9753 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9754
9755         * tabular.C (latex): Support for block alignment in fixed width
9756         columns.
9757
9758 2002-11-17  John Levon  <levon@movementarian.org>
9759
9760         * BufferView_pimpl.C:
9761         * lyx_cb.C:
9762         * lyxfunc.C: split filedialog into open/save
9763
9764 2002-11-08  Juergen Vigna  <jug@sad.it>
9765
9766         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9767         by my last patch (hopefully).
9768
9769 2002-11-08  John Levon  <levon@movementarian.org>
9770
9771         * iterators.h:
9772         * iterators.C:
9773         * buffer.h:
9774         * buffer.C:
9775         * paragraph.h:
9776         * paragraph.C:
9777         * toc.h:
9778         * toc.C: ParConstIterator, and use it (from Lars)
9779
9780 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9781
9782         * lyxtextclass.[Ch]: revise and add doxygen comments
9783
9784 2002-11-07  John Levon  <levon@movementarian.org>
9785
9786         * text.C: fix progress value for spellchecker
9787
9788         * toc.C: fix navigate menu for insetwrap inside minipage
9789
9790         * paragraph_funcs.C: added FIXME for suspect code
9791
9792 2002-11-07  John Levon  <levon@movementarian.org>
9793
9794         * BufferView_pimpl.C: fix redrawing of insets
9795           on buffer switch
9796
9797 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9798
9799         * text2.C (updateCounters): fix bug 668
9800
9801 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9802
9803         * text3.C (dispatch): Do not make the buffer dirty when moving the
9804         cursor.
9805
9806 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9807
9808         * vc-backend.C: STRCONV
9809         (scanMaster): ditto
9810
9811         * text2.C (setCounter): STRCONV
9812
9813         * paragraph.C (asString): STRCONV
9814
9815         * lyxlength.C (asString): STRCONV
9816         (asLatexString): ditto
9817
9818         * lyxgluelength.C (asString): STRCONV
9819         (asLatexString): ditto
9820
9821         * lyxfunc.C (dispatch): STRCONV
9822         (open): ditto
9823
9824         * lyxfont.C (stateText): STRCONV
9825
9826         * importer.C (Import): STRCONV
9827
9828         * counters.C (labelItem): STRCONV
9829         (numberLabel): ditto
9830         (numberLabel): remove unused ostringstream o
9831
9832         * chset.C: STRCONV
9833         (loadFile): ditto
9834
9835         * bufferview_funcs.C (currentState): STRCONV
9836
9837         * buffer.C (readFile): STRCONV
9838         (asciiParagraph): ditto
9839         (makeLaTeXFile): ditto
9840
9841         * Spacing.C (writeEnvirBegin): STRCONV
9842
9843         * LaTeXFeatures.C (getLanguages): STRCONV
9844         (getPackages): ditto
9845         (getMacros): ditto
9846         (getBabelOptions): ditto
9847         (getTClassPreamble): ditto
9848         (getLyXSGMLEntities): ditto
9849         (getIncludedFiles): ditto
9850
9851         * LaTeX.C: STRCONV
9852         (run): ditto
9853         (scanAuxFile): ditto
9854         (deplog): ditto
9855
9856         * LString.h: add the STRCONV macros
9857
9858         * BufferView_pimpl.C (savePosition): STRCONV
9859         (restorePosition): ditto
9860         (MenuInsertLyXFile): ditto
9861
9862         * vc-backend.C (scanMaster): change from submatch[...] to
9863         submatch.str(...)
9864
9865         * funcrequest.C: include config.h
9866
9867         * factory.C: include config.h
9868
9869         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9870
9871         * box.C: include config.h
9872
9873         * LaTeX.C (scanAuxFile): change from submatch[...] to
9874         submatch.str(...)
9875         (deplog): ditto
9876
9877 2002-10-25  Angus Leeming  <leeming@lyx.org>
9878
9879         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9880
9881         * ispell.[Ch] (setError): new method.
9882         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9883         Use setError() insetead of goto END.
9884
9885         * lyx_cb.C (AutoSave): move out child process into new class
9886         AutoSaveBuffer.
9887
9888 2002-10-30  John Levon  <levon@movementarian.org>
9889
9890         * text3.C: make start appendix undoable
9891
9892 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9893
9894         * lyxlength.C (inPixels): Fix returned value.
9895
9896         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9897         environment.
9898
9899 2002-10-24  Angus Leeming  <leeming@lyx.org>
9900
9901         * lyxgluelength.h: no need to forward declare BufferParams
9902         or BufferView, so don't.
9903
9904 2002-10-21  John Levon  <levon@movementarian.org>
9905
9906         * BufferView.C: menuUndo ->undo, redo
9907
9908         * BufferView.h: document, remove dead, make some methods private
9909
9910         * paragraph_funcs.h:
9911         * paragraph_funcs.C:
9912         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9913
9914         * buffer.h:
9915         * buffer.C:
9916         * sgml.h:
9917         * sgml.C: move sgml open/close tag into sgml.C
9918
9919         * bufferview_funcs.h: unused prototype
9920
9921         * lyxfunc.h:
9922         * lyxfunc.C: remove unused
9923
9924         * lyxtext.h:
9925         * text.C: remove unused
9926
9927 2002-10-21  John Levon  <levon@movementarian.org>
9928
9929         * BufferView.h:
9930         * BufferView.C:
9931         * BufferView_pimpl.h:
9932         * BufferView_pimpl.C: fix mouse wheel handling based on
9933           patch from Darren Freeman
9934
9935 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9936
9937         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9938
9939 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9940
9941         * lyxlength.C (inPixels): Fix hanfling of negative length.
9942         Fix LyXLength::MU case.
9943
9944 2002-10-16  John Levon  <levon@movementarian.org>
9945
9946         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9947
9948 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9949
9950         * converter.C (view): add support for $$i (file name) and $$p
9951         (file path) for the viewer command. If $$i is not specified, then
9952         it is appended to the command (for compatibility with old syntax)
9953
9954 2002-10-14  Juergen Vigna  <jug@sad.it>
9955
9956         * undo_funcs.C (textHandleUndo): alter the order in which the
9957         new undopar is added to the LyXText, as we have to set first
9958         the right prev/next and then add it as otherwise the rebuild of
9959         LyXText is not correct. Also reset the cursor to the right paragraph,
9960         with this IMO we could remove the hack in "redoParagraphs()".
9961
9962 2002-10-09  Angus Leeming  <leeming@lyx.org>
9963
9964         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9965         to turn off an optimisation if a new inset is to be inserted.
9966
9967 2002-10-11 André Pönitz <poenitz@gmx.net>
9968
9969         * lyxtext.h: make some functions public to allow access
9970         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9971
9972 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9973
9974         * text3.C (dispatch): when changing layout, avoid an infinite loop
9975         [bug #652]
9976
9977 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9978
9979         * lyxrc.C (read): treat a viewer or converter command of "none" as
9980         if it were empty.
9981
9982         * MenuBackend.C (expandFormats): for an update, also allow the
9983         formats that are not viewable
9984
9985         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9986         script if it is newer than the lyxrc.defaults in user directory
9987
9988 2002-10-07 André Pönitz <poenitz@gmx.net>
9989
9990         * text.C: Vitaly Lipatov's small i18n fix
9991
9992 2002-09-25  Angus Leeming  <leeming@lyx.org>
9993
9994         * ispell.h: doxygen fix.
9995
9996 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9997
9998         * buffer.h (readFile): Add a new argument to the method, to allow
9999         reading of old-format templates.
10000
10001 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10002
10003         * toc.C (getTocList): Get TOC from InsetWrap.
10004
10005 2002-09-16  John Levon  <levon@movementarian.org>
10006
10007         * lyxfunc.C: check tabular for cut/copy too
10008
10009 2002-09-12  John Levon  <levon@movementarian.org>
10010
10011         * LyXAction.C: tidy
10012
10013         * factory.h:
10014         * factory.C: add header
10015
10016         * paragraph_funcs.h:
10017         * paragraph_funcs.C: cleanup
10018
10019 2002-09-11  John Levon  <levon@movementarian.org>
10020
10021         * PrinterParams.h: odd/even default to true
10022
10023 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10024
10025         * PrinterParams.h: update printer parameters for new xforms dialog
10026
10027 2002-09-11  Angus Leeming  <leeming@lyx.org>
10028
10029         * lyxserver.C (read_ready): re-write to make it more transparent
10030         and to make it work in coherent fashion under Tru64 Unix.
10031
10032 2002-09-11  André Pönitz <poenitz@gmx.net>
10033
10034         * commandtags.h:
10035         * LyXAction.C:
10036         * text3.C: implement LFUN_WORDSEL
10037
10038 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10039
10040         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10041         make floatlist_ a boost::shared_ptr<FloatList>
10042
10043         * lyxtextclass.C: include FloatList.h
10044         (LyXTextClass): initialize floatlist_
10045         (TextClassTags): add TC_NOFLOAT
10046         (Read): match "nofloat" to TC_NOFLOAT and use it.
10047         (readFloat): modify call to floatlist_
10048         (floats): ditto
10049         (floats): ditto
10050
10051         * FloatList.[Ch] (FloatList): remove commented out float
10052         initialization.
10053         (erase): new function
10054
10055 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10056
10057         * MenuBackend.C (expandToc): fix crash when there is no document
10058         open
10059
10060 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10061
10062         * many files: Add insetwrap.
10063
10064 2002-09-09  John Levon  <levon@movementarian.org>
10065
10066         * text2.C: remove confusing and awkward depth wraparound
10067
10068 2002-09-09  John Levon  <levon@movementarian.org>
10069
10070         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10071
10072         * buffer.h:
10073         * buffer.C: remove getIncludeonlyList()
10074
10075         * paragraph.C:
10076         * lyxfunc.C: remove headers
10077
10078 2002-09-09  Juergen Vigna  <jug@sad.it>
10079
10080         * text.C (getColumnNearX): fix form Michael this is most
10081         probably a cut&paste bug.
10082
10083 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10084
10085         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10086
10087         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10088         references, ws changes.
10089
10090         * text2.C (init): update counters after init
10091         (insertParagraph): no need to set counter on idividual paragraphs.
10092         (setCounter): access the counters object in the textclass object
10093         on in the buffer object.
10094         (updateCounters): ditto
10095
10096         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10097         shared_ptr<Counters> to avoid loading counters.h in all
10098         compilation units.
10099         (LyXTextClass): initialize ctrs_
10100         (TextClassTags): add TC_COUNTER, and ...
10101         (Read): use it here.
10102         (CounterTags): new tags
10103         (readCounter): new function
10104         (counters): new funtion
10105         (defaultLayoutName): return a const reference
10106
10107         * counters.C (Counters): remove contructor
10108         (newCounter): remove a couple of unneeded statements.
10109         (newCounter): simplify a bit.
10110         (numberLabel): some small formatting changes.
10111
10112         * buffer.[Ch]: remove all traces of counters, move the Counters
10113         object to the LyXTextClass.
10114
10115 2002-09-06  Alain Castera  <castera@in2p3.fr>
10116
10117         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10118         package to set the horizontal alignment on fixed width columns.
10119
10120         * lyx_sty.C:
10121         * lyx_sty.h: added tabularnewline macro def.
10122
10123         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10124
10125 2002-09-06  John Levon  <levon@movementarian.org>
10126
10127         * LyXAction.C: tooltips for sub/superscript
10128
10129         * MenuBackend.C: a bit more verbose
10130
10131         * lyxfunc.C: tiny clean
10132
10133         * undo_funcs.C: document undo_frozen
10134
10135 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10136
10137         * counters.C (Counters): add missing algorithm counter.
10138
10139         * text2.C (setCounter): lookup the counter with layouts latexname
10140         instead of by section number.
10141         (setCounter): use a hackish way to lookup the correct enum
10142         counter.
10143         a float name->type change
10144         reset enum couners with counter name directly instead of depth value.
10145
10146         * counters.C (Counters): remove the push_backs, change to use the
10147         float type not the float name.
10148         (labelItem): remove unused string, float name->type change
10149
10150         * counters.h: don't include vector, loose the enums and sects vectors
10151
10152 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10153
10154         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10155         (Read): add float->TC_FLOAT to textclassTags
10156         (Read): and handle it in the switch
10157         (readFloat): new function
10158
10159         * FloatList.C (FloatList): comment out the hardcoded float
10160         definitions.
10161
10162         * lyxlayout.h: ws change.
10163
10164 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10165
10166         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10167
10168 2002-09-03  Angus Leeming  <leeming@lyx.org>
10169
10170         * BufferView_pimpl.h: qualified name is not allowed in member
10171         declaration: WorkArea & Pimpl::workarea() const;
10172
10173         * factory.C: added using std::endl directive.
10174
10175         * text3.C: added using std::find and std::vector directives.
10176
10177 2002-08-29  André Pönitz <poenitz@gmx.net>
10178
10179         * lyxtext.h:
10180         * text2.C: remove unused member number_of_rows
10181
10182         * Makefile.am:
10183         * BufferView2.C: remove file, move contents to...
10184         * BufferView.C: ... here
10185
10186         * BufferView_pimpl.C:
10187         * factory.C: move more inset creation to factory
10188
10189         * vspace.C: avoid direct usage of LyXText, ws changes
10190
10191         * BufferView.[Ch]:
10192                 don't provide direct access to WorkArea, use two simple
10193                 acessors haveSelction() and workHeight() instead
10194
10195
10196 2002-08-29  John Levon  <levon@movementarian.org>
10197
10198         * BufferView_pimpl.C (dispatch): do not continue when
10199           no buffer
10200
10201 2002-08-28  André Pönitz <poenitz@gmx.net>
10202
10203         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10204
10205         * BufferView.h:
10206         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10207
10208 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10209
10210         * buffer.C: increment LYX_FORMAT to 221
10211
10212         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10213         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10214
10215         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10216
10217         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10218
10219 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10220
10221         * factory.C (createInset): use LyXTextClass::floats
10222
10223         * MenuBackend.C (expandFloatListInsert):
10224         (expandFloatInsert):
10225         (expandToc):
10226
10227         * text2.C (setCounter):
10228
10229         * LaTeXFeatures.C (useFloat):
10230         (getFloatDefinitions):
10231
10232         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10233
10234         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10235         floatlist_, with accessor floats().
10236
10237         * FloatList.h: remove global FloatList
10238
10239 2002-08-26  André Pönitz <poenitz@gmx.net>
10240
10241         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10242
10243         * BufferView.h:
10244         * BufferView2.C:
10245         * BufferView_pimpl.C:
10246         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10247
10248 2002-08-25  John Levon  <levon@movementarian.org>
10249
10250         * LyXAction.C: fix margin note description
10251
10252 2002-08-24  John Levon  <levon@movementarian.org>
10253
10254         * buffer.C:
10255         * bufferlist.C:
10256         * bufferview_funcs.C:
10257         * lyxfont.C:
10258         * undo_funcs.C: cleanups
10259
10260         * lyxfunc.C: disable CUT/COPY when no selection
10261
10262 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10263
10264         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10265         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10266
10267         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10268         Add backward compatibility to "mono", "gray" and "no".
10269
10270 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10271
10272         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10273         (and file_format >= 200).
10274
10275 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10276
10277         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10278
10279 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10280
10281         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10282
10283 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10284
10285         * BufferView_pimpl.C:
10286         * LyXAction.C:
10287         * buffer.C:
10288         * commandtags.h:
10289         * lyxfunc.C:
10290         * paragraph.[Ch]:
10291         * text2.C:
10292         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10293         inset and code to make it  work with the paragraph code. The inset
10294         can be anywhere in the paragraph, but will only do the expected
10295         thing in LaTeX if the layout file contains the parameter line
10296                         OptionalArgs    1
10297         (or more generally, a nonzero value) for that layout.
10298
10299 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10300
10301         * paragraph.h: remove the declaration of undefined counters class
10302         function.
10303
10304 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10305
10306         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10307         Dr. Richard Hawkins.
10308
10309 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10310
10311         * paragraph_funcs.h: remove some unneeded includes
10312
10313         * text.C (backspace): pasteParagraph now in global scipe
10314
10315         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10316         (pasteSelection): ditto
10317
10318         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10319         * paragraph_funcs.C (pasteParagraph): ... here
10320
10321 2002-08-20  André Pönitz <poenitz@gmx.net>
10322
10323         * commandtags.h: new LFUNs for swapping/copying table row/colums
10324
10325         * LyXAction.C:
10326         * lyxfunc.C: support for new lfuns
10327
10328 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10329
10330         * tabular.C:
10331         * buffer.[Ch]: remove NO_COMPABILITY stuff
10332
10333 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10334
10335         * boost.C (throw_exception): new file, with helper function for
10336         boost compiled without exceptions.
10337
10338         * paragraph.h:
10339         * lyxlength.C:
10340         * buffer.C:
10341         * ParameterStruct.h:
10342         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10343
10344         * bufferlist.C (emergencyWriteAll): use boost bind
10345
10346         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10347
10348         * text.C: include paragraph_funcs.h
10349         (breakParagraph): breakParagraph is now in global scope
10350
10351         * paragraph_funcs.[Ch]: new files
10352
10353         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10354         global scope
10355
10356         * buffer.C: include paragraph_funcs.h
10357         (insertStringAsLines): breakParagraph is now in global scope
10358
10359         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10360         paragraph_funcs.C
10361
10362         * CutAndPaste.C: include paragraph_funcs.h
10363         (cutSelection): breakParagraphConservative is now in global scope
10364         (pasteSelection): ditto
10365
10366         * buffer.h: declare oprator== and operator!= for
10367         Buffer::inset_iterator
10368
10369         * bufferlist.C (emergencyWrite): don't use fmt(...)
10370
10371         * text3.C: add using std::endl
10372
10373         * BufferView.C (moveCursorUpdate): remove default arg
10374
10375 2002-08-20  André Pönitz <poenitz@gmx.net>
10376
10377         * buffer.[Ch]: move inline functions to .C
10378
10379         * BufferView2.C:
10380         * BufferView_pimpl.C:
10381         * text.C:
10382         * buffer.[Ch]: use improved inset_iterator
10383
10384         * buffer.C:
10385         * paragraph.[Ch]: write one paragraph at a time
10386
10387 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10388
10389         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10390         style if style is not specified.
10391
10392 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10393
10394         * text2.C (setCounter): when searching for right label for a
10395         caption, make sure to recurse to parent insets (so that a caption
10396         in a minipage in a figure float works) (bug #568)
10397
10398 2002-08-20  André Pönitz <poenitz@gmx.net>
10399
10400         * text3.C: new file for LyXText::dispatch() and helpers
10401
10402         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10403
10404         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10405
10406 2002-08-19  André Pönitz <poenitz@gmx.net>
10407
10408         * lyxtext.h:
10409         * text.C: new LyXText::dispatch()
10410
10411         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10412
10413 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10414
10415         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10416
10417         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10418         Hebrew text.
10419
10420 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10421
10422         * Makefile.am: use $(variables) instead of @substitutions@
10423
10424 2002-08-15  André Pönitz <poenitz@gmx.net>
10425
10426         * lyxfunc.C:
10427         * BufferView_pimpl.C: streamlining mathed <-> outer world
10428         interaction
10429
10430         * commandtags.h:
10431         * LyXAction.C: remove unused LFUN_MATH
10432
10433 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10434
10435         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10436
10437 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10438
10439         * paragraph.C (Paragraph): reformat a bit
10440         (cutIntoMinibuffer): use builtin InsetList function instad of
10441         doing it manually.
10442         (getInset): ditto
10443
10444         * buffer.C: include boost/bind.hpp, add using std::for_each
10445         (writeFileAscii): use ParagraphList iterators
10446         (validate): use for_each for validate traversal of paragraphs
10447         (getBibkeyList): use ParagraphList iterators
10448         (resizeInsets): use for_each to resizeInsetsLyXText for all
10449         paragraphs.
10450         (getParFromID): use ParagraphList iterators
10451
10452         * BufferView2.C (lockInset): use paragraph list and iterators
10453
10454 2002-08-14  John Levon  <levon@movementarian.org>
10455
10456         * lyxserver.C: remove spurious xforms include
10457
10458 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10459
10460         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10461
10462 2002-08-13  André Pönitz <poenitz@gmx.net>
10463
10464         * LyXAction.[Ch]:
10465         * lyxfunc.C: further cleaning
10466
10467 2002-08-13  André Pönitz <poenitz@gmx.net>
10468
10469         * funcrequest.h: new constructor
10470
10471         * funcrequest.C: move stuff here from .h
10472
10473         * Makefile.am:
10474         * BufferView_pimpl.C:
10475         * LyXAction.C:
10476         * toc.C:
10477         * lyxfunc.C: subsequent changes
10478
10479         * lyxfunc.h: new view() member function
10480
10481         * lyxfunc.C: subsequent changes
10482
10483 2002-08-13  Angus Leeming  <leeming@lyx.org>
10484
10485         * BufferView2.C:
10486         * BufferView_pimpl.C:
10487         * buffer.C:
10488         * converter.C:
10489         * importer.C:
10490         * lyxfunc.C:
10491         * lyxvc.C:
10492         * toc.C:
10493         * vc-backend.C:
10494         changes due to the changed LyXView interface that now returns references
10495         to member variables not pointers.
10496
10497 2002-08-13  Angus Leeming  <leeming@lyx.org>
10498
10499         * WordLangTuple (word, lang_code): return references to strings,
10500         not strings.
10501
10502         * BufferView.h:
10503         * SpellBase.h:
10504         * lyxtext.h: forward-declare WordLangTuple.
10505
10506         * BufferView2.C:
10507         * ispell.C:
10508         * pspell.C:
10509         * text.C: #include "WordLangTuple.h".
10510
10511         * lyxtext.h:
10512         * text.C: (selectNextWordToSpellcheck): constify return type.
10513
10514 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10515
10516         * buffer.C:
10517         * buffer.h:
10518         * lyxtext.h:
10519         * paragraph.C:
10520         * paragraph_pimpl.h:
10521         * text.C:
10522         * text2.C:
10523         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10524         suggested by Angus.
10525         Made updateCounter always count from start of buffer, and removed
10526         second argument (par).
10527         Reverted floats number display to '#'. Perhaps I'll try again when the
10528         code base is sanitized a bit.
10529
10530 2002-08-12  Angus Leeming  <leeming@lyx.org>
10531
10532         * buffer.[Ch] (getLabelList): constify.
10533
10534 2002-08-07  André Pönitz <poenitz@gmx.net>
10535
10536         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10537
10538         * funcrequest.h: extension to keep mouse (x,y) position
10539
10540 2002-08-12  Juergen Vigna  <jug@sad.it>
10541
10542         * BufferView2.C (insertErrors): forbid undo when inserting error
10543         insets.
10544
10545         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10546
10547 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10548
10549         * ParagraphList.[Ch]: new files
10550
10551         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10552
10553         * BufferView2.C (lockInset): ParagraphList changes
10554         * toc.C: ditto
10555         * text2.C: ditto
10556         * bufferlist.C: ditto
10557         * buffer.h: ditto
10558         * buffer.C: ditto
10559
10560 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10561
10562         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10563         unused class variable counter_,
10564
10565         * paragraph.[Ch] (getFirstCounter): delete unused function
10566
10567         * counters.C: include LAssert.h
10568         (reset): add a new function with no arg, change other version to
10569         not have def. arg and to not allow empty arg.
10570
10571         * text2.C (setCounter): remove empty arg from call to Counters::reset
10572
10573 2002-08-11  John Levon  <levon@movementarian.org>
10574
10575         * Makefile.am: add WordLangTuple.h
10576
10577 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10578
10579         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10580         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10581
10582         * insets/insettext.C: InsetList changes
10583
10584         * graphics/GraphicsSupport.C (operator()): InsetList changes
10585
10586         * toc.C (getTocList): InsetList changes
10587
10588         * paragraph_pimpl.[Ch]: InsetList changes
10589
10590         * paragraph.[Ch]: InsetList changes
10591
10592         * buffer.C (inset_iterator): InsetList changes
10593         (setParagraph): ditto
10594         * buffer.h (inset_iterator): ditto
10595         * iterators.C (operator++): ditto
10596         * iterators.h: ditto
10597
10598         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10599
10600         * InsetList.[Ch]: new files, most InsetList handling moved out of
10601         paragraph.C.
10602
10603         * BufferView2.C (removeAutoInsets): InsetList changes
10604         (lockInset): ditto
10605         (ChangeInsets): ditto
10606
10607 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10608
10609         * paragraph_pimpl.h (empty): new function
10610
10611         * paragraph.[Ch] (empty): new function
10612
10613         * other files: use the new Paragraph::empty function
10614
10615 2002-08-09  John Levon  <levon@movementarian.org>
10616
10617         * lyxtext.h: remove unused refresh_height
10618
10619 2002-08-09  John Levon  <levon@movementarian.org>
10620
10621         * Makefile.am:
10622         * sgml.h:
10623         * sgml.C:
10624         * buffer.C:
10625         * paragraph.h:
10626         * paragraph.C: move sgml char escaping out of paragraph
10627
10628         * paragraph.h:
10629         * paragraph.C: remove id setter
10630
10631         * buffer.C:
10632         * paragraph.C:
10633         * paragraph_pimpl.C: remove dead tex_code_break_column
10634
10635         * bufferview_funcs.C: small cleanup
10636
10637         * lyxfunc.C: remove dead proto
10638
10639         * lyxtext.h: make some stuff private. Remove some dead stuff.
10640
10641         * lyxgluelength.C: make as[LyX]String() readable
10642
10643 2002-08-08  John Levon  <levon@movementarian.org>
10644
10645         * LyXAction.h:
10646         * LyXAction.C:
10647         * MenuBackend.C:
10648         * ToolbarDefaults.C:
10649         * lyxfunc.C:
10650         * lyxrc.C:
10651         * toc.C: lyxaction cleanup
10652
10653 2002-08-08  John Levon  <levon@movementarian.org>
10654
10655         * BufferView2.C: small cleanup
10656
10657         * lyxfind.h:
10658         * lyxfind.C: move unnecessary header into the .C
10659
10660 2002-08-08  John Levon  <levon@movementarian.org>
10661
10662         * funcrequest.h: just tedious nonsense
10663
10664         * lyx_main.h:
10665         * lyx_main.C: cleanups
10666
10667         * buffer.C:
10668         * vspace.C: remove dead header lyx_main.h
10669
10670 2002-08-07  Angus Leeming  <leeming@lyx.org>
10671
10672         * Paragraph.[Ch]:
10673         * paragraph_pimpl.h:
10674         Forward declare class Counters in paragraph.h by moving the ctrs member
10675         variable into Paragraph::Pimpl.
10676         (counters): new method, returning a reference to pimpl_->ctrs.
10677
10678         * text2.C: ensuing changes.
10679
10680 2002-08-07  John Levon  <levon@movementarian.org>
10681
10682         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10683
10684         * BufferView_pimpl.C: announce X selection on double/triple
10685           click
10686
10687         * lyx_main.C: use correct bool in batch dispatch
10688
10689         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10690
10691 2002-08-07  André Pönitz <poenitz@gmx.net>
10692
10693         * funcrequest.h: new class to wrap a kb_action and its argument
10694
10695         * BufferView.[Ch]:
10696         * BufferView_pimpl[Ch]:
10697         * LaTeX.C:
10698         * LyXAction.[Ch]:
10699         * lyxfunc.[Ch]:
10700         * lyxrc.C: subsequent changes
10701
10702
10703 2002-08-07  John Levon  <levon@movementarian.org>
10704
10705         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10706           document options change.
10707
10708 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10709
10710         * counters.[Ch]
10711         * text2.C
10712         * paragraph.[Ch]
10713         * makefile.am: move counters functionality over from
10714         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10715
10716 2002-08-06  John Levon  <levon@movementarian.org>
10717
10718         * WordLangTuple.h: new file for word + language code tuple
10719
10720         * SpellBase.h:
10721         * pspell.h:
10722         * pspell.C:
10723         * ispell.h:
10724         * ispell.C:
10725         * lyxtext.h:
10726         * text.C:
10727         * text2.C:
10728         * BufferView.h:
10729         * BufferView2.C: use WordLangTuple
10730
10731         * layout.h:
10732         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10733
10734 2002-08-06  John Levon  <levon@movementarian.org>
10735
10736         * lyx_main.C: fix cmdline batch handling
10737
10738 2002-08-06  André Pönitz <poenitz@gmx.net>
10739
10740         * lyxrc.C: set default for show_banner to true
10741
10742 2002-08-06  John Levon  <levon@movementarian.org>
10743
10744         * pspell.C: fix a crash, and allow new aspell to work
10745
10746 2002-08-06  John Levon  <levon@movementarian.org>
10747
10748         * lyxfunc.C:
10749         * kbmap.C: small cleanup
10750
10751         * vspace.h:
10752         * vspace.C: add const
10753
10754 2002-08-05  John Levon  <levon@movementarian.org>
10755
10756         * LyXAction.C: back to tabular-insert
10757
10758 2002-08-04  John Levon  <levon@movementarian.org>
10759
10760         * BufferView.h:
10761         * BufferView.C: cosmetic change
10762
10763         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10764
10765         * bufferlist.C:
10766         * buffer.h:
10767         * buffer.C:
10768         * lyxcb.h:
10769         * lyxcb.C:
10770         * lyxserver.C:
10771         * lyxvc.C:
10772         * vc-backend.C:
10773         * BufferView2.C: purge all "Lyx" not "LyX" strings
10774
10775         * lyxcursor.h:
10776         * lyxcursor.C: attempt to add some documentation
10777
10778         * lyxfunc.C:
10779         * commandtags.h:
10780         * LyXAction.C:
10781         * ToolbarDefaults.C:
10782         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10783           merge with LFUN_TABULAR_INSERT
10784
10785         * Makefile.am:
10786         * SpellBase.h:
10787         * ispell.h:
10788         * ispell.C:
10789         * pspell.h:
10790         * pspell.C: split up i/pspell implementations into separate
10791           files, many cleanups
10792
10793         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10794
10795         * text2.C: some cleanup
10796
10797         * lyxfunc.C: don't check for isp_command == "none" any more, it
10798           didn't make any sense
10799
10800 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10801
10802         * counters.[Ch]
10803         * text2.C
10804         * paragraph.[Ch]
10805         * makefile.am: move counters functionality over
10806         from text2.C/paragraph.[Ch] to counters.[Ch], and
10807         make proper C++.
10808 2002-08-02  John Levon  <levon@movementarian.org>
10809
10810         * buffer.C: s/lyxconvert/lyx2lyx/
10811
10812 2002-08-02  Angus Leeming  <leeming@lyx.org>
10813
10814         * lyxlex.C: revert John's change as it breaks reading of the user
10815         preamble.
10816
10817 2002-08-02  Angus Leeming  <leeming@lyx.org>
10818
10819         * importer.C (Import):
10820         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10821         changes due to LyXView::view() now returning a boost::shared_ptr.
10822
10823 2002-08-02  John Levon  <levon@movementarian.org>
10824
10825         * lyxlex.C: small cleanup
10826
10827 2002-08-02  John Levon  <levon@movementarian.org>
10828
10829         * text2.C (status): small cleanup, no logic change
10830
10831 2002-08-01  John Levon  <levon@movementarian.org>
10832
10833         * buffer.h:
10834         * buffer.C (writeFile): don't output alerts, caller
10835           handles this
10836
10837         * bufferlist.C:
10838         * lyx_cb.C: from above
10839
10840         * lyxfunc.C: allow to open non-existent files
10841
10842 2002-07-31  John Levon  <levon@movementarian.org>
10843
10844         * lyxserver.C: don't let incidental errors get
10845           in the way (errno)
10846
10847 2002-07-30  John Levon  <levon@movementarian.org>
10848
10849         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10850
10851 2002-07-30  John Levon  <levon@movementarian.org>
10852
10853         * lyxserver.h:
10854         * lyxserver.C: remove I/O callback too
10855
10856 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10857
10858         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10859         log.
10860
10861 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10862
10863         * many files: strip,frontStrip -> trim,ltrim,rtrim
10864
10865 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10866
10867         * PrinterParams.h: remove extern containsOnly, and include
10868         support/lstrings.h instead.
10869
10870         * LaTeX.C (scanAuxFile): modify because of strip changes
10871         (deplog): ditto
10872         * buffer.C (makeLaTeXFile): ditto
10873         * bufferparams.C (writeFile): ditt
10874         * lyxfont.C (stateText): ditto
10875         * lyxserver.C (read_ready): ditto
10876         * vc-backend.C (scanMaster): ditto
10877
10878         * BufferView_pimpl.h: ws changes
10879
10880         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10881
10882 2002-07-26  André Pönitz <poenitz@gmx.net>
10883
10884         * kb_sequence.C: remove unnedred usings
10885
10886 2002-07-26  Juergen Vigna  <jug@sad.it>
10887
10888         * lyxfind.C (LyXReplace): we have to check better if the returned
10889         text is not of theLockingInset()->getLockingInset().
10890
10891 2002-07-25  Juergen Vigna  <jug@sad.it>
10892
10893         * lyxfind.C (LyXReplace): don't replace if we don't get the
10894         right LyXText.
10895
10896         * undo_funcs.C (createUndo): remove debugging code.
10897
10898 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10899
10900         * buffer.C (parseSingleLyXformat2Token): Use default placement
10901         when reading old floats.
10902
10903         * FloatList.C (FloatList): Change the default placement of figure
10904         and tables to "tbp".
10905
10906 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10907
10908         * MenuBackend.C: using std::max
10909
10910 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10911
10912         * MenuBackend.C (expandToc):
10913         (expandToc2): code moved from xforms menu frontend. It is now
10914         generic and TOCs are transparent to menu frontends.
10915
10916 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10917
10918         * toc.C (getTocList): protect against buf=0
10919
10920         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10921         Menu as first parameter. Now, this calls itself recursively to
10922         expand a whole tree (this will be useful for TOC handling)
10923         (expandFloatInsert): remove 'wide' version of floats
10924
10925         * MenuBackend.h (submenuname): returns the name of the submenu.
10926         (submenu): returns the submenu itself, provided it has been
10927         created by MenuBackend::expand
10928
10929 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10930
10931         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10932         insets which have noFontChange == true. (bug #172)
10933
10934 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10935
10936         * BufferView_pimpl.C: add connection objects and use them...
10937         (Pimpl): here.
10938
10939 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10940
10941         * MenuBackend.C (expandLastfiles):
10942         (expandDocuments):
10943         (expandFormats):
10944         (expandFloatListInsert):
10945         (expandFloatInsert):
10946         (expand): split expand in parts
10947
10948 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10949
10950         * lyx_gui.C: use lyx_gui::exit()
10951
10952 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10953
10954         * LyXAction.C: show the failing pseudo action
10955
10956 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10957
10958         * buffer.C (readFile): Run the lyxconvert script in order to read
10959         old files.
10960
10961 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * LyXAction.C:
10964         * commandtags.h:
10965         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10966
10967 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10968
10969         * LyXAction.C:
10970         * commandtags.h:
10971         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10972
10973 2002-07-22  Herbert Voss  <voss@lyx.org>
10974
10975         * lengthcommon.C:
10976         * lyxlength.[Ch]: add support for the vertical lengths
10977
10978 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10979
10980         * toc.[Ch]: std:: fixes
10981
10982 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10983
10984         * lyxrc.C: do not include lyx_main.h
10985
10986         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10987         for layouts
10988
10989         * lyxrc.C:
10990         * encoding.C:
10991         * bufferlist.C:
10992         * BufferView2.C: include "lyxlex.h"
10993
10994         * tabular.h:
10995         * bufferparams.h: do not #include "lyxlex.h"
10996
10997         * lyxtextclasslist.C (Add): remove method
10998         (classlist): renamed to classlist_
10999
11000         * paragraph_pimpl.C:
11001         * paragraph.C:
11002         * text2.C:
11003         * CutAndPaste.C:
11004         * bufferview_funcs.C:
11005         * bufferlist.C:
11006         * text.C:
11007         * LaTeXFeatures.C:
11008         * buffer.C:
11009         * toc.C (getTocList): use BufferParams::getLyXTextClass
11010
11011         * toc.C (getTocList): use InsetFloat::addToToc
11012
11013         * toc.[Ch]: new files, containing helper functions to handle table
11014         of contents
11015
11016         * lyxfunc.C (dispatch): no need to remove spaces around command
11017         given as a string
11018         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11019         first command of the sequence; it is not very clever, but I do not
11020         have a better idea, actually
11021
11022         * LyXAction.C (LookupFunc): make sure to remove space at the
11023         beginning and end of the command
11024
11025 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11026
11027         * MenuBackend.C (getMenubar): new method: return the menubar of
11028         this menu set
11029         (read): treat differently reading of menu and menubar (in
11030         particular, the menubar has no name now)
11031         (Menu::menubar): remove
11032
11033         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11034         saving is finished
11035
11036 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11037
11038         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11039         a bibitem inset in a RTL paragraph.
11040
11041 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11042
11043         * paragraph_pimpl.C: constify
11044
11045         * BufferView_pimpl.C:
11046         * LaTeX.C:
11047         * lyxfunc.C: fix dispatch in a nicer way
11048
11049 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11050
11051         * lyxfunc.C (dispatch):
11052         * BufferView_pimpl.C:
11053         * BufferView_pimpl.h:
11054         * BufferView.C:
11055         * BufferView.h: rename Dispatch() to dispatch()
11056
11057         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11058
11059         * lyxlayout.C (Read): honor DependsOn tag
11060
11061         * lyxlayout.[Ch] (depends_on): new method
11062
11063         * version.C.in: update lyx_docversion
11064
11065         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11066
11067         * paragraph.C (validate): remove from here...
11068         * paragraph_pimpl.C (validate): ... and move here
11069         (isTextAt): make it const
11070
11071         * buffer.C (getLists): ws cleanup
11072
11073 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11074
11075         * language.C (read): Use iso8859-1 encoding in latex_lang
11076         (this prevents LyX from crashing when using iso10646-1 encoding).
11077
11078 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11079
11080         * text2.C (toggleInset): if cursor is inside an inset, close the
11081         inset and leave cursor _after_ it
11082
11083 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * lyxfunc.C: move minibuffer completion handling out of here
11086
11087 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11088
11089         * BufferView_pimpl.C:
11090         * LaTeX.C: fix dispatch calls
11091
11092 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11093
11094         * text.C (drawChars): Fix Arabic text rendering.
11095
11096 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11097
11098         * LyXAction.C:
11099         * commandtags.h:
11100         * lyxfunc.C: remove message-push/pop
11101
11102         * lyxserver.C:
11103         * lyxfunc.h:
11104         * lyxfunc.C: rationalise some code by removing verboseDispatch
11105           in favour of a bool argument to dispatch()
11106
11107 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11108
11109         * lyx_main.C (init): make sure to read symlinks as absolute paths
11110
11111 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11112
11113         * lyxfunc.h:
11114         * lyxfunc.C: no need for commandshortcut to be a member
11115
11116 2002-07-15  André Pönitz <poenitz@gmx.net>
11117
11118         * converter.C: add support for $$s (scripts from lib/scripts dir)
11119         * lyx_main.C: white space
11120
11121 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * bufferlist.C:
11124         * lyxrc.h:
11125         * lyxrc.C: remove second exit confirmation
11126
11127 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11128
11129         * BufferView.h:
11130         * BufferView.C:
11131         * BufferView2.C:
11132         * BufferView_pimpl.h:
11133         * BufferView_pimpl.C:
11134         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11135
11136 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11137
11138         * MenuBackend.C (expand): add numeric shortcuts to document menu
11139
11140         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11141
11142 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11143
11144         * lyxfont.C (setLyXFamily):
11145         (setLyXSeries):
11146         (setLyXShape):
11147         (setLyXSize):
11148         (setLyXMisc):
11149         (lyxRead):
11150         * debug.C (value):
11151         * buffer.C (asciiParagraph): use ascii_lowercase
11152
11153 2002-07-15  Mike Fabian  <mfabian@suse.de>
11154
11155         * lyxlex_pimpl.C (search_kw):
11156         * lyxlex.C (getLongString):
11157         * converter.h (operator<):
11158         * converter.C (operator<):
11159         * buffer.C (parseSingleLyXformat2Token):
11160         (asciiParagraph):
11161         * ToolbarDefaults.C (read):
11162         * MenuBackend.C (checkShortcuts):
11163         (read):
11164         * LColor.C (getFromGUIName):
11165         (getFromLyXName): use the compare_ascii_no_case instead of
11166         compare_no_case, because in turkish, 'i' is not the lowercase
11167         version of 'I', and thus turkish locale breaks parsing of tags.
11168
11169 2002-07-16  Angus Leeming  <leeming@lyx.org>
11170
11171         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11172         now takes a Buffer const & argument.
11173
11174 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11175
11176         * BufferView.C (resize): check there's a buffer to resize
11177
11178 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11179
11180         * lyxfunc.C: remove dead code
11181
11182         * lyxserver.h:
11183         * lyxserver.C: use lyx_guii::set_read_callback
11184
11185 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11186
11187         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11188         an inset in a RTL paragraph.
11189
11190 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11191
11192         * lyxfunc.C: repaint after a font size update
11193
11194 2002-07-15  André Pönitz <poenitz@gmx.net>
11195
11196         * lyxlength.C: inBP should be able to return negative values
11197
11198 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11199
11200         * lyxfunc.C: use lyx_gui::update_fonts()
11201
11202 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11203
11204         * lyxfunc.C: use lyx_gui::update_color()
11205
11206 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11207
11208         * bufferlist.C:
11209         * lyxfunc.h:
11210         * lyxfunc.C:
11211         * lyxrc.h:
11212         * lyxrc.C: remove file->new asks for name option, and let
11213           buffer-new take an argument
11214
11215 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11216
11217         * BufferView_pimpl.C: remove unneeded extra repaint()
11218
11219 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11220
11221         * LyXAction.C: allow command-sequence with NoBuffer
11222
11223         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11224
11225 2002-07-10  Angus Leeming  <leeming@lyx.org>
11226
11227         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11228
11229 2002-07-09  Angus Leeming  <leeming@lyx.org>
11230
11231         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11232
11233 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11234
11235         * lengthcommon.h: whitespace
11236
11237         * lyxfunc.C: update scrollbar after goto paragraph
11238
11239         * lyxtext.h: factor out page break drawing, and fix it so
11240           page break/added space paints as selected nicely
11241
11242 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11243
11244         * BufferView_pimpl.C: add FIXMEs, clean up a little
11245
11246 2002-07-09  André Pönitz <poenitz@gmx.net>
11247
11248         * lyxfont.[Ch]: support for wasy symbols
11249
11250 2002-07-08  André Pönitz <poenitz@gmx.net>
11251
11252         * BufferView_pimpl.C: apply John's patch for #93.
11253
11254 2002-07-05  Angus Leeming  <leeming@lyx.org>
11255
11256         * BufferView_pimpl.C (buffer): generate previews if desired.
11257
11258         * LColor.h: add "preview" to the color enum.
11259
11260         * LColor.C (LColor): add a corresponding entry to the items array.
11261
11262         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11263         with this buffer.
11264
11265 2002-07-05  Angus Leeming  <leeming@lyx.org>
11266
11267         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11268         The body of the code is now in the method that is passed an ostream &
11269         rather than a file name.
11270         Pass an additional only_preamble parameter, useful for the forthcoming
11271         preview stuff.
11272
11273 2002-07-03  André Pönitz <poenitz@gmx.net>
11274
11275         * lyxfunc.C: simplify getStatus() a bit for math stuff
11276
11277 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11278
11279         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11280
11281 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11282
11283         * text.C (changeRegionCase): do not change case of all the
11284         document when region ends at paragraph end (bug #461)
11285
11286 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11287
11288         * paragraph.C (startTeXParParams):
11289         (endTeXParParams): add \protect when necessary
11290
11291 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11292
11293         * BufferView_pimpl.C (workAreaExpose): remove warning
11294
11295 2002-06-27  Angus Leeming  <leeming@lyx.org>
11296
11297         * Makefile.am: add lyxlayout_ptr_fwd.h.
11298
11299 2002-06-26  André Pönitz <poenitz@gmx.net>
11300
11301         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11302
11303 2002-06-25  Angus Leeming  <leeming@lyx.org>
11304
11305         * lyxfunc.C (dispatch): Comment out the call to
11306         grfx::GCache::changeDisplay. The method no longer exists now that the
11307         pixmap generation part of the graphics loader has been moved into
11308         InsetGraphics.
11309
11310 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11311
11312         * text2.C: layout as layout
11313
11314         * text.C: layout as layout
11315
11316         * tabular.C (OldFormatRead): layout as layout
11317
11318         * paragraph_pimpl.C (TeXDeeper): layout as layout
11319         (realizeFont): layout as layout
11320
11321         * paragraph.C (writeFile): layout as layout
11322         (validate): layout as layout
11323         (getFont): layout as layout
11324         (getLabelFont): layout as layout
11325         (getLayoutFont): layout as layout
11326         (breakParagraph): layout as layout
11327         (stripLeadingSpaces): layout as layout
11328         (getEndLabel): layout as layout
11329         (getMaxDepthAfter): layout as layout
11330         (applyLayout): layout as layout
11331         (TeXOnePar): layout as layout
11332         (simpleTeXOnePar): layout as layout
11333         (TeXEnvironment): layout as layout
11334         (layout): layout as layout
11335         (layout): layout as layout
11336
11337         * lyxtextclass.C (compare_name): new functor to work with
11338         shared_ptr, layout as layout
11339         (Read): layout as layout
11340         (hasLayout): layout as layout
11341         (operator): layout as layout
11342         (delete_layout): layout as layout
11343         (defaultLayout): layout as layout
11344
11345         * lyxlayout_ptr_fwd.h: new file
11346
11347         * lyxlayout.C (Read): layout as layout
11348
11349         * lyx_cb.C (MenuInsertLabel): layout as layout
11350
11351         * bufferlist.C (newFile): layout as layout
11352
11353         * buffer.C (readLyXformat2): layout as layout
11354         (parseSingleLyXformat2Token): layout as layout
11355         (insertStringAsLines): layout as layout
11356         (asciiParagraph): layout as layout
11357         (latexParagraphs): layout as layout
11358         (makeLinuxDocFile): layout as layout
11359         (simpleLinuxDocOnePar): layout as layout
11360         (makeDocBookFile): layout as layout
11361         (simpleDocBookOnePar): layout as layout
11362         (getLists): layout as layout
11363
11364         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11365
11366         * CutAndPaste.C (cutSelection): layout as layout
11367         (pasteSelection): layout as layout
11368         (SwitchLayoutsBetweenClasses): layout as layout
11369
11370         * BufferView_pimpl.C (Dispatch): layout as layout
11371         (smartQuote): layout as layout
11372
11373         * BufferView2.C (unlockInset): layout as layout
11374
11375 2002-06-24  André Pönitz <poenitz@gmx.net>
11376
11377         * lyxfunc.C: fix #487
11378
11379 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11380
11381         * lyxrc.h:
11382         * lyxrc.C:
11383         * lyxfunc.C: remove display_shortcuts, show_banner
11384
11385 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11386
11387         * Buffer_pimpl.C: oops, update on resize
11388
11389 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11390
11391         * buffer.C:
11392         * converter.C:
11393         * exporter.C:
11394         * lyxfunc.C:
11395         * BufferView.h:
11396         * BufferView.C: use repaint()
11397
11398         * BufferView_pimpl.h:
11399         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11400           as it's a clearer description. Remove superfluous
11401           redraws.
11402
11403 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11404
11405         * text.C: fix bug 488. Not ideal, but getting
11406           getWord() to work properly for the insets that
11407           matter is more difficult ...
11408
11409 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11410
11411         * BufferView_pimpl.C:
11412         * LyXAction.C:
11413         * commandtags.h:
11414         * lyxfunc.C: remove the six million index lyxfuncs to just
11415           one, and DTRT (bug 458)
11416
11417 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11418
11419         * BufferView.h:
11420         * BufferView.C:
11421         * BufferView_pimpl.h:
11422         * BufferView_pimpl.C: clean up resize() stuff,
11423           and unnecessary updateScreen()s
11424
11425 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11426
11427         * BufferView.h:
11428         * BufferView.C:
11429         * BufferView_pimpl.h:
11430         * BufferView_pimpl.C:
11431         * lyxfind.h:
11432         * lyxfind.C:
11433         * minibuffer.C: remove focus management of workarea,
11434           not needed. Use screen's greyOut()
11435
11436 2002-06-17  Herbert Voss  <voss@lyx.org>
11437
11438         * converter.C: (convert) do not post a message, when converting
11439         fails, let the calling function decide what to do in this case
11440
11441 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11442
11443         * lyxfunc.C: tidy up a little
11444
11445 2002-06-16    <alstrup@diku.dk>
11446
11447         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11448         Got rid of FORMS_H_LOCATION include. Now we are
11449         GUII.
11450
11451 2002-06-15  LyX Development team  <lyx@rilke>
11452
11453         * buffer.[Ch] (sgmlOpenTag):
11454         (sgmlCloseTag): Added support for avoiding pernicious mixed
11455         content. Return number of lines written.
11456
11457         (makeLinuxDocFile):
11458         (makeDocBookFile): Fixed calls to sgml*Tag.
11459         Simple white space clean.
11460
11461         (simpleDocBookOnePar): Simple white space clean.
11462
11463         * tabular.[Ch] (docBook): Renamed to docbook and got another
11464         argument to related with the pernicious mixed content.
11465
11466         (docbookRow): Fixed calls for docbook inset method.
11467
11468 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11469
11470         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11471         so it's X11 independent.
11472
11473         * kb*.[Ch]: ditto.
11474
11475         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11476
11477 2002-06-15  Lyx Development team  <lyx@electronia>
11478
11479         * intl.h: Renamed getTrans to getTransManager.
11480
11481 2002-06-14  Angus Leeming  <leeming@lyx.org>
11482
11483         * Makefile.am: nuke forgotten stl_string_fwd.h.
11484
11485 2002-06-12  Angus Leeming  <leeming@lyx.org>
11486
11487         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11488
11489 2002-06-13  Angus Leeming  <leeming@lyx.org>
11490
11491         * LaTeX.C:
11492         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11493
11494 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11495
11496         * kbmap.C (getiso): add support for cyrillic and greek
11497
11498 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11499
11500         * BufferView.h:
11501         * BufferView.C:
11502         * BufferView_pimpl.h:
11503         * BufferView_pimpl.C: move bogus scrolling logic
11504           to xforms
11505
11506 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11507
11508         * lyxfunc.C:
11509         * BufferView_pimpl.C: view->resize() change
11510
11511 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11512
11513         * BufferView_pimpl.C: topCursorVisible
11514           prototype change
11515
11516 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11517
11518         * Makefile.am:
11519         * lyx_gui.h:
11520         * lyx_gui.C: move to frontends/
11521
11522         * main.C:
11523         * lyx_main.h:
11524         * lyx_main.C: changes from above
11525
11526 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11527
11528         * intl.C:
11529         * intl.h:
11530         * kbmap.C:
11531         * kbsequence.C:
11532         * lyx_cb.C:
11533         * lyx_main.C: minor tidy
11534
11535 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11536
11537         * BufferView_pimpl.h:
11538         * BufferView_pimpl.C:
11539         * BufferView.h:
11540         * BufferView.C: make painter() const,
11541           remove dead code
11542
11543         * BufferView2.C: use screen() accessor
11544
11545         * lyx_main.h:
11546         * lyx_main.C: some minor cleanup
11547
11548 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11549
11550         * BufferView_pimpl.h:
11551         * BufferView_pimpl.C: remove enter/leaveView,
11552           use workHeight()
11553
11554 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11555
11556         * BufferView.h:
11557         * BufferView.C:
11558         * BufferView2.C:
11559         * BufferView_pimpl.h:
11560         * BufferView_pimpl.C: only construct screen once,
11561           rename
11562
11563         * lyxrc.C: remove pointless comment
11564
11565 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11566
11567         * BufferView.h:
11568         * BufferView.C: remove active() and belowMouse()
11569
11570         * BufferView_pimpl.h:
11571         * BufferView_pimpl.C: use workarea() not workarea_,
11572           and make it use a scoped_ptr instead
11573
11574 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11575
11576         * lyx_gui.C: add debug message on BadWindow
11577
11578 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11579
11580         * sp_spell.C: fdopen is not part of the C++ standard.
11581
11582         * paragraph.C (InsetIterator): use >= instead of ==
11583
11584 2002-06-07  Angus Leeming  <leeming@lyx.org>
11585
11586         Fixes needed to compile with Compaq cxx 6.5.
11587         * BufferView_pimpl.C:
11588         * DepTable.C:
11589         * buffer.C:
11590         * converter.C:
11591         * encoding.C:
11592         * lyx_gui.C:
11593         * lyx_main.C:
11594         * lyxtextclasslist.C:
11595         * minibuffer.C:
11596         * sp_spell.C:
11597         * tabular_funcs.C:
11598         * vc-backend.C:
11599         all c-library variables have been moved into namespace std. Wrap
11600         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11601
11602         * lyxlength.C:
11603         * tabular-old.C:
11604         * tabular.C:
11605         Add a using std::abs declaration.
11606
11607         * kbmap.h (modifier_pair):
11608         * paragraph.h (InsetTable, InsetList):
11609         * lyxfont.h (FontBits):
11610         type definition made public.
11611
11612         * bufferlist.C (emergencyWriteAll): the compiler complains that
11613         there is more than one possible lyx::class_fun template to choose from.
11614         I re-named the void specialisation as lyx::void_class_fun.
11615
11616         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11617
11618         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11619         the compiler is is unable to find tostr in write_attribute.
11620
11621 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11622
11623         * buffer.C (sgmlError): hide #warning
11624
11625 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11626
11627         * xtl/*: get rid of xtl, which is not in use anyway
11628
11629         * LyXAction.C (init):
11630         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11631         were unimplemented xtl experimentation
11632
11633 2002-06-04  André Pönitz <poenitz@gmx.net>
11634
11635         * lyxfunc.C: disable array operation on simple formulae
11636
11637 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11638
11639         * converter.C: constify a bit
11640
11641 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11642
11643         * lyx_gui.C: check xforms version correctly
11644
11645 2002-04-30  Herbert Voss  <voss@lyx.org>
11646
11647         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11648         "keep" option
11649
11650 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11651
11652         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11653           attempt to register it with a VCS)
11654
11655 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11656
11657         * lyx_main.C (init): honor variables LYX_DIR_13x and
11658         LYX_USERDIR_13x
11659
11660 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11661
11662         * buffer.h:
11663         * buffer.C:
11664         * lyx_main.C: fix a crash on bad command line,
11665           and give a useful exit status on error
11666
11667         * lyxfunc.C (doImport): allow -i lyx to work
11668
11669 2002-03-30  André Pönitz <poenitz@gmx.net>
11670
11671         * lyxfunc.C: mathed font changes
11672
11673 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11674
11675         * LaTeX.C:
11676         * importer.h:
11677         * importer.C:
11678         * lyx_sty.h:
11679         * lyx_sty.C:
11680         * lyxlex.C:
11681         * lyxrow.h:
11682         * lyxtext.h:
11683         * paragraph.h:
11684         * paragraph.C:
11685         * texrow.h:
11686         * texrow.C:
11687         * text.C:
11688         * trans_mgr.h: srcdocs, and some minor cleanups
11689
11690 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11691
11692         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11693         call getFont all the time)
11694
11695 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11696
11697         * switch from SigC signals to boost::signals
11698
11699 2002-05-29  André Pönitz <poenitz@gmx.net>
11700
11701         * paragraph_pimpl.C (getChar): don't call size() too often...
11702
11703 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11704
11705         * paragraph_pimpl.C (insertChar): do not try to update tables when
11706         appending (pos == size())
11707
11708         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11709         in order to reduce drastically the number of comparisons needed to
11710         parse a large document
11711
11712 2002-05-29  André Pönitz <poenitz@gmx.net>
11713
11714         * text.C:
11715         * text2.C:
11716         * lyxtextclass.C:
11717         * sp_pspell.h:
11718         * textclasslist.[Ch]:
11719         * sp_ispell.h: whitespace change
11720
11721 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11722
11723         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11724         lyxaction directly now.
11725
11726 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11727
11728         * trans.C:
11729         * lyxfont.C:
11730         * lyxvc.C: remove unused headers
11731
11732 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11733
11734         * Makefile.am:
11735         * buffer.h:
11736         * undostack.h:
11737         * undostack.C:
11738         * undo_funcs.h:
11739         * undo_funcs.C: some cleanups. Use shared_ptr
11740           and a template for the undo stacks.
11741
11742 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11743
11744         * BufferView_pimpl.h:
11745         * BufferView_pimpl.C:
11746         * kbmap.h:
11747         * kbmap.C:
11748         * kbsequence.h:
11749         * kbsequence.C:
11750         * lyxfunc.h:
11751         * lyxfunc.C:
11752         * text2.C: use key_state/mouse_state
11753
11754 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11755
11756         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11757         and LSubstring
11758
11759         * chset.C: change include order
11760         (loadFile): use boost regex and get rid of LRegex and LSubstring
11761
11762         * Makefile.am (BOOST_LIBS): new variable
11763         (lyx_LDADD): use it
11764
11765         * LaTeX.C: change include order.
11766         (scanAuxFile): use boost regex and get rid of LRegex and
11767         LSubstring
11768         (deplog): ditto
11769
11770 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11771
11772         * ColorHandler.h:
11773         * ColorHandler.C:
11774         * FontInfo.h:
11775         * FontInfo.C: moved to frontends/xforms/
11776
11777         * FontLoader.h:
11778         * FontLoader.C: moved into frontends for GUIIzation
11779
11780         * Makefile.am:
11781         * lyx_gui.C:
11782         * lyxfont.C:
11783         * lyxfunc.C: changes from above
11784
11785 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11786
11787         * LColor.C: remove spurious X include
11788
11789         * BufferView_pimpl.C:
11790         * Makefile.am:
11791         * font.h:
11792         * font.C:
11793         * text.C:
11794         * text2.C: move font metrics to frontends/
11795
11796 2002-05-24  Juergen Vigna  <jug@sad.it>
11797
11798         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11799         setting the undo_cursor.
11800
11801         * ParagraphParameters.h: include local includes first.
11802
11803 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11804
11805         * BufferView_pimpl.C:
11806         * BufferView_pimpl.h:
11807         * Makefile.am:
11808         * WorkArea.h:
11809         * WorkArea.C:
11810         * screen.C: move WorkArea into frontends/
11811
11812         * lyxscreen.h:
11813         * screen.C:
11814         * text.C:
11815         * BufferView.C:
11816         * BufferView2.C: move LyXScreen into frontends/
11817
11818         * lyxlookup.h:
11819         * lyxlookup.C:
11820         * lyx_gui.C: move lyxlookup into frontends/xforms/
11821
11822 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11823
11824         * BufferView2.C:
11825         * BufferView_pimpl.C:
11826         * FontLoader.C:
11827         * LyXView.h:
11828         * LyXView.C:
11829         * Makefile.am:
11830         * WorkArea.C:
11831         * XFormsView.h:
11832         * XFormsView.C:
11833         * buffer.C:
11834         * bufferlist.C:
11835         * bufferview_funcs.C:
11836         * converter.C:
11837         * importer.C:
11838         * lyx_cb.C:
11839         * lyx_gui.C:
11840         * lyx_main.C:
11841         * lyx_find.C:
11842         * lyxfunc.C:
11843         * lyxvc.C:
11844         * minibuffer.C:
11845         * text.C:
11846         * text2.C:
11847         * trans.C:
11848         * vc-backend.C: move LyX/XFormsView into frontends/
11849
11850 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11851
11852         * Makefile.am:
11853         * PainterBase.C:
11854         * PainterBase.h:
11855         * Painter.C:
11856         * Painter.h:
11857         * WorkArea.C:
11858         * WorkArea.h:
11859         * screen.C:
11860         * tabular.C:
11861         * text.C:
11862         * text2.C: move Painter to frontends/
11863
11864 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11865
11866         * buffer.C: comment out some some code that depend upon lyx_format
11867         < 220
11868
11869         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11870         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11871
11872         * buffer.h (NO_COMPABILITY): turn off compability
11873
11874         * ColorHandler.C: include scoped_array.hpp
11875
11876         * font.C: Use more specific smart_ptr header.
11877         * Painter.C: ditto
11878         * gettext.C: ditto
11879         * ShareContainer.h: ditto
11880         * lyx_main.h: ditto
11881         * kbmap.h: ditto
11882         * FontInfo.h: ditto
11883         * BufferView_pimpl.h: ditto
11884         * ColorHandler.h: ditto
11885
11886         * kbmap.C (defkey): change call to shared_ptr::reset
11887
11888 2002-05-21  Juergen Vigna  <jug@sad.it>
11889
11890         * buffer.C (insertErtContents): fix to insert ert asis if it is
11891         non empty. Skip it completely if it contains only whitespaces.
11892
11893 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11894
11895         * BufferView_pimpl.C:
11896         * BufferView2.C: clear selection on paste (bug 393)
11897
11898 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11899
11900         * DepTable.C: include ctime
11901
11902 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11903
11904         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11905
11906 2002-05-14  Juergen Vigna  <jug@sad.it>
11907
11908         * text.C (breakParagraph): fixed function to honor the keepempty
11909         layout in the right maner and also to permit the right breaking
11910         algorithm on empty or non empyt keepempty paragraphs.
11911
11912         * paragraph.C (breakParagraph): we have to check also if the par
11913         is really empty (!size()) for isempty otherwise we do the wrong
11914         paragraph break.
11915
11916 2002-05-10  Juergen Vigna  <jug@sad.it>
11917
11918         * buffer.[Ch] : The following are only changes to the ert
11919         compatibility read reading old LaTeX layout and font stuff and
11920         convert it to ERTInsets.
11921
11922         * buffer.h: added isErtInset().
11923
11924         * buffer.C (struct ErtComp): add a fromlayout bool to check
11925         if we're inside a LaTeX layout.
11926         (isErtInset): new helper function.
11927         (insertErtContents): look for other ert insets before this one
11928         and insert the contents there, so that we don't have subsequent
11929         ERT insets with nothing between them. This way we create only one
11930         inset with multiple paragraphs. Also check if we don't insert only
11931         spaces ' ' as they are ignored anyway afterwards in the .tex file
11932         so if we have only spaces we will ignore this latex part in the
11933         new file.
11934         (parseSingleLyXformat2Token \\layout): better compatibility when
11935         reading layout-latex stuff.
11936         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11937         language tag.
11938         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11939         stuff after reading the inset only get the information back from
11940         the stack.
11941
11942 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11943
11944         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11945
11946         * LaTeXFeatures.C (getBabelOptions): New method.
11947
11948 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11949
11950         * BufferView_pimpl.C (Dispatch): work around missing argument for
11951         'layout'
11952
11953 2002-05-08  Juergen Vigna  <jug@sad.it>
11954
11955         * text.C (leftMargin): handle paragraph leftindent.
11956
11957         * paragraph.C (writeFile): write the new \\leftindent tag.
11958         (validate): handle leftindent code.
11959         (TeXEnvironment): handle paragraphleftindent code again.
11960
11961         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11962
11963         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11964         for paragrap_extra indent code and new token \\leftindent.
11965         (latexParagraphs): handle the leftindent as environment.
11966
11967         * ParameterStruct.h: added leftindent support.
11968
11969         * ParagraphParameters.C (leftIndent): added support functions for
11970         the paragraph left indent.
11971
11972         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11973         more appropriate.
11974
11975 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11976
11977         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11978         inside insetERT.
11979
11980         * text.C (computeBidiTables): No bidi in insetERT.
11981
11982         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11983         in RTL documents.
11984
11985 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11986
11987         * version.C.in: pre 5
11988
11989 2002-05-02  José Matos  <jamatos@fep.up.pt>
11990         * buffer.C (makeDocBookFile): white space changes, add newline to
11991         command styles.
11992         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11993
11994         * tabular.C (docBook): fix typo.
11995
11996 2002-05-03  Juergen Vigna  <jug@sad.it>
11997
11998         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11999         change in LyXText as we can not be sure it was not freed.
12000         (drawOneRow): remove unused code.
12001
12002         * text.C (drawInset): redo the calculation of the need_break_row as
12003         it could have a row which was already freed.
12004         (draw): look at the return value of drawInset and return false if
12005         it also returned false.
12006         (paintRowText): look at the return value of draw and return false if
12007         it also returned false.
12008
12009         * lyxtext.h: added bool return type to drawInset() and draw() so that
12010         if we have a change in the row so that the rowbreak has to be redone
12011         we abort drawing as it will be called again.
12012
12013 2002-05-02  Juergen Vigna  <jug@sad.it>
12014
12015         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12016         a change in the maintext also if we're inside an inset.
12017         (Dispatch): set the cursor again after a break line and after the
12018         screen has been updated as it could be we're in a different row.
12019
12020         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12021         to set the cursor behind the pargraph with > size().
12022         (setCursor): check also for the same paragraph when checking where
12023         to put the cursor if we have a NFR inset.
12024
12025         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12026         parts of layout read further up as it still was in the wrong
12027         position.
12028
12029 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12030
12031         * screen.C (drawFromTo): change sine fullRebreak always return
12032         true.
12033
12034         * buffer.C (parseSingleLyXformat2Token): reindent some
12035
12036         * BufferView_pimpl.C (update): change since fullRebreak always
12037         return true.
12038         (Dispatch): git rid of the last hardcoded "Standard"s.
12039
12040 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12041
12042         * text2.[Ch] (fullRebreak): make it return void now that we always
12043         returned true.
12044
12045 2002-04-30  Juergen Vigna  <jug@sad.it>
12046
12047         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12048         ert compatibility check for "latex" layout.
12049
12050 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12051
12052         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12053         minipages: use col% instead of p%, and also use the current font.
12054         (makeLaTeXFile): Fix use babel condition.
12055         (parseSingleLyXformat2Token): Correct font when reading old floats.
12056
12057 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12058
12059         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12060         inserting list of floats.
12061
12062 2002-04-25  Herbert Voss  <voss@lyx.org>
12063
12064         * MenuBackend.C (expand): don't add the graphics extensions to the
12065         export menu
12066
12067 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12068
12069         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12070         non-existing layout, do not complain if it was the default layout
12071         of the original class (bug #342)
12072
12073 2002-04-24  Juergen Vigna  <jug@sad.it>
12074
12075         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12076         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12077
12078 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12079
12080         * buffer.C (getBibkeyList): If using \bibliography, return the
12081         option field with the reference itself. Enables us to provide natbib
12082         support when using \bibliography.
12083
12084 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12085
12086         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12087
12088         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12089         natbib is provided by the LaTeX class.
12090
12091 2002-04-23  Juergen Vigna  <jug@sad.it>
12092
12093         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12094         Wakeup functions.
12095
12096         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12097
12098 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12099
12100         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12101
12102         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12103         ensuremath around textordmasculine, textordfeminine and
12104         textdegree.
12105
12106 2002-04-19  Juergen Vigna  <jug@sad.it>
12107
12108         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12109         reinitializing the buffer otherwise row-dimensions may be wrong.
12110         (update): reset also the selection cursors if they do exits otherwise
12111         their x/y positions may be wrong.
12112
12113         * text2.C (cursorDown): don't enter the inset if we came from a row
12114         above and are one row over the inset.
12115
12116         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12117         really leaving an inset.
12118
12119 2002-04-18  Juergen Vigna  <jug@sad.it>
12120
12121         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12122         of the selected paragraph does not have the selected layout also if
12123         the last one had!
12124
12125         * text2.C (setLayout): fixed bug which did not change last selected
12126         paragraph.
12127
12128         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12129         changed the read and substituted \\end_float with \\end_inset!
12130
12131         * BufferView_pimpl.C (cursorPrevious):
12132         (cursorNext): fixed to make it work with rows heigher than the work
12133         area without moving the cursor only the draw of the row.
12134         (workAreaMotionNotify): fix jumping over high rows.
12135
12136 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12137
12138         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12139         Ressler.
12140
12141 2002-04-16  Juergen Vigna  <jug@sad.it>
12142
12143         * text2.C (setCursor): set also the irow().
12144         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12145         (cursorUp):
12146         (cursorDown): support for locking an inset if the x_fix value goes
12147         inside it. That way I can transverse insets too with cursor up/down.
12148
12149         * lyxrow.h: added irow helper function same as other (i) functions.
12150
12151         * BufferView_pimpl.C (cursorPrevious):
12152         (cursorNext): fixed for insets!
12153
12154 2002-04-15  Juergen Vigna  <jug@sad.it>
12155
12156         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12157         position otherwise it is wrong in some cases.
12158
12159         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12160         inside the inset before the call.
12161
12162 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12163
12164         * buffer.[Ch] (getBibkeyList): make it const.
12165
12166 2002-04-12  Juergen Vigna  <jug@sad.it>
12167
12168         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12169
12170         * text2.C (getCursorX): new helper function
12171         (setCursor): compute also ix_
12172         (setCursorFromCoordinates): set also ix.
12173
12174         * lyxcursor.h: added ix_ and helper functions.
12175
12176         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12177
12178         * buffer.C (insertStringAsLines): dont break paragraph if the this
12179         paragraph is inside an inset which does not permit it!
12180
12181         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12182         also with no chars on this paragraph.
12183         (paintRowText): only paint stuff if it's inside the workarea!
12184
12185         * paragraph.C (breakParagraph): honor keepempty flag and break the
12186         paragraph always below not above.
12187
12188         * BufferView2.C (unlockInset): update the paragraph layout on inset
12189         unlock as we changed paragraph in such a case.
12190
12191         * lyxfind.C (LyXFind): clear the former selection if not found!
12192
12193         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12194         again called in insertChar().
12195
12196         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12197         an inset which uses the whole row!
12198         (rightMargin): ditto.
12199         (insertChar): force a rebreak if we inserted an inset!
12200
12201 2002-03-28  Herbert Voss  <voss@lyx.org>
12202
12203         * lyxlength.[Ch]: add inBP() to get the right PS-point
12204         units (BigPoint). With inPixels we have rounding errors
12205
12206 2002-04-11  Juergen Vigna  <jug@sad.it>
12207
12208         * text2.C (setCursorFromCoordinates): set iy to the right value.
12209         (setCursor): add check if row->previous exists!
12210
12211         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12212         an old float_type as this was the case in the old code!
12213
12214         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12215
12216         * BufferView2.C (showLockedInsetCursor): use iy
12217         (fitLockedInsetCursor): ditto
12218
12219         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12220         locked insets as there we have the right value now.
12221
12222         * lyxcursor.C: added iy_ variable and iy functions to set to the
12223         baseline of cursor-y of the locked inset.
12224
12225         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12226         (setCursor): fixed for insets which need a full row.
12227
12228         * text.C (rowLastPrintable): don't ignore the last space when before
12229         an inset which needs a full row.
12230         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12231         as last character of a row when before a inset which needs a full row.
12232
12233 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12234
12235         * version.C.in: update date
12236
12237         * text2.C (fullRebreak): try to always return true and see what
12238         happens...
12239
12240 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12241
12242         * MenuBackend.C (expand): use Floating::listName
12243
12244         * FloatList.C (FloatList): add listName argument to the built-in
12245         floats
12246
12247         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12248         text associated with the float.
12249
12250 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12251
12252         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12253
12254 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12255
12256         * ShareContainer.h: add a couple of missing typenames.
12257
12258 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12259
12260         * lyxrc.C (getDescription): use _() correctly rather than N_().
12261
12262 2002-03-28  Herbert Voss  <voss@lyx.org>
12263
12264         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12265         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12266
12267 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12268
12269         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12270         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12271
12272 2002-03-29  Juergen Vigna  <jug@sad.it>
12273
12274         * lyxfunc.C (dispatch): add a missing fitCursor call.
12275
12276         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12277         it was scrolled by a cursor move, so return the bool status.
12278
12279         * BufferView.C (fitCursor): return the bool flag also to the outside
12280         world as this is needed.
12281
12282         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12283
12284         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12285         call the edit() as it is not needed (and wrong) IMO.
12286         (workAreaButtonPress): set the screen_first variable before evt.
12287         unlock the inset as this may change screen_first and then we have
12288         a wrong y position for the click!
12289
12290 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12291
12292         * MenuBackend.C (expand): another translation that I missed
12293
12294 2002-03-28  Juergen Vigna  <jug@sad.it>
12295
12296         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12297
12298         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12299
12300 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12301
12302         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12303
12304         * MenuBackend.C (expand): fix export/view/update when there is no
12305         document open.
12306
12307 2002-03-27  Herbert Voss  <voss@lyx.org>
12308
12309         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12310         and text%
12311
12312 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12313
12314         * bufferview_funcs.C (currentState): only show paragraph number
12315         for is DEVEL_VERSION is set.
12316
12317         * lyxfunc.C (dispatch): put warning in INFO channel
12318
12319         * MenuBackend.C (expand): translate the name of floats
12320
12321         * FloatList.C (FloatList): mark the float names for translation
12322
12323         * converter.C (convert): use LibScriptSearch
12324
12325 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12326
12327         * MenuBackend.C (defaults): fix default menu (we might as well get
12328         rid of it...)
12329
12330 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12331
12332         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12333         directory.
12334
12335 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12336
12337         * lyxvc.C: reorder includes.
12338
12339 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12340
12341         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12342           properly
12343
12344 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12345
12346         * CutAndPaste.C: change layouts earlier on paste
12347           to avoid crashing when calling getFont()
12348
12349 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12350
12351         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12352         irritating #error.
12353
12354 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12355
12356         * WorkArea.C: remove 'Pending' debug message.
12357
12358         * most files: ws cleanup
12359
12360         * buffer.[Ch]: ws changes
12361
12362         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12363
12364 2002-03-21  Juergen Vigna  <jug@sad.it>
12365
12366         * tabular.C (SetMultiColumn): collapse also the contents of the
12367         cells and set the last border right. Added a Buffer const * param.
12368
12369 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12370
12371         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12372         linking or not.
12373
12374 2002-03-19  Juergen Vigna  <jug@sad.it>
12375
12376         * text2.C (clearSelection): reset also xsel_cache.
12377
12378         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12379         where it needs to be called (John tells us to do so too :)
12380         (selectionLost): reset sel_cache.
12381
12382         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12383
12384 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12385
12386         * text2.C (setCursorIntern): put debuging code in INSETS channel
12387
12388 2002-03-19  André Pönitz <poenitz@gmx.net>
12389
12390         * lyxfunc.C: tiny whitespace change
12391
12392 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12393
12394         * ToolbarDefaults.C (init):
12395         * LyXAction.C (init):
12396         * commandtags.h:
12397         * BufferView_pimpl.C (Dispatch):
12398         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12399
12400 2002-03-19  Allan Rae  <rae@lyx.org>
12401
12402         * exporter.C (Export): removeAutoInsets before doing anything else.
12403         While I've just introduced a dependency on BufferView this really is
12404         the best place to clean the buffer otherwise you need to cleanup in
12405         a dozen places before calling export or cleanup in a dozen functions
12406         that export calls.
12407
12408         * converter.C (runLaTeX):
12409         (scanLog): Better handling of removeAutoInsets and screen updates.
12410
12411         * lyxfunc.C (dispatch): small whitespace changes
12412
12413 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12414
12415         * WorkArea.C (C_WorkAreaEvent): return a value.
12416         (event_cb): return 1 if we handled the event, 0 otherwise.
12417
12418         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12419
12420 2002-03-18  Juergen Vigna  <jug@sad.it>
12421
12422         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12423         (GetAdditionalWidth): ditto.
12424         (RightLine): ditto.
12425         (LeftLine): ditto.
12426
12427         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12428         inset if we're there actually (probably not used right now but this
12429         is the direction to go for unifying code).
12430         (paste): disable code to clear the selection.
12431
12432         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12433         inside an InsetText and move the check further up as it is in the
12434         wrong place.
12435
12436         * text2.C (pasteSelection): set a selection over the pasted text.
12437
12438 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12439
12440         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12441         and libgraphics to build on Cygwin.
12442
12443 2002-03-15  Juergen Vigna  <jug@sad.it>
12444
12445         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12446         inserting an Inset into the paragraph. I know this is not the best
12447         fix but we already use current_view in CutAndPaste so we will remove
12448         all of it's using at the same time.
12449
12450         * buffer.C (sgmlError): deactivated function till it is rewritten in
12451         the right mode, now it can create problems.
12452
12453         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12454         before accessing it.
12455
12456 2002-03-14  Juergen Vigna  <jug@sad.it>
12457
12458         * undo_funcs.C (textHandleUndo): do the right thing when updating
12459         the inset after the undo/redo.
12460
12461         * text2.C (setCursor): just some testcode for #44 not ready yet.
12462
12463         * undo_funcs.C (textHandleUndo): set the next() and previous()
12464         pointers of the paragraph to 0 before deleting otherwise we have
12465         problems with the Paragraph::[destructor].
12466
12467         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12468         on a paragraph insertion.
12469
12470 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12471
12472         * buffer.C (asciiParagraph): use += operator for char append to
12473         string.
12474
12475         * paragraph.C (getFontSettings): compare >= not just >
12476         (highestFontInRange): ditto
12477         (setFont): ditto
12478
12479 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12480
12481         * paragraph.C: change several algorithm to be more appripriate for
12482         the problem domain. This is lookip in FontList and in the InsetList.
12483
12484 2002-03-13  André Pönitz <poenitz@gmx.net>
12485
12486         * commandtags.h:
12487         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12488
12489 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12490
12491         * commandtags.h:
12492         * LyXAction.C:
12493         * lyxfunc.C:
12494         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12495
12496 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12497
12498         * Painter.C (display): anon helper function, adjust code for this
12499         change.
12500         (pixmap): remove function.
12501
12502         * Painter.h: remove private display variable.
12503
12504         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12505
12506 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12507
12508         * WorkArea.[Ch]: remove figinset_canvas cruft.
12509
12510 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12511
12512         * lyxtextclass.C (operator): add one item cache optimization.
12513
12514         * bufferlist.h: doxy changes
12515
12516         * bufferlist.C: ws changes
12517
12518         * DepTable.[Ch] (ext_exist): place const in the right spot.
12519
12520         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12521         call resizeInsets.
12522         (workAreaExpose): call resizeInsets when the with BufferView changes.
12523         (Dispatch): adjust for protectedBlank removal
12524         (specialChar): call updateInset if the insert went ok.
12525
12526         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12527         specialChar instead.
12528
12529         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12530
12531         * BufferView.h: doxy change
12532
12533         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12534
12535         * lyxtextclass.C (operator[]): remove non-const version
12536         (defaultLayout): remove non-const version
12537
12538 2002-03-12  Juergen Vigna  <jug@sad.it>
12539
12540         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12541         did resize the LyXText too.
12542
12543         * buffer.C (readLyXformat2): set layout information on newly allocated
12544         paragraphs.
12545
12546         * tabular.C (OldFormatRead): set layout information on the paragraph.
12547
12548 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12549
12550         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12551
12552 2002-03-11  Juergen Vigna  <jug@sad.it>
12553
12554         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12555         plainly wrong.
12556         (resizeCurrentBuffer): force also the insets to resize themselfes.
12557         (moveCursorUpdate): fixed up for InsetText.
12558
12559 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12560
12561         * commandtags.h:
12562         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12563         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12564         value of Dialogs::tooltipsEnabled().
12565         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12566
12567 2002-03-08  Juergen Vigna  <jug@sad.it>
12568
12569         * BufferView_pimpl.C (updateInset): update inset inside inset also
12570         if it isn't inside theLockingInset().
12571
12572 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12573
12574         * buffer.C (asciiParagraph): redo some of the word and line length
12575         handling.
12576         (getLists): look for Caption instead of caption.
12577
12578 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12579
12580         * buffer.C (Buffer): initialize niceFile to true
12581         (makeLaTeXFile):
12582         (makeLinuxDocFile):
12583         (makeDocBookFile): make sure niceFile is true on exit
12584
12585 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12586
12587         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12588
12589 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12590
12591         * LyXSendto.C: remove.
12592         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12593         * lyx_gui.C: remove now-redundant comment.
12594         * ColorHandler.h: remove forward declaration of class WorkArea.
12595         * lyxfunc.C: remove #include "WorkArea.h".
12596
12597 2002-03-07  Juergen Vigna  <jug@sad.it>
12598
12599         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12600         got moved away with the DEPM and also set the inset_owner always
12601         right which before could have been omitted.
12602
12603 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12604
12605         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12606         wanted layout is not found.
12607
12608 2002-03-07  Juergen Vigna  <jug@sad.it>
12609
12610         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12611
12612 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12613
12614         * paragraph.C (breakParagraph): use default layout not layout of
12615         prev paragraph.
12616         (Paragraph): clear ParagraphParameters.
12617
12618 2002-03-06  Juergen Vigna  <jug@sad.it>
12619
12620         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12621         otherwise it would not be a valid lenght. Fixed a special case in
12622         the minipage compatibility read where we end the document with a
12623         minipage.
12624
12625         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12626         was set as it could be 0 for InsetTexts first entry.
12627
12628 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12629
12630         * paragraph.C (writeFile): if layout is empty write out
12631         defaultLayoutName().
12632
12633         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12634         file without named layout we set layout to defaultLayoutName().
12635
12636 2002-03-06  Juergen Vigna  <jug@sad.it>
12637
12638         * CutAndPaste.C (copySelection): set layout for new paragraph.
12639
12640         * text.C (prepareToPrint): leave ERT inset left aligned
12641         (leftMargin): don't indent paragraphs inside ERT insets
12642
12643 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12644
12645         * paragraph.C (breakParagraph): dont call clear do the work manually
12646
12647         * paragraph.[Ch] (clear): remove function
12648
12649 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12650
12651         * paragraph.C (Paragraph): dont call clear, the work has already
12652         been done.
12653
12654         * lyxtextclass.C (operator): assert if n is empty
12655
12656         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12657         work manually instead.
12658
12659 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12660
12661         * BufferView_pimpl.C: protect selectionLost against text == 0
12662
12663 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12664
12665         * text.C (breakParagraph): fix a setting layout to '0' problem.
12666
12667 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12668
12669         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12670         final location of file, for the included files, and graphics.
12671
12672 2002-03-05  Juergen Vigna  <jug@sad.it>
12673
12674         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12675
12676 2002-03-04  Juergen Vigna  <jug@sad.it>
12677
12678         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12679
12680         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12681         last column of multicolumn cells.
12682         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12683
12684 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12685
12686         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12687         file if it doesn't go to a temporary file.
12688
12689         * buffer.C (sgmlOpenTag):
12690         (sgmlCloseTag):  remove extra newline insertion.
12691
12692 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12693
12694         * text.C (getRowNearY): comment out debug msg
12695
12696 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12697
12698         * text2.C: first -> first_y
12699
12700         * text.C (getRowNearY): add some attemts at a possible
12701         optimization, not working.
12702
12703         * tabular.[Ch]: add BufferParams to several function so that newly
12704         created paragraph can be initialized to he default layotu for the
12705         buffers textclass.
12706
12707         * tabular-old.C (ReadOld): add buf->params to call of Init
12708
12709         * screen.C: rename text->first to text->first_y
12710
12711         * paragraph.C (breakParagraph): always set layout in the broken
12712         paragraph
12713
12714         * lyxtextclass.C (Read): remove lowercase
12715         (hasLayout): ditto
12716         (operator): ditto
12717         (delete_layout): ditto
12718
12719         * lyxtext.h: rename first -> first_y
12720
12721         * lyxlayout.C (Read): remove lowercase
12722         (name): ditto
12723         (setName): ditto
12724         (obsoleted_by): ditto
12725
12726         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12727
12728         * buffer.C (insertErtContents): add params are to InsetERT
12729         (parseSingleLyXformat2Token): add code to check if a paragraphs
12730         layout really exist.
12731         (parseSingleLyXformat2Token): add params to several inset
12732         constructors
12733         (asciiParagraph): remove lowercase, do the layout comparisons with
12734         no_case
12735
12736         * BufferView_pimpl.C (cursorNext): first -> first_y
12737         (resizeCurrentBuffer): first -> first_y
12738         (updateScrollbar): first -> first_y
12739         (scrollCB): first -> first_y
12740         (workAreaMotionNotify): first -> first_y
12741         (workAreaButtonPress): first -> first_y
12742         (checkInsetHit): first -> first_y
12743         (cursorPrevious): first -> first_y
12744         (cursorNext): first -> first_y
12745         (Dispatch): add buffer_->params to severl inset contructors
12746
12747 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12748
12749         * lyxlayout.C (Read): remove some debug info that I forgot.
12750
12751         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12752         clean up the code slightly.
12753         (makeLinuxDocFile): ditto
12754         (makeDocBookFile): ditto
12755
12756         * text2.C: layout as string
12757
12758         * text.C: layout as string
12759
12760         * paragraph_pimpl.C: layout as string
12761
12762         * paragraph.[Ch]: layout as string
12763
12764         * lyxtextclasslist.[Ch]: layout as string
12765
12766         * lyxtextclass.[Ch]: layout as string
12767
12768         * lyxtext.h: layout as string
12769
12770         * lyxlayout.[Ch]: layout as string
12771
12772         * lyx_cb.C: layout as string
12773
12774         * bufferview_funcs.C: layout as string
12775
12776         * bufferparams.C: layout as string
12777
12778         * buffer.C: layout as string
12779
12780         * LyXView.[Ch]: layout as string
12781
12782         * LaTeXFeatures.[Ch]: layout as string
12783
12784         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12785
12786         * BufferView_pimpl.C: change current_layout to string, remove
12787         lyx::layout_type.
12788         (Dispatch):
12789         (smartQuote):
12790         (insertInset):
12791         (workAreaButtonRelease): layout as string
12792
12793         * BufferView2.C (unlockInset): adjust
12794
12795         * vspace.C (asLatexCommand): use an explict temp variable.
12796
12797 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12798
12799         * Makefile.am: use FRONTEND_*
12800
12801 2002-03-01  Juergen Vigna  <jug@sad.it>
12802
12803         * tabular.C (SetWidthOfMulticolCell): changed to something better
12804         I hope but still work in progress.
12805         (recalculateMulticolumnsOfColumn): renamed function from
12806         recalculateMulticolCells as it is more appropriate now.
12807         (SetWidthOfCell): calculate multicols better.
12808
12809 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12810
12811         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12812
12813         * lyxfunc.C (processKeySym): print sequence also if it is
12814         `deleted' (complete)
12815
12816         * kbsequence.C (print): print sequence even if it is deleted
12817         (complete would be a better word, actually).
12818
12819         * lyxfunc.C (dispatch): print complete options after a prefix key
12820
12821         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12822
12823 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12824
12825         * text2.C (setCharFont): eliminate setCharFont code duplication.
12826
12827 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12828
12829         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12830         LFUN_TABULAR_FEATURE (bug #177)
12831
12832 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12833
12834         * Makefile.am: remove figure.h
12835
12836 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12837
12838         * Bufferview_pimpl.C:
12839         * CutAndPasteC:
12840         * LaTeX.C:
12841         * LyXSendto.C:
12842         * buffer.C:
12843         * bufferlist.C:
12844         * converter.C:
12845         * language.C:
12846         * lyxfunc.C:
12847         * lyxvc.C:
12848         * paragraph.C:
12849         * text.C:
12850         * text2.C: remove #include "lyx_gui_misc.h".
12851
12852         * LaTeX.C: added #include <cstdio>
12853
12854 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12855
12856         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12857         that the paragraph following this one can have.
12858
12859         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12860
12861         * vspace.C (asLatexCommand): fix bogus gcc warning
12862
12863         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12864
12865 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12866
12867         * text2.C (setLayout): get rid of redundant code
12868
12869 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12870
12871         * text2.C (incDepth): make sure depth cannot be increased beyond
12872         reasonable values.
12873
12874 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12875
12876         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12877         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12878
12879         * PainterBase.h (image):
12880         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12881         a LyXImage const *.
12882
12883 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12884
12885         * BufferView.C:
12886         * BufferView.h:
12887         * BufferView_pimpl.C:
12888         * BufferView_pimpl.h:
12889         * LaTeXFeatures.C:
12890         * LyXAction.C:
12891         * LyXView.C:
12892         * Makefile.am:
12893         * UpdateList.h:
12894         * UpdateList.C:
12895         * buffer.C:
12896         * figure.h:
12897         * figureForm.C:
12898         * figureForm.h:
12899         * figure_form.C:
12900         * figure_form.h:
12901         * lyx_cb.C:
12902         * lyx_gui.C:
12903         * lyx_gui_misc.C:
12904         * lyxfunc.C:
12905         * sp_base.h:
12906         * sp_ispell.h:
12907         * sp_pspell.h:
12908         * sp_spell.C: remove fig inset, and the crap house of
12909           cards that follows it
12910
12911 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12912
12913         * Makefile.am:
12914         * lyxserver.C:
12915         * os2_defines.h:
12916         * os2_errortable.h:
12917         * nt_defines.h: move .h into support/
12918
12919         * vms_defines.h: remove
12920
12921         * WorkArea.C: add space in debug output
12922
12923         * text2.C:
12924         * paragraph.C:
12925         * buffer.C: add WITH_WARNINGS
12926
12927         * vc-backend.h:
12928         * vc-backend.C:
12929         * bufferlist.C: s/retrive/retrieve/, add docs
12930
12931         * vspace.h:
12932         * vspace.C:
12933         * kbmap.h:
12934         * lyxlength.h:
12935         * lyxgluelength.h:
12936         * length_common.h:
12937         * chset.h:
12938         * chset.C: add docs
12939
12940         * lyxgui.C: add ID to X error handler
12941
12942         * lyxtestclass.c: fix typo
12943
12944 2002-02-26  Juergen Vigna  <jug@sad.it>
12945
12946         * tabular_funcs.C (write_attribute): changed so that some default
12947         attributes are not written at all.
12948         (getTokenValue): set default values before trying to read the
12949         value so we have the return value always set as default if we don't
12950         find the token we search for.
12951
12952         * tabular.C (Write): write bools as bools not as strings!
12953
12954 2002-02-22  Juergen Vigna  <jug@sad.it>
12955
12956         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12957         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12958
12959         * text.C (leftMargin): don't add an indent for paragraphs inside
12960         tabular cells (fix #208).
12961
12962 2002-02-21  José Matos  <jamatos@fep.up.pt>
12963
12964         * tabular.C (docBook): fixed support for long tables.
12965
12966 2002-02-20  Juergen Vigna  <jug@sad.it>
12967
12968         * text2.C (getFont): get the drawing font of the Inset if this
12969         paragraph is inside an inset (only important for InsetERT for now).
12970
12971         * buffer.C (insertErtContents): use new lanugage params in ERT
12972         constructor.
12973
12974         * CutAndPaste.C: commenting out seemingly uneeded code.
12975
12976 2002-02-19  Allan Rae  <rae@lyx.org>
12977
12978         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12979         Iterators might be simple to use but they also get invalidated.
12980         (removeAutoInsets): renamed saved cursor tracking variables and added
12981         some comments to clarify what everything does.
12982
12983 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12984
12985         * Chktex.C:
12986         * LaTeX.C:
12987         * LyXSendto.C:
12988         * converter.C:
12989         * lyx_cb.C:
12990         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12991         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12992
12993         * lyxfunc.C:
12994         * vc-backend.h: remove #include "support/syscall.h"
12995
12996         * LaTeX.C:
12997         * LyXSendto.C:
12998         * converter.C: rearrange #includes in Lars' approved fashion.
12999
13000         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13001         forward declare class Timeout in the header file.
13002
13003         * XFormsView.C: changes due to the above.
13004
13005         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13006         similar to LyXView.
13007
13008         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13009         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13010
13011 2002-02-18  José Matos  <jamatos@fep.up.pt>
13012
13013         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13014         insets contents.
13015
13016 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13017
13018         * a lot of small ws changes
13019         * add a lot of using std::XXX
13020         * use std construcs some places where approp.
13021         * use some exisint stuff from lyxfunctional where approp.
13022         * Make file changes to use partial linking (lets test this now...)
13023
13024 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13025
13026         * Chktex.C:
13027         * buffer.C:
13028         remove #include "support/syscontr.h" as it's redundant. Always has been.
13029
13030         * Chktex.C:
13031         * LaTeX.C:
13032         * LyXSendto.C:
13033         * converter.C:
13034         * lyx_cb.C:
13035         * vc-backend.C:
13036         change Systemcalls::System to Systemcalls::Wait and
13037         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13038         No change of functionality, just reflects the stripped down Systemcalls
13039         class.
13040
13041 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13042
13043         * debug.[Ch]: add a GRAPHICS type to the enum.
13044
13045 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13046
13047         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13048
13049         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13050         there is an inset.
13051
13052 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13053
13054         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13055         match the changes below.
13056
13057         * text2.C (toggleInset): if there is not editable inset at cursor
13058         position, try to see if cursor is _inside_ a collapsable inset
13059         and close it.
13060
13061 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13062
13063         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13064         document menu has a nice checkbox
13065
13066 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13067
13068         * lyxlength.C (asLatexString): change PW to output as percent of
13069         \textwidth.
13070
13071         * lengthcommon.C: change '%' to 't%'
13072
13073         * lyxfunc.C (dispatch): a few comments from Martin
13074
13075 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13076
13077         * WorkArea.h:
13078         * WorkArea.C:
13079         * BufferView_pimpl.h:
13080         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13081           the X selection.
13082
13083 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13084
13085         * vspace.C (inPixels): fix compiler warning
13086
13087 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13088
13089         * lyxfunc.C (getStatus): fix status message for disabled commands.
13090
13091 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13092
13093         * BufferView_pimpl.C: fix crash on close buffer
13094         during selection (#227)
13095
13096 2002-01-27  Herbert Voss  <voss@lyx.org>
13097
13098         * buffer.C: link old Figure to new graphic inset
13099
13100 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13101
13102         * FontLoader.C (getFontinfo): Change the latex font names in order
13103         to match the names of type1inst.
13104
13105 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13106
13107         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13108
13109         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13110         (extchanged): ditto
13111         (ext_exist): ditto
13112         (remove_files_with_extension): ditto
13113         (remove_file): ditto
13114         (write): ditto
13115
13116         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13117         document is smaller than the work area height. Do not initialize
13118         static variables to 0.
13119
13120 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13121
13122         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13123
13124         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13125         LFUN_LAYOUT_PARAGRAPHS.
13126
13127         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13128         tabular. It is possible to provide a possible cell, which will
13129         typically be the actcell from the corresponding insettabular
13130
13131         * lyxfunc.C (getStatus): small cleanup; disable
13132         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13133         true
13134
13135 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13136
13137         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13138
13139         * paragraph.C (startTeXParParams):
13140         (endTeXParParams): new methods. The LaTeX code to
13141         start/end paragraph formatting
13142         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13143         empty (fixes bug #200)
13144
13145         * vspace.C (inPixels): adapt to the change below
13146         (inPixels): [later] more cleanups (remove unused variables)
13147
13148         * lyxlength.C (inPixels): change to use a width and a height as
13149         parameter.
13150
13151 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13152
13153         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13154         Replaced with \paperwidth
13155
13156         * DepTable.C (insert): add std:: qualifier
13157
13158 2002-01-18  Allan Rae  <rae@lyx.org>
13159
13160         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13161         updated also?
13162
13163         * text.C (drawInset): Turned out I didn't know enough about how
13164         rebreaking worked.  This fixes most of the redraw problems.  I see
13165         an occasional cursor trail when a line is broken now and the cursor
13166         placement can seem out by a few pixels also after a rebreak.
13167
13168 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13169
13170         * buffer.C (parseSingleLyXformat2Token): update because minipage
13171         width is now a LyXLength
13172
13173         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13174
13175         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13176         math insets
13177
13178 2002-01-17  Juergen Vigna  <jug@sad.it>
13179
13180         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13181
13182         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13183         is set correctly and the inset is updated correctly.
13184
13185 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13186
13187         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13188         the beginning of the loop.
13189
13190 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13191
13192         * lyxrc.C: improve help for use_scalable_fonts
13193
13194 2002-01-17  Allan Rae  <rae@lyx.org>
13195
13196         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13197
13198 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13199
13200         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13201         make sure to set their inset_owner to the right value (bug #171)
13202
13203 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13204
13205         * DepTable.h
13206         * DepTable.C: Implement mtime checking to reduce time spent doing
13207         CRCs.
13208
13209 2002-01-16  Juergen Vigna  <jug@sad.it>
13210
13211         * tabular.C (GetAdditionalHeight): one of error fixed.
13212
13213         * lyxrc.C (output): small fix in writing use_pspell.
13214
13215 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13216
13217         * sp_base.h: #include LString.h
13218
13219 2002-01-16  Allan Rae  <rae@lyx.org>
13220
13221         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13222         Can someone check this please?
13223
13224         * text.C (drawInset): It was possible that p.row would be removed by
13225         breakAgainOneRow upsetting a few other settings.  There may be another
13226         small tweak possible by setting need_break_row = 0 when p.row has been
13227         removed but I don't know enough about the logic here.
13228
13229 2002-01-15  Allan Rae  <rae@lyx.org>
13230
13231         * text.C (insertChar): removed conditional truism.
13232
13233         * BufferView2.C (removeAutoInsets): More tweaks.
13234         cur_par_prev could be a stray pointer.  Check for trailing empty line
13235         in case last line was cur_par and only had an error inset on it.
13236
13237 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13238
13239         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13240         absolute
13241
13242         * vc-backend.C (most methods):
13243         * exporter.C (Export):
13244         * converter.C (convert):
13245         (runLaTeX):
13246         * LyXSendto.C (SendtoApplyCB):
13247         * lyxfunc.C (dispatch):
13248         (menuNew):
13249         (open):
13250         (doImport):
13251         * lyx_cb.C (AutoSave):
13252         (InsertAsciiFile):
13253         * BufferView_pimpl.C (MenuInsertLyXFile):
13254         * buffer.C (runChktex): use Buffer::filePath().
13255
13256         * buffer.h: rename filename to filename_; rename filepath to
13257         filepath_ and make it private
13258         (filePath): new method
13259
13260         * buffer.C (writeFile): use fileName()
13261         (getLatexName):
13262
13263         * lyx_main.C (init): fix starting  of LyX when the binary is a
13264         link from so,ewhere else.
13265
13266         * minibuffer.C: include <cctype> for isprint
13267
13268 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13269
13270         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13271         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13272         name clash with InsetCollapsable's width function.
13273
13274 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13275
13276         * lastfiles.C: include <iterator>
13277
13278 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13279
13280         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13281         std::count.
13282
13283         * buffer.C (makeLaTeXFile): ditto.
13284         Also make loop operation more transparent.
13285
13286 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13287
13288         * ToolbarDefaults.C: remove trailing comma closing namespace.
13289
13290         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13291
13292         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13293         as in WorkArea.
13294
13295         * trans.C (Load): comment out unused variable, allowed.
13296
13297 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13298
13299         * minibuffer.[Ch] (append_char): new method to recieve input from the
13300         drop-down completion browser. If a key was pressed, then recieve this
13301         char and append it to the existing string.
13302         (peek_event): modify the positioning data passed to the completion
13303         browser so that it can be placed above the minibuffer rather than below.
13304 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13305
13306         * LyXAction.C (init): alloe error-next for readonly documents.
13307
13308         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13309         count.
13310
13311 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13312
13313         * bufferlist.C (readFile): create the buffer _after_ checking that
13314         the file exists.
13315
13316         * lyxfunc.C (verboseDispatch): fix handling of arguments
13317
13318         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13319
13320         * lyxrc.C: use string::erase() instead of initializing to "".
13321
13322
13323 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13324
13325         * BufferView_pimpl.h:
13326         * BufferView_pimpl.C:
13327         * WorkArea.h:
13328         * WorkArea.C:
13329         * text2.C: tell X when we have made a selection for copying
13330
13331 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13332
13333         * BufferView_pimpl.C (MenuInsertLyXFile):
13334         * lyxfunc.C (menuNew):
13335         (open):
13336         (doImport): add shortcuts to directory buttons
13337
13338         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13339         open a float)
13340
13341         * lyxfunc.C (setStatusMessage):
13342         (getStatusMessage): new methods
13343         (getStatus):use setStatusMessage instead of setErrorMessage
13344         (dispatch): when function is disabled, set error message here
13345         [instead of in getStatus previously]
13346
13347         * BufferView_pimpl.C (workAreaButtonRelease): update
13348         toolbar/menubar here too.
13349
13350 2002-01-13  Allan Rae  <rae@lyx.org>
13351
13352         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13353         Now seems indestructible.  Remaining task is to audit all other
13354         code affected by deleteEmptyParagraphMechanism.  One small quirk
13355         left is that an empty document with an error in the preamble can
13356         be made to report an error but no error box appears.  I don't know
13357         where it goes.
13358         (removeAutoInsets): Improved comments.
13359
13360 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13361
13362         * Thesaurus.h:
13363         * Thesaurus.C: update for Aiksaurus 0.14
13364
13365 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13366
13367         * text2.C (firstParagraph): removed member function, all uses
13368         replaces with ownerParagraph
13369         (redoParagraphs): here
13370         (updateInset): here
13371         (toggleAppendix): here
13372         * BufferView2.C (insertErrors): here
13373         (setCursorFromRow): here
13374
13375 2002-01-13  Allan Rae  <rae@lyx.org>
13376
13377         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13378         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13379         There is still a way to segfault this although you may have to do this
13380         multiple times: Have an InsetERT with an unknown command in it.
13381         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13382         <down-arrow>, <Enter> again, View->DVI, BANG!
13383
13384         * text2.C (setCursor):
13385         (deleteEmptyParagraphMechanism):
13386         * lyxtext.h (setCursor):
13387         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13388         Making use of the return value may help fix other bugs.
13389
13390 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13391
13392         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13393
13394         * LyXView.C (updateMenubar): call MenuBar::update here
13395         (updateToolbar): but not here
13396         (showState): do not update toolbar/menubar
13397
13398         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13399         should need to care about that.
13400
13401         * lyxfunc.C (verboseDispatch): simplify a bit
13402         (getStatus): have a version which takes a pseudoaction, and
13403         another which requires a (kb_action,string).
13404
13405         * LyXAction.C (retrieveActionArg): make it work also when action
13406         is not a pseudo-action.
13407         (getActionName): simplify a bit
13408         (helpText):
13409
13410 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13411
13412         * lyxfunc.C (verboseDispatch): new families of methods with
13413         several ways to specify a command and a bool to indicate whether
13414         the command name and shortcut should be displayed in minibuffer
13415         (eventually, we could extend that to a finer bitmask like
13416         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13417         (dispatch): the pristine dispatch command which just, well,
13418         dispatchs! Note it still sets its result to minibuffer; I'm not
13419         sure we want that.
13420
13421         * lyxfunc.h: remove setHintMessage
13422
13423         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13424
13425 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13426
13427         * BufferView_pimpl.C (specialChar): delete new inset if we have
13428         not been able to insert it.
13429
13430         * kbmap.C: revert to using int instead of kb_action, since all we
13431         are dealing with is pseudo-actions.
13432
13433         * LyXAction.C (searchActionArg): change to return int instead of
13434         kb_action, since the result is a pseudoaction.
13435
13436 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13437
13438         * buffer.C (insertErtContents): Fix (partially) the font bug.
13439
13440 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13441
13442         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13443         as the other one is broken on my machine!
13444
13445 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13446
13447         * commandtags.h:
13448         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13449
13450 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13451
13452         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13453         reflect their actual use. Provide compatibility code for older lyxrc
13454         files.
13455
13456         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13457         FL_NORMAL_STYLE.
13458         change names of popup font variables in line with the changes to lyxrc.C
13459
13460 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13461
13462         * buffer.C (asciiParagraph): avoid outputing a word twice after
13463         an inset.
13464
13465         * lyxrc.C (getDescription): document that document_path and
13466         template_path can be empty.
13467
13468 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13469
13470         * LaTeXFeatures.C (getMacros):
13471         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13472
13473         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13474
13475         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13476         getPackages.
13477         (getPackages): rename feature "floats" to "float". Use an array to
13478         iterate over 'simple' features (i.e. just a \usepackage). Add
13479         handling of "amsmath" (renamed from "amsstyle").
13480
13481 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13482
13483         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13484         features list.
13485
13486 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13487
13488         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13489         FuncStaus::FuncStatus & FuncStaus::some_method().
13490
13491 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13492
13493         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13494         of the func_satus stuff. Edited and massaged in various ways by
13495         JMarc.
13496
13497         * lyxfunc.C (getStatus): use FuncStatus
13498
13499 2002-01-08  Juergen Vigna  <jug@sad.it>
13500
13501         * text.C (nextBreakPoint): use function Inset::isChar().
13502
13503         * paragraph.C (TeXOnePar): use function
13504         Inset::forceDefaultParagraphs.
13505
13506         * buffer.C (latexParagraphs): use function
13507         Inset::forceDefaultParagraphs.
13508
13509 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13510
13511         * lyx_gui.C (init): set the style of the menu popups to
13512         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13513
13514 2002-01-07  Juergen Vigna  <jug@sad.it>
13515
13516         * text.C (setHeightOfRow): small fix
13517         (prepareToPrint): don't look at alignment if we don't have the place
13518         for doing it.
13519
13520 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13521
13522         * box.C: New file. Move the Box methods and functions out of box.h,
13523         following Lars' suggestion.
13524
13525 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13526
13527         * box.h: #include "support/LOstream.h", needed for inlined function.
13528
13529         * lyxtextclass.C:
13530         * lyxtextclasslist.C: added some using std declarations.
13531
13532 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13533
13534         * box.h: make signed dimensions to allow insets wider than
13535           the screen (bug #162)
13536
13537         * BufferView_pimpl.C: add some insetHit debug
13538
13539 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13540
13541         * vc-backend.C: add FIXME
13542
13543 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13544
13545         * lyxfunc.C (getStatus): enable code for showing math font status
13546         in toolbar/menu.
13547
13548 2002-01-07  Juergen Vigna  <jug@sad.it>
13549
13550         * text.C (nextBreakPoint): removed debug output not needed anymore.
13551
13552 2002-01-06  Juergen Vigna  <jug@sad.it>
13553
13554         * text.C (nextBreakPoint): fixed up this function we had this bug
13555         since ever but now hopefully we break row better.
13556         (insertChar): we have to check if an inset is the next char as it
13557         could now happen that a large inset is causing a break.
13558
13559 2002-01-05  Juergen Vigna  <jug@sad.it>
13560
13561         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13562         if it doesn't like to be drawed.
13563
13564 2002-01-04  Juergen Vigna  <jug@sad.it>
13565
13566         * BufferView2.C (lockInset): forgot to set a cursor.
13567
13568         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13569
13570 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13571
13572         * FormMathsPanel.C:
13573         * FormMathsPanel.h
13574         * MathsSymbols.C:
13575         * form_maths_panel.C:
13576         * form_maths_panel.h:
13577         * form_maths_panel.fd: implemented sub- and super- buttons in math
13578         panel.
13579
13580         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13581         (or ^ space) to be used as in TeX (req'd by André).
13582
13583         * lyxfunc.C: Allow ^ and _ again to be used both as
13584         super/subscript (mathed) and as themselves (in text).
13585
13586 2002-01-03  Allan Rae  <rae@lyx.org>
13587
13588         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13589         "LyX" or the filename of the current buffer if it has one.  This is a
13590         modified form of John Levon's patch.
13591
13592         * XFormsView.C (setWindowTitle): also set icon title.
13593
13594         * LyXView.h (setWindowTitle): signature changed.
13595         * XFormsView.h (setWindowTitle): ditto.
13596
13597 2002-01-02  Juergen Vigna  <jug@sad.it>
13598
13599         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13600
13601 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13602
13603         * screen.C (topCursorVisible): introduce a temp var for
13604         text->cursor.row(), handle the case where this row is null. (kindo
13605         hachish)
13606
13607         * text2.C (setCursor): add a couple of asserts.
13608
13609         * paragraph.h (inset_iterator): add -> operator
13610
13611         * paragraph.[Ch] (autoDeleteInsets): remove member function
13612
13613         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13614         cursor pos correctly and handle inset deletion by itself.
13615         (insertErrors): move iterator declaration out of for expression
13616
13617         * lyxtextclass.C: add <algorithm>
13618
13619         * Makefile.am: added the new files to sources, removed layout.C
13620
13621         * layout.C: removed file
13622
13623         * layout.h: remove LYX_DUMMY_LAYOUT
13624
13625         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13626         layout.
13627
13628         * lyxlayout.[Ch]:
13629         * lyxtextclass.[Ch]:
13630         * lyxtextclasslist.[Ch]: new files
13631
13632         * include order changes to a lot of files, also changes because of
13633         the six new files.
13634
13635 2001-12-27  Juergen Vigna  <jug@sad.it>
13636
13637         * buffer.C (asciiParagraph): more fixes.
13638
13639         * tabular.C (ascii): make ascii export support export of only the
13640         data separated by a column-delimiter.
13641         (ascii): better support for ascii export.
13642
13643         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13644
13645 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13646
13647         * tabular_funcs.C: use a "using std::getline" instead of the
13648         previous fix from Angus (necessary for cxx + lyxstring)
13649
13650 2001-12-24  Juergen Vigna  <jug@sad.it>
13651
13652         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13653
13654         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13655         problems. First check a minipage also if we have some ert-contents
13656         (not only on par->size(), second set the right depth of the paragraph
13657         on the relink to the root-paragraph-list!
13658
13659         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13660         which then did not anymore update the main paragraphs on undo/redo!
13661
13662 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13663
13664         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13665         code. Support all font-changing funcs (even those which are not in
13666         menu currently). Support for reporting font settings in
13667         mathed (disabled until Andre provides a function on mathed's side).
13668
13669         * func_status.h (toggle): small helper function to set toggle
13670         state on a flag.
13671
13672 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13673
13674         * tabular_funcs.C: getline -> std::getline
13675
13676 2001-12-21  Juergen Vigna  <jug@sad.it>
13677
13678         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13679         accessed and could be 0 (I couldn't generate this but it seems
13680         Michael could!).
13681
13682 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13683
13684         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13685         * tabular_funcs.h: here and include iosfwd
13686
13687 2001-12-20  Juergen Vigna  <jug@sad.it>
13688
13689         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13690         inside inset but undo_par was.
13691
13692 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13693
13694         * Thesaurus.C: always include <config.h> in sources.
13695
13696         * Painter.h:
13697         * lyxlookup.h:
13698         * box.h: do not include <config.h> in header files
13699
13700         * text.C (paintLastRow): remove unused variable
13701
13702         * text.C (transformChar):
13703         (insertChar):
13704         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13705
13706         * Painter.C (text):
13707         * font.C (width): rewrite to use uppercase() instead of
13708         islower/toupper.
13709
13710         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13711
13712 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13713
13714         * lyxfind.C: clean up of find failure position change
13715
13716 2001-12-20  Juergen Vigna  <jug@sad.it>
13717
13718         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13719
13720         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13721         (TeXRow): added to LaTeX a single tabular row.
13722         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13723         (Latex): simplified and finally good LT-h/f support.
13724         (various_functions): just small adaptions for LT-h/f support.
13725
13726         * tabular_funcs.[hC]: added and moved here all not classfunctions
13727         of LyXTabular.
13728
13729 2001-12-19  Juergen Vigna  <jug@sad.it>
13730
13731         * tabular.[Ch]: better support for longtabular options (not finished
13732         yet!)
13733
13734 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13735
13736         * text.C (paintLastRow): use the label font instead of the font of
13737         the last character to compute the size of *_BOX. This makes more
13738         sense and avoids a crash with empty paragraphs.
13739         Use Painter::rectangle to draw EMPTY_BOX.
13740
13741 2001-12-19  Juergen Vigna  <jug@sad.it>
13742
13743         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13744         the paragraphs if the replaced paragraph is not the first one!
13745         Tried to delete not used paragraphs but does not work yet so for
13746         now it's inside #ifdef's and by default off!
13747
13748 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13749
13750         * MenuBackend.C: include "lyx_main.h" instead of declaring
13751         lastfiles (actually was declared as LastFiles* instead of a
13752         scoped_ptr).
13753
13754 2001-12-17  Juergen Vigna  <jug@sad.it>
13755
13756         * tabular.C (AppendColumn): applied John's fix
13757
13758 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13759
13760         * BufferView.h:
13761         * BufferView.C:
13762         * BufferView_pimpl.h:
13763         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13764
13765         * Makefile.am:
13766         * box.h: new start of class for above
13767
13768         * lyxfunc.C: ignore space-only minibuffer dispatches.
13769           Show the command name when it doesn't exist
13770
13771         * minibuffer.C: don't add empty lines to the history
13772
13773         * minibuffer.C: add a space on dropdown completion
13774
13775 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13776
13777         * text.C: fix line above/below drawing in insets
13778
13779 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13780
13781         * lyxlength.C (LyXLength): Initialize private variables.
13782
13783 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13784
13785         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13786         when inserting error insets.
13787
13788 2001-12-13  Juergen Vigna  <jug@sad.it>
13789
13790         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13791         actually sometimes the before-paragraph.
13792         (setUndo): don't clear the redostack if we're not actually undoing!
13793
13794 2001-12-06  Juergen Vigna  <jug@sad.it>
13795
13796         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13797         and fixed redoing of main paragraph, so we can use it now ;)
13798
13799         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13800
13801 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13802
13803         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13804         Juergen's request
13805
13806 2001-12-13  André Pönitz <poenitz@gmx.net>
13807
13808         * undostack.[Ch]:
13809         * undo_func.C: minor cleanup
13810
13811 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13812
13813         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13814         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13815         font in urw-fonts package which is marked as -urw-fontspecific and
13816         does not work (incidentally, changing the encoding in the
13817         fonts.dir of this package to -adobe-fontspecific fixes the
13818         problem).
13819
13820         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13821         is a crash when undoing first paragraph (Juergen, please take a
13822         look). THis does not mean the undo fix is wrong, just that it
13823         uncovers problems.
13824
13825         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13826         the (Paragraph*) version when needed instead of duplicating the
13827         code.
13828
13829         * text.C (workWidth): use Inset::parOwner to find out where the
13830         inset has been inserted. This is a huge performance gain for large
13831         documents with lots of insets. If Inset::parOwner is not set, fall
13832         back on the brute force method
13833
13834         * paragraph_pimpl.C (insertInset):
13835         * paragraph.C (Paragraph):
13836         (cutIntoMinibuffer): set parOwner of insets when
13837         inserting/removing them
13838
13839         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13840
13841 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13842
13843         * commandtags.h:
13844         * LyXAction.C:
13845         * lyx_main.C:
13846         * lyxfunc.C:
13847         * mathed/formulabase.C:
13848         * mathed/math_cursor.[Ch]:
13849         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13850
13851
13852 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13853
13854         * lyxlength.[Ch] (operator!=): new function
13855
13856 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13857
13858         * text.C (workWidth): use Inset::parOwner to find out where the
13859         inset has been inserted. This is a huge performance gain for large
13860         documents with lots of insets. If Inset::parOwner is not set, fall
13861         back on the brute force method
13862
13863         * paragraph_pimpl.C (insertInset):
13864         * paragraph.C (Paragraph):
13865         (cutIntoMinibuffer): set parOwner of insets when
13866         inserting/removing them
13867
13868         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13869
13870 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13871
13872         * tabular-old.C (getTokenValue):
13873         * tabular.C (getTokenValue):
13874         (write_attribute): new versions for LyXLength
13875         (everywhere): adjust the use of widths
13876
13877         * tabular.h: change the type of widths from string to LyXLength
13878
13879 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13880
13881         * paragraph.C: fixed missing line number count when exporting
13882         Environments to LaTeX file
13883
13884         * buffer.C: added informational message for checking line numbers.
13885
13886 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13887
13888         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13889         paragraph, do the 'double space' part, but not the 'empty
13890         paragraph' one.
13891
13892         * text.C (workWidth): small optimization
13893         (getLengthMarkerHeight): use minimal size for negative lengths.
13894
13895 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13896
13897         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13898
13899         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13900
13901 2001-12-11  André Pönitz <poenitz@gmx.net>
13902
13903         * FontLoader.C:
13904         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13905
13906 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13907
13908         * text2.C: keep selection on a setFont()
13909
13910 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13911
13912         * lyx_cb.C: another bv->text misuse, from insert label
13913
13914 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13915
13916         * kbsequence.h:
13917         * kbsequence.C: re-instate nmodifier mask
13918
13919 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13920
13921         * lyx_main.h: make lyxGUI private.
13922
13923 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13924
13925         * lyxfind.C: place the cursor correctly on failed search
13926
13927 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13928
13929         * text.C (getLengthMarkerHeight): for small heights, the arrows
13930         are not always on top/bottom of the text
13931         (drawLengthMarker): smaller arrows; take the left margin in
13932         account; draw also vfills.
13933         (paintFirstRow):
13934         (paintLastRow): remove special code for vfill and standard spaces,
13935         since everything is handled in drawLengthMarker now.
13936
13937 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13938
13939         * buffer.C (insertErtContents): try to handle font and language
13940         interaction a bit better.g
13941
13942         * ColorHandler.C (updateColor): change the hash to cover the whole
13943         LColor enum, ws cleanup
13944         (getGCLinepars): ditto
13945         (getGCLinepars): only lookup in the linecache once.
13946
13947 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13948
13949         * iterators.C (operator++): Make the iterator more robust
13950
13951         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13952         (John's patch)
13953         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13954
13955 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13956
13957         * lyxtext.h:
13958         * text.C: better added space drawing
13959
13960 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13961
13962         * LyXView.C:
13963         * BufferView2.C: fix layout combo update on inset unlock
13964
13965 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13966
13967         * Makefile.am: don't compile unused files
13968
13969 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13970
13971         * lyxfunc.C:
13972         * commandtags.h:
13973         * LyXAction.C: remove old LFUN_LAYOUTNO
13974
13975 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13976
13977         * paragraph_pimpl.h:
13978         * paragraph_pimpl.C: isTextAt() doesn't need font param
13979
13980 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13981
13982         * lyxlex.h:
13983         * lyxlex.C: little cleanup
13984
13985 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13986
13987         * BufferView_pimpl.C: fix insertAscii for insets
13988
13989 2001-12-05  Juergen Vigna  <jug@sad.it>
13990
13991         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13992         set the right font on the "multi" paragraph paste!
13993
13994 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13995
13996         * trans_decl.h:
13997         * trans_mgr.[Ch]:
13998         * trans.[Ch]:
13999         * lyxgluelength.C:
14000         * lyxlength.C: remove out-commented code.
14001
14002         * BufferView_pimpl:
14003         * CutAndPaste.C:
14004         * DepTable.C:
14005         * buffer.C:
14006         * chset.C:
14007         * lastfiles.C:
14008         * lyxlex.C:
14009         * lyxlex_pimpl.C:
14010         * lyxserver.C:
14011         * screen.C:
14012         * tabular-old.C:
14013         * tabular.C:
14014         * text.C:
14015         * trans_mgr.C:
14016         * vc-backend.C: change "while(" to "while ("
14017
14018         * lyxlength.[Ch]: add zero function to check if length is zero or
14019         not
14020         * lyxgluelength.C: use it
14021
14022 2001-12-05  Allan Rae  <rae@lyx.org>
14023
14024         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14025         Works for 2.95.3, from what I understand of Garst's reports this should
14026         work for other g++ versions.  We're screwed if the abs(int) definition
14027         changed between bugfix releases of gcc.
14028
14029 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14030
14031         * text.C: fix chapter label offset !
14032
14033 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14034
14035         * lyxtext.h:
14036         * text.C: fix hfill at end of line, clean up
14037
14038 2001-12-04  Juergen Vigna  <jug@sad.it>
14039
14040         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14041         that we force an update of the inset and it's owners if neccessary.
14042
14043 2001-12-03  Juergen Vigna  <jug@sad.it>
14044
14045         * text.C (rowLast): simplified code
14046
14047 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14048
14049         * lyxfunc.C: fix show options on timeout
14050
14051 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14052
14053         * screen.C (topCursorVisible): scroll half a page when the cursor
14054         reached top of bottom of screen
14055
14056 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14057
14058         * minibuffer.C: deactivate on loss of focus
14059
14060 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14061
14062         * vspace.[Ch] (operator!=): add operator.
14063
14064 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14065
14066         * BufferView_pimpl.C: refuse to open an inset when
14067         there's a selection.
14068
14069 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14070
14071         * BufferView_pimpl.C: allow to click on RHS of full row insets
14072
14073 2001-11-30  Juergen Vigna  <jug@sad.it>
14074
14075         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14076         insets for undo reasons.
14077
14078 2001-11-28  André Pönitz <poenitz@gmx.net>
14079
14080         * vspace.[Ch]: cosmetical changes
14081
14082 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14083
14084         * LyXAction.h:
14085         * LyXAction.C:
14086         * lyxfunc.h:
14087         * lyxfunc.C:
14088         * kbmap.h:
14089         * kbmap.C:
14090         * lyxrc.C:
14091         * kbsequence.h:
14092         * kbsequence.C: part re-write of old kb code
14093
14094         * Painter.C:
14095         * WorkArea.C: remove Lgb_bug_find_hack
14096
14097 2001-11-30  José Matos <jamatos@fep.up.pt>
14098
14099         * buffer.C (makeDocBookFile): add a comment to point a hack.
14100         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14101         Fixed a double write of labels.
14102
14103 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14104
14105         * LaTeX.C:
14106         * LaTeX.h Fixed bug in LaTeX class where it would not
14107         re-run latex if no depfiles were changed, but the .dvi was removed.
14108
14109 2001-11-28  André Pönitz <poenitz@gmx.net>
14110
14111         * all the files from the change on 2001/11/26:
14112         use lyx::layout_type instead of LyXTextClass::size_type
14113         use lyx::textclass_type instead of LyXTextClassList::size_type
14114
14115 2001-11-29  Juergen Vigna  <jug@sad.it>
14116
14117         * text.C: added support for paragraph::isFreeSpacing()
14118
14119         * buffer.C: same as above
14120
14121         * paragraph.h: inserted isFreeSpacing() function to enable
14122         FreeSpacing inside InsetERT.
14123
14124         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14125         of the paragraph's in the cut/copy buffer to 0!
14126
14127         * text2.C (removeRow): remove the assert as it can!
14128
14129         * lyxtext.h: added helper function firstRow returning firstrow and
14130         made firstrow private again.
14131
14132         * BufferView2.C (lockInset): don't relock if we're already locked!
14133
14134         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14135         the only paragraph.
14136         (removeRow): added Assert::(firstrow)
14137
14138         * debug.C: forgot to add INSETTEXT here.
14139
14140 2001-11-28  Juergen Vigna  <jug@sad.it>
14141
14142         * sp_spell.C (initialize): changed error text to more general
14143         spellchecker command use (not only ispell!)
14144
14145         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14146
14147         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14148
14149 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14150
14151         * vspace.C: initialise lyxgluelength on failure
14152
14153 2001-11-28  Allan Rae  <rae@lyx.org>
14154
14155         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14156         declaration & definition that looks like a function declaration.
14157
14158 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14159
14160         * BufferView2.C (copy):
14161         (copyEnvironment): do not clear the selection when doing a copy.
14162
14163         * text.C (paintFirstRow): compilation fix
14164
14165 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14166
14167         * tabular.C (Latex): correct line count when writing latex.
14168
14169 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14170
14171         * paragraph_pimpl.h:
14172         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14173           bug a bit
14174
14175 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14176
14177         * text.C:
14178         * LColor.h:
14179         * LColor.C: change vfillline->added_space
14180
14181         * text.C: add markers and text for added space
14182
14183         * vspace.C: fix comment
14184
14185 2001-11-28  André Pönitz <poenitz@gmx.net>
14186
14187         * paragraph.C: whitespace changes
14188         * all the other files from the change on 2001/11/26:
14189         change *::pos_type into lyx::pos_type
14190
14191 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14192
14193         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14194         language of the document when inserting error insets.
14195
14196 2001-11-26  André Pönitz <poenitz@gmx.net>
14197
14198         * BufferView_pimpl.[Ch]:
14199         *       CutAndPaste.C:
14200         * buffer.[Ch]:
14201         * lyxcursor.[Ch]:
14202         * lyxfind.C:
14203         * lyxfunc.C:
14204         * lyxrow.[Ch]:
14205         * paragraph.[Ch]:
14206         * paragraph_pimpl.[Ch]:
14207         * sp_spell.C:
14208         * text.C:
14209         * text2.C: reduce header dependencies, introduce type for positions
14210
14211 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14212
14213         * <various>: change to use Alert.h
14214
14215 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14216
14217         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14218         when encountering an unknown token.
14219         (readLyXformat2): Show an error message if there were unknown tokens.
14220
14221 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14222
14223         * BufferView2.C:
14224         * BufferView_pimpl.C:
14225         * buffer.C:
14226         * paragraph.h:
14227         * text.C:
14228         * text2.C: use par->isInset()
14229
14230 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14231
14232         * paragraph_pimpl.h:
14233         * paragraph_pimpl.C: cleanup
14234
14235 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14236
14237         * text2.C (removeRow):
14238         * text.C (setHeightOfRow): remove useless (and costly) call to
14239         getRow.
14240
14241 2001-11-20  Allan Rae  <rae@lyx.org>
14242
14243         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14244         Now need Inset*::checkInsertChar() to return true for appropriate
14245         cases so that the characters in the minibuffer will actually be
14246         inserted.
14247
14248 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14249
14250         * text.C: change the order of the includes.
14251         (workWidth): initialize it at once.
14252         (workWidth): make maxw unsigned
14253         (setHeightOfRow): remove unused variable (inset)
14254         (selectSelectedWord): remove unused variable (inset)
14255         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14256
14257 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14258
14259         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14260         server is not running.
14261         (openConnection):
14262         (closeConnection): add debug info when server is disabled.
14263
14264         * ColorHandler.C (getGCForeground): send debug message to GUI
14265         channel.
14266
14267         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14268
14269         * kbmap.C (bind): modify because return conventions of
14270         kb_sequence::parse have changed.
14271
14272         * kbsequence.C (parse): only ignore spaces and not any stupid
14273         control character. This avoids tests like s[i] <= ' ', which are
14274         guaranteed to fail with 8bit characters and signed chars.
14275         Change return code to string::npos when there have been no error
14276         (0 was a bad idea when error is at first character)
14277
14278 2001-11-14  José Matos  <jamatos@fep.up.pt>
14279
14280         * buffer.h:
14281         * buffer.C (simpleDocBookOnePar): removed unused argument.
14282
14283 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14284
14285         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14286         insets which are part of a word. Paragraph::isLetter takes care of
14287         that now. Use Paragraph::isInset to identify insets.
14288         (selectSelectedWord): do not test for hyphenation break.
14289
14290         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14291         that protected spaces are considered as spaces.
14292
14293         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14294         Inset::isLetter.
14295
14296 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14297
14298         * lyxserver.h:
14299         * lyxserver.C: fix it. and small cleanup.
14300
14301 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14302
14303         * BufferView_pimpl.C: use inline helpers
14304
14305         * LaTeXFeatures.h:
14306         * LaTeXFeatures.C: fix typos
14307
14308         * Spacing.h:
14309         * Spacing.C: move spacing_string into class
14310
14311         * ToolbarDefaults.C: move stuff into namespace anon
14312
14313         * layout.h: update enum
14314
14315         * lyxfunc.C: use better debug
14316
14317         * minibuffer.h: fix typo
14318
14319         * debug.h:
14320         * debug.C:
14321         * WorkArea.C: add and use Debug::WORKAREA
14322
14323         * lyxtext.h:
14324         * text.C:
14325         * text2.C: code re-organisation, inline helpers
14326
14327 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14328
14329         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14330         std::vector.empty().
14331
14332 2001-11-09  Allan Rae  <rae@lyx.org>
14333
14334         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14335         '\n's after tables.  Tabular and ERT inset work now makes this no
14336         longer necessary.
14337
14338 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14339
14340         * minibuffer.h:
14341         * minibuffer.C: fix crash, improve drop-down completion
14342
14343 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14344
14345         * lyxserver.h:
14346         * lyxserver.C: invalidate fd's when doing endPipe()
14347
14348 2001-11-08  José Matos  <jamatos@fep.up.pt>
14349
14350         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14351         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14352
14353         * paragraph.h:
14354         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14355
14356 2001-11-07  José Matos  <jamatos@fep.up.pt>
14357
14358         * buffer.h:
14359         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14360         const qualifier.
14361
14362         * buffer.C (sgmlOpenTag):
14363         * buffer.C (sgmlCloseTag): removed debug info.
14364
14365         * buffer.h (sgmlOpenTag):
14366         * buffer.h (sgmlCloseTag): made public.
14367
14368 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14369
14370         * buffer.C (saveParamsAsDefaults):
14371         * lyx_cb.C (MenuLayoutSave): remove
14372
14373         * LyXAction.C (init):
14374         * commandtags.h:
14375         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14376
14377 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14378
14379         * buffer.C (setPaperStuff): removed from here...
14380
14381         * bufferparams.C (setPaperStuff): ... and moved there.
14382
14383 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14384
14385         * minibuffer.h:
14386         * minibuffer.C:
14387         * XFormsView.C: add support for drop-down completion
14388
14389 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14390
14391         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14392         commands.
14393
14394 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14395
14396         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14397         disabled.
14398
14399 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14400
14401         * lyx_main.C: change ref to known bugs
14402
14403 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14404
14405         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14406         to work around older babel problems.
14407
14408 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14409
14410         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14411
14412 2001-10-24  Juergen Vigna  <jug@sad.it>
14413
14414         * tabular-old.C (ReadOld): below variable changes reflected.
14415
14416         * tabular.[Ch]: added ltType struct for longtable header/footer
14417         defines and changed all instances where they are used. Added
14418         future support for double top/bottom rows.
14419
14420 2001-10-24  José Matos  <jamatos@fep.up.pt>
14421
14422         * buffer.h (docbookHandleCaption):
14423         * buffer.C (docbookHandleCaption): removed unused function.
14424         (makeDocBookFile): moved docbook supported version to v4.1.
14425
14426 2001-10-24  José Matos  <jamatos@fep.up.pt>
14427
14428         * tabular.h:
14429         * tabular.C (docbookRow): new function to export docbook code of a row.
14430         (DocBook): now honors the longtable flags.
14431
14432 2001-10-23  José Matos  <jamatos@fep.up.pt>
14433
14434         * LaTeXFeatures.h:
14435         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14436         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14437
14438         * buffer.C (makeLinuxDocFile):
14439         (makeDocBookFile): reworked the preamble, more clean, and with
14440         support for lyx defined entities. Changed the document declaration
14441         to be more XML friendly.
14442
14443         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14444         if we need to output XML that should be done with a filter.
14445
14446 2001-10-22  Juergen Vigna  <jug@sad.it>
14447
14448         * sp_pspell.h (class PSpell): add alive function needed in the
14449         controller to see if the spellchecker could be started.
14450
14451 2001-10-22  Juergen Vigna  <jug@sad.it>
14452
14453         * buffer.C (insertStringAsLines): modify the font for inserting
14454         chars in certain conditions by calling checkInsertChar(font).
14455
14456 2001-10-19  Juergen Vigna  <jug@sad.it>
14457
14458         * text.C (workWidth): use getRow instead of wrong algorithm.
14459         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14460
14461 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14462
14463         * lyxserver.h:
14464         * lyxserver.C:
14465         * lyx_main.h:
14466         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14467
14468 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14469
14470         * text.C (workWidth): do not search for the exact row when
14471         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14472         optimization for big documents.
14473
14474 2001-10-18  Juergen Vigna  <jug@sad.it>
14475
14476         * text.C (workWidth): new function with added Inset * parameter.
14477
14478 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14479
14480         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14481
14482         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14483         change return type of getColumnNearX.
14484
14485
14486         * text.C (changeRegionCase): use uppercase/lowercase instead of
14487         toupper/tolower.
14488         (leftMargin):
14489         (rightMargin): simplify code by factoring out the uses of
14490         textclasslist.
14491         (labelFill):
14492         (numberOfHfills):
14493         (setHeightOfRow):
14494         (appendParagraph): use Paragraph::size_type
14495
14496 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14497
14498         * vspace.C (asLatexString): add a missing break
14499
14500 2001-10-15  Herbert Voss  <voss@perce.de>
14501
14502         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14503
14504 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14505
14506         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14507         is not available.
14508
14509 2001-10-10  André Pönitz <poenitz@gmx.net>
14510
14511         * lyxfunc.C: removed greek_kb_flag.
14512
14513 2001-10-10  Herbert Voss  <voss@perce.de>
14514
14515         * lyx_main.C: delete global string help_lyxdir.
14516
14517 2001-10-09  Herbert Voss  <voss@perce.de>
14518
14519         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14520
14521         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14522
14523         * lyx_main.C: added global string help_lyxdir.
14524
14525         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14526
14527 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14528
14529         * lyxrc.C (set_font_norm_type): support iso8859-4
14530
14531 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14532
14533         * LaTeX.C (deplog): add another regex for MikTeX
14534
14535 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14536
14537         * lyxrc.C (set_font_norm_type): support iso8859-3
14538
14539 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14540
14541         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14542
14543         * LaTeXFeatures.C: remove special case of french and index
14544
14545         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14546         before \begin{document}). This solves several incompatibilities.
14547
14548 2001-10-03  Garst Reese  <reese@isn.net>
14549
14550         * lyx_cb.C: change CheckTex error msg.
14551
14552 2001-10-03  José Matos  <jamatos@fep.up.pt>
14553
14554         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14555
14556 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14557
14558         * .cvsignore: update
14559
14560         * lyx_main.C (commandLineVersionInfo): use new style version info.
14561
14562         * buffer.C (writeFile):
14563         (makeLaTeXFile):
14564         (makeLinuxDocFile):
14565         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14566
14567         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14568
14569         * version.h: update to use stuff in version.C
14570
14571         * version.C.in: new file. Contains version information determined
14572         at compile time. This is a merging of version.h and
14573         version_info.h.in.
14574
14575 2001-10-03  Juergen Vigna  <jug@sad.it>
14576
14577         * BufferView_pimpl.C (update): don't change "dirty" status in
14578         updateInset call.
14579
14580 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14581
14582         * WorkArea.C (c-tor): re-position version string slightly.
14583
14584 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14585
14586         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14587         revert to previous code.
14588
14589         WorkArea.[Ch]: (show, destroySplash): methods removed.
14590
14591         WorkArea.C: rework code so that it's an amalgam of the codes before and
14592         after the splash screen was moved to WorkArea.
14593
14594 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14595
14596         * lyxrc.C (read):
14597         * vspace.C (inPixels):
14598         (lyx_advance):
14599         * kbmap.C (bind):
14600         * buffer.C (insertStringAsLines):
14601         (asciiParagraph): fix types to be large enough
14602
14603         * lyxlex_pimpl.h: change member status from short to int
14604
14605         * layout.h: fix type of endlabeltype
14606
14607         * kbmap.C (bind):
14608         * kbsequence.C (parse): change return type to string::size_type
14609
14610         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14611         variable
14612
14613         * Bullet.C (bulletSize):
14614         (bulletEntry): do not use short ints as parameters
14615
14616         * BufferView2.C (insertLyXFile): change a char to an int.
14617
14618         * WorkArea.C (WorkArea): remove unneeded floats in computation
14619
14620 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14621
14622         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14623
14624         * paragraph.C (asString): Do not ignore newline/hfill chars when
14625         copying to the clipboard.
14626
14627 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14628
14629         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14630         after a multi-line inset.
14631
14632 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14633
14634         * paragraph.C (validate): Set NeedLyXFootnoteCode
14635
14636 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14637
14638         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14639         and decrease-error to decrease.
14640
14641 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14642
14643         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14644         it more readable (should be equivalent)
14645
14646 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14647
14648         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14649
14650 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14651
14652         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14653         of a cursor (row, etc.) after a character has been deleted
14654         (deleteEmptyParagraphMechanism): call the method above on _all_
14655         cursors held by the LyXText when a double space has been
14656         detected/deleted.
14657
14658 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14659
14660         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14661         pixmap.
14662         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14663
14664         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14665         background. Use greyOut() and the new show() methods to toggle between
14666         the foreground and background. Add code to remove the splash after
14667         its initial showing.
14668
14669         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14670         (create_forms): no longer call Dialogs::showSplash.
14671
14672 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14673
14674         * .cvsignore: add version_info.h
14675
14676 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14677
14678         * version_info.h.in: new file
14679
14680         * Makefile.am: add version_info.h.in
14681
14682         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14683         version_info.h instead of VERSION_INFO
14684
14685 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14686
14687         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14688         The ERT inset now returns string().
14689
14690 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14691
14692         * lyxtext.h, text.C (selectNextWord): renamed as
14693         selectNextWordToSpellcheck.
14694
14695         * text.C (selectNextWordToSpellcheck): Modified to not select
14696         words inside an ERT inset.
14697
14698 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14699
14700         * lyx_cb.C (MenuLayoutSave): change a bit the question
14701
14702         * sp_base.h: include <sys/types.h>
14703
14704 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14705
14706         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14707
14708 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14709
14710         * several files: fix typos in user-visible strings
14711
14712 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14713
14714         * text2.C (pasteSelection): do not set the selection, since it
14715         will be cleared later. Actually, the intent was to fix the way the
14716         selection was set, but I figured rmoving the code was just as good.
14717
14718 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14719
14720         * FontLoader.C (available): Check if font is available without
14721         loading the font.
14722
14723 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14724
14725         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14726
14727 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14728
14729         * lyxrc.[Ch]: added display_graphics variable and associated code.
14730
14731 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14732
14733         * bufferparams.C (hasClassDefaults): new method. Returns true if
14734         the buffer parameters correspond to known class defaults
14735
14736 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14737
14738         * XFormsView.C (show): set minimum size to the main window.
14739
14740 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14741
14742         * text2.C (copySelection):
14743         (cutSelection):
14744         * lyxfind.C (LyXReplace):
14745         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14746         LyXText::selectionAsString.
14747
14748         * paragraph.C (asString): add "label" argument to the second form
14749
14750         * text2.C (selectionAsString): add "label" argument and pass it to
14751         Paragraph::asString.
14752
14753 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14754
14755         * lyx_main.C (commandLineHelp): remove version information
14756
14757 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14758
14759         * lyx_main.C: add -version commandline option
14760
14761 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14762
14763         * paragraph.h: make the optional constructor arg required instead.
14764         some modifications to other files because of this.
14765
14766         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14767
14768         * lyxserver.C (C_LyXComm_callback): make it static
14769
14770         * lyx_main.C (error_handler): make it static
14771
14772         * lyx_gui.C (LyX_XErrHandler): make it static
14773
14774         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14775
14776         * WorkArea.C: make the extern "C" methods static.
14777
14778         * Makefile.am (lyx_LDADD): simplify
14779
14780 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14781
14782         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14783         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14784
14785         * LyXAction.C (init):
14786         * lyxfunc.C (dispatch): associated code removal.
14787
14788 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14789
14790         * lyxfont.h (isSymbolFont): shut off warning
14791
14792         * text.C (setHeightOfRow):
14793         (getVisibleRow): fix crash with empty paragraphs which have a
14794         bottom line
14795
14796 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14797
14798         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14799         code.
14800
14801 2001-09-04  José Matos  <jamatos@fep.up.pt>
14802         * buffer.C
14803         * buffer.h
14804         * tabular.C (docbook): rename docBook method to docbook.
14805
14806 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14807
14808         * Makefile.am: add dependencies to main.o.
14809
14810 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14811
14812         * FontLoader.C (available): Return false if !lyxrc.use_gui
14813
14814 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14815
14816         * FontInfo.C (query):
14817         * converter.C (view):
14818         * importer.C (Import):
14819         * exporter.C (Export): Can not -> cannot.
14820
14821 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14822
14823         * BufferView_pimpl.C: allow to create index inset even if
14824           string is empty
14825
14826 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14827
14828         * buffer.C (getLists): replace boost::tie code with an explicit pair
14829         as boost::tie can break some compilers.
14830
14831         * iterators.h: Added a std:: declaration to the return type of
14832         ParIterator::size.
14833
14834 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14835
14836         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14837           case.
14838
14839 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14840
14841         * iterators.[Ch]: New files. Provide paragraph iterators.
14842
14843         * buffer.C (changeLanguage): Use paragraph iterators.
14844         (isMultiLingual): ditto
14845
14846         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14847
14848 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14849
14850         * FontLoader.C: Support for cmr font.
14851
14852 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14853
14854         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14855         (available): New method.
14856
14857         * FontInfo.C (getFontname): Use scalable fonts even when
14858         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14859         found.
14860
14861 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14862
14863         * converter.C (Formats::view): reverted! Incorrect fix.
14864
14865 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14866
14867         * converter.C (Formats::view): only output the -paper option
14868         if the dvi viewer is xdvi, thereby fixing bug #233429.
14869
14870 2001-08-23  Herbert Voss  <voss@perce>
14871
14872         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14873
14874 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14875
14876         * Spacing.h (Spacing): Set space to Default on in the default
14877         constructor.
14878
14879 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14880
14881         * vc-backend.h (RCS::versionString): add RCS to version
14882         (CVS::versionString): add CVS to version
14883
14884         * vc-backend.C (scanMaster): do not add CVS to version.
14885         (scanMaster): do not add RCS to version
14886
14887         * lyxvc.C (versionString): new method
14888
14889         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14890
14891 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14892
14893         * Spacing.C (set): initialize fval
14894
14895 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14896
14897         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14898         " or \.
14899
14900 2001-08-16  Juergen Vigna  <jug@sad.it>
14901
14902         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14903
14904 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14905
14906         * BufferView_pimpl.C:
14907         * figureForm.C:
14908         * lyxtext.h:
14909         * text2.C: setParagraph takes linespacing now
14910
14911 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14912
14913         * LyxAction.C: add internal LFUN_CITATION_INSERT
14914
14915         * LyXView.C: actually apply fix
14916
14917         * bufferlist.C: fix open non-existent file
14918
14919         * lyxfind.C: fix indentation
14920
14921         * lyxfunc.C: remove unneeded assert, fix typo
14922
14923 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14924
14925         * MenuBackend.C: use "Floatname List"
14926
14927 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14928
14929         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14930         when converting LaTeX layout to insetERT.
14931         Generate a non-collapsed float when reading old float
14932
14933 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14934
14935         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14936         ERT insets.
14937
14938 2001-08-13  Juergen Vigna  <jug@sad.it>
14939
14940         * text.C (fill): return 0 instead of 20 as this seems to be the more
14941         correct value.
14942
14943 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14944
14945         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14946         lyxrc.font_norm.
14947
14948 2001-08-13  Juergen Vigna  <jug@sad.it>
14949
14950         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14951         casesensitive off.
14952         (SearchBackward): comment out the unlocking of the inset_owner this
14953         should not be needed!
14954
14955 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14956
14957         * Many files: Remove inherit_language, and add latex_language
14958
14959         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14960         collapsible insets.
14961
14962 2001-08-10  Juergen Vigna  <jug@sad.it>
14963
14964         * text.C (prepareToPrint): fixed hfill-width in draw!
14965
14966         * BufferView2.C (selectLastWord): save the selection cursor as this
14967         now is cleared in the function LyXText::clearSelection!
14968
14969 2001-08-08  Juergen Vigna  <jug@sad.it>
14970
14971         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14972         BACKSPACE type functions.
14973
14974         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14975         is only cutted from the document but not put in the cut-buffer, where
14976         still the old stuff should be.
14977
14978         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14979
14980         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14981
14982         * tabular.C (SetWidthOfCell): fixed special case where the width
14983         was not updated!
14984         (LeftLine): handle '|' in align_special.
14985         (RightLine): ditto
14986         (LeftAlreadyDrawed): ditto
14987         (SetWidthOfCell): ditto
14988
14989 2001-08-07  Juergen Vigna  <jug@sad.it>
14990
14991         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14992
14993 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14994
14995         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14996         * lyxlex.[hC]: ditto
14997
14998 2001-08-06  Juergen Vigna  <jug@sad.it>
14999
15000         * text.C (getVisibleRow): fix up row clearing a bit.
15001
15002 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15003
15004         * minibuffer.C: make sure the X server sees the changes in the input.
15005
15006 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15007
15008         * paragraph.C (getFont): split into...
15009         (getLabelFont): this
15010         (getLayoutFont): and this
15011         * paragraph_pimpl.C (realizeFont): calling this
15012
15013         * text2.C (getFont): split into...
15014         (getLayoutFont): this
15015         (getLabelFont): and this
15016         (realizeFont): all three calling this
15017
15018         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15019         files where used.
15020
15021 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15022
15023         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15024
15025 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15026
15027         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15028         layouts from the Quote inset insertion.
15029
15030 2001-08-03  Juergen Vigna  <jug@sad.it>
15031
15032         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15033
15034         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15035         only if status not is already CHANGED_IN_DRAW (second level).
15036
15037         * text.C (draw): don't set the need_break_row when inside an
15038         InsetText LyXText.
15039
15040 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15041
15042         * buffer.C (parseSingleLyXformat2Token): handle more latex
15043         conversion cases.
15044
15045         * bufferview_funcs.[hC]: change function names to
15046         begin with small char, adjust other files.
15047
15048 2001-08-02  André Pönitz <poenitz@gmx.net>
15049
15050         * lyxfunc.C:
15051         BufferView_pimpl.C: remove broken special code for math-greek
15052
15053 2001-08-02  Juergen Vigna  <jug@sad.it>
15054
15055         * BufferView_pimpl.C (update): redone this function so that we
15056         update the text again if there was a CHANGE_IN_DRAW.
15057
15058         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15059         (drawFromTo): added a new internal bool which is used by draw() and
15060         redraw() function.
15061         (general): some cursor drawing problems fixed.
15062
15063 2001-08-01  Juergen Vigna  <jug@sad.it>
15064
15065         * lyxfind.C (LyXFind): fixed
15066         (SearchForward): ditto
15067         (SearchBackward): ditto
15068
15069         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15070         spurius drawing of the cursor in the main area.
15071
15072         * text2.C (status): small fix which could lead to a segfault!
15073         (clearSelection): remove unneeded BufferView param.
15074
15075 2001-08-01  André Pönitz <poenitz@gmx.net>
15076
15077         * lyxfunc.C: small change due to changed mathed interface
15078
15079 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15080
15081         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15082
15083 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15084
15085         * lyxfunc.c: fail gracefully if file doesn't exist
15086
15087         * LyXSendto.C:
15088         * buffer.C:
15089         * lyxfunc.C:
15090         * BufferView_pimpl.C: IsDirWriteable() proto changed
15091
15092         * LyXView.C: fix updateWindowTitle() to store the last title
15093
15094 2001-07-31  Juergen Vigna  <jug@sad.it>
15095
15096         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15097         the font (wrong since using of Paragraph::highestFontInRange).
15098
15099         * paragraph.C (highestFontInRange): added a default_size parameter.
15100
15101         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15102         (setHeightOfRow): reformat
15103
15104 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15105
15106         * converter.[hC] + affected files: move to (inital-char)lowercase
15107         function names.
15108
15109         * ParagraphParameters.C (ParagraphParameters): remove commented code
15110
15111         * PainterBase.[Ch]: remove commented code
15112
15113         * LaTeXFeatures.h: add "bool floats" for float.sty
15114
15115         * LaTeXFeatures.C (LaTeXFeatures): init floats
15116         (require): handle float
15117         (getPackages): do it with floats
15118
15119 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15120
15121         * BufferView_pimpl.C (Dispatch): improve handling of
15122         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15123
15124         * commandtags.h: #include lyxfont.h here temporarily to avoid
15125         keybinding bug.
15126
15127         * bufferlist.h: include LString.h here.
15128
15129 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15130
15131         * text2.C (getStringToIndex): new method.
15132
15133 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15134
15135         * *: Reduced header file dependencies all over.
15136
15137 2001-07-30  Baruch Even  <baruch@lyx.org>
15138
15139         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15140
15141 2001-07-29  Baruch Even  <baruch@lyx.org>
15142
15143         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15144
15145 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15146
15147         * ParameterStruct.h (endif): add a default constructor to make
15148         sure that all variables is initialized.
15149
15150         * ParagraphParameters.C (ParagraphParameters): adjust
15151
15152 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15153
15154         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15155         index; also, check that there is something to index, and that it
15156         does not span over several paragraphs.
15157         (doubleClick): use WHOLE_WORD_STRICT for double click.
15158
15159         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15160
15161         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15162         scheme.
15163
15164 2001-07-26  Baruch Even  <baruch@lyx.org>
15165
15166         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15167         an InsetFig figure, backwards compatible reading of old figure code.
15168
15169 2001-07-27  Juergen Vigna  <jug@sad.it>
15170
15171         * text2.C: font.realize function adaption.
15172
15173         * text.C (draw): add a warnings lyxerr text if needed.
15174
15175         * layout.C: font.realize function adaption.
15176
15177         * language.C: add inherit_language and implement it's handlings
15178
15179         * bufferview_funcs.C (StyleReset): remove language parameter from
15180         font creation (should be language_inherit now).
15181
15182         * bufferparams.C (writeFile): handle ignore_language.
15183
15184         * paragraph.C (getFontSettings): the language has to be resolved
15185         otherwise we have problems in LyXFont!
15186
15187         * lyxfont.C (lyxWriteChanges): added document_language parameter
15188         (update): removed unneeded language parameter
15189
15190         * paragraph.C (validate): fixed wrong output of color-package when
15191         using interface colors for certain fonts in certain environments,
15192         which should not seen as that on the final output.
15193
15194 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15195
15196         * BufferView_pimpl.C:
15197         * Thesaurus.h:
15198         * Thesaurus.C:
15199         * Makefile.am:
15200         * commandtags.h:
15201         * LyXAction.C: add thesaurus support
15202
15203         * lyxfind.h:
15204         * lyxfind.C: add "once" parameter, for thesaurus, to not
15205           move to the next match
15206
15207 2001-07-26  Juergen Vigna  <jug@sad.it>
15208
15209         * lyxfont.C (realize): honor ignore_language too!
15210         (resolved): ditto.
15211
15212         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15213
15214         * text.C (draw): one place more for ignore_language to not draw
15215         itself!
15216
15217 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15218
15219         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15220
15221 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15222
15223         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15224         the minipage conversion problem.
15225
15226 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15227
15228         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15229         insert an inset.
15230
15231 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15232
15233         * BufferView.h: don't forward declare WorkArea
15234
15235         * BufferView.C: don't include WorkArea.h
15236
15237 2001-07-25  André Pönitz <poenitz@gmx.net>
15238
15239         * commandtags.h:
15240         * LyXAction.C:
15241         * lyxfunc.C:  new LFUN 'math-space'
15242
15243         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15244
15245 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15246
15247         * text2.C (toggleInset): call open/close
15248
15249 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15250
15251         * lyxfunc.C (dispatch): add debug for the disabled case
15252
15253         * font.C (buttonText): make similar to rectText
15254
15255         * buffer.C (readInset): comment out parsing of insetlist and
15256         insttheorem
15257
15258         * PainterBase.C (rectText): small correction
15259
15260         * BufferView_pimpl.C: comment out insettheorem and insetlist
15261         * LyXAction.C: ditto
15262         * commandtags.h: ditto
15263
15264 2001-07-24  Juergen Vigna  <jug@sad.it>
15265
15266         * text.C (draw): honor the ignore_language.
15267
15268         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15269
15270 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15271
15272         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15273         char inset.
15274
15275 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15276
15277         * lyxtext.h: remove unused (and unimplemented) methods
15278
15279 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15280
15281         * text.C (getVisibleRow): honor background color
15282
15283         * PainterBase.h:
15284         * Painter.h: remove default color argument for fillRectangle
15285
15286         * text.C (backgroundColor): new method
15287
15288 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15289
15290         * text.C (getVisibleRow): adjust
15291
15292         * font.[Ch] (rectText): new method, metrics
15293         (buttonText): new method, metrics
15294
15295         * PainterBase.[hC]: make rectText and buttonText always draw and take
15296         fewer paramteres.
15297
15298 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15299
15300         * ToolbarDefaults.C (read):
15301         * MenuBackend.C (read): allow escaping in all strings
15302
15303         * BufferView_pimpl.C (insertAndEditInset): new method.
15304         (Dispatch): use insertAndEditInset whenever appropriate.
15305
15306         * BufferView_pimpl.C (insertNote): removed
15307
15308         * BufferView_pimpl.C (smartQuote): new method, moved from
15309         BufferView; if an insetquote cannot be inserted, insert a '"'
15310         character instead.
15311
15312         * BufferView2.C: remove insertCorrectQuote();
15313
15314         * lyxfunc.C (getStatus): Add support for all remaingin
15315         inset-insert lfuns.
15316
15317         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15318
15319         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15320         command (necessary to pass " as parameter of self-insert.
15321
15322         * text.C (selectWordWhenUnderCursor):
15323         (selectWord): add word_location parameter
15324         (selectWordWhenUnderCursor): same + remove special code for word
15325         boundary.
15326         (selectNextWord): use kind() to guess type of insetspecialchar,
15327         not latex().
15328
15329         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15330         (insertErtContents): create ert insets as collapsed.
15331         (readInset): better compatibility code for Info inset.
15332
15333 2001-07-20  Juergen Vigna  <jug@sad.it>
15334
15335         * lyxfunc.C (dispatch): use always LyXFind now!
15336
15337         * text2.C (init): add a reinit flag so that the LyXText can be
15338         reinited instead of deleted and reallocated (used in InsetText).
15339
15340         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15341
15342         * text.C: ditto
15343
15344         * text2.C: ditto
15345
15346 2001-07-18  Juergen Vigna  <jug@sad.it>
15347
15348         * text.C (selectNextWord): handle insets inside inset by calling
15349         always the bv->text functions so that we can go up the_locking_inset!
15350
15351         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15352         in strange locations when inside an inset!
15353
15354         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15355         handling to include insets.
15356
15357         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15358
15359 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15360
15361         * LyXAction.C (init):
15362         * commandtags.h:
15363         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15364         LIGATURE_BREAK, since the name is so stupid.
15365
15366 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15367
15368         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15369         InsetInfos.
15370
15371         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15372
15373         * sp_form.[Ch]: remove.
15374
15375         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15376
15377         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15378         InsetInfo.
15379
15380         * src/buffer.C (readInset): ditto.
15381
15382 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15383
15384         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15385         menuSeparator(), endOfSentenceDot(), ldots() and
15386         hyphenationPoint(), which are therefore removed.
15387         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15388
15389         * LyXAction.C (init):
15390         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15391
15392         * paragraph.C (getWord): removed.
15393
15394         * BufferView_pimpl.C (Dispatch): use last word or selection for
15395         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15396
15397         * lyx_main.C (queryUserLyXDir): do not ask before creating
15398         user_dir, except if it has been named explicitely.
15399
15400 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15401
15402         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15403         a document of zero size.
15404
15405 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15406
15407         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15408         approriately in the c-tor and in require().
15409         (getPackages): output the appropriate LaTeX for natbib support.
15410
15411         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15412         variables "use_natbib" and "use_numerical_citations" when reading the
15413         LyX file.
15414         (readInset): read the various natbib cite commands.
15415         (validate): white-space change.
15416
15417         * bufferparams.[Ch]: new variables "bool use_natbib" and
15418         "bool use_numerical_citations".
15419         (writeFile): output them in the LyX file.
15420
15421 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15422
15423         * lyxfunc.C (getStatus): add support for all the inset insertion
15424         commands.
15425
15426         * text2.C (insertInset):
15427         * paragraph.C (insetAllowed):
15428         * BufferView_pimpl.C (insertInset): update to take in account the
15429         renaming of insertInsetAllowed
15430
15431         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15432
15433         * text2.C (getInset): new method. returns inset at cursor position.
15434
15435         * BufferView_pimpl.C (Dispatch): changes because of this.
15436
15437         * LyXAction.C (init): rename open-stuff to inset-toggle.
15438
15439         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15440
15441         * text2.C (toggleInset): renamed from openStuff; use
15442         Inset::open().
15443
15444 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15445
15446         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15447
15448         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15449
15450 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15451
15452         * buffer.C (readLyXformat2): Add filename to the error dialog
15453
15454 2001-07-18  Juergen Vigna  <jug@sad.it>
15455
15456         * tabular.C (GetCellNumber): put an assert here instead of the check!
15457
15458 2001-07-17  Juergen Vigna  <jug@sad.it>
15459
15460         * BufferView_pimpl.C (toggleSelection): adapted too.
15461
15462         * text.C (selectNextWord): adapted for use with insets.
15463         (selectSelectedWord): ditto
15464
15465 2001-07-17  Juergen Vigna  <jug@sad.it>
15466
15467         * sp_spell.C (PSpell): fix initialitation order.
15468
15469 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15470
15471         * paragraph.C: spacing
15472
15473 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15474
15475         * sp_spell.C: repair language selection for pspell
15476
15477 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15478
15479         * lyxfunc.h: change more methods to begin with lower char.
15480
15481 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15482
15483         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15484         for unknown layouts.
15485
15486 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15487
15488         * buffer.C (readLyXformat2): Generate an error dialog if there are
15489         unknown layouts.
15490
15491 2001-07-16  Juergen Vigna  <jug@sad.it>
15492
15493         * sp_spell.C: always compile ISpell part.
15494
15495         * lyxrc.C: added use_pspell entry and it's handling.
15496
15497 2001-07-13  Juergen Vigna  <jug@sad.it>
15498
15499         * sp_spell.C: removed double includes.
15500
15501 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15502
15503         Consistent use of Lsstream.h:
15504         * Lsstream.h: added using std::stringstream for consistencies sake.
15505
15506         * buffer.C: removed using std::stringstream
15507
15508         * lyxfont.C (stateText):
15509         * paragraph.C (asString):
15510         * text.C (selectNextWord, selectSelectedWord):
15511         * text2.C (setCounter):
15512         * vspace.C (asString, asLatexString):
15513         std::ostringstream -> ostringstream.
15514
15515 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15516
15517         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15518         * commandtags.h: add LFUN_HELP_ABOUTLYX
15519         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15520
15521 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15522
15523         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15524         cursorToggle()
15525         * lyx_gui_misc.C: remove spellchecker
15526         * lyxfunc.C: showSpellchecker
15527         * sp_base.h: added
15528         * sp_ispell.h: added
15529         * sp_pspell.h: added
15530         * sp_spell.C: added
15531         * sp_form.[Ch]: removed
15532         * spellchecker.[Ch]: removed
15533
15534 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15535
15536         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15537         is set.
15538         (simpleTeXSpecialChars): Simply print the input character without
15539         any special translation if pass_thru is set.
15540
15541         * layout.h: Added bool pass_thru to layout class for being able to
15542         implement pass through of a paragraph for Literate Programming.
15543
15544         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15545         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15546         * layout.C (Read): add "passthru" to list of layout tags and add
15547         code to set the pass_thru boolean when it is read.
15548
15549 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15550
15551         * trans_decl.h: remove allowed from KmodInfo
15552
15553         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15554         remove allowed code
15555         (Load): adjust
15556
15557         * paragraph_pimpl.C (erase): use boost::prior
15558
15559         * Painter.C (text): use data() instead of c_str() when length is
15560         also provided.
15561         * WorkArea.C (putClipboard): ditto
15562         * font.h (width): ditto
15563
15564         * BufferView2.C: use it-> instead of (*it). for iterators
15565         * texrow.C: ditto
15566         * paragraph_pimpl.C: ditto
15567         * paragraph.C: ditto
15568         * minibuffer.C: ditto
15569         * language.C: ditto
15570         * kbmap.C: ditto
15571         * encoding.C: ditto
15572         * counters.C: ditto
15573         * converter.C: ditto
15574         * chset.C: ditto
15575         * Variables.C: ditto
15576         * TextCache.C: ditto
15577         * MenuBackend.C: ditto
15578         * LyXAction.C: ditto
15579         * LColor.C: ditto
15580         * FloatList.C: ditto
15581         * DepTable.C: ditto
15582         * ColorHandler.C (LyXColorHandler): ditto
15583
15584 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15585
15586         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15587
15588         * text2.C (openStuff): reintroduce this method (which had been
15589         nuked in NEW_INSETS frenzy).
15590
15591         * lyxfunc.C (Dispatch): when an action has not been handled, use
15592         its name in the error message, not its number.
15593
15594         * paragraph.C (inInset): change method name to begin with lowercase.
15595
15596         * undo_funcs.C:
15597         * text2.C: updates because of this.
15598
15599 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15600
15601         * ToolbarDefaults.C (add): add spaces in error message
15602
15603 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15604
15605         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15606         (readLyXformat2): rename return_par to first_par, use lyxlex's
15607         pushToken and remove the manual push handling.
15608         (parseSingleLyXformat2Token): add another ert comp. variable:
15609         in_tabular, rename return_par to first_par. handle newlines better
15610
15611 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15612
15613         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15614
15615 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15616
15617         * text2.C (getParFromID): removed
15618
15619         * buffer.C (getParFromID): new method moved form lyxtext.
15620         * BufferView2.C (insertErrors): adjust
15621         (setCursorFromRow): adjust
15622         * BufferView_pimpl.C (restorePosition): adjust
15623         * lyxfunc.C (Dispatch): adjust
15624         * undo_funcs.C (textUndo): adjust
15625         (textRedo): adjust
15626         (textHandleUndo): adjust
15627         (textHandleUndo): adjust
15628
15629 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15630
15631         * buffer.C: up' the LYX_FORMAT
15632
15633         * lyxfont.h: turn NO_LATEX on as default
15634
15635         * buffer.C (insertErtContents): new methods of tex style compability.
15636         (parseSingleLyXformat2Token): use it several places.
15637         * tabular.C (OldFormatRead): and here
15638
15639 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15640
15641         * text2.C: remove some commented code.
15642         reindent file.
15643
15644         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15645         * trans.C: changes because of the above.
15646
15647 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15648
15649         * text2.C (setCounter): Fix counters bug with bibliography layout.
15650
15651 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15652
15653         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15654         own member functions
15655         (simpleTeXSpecialChars): ditto
15656
15657 2001-07-06  Juergen Vigna  <jug@sad.it>
15658
15659         * a lot of files: changed the access to LyXText::status and the
15660         call of undo-functions.
15661
15662         * undo.[Ch]: added a inset_id to the undo informations.
15663
15664         * undo_funcs.[Ch]: added and moved here all undo functions.
15665
15666         * lyxtext.h: give the status enum a weight, made status_ a private
15667         variable and made accessor functions for it, removed the whole bunch
15668         of undo-functions as they are now in their own file, make some
15669         functions publically available. Added function ownerParagraph with
15670         int parameter.
15671
15672         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15673         made InInset() a const function, added getParFromID() function.
15674
15675         * buffer.[Ch]: added const version for inset_iterator functions,
15676         added getInsetFromID() function.
15677
15678         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15679         changed undo functions for new version.
15680
15681 2001-07-05  Juergen Vigna  <jug@sad.it>
15682
15683         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15684         unknow mechanism does not call the proper constructor but only this
15685         one also if I request the other!?
15686
15687 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15688
15689         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15690
15691         * text2.C (LyXText): use initialization lists.
15692
15693         * lyxtext.h (Selection): initialize set_ and mark_
15694         (init): remove method
15695
15696 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15697
15698         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15699
15700 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15701
15702         * screen.[Ch]: change method names to begin with lowercase
15703
15704         * BufferView_pimpl.C (updateScrollbar): simplify further and
15705         hopefully make it a bit faster.
15706
15707 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15708
15709         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15710         calling directly xforms functions.
15711
15712         * Painter.C (Painter):
15713         * lyx_cb.C (MenuWrite):
15714         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15715         fl_display.
15716
15717         * lyx_gui.C: remove bogus guiruntime extern declaration.
15718
15719 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15720
15721         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15722         in NEW_INSETS
15723         (redoDrawingOfParagraph): ditto
15724         (redoParagraphs): ditto
15725         (cutSelection): don't create a object for CutAndPaste use the
15726         static method directly
15727         (pasteSelection): ditto
15728
15729         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15730         LyXview (+ rename)
15731
15732 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15733
15734         * modifications to some other files because of this.
15735
15736         * Makefile.am (lyx_SOURCES): add XFormsView
15737
15738         * XFormsView.[Ch]: new files
15739
15740         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15741         the main window. Move the gui dependent stuff to XFormsView
15742
15743 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15744
15745         * tabular.C (GetCellInset): update cur_cell also in the row/col
15746         version of this function.
15747
15748         * lyxfunc.C: no need to include figure_form.h here.
15749
15750         * FontLoader.h:
15751         * lyxfunc.h:
15752         * lyxscreen.h:
15753         * text2.C:
15754         * lyxvc.C: no need to include forms.h here.
15755
15756 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15757
15758         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15759
15760         * lyxfunc.C (Dispatch):
15761         * Spacing.C (set):
15762         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15763         constructor argument.
15764
15765 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15766
15767         * paragraph.C (Paragraph): dont't clear, and just set layout.
15768         (makeSameLayout): use params's copy contructor.
15769
15770         * ParagraphParameters.[Ch] (makeSame): delete method
15771
15772 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15773
15774         * Variables.[Ch]: fix indentation, rename set to isSet
15775
15776 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15777
15778         * lyxfunc.C (Dispatch): fix typo
15779
15780 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15781
15782         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15783         upper_bound.
15784
15785         * bufferlist.C: include assert.h for emergencyWrite().
15786
15787 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15788
15789         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15790           give up at last (bug #425202) !
15791
15792 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15793
15794         * lyx_gui_misc.C:
15795         * sp_form.h:
15796         * sp_form.C:
15797         * spellchecker.h:
15798         * spellchecker.C: strip spellchecker options and bring up
15799           preferences tab instead
15800
15801 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15802
15803         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15804         the istringstream constructor
15805
15806 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15807
15808         * paragraph.C (getLayout): fix return value
15809
15810         * paragraph.h: do not declare getLayout as inline.
15811
15812         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15813
15814 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15815
15816         * lyxcursor.h (operator<): new func
15817         (operator>): new func
15818         (operator>=): new func
15819         (operator<=): new func
15820
15821         * text.C (changeCase): use selection.start and selection.end
15822         (changeRegionCase): require from to be <= to. Require par to be a
15823         valid paragraph.
15824
15825         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15826
15827 2001-06-27  Juergen Vigna  <jug@sad.it>
15828
15829         * text.C (cursorLeftOneWord): changed to return the cursor and added
15830         overlay with BufferView * parameter which calls this one.
15831         (getWord): added
15832         (selectWord): use new getWord function.
15833         (changeCase): renamed from changeWordCase as and extended to work
15834         also on selections.
15835
15836         * lyxtext.h: added enum word_location
15837
15838         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15839         changeCase as this operates now also on selections.
15840
15841 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15842
15843         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15844
15845         * many files: send debug output to Debug::INFO instead of
15846         Debug::ANY.
15847
15848         * converter.C (View):
15849         (Convert):
15850         (Move): send debug output to Debug::FILES instead of console.
15851
15852 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15853
15854         * lyxfunc.C (getStatus): use func_status
15855
15856         * func_status.h: new header, describing the results of
15857         LyXFunc::getStatus;
15858
15859         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15860         LFUN_MATH_HALIGN.
15861
15862 2001-06-25  The LyX Project  <jug@sad.it>
15863
15864         * buffer.C (sgmlOpenTag):
15865         (sgmlCloseTag):
15866         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15867
15868 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15869
15870         * text2.C: remove some dead code
15871
15872         * tabular.C (GetCellInset): store the last cell checked (gotten)
15873
15874         * tabular.h: add the helper for the speedup
15875
15876         * lyxtext.h: remove some dead code
15877
15878 2001-06-26  The LyX Project  <Asger>
15879
15880         * paragraph.C: Change export to LaTeX of alignment to
15881         \begin{center} and family for better roundtrip work with reLyX.
15882
15883         * Tune the math drawing a bit.
15884
15885 2001-06-25  The LyX Project  <Asger>
15886
15887         * LColor.C (LColor): New color for math background. New color
15888         for buttons.
15889
15890 2001-06-25  The LyX Project  <jug@sad.it>
15891
15892         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15893
15894         * lyxfunc.C (Open):
15895         * bufferlist.C (newFile): do not restrict to files ending with
15896         .lyx
15897
15898         * BufferView_pimpl.C (MenuInsertLyXFile):
15899
15900 2001-06-24  The LyX Project  <jug@sad.it>
15901
15902         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15903         of compare_no_case
15904
15905 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15906
15907         * lyxtext.h: rename most methods to begin with a small char.
15908         Lots of changes because of this.
15909
15910         * paragraph.C (Paragraph): do not call fitToSize
15911         (erase): call Pimpl::erase
15912         (insertChar): call Pimpl::insertChar
15913         (insertInset): call Pipl::insertInset
15914         (breakParagraph): do not call fitToSize
15915         (breakParagraphConservative): do not call fitToSize
15916         (fitToSize): remove method
15917
15918         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15919
15920 2001-06-24  The LyX Project  <Asger>
15921
15922         * Fix Qt compilation^2
15923
15924 2001-06-24  The LyX Project  <jug@sad.it>
15925
15926         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15927         depthHook(getDepth()-1).
15928
15929         * paragraph.h:
15930         * ParagraphParameters.h:
15931         * ParameterStruct.h: change type of depth to unsigned int ==
15932         depth_type. Many adaptations to other files before of that.
15933
15934 2001-06-24  The LyX Project  <Asger>
15935
15936         * Fix Qt compilation.
15937
15938 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15939
15940         * paragraph.h: renamed several methods to begin with small letter.
15941         several changes to many parts of the code because of this.
15942
15943 2001-06-23  The LyX Project  <jug@sad.it>
15944
15945         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15946         rewritten to discard all double spaces when KeepEmpty is off
15947         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15948         to only handle newlines but not fiddle with spaces and friends.
15949
15950         * lyxfunc.C (MenuNew): when doing 'new from template', use
15951         template_path as default directory
15952
15953 2001-06-23  The LyX Project  <Asger>
15954
15955         * Clean-up of header file includes all over
15956         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15957
15958 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15959
15960         * paragraph.h: renamed from lyxparagraph.h
15961
15962 2001-06-23  Asger  <lyx@violet.home.sad.it>
15963
15964         * Buffer.h: Removed Buffer::resize
15965         * BufferList.h: Removed BufferList::resize
15966         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15967         the document lazily when we change the width, or the font settings.
15968
15969 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15970
15971         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15972
15973 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15974
15975         * buffer.h: remove out of date comment
15976
15977 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15978
15979         * lyxscreen.h:
15980         * screen.C: fix "theoretical" GC leak
15981
15982 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15983
15984         * LaTeX.C (scanAuxFile):
15985         (deplog): remove trailing \r when reading stream (useful under
15986         win32)
15987
15988 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15989
15990         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15991         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15992         and BufferView::theLockingInset(Inset*), so should use them and not
15993         access bv_->text->the_locking_inset directly.
15994
15995         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15996
15997 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15998
15999         * Makefile.am:
16000         * tex-defs.h: remove old unused file
16001
16002 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16003
16004         * BufferView_pimpl.C: fix typo, remove minibuffer message
16005           when buffer has loaded
16006
16007 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16008
16009         * lyxfunc.C (Dispatch): use stringstream
16010         (MenuNew): use stringstream
16011         (Open): use stringstream
16012
16013         * importer.C (Import): use stringstream
16014
16015         * bufferview_funcs.C (CurrentState): use stringstream
16016
16017         * LaTeX.C (run): use stringstream
16018
16019         * BufferView_pimpl.C (savePosition): use stringstream
16020         (restorePosition): use stringstream
16021         (MenuInsertLyXFile): use stringstream
16022
16023 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16024
16025         * BufferView.C:
16026         * Bullet.C:
16027         * ColorHandler.C:
16028         * FontInfo.C:
16029         * FontLoader.C:
16030         * LColor.C:
16031         * LaTeXFeatures.C:
16032         * Painter.C:
16033         * gettext.C:
16034         * lyx_gui_misc.C:
16035         * lyxserver.C:
16036         * vspace.C: removed // -*- C++ -*- as first line.
16037
16038         * lyxfind.h:
16039         * version.h: added // -*- C++ -*- as first line.
16040
16041 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16042
16043         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16044
16045         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16046         of string
16047
16048 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16049
16050         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16051         of floats.
16052
16053 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16054
16055         * gettext.C: include LString.h even when --disable-nls is on.
16056
16057 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16058
16059         * converter.h (Get): changed argument type from int to
16060         FormatList::size_type to avoid unnecessary conversion.
16061
16062         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16063         before using it.
16064
16065 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16066
16067         * gettext.h: include LString.h even when --disable-nls is on.
16068
16069 2001-06-07  Juergen Vigna  <jug@sad.it>
16070
16071         * text.C (BreakAgain): subst spaces with tabs.
16072
16073         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16074         (resizeInsetsLyXText): set force on resizeLyXText.
16075
16076 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16077
16078         * gettext.h (gettext_init):
16079         (locale_init): use a real definition instead of a macro
16080
16081 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16082
16083         * Bufferview_pimpl.C:
16084         * LColor.h:
16085         * LColor.C: further lcolor tidies
16086
16087 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16088
16089         * BufferView_pimpl.C (updateScrollbar): simplify.
16090
16091         * BufferView2.C: don't include insets/insetinfo.h, change
16092         prototype for insertInset and call the Pimpl version. let
16093         updateInset call Pimpl version.
16094
16095         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16096         gotoInset to BufferView::Pimpl
16097
16098 2001-06-01  Juergen Vigna  <jug@sad.it>
16099
16100         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16101         inside a LockingInset (is the update needed at all?).
16102
16103 2001-05-31  Juergen Vigna  <jug@sad.it>
16104
16105         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16106         here not the old one otherwise how should we compare it afterwards
16107         if it's the same!
16108
16109 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16110
16111         * lyxfont.C:
16112         * tabular.C:
16113         * tabular-old.C:
16114         * FontInfo.C: bring C functions into global namespace when
16115         necessary
16116
16117 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16118
16119         * LString.h: make sure config.h has been loaded before LString.h.
16120
16121         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16122         (one for each char read by EatLine!).
16123
16124         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16125         variables.
16126
16127 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16128
16129         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16130         to the same as the par we break from
16131
16132 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16133
16134         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16135
16136         * MenuBackend.C (expand): also create menu entries for wide
16137         versions of the floats.
16138
16139         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16140
16141         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16142
16143         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16144         frontends/Makefile.am
16145
16146         * text2.C: adjust
16147         * text.C: adjust
16148
16149
16150         * tabular.C (getTokenValue): add std::
16151
16152         * tabular-old.C (getTokenValue): add std::
16153         (getTokenValue): ditto
16154         (getTokenValue): ditto
16155
16156         * screen.C (ToggleSelection): adjust
16157
16158         * lyxtext.h: put selection cursors inside a Selection struct.
16159
16160         * lyxfunc.C (moveCursorUpdate): adjust
16161
16162         * lyxfont.C (latexWriteStartChanges): add std::
16163
16164         * lyxfind.C: adjust
16165
16166         * font.h: delete with(char const *, LyXFont const &)
16167
16168         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16169
16170         * FontInfo.C (getFontname): add std::
16171
16172         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16173         (workAreaButtonPress): adjust
16174         (tripleClick): adjust
16175         (update): adjust
16176         (moveCursorUpdate): adjust
16177         (Dispatch): adjust
16178
16179         * BufferView2.C (gotoInset): adjust
16180
16181 2001-05-30  Juergen Vigna  <jug@sad.it>
16182
16183         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16184         to check pspell I add this as default as I now have new pspell
16185         libraries and they seem to use this.
16186
16187 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16188
16189         * text2.C (CutSelection): make the cursor valid before the call to
16190         ClearSelection.
16191
16192 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16193
16194         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16195         relied on 0 terminated strings and other horrors. Bug found due to
16196         the new assert in lyxstring!
16197
16198         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16199         KP_ keys.
16200
16201 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16202
16203         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16204         to latinkeys.bind.
16205
16206         * lyxfunc.C (processKeySym): change method of getting to the
16207         self-insert char.
16208
16209         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16210         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16211         * BufferView_pimpl.[Ch]: here as private methods.
16212
16213 2001-05-28  Juergen Vigna  <jug@sad.it>
16214
16215         * text.C (SetHeightOfRow): added the update() call again as it is
16216         needed to initialize inset dimensions!
16217
16218 2001-05-16  Juergen Vigna  <jug@sad.it>
16219
16220         * text2.C (SetCharFont): Add new function with BufferView * and
16221         bool toggleall parameters for setting insets internal fonts.
16222         (SetFont): Freeze the undo as we may change fonts in Insets and
16223         all this change should be inside only one Undo!
16224
16225         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16226         setting font's in insets as for them we have the SetFont function!
16227
16228 2001-05-15  Juergen Vigna  <jug@sad.it>
16229
16230         * text2.C (ClearSelection): to be sure we REALLY don't have any
16231         selection anymore!
16232
16233         * tabular.C (TeXCellPreamble): fixed the left border problem for
16234         multicolumn cells.
16235
16236 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16237
16238         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16239         dependancy file
16240
16241 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16242
16243         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16244         LFUN_BREAKPARAGRAPH.
16245
16246         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16247         help test to "internal only", similar for LFUN_INSERT_URL
16248
16249         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16250         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16251         auto_region_delete and deadkeys.
16252
16253 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16254
16255         * LColor.h:
16256         * LColor.C: remove some dead entries, tidy a little
16257
16258 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16259
16260         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16261         commented code.
16262         (Dispatch): implement LFUN_ESCAPE
16263
16264         * commandtags.h: add LFUN_ESCAPE
16265
16266         * LyXAction.C (init): add entry for LFUN_ESCAPE
16267
16268         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16269         Remove commented code.
16270         (insertNote): moved here
16271         (open_new_inset): moved here
16272
16273         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16274         BufferView_pimpl
16275
16276 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16277
16278         * kbmap.C (findbinding): clean it up and make it work correctly.
16279
16280         * lyx_main.C (init): do not pass argc and argv as parameters
16281
16282 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16283
16284         * buffer.C: fix path for OS/2 & Win32
16285
16286         * lyx_gui.C:
16287         * lyx_main:
16288         * lyx_main.C: Added os:: class.
16289
16290         * os2_defines.h: update
16291
16292 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16293
16294         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16295         better by trying again with reduced state.
16296
16297 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16298
16299         * lyxrc.C (read): print error about invalid key sequence only when
16300         debugging (because not all latinX keysyms are known to some X
16301         servers)
16302
16303         * kbsequence.C (getiso): add a few std:: qualifiers
16304         (getiso): comment out extra return statement.
16305
16306 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16307
16308         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16309         handling.
16310         (Dispatch): enhance the accent inset a bit. (not perfect)
16311
16312 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16313
16314         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16315
16316 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16317
16318         * bufferlist.C (emergencyWrite): fix assert() call
16319
16320 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16321
16322         * text.C (InsertChar): Added trivial patch to only send the "you
16323         can not do multiple spaces this way" message once during a
16324         session.
16325
16326 2001-05-08  Baruch Even  <baruch@lyx.org>
16327
16328         * Makefile.am: Changed order of libraries to get LyX to link properly
16329         with the gnome frontend.
16330
16331 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16332
16333         * LaTeXFeatures.h: add a std:: qualifier
16334
16335 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16336
16337         * paragraph.C (String): use stringstream
16338
16339 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16340
16341         * paragraph.C (writeFile): remove footflag arg
16342
16343         * buffer.C (makeLaTeXFile): use stringstream
16344         (latexParagraphs): remove footnot gurba
16345
16346         * LaTeXFeatures.C (getPackages): use stringstream
16347         (getMacros): likewise
16348         (getTClassPreamble): likewise
16349         (getFloatDefinitions): new method
16350
16351         * paragraph.C (writeFile): reindent
16352         (Erase): reindent
16353
16354         * WorkArea.h: revert the xpos + etc changes.
16355
16356         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16357
16358         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16359
16360         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16361         (pasteSelection): likewise
16362         * text2.C (CreateUndo): likewise
16363
16364 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16365
16366         * minibuffer.C (peek_event): temporarily reduce the functionality
16367         of the minibuffer (to allow args on lfuns)
16368
16369         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16370         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16371
16372         * buffer.C (readInset): add compability reading of old float
16373         lists, add reading of new style float list.
16374         (readInset): avoid reevaluation of inscmd.getCmdName()
16375         (getLists): reindent
16376
16377         * MenuBackend.C (MenuItem): implement parsing of
16378         md_floatlistinsert and md_floatinsert.
16379         (expand::LastFiles): move initalizaton of iterators out of loop,
16380         avoid reevaluation.
16381         (expand::Documents): introduce typdedef vector<string> Strings,
16382         and use it.
16383         (expand::ExportFormats): introduce typedef vector<Format const *>
16384         Formats, and use it.
16385         (expand): implement FloatListInsert and FloatInsert.
16386
16387         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16388         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16389         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16390
16391         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16392         handling.
16393         (Dispatch::LFUN_FLOAT_LIST): implement
16394
16395 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16396
16397         * LaTeX.C (run): Fix problem with --export code.
16398
16399 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16400
16401         * BufferView.[Ch] (workarea): removed.
16402         (getClipboard) new method; wrapper for workarea()->getClipboard()
16403
16404         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16405         bug.
16406
16407         * WorkArea.h (width, height, xpos, ypos): These methods all
16408         returned the dimensions of the work_area sub-area of WorkArea,
16409         resulting in a position error if the WorkArea were resized. Now
16410         return the dimensions of the entire WorkArea.
16411
16412         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16413
16414 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16415
16416         * LaTeX.C (deplog): correct the syntax of regex reg1
16417
16418 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16419
16420         * undo.C: remove !NEW_INSETS cruft
16421
16422 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16423
16424         * text2.C: remove !NEW_INSETS cruft
16425
16426         * text.C: remove !NEW_INSETS cruft
16427
16428         * tabular.C: remove !NEW_INSETS cruft
16429
16430         * spellchecker.C: remove !NEW_INSETS cruft
16431
16432         * lyxtext.h: remove !NEW_INSETS cruft
16433
16434         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16435
16436         * lyxfunc.C: remove !NEW_INSETS cruft
16437
16438         * lyxfind.C: remove !NEW_INSETS cruft
16439
16440         * lyx_cb.C: remove !NEW_INSETS cruft
16441
16442         * figureForm.C: remove  !NEW_INSETS cruft
16443
16444         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16445
16446         * buffer.[Ch]: remove !NEW_INSETS cruft
16447
16448         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16449
16450         * CutAndPaste.C: remove !NEW_INSETS cruft
16451
16452         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16453
16454         * BufferView2.C: remove !NEW_INSETS cruft
16455
16456         * BufferView.h: remove !NEW_INSETS cruft
16457
16458 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16459
16460         * Lsstream.h: include LString.h before the sstream headers to
16461         fix problem with gcc 2.95.3 and lyxstring
16462
16463 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16464
16465         * lyx_main.C: add using directives when needed for C functions
16466         declared in std:: namespace.
16467
16468 2001-04-27  Juergen Vigna  <jug@sad.it>
16469
16470         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16471         (SetHeightOfRow): comment out the update call should not be needed!
16472
16473 2001-04-13  Juergen Vigna  <jug@sad.it>
16474
16475         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16476         (LyXTabular): tried to minimize operator= operations (and realized
16477         hopfully Lars wish).
16478
16479 2001-04-27  Juergen Vigna  <jug@sad.it>
16480
16481         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16482
16483 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16484
16485         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16486
16487         * buffer.C (readInset): hack to make listof algorithm work
16488
16489         * BufferView_pimpl.C: hack to make listof algorithm work
16490
16491 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16492
16493         * LyXAction.C: removed all !NEW_INSETS cruft
16494         (init): moved lfun_item in method
16495
16496         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16497
16498 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16499
16500         * BufferView2.C (theLockingInset): white space.
16501
16502 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16503
16504         * minibuffer.C: include <iostream>
16505
16506         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16507
16508         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16509
16510         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16511
16512         * text.[Ch] (TransposeChars): new method
16513
16514 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16515
16516         * call message directly through LyXView instead of through LyXFunc
16517         * BufferView2.C: adjust
16518         * BufferView_pimpl.C: adjust
16519         * FontLoader.C: adjust
16520         * buffer.C: adjust
16521         * bufferview_funcs.C: adjust
16522         * converter.C: adjust
16523         * figureForm.C: adjust
16524         * importer.C: adjust
16525         * lyx_cb.C: adjust
16526         * lyx_gui_misc.C: adjust
16527         * lyxfunc.C: adjust
16528         * lyxvc.C: adjust
16529         * text2.C: adjust
16530         + more files in subdirs
16531
16532         * lyxparagraph.h (size): move up int file
16533         (GetLayout): ditto
16534
16535         * adjust all uses of Assert to lyx::Assert.
16536
16537         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16538         lyxfunctional in namespace lyx
16539         * layout.C (hasLayout): ditto
16540         (GetLayout): ditto
16541         (GetLayout): ditto
16542         (delete_layout): ditto
16543         (NumberOfClass): ditto
16544         * converter.C (GetFormat): ditto
16545         (GetNumber): ditto
16546         (Add): ditto
16547         (Delete): ditto
16548         (SetViewer): ditto
16549         * bufferlist.C (getFileNames): ditto
16550         (emergencyWriteAll): ditto
16551         (exists): ditto
16552         (getBuffer): ditto
16553         * MenuBackend.C (hasSubmenu): ditto
16554         (hasMenu): ditto
16555         (getMenu): ditto
16556         * BufferView_pimpl.C (getInsetByCode): ditto
16557
16558 2001-04-18  Juergen Vigna  <jug@sad.it>
16559
16560         * vspace.C (asLatexString): fixed the 100% problem.
16561
16562 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16563
16564         * lyxfunc.C (Dispatch):
16565         * minibuffer.C:
16566         * minibuffer.h: add a few std:: qualifiers
16567
16568 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16569
16570         * minibuffer.[Ch]: reimplement so that commands is initiated and
16571         run from lyxfunc, simplified som handling, and made the completion
16572         and history code for complete. wip.
16573
16574         * lyxfunc.C (processKeySym): call message
16575         (miniDispatch): new temporary method
16576         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16577         (LFUN_MESSAGE): implement
16578         (LFUN_MESSAGE_PUSH): implement
16579         (LFUN_MESSAGE_POP): implement
16580         (initMiniBuffer): the initial/defualt minibuffer message.
16581
16582         * lyxfont.[Ch]: inline some more getters
16583
16584         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16585
16586         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16587
16588         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16589         (AutoSave): use LFUN_MESSAGE
16590         (Reconfigure): ditto
16591
16592         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16593
16594         * figureForm.C: use LFUN_MESSAGE
16595
16596         * converter.C (runLaTeX): use LFUN_MESSAGE
16597
16598         * bufferview_funcs.C: use LFUN_MESSAGE
16599         (Melt): ditto
16600         (changeDepth): ditto
16601
16602         * bufferparams.h: use boost::
16603
16604         * bufferlist.h: inherit privately from noncopyable
16605
16606         * bufferlist.C (loadLyXFile): remove some commented code.
16607
16608         * buffer.C (runChktex): use LFUN_MESSAGE
16609
16610         * ShareContainer.h: inherit privately from noncopyable
16611
16612         * ParagraphParameters.[hC] (depth): inline it.
16613
16614         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16615         methods.
16616         (message): new method
16617         (messagePush): ditto
16618         (messagePop): ditto
16619         (show): init minibuffer
16620         (showState): direct call
16621
16622         * LaTeX.[Ch]: inherit privately from noncopyable
16623         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16624         instead of WriteStatus.
16625
16626         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16627
16628         * BufferView_pimpl.C (buffer): don't init minibuffer
16629         (workAreaButtonPress): use LFUN_MESSAGE
16630         (workAreaButtonRelease): ditto
16631         (savePosition): ditto
16632         (restorePosition): ditto
16633         (MenuInsertLyXFile): ditto
16634         (workAreaExpose): don't init minibuffer
16635         (update): remove commented code, simplify
16636
16637         * BufferView2.C (openStuff): use LFUN_MESSAGE
16638         (toggleFloat): ditto
16639         (menuUndo): ditto
16640         (menuRedo): ditto
16641         (copyEnvironment): ditto
16642         (pasteEnvironment): ditto
16643         (copy): ditto
16644         (cut): ditto
16645         (paste): ditto
16646         (gotoInset): ditto
16647         (updateInset): remove some commented code
16648
16649         * lastfiles.h: inherit privately from noncopyable
16650         * layout.h: ditto
16651         * lyx_gui.h: ditto
16652         * lyx_main.h: ditto
16653         * lyxlex.h: ditto
16654         * lyxlex_pimpl.h: ditto
16655
16656         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16657         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16658         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16659
16660         * LyXAction.h: inherit privately from noncopyable, add methods
16661         func_begin, func_end, returning iterators to the func map.
16662
16663         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16664         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16665         (func_begin): new method
16666         (func_end): new method
16667
16668         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16669         and not)
16670         (copySelection): ditto
16671         (pasteSelection): ditto
16672
16673         * BufferView.C: whitespace change
16674         * BufferView.h: inherit privately from noncopyable
16675
16676 2001-04-16  Allan Rae  <rae@lyx.org>
16677
16678         * tabular-old.C (l_getline):
16679         * spellchecker.C (sc_check_word):
16680         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16681         an unrecognised preprocessor directive.  So ensure they're wrapped.
16682
16683 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16684
16685         * src/exporter.C (Export): Give an error message when path to file
16686         contains spaces.
16687
16688 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16689
16690         * LaTeX.C (deplog): Always check that foundfile exists.
16691
16692 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16693
16694         * lyx_main.h:
16695         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16696
16697 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16698
16699         * tabular.[Ch] (getLabelList): implement new method
16700
16701         * minibuffer.h: comment ouf setTiimer
16702
16703         * minibuffer.C (ExecutingCB): constify res
16704         (peek_event): constify s
16705         (Set): constify ntext
16706         (Init): constify nicename
16707
16708         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16709
16710         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16711         (savePosition): use two params to Minibuffer::Set
16712         (restorePosition): ditto
16713
16714 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16715
16716         * lyx_main.C: include language.h
16717
16718         * Makefile.am (lyx_main.o): add language.h
16719
16720 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16721
16722         * exporter.C:
16723         * paragraph.C:
16724         * screen.C:
16725         * tabular.C:
16726         * CutAndPaste.C: include gettext.h
16727
16728         * lyxfont.h: remove old hack with ON and OFF.
16729
16730         * lyxparagraph.h:
16731         * lyxfont.h: do not include language.h...
16732
16733         * BufferView2.C:
16734         * LaTeXFeatures.C:
16735         * Painter.C:
16736         * bufferview_funcs.C:
16737         * font.C:
16738         * lyxfont.C:
16739         * text.C:
16740         * text2.C:
16741         * trans_mgr.C:
16742         * paragraph.C: ... but do it here instead
16743
16744 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16745
16746         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16747
16748         * tabular.C: small reformat
16749
16750         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16751         NEW_INSETS version
16752         (GetChar): ditto
16753         (BreakParagraph): ditto
16754         (SetOnlyLayout): ditto
16755         (SetLayout): ditto
16756
16757         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16758         with one arg less.
16759
16760         * lastfiles.C: removed most using decl, add std:: where needed
16761
16762         * buffer.C: ws changes
16763
16764         * MenuBackend.C (class compare_format): put into anon namespace
16765         (expand): constify label, names, action, action2
16766         (expand):
16767
16768         * text.C (SingleWidth): constify font
16769         (IsBoundary): constify rtl2
16770         (GetVisibleRow): constify ww
16771
16772         * LaTeX.C (deplog): constify logfile
16773
16774         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16775         start_x, end_x
16776         (workAreaExpose): constify widthChange, heightChange
16777
16778         * lyxrow.C (par): moved
16779         (height): moved
16780         (next): moved
16781         * lyxrow.h: as inlines here
16782
16783         * lyxfont.h (shape): moved from lyxfont.C
16784         (emph): moved from lyxfont.C
16785
16786         * lyxfont.C (LyXFont): use initialization list for all
16787         constructors
16788         (shape): move to lyxfont.h as inline
16789         (emph): move to lyxfont.h as inline
16790
16791
16792 2001-04-04  Juergen Vigna  <jug@sad.it>
16793
16794         * vspace.C: had to include stdio.h for use of sscanf
16795
16796 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16797
16798         * BufferView.h:
16799         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16800         independent of xforms.
16801
16802 2001-04-02  Juergen Vigna  <jug@sad.it>
16803
16804         * spellchecker.C: fixed namespace placing!
16805
16806 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16807
16808         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16809         the LyXParagraph * is 0.
16810
16811 2001-03-29  Juergen Vigna  <jug@sad.it>
16812
16813         * vspace.C: added support for %, c%, p%, l%.
16814         (stringFromUnit): added helper function.
16815         (asLatexString): changed to give right results for the %-values.
16816
16817         * buffer.C: convert the widthp in a width%.
16818
16819 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16820
16821         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16822         figureForm.[Ch].
16823
16824         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16825         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16826
16827         * lyx_cb.[Ch]: see above.
16828
16829         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16830         form1.[Ch].
16831
16832         * form1.[Ch]:
16833         * lyx.[Ch]: replaced by figure_form.[Ch].
16834
16835         * lyx_gui.C:
16836         * lyx_gui_misc.C:
16837         * lyxfunc.C: changed headers associated with above changes.
16838
16839 2001-03-27  Juergen Vigna  <jug@sad.it>
16840
16841         * BufferView_pimpl.C: set the temporary cursor right!
16842
16843 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16844
16845         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16846
16847 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16848
16849         * LString.h: removed "using std::getline"!
16850
16851         * BufferView_pimpl.C (Dispatch): changes due to changes in
16852         InsetInclude::Params.
16853
16854         * buffer.C (tag_name): removed redundant break statements as they were
16855         producing lots of warnings with my compiler.
16856
16857 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16858
16859         * LString.h: add "using std::getline" when using the real <string>.
16860
16861 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16862
16863         * buffer.C: removed bitset usage.
16864         PAR_TAG moved to an anonymous name space.
16865         (tag_name): new funtion, also in the anonymous namespace.
16866         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16867         (makeDocBookFile): clean code. Completed transition from string arrays
16868         to string vectors.
16869         (SimpleDocBookOnePar): code clean.
16870
16871 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16872
16873         * tabular.C: add some comments.
16874
16875 2001-03-22  Juergen Vigna  <jug@sad.it>
16876
16877         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16878         compatibility read a bit and fixed bug with minipage in different
16879         depth.
16880
16881 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16882
16883         * buffer.C (pop_tag): removed.
16884         (push_tag): removed.
16885         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16886         array replaced with vector. Added support for CDATA sections.
16887         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16888         at any nest level.
16889         (makeDocBookFile): XML conformant declaration of CDATA section,
16890         fixed bug related to <emphasis> in the first paragraph char.
16891         (sgmlOpenTag): exclude empty tags.
16892         (sgmlCloseTag): ditto.
16893
16894         * buffer.h (pop_tag): removed.
16895         (push_tag): removed.
16896
16897 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16898
16899         * language.h (Languages): added size_type and size().
16900
16901 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16902
16903         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16904         response on compability reading of minipages. One probliem is that
16905         the old usage of minipages was «flertydig»
16906
16907         * several files here and in subdirs: don't use static at file
16908         scope use anon namespaces instead.
16909
16910 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16911
16912         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16913         LaTeX output. This is necessary for Literate document
16914         processing.
16915
16916 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16917
16918         * buffer.C: insert hfill when needed.
16919
16920         * tabular.C (l_getline): use string::erase, small whitespace change.
16921
16922         * BufferView_pimpl.C: try the anon namespace.
16923         * WorkArea.C: ditto
16924
16925 2001-03-16  Juergen Vigna  <jug@sad.it>
16926
16927         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16928         otherwise it won't open options-dialogs.
16929
16930         * buffer.C: honor pextraWidth(p) on converting minipages.
16931
16932         * tabular.C (l_getline): changed the functions to strip trailing \r.
16933
16934 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16935
16936         * BufferView_pimpl.C:
16937         * minibuffer..C: added "using SigC::slot" declaration.
16938
16939 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16940
16941         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16942
16943         * text2.C: ditto
16944
16945         * text.C: ditto
16946
16947         * paragraph.C: ditto
16948
16949         * lyxtext.h: NO_PEXTRA
16950
16951         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16952
16953         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16954         * ParameterStruct.h: ditto
16955         * ParagraphParameters.h: ditto
16956         * lyxparagraph.h: ditto
16957
16958 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16959
16960         * buffer.C: add compability for minipage alignment.
16961         (latexParagraphs): remove unwanted pextra check.
16962
16963         * several files: remove CXX_WORKING_NAMESPACES
16964
16965         * buffer.C (pop_tag): tie is in namespace boost
16966
16967         * BufferView.h: noncopyable is in namespace boost
16968         * lyxlex.h: ditto
16969         * lyx_main.h: ditto
16970         * lyx_gui.h: ditto
16971         * layout.h: ditto
16972         * lastfiles.h: ditto
16973         * bufferlist.h: ditto
16974         * ShareContainer.h: ditto
16975         * LyXView.h: ditto
16976         * LyXAction.h: ditto
16977         * LaTeX.h: ditto
16978
16979 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16980
16981         * Merging changes from BRANCH_MVC back into HEAD.
16982
16983         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16984
16985 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16986
16987         * BufferView_pimpl.C: change from intl.C
16988
16989         * combox.h:
16990         * combox.C:
16991         * Makefile.am: move combox.*
16992
16993         * form1.h:
16994         * form1.C:
16995         * lyx_gui.C:
16996         * intl.h:
16997         * intl.C: remove dialog (covered by prefs)
16998
16999 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17000
17001         * lyxfunc.C (Dispatch): removed redundant break statement.
17002
17003 2001-03-14  Juergen Vigna  <jug@sad.it>
17004
17005         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17006
17007 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17008
17009         * buffer.C: add hack to fix compability reading of minipages.
17010
17011 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17012
17013         * buffer.C (getLists): Cleanup.
17014
17015 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17016
17017         * lyxfont.C (update): don't honor toggleall on font size.
17018
17019 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17020
17021         * bmtable.c:
17022         * bmtable.h:
17023         * Makefile.am: moved to frontends/xforms/
17024
17025         * lyx_gui_misc.C:
17026         * lyxfunc.C:
17027         * BufferView_pimpl.C: changes for moved mathpanel
17028
17029 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17030
17031         * gettext.h: fix gettext_init() in --disable-nls
17032
17033 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17034
17035         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17036
17037 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17038
17039         * lyx.C:
17040         * lyx.h: strip external form
17041
17042 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17043
17044         * BufferView_pimpl.C: add comment, destroySplash()
17045
17046 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17047
17048         * BufferView_pimpl.C:
17049         * LyXAction.C:
17050         * buffer.C:
17051         * commandtags.h:
17052         * lyxfunc.C: use re-worked insetinclude
17053
17054 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17055
17056         * buffer.C: add using std::stringstream.
17057
17058         * lyx_cb.C: readd using std::ios.
17059
17060         * buffer.C: add using std::map.
17061
17062         * BufferView_pimpl.C: add using std::vector.
17063
17064         * ShareContainer.h: add std:: to swap.
17065
17066         * buffer.h: add some typedefs
17067         * buffer.C (getLists): use them
17068         (getLists): renamed from getTocList.
17069         add a counter for the different float types and use it in the
17070         generated string.
17071         (getLists): use the same counter for the NEW_INSETS and the "non"
17072         NEW_INSETS
17073
17074         * lyx_cb.h: remove unused items, includes, using etc.
17075
17076         * ShareContainer.h: remove some commented code, add more comments
17077         and "documentation".
17078
17079 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17080
17081         * buffer.C (getTocList): make the list also when NEW_INSETS is
17082         defined.
17083
17084         * buffer.h: remove TocType
17085
17086         * buffer.C (getTocList): change to return a map<string,
17087         vector<TocItem> >, implement for dynamic number of list.
17088
17089         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17090         * text2.C (PasteSelection): adjust
17091         * CutAndPaste.C (pasteSelection): adjust
17092
17093         * FloatList.C (FloatList): update from the new_insets branch.
17094         * Floating.[Ch]: ditto
17095         * LaTeXFeatures.C: ditto
17096         * buffer.C: ditto
17097         * lyxlex_pimpl.C: ditto
17098
17099         * paragraph.C (Last): remove when NEW_INSETS is defined.
17100
17101         * other file: changes because of the above.
17102
17103 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17104
17105         * lyxparagraph.h: rename next to next_, previous to previous_,
17106         make them private for NEW_INSETS. Rename Next() to next(),
17107         Previous() to previous().
17108
17109         * other files: changes because of the above.
17110
17111 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17112
17113         * BufferView.h:
17114         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17115         problem.
17116
17117 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17118
17119         * main.C (main): pass lyx_localedir to gettext_init().
17120
17121         * gettext.h: remove locale_init and gettext_init macros
17122
17123         * gettext.C (locale_init): new function
17124         (gettext_init): new function
17125
17126         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17127         setlocale().
17128
17129 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17130
17131         * Moved credits to frontends:
17132         * credits.[Ch]: removed
17133         * credits_form.[Ch]: removed
17134         * lyx_gui_misc.C: remove credits stuff
17135         * Makefile.am:
17136
17137 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17138
17139         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17140
17141         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17142         unneeded destructor.
17143
17144         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17145         a standalone pointer again.
17146
17147         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17148
17149 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17150
17151         * Makefile.am:
17152         * filedlg.h:
17153         * filedlg.C:
17154         * LyXAction.C:
17155         * ToolbarDefaults.C:
17156         * bufferlist.C:
17157         * commandtags.h:
17158         * form1.C:
17159         * form1.h:
17160         * lyx_cb.C:
17161         * lyx_cb.h:
17162         * lyxfunc.h:
17163         * lyxfunc.C:
17164         * BufferView_pimpl.C: use new file dialog in GUII
17165
17166         * lyx_cb.h:
17167         * lyx_cb.C: remove LayoutsCB to Toolbar
17168
17169 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17170
17171         * ShareContainer.h (get): add std:: qualifier
17172
17173 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17174
17175         * ShareContainer.h: define a proper ShareContainer::value_type
17176         type (and use typename to please compaq cxx)
17177
17178 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17179
17180         * lyxparagraph.h: move serveral local vars to
17181         ParameterStruct/ParagraphParameters., use ShareContainer in
17182         FontTable., make vars in FontTable private and add getter and
17183         setter.
17184
17185         * paragraph.C: changes because of the above.
17186
17187         * lyxfont.h: remove copy constructor and copy assignment. (the
17188         default ones is ok), move number inside FontBits. move inlines to
17189         lyxfont.C
17190
17191         * lyxfont.C: add number to initializaton of statics, move several
17192         inlines here. constify several local vars. some whitespace
17193         cleanup. Dont hide outerscope variables.
17194
17195         * Spacing.h: add two new constructors to match the set methods.
17196
17197         * ShareContainer.h: new file, will perhaps be moved to support
17198
17199         * ParameterStruct.h: new file
17200
17201         * ParagraphParameters.h: new file
17202
17203         * ParagraphParameters.C: new file
17204
17205         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17206         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17207
17208         * BufferView_pimpl.C: ParagraphParameter changes.
17209         * buffer.C: Likewise.
17210         * bufferview_funcs.C: Likewise.
17211         * text.C: Likewise.
17212         * text2.C: Likewise.
17213
17214 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17215
17216         * lyxfind.C (LyXReplace): do not redefine default argument in
17217         implementation.
17218         (IsStringInText): ditto
17219         (SearchForward): ditto
17220         (SearchBackward): ditto
17221
17222 2001-03-06  Juergen Vigna  <jug@sad.it>
17223
17224         * lyxfind.C (IsStringInText): put parentes around expressions.
17225
17226 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17227
17228         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17229
17230 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17231
17232         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17233
17234         * stl_string_fwd.h: add comment
17235
17236         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17237
17238         * tabular.h:
17239         * tabular.C: remove unused DocBook methods
17240
17241         * intl.C:
17242         * language.C:
17243         * paragraph.C:
17244         * buffer.C:
17245         killed DO_USE_DEFAULT_LANGUAGE
17246
17247 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17248
17249         * lyx_gui.C: do not include language.h.
17250
17251         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17252         arguments in function implementation.
17253
17254 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17255
17256         * BufferView_pimpl.C: add <ctime>
17257
17258 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17259
17260         * BufferView_pimpl.C: add using std::find_if
17261
17262 2001-02-27  José Matos  <jamatos@fep.up.pt>
17263
17264         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17265         by OnlyPath.
17266
17267 2001-02-11  José Matos  <jamatos@fep.up.pt>
17268
17269         * buffer.C (makeDocBookFile): command styles now have a parameter as
17270         "title" by default.
17271
17272 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17273
17274         * layout_forms.[Ch]: removed
17275         * lyx_cb.[Ch]: out character
17276         * lyx_gui.C: out character
17277         * lyx_gui_misc.C: out character
17278         * bufferview_funcs.C: : out character,
17279         added toggleall as parameter in ToggleAndShow
17280
17281 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17282
17283         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17284
17285         * text2.C (SetCurrentFont): Disable number property at boundary.
17286
17287 2001-02-26  Juergen Vigna  <jug@sad.it>
17288
17289         * lyxfunc.C (getStatus): added a string argument override function so
17290         that this is correctly called from LyXFunc::Dispatch if it contains a
17291         do_not_use_argument which is used!
17292         (Dispatch): added check for "custom" export and call appropriate func.
17293
17294 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17295
17296         * lyxrc.C: Add language_command_local, language_use_babel and
17297         language_global_options.
17298
17299         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17300
17301         * buffer.C (makeLaTeXFile): Use language_use_babel and
17302         language_global_options.
17303
17304 2001-02-23  Juergen Vigna  <jug@sad.it>
17305
17306         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17307         which works with LyXText and putted it inside BufferView. Here now we
17308         only call for that part the BufferView::Dispatch() function.
17309
17310         * BufferView.C (Dispatch): added.
17311
17312         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17313         functions which needs to use a LyXText over from LyXFunc.
17314         (MenuInsertLyXFile): added
17315         (getInsetByCode): added
17316         (moveCursorUpdate): added
17317         (static TEXT): added
17318
17319 2001-02-22  Juergen Vigna  <jug@sad.it>
17320
17321         * BufferView_pimpl.C (update): call a status update to see if LyXText
17322         needs it.
17323
17324 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17325
17326         * vc-backend.C (revert): implement for CVS
17327         (getLog): implement for CVS
17328
17329 2001-02-20  Juergen Vigna  <jug@sad.it>
17330
17331         * text2.C (ClearSelection): added BufferView param for inset_owner call
17332
17333         * lyxfunc.C (TEXT): added this function and use it instead of
17334         directly owner->view()-text of getLyXText().
17335
17336 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17337
17338         * src/layout_forms.C: out preamble
17339         * src/layout_forms.h: out preamble
17340         * src/lyx_cb.C: out preamble
17341         * src/lyx_cb.h: out preamble
17342         * src/lyx_gui.C: out preamble
17343         * src/lyx_gui_misc.C: out preamble
17344         * src/lyxfunc.C: connect with guii preamble
17345
17346 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17347
17348         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17349
17350 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17351
17352         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17353         whether to run bibtex.
17354
17355 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17356
17357         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17358
17359 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17360
17361         * Makefile.am (lyx_SOURCES): removed bibforms.h
17362
17363         * vspace.h: doxygen
17364
17365         * text.C (GetVisibleRow): make several local vars const
17366
17367         * tabular.C: small cleanup.
17368
17369         * lyxserver.C (callback): use compare instead of strncmp
17370
17371         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17372         inlines to after class or to paragraph.C
17373
17374         * lyxfont.h: remove friend operator!=
17375
17376         * converter.h: move friend bool operator< to non friend and after
17377         class def.
17378
17379         * combox.h: small cleanup
17380
17381         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17382         to inlines after class def.
17383
17384         * buffer.C (pop_tag): use string operations instead of strcmp
17385
17386         * bmtable.c: doxygen, small cleanup
17387
17388         * LaTeX.h: remove friend operator==
17389
17390 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17391
17392         * screen.C:
17393         * lyxrc.[Ch]:
17394         * lyxfunc.C:
17395         * lyxfont.[Ch]:
17396         * lyx_cb.C:
17397         * intl.[Ch]:
17398         * commandtags.h:
17399         * buffer.C:
17400         * WorkArea.[Ch]:
17401         * LyXAction.C:
17402         * BufferView_pimpl.C:
17403         * BufferView.[Ch]: remove cruft
17404
17405 2001-02-14  Juergen Vigna  <jug@sad.it>
17406
17407         * lyxfunc.C: removed #if 0 unused code
17408
17409         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17410
17411         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17412
17413         * text2.C (SetSelection): added a BufferView * parameter
17414
17415 2001-02-13  Juergen Vigna  <jug@sad.it>
17416
17417         * lyxfunc.C (Dispatch): fixed protected blank problem.
17418         * BufferView2.C (protectedBlank): added LyxText * parameter.
17419
17420         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17421         (AppendColumn): same as above for column_info.
17422
17423         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17424         (moveCursorUpdate): use a LyXText param for support of InsetText.
17425
17426         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17427         (tripleClick): ditto
17428
17429         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17430
17431         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17432
17433         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17434
17435         * text2.C (SetSelection): set correct update status if inset_owner
17436         (ToggleFree): ditto
17437
17438 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17439
17440         * tabular.C: remove some commented code.
17441
17442 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17443
17444         * BufferView_pimpl.C: call hideSplash()
17445
17446         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17447
17448         * include_form.h:
17449         * bibforms.h: remove
17450
17451         * lyxfunc.C:
17452         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17453           add LFUN_CHILD_CREATE
17454
17455         * counters.h: fix tiny typo
17456
17457         * lyx_cb.C:
17458         * lyx.h:
17459         * lyx_gui.C:
17460         * lyx.C: move splash to frontends/xforms/
17461
17462         * lyx_gui_misc.C: move Include and Bibform to frontends
17463
17464         * lyxvc.h: clarify comment
17465
17466         * vspace.C: tiny housekeeping
17467
17468 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17469
17470         * text.C (PrepareToPrint): RTL Fix.
17471
17472         * paragraph.C (GetUChar): New method.
17473         (String):  Use GetUChar.
17474
17475         * buffer.C (asciiParagraph): Use GetUChar.
17476
17477 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17478
17479         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17480
17481 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17482
17483         * buffer.h:
17484         * buffer.C: rename to getLogName(), handle
17485           build log / latex log nicely
17486
17487 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17488
17489         * MenuBackend.C:
17490         * MenuBackend.h: remove support for reference menuitem type.
17491
17492 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17493
17494         * BufferView_pimpl.C: housekeeping
17495         * BufferView_pimpl.h:
17496         * LyXView.h:
17497         * Makefile.am:
17498         * Timeout.C:
17499         * Timeout.h:
17500         * minibuffer.h: move Timeout GUI-I
17501
17502 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17503
17504         * lyxrc.C (read): Update converters data-structures.
17505
17506 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17507
17508         * LaTeX.h (operator!=): add operator != for Aux_Info
17509
17510 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17511
17512         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17513
17514         * LaTeXLog.C: deleted, useful code moved to Buffer
17515
17516         * buffer.h:
17517         * buffer.C: new function getLatexLogName()
17518
17519         * lyx_gui_misc.C:
17520         * lyx_gui.C:
17521         * lyxvc.C:
17522         * lyxvc.h:
17523         * lyxfunc.C: use frontends for LaTeX and VC logs
17524
17525 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17526
17527         * LaTeX.h: yet another std:: that Allan forgot.
17528
17529         * Variables.C (set): renamed from isset(), because this clashes
17530         with some HP-UX macros (grr).
17531
17532 2001-02-06  Allan Rae  <rae@lyx.org>
17533
17534         * LaTeX.h: Another bug fix.  Missing std:: this time.
17535
17536 2001-02-04  Allan Rae  <rae@lyx.org>
17537
17538         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17539         floats problem. I've left it commented out because it's not quite
17540         correct.  It should also test that the current object is a table or
17541         figure inset.  But I haven't gotten around to figuring out how to do
17542         that.  I *think* it'll be something like: "table" == inset.type()
17543
17544         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17545         bool.
17546
17547 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17548
17549         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17550         all the citation/databases/styles in the auxilary file.
17551         (run): Rerun latex if there was a babel language error.
17552
17553 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17554
17555         * text.C (Backspace): Preserve the font when changing newline char
17556         with a space.
17557         (BreakParagraph): If the cursor is before a space, delete the space.
17558
17559         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17560
17561 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17562
17563         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17564         new argument (code).
17565         (ChangeCitationsIfUnique): New method.
17566
17567         * paragraph.C (GetPositionOfInset): Handle bibkey.
17568
17569 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17570
17571         * BufferView_pimpl.h: change type of Position::par_pos to
17572         LyXParagraph::size_type.
17573
17574 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17575
17576         * BufferView_pimpl.C (savePosition, restorePosition): Write
17577         messages to minibuffer.
17578
17579 2001-01-28  José Matos  <jamatos@fep.up.pt>
17580
17581         * buffer.C (makeDocBookFile): adds support for document language.
17582         A silly restriction on the name of LatexCommand types where removed.
17583         Added support for CDATA sections, allows to chars unescaped, used
17584         among others in code, to avoid escape < and >.
17585
17586 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17587
17588         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17589         saved positions instrad of a stack. Furthermore, a position is
17590         stored using paragraph id/paragraph position.
17591
17592         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17593         Remove LFUN_REF_BACK.
17594
17595 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17596
17597         * converter.C (dvipdfm_options): New method.
17598
17599 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17600
17601         * vspace.C (isValidLength): Fix for empty input string.
17602
17603 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17604
17605         * LyXAction.C (init): change description of LFUN_FIGURE to
17606         "Insert Graphics"
17607
17608 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17609
17610         * LaTeX.C: add using directive
17611
17612 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17613
17614         * MenuBackend.C (expand): Fix the sorting of the formats.
17615
17616 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17617
17618         * lyx_main.C: tiny error message fix
17619
17620 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17621
17622         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17623         calling fl_initialize(). This fixes the problem with ',' as
17624         decimal separator in text files.
17625
17626 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17627
17628         * trans.C (process): Fix the keymap bug.
17629
17630 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17631
17632         * LaTeX.C (scanAuxFiles): New method. Provides support for
17633         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17634         (scanLogFile) Scan for "run BibTeX" messages.
17635
17636         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17637         OT1 font encoding. Also, load the aecompl package if the ae
17638         package is loaded.
17639
17640         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17641
17642 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17643
17644         * texrow.C (increasePos): turn two error messages into debug
17645         messages.
17646
17647 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17648
17649         * LaTeX.C (scanAux): Handle the \@input macro.
17650         (runBibTeX): Use scanAux().
17651
17652         * language.C (latex_options_): New field.
17653
17654         * LaTeXFeatures.C (getMacros): Add language macros.
17655
17656         * buffer.C (makeLaTeXFile): Small fix.
17657
17658 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17659
17660         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17661
17662         * text2.C: add a using directive.
17663
17664 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17665
17666         * BufferView2.C:
17667         * lyx_gui_misc.h:
17668         * lyxfr1.C:
17669         * lyxfunc.C: kill LyXBell.
17670
17671 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17672
17673         * text.C (IsBoundary): Remove the error message
17674
17675         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17676
17677         * lyxrc.C (setDefaults): Correct initialization value for
17678         font_norm_type.
17679
17680 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17681
17682         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17683         gotoError().
17684
17685         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17686         and GotoNextNote().
17687
17688         * src/LyXAction.C: Added reference-next.
17689
17690         * text.C (InsertChar): Use contains instead of strchr.
17691
17692         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17693
17694 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17695
17696         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17697         alignment commands (when needed).
17698
17699         * text.C (InsertChar): Add ':' to number separator chars.