]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
avoid an extra copy in FontIterator::operator*
[lyx.git] / src / ChangeLog
1 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * FontIterator.C (operator*): avoid a copy of the font.
4
5 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
6
7         * rowpainter.C (getFont): fix language bug from previous fix
8
9 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
10
11         * rowpainter.C (RowPainter, getFont): fix font inside inset 
12         (bugs 1766, 1809)
13
14 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
15
16         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
17         preventing inserted font, deco, delim insets jumping to start of
18         surrounding inset.
19
20 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
21
22         * lyxfunc.C (dispatch): translate message before sending it to the
23         minibuffer. 
24
25 2005-03-29  Angus Leeming  <leeming@lyx.org>
26
27         * lyx_main.C (priv_exec): call os::internal_path on each file passed
28         to LyX on the command line.
29
30 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
31
32         * vc-backend.C: use QuoteName to protect file names wherever
33         necessary. 
34
35 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
36
37         * buffer.[Ch]:
38         * BranchList.h: fix bugs 1844,1845: document settings don't
39         stick
40
41 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
42
43         * lyxrc.C (setDefaults, read, output, getDescription): add support
44         for tex_allows_spaces.
45
46         * exporter.C (Export): allows files in directory containing spaces
47         if tex_allows_spaces is true.
48
49         * buffer.C (makeLaTeXFile): if the document path contains spaces,
50         output it in double quotes.
51
52 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
53
54         * rowpainter.C: use default text height for drawing change tracker
55         strikeout lines.
56
57 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
58
59         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
60
61 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
62
63         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
64         directory is missing.
65
66 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
67
68         * text2.C: fixed the fix, extended to other case.
69
70 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
71
72         * text2.C: fix for cursor up/down stuck in math [bug 1792]
73
74 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
75
76         * text2.C (cursorUp): get rid of a crash
77         * text.C (x2pos): add an assert
78
79 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
80
81         * lyxfunc.C (getStatus): fix warning when assertions are disabled
82
83         * text3.C: 
84         * lyxfunc.C: 
85         * dociterator.C: include <boost/current_function.hpp>, which is
86         needed when assertions are disabled.
87
88 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net> 
89
90         * text2.C: fix for stuck cursor when traversing two 
91         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) 
92
93 2005-02-25  Andreas Vox  <avox@arcor.de>
94
95         * output_docbook.C (makeParagraph): suppress trailing newline
96         after a run of paragraphs
97
98 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
99
100         * paragraph.C: fix for confused change tracker when pasting
101         text that begins with a lineseparator. [bug 1827]
102         (setChange(0, Change::INSERTED);)
103
104         * paragraph_funcs.C: fix for lost changes on triple-paste
105         in change tracking mode [bug 1827] (par.setChange()).
106
107 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * text2.C (updateCounters, setCounter, expandLabel): move to
110         buffer_funcs.
111
112         * buffer_funcs.C (updateCounters): turn into a free standing
113         function and add a buffer parameter. Remove dead code for tracking
114         labelstring change.
115         (setCounter): change into a free-standing function which gets a
116         dociterator as argument. Use this iterator to fix captions in a
117         simple way. When no float is found above the caption, use the
118         labelstring of the caption layout as default.
119
120         * text.C (breakParagraph, backspace): 
121         * text2.C (init, setLayout, changeDepth):
122         * text3.C (dispatch): 
123         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
124         updateCounters.
125
126         * dociterator.C (forwardPar): make it much faster by calling
127         forwardPos() only when really necessary.
128
129         * output_docbook.C (makeCommand): adapt to expandLabel move.
130
131         * cursor.C: remove unused variable
132
133 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
134
135         * paragraph_funcs.C: fix crash when pasting insets in change 
136         tracking mode [bug 1277] (honour change type in moveItem).
137
138 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
139
140         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
141
142 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * BufferView.C (setCursor): change to use a DocIterator.
145         (gotoLabel): use BufferView::setCursor (other part of bug 781).
146         (putSelectionAt): adapt to BufferView::setCursor change.
147
148         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
149         moved here from LyXText and rewritten to use proper cursor
150         methods. Fixes bug 1787, 616 and 835.
151
152         * BufferView_pimpl.C (restorePosition): set the cursor correctly
153         when inside an inset (part of bug 781).
154         (dispatch): adapt to change of BufferView::setCursor.
155         (getStatus, dispatch): handle LFUN_GOTOERROR,
156         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
157
158         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
159         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
160         * text3.C (gotoNextInset, gotoInset): removed.
161
162 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
163
164         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
165
166 2005-02-15  Angus Leeming  <leeming@lyx.org>
167
168         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
169         can be used meaningfully in a comparison.
170
171 2005-02-13  André Pönitz  <poenitz@gmx.net>
172
173         * bufferview_funcs.C (coordOffset): improve cursor drawing
174
175 2005-02-13  André Pönitz  <poenitz@gmx.net>
176
177         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
178         * Cursor.C (dispatch): use fixIfBroken
179         * lyxfunc.C (getStatus): use fixIfBroken
180
181 2005-02-15  Angus Leeming  <leeming@lyx.org>
182
183         * lyx_main.C (error_handler):
184         * lyxfunc.C:
185         * lyxrc.C (setDefaults):
186         s/GetEnv/getEnv/.
187         #include "environment.h".
188
189         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
190
191 2005-02-15  Angus Leeming  <leeming@lyx.org>
192
193         * lyxserver.C (startPipe): squash MSVC warning "local variable
194         'fd' used without having been initialized".
195
196 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
197
198         * BufferView_pimpl.C: revert accidental commit.
199
200 2005-02-14  André Pönitz  <poenitz@gmx.net>
201
202         * dociterator.[Ch]: new member forwardPosNoDescent(),
203         which doesn't enter nested insets.
204         * text2.C (setFont): use forwardPosNoDescent() instead
205         of ForwardPos() (fixes crash on font change).
206
207 2005-02-13  Angus Leeming  <leeming@lyx.org>
208
209         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
210         only if lyxrc.path_prefix is not empty.
211
212 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
213
214         * bufferparams.C (readGraphicsDriver): prevent crash
215
216 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
217
218         * text2.C (setCounter): check for inInset() == 0
219
220 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
221
222         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
223         but use update() to get correct screen display; use convert
224         instead of istringstream. 
225         (getStatus): handle LFUN_GOTO_PARAGRAPH 
226
227         * lyxfunc.C (dispatch, getStatus): do not handle
228         LFUN_GOTO_PARAGRAPH here.
229
230 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
231
232         * text3.C (dispatch): size() -> depth()
233
234         * text2.C: remove some debug output
235
236         * paragraph.C: ws changes only
237
238         * lyxfunc.C (getStatus): size() -> depth()
239
240         * dociterator.h (clear, push_back, pop_back, internalData,
241         operator[], resize, empty): new functions
242         Make StableDocIterator and operator== be friends. Don't inherit
243         from std::vector use a privat class variable slices_ instead.
244         Modify to fit.
245
246         * dociterator.C: update because of not inheriting from std::vector
247         anymore. Call explictly to slices_ instead. Use depth() instead of
248         size() and top() instead of back()
249
250         * cursor.C: chagne size() -> depth and back() -> top(). Also
251         remove some direct operator[](i) calls in favour of foo[i]
252         (getFont): remove some dead code
253
254         * bufferview_funcs.C (coordOffset): size() -> depth()
255
256         * buffer.C: ws changes only
257
258         * CutAndPaste.C (eraseSelection): back() -> top()
259
260         * BufferView_pimpl.C (selectionRequested): back() -> top()
261
262         * BufferView.C (setCursor): size() -> depth()
263
264 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
265
266         * text3.C (cursorPrevious): return true if depm changed something
267         (cursorNext): ditto
268         (dispatch): rename sl to oldTopSlice, remove moving use the new
269         NoUpdate func attrib instead. Make sure that needsUpdate is set
270         for function that have NoUpdate, but where depm might have changed
271         the buffer anyway.
272
273         * text2.C (cursorLeft): make us return true if depm changed
274         something
275         (cursorRight): ditto
276         (cursorUpParagraph): ditto
277         (curosrDownParagraph): ditto
278         (cursorUp, cursorDown): ditto, make sure to read comments in code
279         (deleteEmptyParagraphMechanism): remove an assert, also return
280         true if just a single char was deleted.
281
282         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
283         cursor that we modify, to avoid modifying an active cursor before
284         we call setCursor. This allows depm to run. Also return true if
285         depm deleted something.
286
287         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
288         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
289         cursorDownParagraph, cursorPrevious and cursorNext, return true if
290         something was changed in the buffer because of them (ie. depm run)
291
292         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
293         debug messages. Make update by default be false. Make sure that
294         the result of update is retained throught several calls down to
295         dispatch.
296
297         * LyXAction.h: add a new func_attrib: NoUpdate
298
299         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
300         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
301         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
302         and LFUN_WORDLEFT
303         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
304
305 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
306
307         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
308         bv_->owner(), bv_->buffer() by direct references to the private
309         members.
310         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
311         (getStatus): isSavedPosition() is in BufferView::Pimpl.
312         (fitCursor): center() is in BufferView::Pimpl.
313         (getStatus, trackChanges, dispatch): no need for a temporary buf
314         variable
315         (fitCursor, workAreaDispatch): use workarea().workheight()
316
317 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
318
319         * CutAndPaste.C (pasteSelectionHelper): fix a crash
320
321 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
322
323         * buffer.C: format up to 241.
324         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
325         break if pasting into ERT
326         * lyxfunc.C (getStatus): suppress mathpanel and
327         LFUN_DIALOG_SHOW_NEW_INSET in ERT
328
329 2005-02-01  Angus Leeming  <leeming@lyx.org>
330
331         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
332
333 2005-02-01  Angus Leeming  <leeming@lyx.org>
334
335         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
336         calling fs::is_directory().
337
338 2005-01-31  Angus Leeming  <leeming@lyx.org>
339
340         * lyx_main.C (priv_exec): specify explicitly the relative location
341         of the top level build directory when run in-place.
342
343 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
344
345         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
346         LyXText containing the cursor, not the top-level one.
347
348         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
349         true.
350         (insertStringAsLines): rename par to pit; use temporary variable
351         par to hold a Paragraph; do not store par.layout() in a variable,
352         since the pointer may die when breaking paragraphs; pass pars to
353         breakParagraph() instead of Buffer::paragraphs().
354
355 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
356
357         * lyxlex_pimpl.h: #include <fstream>.
358
359         * BufferView.[Ch] (getLyXText): add a const version.
360
361         * BufferView_pimpl.C: add debug aids.
362
363         * RowList_fwd.h:
364         * buffer.h:
365         * lyxrow.h:
366         * paragraph_funcs.h: add commentary explaining what the class does.
367
368
369         * coordcache.[Ch]: add lots of commentary.
370         (startUpdating, doneUpdating): debug aids.
371         (arrays, insets, parPos, getParPos): accessors to private data.
372
373         * cursor_slice.[Ch] (text): add a const version.
374         * dociterator.[Ch] (text, innerText): add const versions.
375
376         * lyxtext.h (breakParagraph): change the keep_layout arg to a
377         bool.
378
379         * paragraph.C (getRow, pos2ros): add asserts.
380
381         * paragraph.h: add commentary. Lots of.
382
383         * paragraph.[Ch] (metrucs, draw): removed.
384
385         * cursor.C:
386         * rowpainter.[Ch]: const-correct changes.
387
388         * text.C: various obvious clean-ups. Removal of ancient cruft.
389         Bug fixes, even.
390
391 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
392
393         * vc-backend.C (find_file): rewrite to use boost.filesystem
394         (scanMaster): ditto
395
396         * main.C (main): set default name check for boost.filesystem to
397         no check
398
399         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
400         (open): ditto
401         (doImport): ditto
402         (actOnUpdatedPrefs): ditto
403
404         * lyx_main.C (init): rewrite to use boost.filesystem
405         (queryUserLyXDir): ditto
406
407         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
408         (getContentsOfAsciiFile): ditto
409
410         * lastfiles.C (readFile): rewrite to use boost.filesystem
411
412         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
413
414         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
415         (loadLyXFile): ditto
416
417         * buffer.C (Buffer): adjust for destroydir
418         (getLogName): rewrite to use boost.filesystem
419         (setFileName): ditto
420         (save): use fs::copy_file (from fs_extras)
421
422         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
423
424         * LaTeX.C (run): rewrite to use boost.filesystem
425         (scanAuxFiles): ditto
426         (handleFoundFile): ditto
427
428 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
429
430         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
431
432         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
433
434 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
435
436         * lyxlayout.[Ch]: change some vars from float to double
437
438         * buffer.C (readFile): make a local var const
439
440         * Several files: use convert<> instead of atoi,strToXXX and friends
441
442 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
443
444         * LaTeXFeatures.[Ch]: Add a static list packages_ that
445         holds the contents of packages.lst. New functions getAvailable
446         and isAvailable to parse and check that list, resp.
447
448         * LyXAction.C:
449         * lfuns.h:
450         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
451
452         * bufferparams.[Ch]: new param output_changes.
453
454         * Buffer.C: increase file format to 240.
455         Use output_changes and isVailable.
456
457         * changes.[Ch]:
458         * paragraph.C:
459         * paragraph_pimpl.C: Use output_changes and isVailable.
460
461 2005-01-23  Angus Leeming  <leeming@lyx.org>
462
463         * output_latex.C: #include "insetbibitem.h", rather than
464         forward declare function bibitemWidest.
465
466 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
467
468         * lyx_main.C (init): make it compile on the Mac.
469
470 2005-01-20  Angus Leeming  <leeming@lyx.org>
471
472         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
473         (setLyXMisc): (char string literal) != (char string literal) is
474         performing a comparison on the addresses. Convert one operand
475         explicitly to string to guarantee expected behaviour.
476         From MSVC warning.
477
478 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
479
480         * buffer.C:
481         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
482
483         * output_plaintext.C: remove unneeded #include gzstream.h.
484
485 2005-01-20  Angus Leeming  <leeming@lyx.org>
486
487         * SpellBase.h: rename some of the elements of the Result enum.
488
489         * aspell_local.h:
490         * ispell.h:
491         * pspell.h:
492         * aspell.C (check):
493         * ispell.C (check):
494         * pspell.C (check): ditto
495
496 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
497
498         * buffer.C: add #include <fstream>.
499
500         * lyx_main.C (init): Compile fix.
501
502         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
503
504 2005-01-20  Angus Leeming  <leeming@lyx.org>
505
506         * mover.h: change commentary to reflect the changed meaning of
507         the $$s placeholder.
508
509 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
510
511         * output_linuxdoc.C (linuxdocParagraphs): silence warning
512
513         * lyxfind.C (MatchString::operator()): remove bogus semicolon
514
515 2005-01-20  Angus Leeming  <leeming@lyx.org>
516
517         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
518         printing diagnostic data by not dereferecing an iterator past the
519         end.
520
521 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
522
523         * buffer.C (readHeader): use "&&" rather than "and".
524
525         * lyxserver.h (inPipeName, outPipeName): make these const.
526
527 2005-01-19  Angus Leeming  <leeming@lyx.org>
528
529         * lyx_main.C (error_handler, init): protect SIGHUP with
530         #ifdef SIGHUP guards.
531
532 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
533
534         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
535
536 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
537
538         * text.C (setHeightOfRow): add a margin at the top and bottom of
539         the document (bug 1761)
540
541 2005-01-17  Angus Leeming  <leeming@lyx.org>
542
543         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
544         with "python ". Workaround for a brain-dead Windows.
545
546 2005-01-16  Angus Leeming  <leeming@lyx.org>
547
548         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
549         for MacOSX and Windows to use prependEnvPath.
550         Strip out the hard-coded block to add elements to the PATH for
551         MacOSX and replace it with a call to prependEnvPath using the
552         contents of LyXRC::path_prefix.
553         (queryUserLyXDir): strip out the code to run reconfigure, instead
554         returning a boolean indicating the necessity to do so.
555         (reconfigureUserLyXDir): contains the code to reconfigure the
556         user support directory. Is now called after the various LyXRC data
557         files have been read.
558
559         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
560
561 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
562
563         * converter.[Ch] (convert): take a new parameter try_default. Use
564         a default converter (imagemagick) if try_default is true.
565
566 2005-01-13  Angus Leeming  <leeming@lyx.org>
567
568         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
569         os::cygwin_path_fix.
570         (write): output LyXRC::cygwin_path_fix as necessary.
571
572 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
573
574         * lyxrc.h:
575         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
576
577 2005-01-12  Angus Leeming  <leeming@lyx.org>
578
579         * lyx_main.C (init): set the PATH variable to include the
580         directory containing the LyX binary when running on Mac or Windows.
581
582 2005-01-12  Angus Leeming  <leeming@lyx.org>
583
584         * lyx_main.C (init): remove cruft that purports to set the locale
585         dir. It doesn't and is not needed anyway.
586
587 2005-01-10  Angus Leeming  <leeming@lyx.org>
588
589         * Makefile.am: remove the lyx_main.C special casing.
590
591         * BufferView_pimpl.C:
592         * bufferlist.C:
593         * exporter.C:
594         * lyx_cb.C:
595         * lyx_main.C:
596         * lyxfunc.C:
597         * messages.C: use support/package.h to provide the paths to the
598         various directories used by LyX.
599
600 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
601
602         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
603         layout if pasting into an empty paragraph)
604
605 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
606
607         * tex-accent.C: add <string>
608
609 2005-01-06  José Matos  <jamatos@lyx.org>
610
611         * ParagraphParameters.C (write): put every parameter in its own line.
612         * paragraph.C (write): reduce number of consecutive empty lines exported.
613         * buffer.C (LYX_FORMAT): increase file format to 239.
614
615 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
616
617         * everywhere: change support/tostr.h -> support/convert.h
618
619         * tabular.C: make all write_attributes templates, tostr -> convert
620
621         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
622         (emptyTag): and -> &&, and fix type for ret from getChar
623         (getFirstWord): fix type for ret from getChar
624         (onlyText): and -> &&
625         (simpleDocBookOnePar): and not -> && !, fix type for ret from
626         getChar
627
628         * toc.C (goTo, action):
629         * text3.C (dispatch):
630         * text.C (currentState):
631         * tex-accent.C (DoAccent):
632         * sgml.C:
633         * lyxrc.C:
634         * lyxfunc.C (menuNew):
635         * lyxfinc.C (replace):
636         * counters.C (laberItem):
637         * bufferview_funcs.C (font2string):
638         * bufferparams.C (writeFile):
639         * buffer.C (readFile):
640         * Spacing.C (set):
641         * MenuBackend.C: tostr -> convert
642
643         * LaTeX.C (runMessage): fix format
644         (scanAuxFiles): tostr -> convert
645
646         * BufferView_pimpl.C (savePosition): fix format
647         (restorePosition): ditto
648         (dispatch): ditto
649
650 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
651
652         * Spacing.[Ch]: New method getValueAsString().
653
654         * Spacing.[Ch]:
655         * bufferparams.C:
656         * ParagraphParameters.C:
657         * lyxlayout.C:
658         * text.C:
659         * text3.C: store/read spacing value as string.
660
661         * rowpainter.C: change float value (spacing_val) to double.
662
663         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
664         broken custom document spacing).
665
666 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
667
668         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
669         namespace, also more use of temp references and const
670
671         * cursor.[Ch] (getStatus): move to lyxfunc.C
672
673         * bufferparams.C: reformat slightly
674
675         * bufferview_funcs.C (font2string): constify arg
676
677         * changes.C:
678         * converter.C:
679         * counters.C:
680         * bufferlist.C:
681         * buffer_funcs.C: (many funcs): constify arg on function
682         definitions, also make more local vars const, also add ASSERTS on
683         pointer args.
684
685         * buffer.C (LYX_FORMAT): put const in correct place
686         (many funcs): constify arg on function definitions, also make
687         more local vars const
688
689         * aspell_local.h: remove "struct" from typdef setup
690
691         * aspell.C (check): make word_ok const
692         (nextMiss): simplify slightly
693         (error): ditto
694
695 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
696
697         * lyxrc.[Ch]: store all float values as strings.
698         use int (not float) for lyxrc.dpi.
699
700 2005-01-04  Angus Leeming  <leeming@lyx.org>
701
702         * lyx_cb.C (Reconfigure):
703         * lyx_main.C (queryUserLyXDir):
704         to run the <system_lyxdir>/configure correctly on Windows, prefix
705         the path to the script with "sh " when generating the string that
706         is passed to system().
707
708 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
709
710         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
711
712 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
713
714         * lyxlength.C (asLatexString): get rid of setprecision
715
716 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
717
718         * text2.C (setLayout): remove unused variable endpit.
719         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
720
721         * paragraph.C (onlyText): remove unused variable style.
722
723         * cursor.C (bruteFind): remove unused variables beg and end.
724
725         * Makefile.am (dist_noinset_DATA): not needed anymore
726
727         * cheaders/*: remove.
728
729 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
730
731         * text3.C: fix LFUN_MATH_MODE.
732
733 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
734
735         * buffer_funcs.C (countWords): new function. Counts words between
736         two iterators.
737
738         * BufferView_pimpl.C (getStatus, dispatch): handle
739         LFUN_WORDS_COUNT.
740
741         * LyXAction.C (init):
742         * lfuns.h: add LFUN_WORDS_COUNT.
743
744 2004-12-19  Angus Leeming  <leeming@lyx.org>
745
746         * buffer.C (save): s/slashify_path/internal_path/.
747
748 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
749
750         * lyxfind.C (findChange): do not search for end of pars, because
751         the change tracker cannot handle this (fixes bug 1719).
752
753 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
754
755         * paragraph.[Ch] (autoBreakRows): remove
756
757         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
758
759         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
760         avoid using the paragraph one
761
762         * text2.C (LyXText, insertStringAsLines): adjust
763
764 2004-12-16  Angus Leeming  <leeming@lyx.org>
765
766         * bufferlist.C:
767         * lyx_main.C:
768         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
769
770 2004-12-14  Angus Leeming  <leeming@lyx.org>
771
772         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
773
774         * bufferlist.C (emergencyWrite):
775         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
776         GetEnvPath("HOME").
777
778 2004-12-14  Angus Leeming  <leeming@lyx.org>
779
780         * main.C: (main): no longer pass pointers to os::init.
781
782 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
783
784         * undo.C (textUndoOrRedo): simplify logic, fix a crash
785         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
786
787 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
788
789         * lyxfunc.C:
790         * text3.C: remove selection_possible global flag
791
792 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
793
794         * text2.C (getSelectionSpan): remove
795         (changeDepth, changeDepthAllowed): adjust
796
797 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
798
799         * Makefile.am (BOOST_LIBS): use boost variables
800
801 2004-12-03  José Matos  <jamatos@lyx.org>
802
803         * buffer.C: format up to 238.
804
805 2004-12-03  José Matos  <jamatos@lyx.org>
806
807         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
808
809 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
810
811         * cursor.C (goUpDown): remove call to idxUpDown2
812
813 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
814
815         * tabular.[Ch]: use size_t-like types for cell, row and column
816         indices
817
818 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
819
820         * lyxfunc.C (getStatus): do not lose previous information when
821         calling BufferView::getStatus; do not set a default "Command
822         disabled" message at the beginning, but just before returning.
823
824 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
825
826         * cursor.h (getStatus): add better comment from src/cursor.C
827
828 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
829
830         * text3.C (getStatus): return false when the lfun is not handled
831
832 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
833
834         * broken_headers.h: remove
835
836         * Makefile.am (lyx_SOURCES): remove broken_headers.h
837
838 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
839
840         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
841         offset_ref accessors
842
843         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
844         top_y_, merge fitcursor with update
845         (updateScrollbar, scrollDocView, fitCursor, center, update): new
846         coord scheme
847         (metrics): introduce
848         (workAreaDispatch): adapt to new coord scheme
849         (redoCurrentBuffer): remove
850
851         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
852
853         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
854         CurStatus enum.
855
856         * coordcache.[Ch]: add paragraph cache and helpers
857
858         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
859         adjust everywhere
860
861         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
862         (targetX, setTargetX): introduce
863
864         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
865         baseline -> ascent, as the rest of lyx
866
867         * lyxtext.h: remove redoParagraphs, updateParPositions,
868         fullRebreak, redoParagraphInternal. move dist to anon namespace in
869         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
870         have ascent/descent (ascent is ascent of first par)
871
872         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
873         step of BufferView
874
875         * paragraph.[Ch]: unify dimension handling with the rest of lyx
876
877         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
878
879         * pariterator.C: fix infinite loop introduced in par->pit renaming
880
881         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
882         in insets and LyXText, draw two off-screen paragraphs using
883         NullPainter, and adapt to new coord scheme
884
885         * text.C:
886         * text2.C:
887         * text3.C: adapt lfun handlers to the new coord scheme, which
888         means: there's only guaranteed coord information for onscreen pars
889         plus one above and one below. This implies that one can do search
890         from y coordinates in the range [-1,workHeight]
891
892 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
893
894         * rename a lot of InsetOld to InsetBase
895
896 2004-11-25  Angus Leeming  <leeming@lyx.org>
897
898         * BufferView_pimpl.C:
899         * lyx_cb.C:
900         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
901
902 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
903
904         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
905         call BufferView::getStatus if LCursor::getStatus did nothing
906         (setStatusMessage, getStatusMessage): removed.
907
908         * FuncStatus.C (message): new methods. Used to provide an error
909         message indicating why a command is disabled.
910         (clear, |=, FuncStatus): update for message.
911
912 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
913
914         * lyxfunc.C (dispatch): always call sendDispatchMessage
915
916 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
917
918         * BufferView.C:
919         * BufferView_pimpl.C:
920         * CutAndPaste.C:
921         * FontIterator.C:
922         * buffer.C:
923         * cursor.C:
924         * cursor_slice.[Ch]:
925         * dociterator.[Ch]:
926         * lyxfind.C:
927         * paragraph_funcs.C:
928         * pariterator.C:
929         * rowpainter.C:
930         * text.C:
931         * text2.C:
932         * text3.C:
933         * undo.C: par->pit renaming
934
935 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
936
937         * tabular.C (cellstruct): use initialization, store a shared_ptr
938         to insettext instead of the insettext directly, adjust to fit.
939         (operator=):  new function
940         (swap): new function
941         (rowstruct): use initialization
942         (columnstruct): use initialization
943         (ltType): use initialization
944
945
946         * lyxlength.h (swap): new function
947
948         * LColor.[Ch] (operator=): use the common semantics
949
950 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
951
952         * lyxfind.C (findNextChange): update the bufferview after setting
953         the selection.
954
955 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
956
957         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
958         number of InsetOptArgs has already been inserted.
959
960         * output_latex.C (latexOptArgInsets): new method. This outputs all
961         the optarg insets, up to the limit defined in the layout file.
962         (optArgInset): removed
963         (TeXOnePar): call latexOptArgInsets; correctly update texrow
964
965 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
966
967         * paragraph.C (isLetter): remove special spellchecker-related
968         code; return true also for digits
969         (isWord, isKomma): remove
970
971         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
972         * lyxfind.C (MatchString()): use isLetter instead of isWord
973
974 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
975
976         * pariterator.h (operatir=): comment out un-implemented member
977         function.
978
979         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
980         static cast.
981
982 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
983
984         * lyxfont.h: include LColor.h to satisfy concept checks.
985
986 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
987
988         * pariterator.h: add typdefs for value_type, difference_type,
989         pointer and reference to satisfy concept checks. Also add default
990         constructor for same reason.
991
992         * pariterator.C (operator++): add post-increment operator to
993         satisfy concept checks.
994
995         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
996         checks.
997
998         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
999
1000         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1001         checks. Also rename base_type to BaseType to follow naming
1002         standard better.
1003
1004         * FloatList.h: include Floating.h to satisfy concept checks.
1005
1006 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1007
1008         * lyxfunc.C (getStatus): when the origin of the request is menu or
1009         toolbar, and the LyXView does not have focus, do as if there was
1010         no buffer (bug 1720)
1011
1012         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1013         FuncRequest to individual entries of LFUN_SEQUENCE
1014
1015 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1016
1017         * output_latex.C (TeXOnePar): override runparams.moving_arg
1018         according to the needprotect value of the current paragraph (bug
1019         1739)
1020
1021         * paragraph.C (simpleTeXOnePar): no need to override
1022         runparams.moving_args here
1023
1024 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1025
1026         * vspace.C: fix off-by-one-error, related to fix #1682
1027
1028 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1029
1030         * lengthcommon.C: a more general fix for bug 1682
1031
1032 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1033
1034         * text.C (backspace): fix crash
1035
1036 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1037
1038         * format.[Ch] (getFormatFromFile): new method
1039         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1040
1041 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1042
1043         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1044
1045 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1046
1047         * lyxfunc.C (dispatch): remove the verbose argument
1048         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1049         instead
1050
1051         * kbmap.C (defkey): set the origin of func to KEYBOARD
1052
1053         * MenuBackend.C (MenuItem):
1054         * ToolbarBackend.C (add): set the origin of func to UI
1055
1056         * funcrequest.[Ch]: add origin member, which indicates which part
1057         of LyX requests an action
1058
1059 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1060
1061         * converter.C (move): don't lie in the error message
1062         * converter.h (isReachable, move): document
1063
1064 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1065
1066         * buffer.C: remove unused using lyx::support::atoi
1067         * paragraph_funcs.C: ditto
1068
1069 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1070
1071         * bufferlist.C (exists): use bind and equal_to instead of
1072         compare_memfun
1073         (getBuffer): ditto
1074         * lyxtextclasslist.C (NumberOfClass): ditto
1075
1076         * cursor.C (insert): use for_each instead of explicit for loop
1077
1078         * bufferlist.C (getFileNames): use std::transform and
1079         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1080
1081         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1082         for loop
1083
1084         * buffer.C (changeLanguage): use for_each instead of explicit for
1085         loop
1086         (hasParWithID): implement using getParFromID
1087
1088         * LaTeXFeatures.C: ws change only
1089
1090         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1091         to cleanup a bit.
1092
1093         * BufferView_pimpl.C (trackChanges): use for_each instead of
1094         expilicit for loop
1095
1096 2004-11-04  André Pönitz  <poenitz@gmx.net>
1097
1098         * undo.h:
1099         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1100
1101         * dociterator.C (asDocIterator): use hard assert again.
1102
1103 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1104
1105         * lyxlength.C (asLatexString): rewrite so that it does not use
1106         snprintf anymore
1107
1108 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1109
1110         * text3.C (specialChar, dispatch): make sure cursor moves to the
1111         right after inserting an inset
1112
1113 2004-11-02  José Matos  <jamatos@lyx.org>
1114
1115         * output_docbook.C (docbook):
1116         * paragraph.C (getID):
1117         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1118         garantee that the output is always legal.
1119
1120         * tabular.C (docbook):
1121         * outputprams.[Ch]: remove mixed contents.
1122
1123 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1124
1125         * text2.C (setCounter): prevent endless loop
1126
1127 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1128
1129         * exporter.C (copyFile): use the mover instead of support::copy()
1130         * exporter.C (Export): pass format and latex name to copyFile()
1131         * exporter.h (addExternalFile): document
1132         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1133
1134 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1135
1136         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1137
1138 2004-10-30  José Matos  <jamatos@lyx.org>
1139
1140         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1141         text and no inset or font change. This allows to use CDATA
1142         sections just for the whole paragraph.
1143
1144 2004-10-30  José Matos  <jamatos@lyx.org>
1145
1146         * paragraph.C (getFirstWord): remove unused variable.
1147
1148 2004-10-30  José Matos  <jamatos@lyx.org>
1149
1150         * paragraph.C (getFirstWord): the content should always be escaped
1151         there.
1152         (simpleDocBookOnePar):
1153         * output_docbook.C (makeEnvironment): replace reference to CDATA
1154         to style pass_thru.
1155
1156 2004-10-30  José Matos  <jamatos@lyx.org>
1157
1158         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1159
1160 2004-10-30  José Matos  <jamatos@lyx.org>
1161
1162         * output_docbook.C (makeParagraphs):
1163         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1164         standard paragraph has only a given type of content drop the wrapper.
1165
1166 2004-10-29  José Matos  <jamatos@lyx.org>
1167
1168         * output_docbook.C (makeEnvironment):
1169         * sgml.C (openTag):
1170         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1171
1172 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1173
1174         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1175         (cleanID): sanitize any id.
1176
1177 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1178
1179         * buffer.C, lyxlex_pimpl.C:
1180         * lyxlex_pimpl.C (setFile):
1181         s/getExtFromContents/getFormatFromContents/
1182
1183 2004-10-28  José Matos  <jamatos@lyx.org>
1184
1185         * output_docbook.C (makeEnvironment): move id to broadest possible
1186         scope.
1187
1188         * sgml.C (openTag): apply substitution of <> for all attributes.
1189
1190 2004-10-28  José Matos  <jamatos@lyx.org>
1191
1192         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1193         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1194         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1195
1196         * sgml.[Ch]: new version for open and closeTag for paragraph and
1197         for strings. Now they handle the ids of paragraphs.
1198
1199 2004-10-26  Angus Leeming  <leeming@lyx.org>
1200
1201         * Makefile.am: add mover.[Ch].
1202
1203         * converter.C (convert, move): use the new Movers to move external
1204         files to the temp directory.
1205
1206         * lyx_main.C (init): ensure that the global system_movers data
1207         is initialised.
1208
1209         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1210         preferences file.
1211
1212         * mover.[Ch]: new files, defining a Mover as a utility to move an
1213         external file between directories and, if necessary, manipulate this
1214         file using a helper script.
1215
1216 2004-10-25  José Matos  <jamatos@lyx.org>
1217
1218         * output_docbook.C (makeCommand): merge two if's that tested the
1219         same condition.
1220
1221 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1222
1223         * sgml.C (escapeString): fix warning in a better way
1224
1225 2004-10-25  José Matos  <jamatos@lyx.org>
1226
1227         * sgml.C (escapeString): import the require boosts header file for
1228         tie, and avoid a signed unsigned comparison.
1229
1230 2004-10-25  José Matos  <jamatos@lyx.org>
1231
1232         * sgml.h: add #include <string>
1233
1234 2004-10-25  José Matos  <jamatos@lyx.org>
1235
1236         * sgml.[Ch] (escapeString): new function to escape all the string.
1237
1238 2004-10-24  José Matos  <jamatos@lyx.org>
1239
1240         * paragraph.[Ch] (getFirstWord): new function to get the first
1241         word. Useful for description.
1242         (simpleDocBookOnePar): remove depth argument, add another that
1243         says where to start the paragraph.
1244
1245         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1246         use the new functions to fix cleanly the support for descriptions.
1247
1248 2004-10-24  José Matos  <jamatos@lyx.org>
1249
1250         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1251         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1252         * output_linuxdoc.C (linuxdocParagraphs):
1253         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1254         add buffer as argument.
1255
1256 2004-10-24  José Matos  <jamatos@lyx.org>
1257
1258         * output_docbook.C (makeEnvironment, searchEnvironment): place
1259         CDATA inside paragraphs and fix scope for listitems.
1260
1261 2004-10-24  José Matos  <jamatos@lyx.org>
1262
1263         * output_docbook.C: remove using statement for stack.
1264
1265 2004-10-23  José Matos  <jamatos@lyx.org>
1266
1267         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1268         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1269         docbook. The new scheme is recursive and makes use of iterators, the
1270         same as latex export works.
1271         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1272         directly with the paragraph contents. This code was moved up to
1273         output_docbook.C (docbookParagraphs).
1274         * sgml.C (openTag, closeTag): removed unneeded newlines.
1275         (closeEnvTags) removed.
1276
1277 2004-10-23  André Pönitz  <poenitz@gmx.net>
1278
1279         * undo.C (textUndoOrRedo):
1280         * dociterator.C (asDocIterator): work around crash
1281
1282         * cursor.C (getStatus): replace ASSERT by more verbose error message
1283           and manual correction of the problem. Should increase stability
1284           while providing more sensible information.
1285
1286 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1287
1288         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1289
1290         * bufferlist.C (previous, next): new methods
1291
1292         * lfuns.h:
1293         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1294
1295 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1296
1297         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1298         entities to preamble.
1299
1300 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1301
1302         * messages.C (Pimpl): strip off translation context information
1303
1304 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1305
1306         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1307         the cursor is correct (bug 1694)
1308
1309 2004-10-13  José Matos  <jamatos@lyx.org>
1310
1311         * output_docbook.C (docbookParagraphs): fix closing tags in the
1312         end of the document.
1313
1314 2004-10-09  José Matos  <jamatos@lyx.org>
1315
1316         * buffer.C: format up to 237.
1317         * bufferparams.C (write): use tostr to convert booleans to strings.
1318
1319 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1320
1321         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1322
1323 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1324
1325         * LaTeX.C: implement use of babel language in xindy.
1326
1327 2004-10-05  José Matos  <jamatos@lyx.org>
1328
1329         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1330         Add new translators to help reading and writing the lyx file.
1331
1332 2004-10-05  José Matos  <jamatos@lyx.org>
1333
1334         * ParagraphParameters.C (read):
1335         * text.C (readParToken): replace nexToken by more appropriate lex
1336         methods.
1337
1338 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1339
1340         * LaTeX.C (runMakeIndex):
1341         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1342         (usually 'makeindex') configurable.
1343
1344         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1345         with a variable rather than with a number.
1346
1347 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1348
1349         * output_latex.C (TeXOnePar): make sure font setting is the first
1350         thing that gets output (and the last at the end). Should fix bug
1351         1404.
1352
1353 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1354
1355         * pch.h: use proper signal include
1356
1357         * LaTeX.h: Use preferred calling of Boost.Signal
1358         * buffer.h: ditto
1359
1360 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1361
1362         * pch.h: dont include <boost/function/function0.hpp>
1363
1364         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1365
1366         * paragraph_pimpl.h: remove usage of ShareContainer
1367
1368         * paragraph_pimpl.C: remove initialization of ShareContainer.
1369
1370 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1371
1372         Fix bug #1666
1373
1374         * BufferView.C (putSelectionAt): change the semantics when
1375         backwards == true: now, this just swaps cursor and anchor wrt the
1376         forward case
1377
1378         * BufferView.h (putSelectionAt): add some documentation
1379
1380         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1381         make sure backwardChar is done at least once (to avoid getting
1382         stuck)
1383         (findNextChange): use putSelectionAt in the forward direction
1384         (operator()): use Paragraph::isWord
1385
1386 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1387
1388         * Spacing.C (set): c_str fix
1389
1390 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1391
1392         * lyx_cb.C (Reconfigure): quote the name of configure script in
1393         case it contains spaces
1394
1395 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1396
1397         * client: new dir
1398
1399         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1400         (BOOST_LIBS): use top_buildir when looking for the file
1401
1402 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1403
1404         * pch.h: do not use include boost/format.hpp, multiple symbols
1405                 will result (gcc bug)
1406
1407
1408 2004-08-23  José Matos  <jamatos@lyx.org>
1409
1410         * bufferparams.C (readToken): fix reading of the author field.
1411
1412 2004-08-20  José Matos  <jamatos@lyx.org>
1413
1414         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1415
1416 2004-08-20  José Matos  <jamatos@lyx.org>
1417
1418         * lyxlex.[Ch] (findToken): remove function.
1419
1420         * ParagraphParameters.C (findToken):
1421         * bufferparams.C (findToken): replace call for previous function
1422         with local copy. This local function has one more argument, the
1423         read string argument.
1424
1425 2004-08-16  José Matos  <jamatos@lyx.org>
1426
1427         * ParagraphParameters.C (write):
1428         * Spacing.C (writeFile):
1429         * bufferparams.C (writeLaTeX):
1430         * lyx_cb.C (Reconfigure):
1431         * paragraph.C (write):
1432         * tabular.C (write): remove unnecessary space at end of line.
1433
1434
1435 2004-08-16  José Matos  <jamatos@lyx.org>
1436
1437         * text.C (readParagraph): remove debug message.
1438
1439 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1440
1441         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1442         crash
1443
1444         * output_plaintext.C (asciiParagraph): set depth correctly
1445
1446         * outputparams.h: add member depth
1447
1448         * paragraph_funcs.C (ownerPar): remove.
1449
1450         * text2.C (setCounter): remove first_pit; comment out some
1451         non-working code that uses ownerPar
1452
1453         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1454         uses ownerPar
1455
1456 2004-08-16  José Matos  <jamatos@lyx.org>
1457
1458         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1459         For the same level of importance use the same chanel to report problems.
1460         (read): add code to deal with \begin_body and \end_body.
1461
1462
1463 2004-08-15  José Matos  <jamatos@lyx.org>
1464
1465         * lyxlex.C (getString): fix comment, buffer::readBody is now
1466         buffer:readDocument.
1467
1468         * tex-strings.C (string_papersize): Default -> default,
1469         Custom -> custom, for consistency with other options.
1470
1471 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1472
1473         * pch.h: new file
1474
1475         * Makefile.am: support pch
1476
1477 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1478
1479         * text.C (readParToken): remove the static LyXFont variable and
1480         pass it as a parameter instead. This fixes a nasty bug where an
1481         inset will be inserted with a bad font in some situations
1482         (readParagraph): adapt
1483
1484         * text2.C (setCounter): reduce number of calls to pars_[pit]
1485
1486         * text.C (singleWidth): add an assert, fix a test
1487
1488         * rowpainter.C (paintText): reduce number of calls to singleWidth
1489
1490         * paragraph.C (isHfill):
1491         (isNewline): ws only
1492
1493 2004-08-14  André Pönitz  <poenitz@gmx.net>
1494
1495         * text.C:
1496         * text2.C:
1497         * rowpainter.C:
1498         * lyxtext.h (several functions): use a Paragraph & argument
1499         instead of par_type
1500
1501 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1502
1503         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1504
1505         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1506
1507         * text.C (singleWidth): remove useless test
1508
1509 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1510
1511         * tabular.h: remove bogus comments
1512
1513         * tabular.C (getDescentOfRow):
1514         (isPartOfMultiColumn): add assertions
1515
1516         * lyxlength.C (inPixels): remove #warning
1517
1518 2004-08-14  André Pönitz  <poenitz@gmx.net>
1519
1520         * paragraph.h: inline getChar()
1521
1522         * BufferView.h: remove unused declarations
1523
1524 2004-08-14  José Matos  <jamatos@lyx.org>
1525
1526         * Buffer.[Ch] (readDocument): new name for old readBody.
1527         * Buffer.C: new file format, new keywords: \begin_document,
1528         \begin_header, \begin_body, \end_body.
1529
1530         * bufferparams.C (readToken): replace all calls to lex.nextToken
1531         by lex.next(). Do the same to eatLine except where really needed.
1532
1533         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1534         line when writing to the lyx file.
1535
1536         * output_plaintext.C (asciiParagraph): fix Bibliography style
1537         handling.
1538
1539         * text.C (read): fix end of file handling.
1540
1541 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1542
1543         * MenuBackend.C (Menu::operator[]): new method to access
1544         individual menu items
1545         (Menu::hasFunc): new method. search for an item that corresponds
1546         to a given func
1547         (MenuBackend::specialMenu): new method
1548         (MenuBackend::expand): if a special menu has been set, skip
1549         entries whose func() appears in this menu
1550
1551 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1552
1553         * text3.C: use Debug::DEBUG a bit more
1554
1555         * text.C (leftMargin): try to simplify a tiny bit change var x to
1556         l_margin. Dont output the wide margins always.
1557         (rightMargin): no margin in inner texts
1558
1559         * rowpainter.h (nestMargin): new func
1560         (changebarMargin): new func
1561         (rightMargin): new func
1562
1563         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1564         now functions.
1565         (paintLast): ditto
1566
1567         * factory.C (createInset): modify setDrawFrame
1568
1569         * cursor.C: use Debug::DEBUG a bit more
1570
1571 2004-08-14  André Pönitz  <poenitz@gmx.net>
1572
1573         * coordcache.[Ch]:
1574         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1575         cache for all insets in (at least partially) visible (top-level)
1576         paragraphs.
1577
1578         * BufferView_pimpl.C: reset external coord cache before every update.
1579         This means the coord cache only contains valid entries.
1580
1581 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1582
1583         bug 1096
1584         * BufferView_pimpl.C (getInsetByCode): move function out of class
1585         and change in to a template in anon namespace. Also fix to do what
1586         suits us better.
1587
1588 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1589
1590         bug 1305
1591         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1592         of char
1593         (breakParagraph): rename par to par_offset and use a local
1594         reference. Add code to keep the language over a rebreak.
1595         (breakParagraphConservative): rename par to par_offset, use a
1596         local reference
1597         (mergeParagraph): ditto
1598         (outerHook): ditto
1599         (isFirstInSequence): ditto
1600         (outerFont): rename pit to par_offset
1601
1602         * paragraph.C: ws change
1603         * paragraph.h: ditto
1604         * text3.C: ditto
1605         * text.C: ditto
1606
1607 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1608
1609         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1610         treatment for ']'
1611
1612         * paragraph.C (simpleTeXOnePar): when we have a \item with
1613         optional argument, enclose the argument with curly brackets (in
1614         case it contains a closing square bracket)
1615
1616         * text2.C (editXY):
1617         * text2.C (editXY):
1618         * text3.C (checkInsetHit): constify
1619
1620 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1621
1622         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1623         documents (bug 1629)
1624
1625 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1626
1627         Fix toggling of collapsable insets with the mouse (bug 1558)
1628
1629         * lyxfunc.C (dispatch): adapt to LCursor changes
1630
1631         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1632         make sure that dispatch is not invoked twice
1633
1634         * cursor.C (needsUpdate): new method
1635         (dispatch): return void
1636         (result): new method, to access the DispatchResult of the cursor.
1637
1638 2004-08-13  José Matos  <jamatos@lyx.org>
1639
1640         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1641
1642 2004-08-13  André Pönitz  <poenitz@gmx.net>
1643
1644         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1645
1646         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1647           multiple cells
1648
1649 2004-08-12  André Pönitz  <poenitz@gmx.net>
1650
1651         * text3.C: take out the 'cursor right' form insertInset and only
1652         do it in those places when it is really needed. Fixes crash on
1653         C-m...
1654
1655 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1656
1657         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1658
1659         * BufferView_pimpl.C (setBuffer): initialize the current font of
1660         the underlying LyXText
1661
1662 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1663
1664         * kbsequence.C (print): use UI native formatting for menu
1665         shortcuts
1666
1667         * text.C (insertChar): call Paragraph::insertChar with a font
1668         argument (cosmetic)
1669
1670         * paragraph.C (insertInset, insertChar): the version that takes a
1671         LyXFont argument is now a wrapper around the other one (the
1672         opposite used to be true).
1673
1674         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1675         argument. Font setting is done in Paragraph now.
1676
1677 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1678
1679         * outputparams.h: add new members intitle and lang.
1680
1681         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1682         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1683
1684 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1685
1686         * text3.C (dispatch): remove special handling of button 4 and 5,
1687         it is now taken care of in the frontend code.
1688
1689 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1690
1691         * Spacing.h: add <string> (STLPort compile fix)
1692
1693 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1694
1695         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1696
1697 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1698
1699         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1700         to bool.
1701
1702         * converter.C (showMessage): inherit from unary_function, make
1703         operator() const.
1704
1705         * buffer.C (writeFile): initialize retval
1706
1707         * InsetList.h: rename private variable list to list_
1708         * InsetList.[Ch]: adjust accordingly.
1709
1710 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1711
1712         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1713         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1714         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1715         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1716         * ParagraphParameters.C, LaTeXFeatures.C: replace
1717         "support/std_sstream.h" with <sstream>
1718
1719 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1720
1721         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1722         * lyxsocket.C (LyXServerSocket): ditto
1723         (serverCallback): ditto
1724
1725 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1726
1727         * LaTeXFeatures.C: check release date when loading jurabib.
1728
1729 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1730
1731         * lyxserver.C (startPipe): call register_socket_callback
1732         (endPipe): call unregister_socket_callback
1733
1734 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1735
1736         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1737         (LyXServerSocket): register the callback
1738         (LyXServerSocket): unregister the callback
1739         (fd): delete function
1740         (serverCallback): improve error checking and setup the callbacks.
1741         (dataCallback): change arg to fd.
1742         (writeln): new func (copied fro the client socket) used for server
1743         write to client.
1744         (LyXDataSocket): simplify
1745         (~LyXDataSocket): close ann unregiser callback
1746         (server): delete function
1747         (fd): delete function
1748         (readln): small changes, improve some std::string usage
1749         (writeln): constify a bit
1750
1751 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1752
1753         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1754         Qt frontend
1755
1756 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1757
1758         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1759         after it has been populated
1760
1761 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1762
1763         * text2.C (insertInset): move cursor when inserting inset.
1764
1765 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1766
1767         * kbmap.C (findbindings): a couple of new methods. returns a
1768         container of kb_sequence objects. The real work is done by the
1769         private recursive version
1770         (printbindings): uses findbindings to print out a bracketed list
1771         of bindings (renamed from findbinding).
1772
1773         * MenuBackend.C (binding): use kb_keymap::findbindings
1774
1775         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1776
1777 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1778
1779         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1780
1781 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1782
1783         * paragraph.C (isWord): return true on insets that report
1784         isLetter().
1785
1786         * text.C (getWord): use Paragraph::isWord to decide what is in a
1787         word and what is not; fix bug 1609.
1788
1789 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1790
1791         * tex-strings.C: add "none" to string_paperpackages[], fixes
1792         off-by-one-error in the paperpackage selection.
1793
1794         * lyxlex.[Ch]:
1795         * tex-strings.[Ch]: char const * string[n]
1796         -> char const * const string[]
1797
1798 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1799
1800         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1801         command, return early.
1802
1803 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1804
1805         * debug.h: add DEBUG to enum and fix size of ANY.
1806
1807         * debug.C: add support for Debug::DEBUG
1808         (showTags): cast errorTags.level to unsigned int
1809
1810         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1811         (redoCurrentBuffer): ditto
1812         (updateScrollbar): ditto
1813         * cursor.C (dispatch): ditto
1814         * text2.C (setLayout): ditto
1815         (setFont): ditto
1816         (updateCounters): ditto
1817         (editXY): ditto
1818         (deleteEmptyParagraphMechanism): ditto
1819
1820 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1821
1822         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1823         annotations to cleanup the Makefile slightly.
1824
1825 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1826
1827         * lyxrc.C: do not set user_email to a default value but use empty
1828         instead. The entry used to be translated, which does not work
1829         since at the point where lyxrc is constructed there is no
1830         translation service available
1831
1832         * messages.C (getLocaleDir): remove and use directly
1833         lyx_localedir() instead
1834
1835 2004-06-02  Angus Leeming  <leeming@lyx.org>
1836
1837         Fix crash caused by dereferencing null pointer 'exportdata' in
1838         OutputParams by creating a new ExportData variable on the heap,
1839         storing it in a boost::shared_ptr.
1840         The crash was triggered when generating an Instant Preview
1841         of an external inset.
1842
1843         * Makefile.am: add outputparams.C
1844
1845         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1846         (c-tor): allocate memory to it.
1847
1848         * exporter.C (c-tor): associated changes.
1849
1850 2004-06-01  Angus Leeming  <leeming@lyx.org>
1851
1852         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1853         contains data before calling isInset(0). (Bug 1513.)
1854
1855 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1856
1857         * exporter.C (checkOverwrite): new method
1858         * exporter.C (copyFile): new method
1859         * exporter.C (Export): copy referenced files to the document dir
1860         * exporter.[Ch]: new class ExportedFile
1861         * exporter.[Ch]: new class ExportData. Contains currently the
1862         names of referenced external files
1863         * outputparams.h: add exportdata member.
1864
1865 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1866
1867         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1868         version.C-tmp
1869
1870 2004-05-19  Angus Leeming  <leeming@lyx.org>
1871
1872         * LaTeXFeatures.C:
1873         * ToolbarBackend.C:
1874         * bufferparams.C:
1875         * lyxfunc.C: small changes due to the introduction of namespace
1876         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1877
1878 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1879
1880         * text3.C (dispatch): supress update when only moving the cursor
1881         * cursor.C (selHandle): remove commented code
1882
1883 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1884
1885         * paragraph.C (startTeXParParams): correct column count
1886         * CutAndPaste.C (pasteSelection): remove const_cast
1887         * output_docbook.C (docbookParagraphs): remove const_cast
1888         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1889         const_cast and return ParagraphList::const_iterator
1890         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1891         * output_plaintext.C (writeFileAscii): remove const_cast
1892         * paragraph.[Ch] (simpleTeXOnePar): make const
1893         * paragraph_funcs.C (outerPar): use const iterators
1894         * paragraph_pimpl.C (validate): use const iterators
1895         * text.C (setHeightOfRow): use const iterators
1896
1897 2004-05-17  Angus Leeming  <leeming@lyx.org>
1898
1899         * lfuns.h:
1900         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1901
1902         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1903         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1904         if the citation engine has changed.
1905
1906 2004-05-14  José Matos  <jamatos@lyx.org>
1907
1908         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1909         if the textclass does not provide it. Have it different for sgml and
1910         xml.
1911         support the language of document.
1912         * output_docbook.C (docbookParagraphs):
1913         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1914         first anchor as the id of the paragraph, remove special case code.
1915         * sgml.C (escapeChar): escape only < & >.
1916
1917 2004-05-14  Angus Leeming  <leeming@lyx.org>
1918
1919         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1920         dependencies on src/frontends/controllers/biblio.h. Define a
1921         CiteEngine_enum wrapper class to enable the enum to be forward
1922         declared.
1923
1924 2004-05-12  Angus Leeming  <leeming@lyx.org>
1925
1926         * buffer.C: up LYX_FORMAT to 234.
1927         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1928         use_numerical_citations with a single biblio::CiteEngine cite_engine
1929         variable.
1930         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1931
1932 2004-05-13  José Matos  <jamatos@lyx.org>
1933
1934         * converter.h:
1935         * converter.C (Converter, readFlags): add xml member.
1936         * outputparams.h: add XML flavor.
1937         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1938
1939 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1940
1941         * lyxfunc.C (dispatch):
1942         (getStatus): fix handling of LFUN_SEQUENCE
1943
1944 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1945
1946         * debug.C (showLevel): do not forget the end-of-line marker
1947
1948 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1949
1950         * kbmap.C (read): do not stop parsing a bind file when an error
1951         occurs (bug 1575)
1952
1953 2004-04-29  Angus Leeming  <leeming@lyx.org>
1954
1955         * cursor.C:
1956         * factory.C:
1957         * pariterator.C:
1958         * text2.C: wrap a bunch of #warning statements
1959         inside #ifdef WITH_WARNINGS blocks.
1960
1961 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1962
1963         * buffer.C: increment format to 233.
1964
1965 2004-04-28  Angus Leeming  <leeming@lyx.org>
1966
1967         * BufferView_pimpl.C:
1968         * lyxfunc.C:
1969         * text3.C:
1970         s/updateToolbar()/updateToolbars()/
1971         s/Toolbar.h/Toolbars.h/
1972
1973 2004-04-28  Angus Leeming  <leeming@lyx.org>
1974
1975         * BufferView.[Ch] (c-tor):
1976         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1977         No longer passes these data to the WorkArea generator.
1978
1979 2004-04-28  Angus Leeming  <leeming@lyx.org>
1980
1981         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1982
1983 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1984
1985         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1986
1987 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1988
1989         * output_latex.C (TeXEnvironment): make sure that there is a line
1990         break before \end{foo} for the last paragraph of a document
1991         (TeXOnePar): if the paragraph is at the end of the document (or
1992         inset) and the language has to be reset, then make sure that the
1993         line break is _before_ the language command, not after (fixes bug
1994         1225); also make sure that the language reset command is the first
1995         thing after the paragraph (to ensure proper nesting of
1996         environments and thus fix bug 1404)
1997
1998 2004-04-21  John Levon  <levon@movementarian.org>
1999
2000         * ToolbarBackend.h:
2001         * ToolbarBackend.C: make "name" be a programmatic name
2002         and a gui_name field.
2003
2004         * lyxfunc.C: display the minibuffer on M-x
2005
2006 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2007
2008         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2009         (bug 1526)
2010
2011 2004-04-19  Angus Leeming  <leeming@lyx.org>
2012
2013         * BufferView_pimpl.C (setBuffer): changed preview interface.
2014
2015         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2016         possible values.
2017
2018 2004-04-19  John Levon  <levon@movementarian.org>
2019
2020         * BufferView_pimpl.C:
2021         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2022
2023 2004-04-05  Angus Leeming  <leeming@lyx.org>
2024
2025         * text.C (redoParagraphs): add call to updateCounters(), thereby
2026         fixing the missing "Figure #:" label from the caption of a
2027         figure float.
2028
2029 2004-04-13  Angus Leeming  <leeming@lyx.org>
2030
2031         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2032         cursor is clicked out of an inset.
2033
2034 2004-04-13  Angus Leeming  <leeming@lyx.org>
2035
2036         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2037         than an InsetOld one.
2038
2039 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2040
2041         * format.[Ch]: add editor to Format
2042         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2043         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2044
2045 2004-04-08  André Pönitz  <poenitz@gmx.net>
2046
2047         * metricsinfo.h: remove PainterInfo::width member
2048
2049 2004-04-08  Angus Leeming  <leeming@lyx.org>
2050
2051         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2052         "\providecommand" rather than "\newcommand", thereby preventing
2053         clashes with packages that define "\boldsymbol" themselves.
2054         Eg, beamer.
2055
2056 2004-04-08  Angus Leeming  <leeming@lyx.org>
2057
2058         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2059         thereby squashing an unnecessary warning.
2060
2061 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2062
2063         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2064         setBuffer()
2065
2066 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2067
2068         * BufferView.C (setCursor): call redoParagraph (some insets could
2069         have been opened)
2070         (putSelectionAt): remove the 'double update' trick
2071
2072         * BufferView_pimpl.C (fitCursor): call refreshPar
2073         (workAreaDispatch): remove an uneeded update call
2074         (dispatch): remove some manual update calls
2075
2076         * cursor.[Ch]: remove cached_y_, updatePos
2077         (selHandle): set noUpdate when appropriate
2078
2079         * lyxfunc.C (dispatch): track if we need an update
2080
2081         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2082
2083         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2084         (paintSelection): cheap optimization, do not call cursorX when not
2085         needed
2086         (paintPars): change signature
2087         (refreshPar): add
2088         (paintText): adjust
2089         (paintTextInset): adjust
2090
2091         * text.C: adjust
2092
2093 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2094
2095         * lengthcommon.C: compilation fix: remove explicit array size from
2096         unit_name[] and friends
2097
2098 2004-04-05  Angus Leeming  <leeming@lyx.org>
2099
2100         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2101
2102         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2103         present only for the preferences dialog.
2104         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2105
2106 2004-04-05  Angus Leeming  <leeming@lyx.org>
2107
2108         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2109         to enable the frontends to export changes to lyxrc correctly.
2110
2111         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2112
2113 2004-04-07  André Pönitz  <poenitz@gmx.net>
2114
2115         * cursor.[Ch] (selClear, adjust): remove math
2116
2117         * cursor_slice.C: more agressive assert
2118
2119         * lyxfunc.C:
2120         * BufferView_pimpl.C: rework mouse event dispatch
2121
2122         * dociterator.C:
2123         * paragraph.C:
2124         * text2.C:
2125         * text3.C: adjust
2126
2127 2004-04-05  André Pönitz  <poenitz@gmx.net>
2128
2129         * cursor.[Ch] (valign, halign...): remove unneeded functions
2130
2131 2004-04-05  Angus Leeming  <leeming@lyx.org>
2132
2133         * lyxlength.[Ch] (unit_name et al.): const-correct.
2134
2135 2004-04-05  Angus Leeming  <leeming@lyx.org>
2136
2137         * BufferView_pimpl.C:
2138         * buffer.C:
2139         * counters.C:
2140         * cursor.C:
2141         * lyxfunc.C
2142         * paragraph.C:
2143         * pariterator.C:
2144         * text.C:
2145         * text2.C:
2146         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2147
2148 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2149
2150         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2151
2152 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2153
2154         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2155         * BufferView_pimpl.[Ch] (getStatus)
2156         * BufferView.[Ch] (getStatus): add
2157         * lyxfunc.C (getStatus): move lfuns handled in
2158         BufferView::dispatch to te function above
2159         * Cursor.C (setSelection): set selection() = true
2160
2161 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2162
2163         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2164
2165 2004-03-31  Angus Leeming  <leeming@lyx.org>
2166
2167         * lyxfunc.C (dispatch): Fall through to the generic
2168         Dialogs::show("preamble").
2169
2170 2004-03-31  Angus Leeming  <leeming@lyx.org>
2171
2172         * lyxfunc.C (dispatch): Fall through to the generic
2173         Dialogs::show("spellchecker").
2174
2175 2004-03-31  Angus Leeming  <leeming@lyx.org>
2176
2177         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2178         preferences dialog.
2179
2180 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2181
2182         * BufferView.C
2183         * cursor.[Ch]
2184         * dociterator.[Ch]:
2185         * insetiterator.[Ch]:
2186         * lyxfind.C:
2187         * lyxfunc.C:
2188         * pariterator.[Ch]:
2189         * text2.C:
2190         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2191
2192 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2193
2194         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2195         insets where we are putting the cursor.
2196
2197 2004-03-31  Angus Leeming  <leeming@lyx.org>
2198
2199         * lfuns.h:
2200         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2201
2202         * lyxrc.[Ch] (read, write): overloaded member functions taking
2203         a std::[io]stream arguments.
2204
2205         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2206
2207 2004-03-31  Angus Leeming  <leeming@lyx.org>
2208
2209         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2210         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2211
2212         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2213         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2214
2215 2004-03-31  Angus Leeming  <leeming@lyx.org>
2216
2217         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2218         the LFUN_ALL_INSETS_TOGGLE code.
2219
2220 2004-03-30  Angus Leeming  <leeming@lyx.org>
2221
2222         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2223         has died. Fall through to the generic Dialogs::show("document").
2224
2225 2004-03-30  Angus Leeming  <leeming@lyx.org>
2226
2227         * lfuns.h:
2228         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2229         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2230
2231         * lyxfunc.C (getStatus, dispatch): define the actions for these
2232         lfuns. Little more than a cut and pste job from ControlDocument.C
2233
2234         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2235
2236 2004-03-30  Angus Leeming  <leeming@lyx.org>
2237
2238         * lfuns.h:
2239         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2240         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2241
2242         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2243         open/closed state of ollapsable insets. Usage:
2244
2245         all-inset-toggle <state> <name>, where
2246         <state> == "open" || "closed" || "toggle" and
2247         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2248
2249         * lyxtext.h, text2.C (toggleInset): removed.
2250
2251         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2252         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2253         now passes LFUN_INSET_TOGGLE to the found inset.
2254
2255         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2256         is now invoked as "all-insets-toggle toggle branch".
2257
2258 2004-03-30  Angus Leeming  <leeming@lyx.org>
2259
2260         * dociterator.C:
2261         * insetiterator.C:
2262         * pariterator.[Ch]: added/corrected header blurb.
2263
2264 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2265
2266         * dociterator.[Ch]: add an inset_ member
2267         (backwardPos): implemented
2268         (backwardPos, forwardPos): use inset_ when the stack is empty.
2269         (doc_iterator_begin, doc_iterator_end): implemented
2270         * pariterator.[Ch]: adjust, add begin, end
2271         * insetiterator.[Ch]: adjust, add begin, end
2272         * cursor.C:
2273         * document.C:
2274         * BufferView.C:
2275         * BufferView_pimpl.C:
2276         * CutAndPaste.C: adjust
2277
2278 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2279
2280         * buffer.C: increment file format to 232.
2281         * LaTeXFeatures.C: add bibtopic package.
2282         * bufferparams.[Ch]: param \use_bibtopic.
2283
2284         * lyxrc.[Ch]: add lyxrc bibtex_command
2285         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2286
2287         * buffer.C: increment file format to 231.
2288
2289 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2290
2291         * dociterator.C: implement forwardPar
2292         * iterators.[Ch]: remove, replaced by
2293         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2294         * BufferView.C:
2295         * BufferView_pimpl.C:
2296         * CutAndPaste.C:
2297         * buffer.C:
2298         * bufferview_funcs.C:
2299         * cursor.C:
2300         * lyxfind.C
2301         * lyxfunc.C
2302         * paragraph_funcs.C
2303         * toc.C:
2304         * Makefile.am: adjust
2305
2306 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2307
2308         * CutAndPaste.C (pasteSelection): fix 2 crashes
2309         (eraseSelection): fix a crash
2310         * paragraph_funcs.C: remove a warning
2311
2312 2004-03-28  Angus Leeming  <leeming@lyx.org>
2313
2314         * lfuns.h:
2315         * LyXAction.C (init): new LFUN_PRINT.
2316
2317         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2318
2319 2004-03-27  Angus Leeming  <leeming@lyx.org>
2320
2321         * lfuns.h:
2322         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2323
2324         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2325
2326 2004-03-27  Angus Leeming  <leeming@lyx.org>
2327
2328         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2329         insetlist always contains non-null pointers to insets.
2330
2331 2004-03-26  Angus Leeming  <leeming@lyx.org>
2332
2333         * src/BufferView_pimpl.C:
2334         * src/CutAndPaste.C:
2335         * src/buffer.C:
2336         * src/iterators.C:
2337         * src/output_plaintext.C:
2338         * src/outputparams.h:
2339         * src/paragraph_funcs.C:
2340         * src/rowpainter.C:
2341         * src/text.C:
2342         * src/text2.C:
2343         * src/frontends/controllers/ControlErrorList.C:
2344         * src/frontends/gtk/FileDialogPrivate.C:
2345         * src/frontends/gtk/GPainter.C:
2346         * src/frontends/gtk/GToolbar.C:
2347         * src/frontends/qt2/QRef.C:
2348         * src/mathed/math_scriptinset.C: squash compiler warnings.
2349
2350 2004-03-26  Angus Leeming  <leeming@lyx.org>
2351
2352         * ispell.C (LaunchIspell::start):
2353         * lyx_cb.C (AutoSaveBuffer::start):
2354         invoke run(DontWait) rather than runNonBlocking().
2355
2356 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2357
2358         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2359
2360 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2361
2362         * kbsequence.C (print): adjust
2363
2364         * kbmap.C (printKeySym): rename and change signature
2365         (printKey): use LyXKeySym::print()
2366
2367 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2368
2369         * undo.C: add using std::advance to compile for stlport
2370
2371 2004-03-24  Angus Leeming  <leeming@lyx.org>
2372
2373         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2374         it leads to a crash when no buffer is present.
2375
2376 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2377             Martin Vermeer  <martin.vermeer@hut.fi>
2378
2379         * lyxfunc.C (dispatch):
2380         * bufferparams.C (readToken): use the new LColor::setColor
2381
2382         * LColor.[Ch] (setColor): new version that takes two strings as
2383         argument and creates a new color entry if necessary
2384
2385 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2386
2387         * buffer.C (makeLaTeXFile): if the main latex file that is
2388         processed is usually a subdocument of some master, then pretend
2389         for a while that it is actually the master
2390
2391 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2392
2393         * buffer.C (getLabelList):
2394         (getBibkeyList): use getMasterBuffer()
2395         (getMasterBuffer): new method. Returns the main document in the
2396         case where one is using included documents.
2397
2398 2004-03-25  André Pönitz  <poenitz@gmx.net>
2399
2400         * Makefile.am:
2401         * iterators.[Ch]:
2402         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2403
2404         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2405
2406         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2407         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2408
2409         * ParameterStruct.h: merge with ParagraphParameters
2410
2411         * lyxtext.h: remove LyXText::parOffset() and getPar()
2412
2413         * text3.C: Remove all 'manual' update calls. We do now one per user
2414         interaction which is completely sufficient.
2415
2416         * Bidi.C:
2417         * BufferView.[Ch]:
2418         * BufferView_pimpl.C:
2419         * FontIterator.[Ch]:
2420         * MenuBackend.C:
2421         * ParagraphParameters.[Ch]:
2422         * buffer.C:
2423         * buffer.h:
2424         * bufferlist.C:
2425         * cursor.[Ch]:
2426         * cursor_slice.[Ch]:
2427         * dociterator.[Ch]:
2428         * errorlist.[Ch]:
2429         * factory.C:
2430         * lfuns.h:
2431         * lyxfind.C:
2432         * lyxfunc.C:
2433         * output_docbook.[Ch]:
2434         * output_latex.[Ch]:
2435         * output_linuxdoc.[Ch]:
2436         * output_plaintext.[Ch]:
2437         * paragraph.[Ch]:
2438         * paragraph_funcs.[Ch]:
2439         * paragraph_pimpl.[Ch]:
2440         * rowpainter.C:
2441         * tabular.[Ch]:
2442         * text.C:
2443         * text2.C:
2444         * toc.C:
2445         * undo.[Ch]: adjust
2446
2447         * frontends/controllers/ControlDocument.C:
2448         * frontends/controllers/ControlErrorList.C:
2449         * frontends/controllers/ControlSpellchecker.C:
2450         * insets/inset.C:
2451         * insets/inset.h:
2452         * insets/insetbase.h:
2453         * insets/insetbibitem.C:
2454         * insets/insetbox.C:
2455         * insets/insetbranch.C:
2456         * insets/insetcaption.C:
2457         * insets/insetcharstyle.C:
2458         * insets/insetcharstyle.h:
2459         * insets/insetcollapsable.C:
2460         * insets/insetcollapsable.h:
2461         * insets/insetert.C:
2462         * insets/insetfloat.C:
2463         * insets/insetfoot.C:
2464         * insets/insetmarginal.C:
2465         * insets/insetnote.C:
2466         * insets/insetoptarg.C:
2467         * insets/insettabular.C:
2468         * insets/insettext.C:
2469         * insets/insettext.h:
2470         * insets/insetwrap.C:
2471         * mathed/math_mboxinset.C:
2472         * mathed/math_nestinset.C:
2473         * mathed/math_scriptinset.C:
2474         * mathed/math_scriptinset.h:
2475         * support/types.h:
2476
2477 2004-03-24  Angus Leeming  <leeming@lyx.org>
2478
2479         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2480         deal with any child processes that have finished but are waiting to
2481         communicate this fact to the rest of LyX.
2482
2483 2004-03-24  Angus Leeming  <leeming@lyx.org>
2484
2485         64-bit compile fixes.
2486
2487         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2488         (c-tor): pass lyx::pos_types rather than ints.
2489
2490         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2491         lyx::pos_type.
2492
2493         * text.C (Delete): compile fix.
2494         (getPar): ensure that function declaration is the same as that in
2495         the header file.
2496
2497 2004-03-23  Angus Leeming  <leeming@lyx.org>
2498
2499         * ispell.C (LaunchIspell):
2500         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2501         a boost::shred_ptr rather than a std::auto_ptr.
2502
2503 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2504
2505         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2506         handle LFUN_FILE_INSERT_*
2507
2508         * lyxrc.C (setDefaults, getDescription, output, read):
2509         * lyxrc.h: remove ps_command
2510
2511 2004-03-22  Angus Leeming  <leeming@lyx.org>
2512
2513         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2514         Ensure that error_handler is processed once only and that all data
2515         is saved before attempting to output any warning messages.
2516
2517         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2518
2519 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2520
2521         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2522
2523 2004-03-19  André Pönitz  <poenitz@gmx.net>
2524
2525         * cursor.[Ch] (reset): take main text inset as argument
2526
2527         * BufferView: adjust
2528         * BufferView_pimpl.C: adjust
2529
2530         * paragraph.[Ch]: fix completely broken operator=()
2531
2532 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2533
2534         * LColor.C (getFromLyXName): make sure that the color name is used
2535         as lowercase.
2536
2537 2004-03-17  Angus Leeming  <leeming@lyx.org>
2538
2539         * lfuns.h:
2540         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2541
2542         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2543         dialog and to kill a forked process.
2544
2545 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2546
2547         * text2.C (setCursorFromCoordinates): fix font problem
2548
2549 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2550
2551         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2552         bogus "rebuild cursor" code
2553
2554 2004-03-11  André Pönitz  <poenitz@gmx.net>
2555
2556         * buffer.[Ch]: use InsetText instead of LyXText as container for
2557         the main lyx text.
2558
2559         * dociterator.[Ch]: drop the BufferView * member which is not needed
2560         anymore after the change to buffer.C
2561
2562         * paragraph_funcs.C:
2563         * text.C:
2564         * text2.C:
2565         * BufferView.[Ch]:
2566         * BufferView_pimpl.[Ch]:
2567         * cursor.[Ch]:
2568         * cursor_slice.[Ch]: adjust
2569
2570         * text3.C: fix bug in mathDispatch
2571
2572 2004-03-08  André Pönitz  <poenitz@gmx.net>
2573
2574         * undo.[Ch]: use 'StableDocumentIterator' as base for
2575         the Undo struct.
2576
2577 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2578
2579         * LaTeXFeatures.C:
2580         * bufferparams.[Ch]: add jurabib support and param.
2581
2582         * LaTeX.C: add FIXME/comment.
2583
2584 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2585
2586         * buffer.C: increment file format to 230.
2587
2588 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2589
2590         * cursor.C (dispatch): avoid infinite loops
2591
2592 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2593
2594         * rowpainter.C (paintSelection): fix x coordinates
2595
2596 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2597
2598         * text.C (rowBreakPoint): fix breaking before displayed insets
2599
2600 2004-03-01  André Pönitz  <poenitz@gmx.net>
2601
2602         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2603
2604         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2605
2606         * Makefile.am:
2607         * BufferView.C:
2608         * BufferView_pimpl.C:
2609         * buffer.C:
2610         * lyxfind.C:
2611         * lyxfunc.C:
2612         * text.C:
2613         * text2.C:
2614         * text3.C: adjust
2615
2616 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2617
2618         * lyxtext.h:
2619         * text.C:
2620         * text2.C:
2621         * rowpainter.C:
2622         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2623         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2624
2625 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2626
2627         * Bidi.[Ch] (computeTables): const correctness
2628         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2629         fill_hfill, fill_label_hfill and x from Row
2630         * lyxtext.h: prepareToPrint returns a RowMetrics
2631         * rowPainter.C: adjust
2632         * text.C (prepareToPrint): use width, not textWidth. adjust
2633         (redoParagraphInternal, cursorX): adjust
2634         * text2.C (getColumnNearX): adjust
2635         (init): put a default value to the top LyXText::width
2636
2637 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2638
2639         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2640
2641 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2642
2643         * lyxtext.h: add FontIterator class
2644
2645         * text.C (FontIterator, operator*, operator->, operator++): add
2646         (rowBreakPoint, setRowWidth): adjust (fixing a
2647         rebreaking bug)
2648
2649 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2650
2651         * BufferView_pimpl.C (workAreaDispatch): allow also
2652         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2653
2654 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2655
2656         * text.C (rowBreakPoint): fix a bug showing with very large insets
2657
2658 2004-02-25  André Pönitz  <poenitz@gmx.net>
2659
2660         * text3.C:
2661         * cursor.[Ch]: move some mathed specific code to mathed
2662
2663 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2664
2665         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2666         use_tempdir in preferences
2667         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2668         tempfile creation
2669         * lyx_main.C: ensure that tempdir is valid
2670         * lyxlex.h: correct typo
2671         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2672         * paragraph.[Ch] (isMultiLingual): make const
2673         * cursor.[Ch] (openable): make const
2674
2675 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2676
2677         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2678
2679 2004-02-20  André Pönitz  <poenitz@gmx.net>
2680
2681         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2682
2683         * cursor.[Ch]: prepare for localized getStatus()
2684
2685         * lyxtext.h:
2686         * tabular.C:
2687         * text.C:
2688         * text2.C:
2689         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2690
2691 2004-02-20  André Pönitz  <poenitz@gmx.net>
2692
2693         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2694
2695 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2696
2697         * text2.C (setCursorFromCoordinates): switch to absolute coords
2698         (cursorUp): adjust
2699         (cursorDown): adjust
2700         * text3.C (dispatch): adjust
2701
2702 2004-02-16  André Pönitz  <poenitz@gmx.net>
2703
2704         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2705           insets/ChangeLog)
2706
2707         * cursor_slice.[Ch]: remove unneeded acessor function
2708
2709         * lyxtext.h: rename rtl() to isRTL()
2710
2711         * rowpainter.C:
2712         * tabular.C:
2713         * text.C:
2714         * text2.C:
2715         * text3.C: adjust
2716
2717 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2718
2719         * rowpainter.C (paintSelection): coord fix
2720
2721 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2722
2723         * Spacing.C: compile fix
2724
2725 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2726
2727         * cursor.C (dispatch): restore current_ before returning
2728
2729 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2730
2731         * text2.C (cursorUp, cursorDown): fix coords
2732         (moveUp): fix crash
2733
2734 2004-02-12  André Pönitz  <poenitz@gmx.net>
2735
2736         * lyxtext.h:
2737         * text.C:
2738         * text2.C:
2739         * text3.C: add LCursor & parameter to most cursor movement functions
2740           remove usage of LyXText::cursorRow() and cursorPar()
2741
2742         * cursor.[Ch]: add textRow() needed members
2743
2744         * BufferView.C:
2745         * BufferView_pimpl.C:
2746         * paragraph.[Ch]:
2747         * BufferView.C:
2748         * BufferView_pimpl.C: adjust
2749
2750 2004-02-11  André Pönitz  <poenitz@gmx.net>
2751
2752         * lyxfunc.C:
2753         * BufferView.[Ch]:
2754         * BufferView_pimpl.C: shift undo/redo handling
2755
2756         * cursor.[Ch]: fix mathed crash
2757
2758         * lyxfind.C:
2759         * lyxtext.h: move selectionAsText to LCursor
2760
2761         * output_latex.C:
2762         * paragraph.C:
2763         * text.C:
2764         * text2.C:
2765         * text3.C: adjust
2766
2767         * rowpainter.C: fix excessive drawing
2768
2769 2004-02-06  André Pönitz  <poenitz@gmx.net>
2770
2771         * BufferView.[Ch]:
2772         * BufferView_pimpl.[Ch]:
2773         * text3.C: move some text specific LFUN handling
2774
2775 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2776
2777         * text3.C (checkInsetHit): adjust coords
2778         * text2.C (getColumnNearX): adjust coords
2779         (edit): adjust coords
2780         * text.C (getRowNearY): add two asserts
2781
2782 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2783
2784         * converter.C:
2785         * format.C: add using std::distance to compile on gcc 2.95/stlport
2786
2787 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2788
2789         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2790
2791 2004-02-04  André Pönitz  <poenitz@gmx.net>
2792
2793         * BufferView.[Ch] (insertInset):
2794         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2795
2796         * text2.C:
2797         * text3.C: adjust
2798
2799 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2800
2801         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2802         on the default clause of the switch
2803         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2804         wasn't catched by LCursor::dispatch
2805
2806 2004-02-03  André Pönitz  <poenitz@gmx.net>
2807
2808         * BufferView.C:
2809         * cursor.[Ch]: some additional asserts
2810
2811         * undo.[Ch]: remove LyXText dependency in interface
2812
2813         * lyxfunc.C: adjust
2814
2815         * lyxtext.h (firstPar, lastPar): remove dead functions
2816
2817         * text.C:
2818         * text2.C:
2819         * text3.C:
2820         * paragraph.[Ch]: adjust
2821
2822 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2823
2824         * lyxfind.C (find): fix argument order in call to ::find
2825
2826 2004-02-02  André Pönitz  <poenitz@gmx.net>
2827
2828         * cursor.[Ch]: remove direct access to anchor
2829
2830         * text.C: remove findText() hack
2831
2832 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2833
2834         * iterators.[Ch] (lockPath): remove in favour of...
2835         * BufferView.[Ch] (setCursor): this addition
2836         * BufferView.C (putSelectionAt): adjust
2837         * undo.C (performUndoOrRedo): adjust
2838         * lyxfunc.C (dispatch): adjust
2839
2840 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2841
2842         * iterators.C (lockPath): add a missing slice
2843         * undo.C (performUndoOrRedo): remove redundant positioning code
2844
2845 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2846
2847         * vc-backend.C (scanMaster): ";" -> ';'
2848
2849 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2850
2851         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2852         std::binary_function
2853
2854         * lyxtextclass.C (compare_name): rename to...
2855         (LayoutNamesEqual): ...this
2856
2857         * lyxlex_pimpl.C (compare_tags): inherit from
2858         std::binary_function, put back into anon namespace
2859
2860         * lyxfind.C (MatchString): inherig from std::binary_function
2861         (findChange): use empty() istead of !size()
2862
2863         * format.C (FormatNamesEqual): new functor
2864         (getFormat): use it
2865         (getNumber): use it
2866         (add): use it
2867         (erase): use it
2868         (setViewer): use it
2869
2870         * converter.C (compare_Converter): rename to...
2871         (ConverterEqual): ...this, and fixup a bit.
2872         (getConverter): use it, and make function const
2873         (getNumber): use it, and make function const
2874         (add): use it
2875         (erase): use it:
2876
2877         * bufferlist.C: add using boost::bind
2878
2879         * MenuBackend.C (MenuNamesEqual): new functor
2880         (hasMenu): use it, and make function const
2881         (hasSubmenu): use nested bind to get rid of compare_memfun.
2882
2883 2004-01-30  André Pönitz  <poenitz@gmx.net>
2884
2885         * BufferView_pimpl.C:
2886         * cursor.C:
2887         * cursor.h:
2888         * cursor_slice.[Ch]:
2889         * lyxfunc.C:
2890         * lyxtext.h:
2891         * paragraph_funcs.C:
2892         * paragraph_funcs.h:
2893         * rowpainter.C:
2894         * text.C:
2895         * text2.C:
2896         * text3.C: move some of the edit(x,y) handling to the insets
2897         some coordinate changes.
2898
2899 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2900
2901         * text.C: add using statements for std::advance and std::distance
2902
2903         * paragraph.C: add using statement for std::distance
2904
2905         * lyxfind.C: add using statement for std::advance
2906
2907         * cursor.C (region): remove std:: from swap
2908         (openable): use nucleus in stead of operator->
2909
2910         * BufferView.C: add using statements for std::distance and std::swap
2911
2912 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2913
2914         * iterators.C: Remove the pimple, move the needed structures to
2915         the header file. Create accessor for the positions stack.
2916         (asPosIterator): remove function
2917
2918         * PosIterator.C (PosIterator): move constructors to top of file
2919         (PosIterator): reimplement the constructor taking a ParIterator in
2920         terms of setFrom.
2921         (setFrom): new function
2922         (operator!=): inline it
2923
2924 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2925
2926         * lyxfind.C (replaceAll): use std::advance
2927
2928         * iterators.h: inherit from std::iterator.
2929
2930         * PosIterator.C (advance, distance): remove
2931         * PosIterator.h: interit from std::iterator.
2932
2933 2004-01-26  André Pönitz  <poenitz@gmx.net>
2934
2935         * BufferView.[Ch]:
2936         * BufferView_pimpl.[Ch]:
2937         * InsetList.[Ch]:
2938         * PosIterator.[Ch]:
2939         * buffer.h:
2940         * bufferview_funcs.C:
2941         * cursor.[Ch]:
2942         * cursor_slice.h:
2943         * factory.[Ch]:
2944         * iterators.[Ch]:
2945         * lyxfind.C:
2946         * lyxfunc.C:
2947         * lyxtext.h:
2948         * output_docbook.C:
2949         * output_latex.C:
2950         * output_linuxdoc.C:
2951         * output_plaintext.C:
2952         * paragraph.[Ch]:
2953         * paragraph_funcs.[Ch]:
2954         * paragraph_pimpl.[Ch]:
2955         * rowpainter.C:
2956         * tabular.C:
2957         * tabular.h:
2958         * text.C:
2959         * text2.C:
2960         * text3.C: more IU:  dumps most of the rest of the mathcursor
2961     implementation into cursor.[Ch]; "globalize" a bit of it.
2962
2963 2004-01-25  Angus Leeming  <leeming@lyx.org>
2964
2965         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2966
2967 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2968
2969         * LaTeXFeatures.h: add nice_ and nice() const
2970         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2971
2972 2004-01-20  André Pönitz  <poenitz@gmx.net>
2973
2974         * BufferView.[Ch]:
2975         * BufferView_pimpl.C:
2976         * PosIterator.C:
2977         * bufferview_funcs.C:
2978         * cursor.[Ch]:
2979         * cursor_slice.[Ch]:
2980         * factory.C:
2981         * iterators.C:
2982         * lyx_cb.C:
2983         * lyxfind.C:
2984         * lyxfunc.C:
2985         * lyxtext.h:
2986         * rowpainter.C:
2987         * text.C:
2988         * text2.C:
2989         * text3.C:
2990         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2991           LCursor and mathcursor parts to LCursor and InsetBase.
2992
2993 2004-01-15  André Pönitz  <poenitz@gmx.net>
2994
2995         * cursor_slice.[Ch]: add a few covienience functions
2996
2997         * funcrequest.[Ch]: remove BufferView * member
2998
2999         * BufferView_pimpl.C:
3000         * cursor.C:
3001         * factory.[Ch]:
3002         * lyxfind.[Ch]:
3003         * lyxfunc.C:
3004         * lyxtext.h:
3005         * text3.C:
3006         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3007
3008 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3009
3010         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3011         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3012
3013 2004-01-13  André Pönitz  <poenitz@gmx.net>
3014
3015         * textcursor.[Ch]:
3016         * lyxtext.h: hide cursor and selection anchor behind accessor function
3017
3018         * BufferView.C:
3019         * BufferView_pimpl.[Ch]:
3020         * PosIterator.C:
3021         * bufferview_funcs.C:
3022         * cursor.h:
3023         * lyxfind.C:
3024         * lyxfunc.C:
3025         * text.C:
3026         * text2.C:
3027         * text3.C:
3028         * undo.C: adjust
3029
3030         * cursor.h:
3031         * cursor_slice.[Ch]: some integer type changes for inset unification
3032
3033         * lyxcursor.[hC]: remove, it's CursorSlice now.
3034
3035         * Makefile.am:
3036         * BufferView_pimpl.[Ch]:
3037         * bufferview_funcs.C:
3038         * cursor_slice.C:
3039         * lyxtext.h:
3040         * text.C:
3041         * text2.C:
3042         * text3.C:
3043         * textcursor.[Ch]: adjust
3044
3045 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3046
3047         * text2.C (undoSpan): add and use
3048         * text.C (breakParagraph): use undoSpan (fix bug 578)
3049         * lyxtext.h: adjust
3050
3051 2004-01-08  Angus Leeming  <leeming@lyx.org>
3052
3053         * BufferView_pimpl.C (MenuInsertLyXFile):
3054         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3055         * lyxfunc.C (menuNew, open, doImport):
3056         FileFilterList change to the FileDialog open and save functions.
3057
3058 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3059
3060         * ShareContainer.h: make isEqual and isUnique adaptable
3061
3062         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3063
3064 2004-01-07  Angus Leeming  <leeming@lyx.org>
3065
3066         * LyXAction.C:
3067         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3068
3069         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3070
3071         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3072         functions replacing find, replace and replaceAll.
3073
3074         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3075         LFUN_WORDFIND(FORWARD|BACKWARD).
3076
3077 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3078
3079         * text.C (breakParagraph): remove an outdated #warning
3080
3081 2004-01-07  André Pönitz  <poenitz@gmx.net>
3082
3083         * lyxfind.C: somewhat clearer logic
3084
3085         * text.C: prevent crash in cursorX on unitialized row cache
3086
3087 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3088
3089         * lyxcursor.[Ch] (operator>): add
3090         * textcursor.C (selStart, selEnd): use std::min and std::max
3091
3092 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3093
3094         * Chktex.C: include boost/format.hpp
3095
3096 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3097
3098         * InsetList.C: replace functor MathcIt with adaptable functor
3099         InsetTablePosLess
3100         (insetIterator): modify accordingly
3101
3102         * BranchList.h: move the BranchNamesEqual functor here from...
3103         * BranchList.C: ... to here
3104
3105         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3106         SameName and match.
3107         (add): replace a finding loop with std::find_if.
3108
3109 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3110
3111         * output_docbook.C: moving LatexParam functionality into
3112         .layout files
3113
3114 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3115
3116         * buffer.C: increment format to 229.
3117
3118 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3119
3120         * LaTeXFeatures.C:
3121         * lyx_sty.[Ch]: remove minipageindent_def
3122
3123         * LyXAction.C:
3124         * factory.C:
3125         * lfuns.h:
3126         * lyxfunc.C:
3127         * text3.C: remove LFUN_INSET_MINIPAGE
3128
3129 2003-12-28  Angus Leeming  <leeming@lyx.org>
3130
3131         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3132
3133 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3134
3135         * text2.C (setParagraph): fix off-by-one crash
3136
3137 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3138
3139         * output_docbook.C: header stuff for AGU
3140
3141 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3142
3143         * text2.C (redoCursor): remove
3144         * text.C:
3145         * text3.C:
3146         * BufferView_pimpl.C: remove calls to redoCursor and
3147         setCursor(cursor.par(), cursor.pos()) all around
3148
3149 2003-12-15  Angus Leeming  <leeming@lyx.org>
3150
3151         * buffer.C: up the format to 228.
3152
3153 2003-12-15  André Pönitz  <poenitz@gmx.net>
3154
3155         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3156         slices
3157
3158         * Makefile.am:
3159
3160         * BufferView_pimpl.C:
3161         * cursor.[Ch]:
3162         * lyxcursor.[Ch]:
3163         * rowpainter.[Ch]:
3164         * lyxtext.h:
3165         * text.C:
3166         * text2.C:
3167         * text3.C: adjust
3168
3169 2003-12-15  Angus Leeming  <leeming@lyx.org>
3170
3171         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3172         than getFromGUIName to manipulate the color.
3173
3174 2003-12-14  Angus Leeming  <leeming@lyx.org>
3175
3176         * BranchList.[Ch]: minimize the API.
3177         (Branch::getBranch, getColor): now return a 'const &'.
3178         (Branch::setSelected) now returns a bool set to true if the
3179         selection status changes.
3180         (BranchList::clear, size, getColor, setColor, setSelected,
3181         allBranches, allSelected, separator): removed.
3182         (BranchList::find): new functions, returning the Branch with
3183         the given name.
3184         (BranchList::add, remove): return a bool indicating that
3185         the operation was successful.
3186
3187         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3188         new InsetBranch::isBranchSlected member function.
3189
3190         * LColor.[Ch]: mimimize the API.
3191         (fill): renamed as addColor and made private.
3192         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3193         versions of these functions taking a string arg have been removed.
3194
3195         * bufferparams.C (readToken):
3196         * lyxfunc.C (dispatch):
3197         * lyxrc.C (read): changes due to the altered BranchList and
3198         LColor APIs.
3199
3200         * factory.C (createInset, readInset): changes due to altered
3201         InsetBranch c-tor.
3202
3203 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3204
3205         * factory.C:
3206         * lyxfunc.C: remove insetminipage. "minipage-insert"
3207         now produces a frameless minipage box inset.
3208
3209 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3210
3211         * textcursor.[Ch] (selStart,selEnd): add new methods
3212         remove selection::start, end, use LyXCursor::operator<
3213         * lyxcursor.[Ch] (operator<): add
3214         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3215         * BufferView.[Ch] (unsetXSel): add
3216         * text2.C (clearSelection): use unsetXSel,adjust
3217         * text.C: adjust
3218         * text3.C: adjust
3219         * rowpainter.C: adjust
3220         * bufferview_funcs.C (put_selection_at): adjust
3221
3222 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3223
3224         * BufferView_pimpl.C: small coord. correction
3225
3226 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3227
3228         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3229         dragging over the splash screen.
3230
3231 2003-12-11  Angus Leeming  <leeming@lyx.org>
3232
3233         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3234         as it is now handled in LyXText::dispatch.
3235
3236         * text3.C (doInsertInset): remove a level of nesting.
3237
3238 2003-12-11  Angus Leeming  <leeming@lyx.org>
3239
3240         * factory.C (createInset): changes due to the changed interface to
3241         InsetCommandMailer::string2params.
3242
3243 2003-12-10  Angus Leeming  <leeming@lyx.org>
3244
3245         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3246         'dialog-show-new-inset <inset name>'
3247
3248 2003-12-10  Angus Leeming  <leeming@lyx.org>
3249
3250         * buffer.C: up the format to 227.
3251
3252         * factory.C: the box inset is now identified simply by 'Box'.
3253
3254 2003-12-10  Angus Leeming  <leeming@lyx.org>
3255
3256         * buffer.C: up the format to 226.
3257
3258         * factory.C: the note inset is now identified simply by 'Note'.
3259
3260 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3261
3262         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3263         when a pit is enough. Standarize a couple of loops.
3264
3265 2003-12-05  Angus Leeming  <leeming@lyx.org>
3266
3267         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3268         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3269         data to the re-worked "log" dialog.
3270
3271 2003-12-03  André Pönitz  <poenitz@gmx.net>
3272
3273         * PosIterator.C:
3274         * iterators.C:
3275         * lyxtext.h:
3276         * output_latex.C:
3277         * paragraph_funcs.C:
3278         * text.C:
3279         * text2.C: use Inset::getText instead of Inset::getParagraph
3280
3281 2003-12-03  André Pönitz  <poenitz@gmx.net>
3282
3283         * buffer.[Ch]:
3284         * lyxtext.h:
3285         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3286         InsetText::read() as LyXText::read()
3287
3288 2003-12-02  Angus Leeming  <leeming@lyx.org>
3289
3290         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3291         type. Add a comment in the implementation that the function uses
3292         the stream's bad() function rather than fail() as the std::streams
3293         would do.
3294
3295 2003-12-02  André Pönitz  <poenitz@gmx.net>
3296
3297         * lyxlex.[Ch]: make interface more similar to std::stream
3298
3299         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3300
3301 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3302
3303         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3304
3305 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3306
3307         * vspace.[Ch]: remove VSpace::NONE
3308
3309 2003-12-01  André Pönitz  <poenitz@gmx.net>
3310
3311         * buffer.[Ch]:
3312         * lyxtext.h: move ParagraphList member to LyXText
3313         rename LyXText::ownerParagraphs to LyXText::paragraph
3314
3315         * CutAndPaste.C:
3316         * bufferview_funcs.C:
3317         * iterators.[Ch]:
3318         * lyx_cb.C:
3319         * paragraph.C:
3320         * rowpainter.C:
3321         * tabular.C:
3322         * text.C:
3323         * text2.C:
3324         * text3.C: adjust
3325
3326         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3327
3328         * undo.C: fix cursor positioning
3329
3330 2003-12-01  John Levon  <levon@movementarian.org>
3331
3332         * BufferView_pimpl.C: fix a crash on exit with
3333         a buffer open
3334
3335 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3336
3337         * BranchList.C: fix setSelected() method.
3338
3339 2003-11-28  André Pönitz  <poenitz@gmx.net>
3340
3341         * ParagraphParameters.[Ch]:
3342         * ParameterStruct.h: remove space above/below from Paragraph to
3343          InsetVSpace
3344
3345         * BufferView_pimpl.C:
3346         * factory.C:
3347         * lyxfunc.C:
3348         * lyxtext.h:
3349         * output_latex.C:
3350         * paragraph.C:
3351         * paragraph_funcs.C:
3352         * rowpainter.[Ch]:
3353         * text.C:
3354         * text2.C:
3355         * text3.C: adjust
3356
3357 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3358
3359         * factory.C: Syntax change for CharStyles
3360
3361 2003-11-28  André Pönitz  <poenitz@gmx.net>
3362
3363         * BufferView.[Ch]:
3364         * BufferView.[Ch]:
3365         * buffer.[Ch]:
3366         * buffer.[Ch]: move LyXText member
3367
3368 2003-11-28  André Pönitz  <poenitz@gmx.net>
3369
3370         * BufferView.[Ch]: make LyXText * text a private member
3371
3372         * BufferView_pimpl.C:
3373         * cursor.C:
3374         * iterators.C:
3375         * lyx_cb.C:
3376         * lyxfind.C:
3377         * lyxtext.h:
3378         * rowpainter.[Ch]:
3379         * text.C:
3380         * text2.C:
3381         * undo.C: adjust
3382
3383         * output_plaintext.C: cleanup
3384
3385 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3386
3387         * buffer.C:
3388         * lyxtextclass.[Ch]: parametrize SGML document header
3389
3390 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3391
3392         * converter.[Ch]:
3393         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3394         getFlavor().
3395
3396 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3397
3398         * text2.C (setFont): rework using PosIterator (no more recursive)
3399         (setCharFont): no more needed
3400         (setLayout): no more selection cursors fiddling (done by redoCursor)
3401         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3402         destroy remaining ones)
3403
3404 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3405
3406         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3407         * lyxtext.h: ditto
3408         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3409         selection cursors
3410         * lyxfunc.C: adjust
3411         * text3.C: adjust + re-allow multi par depth changes
3412         * textcursor.C: simplify a bit
3413
3414 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3415
3416         * src/buffer.C:
3417         * src/lyxlayout.C:
3418         * src/lyxlayout.h:
3419         * src/lyxtext.h:
3420         * src/output_docbook.C:
3421         * src/output_latex.C:
3422         * src/paragraph.C:
3423         * src/paragraph.h:
3424         * src/sgml.C:
3425         * src/sgml.h:
3426         * src/text2.C: Introducing a number of tags parametrizing various
3427         XML formats that we may want to support
3428
3429 2003-11-25  André Pönitz  <poenitz@gmx.net>
3430
3431         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3432
3433         * lyxtext.h (leftMargin/rightMargin): simplify interface
3434
3435         * rowpainter.C:
3436         * text.C:
3437         * text2.C:
3438         * text3.C: adjust
3439
3440 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3441
3442         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3443         master file to any child files. Fixes bug 546.
3444
3445 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3446
3447         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3448
3449 2003-11-24  André Pönitz  <poenitz@gmx.net>
3450
3451         * rowpainter.C: simplification
3452
3453         * text2.C (updateCounters): remove call to redoParagraph on
3454         changed labels as this is far too expensive.
3455
3456 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3457
3458         * converter.C (convert): fix a crash: this function gets
3459         called with buffer == 0 from importer code.
3460
3461 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3462
3463         * text3.C (cursorPrevious): make sure that we do not compare
3464         iterators form different containers.
3465         (cursorNext): ditto
3466
3467         * rowpainter.C (paintSelection): make sure that we do not compare
3468         iterators from different containers.
3469
3470         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3471         iterators from different ParagraphList containers.
3472         [NEXT] ditto
3473
3474         * text2.C (LyXText): change order of initialization slightly
3475         (operator=): new function. copy all variables except cache_par_
3476         (moveUp): make sure that we do not compare iterators from
3477         different ParagraphList constainers.
3478         (moveDown): ditto
3479
3480         * text.C (firstPar): new function
3481         (lastPar): new function
3482         (endPar): new function
3483
3484         * lyxtext.h: move things around and group public functions, public
3485         variables, private functions, private variables
3486
3487 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3488
3489         * factory.C: change call to InsetERT constructor to avoid
3490         additional invocation of method status
3491         * text2.C (toggleInset): remove redundant update() call
3492         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3493         instead of a Bufferview pointer
3494
3495 2003-11-21  André Pönitz  <poenitz@gmx.net>
3496
3497         * rowpainter.C: simplification
3498
3499 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3500
3501         * text3.C (dispatch): make possible to extend a word/row selection
3502         with the mouse
3503
3504 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3505
3506         * lyxtext.h: x0_,y0_ -> xo_,yo_
3507         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3508         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3509         * rowpainter.C (paintRows): paint full paragraphs
3510
3511 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3512
3513         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3514         screen coordinates)
3515
3516 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3517
3518         * lyxtext.h: add x0_, y0_
3519         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3520         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3521
3522 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3523
3524         * text2.C (setCursorIntern): move the x_target update here *
3525         * text3.C: change some bv() to true/false in calls to
3526         cursorUp/Down/Right/Left
3527         * cursor.C: use helper function.
3528
3529 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3530
3531         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3532         * paragraph_funcs.[Ch]: correct comment
3533         * rowpainter.C: do not paint selections away from bv->cursor()
3534         Fix a long standing selection painting bug.
3535         * text3.C: generalize mouse-selection code to LyXTexts other that
3536         top one
3537         * textcursor.C: do not use y coords if we can use par offsets
3538
3539 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3540
3541         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3542         cursor position after e.g. inset insert)
3543
3544 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3545
3546         * lyxfind.C (replace): adjust to locking removal + some
3547         code simplification
3548
3549 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3550
3551         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3552         of the path
3553
3554 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3555
3556         * lyxlayout.[Ch]:
3557         * output_docbook.C: XML sanitation: new layout
3558         parameters InnerTag and CommandDepth
3559
3560 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3561
3562         * BufferView_pimpl.C:
3563         * factory.C:
3564         * text3.C: Fix the insertion and modification of button-style
3565         insets
3566
3567 2003-11-13  André Pönitz  <poenitz@gmx.net>
3568
3569         * InsetList.[Ch]: remove deleteLyXText
3570
3571         * paragraph.[Ch]: cache beginOfBody position
3572
3573         * Bidi.C:
3574         * text.C:
3575         * text2.C:
3576         * text3.C: remove superfluous update() calls
3577
3578         * vspace.C: cleanup
3579
3580 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3581
3582         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3583         * BufferView.C (fitLockedInsetCursor): remove
3584         * cursor.[Ch] (getDim): add
3585         * text.C (getRowNearY): add faster version
3586         * text3.C: remove some update calls
3587
3588 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3589
3590         * LaTeXFeatures.C:
3591         * LyXAction.C:
3592         * MenuBackend.C:
3593         * MenuBackend.h:
3594         * dispatchresult.h:
3595         * factory.C:
3596         * lfuns.h:
3597         * lyxfunc.C:
3598         * lyxtextclass.C:
3599         * lyxtextclass.h:
3600         * text3.C: The Character Style /XML short element patch.
3601
3602 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3603
3604         * text3.C:
3605         * factory.C: Small step to solving 'unable to insert some insets'
3606         problem
3607
3608 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3609
3610         * cursor.[Ch] (updatePos): new function for updating the y
3611         position of the tip inset
3612         * bufferview_funcs.C (put_selection_at):
3613         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3614
3615 2003-11-11  André Pönitz  <poenitz@gmx.net>
3616
3617         * text.C: remove big comment on invalid Paragraph pointers as it is
3618         not valid anymore
3619
3620 2003-11-11  André Pönitz  <poenitz@gmx.net>
3621
3622         * text_funcs.[Ch]: merge with ...
3623
3624         * text.C: ... this
3625
3626         * lyxtext.h:
3627         * text2.C:
3628         * text3.C: adjust
3629
3630         * Makefile.am: remove text_funcs.[Ch]
3631
3632 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3633
3634         * cursor.C (getPos): return absolute cached y coord
3635
3636         * BufferView_pimpl.C (fitCursor): new simplistic code
3637         (workAreaDispatch): add a fitCursor call
3638
3639 2003-11-10  André Pönitz  <poenitz@gmx.net>
3640
3641         * BufferView.[Ch]:
3642         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3643
3644 2003-11-10  André Pönitz  <poenitz@gmx.net>
3645
3646         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3647         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3648         indicate that the cursor needs to leave an inset
3649
3650         * lyxtext.h: remove inset locking
3651
3652         * cursor.[Ch]: re-implement functionality provided by inset locking
3653
3654         * BufferView.[Ch]:
3655         * BufferView_pimpl.[Ch]:
3656         * LyXAction.C:
3657         * bufferview_funcs.[Ch]:
3658         * factory.C:
3659         * funcrequest.[Ch]:
3660         * iterators.C:
3661         * lyx_cb.C:
3662         * lyxfind.C:
3663         * lyxfunc.C:
3664         * text.C:
3665         * text2.C:
3666         * text3.C:
3667         * undo.C: adjust
3668
3669 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3670
3671         * PosIterator.[Ch]: replace the stack with a vector, add inset
3672         accesor
3673         * iterators.[C]: adjust
3674
3675 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3676
3677         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3678         replaced
3679         * paragraph_funcs.C (readParToken): put the correct id in the
3680         error item, not the id of the top paragraph
3681
3682 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3683
3684         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3685         * bufferview_funcs.C (put_selection_at): use the above
3686
3687 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3688
3689         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3690
3691 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3692
3693         * output_linuxdoc.h:
3694         * output_plaintext.h:
3695         * output.h:
3696         * output_docbook.h: add #include statements
3697
3698 2003-11-05  José Matos  <jamatos@lyx.org>
3699
3700         * output_docbook.[Ch]:
3701         * output_latex.[Ch]:
3702         * output_linuxdoc.[Ch]:
3703         * output_plaintext.[Ch]: New files for output formats.
3704         * output.[Ch]: New file for helper functions.
3705
3706         * buffer.[Ch]:
3707         * paragraph_funcs.[Ch]: output functions moved to new files.
3708
3709         * outputparams.h: rename of latexrunparams.h
3710
3711         * LaTeX.[Ch]:
3712         * buffer.[Ch]:
3713         * bufferlist.[Ch]:
3714         * converter.[Ch]:
3715         * exporter.C:
3716         * paragraph.[Ch]:
3717         * paragraph_funcs.[Ch]:
3718         * paragraph_pimpl.[Ch]:
3719         * tabular.[Ch]: rename ascii to plaintext
3720         and LatexRunParams to OutputParams.
3721
3722 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3723
3724         * iterators.[Ch] (text): require bv argument
3725         * undo.C (recordUndo):
3726         * lyxfunc.C (dispatch):
3727         * bufferview_funcs.C (put_selection_at): adjust
3728
3729 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3730
3731         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3732
3733 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3734
3735         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3736         nestings
3737
3738 2003-11-04  André Pönitz  <poenitz@gmx.net>
3739
3740         * cursor.[Ch]: restructure
3741
3742         * BufferView.[Ch]:
3743         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3744
3745         * iterators.[Ch] (asCursor): remove
3746
3747         * lfuns.h: remove LFUN_INSET_EDIT
3748
3749         * lyxfunc.C:
3750         * tabular.C:
3751         * text.C:
3752         * text2.C:
3753         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3754
3755 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3756
3757         * lyxfind.[Ch]: complete overhaul
3758         * BufferView_pimpl.C:
3759         * lyxfunc.C: adjust
3760         * paragraph.[Ch] (insert): add
3761
3762 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3763
3764         * BufferView.[Ch]:
3765         * lyxtext.h:
3766         * text.C: remove dead spellcheck code
3767
3768 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3769
3770         * dispatchresult.h: add a val setter
3771
3772         * cursor.C (dispatch): use a tempvar for data_[i]
3773
3774 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3775
3776         * PosIterator.[Ch]: compile fix
3777
3778 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3779
3780         * text.C (cursorPar): deactivate the cursor cache
3781
3782 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3783
3784         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3785
3786 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3787
3788         * text3.C (dispatch): adjust for new DisptchResult semantics.
3789
3790         * lyxfunc.C (dispatch): handle update when return from
3791         Cursor::dispatch, adjust for new DispatchResult semantics.
3792
3793         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3794         DispatchResult(true) mean to not update. Add class functions for
3795         setting dispatched and update, as well as reading.
3796
3797         * cursor.C (dispatch): don't handle update here
3798
3799 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3800
3801         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3802         * trans_mgr.C: adjust
3803
3804         * paragraph_funcs.C (readParToken): exception safety
3805
3806         * lyxvc.h: store the vcs pointer in a scoped_ptr
3807         * lyxvc.C: adjust
3808
3809         * lyxsocket.C (serverCallback): exception safety
3810
3811         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3812
3813         * ispell.C (clone): make it return a auto_ptr
3814
3815         * factory.C (createInset): exception safety
3816         (readInset): exception safety
3817
3818         * bufferlist.C (newBuffer): exception safety
3819
3820         * Thesaurus.C (Thesaurus): use initialization for aik_
3821
3822         * MenuBackend.C (expandToc): exception safety.
3823
3824 2003-11-03  André Pönitz  <poenitz@gmx.net>
3825
3826         * buffer.C:
3827         * buffer.h:
3828         * bufferview_funcs.C: remove getInsetFromId()
3829
3830         * lyxcursor.[Ch]:
3831         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3832
3833         * lyxfunc.C:
3834         * text2.C:
3835         * text3.C: adjust
3836
3837 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3838
3839         * PosIterator.C (distance, advance): new
3840         * bufferview_funcs.[Ch] (put_selection_at): new
3841         * iterators.[Ch] (lockPath): new
3842
3843 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3844
3845         * iterators.[Ch] (asPosIterator): added
3846         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3847         * PosIterator.[Ch]: added
3848
3849 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3850
3851         * text3.C:
3852         * lyxfunc.C:
3853         * cursor.C (dispatch):
3854         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3855
3856         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3857         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3858         contructor, add a class function dispatched. Remove operator>=
3859
3860 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3861
3862         * debug.C: only use the default constructor for debugstream
3863         (lyxerr) here.
3864
3865         * main.C (main): include debug.h and setup the lyxerr streambuf
3866         here.
3867
3868 2003-10-31  José Matos  <jamatos@lyx.org>
3869
3870         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3871
3872         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3873         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3874         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3875         * paragraph_pimpl.C (simpleTeXSpecialC):
3876         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3877         add LatexRunParams argument.
3878
3879         * exporter.C (Export): change call accordingly.
3880
3881         * latexrunparams.h: add new member to take care of the other backends.
3882 2003-10-30  José Matos  <jamatos@lyx.org>
3883
3884         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3885         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3886         factorise code for paragraph output.
3887         * buffer.[Ch]:
3888         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3889         move functions.
3890
3891 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3892
3893         * text3.C (dispatch):
3894         * lyxfunc.C (dispatch):
3895         * cursor.C (dispatch):
3896         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3897
3898         * dispatchresult.h: make the dispatch_result_t ctor explicit
3899
3900 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3901
3902         * sgml.[Ch]:
3903         * buffer.C: small refactoring of docbook stuff
3904
3905 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3906
3907         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3908         meaning.
3909
3910 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3911
3912         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3913         operator dispatch_result_t, and operators for == != and >=
3914
3915         * cursor.C (dispatch): adjust for operator dispatch_result_t
3916         removal. comment out call to update
3917
3918         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3919
3920 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3921
3922         * text3.C:
3923         * text2.C:
3924         * text.C:
3925         * lyxtext.h:
3926         * lyxfunc.C:
3927         * cursor.C:
3928         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3929         (dispatch):
3930
3931         * dispatchresult.h: new file, DispatchResult broken out of
3932         insets/insetbase.h
3933
3934         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3935
3936 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3937
3938         * text.C (rowBreakPoint): put a hack inside #if 0
3939
3940 2003-10-28  André Pönitz  <poenitz@gmx.net>
3941
3942         * lyxtext.h:
3943         * metricsinfo.C:
3944         * paragraph_funcs.C:
3945         * rowpainter.C:
3946         * text.C:
3947         * text2.C: general cleanup (lots of small stuff)
3948
3949 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3950
3951         * text2.C (cursorEnd): simple fix to the "end key goes to one
3952         before the end on last row" bug
3953
3954 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3955
3956         * text.C (backspace): fix the "zombie characters"
3957
3958 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3959
3960         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3961
3962 2003-10-27  André Pönitz  <poenitz@gmx.net>
3963
3964         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3965
3966         * factory.C: handle new InsetPagebreak, InsetLine
3967
3968         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3969         and move handling into new InsetPagebreak, InsetLine
3970
3971         * BufferView_pimpl.C:
3972         * LyXAction.C:
3973         * ParagraphParameters.C:
3974         * ParameterStruct.h:
3975         * lyxfunc.C:
3976         * lyxtext.h:
3977         * paragraph.C:
3978         * paragraph.h:
3979         * paragraph_funcs.C:
3980         * paragraph_pimpl.C:
3981         * rowpainter.C:
3982         * text.C:
3983         * text2.C:
3984         * text3.C: adjust
3985
3986 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3987
3988         * text.C:
3989         * lyxrow_funcs.[Ch]:
3990         * Bidi.C:
3991         * paragraph.C:
3992         * lyxtext.h:
3993         * rowpainter.C:
3994         * text2.C:
3995         * text3.C: remove lastPos uses in favour of Row::endpos
3996
3997 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3998
3999         * undo.C (performUndoOrRedo): fix two crashes by setting a
4000         cursor by hand and reordering some calls. Use bv->lockInset instead
4001         of inset->edit because the latter loses cursor information
4002
4003 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4004
4005         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4006         by Martin
4007         (rowBreakPoint): fix width. change point to point + 1.
4008         Add a missing check.
4009
4010 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4011
4012         * MenuBackend.C:
4013         * lyxfunc.C: fix (at least partly) the problems
4014         with the Nav menu and headers inside branch insets
4015         reported by Kayvan
4016
4017 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4018
4019         * paragraph.C (getChar): add strong asserts
4020
4021         * lyxrow_funcs.C (lastPos): remove hideous hack
4022
4023         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4024         (fill): adjust to that (avoid an infinite loop)
4025
4026 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4027
4028         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4029
4030 2003-10-23  André Pönitz  <poenitz@gmx.net>
4031
4032         * RowList_fwd.h: change list<> to vector<> to gain speed
4033         after suggestion from Alfredo
4034
4035 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4036
4037         * lyxtext.h: move the bidi stuff from here...
4038         * text.C: and here
4039         * text2.C: and here
4040         * Bidi.[Ch]: ... to here
4041
4042 2003-10-23  André Pönitz  <poenitz@gmx.net>
4043
4044         * lyxtext.h:
4045         * text.C (isLastRow, isFirstRow): new functions
4046
4047         * paragraph.h: new width cache member
4048
4049         * rowpainter.C: replace RowList::iterator with Row & where possible
4050
4051         * lyxfunc.C: replace several view()->text with a single call
4052
4053         * toc.C: fix 'unused' warning
4054
4055 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4056
4057         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4058         when woring with stream::pos_type
4059         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4060
4061 2003-10-22  André Pönitz  <poenitz@gmx.net>
4062
4063         * lyxtext.h:
4064         * text.C: use Row & instead of RowList::iterator
4065
4066         * lyxrow.h: rename end() to endpos()
4067
4068         * rowpainter.C:
4069         * text.C:
4070         * text2.C: adjust
4071
4072 2003-10-22  Angus Leeming  <leeming@lyx.org>
4073
4074         * buffer.[Ch] (fully_loaded): new member function, returning true
4075         only when the file has been loaded fully.
4076         Used to prevent the premature generation of previews and by the
4077         citation inset to prevent computation of the natbib-style label.
4078
4079         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4080         templates are all set up.
4081
4082         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4083
4084 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4085
4086         * text.C: fixed an "oops" in the "is a bit silly"
4087         bug fix
4088
4089 2003-10-21  André Pönitz  <poenitz@gmx.net>
4090
4091         * FuncStatus.[Ch]: small stuff, whitespace
4092
4093         * lyxfont.[Ch]: operator<<() for debug reasons
4094
4095         * lyxfunc.C:
4096         * lyxrow_funcs.C:
4097         * lyxtext.h: whitespace, spelling
4098
4099         * paragraph.C: naming of variables
4100
4101         * text.C:
4102         * text2.C: small stuff
4103
4104
4105 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4106
4107         * text.C: (1) finish off the inset display() work;
4108         (2) fix the "is a bit silly" bug (accessing char
4109         past end of par).
4110
4111 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4112
4113         * text.C: re-introduce display() for insets, fixing the
4114         various bugs (stretch of line above, math inset
4115         positioning, ...)
4116
4117 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4118
4119         * text.C (rightMargin): remove spurious semicolon
4120
4121         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4122         1415)
4123
4124 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4125
4126         * text3.C: fix one crash due to wrong cursor def
4127
4128 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4129
4130         * vc-backend.C (scanMaster): make the regex static
4131
4132         * LaTeX.C (scanAuxFile): make the regexs static
4133
4134         * text3.C (doInsertInset, dispatch, dispatch):
4135         * text2.C (cursorUp, cursorDown):
4136         * text.C (selectNextWordToSpellcheck):
4137         * BufferView_pimpl.C (dispatch):
4138         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4139
4140 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4141
4142         * lyxsocket.C: include <cerrno>
4143
4144 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4145
4146         * lyxfunc.C (dispatch): remove textcache stuff
4147
4148         * bufferlist.C (release): remove textcache stuff
4149         (closeAll): ditto
4150
4151         * TextCache.C: delete file
4152         * TextCache.h: delete file
4153
4154         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4155
4156         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4157         delete of the bv_->text.
4158         (resizeCurrentBuffer): remove texcache stuff
4159         (workAreaResize): ditto
4160
4161 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4162
4163         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4164         action.
4165
4166 2003-10-16  André Pönitz  <poenitz@gmx.net>
4167
4168         * lyxrow.[Ch]:
4169         * paragraph.h:
4170         * rowpainter.C:
4171         * text.C:
4172         * text2.C:
4173         * text3.C: speed up by storing y positions per paragraph plus per-row
4174         offset instead of having a 'full' y position in the row.
4175
4176 2003-10-15  André Pönitz  <poenitz@gmx.net>
4177
4178         * iterators.[Ch]:
4179         * iterators.[Ch]:
4180         * undo.[Ch]: make undo aware of inner insets
4181
4182 2003-10-14  Angus Leeming  <leeming@lyx.org>
4183
4184         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4185         static member functions LyX::ref() and LyX::cref.
4186         (lastfiles): new accessor functions for the new lastfiles_ member var.
4187         (addLyXView, views_): add a new LyXView to the list of views_.
4188         (updateInset): loop over all LyXViews to call their own updateInset
4189         member function, returning a pointer to the Buffer owning the inset.
4190
4191         * BufferView_pimpl.C (loadLyXFile):
4192         * MenuBackend.C (expandLastfiles):
4193         * bufferlist.C (MenuWrite, QuitLyX):
4194         lastfiles is no longer a global variable.
4195         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4196
4197         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4198         static function. Access through LyX::cref().emergencyCleanup().
4199
4200 2003-10-14  André Pönitz  <poenitz@gmx.net>
4201
4202         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4203
4204         * undo.[Ch]: restoring part of 'undo in insets'
4205
4206         * Makefile.am:
4207         * undo_funcs.[Ch]: merge with undo.[Ch]
4208
4209         * tabular.C: small cleansing stuff
4210
4211 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4212
4213         * paragraph_funcs.C (readParToken): report unknown insets as error
4214         boxes. Use the outer paragraph as location (also for unknown
4215         tokens).
4216
4217         * factory.C (readInset): do not abort on reading an unknown inset.
4218         Eat it and return 0.
4219
4220 2003-10-13  Angus Leeming  <leeming@lyx.org>
4221
4222         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4223
4224         * lyxrc.C: displayTranslator is now a function,
4225         declared in GraphicsTypes.h.
4226
4227 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4228
4229         * format.C: new placeholder $$a to pass the socket address.
4230
4231         * bufferlist.[Ch]: new function getBufferFromTmp.
4232
4233         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4234           files in the temporary dir.
4235
4236 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4237
4238         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4239
4240         * Makefile.am: add lyxsocket.[Ch].
4241
4242         * lyx_main.C (error_handler): handle SIGPIPE.
4243
4244 2003-10-13  André Pönitz  <poenitz@gmx.net>
4245
4246         * BufferView_pimpl.C:
4247         * lyxtext.h:
4248         * text.C:
4249         * text2.C:
4250         * text3.C:
4251         * undo_funcs.[Ch]: use paroffset_type instead of
4252           ParagraphList::iterators to prevent multiple conversion
4253           (and get a more robust interface)
4254
4255 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4256
4257         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4258         * lyxtext.h: ditto
4259         * text3.C (dispatch): ditto
4260
4261 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4262
4263         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4264         move the onlyfile, use onlyfile instead of foundfile in a couple
4265         of places.
4266
4267         * DepTable.C (update): flush the error stream a bit more
4268
4269 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4270
4271         * lyxserver.C (callback): adjust
4272
4273         * lyxfunc.C (getStatus): add a missing brace in commented code
4274         (ensureBufferClean): reindent
4275         (dispatch): delete version taking a string
4276
4277 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4278
4279         * LaTeX.C (deplog): move found file handlig from here...
4280         (handleFoundFile): .. to new function here.
4281         (deplog): make sure to discover several files mentioned on the
4282         same log line.
4283
4284 2003-10-10  André Pönitz  <poenitz@gmx.net>
4285
4286         * lyxfunc.C:
4287         * lyxtext.h:
4288         * tabular.C:
4289         * text.C:
4290         * text2.C:
4291         * text3.C: fix some of the tabular crashes
4292
4293 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4294
4295         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4296
4297         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4298
4299 2003-10-09  André Pönitz  <poenitz@gmx.net>
4300
4301         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4302
4303         * BufferView.C:
4304         * BufferView_pimpl.C:
4305         * bufferview_funcs.C:
4306         * lyx_cb.C:
4307         * lyxcursor.C:
4308         * lyxfind.C:
4309         * lyxfunc.C:
4310         * lyxtext.h:
4311         * text.C:
4312         * text2.C:
4313         * text3.C:
4314         * text_funcs.[Ch]:
4315         * textcursor.[Ch]:
4316         * undo_funcs.C: adjust
4317
4318 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4319
4320         * text2.C (incrementItemDepth): new function, use a backtracking
4321         algorithm to discover the correct item depth.
4322         (resetEnumCounterIfNeeded): new function, use a backtracking
4323         algorithm to discover if counter reset is needed.
4324         (setCounter): use them. Simplify a bit. Add different labels for
4325         different item depths for itemize.
4326
4327         * paragraph.C (Paragraph): remove initialization of enumdepth
4328         (operator=): ditto
4329
4330         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4331         enumerate and itemize. Change the type of itemdepth to signed char.
4332
4333 2003-10-08  André Pönitz  <poenitz@gmx.net>
4334
4335         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4336           thing assignable.
4337         * text.C:
4338         * text2.C: adjust
4339
4340         * tabular.[Ch]: fix crash after 'row-insert'
4341
4342 2003-10-08  Angus Leeming  <leeming@lyx.org>
4343
4344         Fix doxygen warnings.
4345
4346         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4347         Remove CutAndPaste:: prefix from header file declaration.
4348
4349         * LColor.h (fill): remove LColor:: prefix from declaration.
4350
4351         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4352         use lyx::depth_type rather than Paragraph::depth_type so that
4353         header file and .C file match.
4354
4355         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4356
4357         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4358         * aspell.C: \file aspell_local.C -> \file aspell.C
4359         * gettext.C: \file gettext.C -> \file src/gettext.C
4360         * gettext.h: \file gettext.h -> \file src/gettext.h
4361         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4362         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4363         * text.C: \file text.C -> \file src/text.C
4364
4365         * toc.C: move comment so that doxygen is not confused.
4366
4367 2003-10-07  Angus Leeming  <leeming@lyx.org>
4368
4369         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4370
4371 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4372
4373         * aspell.C:
4374         * aspell_local.h: add forgotten std::string's.
4375
4376 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4377
4378         * LaTeXFeatures.C:
4379         * LyXAction.C:
4380         * factory.C:
4381         * lfuns.h:
4382         * lyxfunc.C:
4383         * text3.C: The Box patch. Fancybox support, minipage, parbox
4384
4385 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4386
4387         * CutAndPaste.h:
4388         * DepTable.h:
4389         * FloatList.h:
4390         * LaTeXFeatures.h:
4391         * ParagraphParameters.h:
4392         * TextCache.h:
4393         * Thesaurus.h:
4394         * bufferlist.h:
4395         * exporter.h:
4396         * importer.h:
4397         * lastfiles.h:
4398         * lyxfind.h:
4399         * lyxfont.h:
4400         * lyxlex.h:
4401         * lyxtextclasslist.h:
4402         * messages.h:
4403         * paragraph.h:
4404         * paragraph_pimpl.C:
4405         * textcursor.h: add <string> and other small fixes to make Lars'
4406         std::string patch compile with STLport.
4407
4408 2003-10-06  Angus Leeming  <leeming@lyx.org>
4409
4410         * LColor.h: Add missing #include <string>.
4411
4412 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4413
4414         * All most all file in all subdirs: Make <string> be the prefered
4415         way of getting to std::string, add using declarations.
4416
4417 2003-10-06  André Pönitz  <poenitz@gmx.net>
4418
4419         * metricsinfo.C: initialize LyXFont before changing attribute.
4420         (fixes the 'math in \emph is upright' bug)
4421
4422 2003-10-06  André Pönitz  <poenitz@gmx.net>
4423
4424         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4425
4426 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4427
4428         * graph.C:
4429         * paragraph_pimpl.C: Small fixes to build using STLport
4430
4431 2003-10-02  André Pönitz  <poenitz@gmx.net>
4432
4433         * lyxfunc.C:
4434         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4435
4436 2003-10-01  André Pönitz  <poenitz@gmx.net>
4437
4438         * factory.C: assert early
4439
4440 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4441
4442         * lyx_main.C: remove the global debug object
4443
4444         * debug.h: adjust for new debugstream
4445
4446         * debug.C: adjust for new debugstream and keep the global debug
4447         object here.
4448
4449 2003-09-22  Angus Leeming  <leeming@lyx.org>
4450
4451         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4452         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4453         an incomplete class LyXFont.
4454
4455 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4456
4457         * factory.C: bug fix in branches
4458
4459 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4460
4461         * lyxfunc.C (processKeySym): adjust
4462         (dispatch): adjust
4463         (dispatch): change arg name from ev to func, adjust
4464         (sendDispatchMessage): ditto
4465
4466         * lyx_main.C (defaultKeyBindings): adjust keybindings
4467         (deadKeyBindings): ditto
4468
4469         * kbsequence.C (addkey): return a FuncRequest
4470
4471         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4472
4473         * kbmap.C (bind): take a FuncRequest as arg, adjust
4474         (read): adjust
4475         (lookup): adjust
4476         (defkey): change to take a FuncRequest as arg, adjust
4477         (findbinding): take a FuncRequest as arg, adjust.
4478
4479         * funcrequest.h (operator=): added
4480
4481         * funcrequest.C (FuncRequest): default kb_action changed from
4482         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4483
4484         * buffer.C (dispatch): simplify
4485         (dispatch): adjust to take a FuncRequest as arg, adjust
4486
4487         * boost.C (assertion_failed): change assertion message slightly
4488
4489         * ToolbarBackend.C (read): simplify
4490
4491         * MenuBackend.C (binding): adjust call to findbinding, add a
4492         message if no binding is found.
4493         (read): simplify
4494         (expandToc): correct by adding a empty FuncRequest
4495
4496         * LyXAction.C: include <boost/assert.hpp>
4497         (isPseudoAction): delete function
4498         (LookupFunc): change name to...
4499         (lookupFunc): this. change return type to FuncRequest.
4500         (getActionName): take kb_action as arg, simplify
4501         (funcHasFlag): add an assert, simplify.
4502
4503 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4504
4505         * toc.C (action): return a FuncRequest, simplify
4506
4507         * lyxfunc.C (processKeySym): adjust
4508         (getStatus): delete version that takes an int.
4509         (getStatus): adjust
4510         (dispatch): delete version that takes action as int
4511         (dispatch): adjust
4512         (sendDispatchMessage): simplify and adjust
4513
4514         * funcrequest.C (getArg): take unsigned int as arg
4515
4516         * ToolbarBackend.C (read): adjust
4517         (add): delete version that takes func as a string.
4518         (getIton): take a FuncRequest as arg
4519
4520         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4521         action.
4522
4523         * MenuBackend.C (MenuItem): add a new construct that only takes a
4524         Kind, simplify the constructor use for submenus.
4525         (add): adjust
4526         (expandLastfiles): adjust
4527         (expandDocuments): adjust
4528         (expandFormats): adjust
4529         (expandFloatListInsert): adjust
4530         (expandFloatInsert): adjust
4531         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4532
4533         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4534         Remove class variables lyx_pseudo_map and lyx_arg_map
4535
4536         * LyXAction.C (searchActionArg): delete function
4537         (getPseudoAction): delete function
4538         (retrieveActionArg): delete function
4539         (LookupFunc): make it return kb_action, simplify.
4540         (getActionName): simplify
4541
4542         * factory.C (createInset): fix new bug
4543
4544 2003-09-19  Angus Leeming  <leeming@lyx.org>
4545
4546         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4547         masterFilename_ parameter in the include inset.
4548
4549         * factory.C (createInset): changes due to the changes to InsetInclude.
4550
4551 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4552
4553         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4554
4555 2003-09-18  Angus Leeming  <leeming@lyx.org>
4556
4557         * buffer.C:
4558         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4559         Inset::fillWithBibKeys.
4560         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4561
4562 2003-09-18  Angus Leeming  <leeming@lyx.org>
4563
4564         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4565         variables.
4566         (ctor): pass and store a 'Buffer const &'
4567         (buffer): new member function.
4568
4569         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4570         '*this' to the LaTeXFeatures ctor.
4571
4572 2003-09-18  Angus Leeming  <leeming@lyx.org>
4573
4574         * LColor.h:
4575         * lyxfont.C:
4576         * lyxfont.h:
4577         * lyxtext.h:
4578         * text.C: rename EnumLColor as LColor_color.
4579
4580 2003-09-18  Angus Leeming  <leeming@lyx.org>
4581
4582         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4583         remove #include "insets/insetbase.h" from cursor.h.
4584
4585 2003-09-18  Angus Leeming  <leeming@lyx.org>
4586
4587         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4588         InsetOld_code to remove #include "inset.h".
4589
4590         * iterators.C: add #include "insets/inset.h"
4591
4592 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4593
4594         * BufferView.C: remove more locking stuff that apparently doesn't
4595         do anything sensible.
4596
4597 2003-09-16  André Pönitz  <poenitz@gmx.net>
4598
4599         * paragraph.[Ch]:
4600         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4601           performance boost.
4602
4603 2003-09-16  Angus Leeming  <leeming@lyx.org>
4604
4605         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4606
4607         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4608         arg/return type.
4609
4610         * paragraph.h: remove #include "lyxfont.h". Forward declare
4611         LyXFont_size.
4612
4613 2003-09-16  Angus Leeming  <leeming@lyx.org>
4614
4615         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4616         of support/textutils.h.
4617         (isWord): move the contents of support/textutils.h's IsWordChar here.
4618
4619         * buffer.C:
4620         * lyxfind.C:
4621         * rowpainter.C:
4622         * text.C:
4623         * text2.C: add #include "paragraph.h".
4624
4625         * rowpainter.C:
4626         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4627
4628 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4629
4630         * main.C:
4631         * lyx_main.C:
4632         * lyx_cb.C:
4633         * buffer.C:
4634         * LaTeX.C: use namespace alias for lyx::support::os
4635
4636 2003-09-16  Angus Leeming  <leeming@lyx.org>
4637
4638         * bufferparams.C:
4639         * bufferview_funcs.C:
4640         * factory.C:
4641         * lyxfunc.C:
4642         * paragraph_pimpl.C:
4643         * rowpainter.C:
4644         * text.C: add #include "LColor.h".
4645
4646 2003-09-16  Angus Leeming  <leeming@lyx.org>
4647
4648         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4649         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4650         return LyXFont &.
4651         Store the FontBits::color variable as an int rather than as an
4652         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4653         file.
4654
4655         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4656         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4657         string calls together.
4658
4659         * lyxrc.C: add #include "LColor.h".
4660
4661 2003-09-15  Angus Leeming  <leeming@lyx.org>
4662
4663         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4664         a cow_ptr.
4665
4666 2003-09-15  Angus Leeming  <leeming@lyx.org>
4667
4668         * LColor.h: add an EnumLColor wrapper for LColor::color.
4669
4670         * lyxfont.[Ch] (color, setColor, realColor):
4671         * lyxtext.h, text.C (backgroundColor):
4672         pass EnumLColor args to/from the functions, rather than LColor::color
4673         ones.
4674
4675         * lyxfont.h:
4676         * lyxtext.h: forward declare EnumLColor.
4677
4678         * lyx_main.C: add #include "LColor.h".
4679
4680 2003-09-15  Angus Leeming  <leeming@lyx.org>
4681
4682         * .cvsignore: add lyx-gtk.
4683
4684 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4685
4686         * Chktex.C
4687         * LaTeX.C
4688         * LaTeXFeatures.C
4689         * ParagraphParameters.C
4690         * Spacing.C
4691         * buffer.C
4692         * bufferparams.C
4693         * bufferview_funcs.C
4694         * chset.C
4695         * counters.C
4696         * funcrequest.C
4697         * lyxfont.C
4698         * lyxgluelength.C
4699         * lyxlength.C
4700         * paragraph.C
4701         * paragraph_funcs.C
4702         * text3.C
4703         * vc-backend.C: remove usage of STRCONV
4704
4705 2003-09-15  Angus Leeming  <leeming@lyx.org>
4706
4707         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4708         explicitly define the color passed to the painter.
4709
4710 2003-09-15  Angus Leeming  <leeming@lyx.org>
4711
4712         * bufferparams.C (BufferParams): reorder member initializers to avoid
4713         compiler warning.
4714
4715 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4716
4717         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4718         * text.C (updateRowPositions): remove an unusual nop
4719
4720 2003-09-12  André Pönitz  <poenitz@gmx.net>
4721
4722         * BufferView_pimpl.C:
4723         * Bullet.C:
4724         * layout.h:
4725         * lyxfunc.C:
4726         * lyxlayout.[Ch]:
4727         * lyxtextclass.C:
4728         * rowpainter.C:
4729         * text.C:
4730         * text2.C:
4731         * Counters.[Ch]: finish the 'automatic counters' job
4732
4733 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4734
4735         * aspell.C: include <boost/assert.cpp> (compile fix)
4736
4737 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4738
4739         * boost.C (assertion_failed): use lyx::support::abort instead of
4740         assert.
4741
4742 2003-09-10  Angus Leeming  <leeming@lyx.org>
4743
4744         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4745         with their _fwd progeny.
4746
4747 2003-09-09  Angus Leeming  <leeming@lyx.org>
4748
4749         134 files throughtout the source tree: replace 'using namespace abc;'
4750         directives with the appropriate 'using abc::xyz;' declarations.
4751
4752 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4753
4754         * boost.C (emergencyCleanup): moved here from LAssert.c
4755         (assertion_failed): new function, called by BOOST_ASSERT
4756
4757         * several files: change Assert to BOOST_ASSERT
4758
4759 2003-09-09  Angus Leeming  <leeming@lyx.org>
4760
4761         * buffer.[Ch]: Add an Impl class and move Buffer's member
4762         variables into it. As a result move several header files out of
4763         buffer.h.
4764
4765         Add header files to lots of .C files all over the tree as a result.
4766
4767 2003-09-09  Angus Leeming  <leeming@lyx.org>
4768
4769         * buffer.[Ch]: make Buffer's member variables private. Add
4770         accessor functions.
4771
4772         Lots of changes all over the tree as a result.
4773
4774 2003-09-08  Angus Leeming  <leeming@lyx.org>
4775
4776         * graph.C: #include <config.h>.
4777
4778 2003-09-08  Angus Leeming  <leeming@lyx.org>
4779
4780         * BranchList.C:
4781         * BufferView.C:
4782         * BufferView_pimpl.C:
4783         * CutAndPaste.C:
4784         * DepTable.C:
4785         * LaTeX.C:
4786         * LaTeXFeatures.C:
4787         * LyXAction.C:
4788         * MenuBackend.C:
4789         * TextCache.C:
4790         * aspell.C:
4791         * buffer.C:
4792         * bufferlist.C:
4793         * changes.C:
4794         * chset.C:
4795         * converter.C:
4796         * counters.C:
4797         * debug.C:
4798         * graph.C:
4799         * ispell.C:
4800         * lyx_cb.C:
4801         * lyxfind.C:
4802         * lyxfunc.C:
4803         * lyxlex_pimpl.C:
4804         * lyxrc.C:
4805         * lyxrow.C:
4806         * paragraph.C:
4807         * rowpainter.C:
4808         * texrow.C:
4809         * text.C:
4810         * text2.C:
4811         * toc.C: remove redundant using directives.
4812
4813 2003-09-07  Angus Leeming  <leeming@lyx.org>
4814
4815         * LaTeXFeatures.h: remove #include "support/types.h".
4816         * ToolbarBackend.h: remove #include <algorithm>.
4817         * changes.h: remove #include <ctime>.
4818         * debug.h: remove #include <iosfwd>.
4819         * graph.h: remove #include "support/std_string.h".
4820         * lyx_main.h: remove #include <csignal>.
4821         * lyxlex_pimpl.h: remove #include <fstream>.
4822         * sgml.h: remove #include <algorithm>, <utility>.
4823         * toc.h: remove #include "support/std_ostream.h".
4824         Add #include <iosfwd>.
4825
4826 2003-09-07  Angus Leeming  <leeming@lyx.org>
4827
4828         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4829
4830         * converter.h: forward declare LatexRunParams.
4831         * encoding.h: remove #include "lyxrc.h".
4832         * lyxtext.h: remove #include "LColor.h".
4833         * lyxtextclass.h: remove #include "support/types.h".
4834         * trans.h: remove #include "tex-accent.h".
4835         * trans_mgr.h: remove #include "tex-accent.h".
4836         * insets/inset.h: remove #include "support/types.h", <vector>.
4837         * insets/insetcollapsable.h: remove #include "LColor.h".
4838         * insets/insetinclude.h: remove #include "dimension.h".
4839         * insets/insetlatexaccent.h: remove #include "dimension.h".
4840         * insets/insetoptarg.h:: remove #include "insettext.h".
4841         * insets/insettext.h: remove #include "dimension.h",
4842         <boost/shared_ptr.hpp>
4843
4844         * insets/renderers.h: add #include "dimension.h".
4845         * insets/updatableinset.h: add #include "support/types.h".
4846
4847         * many .C files: Associated changes.
4848
4849 2003-09-06  Angus Leeming  <leeming@lyx.org>
4850
4851         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4852         one, inside testInvariant.
4853
4854         * PrinterParams.C: new file.
4855         * PrinterParams.[Ch]: move the function bodies out of line.
4856
4857 2003-09-06  Angus Leeming  <leeming@lyx.org>
4858
4859         * ParagraphParameters.h: forward declare ParameterStruct rather than
4860         including its header file.
4861         (depth): moved out-of-line.
4862
4863 2003-09-06  Angus Leeming  <leeming@lyx.org>
4864
4865         * BufferView_pimpl.h:
4866         * kbmap.h:
4867         * kbsequence.h:
4868         * lyxfunc.h: forward declare LyXKeySym rather than
4869         #include "frontends/LyXKeySym.h".
4870
4871         * BufferView_pimpl.C:
4872         * kbmap.C:
4873         * kbsequence.C:
4874         * lyxfunc.C: associated changes.
4875
4876 2003-09-06  Angus Leeming  <leeming@lyx.org>
4877
4878         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4879         As a result, can remove the #include "insets/inset.h" from BufferView.h
4880
4881 2003-09-06  Angus Leeming  <leeming@lyx.org>
4882
4883         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4884         As a result, can remove the #include "insets/inset.h" from BufferView.h
4885
4886 2003-09-06  Angus Leeming  <leeming@lyx.org>
4887
4888         * buffer_funcs.C:
4889         * buffer.h:
4890         * bufferlist.C:
4891         * BufferView.C:
4892         * bufferview_funcs.C:
4893         * BufferView_pimpl.C:
4894         * CutAndPaste.C:
4895         * lyx_cb.C:
4896         * lyxfunc.C:
4897         * paragraph.h:
4898         * ParagraphParameters.C:
4899         * tabular.C:
4900         * text3.C:
4901         * toc.C:
4902         * undo_funcs.C:
4903         * frontends/controllers/ControlDocument.C:
4904         * insets/insetcaption.C: rearrange the #includes into some sort of
4905         coherent order.
4906
4907         * buffer.h: remove #includes ErrorList.h, undo.h
4908
4909 2003-09-06  Angus Leeming  <leeming@lyx.org>
4910
4911         * support/types.h: add a 'depth_type' typedef, used to store the
4912         nesting depth of a paragraph.
4913
4914         * paragraph.h:
4915         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4916         defining explicitly.
4917
4918         * buffer.h:
4919         * paragraph_funcs.h:
4920         * ParagraphParameters.h:
4921         * sgml.h: use lyx::depth_type rather than Paragraph or
4922         ParameterStruct's depth_type.
4923
4924         * buffer.h
4925         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4926
4927         * BufferView.C:
4928         * BufferView_pimpl.C:
4929         * CutAndPaste.C:
4930         * ParagraphParameters.C:
4931         * buffer_funcs.C:
4932         * bufferlist.C:
4933         * bufferview_funcs.C:
4934         * lyx_cb.C:
4935         * lyxfunc.C:
4936         * tabular.C:
4937         * text3.C:
4938         * toc.C:
4939         * undo_funcs.C:
4940         * frontends/LyXView.C:
4941         * frontends/controllers/ControlDocument.C:
4942         * frontends/controllers/ControlErrorList.C:
4943         * insets/insetbibitem.C:
4944         * insets/insetbranch.C:
4945         * insets/insetcaption.C:
4946         * insets/insetcollapsable.C:
4947         * insets/insetenv.C:
4948         * insets/insetert.C:
4949         * insets/insetfloat.C:
4950         * insets/insetfoot.C:
4951         * insets/insetfootlike.C:
4952         * insets/insetnewline.C:
4953         * insets/insetquotes.C:
4954         * insets/insettabular.C:
4955         * insets/insettext.C:
4956         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4957
4958         * frontends/controllers/ControlChanges.C: #include "changes.h".
4959
4960 2003-09-06  Angus Leeming  <leeming@lyx.org>
4961
4962         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4963         than #including paragraph.h.
4964
4965         * ParagraphList.h:
4966         * RowList.h: deleted. Superfluous.
4967
4968         * CutAndPaste.h:
4969         * iterators.h:
4970         * lyxcursor.h:
4971         * lyxtext.h:
4972         * text_funcs.h:
4973         * undo.h:
4974         * undo_funcs.h:
4975         * insets/inset.h:
4976         * insets/insettext.h: use ParagraphList_fwd.h rather than
4977         ParagraphList.h.
4978
4979         * paragraph.h: don't forward declare ParagraphList.
4980
4981         * buffer.h:
4982         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4983         rather than ParagraphList.h. paragraph.h is still needed for the
4984         Paragraph::depth_type parameters.
4985
4986         * textcursor.h: enable it to compile stand-alone in light of the
4987         above changes.
4988
4989         * bufferview_funcs.C:
4990         * iterators.C:
4991         * lyxfunc.C:
4992         * lyxrow_funcs.C:
4993         * paragraph.C:
4994         * rowpainter.C:
4995         * text.C:
4996         * text2.C:
4997         * text3.C:
4998         * text_funcs.C:
4999         * textcursor.C:
5000         * undo.C:
5001         * frontends/controllers/ControlParagraph.C:
5002         * frontends/controllers/ControlTabular.C:
5003         * insets/insetmarginal.C:
5004         * insets/insetminipage.C:
5005         * insets/insetnote.C:
5006         * insets/insetoptarg.C: add header files needed to compile again.
5007
5008 2003-09-06  Angus Leeming  <leeming@lyx.org>
5009
5010         * RowList_fwd.h: new file, forward-declaring Row rather than
5011         #including lyxrow.h.
5012
5013         * lyxrow_funcs.h:
5014         * lyxtext.h:
5015         * paragraph.h:
5016         * insets/insettext.h: use it instead of RowList.h
5017
5018         * bufferview_funcs.C:
5019         * lyxfunc.C:
5020         * lyxrow_funcs.C:
5021         * paragraph.C:
5022         * rowpainter.C:
5023         * text.C:
5024         * text2.C:
5025         * text3.C: #include "RowList.h".
5026
5027 2003-09-05  Angus Leeming  <leeming@lyx.org>
5028
5029         * factory.C (createInset):
5030         * vspace.C (c-tor): replace sscanf call with an istringstream.
5031         * ispell.C: re-add missing HP/UX headers.
5032         * lyxserver.C: re-add missing  os2 headers.
5033
5034 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5035
5036         * BranchList.C:
5037         * graph.C:
5038         * ispell.C:
5039         * lastfiles.C:
5040         * lyx_cb.C:
5041         * lyxserver.C:
5042         * texrow.C:
5043         * text3.C: re-add missing system headers, needed for 2.95.2.
5044
5045 2003-09-05  Angus Leeming  <leeming@lyx.org>
5046
5047         Changes most place everywhere due to the removal of using directives
5048         from support/std_sstream.h.
5049
5050 2003-09-05  Angus Leeming  <leeming@lyx.org>
5051
5052         Replace LString.h with support/std_string.h,
5053         Lsstream.h with support/std_sstream.h,
5054         support/LIstream.h with support/std_istream.h,
5055         support/LOstream.h with support/std_ostream.h.
5056
5057         Changes resulting throughout the tree.
5058
5059 2003-09-05  Angus Leeming  <leeming@lyx.org>
5060
5061         * sgml.h: ensure that the header file can be compiled stand-alone.
5062         * *.C: strip out redundant #includes. (320 in total.)
5063
5064 2003-09-04  Angus Leeming  <leeming@lyx.org>
5065
5066         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5067         here (from getPackages).
5068
5069         * debug.[Ch]: add a new EXTERNAL tag.
5070
5071 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5072
5073         * text2.C (cursorEnd): simplify
5074         (setCursor): adjust
5075         (getColumnNearX): adjust
5076
5077         * text.C (computeBidiTables): adjust
5078         (fill): adjust
5079
5080         * rowpainter.C (paintChars): adjust
5081         (paintSelection): adjust
5082         (paintChangeBar): adjust
5083         (paintText): adjust
5084
5085         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5086         lastPos instead.
5087         (numberOfSeparators): adjust
5088
5089 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5090
5091         * LyXAction.C:
5092         * box.[Ch]:
5093         * lfuns.h:
5094         * lyxfunc.C:
5095         * text3.C: Restricts the mouse click functionality
5096         of insets like bibtex, include, toc and floatlist to the visible
5097         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5098         up the dialogs. Cursor has to be in front of the inset (i.e.
5099         start of row) for this to function.
5100
5101 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5102
5103         * bufferview_funcs.C (currentState): output row information
5104
5105 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5106
5107         * bufferview_funcs.C (currentState): output paragraph position
5108
5109 2003-09-04  Angus Leeming  <leeming@lyx.org>
5110
5111         * FloatList.h: move out #include "Floating.h".
5112         * LaTeX.h: move out #include "DepTable.h".
5113         * LyXAction.h: move out #include "funcrequest.h".
5114         * buffer.h: move out #include "author.h", "iterators.h".
5115         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5116         * lyx_main.h: move out #include "errorlist.h".
5117         * lyxfunc.h: move out #include "FuncStatus.h".
5118         * lyxtext: move out #include "lyxcursor.h".
5119         * paragraph_pimpl.h: move out #include "counters.h".
5120
5121 2003-09-03  Angus Leeming  <leeming@lyx.org>
5122
5123         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5124         preamble_snippets list, enabling us to add snippets to the preamble
5125         only if the snippet was not there already.
5126
5127 2003-09-04  Angus Leeming  <leeming@lyx.org>
5128
5129         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5130
5131 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5132
5133         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5134         update
5135
5136 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5137
5138         * BranchList.C: point fix, earlier forgotten
5139
5140 2003-09-02  Angus Leeming  <leeming@lyx.org>
5141
5142         * box.C (contains): renamed from 'contained' after a fantastic
5143         amount of hot air.
5144
5145 2003-09-02  John Levon  <levon@movementarian.org>
5146
5147         * BufferView.C:
5148         * lyxcursor.h:
5149         * lyxcursor.C:
5150         * lyxfunc.C:
5151         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5152
5153 2003-09-02  John Levon  <levon@movementarian.org>
5154
5155         * text2.C: simplification of cursorEnd(), including partial
5156         fix for bug 1376
5157
5158 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5159
5160         * buffer.C (readFile): add a space
5161
5162 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5163
5164         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5165
5166 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5167
5168         * buffer.C (readFile): new function, take a filename and a
5169         ParagraphList::iterator
5170         (readFile): adjust
5171         (readFile): adjust, make it private. don't use setStream, make
5172         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5173         always contain the filename.
5174
5175         * BufferView.C (insertLyXFile): simplify and make it work for
5176         gzipped files.
5177
5178 2003-08-30  John Levon  <levon@movementarian.org>
5179
5180         * Makefile.am: fix dist (from Kayvan)
5181
5182 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5183
5184         * most files: change to use const Buffer refs
5185
5186 2003-08-27  André Pönitz  <poenitz@gmx.net>
5187
5188         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5189         on top of ownerPar().
5190
5191 2003-08-27  John Levon  <levon@movementarian.org>
5192
5193         * funcrequest.C: properly initialise POD members
5194
5195 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5196
5197         * lyxtext.h (top_y): move top_y from here
5198         * text.C:
5199         * text2.C:
5200         * text3.C:
5201         * BufferView.[Ch]:
5202         * BufferView_pimpl.[Ch]: to here
5203         * frontends/screen.C:
5204         * insets/insettabular.C:
5205         * insets/insettext.C: adjust
5206         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5207
5208 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5209
5210         * BufferView.[Ch]:
5211         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5212
5213 2003-08-26  André Pönitz  <poenitz@gmx.net>
5214
5215         * paragraph_func.[Ch] (outerPar): new function
5216
5217         * paragraph.C:
5218         * paragraph_funcs.C:
5219         * paragraph_funcs.h:
5220         * paragraph_pimpl.C:
5221         * text2.C: remove Inset::par_owner
5222
5223 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5224
5225         * lyxrow_funcs.C:
5226         * lyxtext.h:
5227         * text.C:
5228         * text2.C: eliminates the needFullRow/display() stuff
5229         altogether, putting the logic in metrics/draw in the insets.
5230
5231 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5232
5233         * text2.C (redoParagraphInternal, redoParagraphs):
5234         * text.C (redoParagraph): add a call to updateRowPositions at the
5235         end of each 'metrics-like' call. Remove all others.
5236         (getRow): remove the 'y-computing' version.
5237         (getRowNearY): do not compute nor return the real y. Solve the
5238         'y < 0' problem and simplify.
5239
5240 2003-08-22  Angus Leeming  <leeming@lyx.org>
5241
5242         * *.[Ch]: clean-up of licence and author blurbs.
5243         Also move config.h out of a few .h files and into a few .C files.
5244
5245 2003-08-22  André Pönitz  <poenitz@gmx.net>
5246
5247         * lyxrow.[Ch]: add x_ and *fill_ members
5248
5249         * lyxtext.h:
5250         * text.C:
5251         * rowpainter.C:
5252         * text2.C: adjust/remove prepareToPrint() calls
5253
5254 2003-08-22  André Pönitz  <poenitz@gmx.net>
5255
5256         * lyxrow.[Ch]: add  end_ member
5257
5258         * lyxrow_funcs.C: use LyXRow::end_
5259
5260         * lyxtext.h (singleWidth): add LyXFont parameter
5261
5262         * rowpainter.C:
5263         * text2.C: adjust LyXText::singleWidth() calls
5264
5265         * text.C (redoParagraph): simplify row breaking logic
5266
5267
5268 2003-08-19  André Pönitz  <poenitz@gmx.net>
5269
5270         * funcrequest.C: initialize button_ member
5271
5272         * text3.C:
5273         * rowpainter.[Ch]: interface consolidation
5274
5275 2003-08-18  André Pönitz  <poenitz@gmx.net>
5276
5277         * BufferView.C:
5278         * BufferView_pimpl.C:
5279         * lyxfind.C:
5280         * paragraph_funcs.C:
5281         * rowpainter.C:
5282         * text3.C: remove LyXScreen::draw() and fitCursor calls
5283
5284         * BranchList.h: remove spurious semicolons
5285
5286         * MenuBackend.C: fix branchlist related crash
5287
5288 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5289
5290         * BranchList.[Ch]:
5291         * InsetList.[Ch]:
5292         * LColor.[Ch]:
5293         * LyXAction.C:
5294         * Makefile.am:
5295         * MenuBackend.[Ch]:
5296         * bufferparams.[Ch]:
5297         * factory.C:
5298         * lfuns.h:
5299         * lyxfunc.C:
5300         * text3.C: implements the 'branch inset'
5301         idea. This allows the output of various versions of a document
5302         from a single source version, selectively outputing or suppressing
5303         output of parts of the text.
5304         This implementation contains a 'branch list editor' in a separate
5305         tab of the document settings dialog. Branches are user definable
5306         and have a "display colour" to distinguish them on-screen.
5307
5308         ColorHandler was somewhat cleaned up.
5309         (1) make possible a dynamically growing LColor list by allowing
5310         the graphic context cache to grow along (vector);
5311         (2) eliminate an IMHO unnecessary step in colour allocation.
5312
5313 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5314
5315         * BufferView_pimpl.C: compile fix
5316
5317 2003-08-15  André Pönitz  <poenitz@gmx.net>
5318
5319         * rowpainter.C: remove extra metrics calls
5320
5321         * lyxtext.h: merge the two constructors into a single one,
5322           pass reference to owner's par list
5323
5324         * BufferView_pimpl.C:
5325         * text.C:
5326         * text2.C: adjust
5327
5328 2003-08-15  André Pönitz  <poenitz@gmx.net>
5329
5330         * lyxrow_funcs.[Ch]:
5331         * lyxtext.h:
5332         * paragraph.h:
5333         * paragraph_funcs.C:
5334         * rowpainter.C:
5335         * text.C:
5336         * text2.C:
5337         * text3.C:
5338         * text_funcs.C: split LyXText::rowlist_ into individual
5339         Paragraph::rows_ chunks
5340
5341         * BufferView.[Ch]:
5342         * BufferView_pimpl.[Ch]:
5343         * lyxfind.C:
5344         * lyxtext.h:
5345         * text3.C: remove toggleSelection()
5346
5347 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5348
5349         * bufferlist.C: beautify two alerts (shorter text of buttons)
5350         * buffer.C: Remove redundant ' ' from message
5351         * tabular.h:
5352         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5353         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5354         rename VALIGN_CENTER to VALIGN_MIDDLE
5355
5356 2003-08-11  André Pönitz  <poenitz@gmx.net>
5357
5358         * lyxtext.h (getPar):
5359         * text.C: new function
5360
5361 2003-08-11  André Pönitz  <poenitz@gmx.net>
5362
5363         * Makefile.am:
5364         * tracer.[Ch]: remove unneeded files
5365
5366         * InsetList.[Ch]: remove resizeInsetsLyXText()
5367
5368         * lyxtext.h:
5369         * text.C:
5370         * text2.C:
5371         * text3.C: merge insertParagraphs() and appendParagraph()
5372         remove breakAgain(), update()
5373
5374         * BufferView_pimpl.[Ch]:
5375         * bufferview_funcs.[Ch]:
5376         * lyxfunc.C:
5377         * paragraph.[Ch]:
5378         * rowpainter.C:
5379         * tabular.C: adjust after text & InsetList changes.
5380
5381 2003-08-08  André Pönitz  <poenitz@gmx.net>
5382
5383         * text.C (insertChar, backspace): replace rowlist fiddling
5384         with rebreak of full par
5385
5386         * lyxtext.h:
5387         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5388         checkParagraph, updateInset): removed
5389
5390 2003-08-07  André Pönitz  <poenitz@gmx.net>
5391
5392         * paragraph.C:
5393         * text3.C: merge some LFUN handlers, remove dead code
5394
5395 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5396
5397         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5398
5399 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5400
5401         * text2.C (DEPM): fix part of bug 1255 and 1256
5402
5403 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5404
5405         * BufferView_pimpl.C (workAreaDispatch): change to use
5406         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5407         that are no mouse related.
5408
5409 2003-08-05  André Pönitz  <poenitz@gmx.net>
5410
5411         * BufferView.[Ch]:
5412         * BufferView_pimpl.[Ch]:
5413         * bufferview_funcs.C:
5414         * text2.C:
5415         * text3.C: rip out "deep update"
5416
5417         * textcursor.[Ch] (last_sel_cursor): remove unused member
5418
5419 2003-08-04  André Pönitz  <poenitz@gmx.net>
5420
5421         * BufferView.[Ch]:
5422         * BufferView_pimpl.[Ch]:
5423         * ParagraphParameters.C:
5424         * bufferview_funcs.C:
5425         * lyx_cb.C:
5426         * lyxfind.C:
5427         * lyxfunc.C:
5428         * text.C:
5429         * text2.C:
5430         * text3.C: replace "complicated" BufferView::update(...) calls with
5431         simpler ones.
5432
5433         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5434
5435 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5436
5437         * Makefile.am (lyx_SOURCES): add paper.h
5438
5439 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5440
5441         * Makefile.am: move things around so that both lyx-qt and
5442         lyx-xforms can be built (according to --with-frontend). Then lyx
5443         is a symbolic link to lyx-[firstfrontend]
5444
5445 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5446
5447         * Always use std::endl with lyxerr
5448
5449 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5450
5451         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5452
5453 2003-08-01  André Pönitz  <poenitz@gmx.net>
5454
5455         * BufferView.[Ch]:
5456         * BufferView_pimpl.[Ch]:
5457         * lyxfunc.C:
5458         * text3.C: merge BufferView::repaint() and BufferView::update()
5459
5460 2003-08-01  José Matos  <jamatos@lyx.org>
5461
5462         * buffer.[Ch]: file_format is no longer a buffer data element.
5463
5464 2003-08-01  André Pönitz  <poenitz@gmx.net>
5465
5466         * BufferView.C:
5467         * lyxtext.h:
5468         * text.C:
5469         * text2.C: make redoParagraph more independent of current cursor
5470
5471         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5472         * text.C:
5473         * text2.C: remove unneeded members
5474
5475 2003-07-30  André Pönitz  <poenitz@gmx.net>
5476
5477         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5478
5479         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5480           create a single function...
5481
5482         * paragraph_funcs.C (moveItem): ... here.
5483
5484         * text.C:
5485           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5486
5487 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5488
5489         * LColor.[Ch]: Add comment and greyedout logical colors.
5490
5491 2003-07-30  André Pönitz  <poenitz@gmx.net>
5492
5493         * tabular.C: don't use Assert too heavily. This crashes where it
5494           shouldn't
5495
5496 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5497
5498         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5499         is disabled (bug 1232)
5500
5501 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5502
5503         * factory.C: limited 'arg' scope
5504
5505 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5506
5507         * factory.C: fixed Note submenu issues
5508
5509 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5510
5511         * factory.C: submenu for Note/Comment/Greyedout
5512
5513 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5514
5515         * lyx_main.C (LyX):
5516         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5517
5518 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5519
5520         * LaTeXFeatures.C:
5521         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5522         greyedout. Patch provided by Jürgen Spitzmüller.
5523
5524 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5525
5526         * kbmap.C (read): fix error message when reading bind files
5527
5528 2003-07-29  Angus Leeming  <leeming@lyx.org>
5529
5530         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5531         certainly does not do what it purports to do. I am doing it, and
5532         us, a favour by killing it.
5533
5534 2003-07-28  José Matos  <jamatos@lyx.org>
5535
5536         * buffer.C (readBody, do_writeFile):
5537         * paragraph.C(readParagraph): \end_document replaces \the_end.
5538
5539 2003-07-29  André Pönitz  <poenitz@gmx.net>
5540
5541         * BufferView.[Ch]:
5542         * BufferView_pimpl.[Ch]:
5543         * lyxfunc.C:
5544         * text2.C:
5545         * text3.C:
5546         * textcursor.[Ch]: remove toggleToggle & Co
5547
5548 2003-07-28  José Matos  <jamatos@fep.up.pt>
5549
5550         * buffer.C (readParagraph):
5551         * params_func (readParToken, readParagraph):
5552         * paragraph.C (write): \layout -> \begin_layout.
5553
5554 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5555
5556         * lyxlex_pimpl.C (setFile): clean up slightly.
5557
5558         * bufferparams.h: add compressed var
5559
5560         * buffer_funcs.C (readFile): adjust for LyXLex change
5561         (newFile): ditto + simplify
5562
5563         * buffer.C (writeFile): handle writing of compressed files
5564
5565         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5566         Check if the file is compressed and set a bufferparm if so.
5567
5568         * Makefile.am (lyx_LDADD): remove explicit -lz
5569
5570 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5571
5572         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5573         makeDocBookFile): put the real LyX version in the first line of
5574         the file
5575
5576         * version.h:
5577         * version.C.in: remove lyx_docversion
5578
5579         * tabular.C (write_attribute): add a template-based version to
5580         write enums properly
5581
5582 2003-07-28  André Pönitz  <poenitz@gmx.net>
5583
5584         * lyxtext.h:
5585         * text.C:
5586         * text2.C:
5587         * text3.C: use doubles again for x-coordinates. They are needed.
5588
5589 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5590
5591         * messages.C (getLocaleDir): use lyx_localedir()
5592
5593         * lyxlex_pimpl.C (setFile): compress stuff
5594
5595         * buffer.C (writeFile): add some compression stuff
5596         (do_writeFile): new func, dont call expliti close... will this
5597         breake anything?
5598
5599         * Makefile.am (lyx_LDADD): add -lz
5600
5601 2003-07-28  José Matos  <jamatos@fep.up.pt>
5602
5603         * buffer.C: increment file format.
5604         * paragraph_funcs (readParagraph, readParToken):
5605         * paragraph.C (readParagraph): add \end_layout.
5606
5607 2003-07-27  Angus Leeming  <leeming@lyx.org>
5608
5609         * Makefile.am: remove special casing for configure-time setting of
5610         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5611
5612         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5613         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5614
5615 2003-07-26  André Pönitz  <poenitz@gmx.net>
5616
5617         * paragraph_func.[Ch]:
5618         * paragraph.C (realizeFont): inline it whereever it is used
5619
5620         * rowpainter.C:
5621         * text.C:
5622         * text2.C:
5623         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5624
5625
5626 2003-07-26  André Pönitz  <poenitz@gmx.net>
5627
5628         *       lyxtext.h:
5629         * text.C:
5630         * text2.C: get rid of LyXText::need_break_row
5631
5632 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5633
5634         * toc.[Ch]: put namespace toc inside namespace lyx
5635
5636         * MenuBackend.C (expandToc2): adjust for lyx::toc
5637         (expandToc): ditto
5638
5639         * lyxfunc.C (dispatch): adjust for lyx::find
5640
5641         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5642         lyx::find instead. Reorganize a bit.
5643         (LyXReplace): rename to replace
5644         (LyXFind): rename to find
5645
5646         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5647         (dispatch): ditto
5648
5649 2003-07-26  André Pönitz  <poenitz@gmx.net>
5650
5651         * text.C (setHeightOfRow): restrict scope of temporary variable
5652
5653         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5654           code (never has been used?)
5655
5656 2003-07-27  Asger Alstrup  <alstrup@local>
5657
5658         * text.C (fill): Optimise algorithm to exploit that we can reuse
5659         the LyXFont for many characters.
5660         (setHeightOfRow): Same thing.
5661         (rowBreakPoint): Same thing.
5662
5663 2003-07-26  Asger Alstrup  <alstrup@local>
5664
5665         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5666
5667         * text.C (singleWidth): Spurious font copying in hot-spot
5668         singleWidth avoided. Reorder tests for arabic for efficiency.
5669
5670         * text.C (fill): handle empty paragraphs better.
5671
5672 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5673
5674         * ispell.C:
5675         * encoding.h: add includes
5676
5677         * lyxrc.C: remove reading of bind files
5678
5679         * lyx_main.C (init): setup bindings and menus only if we have a
5680         gui.
5681
5682         * kbmap.C (read): new method. Do the actual reading of bind
5683         files.
5684
5685         * converter.C (dvipdfm_options):
5686         * bufferparams.C:
5687         * lyxrc.C (read):
5688         (output): adapt PAPER_* enums.
5689
5690         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5691
5692         * bufferparams.h: remove paper-related enums from there
5693
5694         * paper.h: New file. A trivial header file to hold paper-related
5695         enums. It should later expand to contain many paper-related
5696         horrors access.
5697
5698         * lyxrc.C: declare extern displayTranslator
5699
5700 2003-07-27  José Matos  <jamatos@fep.up.pt>
5701
5702         * tabular.[Ch] (linuxdoc): add support for tables and figures
5703         (linuxdoc).
5704
5705 2003-07-27  José Matos  <jamatos@fep.up.pt>
5706
5707         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5708         consistency in both functions.
5709         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5710
5711 2003-07-26  Asger Alstrup  <alstrup@local>
5712
5713         * rowpainter.C (paintRows): Change algorithm to work directly on
5714         the insets rather than asking every character in the document
5715         whether its an inset.
5716
5717 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5718
5719         * buffer.C (openFileWrite): factorize some code
5720
5721 2003-07-26  Angus Leeming  <leeming@lyx.org>
5722
5723         * lyx_cb.C:
5724         * lyx_main.[Ch]: replace occurances of system_tempdir with
5725         os::getTmpDir().
5726
5727 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5728
5729         * rename Inset to InsetOld
5730
5731 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5732
5733         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5734         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5735         which I think is a bit clearer. EDIT is gone, since it was
5736         premature optimisation, and broken for mathed anyway.
5737         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5738         with cursor positioning in insets as well (math insets still do not
5739         work, but that's a different story anyway.) It mysteriously
5740         crashes sometimes with undo in the first paragraph, but I'm fairly
5741         confident that this is a compiler bug.
5742
5743 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5744
5745         * paragraph.C (Paragraph): adjust for new clone return type
5746         (operator==): ditto
5747         (copyIntoMinibuffer): ditto
5748
5749 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5750
5751         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5752         by not having a special case, and always doing a full rebreak of
5753         the document after undo.
5754
5755 2003-07-23  Angus Leeming  <leeming@lyx.org>
5756
5757         * factory.C (createInset): InsetExternal::setParams now takes a
5758         Buffer const * arg.
5759
5760 2003-07-23  Angus Leeming  <leeming@lyx.org>
5761
5762         * factory.C (createInset): changed interface to the external and
5763         graphics mailers' string2params functions.
5764
5765 2003-07-23  Angus Leeming  <leeming@lyx.org>
5766
5767         * factory.C (createInset): pass a
5768         Buffer const * parameter to InsetExternalMailer's string2params.
5769
5770 2003-07-22  John Levon  <levon@movementarian.org>
5771
5772         * Thesaurus.h: include the right aiksaurus header
5773
5774 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5775
5776         * MenuBackend.C (expand): check menu shortcuts unconditionally
5777
5778 2003-07-21  Angus Leeming  <leeming@lyx.org>
5779
5780         * factory.C (createInset): pass a
5781         buffer_path parameter to InsetGraphicsMailer's string2params.
5782
5783 2003-07-21  Angus Leeming  <leeming@lyx.org>
5784
5785         * BufferView_pimpl.C (buffer):
5786         * buffer.C (d-tor):
5787         * lyx_main.C (LyX):
5788         * lyxfunc.C (dispatch):
5789         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5790         rather than the grfx shortcut.
5791
5792 2003-07-21  André Pönitz  <poenitz@gmx.net>
5793
5794         * rowpainter.C: remove unused variables
5795
5796         * tabular_funcs.C:
5797         * tabular_funcs.h: move to tabular.C
5798         * Makefile.am: adjust
5799
5800         * tabular.[Ch]: basic optical cleaning
5801
5802         * author.h: pass references, not values
5803
5804 2003-07-18  André Pönitz  <poenitz@gmx.net>
5805
5806         * lyxtext.h:
5807         * metricsinfo.C:
5808         * metricsinfo.h:
5809         * rowpainter.C:
5810         * text.C:
5811         * text2.C:
5812         * text3.C: two-phase drawing for InsetText and InsetTabular
5813         some float -> int changes.
5814
5815 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5816
5817         * lyx_main.C: fix the fix
5818
5819 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5820
5821         * lyx_main.C: fix a crash in batch mode if no files specified
5822         * converter.C: ws
5823
5824 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5825
5826         * format.[Ch] (papersize): moved to BufferParams
5827         * converter.[Ch] (dvips_options): moved to BufferParams
5828         (dvipdfm_options): moved to anon namespace
5829         * bufferparams.[Ch]: added above functions.
5830
5831 2003-07-17  André Pönitz  <poenitz@gmx.net>
5832
5833         * lyxtext.h:
5834         * rowpainter.C:
5835         * text2.C: don't call inset->update() anymore
5836
5837         * metricsinfo.[Ch]: add convenience constructor
5838
5839 2003-07-16  André Pönitz  <poenitz@gmx.net>
5840
5841         * lyxcursor.[Ch]:
5842         * lyxfunc.[Ch]:
5843         * text.C:
5844         * text2.C: replace the LyXCursor::irow_ member with
5845          on-demand computation of the value
5846
5847 2003-07-16  John Levon  <levon@movementarian.org>
5848
5849         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5850
5851 2003-07-15  André Pönitz  <poenitz@gmx.net>
5852
5853         * text.C:
5854         * text2.C: remove no more needed refresh_row
5855
5856 2003-07-15  André Pönitz  <poenitz@gmx.net>
5857
5858         * lyxtext.h:
5859         * rowpainter.C:
5860         * text2.C:
5861         * text3.C: refresh_status tristate -> need_update bool
5862
5863 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5864
5865         * lyxtext.h (init): remove reinit argument (act as if always true)
5866         * text2.C: adjust to that
5867
5868 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5869
5870         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5871         * text3.C: use it to delete selections in some cases
5872         (bugs 441, 673, 702, 954).
5873
5874 2003-07-14  André Pönitz  <poenitz@gmx.net>
5875
5876         * rowpainter.[Ch]: reduce interface
5877
5878 2003-07-14  André Pönitz  <poenitz@gmx.net>
5879
5880         * BufferView_pimpl.C:
5881         * text2.C: adjust after removing unused BufferView * argument
5882
5883 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5884
5885         * text2.C (init): fix a crash fired on resize
5886
5887 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5888
5889         * buffer.[Ch]: added new closing signal
5890         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5891         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5892         BufferView::Pimpl via the closing the signal
5893
5894 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5895
5896         * buffer.[Ch]: take out all bv-related from buffer
5897         * BufferView.C:
5898         * BufferView_pimpl.[Ch]: connect to new signals
5899         * CutAndPaste.C: removed useless asserts
5900         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5901         * lyxvc.[Ch]:
5902         * vc-backend.[Ch]:
5903         * lyxfunc.C: moved view-related funciontality from vc here
5904         * paragraph.C: removed outdated comments
5905         * text.C: ws
5906
5907 2003-07-10  André Pönitz  <poenitz@gmx.net>
5908
5909         * BufferView_pimpl.C:
5910         * tabular.h:
5911         * tabular_funcs.C:
5912         * text.C:
5913         * text2.C: remove InsetText::InnerCache, clean up consequences
5914
5915 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5916
5917         * ispell.C: fix two typos in error messages
5918
5919 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5920
5921         * Extend Note inset to other forms of annotation like Comment
5922         and Greyedout. Right button click gives dialog.
5923
5924         Files modified or added (+):
5925
5926         * insetnote.[Ch]
5927         * FormNote.[Ch]      +
5928         * ControlNote.[Ch]   +
5929         * form_note.fd       +
5930         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5931         frontends/controllers
5932         * xforms/Dialogs.C
5933         * factory.C
5934
5935 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5936
5937         * aspell.C: add missing namespace lyx::support
5938
5939 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5940
5941         * BufferView.[Ch] (newFile): Add
5942         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5943         * LaTeX.[Ch] (message): added this signal and use it
5944         * buffer.[Ch] (busy, message): added these signals and use them
5945         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5946         * converter.C:
5947         * exporter.C:
5948         * format.C:
5949         * importer.C: use buffer signals instead of direct bv calling
5950         * lyx_cb.[Ch] (ShowMessage): removed
5951         * lyx_main.C:
5952         * lyxfunc.C:
5953         * paragraph_funcs.C:
5954         * text2.C: use buffer signals
5955
5956 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5957
5958         * introduce namespace lyx::graphics
5959
5960 2003-07-02  André Pönitz  <poenitz@gmx.net>
5961
5962         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5963
5964 2003-07-01  André Pönitz  <poenitz@gmx.net>
5965
5966         * text.C:
5967         * text2.C:
5968         * text3.C:
5969         * text_funcs.[Ch]:
5970         * textcursor.h:
5971         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5972           text*.C to text_func.C
5973
5974 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5975
5976         * introduce namespace lyx::support
5977
5978 2003-06-30  André Pönitz  <poenitz@gmx.net>
5979
5980         * Chktex.C:
5981         * funcrequest.C:
5982         * lyxtext.h:
5983         * text.C: re-enable --with-included-string
5984
5985 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5986
5987         * textcursor.C: add <config.h>
5988
5989         * text.C (getWord): remove const from word_location arg
5990
5991         * lyxvc.C (getLogFile): fix const type order
5992
5993         * lyxtext.h: remove const from word_location arg, add arg name
5994
5995         * lyxlayout.h: currect type on labeltype.
5996
5997         * importer.C: correct \file
5998
5999         * converter.C (intToFormat): use std:: on ret val, ws changes
6000
6001         * bufferlist.h: correct \file
6002
6003         * buffer.C (makeLinuxDocFile): fix const type order
6004         (makeDocBookFile): ditto
6005         (fillWithBibKeys): use std:: on stdlib args.
6006
6007         * CutAndPaste.C: fix authors.
6008         (availableSelections): use std:: on return vector
6009
6010 2003-06-27  André Pönitz  <poenitz@gmx.net>
6011
6012         * BufferView_pimpl.C:
6013         * bufferview_funcs.C:
6014         * lyxcursor.C:
6015         * lyxcursor.h:
6016         * lyxfunc.C:
6017         * lyxtext.h:
6018         * rowpainter.C:
6019         * text.C:
6020         * text2.C:
6021         * text3.C: remove LyXCursor::row_ member
6022
6023         * lyxtext.h:
6024         * text.C: rename fullRebreak() to partialRebreak() and implement
6025           a fullRebreak() that really bereks fully
6026
6027         * textcursor.h: new struct for cursor-related data
6028
6029 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6030
6031         * lyx_main.C (LyX): get full path of document loaded on the
6032         command line
6033
6034 2003-06-26  André Pönitz  <poenitz@gmx.net>
6035
6036         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6037           remove unused/broken operator>,<,>=.
6038
6039         *       text.C: remove only use of broken operator<= in an Assert().
6040
6041 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6042
6043         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6044         moved errorlist_.clear to showErrorList
6045
6046 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6047
6048         * converter.C (scanLog, runLaTeX):
6049         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6050         move the bv->showErrorList call to the callers
6051         * lyxfunc.C: i.e. here...
6052         * text2.C: and here
6053         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6054         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6055         namespace, the second to...
6056         * buffer_funcs (BufferFormat, parseErrors): added
6057         * errorlist.C (ErrorList(TeXErrors const &)): removed
6058
6059 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6060
6061         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6062
6063 2003-06-24  "Garst R. Reese" <reese@isn.net>
6064
6065         * debug.C: fix typo
6066
6067 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6068
6069         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6070
6071         * version.C.in: change docversion to 1.4
6072
6073 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6074
6075         * buffer.C: fix a bug just introduced
6076
6077 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6078
6079         * buffer.[Ch]: added the parseError signal and use it, removed
6080         sgmlError
6081         * BufferView.[Ch] (addError): moved to ...
6082         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6083         to the Buffer::parseError signal to catch (guess what) parse errors
6084         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6085
6086 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6087
6088         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6089         ability to create a buffer and to return an existing one from
6090         the list. Moved these functions to...
6091         * buffer_funcs.[Ch]: added
6092         * BufferView.[Ch] (loadLyXFile): added
6093         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6094         job removed from bufferlist::loadLyXFile.
6095         * buffer.C (setReadOnly): make it work without view
6096         (i.e added an if (users))
6097
6098 2003-06-19  Angus Leeming  <leeming@lyx.org>
6099
6100         * lfuns.h:
6101         * LyXAction.C (init):
6102         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6103         with LFUN_DIALOG_SHOW <name> <data>.
6104
6105 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6106
6107         * CutAndPaste.C (availableSelections): small compilation fix for
6108         ancient (gcc 2.9x) compilers
6109
6110 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6111
6112         * text3.C (cursorNext): add tmp var
6113
6114         * text2.C (updateCounters): for function calling out of for clause
6115         (replaceSelectionWithString): ditto
6116         (insertStringAsParagraphs): ditto
6117         (getColumnNearX): add tmp var
6118         (setCursorFromCoordinates): add tmp var
6119         (cursorDownParagraph): add tmp var
6120         (deleteEmptyParagraphMechanism): add tmp var
6121
6122         * text.C (insertChar): add tmp var
6123
6124         * rowpainter.C (paintDepthBar): add tmp var
6125
6126         * CutAndPaste.C (availableSelections): potentially check all
6127         paragraphs in a cut to fill the shown strings.
6128
6129 2003-06-18  André Pönitz  <poenitz@gmx.net>
6130
6131         * kbmap.[Ch]: use vector<> instead of list<>
6132
6133 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6134
6135         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6136         pasteSelection with index
6137
6138         * text2.C (pasteSelection): modify, call pasteSelection with index
6139
6140         * paragraph.C (asString): reimplement version with no interval to
6141         call the one with interval.
6142
6143         * lyxtext.h: add index arg to pasteSelection
6144
6145         * MenuBackend.C (MenuItem): handle PasteRecent
6146         (Menu::read::Menutags): add md_pasterecent
6147         (read): handle it
6148         (expandPasteRecent): new function
6149         (expand): use it
6150
6151         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6152
6153         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6154         the limited stack
6155         (availableSelections): new function
6156
6157 2003-06-17  Angus Leeming  <leeming@lyx.org>
6158
6159         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6160
6161 2003-06-17  Angus Leeming  <leeming@lyx.org>
6162
6163         * lfuns.h:
6164         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6165
6166         * lyxfunc.C (dispatch): invoke it.
6167
6168 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6169
6170         * iterators.C (operator++, ParPosition): reintroduce some
6171         const_cast for the benefit of older compilers.
6172
6173 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6174
6175         * text3.C (dispatch): do not modify clipboard when doing
6176         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6177         LFUN_DELETE_SKIP on a selection selection
6178
6179 2003-06-16  André Pönitz  <poenitz@gmx.net>
6180
6181         * BufferView.C:
6182         * buffer.C:
6183         * buffer.h:
6184         * paragraph.C:
6185         * tabular.[Ch]: IU of clone() and getLabelList();
6186
6187 2003-06-13  André Pönitz  <poenitz@gmx.net>
6188
6189         * tabular.h: compactification
6190
6191 2003-06-12  André Pönitz  <poenitz@gmx.net>
6192
6193         * tabular.C:
6194         * tabular.h:
6195         * tabular_funcs.h: some renaming plus whitespace
6196
6197 2003-06-12  André Pönitz  <poenitz@gmx.net>
6198
6199         * BufferView.C:
6200         * BufferView_pimpl.C:
6201         * CutAndPaste.C:
6202         * buffer.C:
6203         * iterators.[Ch]:
6204         * lyxfunc.C:
6205         * text.C:
6206         * toc.C: Return a Paragraph & for ParIterator::operator*()
6207
6208 2003-06-11  John Levon  <levon@movementarian.org>
6209
6210         * lyx_main.C:
6211         * ToolbarBackend.h:
6212         * ToolbarBackend.C: add "Toolbars" section and
6213         put the flags there
6214
6215 2003-06-10  Angus Leeming  <leeming@lyx.org>
6216
6217         * lfuns.h:
6218         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6219
6220         * lyxfunc.C (dispatch): invoke it.
6221
6222 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6223
6224         * main.C: protect <ios> with HAVE_IOS
6225         (main): protect sync_with_stdio with HAVE_IOS
6226
6227 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6228
6229         * text2.C (cutSelection): adjust
6230         (pasteSelection): adjust
6231
6232         * messages.C: handle get of empty string
6233
6234         * main.C (main): use sync_with_stdio(false)
6235
6236         * lyxfunc.C (dispatch): adjust
6237
6238         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6239         (WriteAs): remove unneeded BufferView arg.
6240
6241         * bufferparams.h: use correct types on papersize, papersize2 and
6242         paperpackage.
6243
6244         * bufferparams.C (readToken): adjust for type
6245         (writeLaTeX): add missing cases to switch.
6246
6247         * bufferlist.C (quitWriteBuffer): adjust
6248         (close): adjust
6249
6250         * buffer.C (asciiParagraph): remove some commented code.
6251
6252         * CutAndPaste.C: remove current_view extern variable.
6253         (cutSelection): add BufferParams arg.
6254         (eraseSelection): add BufferParams arg.
6255         (pasteSelection): add Buffer const & arg
6256
6257 2003-06-07  John Levon  <levon@movementarian.org>
6258
6259         * buffer.C:
6260         * paragraph_funcs.C:
6261         * paragraph_pimpl.C:
6262         * text.C:
6263         * text2.C:
6264         * paragraph.h:
6265         * paragraph.C: allow InsetERT to freely space lines,
6266         and some consolidation of code
6267
6268 2003-06-06  José Matos  <jamatos@fep.up.pt>
6269
6270         * buffer.C (makeDocBookFile): fix bug #821
6271
6272 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6273
6274         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6275
6276 2003-06-04  Angus Leeming  <leeming@lyx.org>
6277
6278         * buffer.C: bump format to 224.
6279
6280 2003-06-05  André Pönitz  <poenitz@gmx.net>
6281
6282         * text2.C (redoParagraphs): remove two const_cast<>
6283
6284 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6285
6286         * ParagraphList.h: remove last remnants of NO_STD_LIST
6287
6288 2003-06-03  Angus Leeming  <leeming@lyx.org>
6289
6290         * factory.C (createInset): small change to the way InsetExternal's params
6291         are set.
6292
6293 2003-06-04  André Pönitz  <poenitz@gmx.net>
6294
6295         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6296
6297         * paragraph_pimpl.h:
6298         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6299
6300         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6301
6302         * undo_funcs.C: make some simple cases of undo work again
6303
6304 2003-06-03  John Levon  <levon@movementarian.org>
6305
6306         * ispell.C: HPUX doesn't have sys/select.h
6307         (from Albert Chin)
6308
6309 2003-06-03  John Levon  <levon@movementarian.org>
6310
6311         * CutAndPaste.C: update tabular and include inset
6312         buffer references
6313
6314         * buffer.h:
6315         * paragraph.h:
6316         * paragraph.C: remove owningBuffer(), don't pass Buffer
6317         to clone()
6318
6319         * factory.C: insetGraphicsParams changed
6320
6321 2003-06-02  John Levon  <levon@movementarian.org>
6322
6323         * LyXAction.C:
6324         * factory.C:
6325         * lfuns.h:
6326         * lyxfunc.C:
6327         * text3.C: remove insetparent
6328
6329 2003-06-02  John Levon  <levon@movementarian.org>
6330
6331         * buffer.h:
6332         * buffer.C: fix inset_iterator.end(), move out of line
6333         (bug 1149)
6334
6335 2003-06-01  John Levon  <levon@movementarian.org>
6336
6337         * text3.C: use a proper cut/paste when doing inset
6338         insert (from Jürgen Spitzmüller)
6339
6340 2003-06-01  John Levon  <levon@movementarian.org>
6341
6342         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6343
6344 2003-05-30  André Pönitz  <poenitz@gmx.net>
6345
6346         * rowpainter.C: unify second drawing phase
6347
6348 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6349
6350         * trans_mgr.C: remove one case of current_view
6351
6352         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6353
6354         * paragraph_funcs.h: remove paragraph.h include
6355
6356         * paragraph.h: delete NO_STD_LIST stuff
6357
6358         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6359
6360         * buffer.h: remove paragraph.h include
6361
6362         * ParagraphList.C: delete file
6363
6364         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6365
6366         * toc.C (getTocList): adjust
6367
6368         * paragraph_pimpl.C (validate): adjust
6369
6370         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6371
6372         * paragraph.C (Paragraph): adjust
6373         (getPositionOfInset): use const_iterator, adjust
6374         (bibitem): use const_iterator, adjust
6375         (setInsetOwner): adjust
6376
6377         * iterators.C (operator++): adjust
6378
6379         * InsetList.[Ch]: Replace selfmade iterator with standard
6380         vector::iterator also introduce const_iterator. Remove getPos,
6381         getInset and setInset from InsetTable. Adjust accordingly.
6382
6383         * BufferView.C (lockInset): adjust
6384         (ChangeInsets): adjust
6385
6386         * tabular.[Ch]: delete commented same_id functions
6387
6388 2003-05-28  John Levon  <levon@movementarian.org>
6389
6390         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6391
6392 2003-05-28  André Pönitz  <poenitz@gmx.net>
6393
6394         * metricsinfo.[Ch]: remove 'fullredraw' member
6395
6396 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6397
6398         * lyxtextclass.C (operator): remove caching.
6399
6400 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6401
6402         * text3.C: adjust
6403
6404         * text2.C (cursorBottom): adjust
6405         (setCounter): use ParagraphList::find, adjust
6406
6407         * text.C (workWidth): use ParagraphList::find, adjust
6408
6409         * lyxcursor.C (LyXCursor): adjust
6410
6411         * buffer.C (inset_iterator): adjust
6412
6413         * ParagraphList.h: make iterator(value_type) private, make
6414         ParagraphList a friend of iterator.
6415
6416         * ParagraphList.C (find): new function
6417
6418         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6419
6420 2003-05-27  André Pönitz  <poenitz@gmx.net>
6421
6422         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6423
6424 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6425
6426         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6427
6428 2003-05-26  John Levon  <levon@movementarian.org>
6429
6430         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6431
6432 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6433
6434         * remove same_id from function signatures, adjust.
6435
6436 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6437
6438         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6439
6440         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6441
6442         * paragraph.C (Paragraph): get rid of same_ids parameter
6443
6444         * ParagraphList.C (insert): adjust
6445         (push_back): adjust
6446
6447 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6448
6449         * paragraph_funcs.C (breakParagraph): adjust
6450         (breakParagraphConservative): adjust
6451
6452         * buffer.C (readParagraph): adjust
6453
6454         * ParagraphList.C (insert): take a reference instead of a pointer
6455         (insert): adjust
6456
6457         * paragraph.[Ch] (id): new function
6458
6459         * bufferlist.C (newFile): adjust
6460
6461         * ParagraphList.C (ParagraphList): adjust
6462         (assign): adjust
6463         (push_back): take a reference instead of a pointer.
6464
6465         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6466
6467         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6468         instead.
6469
6470         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6471         set else use old code.
6472
6473         * ParagraphList.C: remove all NO_NEXT code and only compile this
6474         code of NO_STD_LIST is set.
6475
6476 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6477
6478         * BufferView_pimpl.C:
6479         * TextCache.C:
6480         * TextCache.h:
6481         * bufferlist.C:
6482         * errorlist.h:
6483         * format.C:
6484         * format.h:
6485         * graph.C:
6486         * lyxfunc.C:
6487         * lyxrc.C:
6488         * graphics/GraphicsConverter.C:
6489         * graphics/PreviewLoader.C: header adjustment
6490
6491 2003-05-23  Angus Leeming  <leeming@lyx.org>
6492
6493         * LaTeXFeatures.[Ch] (useBabel): new method.
6494         * bufferparams.C (writeLaTeX): use it.
6495
6496 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6497
6498         * ParagraphList.h (set): remove unused function.
6499
6500 2003-05-23  André Pönitz  <poenitz@gmx.net>
6501
6502         * BufferView.C:
6503         * BufferView_pimpl.C:
6504         * buffer.C:
6505         * buffer.h:
6506         * lyxfunc.C:
6507         * undo_funcs.C: setUndo reworked
6508
6509         * iterators.[Ch]: add access to topmost ParagraphList
6510
6511         * lyxtext.[Ch] (workWidth): add a const
6512
6513 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6514
6515         * texrow.[Ch] (increasePos): remove function
6516         * exporter.C (export): removed unused var and outdated comment
6517
6518 2003-05-23  Angus Leeming  <leeming@lyx.org>
6519
6520         * latexrunparams.h: rename fragile as moving_arg.
6521         * paragraph.C (simpleTeXOnePar): ditto.
6522         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6523
6524 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6525
6526         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6527         (createUndo): ditto
6528         (textUndoOrRedo): comment out a currently unused var.
6529
6530         * paragraph.h (NO_NEXT): enable NO_NEXT
6531
6532         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6533
6534         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6535
6536         * exporter.C (Export): adjust for removeAutoInsets removal.
6537
6538         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6539
6540         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6541
6542         * BufferView.[Ch] (removeAutoInsets): delete function
6543
6544 2003-05-22  Angus Leeming  <leeming@lyx.org>
6545
6546         * latexrunparams.h: add a free_spacing variable.
6547
6548         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6549         to pass moving_arg, as the data is stored in runparams.fragile.
6550
6551         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6552         to Inset::latexOptional or to simpleTeXOnePar.
6553
6554         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6555         free_spacing arg to Inset::latexOptional.
6556
6557         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6558         free_spacing arg.
6559
6560 2003-05-22  Angus Leeming  <leeming@lyx.org>
6561
6562         * latexrunparams.h: add fragile and use_babel variables.
6563
6564         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6565         * buffer.C (makeLaTeXFile): store this returned value in
6566         runparams.use_babel, thus passing it to the inset::latex methods.
6567
6568         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6569         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6570
6571         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6572         longer has a fragile arg, as it is stored in runparams.fragile.
6573
6574         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6575         moving_arg parameter as the data is stored in runparams.fragile.
6576
6577         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6578         a fragile parameter as the data is stored in runparams.fragile.
6579
6580 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6581
6582         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6583
6584 2003-05-22  Angus Leeming  <leeming@lyx.org>
6585
6586         * latexrunparams.h: add a 'bool nice' which defaults to false.
6587
6588         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6589         now encapsulated within runparams.
6590
6591         * bufferlist.C (updateIncludedTeXfiles):
6592         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6593
6594 2003-05-22  Angus Leeming  <leeming@lyx.org>
6595
6596         * latexrunparams.h: new file containing struct LatexRunParams.
6597         * Makefile.am: add new file.
6598
6599         * LaTeX.[Ch] (c-tor, run):
6600         * buffer.[Ch] (makeLaTeXFile):
6601         * bufferlist.[Ch] (updateIncludedTeXfiles):
6602         * converter.C (convert, scanLog):
6603         * converter.[Ch] (runLaTeX):
6604         * exporter.C (Export):
6605         * paragraph.[Ch] (simpleTeXOnePar):
6606         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6607         * paragraph_funcs.[Ch] (latexParagraphs):
6608         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6609         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6610         pass around a LatexRunParams parameter.
6611
6612 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6613
6614         * paragraph.[Ch]: remove unused constructor
6615
6616         * ParagraphList.C (erase): new function, taking two iterators
6617
6618 2003-05-22  André Pönitz  <poenitz@gmx.net>
6619
6620         * undo_funcs.C: remove duplicated code
6621
6622         * iterator.[Ch]: operator=
6623
6624 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6625
6626         * tabular.C (SetMultiColumn): ws changes
6627
6628         * rowpainter.C (paintFirst): get rid of a ->previous
6629
6630         * lyx_cb.C (getPossibleLabel): parlist simplification
6631
6632         * BufferView.C (ChangeInsets): simplify slightly.
6633
6634 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6635
6636         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6637         * lfuns.h: new LFUN_SPACE
6638         * lyxfunc.C: protected space has a new lfun
6639         * paragraph_funcs.C: read new space insets
6640         * text3.C:
6641         * factory.C: handle new space insets
6642
6643 2003-05-22  André Pönitz  <poenitz@gmx.net>
6644
6645         * BufferView.C:
6646         * BufferView_pimpl.C:
6647         * buffer.[Ch]:
6648         * lyxfunc.C:
6649         * undo_funcs.C: return a ParIterator from getParFromID.
6650
6651         * iterators.[Ch]: add two const's
6652
6653 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6654
6655         * toc.C (getTocList): adjust
6656
6657         * iterators.[Ch]: rework for parlist
6658
6659         * buffer.C (par_iterator_begin): adjust
6660         (par_iterator_end): adjust
6661
6662         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6663
6664         * BufferView.C (removeAutoInsets): adjust
6665         (ChangeInsets): adjust
6666
6667 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6668
6669         * text.C (top_y): fix bug 1110
6670
6671 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6672
6673         * errorlist.[Ch]: added
6674         * buffer.C:
6675         * BufferView.[Ch]:
6676         * BufferView_pimpl.C:
6677         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6678         instead
6679
6680 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6681
6682         * Makefile.am: ensure that lyx is relinked upon changes to the
6683         various "convenience" libs.
6684
6685 2003-05-20  Angus Leeming  <leeming@lyx.org>
6686
6687         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6688         files are compiled in alphabetical order again.
6689
6690         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6691
6692 2003-05-19  Angus Leeming  <leeming@lyx.org>
6693
6694         * gettext.[Ch]: remove "char const * _(char const *)".
6695
6696 2003-05-19  André Pönitz  <poenitz@gmx.net>
6697
6698         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6699
6700         * Makefile.am:
6701         * BufferView.C:
6702         * DepTable.h:
6703         * LaTeXFeatures.C:
6704         * buffer.C:
6705         * lyxfont.C:
6706         * lyxlex.h:
6707         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6708
6709 2003-05-19  André Pönitz  <poenitz@gmx.net>
6710
6711         * buffer.C:
6712         * lyxlayout.[Ch]:
6713         * lyxtextclass.[Ch]:
6714         * paragraph.C:
6715         * paragraph_funcs.[Ch]:
6716         * text2.C:
6717         * text3.C: more insetenv work
6718
6719 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6720
6721         * ParagraphParameters.C (params2string): small bug fixed
6722
6723 2003-05-16  André Pönitz  <poenitz@gmx.net>
6724
6725         * debug.C:
6726         * bufferview_funcs.C: patch from Kornel Benko to prevent
6727           crash when _(...) is called twice in a statement
6728
6729 2003-05-16  André Pönitz  <poenitz@gmx.net>
6730
6731         * BufferView.C:
6732         * lyxfunc.C:
6733         * text.C:
6734         * text2.C:
6735         * text3.C:
6736         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6737
6738 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6739
6740         * lyx_main.C (init): remove spurious static_cast
6741
6742 2003-05-14  André Pönitz  <poenitz@gmx.net>
6743
6744         * BufferView.C: fix format string
6745
6746 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6747
6748         * BufferView.[Ch] (insertErrors): removed
6749         * BufferView.[Ch] (showErrorList): added
6750         * buffer.C (runChkTeX):
6751         * converter.C (scanLog): call showErrorList instead of inserterrors
6752
6753 2003-05-13  André Pönitz  <poenitz@gmx.net>
6754
6755         * BufferView_pimpl.C:
6756         * buffer.C:
6757         * bufferview_func.C:
6758         * MenuBackend.C:
6759         * lyxfunc.C:
6760         * lyxrc.C:
6761         * tex-accent.C:
6762         * text3.C:
6763         * toc.C:
6764         * tabular_funcs.h: tostr() from its own header
6765
6766         * ParagraphParameters.C:
6767         * ToolbarBackend.C:
6768         * bufferparams.C:
6769         * format.C:
6770         * lyxlex_pimpl.C:
6771         * text3.C: STRCONV()
6772
6773 2003-05-12  André Pönitz  <poenitz@gmx.net>
6774
6775         * BufferView.C:
6776         * BufferView_pimpl.C:
6777         * CutAndPaste.C:
6778         * LaTeX.C:
6779         * LaTeXFeatures.C:
6780         * ParagraphParameters.C:
6781         * buffer.C:
6782         * bufferlist.C:
6783         * bufferparams.C:
6784         * bufferview_funcs.C:
6785         * converter.C:
6786         * counters.C:
6787         * debug.C:
6788         * exporter.C:
6789         * format.C:
6790         * importer.C:
6791         * lyx_cb.C:
6792         * lyx_main.C:
6793         * lyxfont.C:
6794         * lyxfunc.C:
6795         * lyxvc.C:
6796         * paragraph.C:
6797         * paragraph_funcs.C:
6798         * tabular.C:
6799         * tabular_funcs.C:
6800         * text2.C:
6801         * text3.C:  boost::format -> bformat  all over the place
6802
6803
6804 2003-05-09  André Pönitz  <poenitz@gmx.net>
6805
6806         * LColor.[Ch]: Pimpl the #include <map> away
6807
6808 2003-05-09  John Levon  <levon@movementarian.org>
6809
6810         * bufferlist.C: never remove emergency saves
6811
6812 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6813
6814         * Makefile.am: better lib building
6815
6816 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6817
6818         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6819         instead.
6820         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6821         (simpleTeXSpecialChars): adjust
6822         (simpleTeXSpecialChars): adjust
6823         * paragraph.C (simpleTeXOnePar): adjust
6824         * buffer.C (makeLaTeXFile): adjust
6825
6826         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6827
6828         * text2.C (changeDepth): parlist cleanup
6829         (getColumnNearX): ditto
6830
6831         * rowpainter.C (getLabelFont): parlist cleanup
6832
6833         * bufferlist.C (newFile): parlist cleanup
6834
6835         * CutAndPaste.C (eraseSelection): parlist cleanup
6836
6837         * BufferView_pimpl.C (trackChanges): parlist cleanup
6838         (dispatch): ditto
6839
6840         * BufferView.C (lockInset): parlist cleanup.
6841         (ChangeInsets): ditto
6842
6843 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * CutAndPaste.h: Update file header.
6846
6847         * CutAndPaste.C: Update file header.
6848         Store the parts cut out of the Document in a limited_stack.
6849         (copySelection): adjust
6850         (pasteSelection): new function, takes the index in the limited stack.
6851         (nrOfParagraphs): adjust
6852         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6853         simplify error inset insertion.
6854         (checkPastePossible): adjust
6855
6856 2003-05-06  John Levon  <levon@movementarian.org>
6857
6858         * text2.C: don't cast wrap inset to float
6859
6860 2003-05-05  André Pönitz  <poenitz@gmx.net>
6861
6862         * iterator.C:
6863         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6864
6865         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6866           few naked Paragraph *.
6867
6868 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6869
6870         * bufferparams.C: Output warning if a document with missing
6871         TeX document class is loaded
6872         * exporter.C: Disable TeX exports if the document class is missing
6873         * lyxtextclass.C:
6874         * lyxtextclass.h:
6875         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6876         isTeXClassAvailable()
6877
6878 2003-05-03  John Levon  <levon@movementarian.org>
6879
6880         * BufferView.h:
6881         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6882         explicit cursor show/hide
6883
6884         * BufferView_pimpl.h:
6885         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6886         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6887
6888         * lyxfunc.C: hide cursor before dispatching.
6889
6890         * lyx_cb.C:
6891         * lyxfind.C:
6892         * text.C:
6893         * text3.C: remove explicit cursor hides
6894
6895 2003-05-02  André Pönitz  <poenitz@gmx.net>
6896
6897         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6898
6899         * undo_funcs.C:
6900         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6901           linked lists
6902
6903         * text2.C: tiny whitespace
6904
6905 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6906
6907         * undo_funcs.C: almost only ws changes.
6908
6909         * ParagraphList.C (splice): just return if pl is empty.
6910
6911 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6912
6913         * ParagraphList.C (splice): new function.
6914
6915         * CutAndPaste.C (pasteSelection): use it
6916
6917 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6918
6919         * CutAndPaste.C (pasteSelection): remove the last next and
6920         previous from this file.
6921
6922 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6923
6924         * CutAndPaste.C (pasteSelection): more clean up, user proper
6925         ParagraphList functions for pasteing.
6926
6927         * ParagraphList.C (insert): new function, three arg insert
6928
6929 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6930
6931         * ParagraphList.C (insert): new function, three arg insert
6932
6933         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6934         not on paragraphs.
6935
6936 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6937
6938         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6939
6940 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6941
6942         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6943
6944 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6945
6946         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6947         (copySelection): clean up a bit.
6948         (pasteSelection): use make_pair
6949
6950         * ParagraphList.C (ParagraphList): implement copy constructor
6951         (operator=): implement, base on copy constructor.
6952         (assign): new func
6953
6954         * paragraph.C (erase): return a bool
6955
6956         * paragraph_pimpl.C (erasePos): remove function, move contents...
6957         (erase): ... here. Return a bool.
6958         (erase): call erase instead of erasePos.
6959
6960 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6961
6962         * ParagraphList.h: define PitPosPair
6963         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6964         ParagraphList, fix a bug on pasting multiple pars
6965         * text2.C: change interface to C&P
6966
6967 2003-04-30  André Pönitz  <poenitz@gmx.net>
6968
6969         * undo_func.C: revert part of yesterday's patch 2
6970
6971 2003-04-30  John Levon  <levon@movementarian.org>
6972
6973         * LColor.C: s/tabular/table/
6974
6975 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6976
6977         * text3.C (dispatch): do not convert iterator -> pointer
6978         * undo_funcs.C (setCursorParUndo): ditto
6979         * text_funcs.C (transposeChars): ditto
6980
6981         * text2.C (setLayout): ws changes only
6982
6983         * text.C (breakParagraph): do not convert iterator -> pointer
6984         (insertChar): ditto
6985         (acceptChange): ditto
6986         (rejectChange): ditto
6987         (changeCase): ditto
6988         (Delete): ditto
6989         (backspace): ditto
6990
6991         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6992         pointer
6993
6994 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6995
6996         * text3.C (gotoInset): YABG (yet another bad getChar)
6997
6998 2003-04-29  André Pönitz  <poenitz@gmx.net>
6999
7000         * paragraph.h: make operator= private unimplemented as long as
7001           it is unusable
7002
7003         * ParagraphList.C: whitespace
7004
7005         * paragraph.[Ch]:
7006         * paragraph_pimpl.[Ch]:
7007         * paragraph_funcs.C:
7008         * CutAndPaste.C:
7009         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7010
7011         * text2.C:
7012           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7013
7014 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7015
7016         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7017         * paragraph.[Ch] (erase):
7018         * paragraph_pimpl.[Ch] (erase): change return type and value
7019         * text2.C (cutSelection): some rework
7020
7021 2003-04-28  John Levon  <levon@movementarian.org>
7022
7023         * bufferlist.C: changes for unsaved changes dialog
7024
7025 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7026
7027         * bufferlist.C (newFile): set language (messages_) for new
7028         documents also.
7029
7030         * buffer.C (readFile): ws changes only.
7031
7032 2003-04-28  André Pönitz  <poenitz@gmx.net>
7033
7034         * undo_funcs.C:
7035         * lyxfunc.C:
7036         * buffer.[Ch]:
7037         * BufferView_pimpl.C:
7038         * BufferView.C: getParFromID related ParagraphList::iterator changes
7039
7040 2003-04-28  André Pönitz  <poenitz@gmx.net>
7041
7042         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7043           Changes
7044
7045 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7046
7047         * messages.C: remove one more localedir class variable.
7048
7049 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7050
7051         * messages.C (getLocaleDir): singleton generation function
7052         (Pimpl): use it.
7053         (Messages): add a default constructor.
7054
7055         * main.C (main): do not setup localedir here, do not call
7056         gettext_init.
7057
7058         * gettext.C (_): use it.
7059         (gettext_init): delete funciton
7060
7061 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7062
7063         * gettext.C (getLyXMessages): new singleton generating function.
7064
7065         * buffer.C (updateDocLang): adjust
7066
7067         * Makefile.am (messages.o): add target
7068         (main.o): remove target
7069
7070 2003-04-27  John Levon  <levon@movementarian.org>
7071
7072         * bufferlist.C:
7073         * lyx_cb.C:
7074         * lyxfunc.C:
7075         * lyxvc.C: specify cancel button in Alert::prompt
7076
7077 2003-04-26  John Levon  <levon@movementarian.org>
7078
7079         * text3.C:
7080         * lyxfunc.C:
7081         * lfuns.h:
7082         * LyXAction.C: add LFUN_INSET_SETTINGS
7083
7084         * lyxfunc.C: don't enable tabular-feature when there's
7085         just any locking inset
7086
7087 2003-04-26  John Levon  <levon@movementarian.org>
7088
7089         * bufferlist.C: re-add Cancel to buffer close question
7090
7091         * lyxfunc.C: fix import UI a bit
7092
7093 2003-04-25  John Levon  <levon@movementarian.org>
7094
7095         * gettext.C: remove the broken asserts for now
7096
7097 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7098
7099         * messages.C: make case where setlocale cannot comply work better.
7100
7101         * buffer.C (updateDocLang): new function
7102         (changeLanguage): use it
7103         (readFile): use it
7104
7105         * text2.C (setCounter): use B_ a bit.
7106
7107         * lyxlayout.C (Read): be sure to trim the label strings.
7108
7109         * messages.C (Messages): fix typo in comment
7110
7111         * buffer.C (readFile): set message_ after file is loaded.
7112         (makeDocBookFile): remove double return
7113         (changeLanguage): reset message_ upon language change.
7114         (B_): new func, use this to get translated buffer strings.
7115
7116         * main.C: add myself and Jean Marc as authors.
7117
7118 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7119
7120         * messages.[hC]: pimplify Messages, and three different pimpls to be
7121         used in different circumstances.
7122
7123         * gettext.[Ch]: change for use with new message code.
7124
7125 2003-04-24 André Pönitz <poenitz@gmx.net>
7126
7127         * factory.C: support for eqref
7128
7129 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7130
7131         * messages.[Ch]: add missing char
7132
7133         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7134
7135         * messages.[Ch]: New files
7136
7137 2003-04-18  John Levon  <levon@movementarian.org>
7138
7139         * BufferView.h:
7140         * BufferView.C:
7141         * BufferView_pimpl.C:
7142         * lfuns.h:
7143         * LyXAction.C:
7144         * lyxtext.h:
7145         * text2.C: remove layout-copy/paste (bug 778)
7146
7147 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7148
7149         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7150
7151 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7152
7153         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7154         if they succeed. Act accordingly.
7155
7156 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7157
7158         * text2.C (setCharFont): adjust
7159         (setCounter): adjust
7160         (insertStringAsLines): adjust
7161
7162         * text.C (leftMargin): adjust
7163         (setHeightOfRow): adjust
7164
7165         * rowpainter.C (paintFirst): adjust
7166         (paintLast): adjust
7167
7168         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7169         (outerHook): ditto
7170         (isFirstInSequence): ditto
7171         (getEndLabel): ditto
7172         (outerFont): adjust
7173
7174         * paragraph.C (getParLanguage): comment out some hard stuff.
7175
7176         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7177         (sgmlError): ditto
7178         (simpleDocBookOnePar): ditto
7179         (makeDocBookFile): use ParagraphList::iterator
7180
7181         * CutAndPaste.C (pasteSelection): adjust
7182
7183 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7184
7185         * text2.C (getFont): adjust
7186         (getLayoutFont): adjust
7187         (getLabelFont): adjust
7188
7189         * paragraph_funcs.C (TeXOnePar): adjust
7190
7191         * buffer.C (simpleLinuxDocOnePar): adjust
7192         (simpleDocBookOnePar): adjust
7193
7194         * CutAndPaste.C (pasteSelection): adjust
7195
7196         * BufferView.C (getEncoding): adjust
7197
7198         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7199
7200 2003-04-16  John Levon  <levon@movementarian.org>
7201
7202         * lyxfind.C: use parlist stuff for search/changes
7203
7204 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7205
7206         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7207
7208         * text2.C (deleteEmptyParagraphMechanism): adjust
7209
7210         * text2.[Ch] (ownerParagraph): delete func (both of them
7211
7212 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7213
7214         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7215
7216 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7217
7218         * ParagraphList.C: prepare for NO_NEXT
7219
7220 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7221
7222         * text2.C (getFont): adjust
7223         (getLayoutFont): adjust
7224         (getLabelFont): adjust
7225
7226         * paragraph.C (getFont): adjust
7227         (getLabelFont): adjust
7228         (getLayoutFont): adjust
7229
7230         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7231
7232 2003-04-15  John Levon  <levon@movementarian.org>
7233
7234         From Angus Leeming
7235
7236         * lyx_main.C: handle Include in .ui files
7237
7238 2003-04-15  John Levon  <levon@movementarian.org>
7239
7240         * MenuBackend.C: make the doc files length shorter
7241
7242         * ToolbarBackend.h:
7243         * ToolbarBackend.C: handle toolbar placement flags,
7244         Minibuffer
7245
7246 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7247
7248         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7249         adjust
7250
7251         * paragraph_funcs.C (TeXOnePar): adjust
7252
7253         * paragraph.C (getLabelFont): add outerfont arg, adjust
7254         (getLayoutFont): ditto
7255         (simpleTeXOnePar): adjust
7256
7257         * paragraph_pimpl.C (realizeFont): delete func
7258
7259 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7260
7261         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7262         row argument, constify cur argument.
7263
7264 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7265
7266         * text2.C (getFont): adjust
7267         (getLayoutFont): adjust
7268         (getLabelFont): adjust
7269
7270         * paragraph_funcs.C (TeXOnePar): adjust
7271         (outerFont): new func...
7272         (realizeFont): ...moved out from here, changed this to facilitate
7273         transition
7274
7275         * paragraph.C (getFont): take outerfont as arg, adjust
7276         (simpleTeXOnePar): add outerfont arg, adjust
7277
7278         * buffer.C (simpleLinuxDocOnePar): adjust
7279         (simpleDocBookOnePar): adjust
7280
7281         * CutAndPaste.C (pasteSelection): adjust
7282
7283         * BufferView.C (getEncoding): adjust
7284
7285 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7286
7287         * text2.C (setCharFont): adjust
7288         (setCounter): adjust
7289
7290         * text.C (leftMargin): adjust
7291         (setHeightOfRow): adjust
7292
7293         * rowpainter.C (paintFirst): adjust
7294         (paintLast): adjust
7295
7296         * paragraph_pimpl.C (realizeFont): adjust
7297
7298         * paragraph.C (isFirstInSequence): move from here...
7299         * paragraph_funcs.C (isFirstInSequence): ...to here
7300
7301         * paragraph.C (outerHook): move from here...
7302         * paragraph_funcs.C (outerHook): ...to here
7303
7304         * paragraph.C (depthHook): move from here...
7305         * paragraph_funcs.C (depthHook): ...to here
7306
7307         * paragraph.C (getEndLabel): move from here...
7308         * paragraph_funcs.C (getEndLabel): ...to here
7309
7310         * text2.C (realizeFont): move from here...
7311         * paragraph_funcs.C (realizeFont): ...to here
7312
7313 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7314
7315         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7316
7317 2003-04-14  Angus Leeming  <leeming@lyx.org>
7318
7319         * LColor.[Ch]: scrap LColor mathcursor.
7320
7321 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7322
7323         * lyxlex.[Ch] (text): delete function
7324         * trans.C (Load): adjust
7325         * paragraph_funcs.C (readParToken): adjust
7326
7327 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7328
7329         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7330         vector<char> instead of a char[].
7331
7332         * lyxlex_pimpl.C (getString): adjust
7333         (next): adjust
7334         (lex): use getString
7335         (eatLine): adjust
7336         (nextToken): adjust
7337
7338         * lyxlex.C (text): use pimpl_->getString()
7339         (getBool): ditto
7340         (findToken): ditto
7341
7342 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7343
7344         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7345         (makeFontEntriesLayoutSpecific): temp var for par.size()
7346         (setLayout): temp var for ownerParagraphs().end()
7347         (fullRebreak): temp var for rows().end()
7348         (selectionAsString): temp var for boost::next(startpit), realize
7349         that the while really is a regular for loop.
7350         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7351         setCursor in one place.
7352         (setParagraph): temp vr for ownerParagraphs().end()
7353         (updateCounters): make the while loop a for loop
7354         (cutSelection): temp var for ownerParagraphs().end()
7355         (updateInset): make the do {} while() a regular for loop
7356         (getCursorX): use temp vars
7357         (setCurrentFont): use temp vars
7358         (getColumnNearX): use temp vars
7359
7360 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7361
7362         * text.C (transformChar): use temp var for getChar
7363         (computeBidiTables): use temp var for row->par()
7364         (fill): move temp vars for row->par() and pit->layout() earlier in
7365         the function.
7366         (labelFill): use temp var for row->par()
7367         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7368         asc and desc, realize that pit never changes and that firstpit is
7369         just a duplicate and not needed. Exchange rit->par() with pit in a
7370         lot of places.
7371         (breakAgain): use a temp var for boost::next(rit)
7372         (breakAgainOneRow): ditto
7373         (breakParagraph): use a temp var for rows().begin()
7374         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7375         (cursorRightOneWord): use temp var for cursor.par() and
7376         cursor.pos(), remove usage of tmpcursor.
7377         (cursorLeftOneWord): use temp var for cursor.par() and
7378         cursor.pos() only set cur at end of function.
7379
7380 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7381
7382         * text.C, text2.C: exchange all usage of Paragraph::next with
7383         boost::next(ParagraphList::iterator)
7384
7385         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7386
7387         * text2.C (cursorTop): simplify implementation
7388         (cursorBottom): ditto
7389         (setParagraph): use ParagraphList::iterator
7390         (setCurrentFont): adjust
7391         (getColumnNearX): adjust
7392         (cursorRight): adjust
7393         (cursorLeft): remove usage of Paragraph::previous
7394         (cursorUpParagraph): ditto
7395         (deleteEmptyParagraphMechanism): slight cleanup
7396
7397         * text.C (isBoundary): take a Paragraph const & instead of a
7398         pointer as arg.
7399         (addressBreakPoint): ditto
7400         (leftMargin): remove usage of Paragraph::previous.
7401         (setHeightOfRow): ditto
7402         (cursorLeftOneWord): ditto
7403         (selectNextWordToSpellcheck): ditto
7404         (Delete): ditto
7405         (backspace): ditto
7406         (breakParagraph): remove one usage of Paragraph::next
7407         (redoParagraph): ditto
7408         (acceptChange): ditto
7409         (insertChar): adjust
7410         (rowBreakPoint): adjust
7411
7412         * bufferview_funcs.C (toggleAndShow): adjust
7413
7414 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7415
7416         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7417         methods to access it.
7418         * lyxtext.h:
7419         * text.C: Added updateRowPositions to compute all row positions.
7420         Make top_y and getRowNearY() to use the cached y position
7421
7422 2003-04-11  John Levon  <levon@movementarian.org>
7423
7424         * text.C (rowBreakPoint): reintroduce the labelEnd
7425         checks, code copied from the row fill stuff. Deep voodoo.
7426
7427         * text.C (fill): add a comment and debugging for the
7428         next poor soul.
7429
7430 2003-04-11  John Levon  <levon@movementarian.org>
7431
7432         * text.C: make sure fullrow insets get wrapped to the next line,
7433         even when they're in a manual label
7434
7435 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7436
7437         * text2.C (insertParagraph): make it take ParagraphList::iterator
7438         as arg.
7439         (setLayout): make it return ParagraphList::iterator
7440         (redoParagraphs): ditto
7441         (setCounter): ditto
7442         (checkParagraph): ditto
7443
7444         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7445
7446         * text2.C: adjust several funcs.
7447         (realizeFont): take a ParagraphList::iterator as arg.
7448         (getLayoutFont): ditto
7449         (getLabelFont): ditto
7450         (setCharFont): ditto
7451
7452         * text.C: adjust several funcs.
7453
7454 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7455
7456         * text.C (selectNextWordToSpellcheck): don't accidentally
7457         skip insets
7458
7459 2003-04-10  John Levon  <levon@movementarian.org>
7460
7461         * ToolbarBackend.C (getIcon): special handling for
7462         LFUN_MATH_DELIM
7463
7464 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7465
7466         * text2.C (cursorRight): a getChar assert fixed
7467
7468 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7469
7470         * text2.C (getFont): change to take a ParagraphList::iterator
7471         instead of Paragraph*
7472         Adjust several functions.
7473
7474         * text.C (transformChar): change to take a ParagraphList::iterator
7475         instead of Paragraph*
7476         (singleWidth): ditto
7477         Adjust several functions.
7478
7479         * rowpainter.C: adjust several functions
7480         * rowpainter.h:store a ParagraphList::iterator and not a
7481         Paragraph&.
7482
7483
7484 2003-04-09  John Levon  <levon@movementarian.org>
7485
7486         * lyxfunc.C:
7487         * lfuns.h:
7488         * LyXAction.h:
7489         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7490         and the "help" bits as well
7491
7492 2003-04-09  John Levon  <levon@movementarian.org>
7493
7494         * ToolbarBackend.h:
7495         * ToolbarBackend.C: allow multiple toolbars
7496
7497 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7498
7499         * undo_funcs.C (setCursorParUndo): adjust
7500
7501         * text_funcs.C (transposeChars): adjust
7502
7503         * text3.C (gotoNextInset): adjust
7504         (dispatch): adjust
7505
7506         * text2.C (setLayout): adjust
7507         (changeDepth): adjust
7508         (setFont): adjust
7509         (redoParagraphs): adjust
7510         (selectionAsString): adjust
7511         (setParagraph): adjust
7512         (insertInset): adjust
7513         (cutSelection): adjust
7514         (copySelection): adjust
7515         (pasteSelection): adjust
7516         (insertStringAsLines): adjust
7517         (updateInset): adjust
7518         (setCursor): change to take a ParagraphList::iterator parameter
7519         (setCursorIntern): change to take a ParagraphList::iterator parameter
7520         (setCurrentFont): adjust
7521         (cursorLeft): adjust
7522         (cursorRight): adjust
7523         (deleteEmptyParagraphMechanism): adjust
7524
7525         * text.C (breakParagraph): adjust
7526         (insertChar): adjust
7527         (acceptChange): adjust
7528         (rejectChange): adjust
7529         (selectNextWordToSpellcheck): adjust
7530         (changeCase): adjust
7531         (Delete): adjust
7532         (backspace): adjust
7533
7534         * lyxfind.C (SearchForward): adjust
7535         (SearchBackward): adjust
7536         (nextChange): adjust
7537
7538         * lyxcursor.C (par): adjust
7539
7540         * lyxcursor.h: store a ParagraphList::iterator instead of a
7541         Paragraph*
7542
7543         * lyx_cb.C (getPossibleLabel): adjust
7544
7545         * bufferview_funcs.C (toggleAndShow): adjust
7546
7547         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7548         (dispatch): adjust
7549
7550         * BufferView.C (removeAutoInsets): adjust
7551         (lockedInsetStoreUndo): adjust
7552
7553 2003-04-09  John Levon  <levon@movementarian.org>
7554
7555         * ToolbarBackend.C: try icon without argument
7556         if with argument fails
7557
7558 2003-04-08  John Levon  <levon@movementarian.org>
7559
7560         * ToolbarBackend.h:
7561         * ToolbarBackend.C: add getIcon(), handle tooltip,
7562         and change from "Icon" to "Item".
7563
7564 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7565
7566         * BufferView.C (lockInset): another bad getchar crunched
7567
7568 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7569
7570         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7571         again)
7572
7573 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7574
7575         * lyxfind.C (searchForward, searchBackwards): bug 782
7576
7577 2003-04-07  John Levon  <levon@movementarian.org>
7578
7579         * paragraph.C: remove dead comment
7580
7581         * text.C: remove troublesome depth-fiddling code
7582         in leftMargin() and rightMargin() (bug 1017)
7583
7584         * text.C: fix breaking of rows in nested lists
7585         (bug 1004)
7586
7587         * text2.C (updateCounters): fix up depth values
7588         (bug 1013)
7589
7590 2003-04-07  John Levon  <levon@movementarian.org>
7591
7592         * BufferView_pimpl.C: clear message when doc finishes resizing,
7593         and after a mouse event
7594
7595         * lyxfunc.C: clear message after exiting inset
7596
7597 2003-04-07  John Levon  <levon@movementarian.org>
7598
7599         * bufferview_funcs.C: show math status not outside
7600         status in the statusbar
7601
7602 2003-04-07  John Levon  <levon@movementarian.org>
7603
7604         * lyxfunc.C: note status changed after a depth change
7605
7606 2003-04-04  Angus Leeming  <leeming@lyx.org>
7607
7608         * LaTeX.h: move AuxInfo operator==, != out of line.
7609         Remove LaTeX virtual destructor; nothing derives from it.
7610         Move operator()() out of public area and rename it startscript().
7611         Change protected for private.
7612
7613 2003-04-04  Angus Leeming  <leeming@lyx.org>
7614
7615         * lyxfunc.C:
7616         * text2.C: remove unneeded #includes.
7617
7618 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7619
7620         * text2.C (dEPM): fix the heigth of the next row
7621
7622 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7623
7624         * text.C: squashed an invalid getChar requester + some ws changes
7625
7626 2003-04-03  John Levon  <levon@movementarian.org>
7627
7628         * bufferview_funcs.h:
7629         * bufferview_funcs.C:
7630         * lyxfunc.C:
7631         * lyxtext.h:
7632         * text2.C: make getStatus work for the env depth lfuns
7633
7634 2003-04-03  John Levon  <levon@movementarian.org>
7635
7636         * bufferview_funcs.h:
7637         * bufferview_funcs.C:
7638         * lyxfunc.C:
7639         * lyxtext.h:
7640         * text2.C: parlistize decDepth(), by merging it with incDepth()
7641
7642 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7643
7644         * lyxrow.h: store a ParagraphList::iterator instead of a
7645         Paragraph* and adjust other class functions to suit.
7646
7647         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7648         above.
7649
7650 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7651
7652         * text2.C (setCursor): do not anchor to cursor row for the time being
7653
7654 2003-04-02  John Levon  <levon@movementarian.org>
7655
7656         * LyXAction.C:
7657         * lfuns.h:
7658         * lyx_main.C:
7659         * lyxtext.h:
7660         * text.C:
7661         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7662
7663 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7664
7665         * paragraph.h: make ParagraphList and ParagraphList::iterator
7666         friends of Paragraph.
7667
7668         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7669
7670         * ParagraphList.C: Use the private next_ and previous_ from
7671         Paragraph.
7672
7673 2003-04-01  John Levon  <levon@movementarian.org>
7674
7675         * ToolbarBackend.h:
7676         * ToolbarBackend.C:
7677         * Makefile.am: rename, remove defaults gunk
7678
7679         * MenuBackend.h:
7680         * MenuBackend.C: remove defaults gunk
7681
7682         * Languages.h:
7683         * Languages.C: remove defaults gunk
7684
7685         * lyx_main.h:
7686         * lyx_main.C: error out if files couldn't be found.
7687
7688 2003-04-02  John Levon  <levon@movementarian.org>
7689
7690         * text2.C: make incDepth() use parlist
7691
7692 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7693
7694         * undo_funcs.C (firstUndoParagraph): adjust
7695
7696         * text3.C (gotoInset): adjust
7697         (dispatch): adjust, and rewrite loop.
7698
7699         * text2.C (init): adjust, and rewrite loop.
7700         (redoParagraphs): adjust
7701         (updateInset): adjust, and rewrite loop.
7702         (deleteEmptyParagraphMechanism): adjust
7703
7704         * tabular.C (LyXTabular): adjust
7705         (SetMultiColumn): adjust
7706         (TeXRow): adjust
7707
7708         * lyxtext.[Ch] (ownerParagraph): delete function
7709         (ownerParagraphs): new function returns a ParagraphList.
7710
7711         * BufferView.C (removeAutoInsets): adjust
7712         (insertErrors): adjust
7713         (setCursorFromRow): adjust
7714
7715 2003-04-01  Angus Leeming  <leeming@lyx.org>
7716
7717         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7718         in the frontends.
7719
7720 2003-04-02  John Levon  <levon@movementarian.org>
7721
7722         * lyxtext.h:
7723         * text.C:
7724         * Makefile.am:
7725         * text_funcs.h:
7726         * text_funcs.C: make transposeChars a free function
7727
7728         * lyxrow_funcs.C: remove wrong comment
7729
7730 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7731
7732         * lyxtext.h: adjust
7733         * rowpainter.C: adjust
7734         * text.C: adjust
7735         * text2.C: adjust
7736         * text3.C: adjust
7737
7738         * lyxrow_funcs. [Ch]: new files
7739
7740         * lyxrow.[Ch]: remove next and previous pointers
7741         (next,previous): remove accessor functions
7742         (isParEnd): move to lyxrow_funcs
7743         (lastPos): move to lyxrow_funcs
7744         (nextRowIsAllInset): move to lyxrow_funcs
7745         (lastPrintablePos): move to lyxrow_funcs
7746         (numberOfSeparators): move to lyxrow_funcs
7747         (numberOfHfills): move to lyxrow_funcs
7748         (numberOfLabelHfills): move to lyxrow_funcs
7749         (hfillExpansion): move to lyxrow_funcs
7750
7751         * lyxfunc.C: adjust
7752
7753         * bufferview_funcs.C (toggleAndShow): adjust
7754
7755         * RowList.h: Remove class RowList from file leave just a
7756         std::list<Row>.
7757
7758         * RowList.C: delete file
7759
7760         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7761         and lyxrow_funcs.h
7762
7763 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7764
7765         * text3.C (cursorPrevious): adjust
7766         (cursorNext): adjust
7767         (dispatch): adjust
7768
7769         * text2.C (redoHeightOfParagraph): adjust
7770         (redoDrawingOfParagraph): adjust
7771         (setCursor): adjust
7772
7773         * text.C (breakParagraph): adjust
7774         (insertChar): adjust
7775         (backspace): adjust
7776
7777         * rowpainter.C (RowPainter): adjust
7778         (leftMargin): simplify and adjust
7779         (most rowpainter functions): adjust.
7780
7781         * rowpainter.h: store the row as RowList::iterator not as Row*
7782
7783         * lyxcursor.C (row): taka RowList::iterator as arg
7784         (irow): ditto
7785
7786         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7787         of Row*.
7788
7789 2003-04-01  Angus Leeming  <leeming@lyx.org>
7790
7791         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7792         stuff like bool Bool.
7793
7794 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7795
7796         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7797         rewrite a loop
7798
7799 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7800
7801         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7802         RowList::iterator.
7803
7804         * lyxtext.h (rows): drop one version and leve a const variant that
7805         returns a RowList::iterator.
7806
7807 2003-03-31  Angus Leeming  <leeming@lyx.org>
7808
7809         * text.C (fill): ensure that the signature is the same as that in the
7810         header file.
7811
7812 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7813
7814         * text2.C (redoParagraphs): adjust
7815         (updateCounters): adjust
7816         (checkParagraph): adjust
7817         (getColumnNearX): adjust and reformat a bit.
7818
7819         * text.C (top_y): adjust
7820         (workWidth): adjust
7821         (leftMargin): adjust
7822         (prepareToPrint): adjust
7823         (getRow): adjust
7824         (getRowNearY): adjust
7825
7826         * lyxtext.h: make rowlist_ mutable.
7827
7828         * RowList.h: add const_iterator
7829         * RowList.C: adjust for RowList::const_iterator.
7830
7831         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7832         adjust.
7833
7834 2003-03-31  John Levon  <levon@movementarian.org>
7835
7836         * lyxrc.h:
7837         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7838
7839         * lyx_main.C: set default fonts from using lyx_gui funcs
7840
7841         * exporter.C: pdf_mode moved from lyxrc
7842
7843         * lyx_cb.C:
7844         * lyxfunc.C: changes from above
7845
7846 2003-03-31  John Levon  <levon@movementarian.org>
7847
7848         * lyx_main.C: fix to the last fix
7849
7850 2003-03-31  John Levon  <levon@movementarian.org>
7851
7852         * bufferlist.C: "Load original" -> "Load Original"
7853
7854         * converter.C:
7855         * exporter.C:
7856         * importer.C:
7857         * lyx_main.C:
7858         * format.C: more Alert cleanups
7859
7860 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7861
7862         * text2.C (removeParagraph): make it take a RowList::iterator as
7863         arg, adjust.
7864         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7865         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7866
7867         * text.C (anchor_row): make it take a RowList::iterator as arg,
7868         adjust.
7869         (computeBidiTables): make it take a const reference to Row instead
7870         of Row pointer, adjust.
7871         (leftMargin): make it take a RowList::iterator as arg, adjust.
7872         (rowBreakPoint): adjust
7873         (breakAgainOneRow): make it take a RowList::iterator as arg,
7874         adjust.
7875         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7876
7877         * bufferview_funcs.C (toggleAndShow): adjust
7878
7879 2003-03-30  John Levon  <levon@movementarian.org>
7880
7881         * Makefile.am:
7882         * BoostFormat.h:
7883         * boost-inst.C: moved to support
7884
7885         * several files: changes as a result
7886
7887 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7888
7889         * text2.C (LyXText): adjust.
7890         (init): adjust
7891         (removeRow): make it take a RowList::iterator as arg, adjust.
7892         (fullRebreak): adjust
7893         (deleteEmptyParagraphMechanism): adjust
7894         (clearPaint): adjust
7895         (postPaint): adjust
7896
7897         * text.C (top_y): adjust
7898         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7899         (breakAgain): make it take a RowList::iterator as arg, adjust.
7900         (breakParagraph): adjust
7901         (insertChar): adjust
7902         (backspace): adjust
7903
7904         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7905         need_break_row, and refresh_row.
7906
7907         * text3.C (dispatch): adjust
7908
7909         * text2.C (checkParagraph): adjust
7910         (setCursor): adjust
7911         (setCursorFromCoordinates): adjust
7912
7913         * text.C (top_y): adjust
7914         (workWidth): adjust
7915         (getRow): make it return a RowList::iterator, adjust
7916         (getRowNearY): make it return a RowList::iterator, adjust
7917
7918         * text2.C (init): adjust
7919         (insertRow): remove function
7920         (insertParagraph): adjust
7921         (redoParagraphs): adjust
7922         (fullRebreak): adjust
7923         (updateCounters): adjust
7924
7925         * text.C (top_y): rewrite to use RowList iterators.
7926         (top_y): adjust
7927         (setHeightOfRow): rewrite to sue RowList iterators.
7928         (appendParagraph): adjust
7929         (breakAgain): adjust
7930         (breakAgainOneRow): adjust
7931         (breakParagraph): adjust
7932         (getRow): adjust
7933         (getRowNearY): adjust, and remove commented code.
7934
7935         * lyxtext.h (firstRow): delete function
7936         (lastRow): delete function
7937         (rows): new function (const and non-const versions.)
7938         (insertRow): delete function
7939
7940         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7941
7942 2003-03-29  John Levon  <levon@movementarian.org>
7943
7944         * BufferView_pimpl.C: always update scrollbar top
7945         because pasting text when we're anchored could mean we
7946         miss an update altogether
7947
7948 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7949
7950         * text2.C (init): use rowlist_.end() and not 0.
7951         (insertRow): change to take a RowList::iterator as arg, adjust
7952         for this.
7953         (insertParagraph): change to take a RowList::iterator as arg,
7954         adjust for this.
7955         (redoParagraphs): remove some debug msgs.
7956
7957         * text.C (appendParagraph): change to take a RowList::iterator
7958         arg, adjust for this.
7959         (breakAgain): add an assert
7960         (breakAgainOneRow): ditto
7961
7962 2003-03-29  John Levon  <levon@movementarian.org>
7963
7964         * text2.C: do not clear selection after inc/decDepth
7965         (bug 550)
7966
7967 2003-03-29  John Levon  <levon@movementarian.org>
7968
7969         * BufferView.C:
7970         * buffer.C: fix broken strerrors according to Lars
7971
7972 2003-03-29  John Levon  <levon@movementarian.org>
7973
7974         * converters.C: more Alert cleanups
7975
7976 2003-03-29  John Levon  <levon@movementarian.org>
7977
7978         * bufferview_funcs.C: remove pointless Alert
7979
7980         * buffer.C: fix confusing error message when
7981         a template is chmoded 000
7982
7983 2003-03-29  John Levon  <levon@movementarian.org>
7984
7985         * BufferView.C:
7986         * BufferView.h:
7987         * BufferView_pimpl.C: Alert fixes
7988
7989         * Makefile.am:
7990         * tabular.C:
7991         * tabular-old.C: remove unused table compat reading
7992
7993 2003-03-29  John Levon  <levon@movementarian.org>
7994
7995         * BufferView.C:
7996         * buffer.C:
7997         * lyx_cb.h:
7998         * lyx_cb.C: more Alert cleanups
7999
8000         * lyxfunc.C: don't allow chktex if not latex document
8001
8002 2003-03-29  John Levon  <levon@movementarian.org>
8003
8004         * lyx_cb.C:
8005         * BufferView.C:
8006         * buffer.C: warnings pushed down from support/,
8007         kill err_alert
8008
8009 2003-03-29  John Levon  <levon@movementarian.org>
8010
8011         * lyxfunc.C: safety check for C-r (revert)
8012
8013 2003-03-29  John Levon  <levon@movementarian.org>
8014
8015         * bufferlist.h:
8016         * bufferlist.C: several UI fixes using Alert::prompt.
8017         Fix the pointless looping quit code. Fix stupid revert
8018         behaviour (bug 938)
8019
8020         * lyxvc.h:
8021         * lyxvc.C:
8022         * lyx_cb.C: use Alert::prompt
8023
8024         * lyx_main.C: remove a silly question
8025
8026         * lyxfunc.C: remove a couple of silly questions,
8027         use Alert::prompt
8028
8029 2003-03-28  John Levon  <levon@movementarian.org>
8030
8031         * text2.C: fix bug 974 (End on empty par)
8032
8033 2003-03-28  John Levon  <levon@movementarian.org>
8034
8035         * BufferView_pimpl.C:
8036         * LyXAction.C:
8037         * lfuns.h: remove do-nothing math greek lfuns
8038
8039 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8040
8041         * lyxgluelength.h (isValidGlueLength): add default arg on
8042         parameter 2. Remove default arg from friend in class.
8043
8044         * lyxlength.h (isValidLength): add default arg on parameter 2.
8045         Remove default arg from friend in class.
8046
8047         * text2.C (LyXText): adjust, initialize refresh_row.
8048         (init): adjust
8049         (removeRow): adjust
8050         (insertRow): adjust
8051         (insertParagraph): adjst
8052         (redoParagraphs): adjust
8053         (fullRebreak): adjust
8054         (updateCounters): adjust
8055         (deleteEmptyParagraphMechanism): first attempt at fixing a
8056         crashing bug.
8057
8058         * text.C (top_y): adjust
8059         (setHeightOfRow): adjust
8060         (getRow): adjust
8061         (getRowNearY): adjust
8062
8063         * lyxtext.h: include RowList.h
8064         (~LyXText): not needed anymore, deleted.
8065         (firstRow): modify for RowList
8066         (lastRow): new function
8067         Delete firstrow and lastrow class variables, add a Rowlist
8068         rowlist_ class variable.
8069
8070         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8071         paragraph is empty.
8072
8073         * RowList.C (insert): fix case where it == begin().
8074
8075 2003-03-26  Angus Leeming  <leeming@lyx.org>
8076
8077         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8078         the thesaurus dialog.
8079
8080 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8081
8082         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8083
8084         * RowList.[Ch]: new files
8085
8086         * ParagraphList.C (erase): handle the case where it == begin
8087         correctly.
8088
8089 2003-03-25  John Levon  <levon@movementarian.org>
8090
8091         * Makefile.am:
8092         * aspell_local.h:
8093         * aspell.C: add new aspell support
8094
8095         * lyxrc.h:
8096         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8097         have it accessible.
8098
8099 2003-03-25  Angus Leeming  <leeming@lyx.org>
8100
8101         * lfuns.h:
8102         * LyXAction.C (init): new LFUN_INSET_INSERT.
8103
8104         * BufferView_pimpl.C (dispatch): split out part of the
8105         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8106
8107         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8108         LFUN_INSET_APPLY.
8109
8110 2003-03-25  Angus Leeming  <leeming@lyx.org>
8111
8112         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8113
8114 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8115
8116         * text2.C:
8117         * text3.C: remove useless row->height(0)
8118
8119 2003-03-25  John Levon  <levon@movementarian.org>
8120
8121         * lyxtext.h:
8122         * text2.C:
8123         * text3.C: rename the refreshing stuff to better names
8124
8125 2003-03-24  John Levon  <levon@movementarian.org>
8126
8127         * BufferView_pimpl.h:
8128         * BufferView_pimpl.C: update layout choice on a mouse
8129         press/release
8130
8131 2003-03-23  John Levon  <levon@movementarian.org>
8132
8133         * Makefile.am: fix commandtags.h reference
8134
8135 2003-03-22  John Levon  <levon@movementarian.org>
8136
8137         * BufferView_pimpl.C:
8138         * lyxtext.h:
8139         * rowpainter.C:
8140         * rowpainter.h:
8141         * text.C:
8142         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8143
8144 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8145
8146         * lyxtext.h:
8147         * text.C: take the rtl methods out of line
8148
8149 2003-03-21 André Pönitz <poenitz@gmx.net>
8150
8151         * metricsinfo.[Ch]: new files containing structures to be passed around
8152         during the two-phase-drawing...
8153
8154 2003-03-21 André Pönitz <poenitz@gmx.net>
8155
8156         * lyxtextclass.C: read 'environment' tag.
8157
8158 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8159
8160         * text2.C (removeRow): fix bug 964
8161
8162 2003-03-20  John Levon  <levon@movementarian.org>
8163
8164         * rowpainter.C:
8165         * text.C:
8166         * text2.C: paint cleanups. Inset::update() dropped font
8167         parameter
8168
8169 2003-03-19  John Levon  <levon@movementarian.org>
8170
8171         * lyxfunc.C: only fitcursor/markDirty if available()
8172
8173 2003-03-19  John Levon  <levon@movementarian.org>
8174
8175         * commandtags.h: rename to ...
8176
8177         * lfuns.h: ... this, and renumber / cleanup
8178
8179 2003-03-19  John Levon  <levon@movementarian.org>
8180
8181         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8182         fit the cursor after an lfun
8183
8184         * BufferView.h:
8185         * BufferView.C:
8186         * BufferView_pimpl.h:
8187         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8188
8189         * LyXAction.C: layout-character should have ReadOnly
8190
8191         * ParagraphParameters.C:
8192         * buffer.C:
8193         * bufferview_funcs.C:
8194         * lyx_cb.C:
8195         * lyxfind.C:
8196         * lyxtext.h:
8197         * text.C:
8198         * text2.C:
8199         * text3.C:
8200         * undo_funcs.C: changes from above
8201
8202 2003-03-18  John Levon  <levon@movementarian.org>
8203
8204         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8205         remove it from update()
8206
8207         * lyxfunc.C: update layout choice after an lfun
8208
8209         * text3.C: remove extra updateLayoutChoice()s
8210
8211 2003-03-18  John Levon  <levon@movementarian.org>
8212
8213         * text.C: top_y change means full repaint, fix
8214         a drawing bug with cursor movement
8215
8216 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8217
8218         * lyxtext.h:
8219         * text.C:
8220         * text2.C: anchor row on setCursor
8221
8222 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8223
8224         * lyxtext.h: remove almost all mutable keywords
8225         * text.C:
8226         * text2.C:
8227         * text3.C: remove const keywords accordingly
8228
8229 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8230
8231         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8232         anon namespace
8233         (TeXEnvironment): ditto
8234         (TeXOnePar): ditto
8235
8236 2003-03-17  John Levon  <levon@movementarian.org>
8237
8238         * text.C (rowBreakPoint): remove attempt to fix displayed
8239         math insets inside a manual label
8240
8241 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8242
8243         * lyxtext.h: remove BufferView* as first arg from almost all class
8244         functions.
8245         * other files: adjust.
8246
8247 2003-03-17  John Levon  <levon@movementarian.org>
8248
8249         * lyxtext.h:
8250         * undo_funcs.C:
8251         * text2.C: more paint cleanups
8252
8253         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8254
8255         * rowpainter.h:
8256         * rowpainter.C: remove "smart" background painting code
8257
8258 2003-03-16  John Levon  <levon@movementarian.org>
8259
8260         * lyxtext.h:
8261         * text.C:
8262         * text2.C:
8263         * text3.C: add helper functions for setting refresh_row/y
8264
8265 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8266
8267         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8268         newline inset which *can* get inserted in the pass_thru layouts.
8269         This is primarily for literate documents.
8270
8271 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8272
8273         * buffer.C: increment LYX_FORMAT to 223
8274
8275 2003-03-14 André Pönitz <poenitz@gmx.net>
8276
8277         * textclass.h: prepare for environment handling, ws changes
8278         * lyxlayout.C: read latexheader and latexfooter tags
8279
8280 2003-03-14  John Levon  <levon@movementarian.org>
8281
8282         * text2.C: rewrite ::status() a bit
8283
8284 2003-03-13  John Levon  <levon@movementarian.org>
8285
8286         * lyxtext.h: add some docs
8287
8288 2003-03-13  John Levon  <levon@movementarian.org>
8289
8290         * lyxtext.h:
8291         * text.C:
8292         * text2.C:
8293         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8294
8295 2003-03-13  John Levon  <levon@movementarian.org>
8296
8297         * text3.C: fix appendix redrawing
8298
8299 2003-03-13  John Levon  <levon@movementarian.org>
8300
8301         * text.C (setHeightOfRow):
8302         * rowpainter.h:
8303         * rowpainter.C: make appendix mark have the text
8304           "Appendix" so the user knows what it is
8305
8306         * LColor.h:
8307         * LColor.C: s/appendixline/appendix/ from above
8308
8309 2003-03-13  John Levon  <levon@movementarian.org>
8310
8311         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8312
8313         * text.C: fix a getChar(pos) bug properly
8314
8315 2003-03-13  Angus Leeming  <leeming@lyx.org>
8316
8317         * commandtags.h:
8318         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8319         Probably only temporary. Let's see how things pan out.
8320
8321         * BufferView.C (unlockInset):
8322         * BufferView_pimpl.C (fitCursor):
8323         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8324
8325         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8326         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8327
8328         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8329         new functions that convert ParagraphParameters to and from a string.
8330
8331         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8332         BufferView::Pimpl's dispatch.
8333         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8334
8335 2003-03-13 André Pönitz <poenitz@gmx.net>
8336
8337         * lyxfunc.C:
8338         * text3.C:
8339         * factory.C: make it aware of InsetEnv
8340
8341 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8342
8343         * text2.C (setCursor): never ask for one past last
8344         (setCursor): add some debugging messages.
8345
8346         * text.C (singleWidth): never ask for one past last
8347         (singleWidth): ditto
8348         (leftMargin): ditto
8349         (rightMargin): ditto
8350         (rowBreakPoint): ditto
8351         (setHeightOfRow): ditto
8352         (prepareToPrint): ditto
8353
8354         * rowpainter.C (paintBackground): never ask for one past last
8355         (paintText): never ask for one past last
8356
8357         * paragraph_pimpl.C (getChar): make the assert stricter, never
8358         allow the one past last pos to be taken
8359
8360         * paragraph.C (getChar): ws changes only
8361
8362         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8363         (numberOfSeparators): ditto
8364         (numberOfHfills): ditto
8365
8366 2003-03-12  John Levon  <levon@movementarian.org>
8367
8368         * author.h:
8369         * author.C:
8370         * bufferparams.h:
8371         * bufferparams.C:
8372         * paragraph_funcs.C: fix per-buffer authorlists
8373
8374 2003-03-12  John Levon  <levon@movementarian.org>
8375
8376         * text.C: fix newline in right address
8377
8378 2003-03-12  Angus Leeming  <leeming@lyx.org>
8379
8380         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8381         duplicate those in LyXFunc::dispatch.
8382
8383         * commandtags.h:
8384         * LyXAction.C:
8385         * ToolbarDefaults.C:
8386         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8387         Add LFUN_FONTFREE_UPDATE.
8388
8389         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8390         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8391
8392         * bufferview_func.[Ch]: several new functions to facilliate
8393         transfer of data to and from the character dialog.
8394
8395 2003-03-12  John Levon  <levon@movementarian.org>
8396
8397         * buffer.C:
8398         * paragraph.h:
8399         * paragraph.C:
8400         * paragraph_funcs.C:
8401         * paragraph_pimpl.C:
8402         * sgml.C:
8403         * tabular.C:
8404         * text.C:
8405         * text3.C: remove META_NEWLINE in favour of an inset
8406
8407         * rowpainter.h:
8408         * rowpainter.C: remove paintNewline (done by inset)
8409
8410 2003-03-12  John Levon  <levon@movementarian.org>
8411
8412         * paragraph_pimpl.C: complain about bad getChar()s
8413         for a while at least
8414
8415 2003-03-12  John Levon  <levon@movementarian.org>
8416
8417         * buffer.h:
8418         * buffer.C: move paragraph read into a separate function,
8419         a little renaming to reflect that.
8420
8421         * bufferparams.h:
8422         * bufferparams.C: remove the author_ids map, not necessary now
8423
8424         * factory.h:
8425         * factory.C: moved Buffer::readInset to here
8426
8427         * paragraph_funcs.h:
8428         * paragraph_funcs.C: readParagraph free function moved from
8429         buffer.C
8430
8431         * tabular.C: name change
8432
8433 2003-03-12  John Levon  <levon@movementarian.org>
8434
8435         * buffer.C:
8436         * ParagraphParameters.C: move par params input to
8437         a read() method
8438
8439         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8440         behave like a normal read from the stream wrt reading
8441         a line vs. a \\token
8442
8443 2003-03-12  John Levon  <levon@movementarian.org>
8444
8445         * paragraph.C:
8446         * ParagraphParameters.h:
8447         * ParagraphParameters.C: move output code to a
8448         ::write() method
8449
8450 2003-03-12  John Levon  <levon@movementarian.org>
8451
8452         * BufferView.C (insertLyXFile):
8453         * buffer.h:
8454         * buffer.C:
8455         * tabular.C: use a parlist iterator for creating the
8456           document.
8457
8458 2003-03-12  John Levon  <levon@movementarian.org>
8459
8460         * buffer.C: make current_change static local not
8461           static file-scope
8462
8463 2003-03-12  John Levon  <levon@movementarian.org>
8464
8465         * buffer.C: fix insertStringAsLines for change tracking
8466
8467 2003-03-12  John Levon  <levon@movementarian.org>
8468
8469         * BufferView.C:
8470         * tabular.C:
8471         * buffer.h:
8472         * buffer.C:
8473         * bufferparams.h:
8474         * bufferparams.C: move author list into params. Rename some
8475           functions. Move the header reading into a separate token
8476           loop. Move the header token reading into BufferParams.
8477
8478 2003-03-12  John Levon  <levon@movementarian.org>
8479
8480         * changes.C: put debug inside lyxerr.debugging() checks
8481
8482 2003-03-11 André Pönitz <poenitz@gmx.net>
8483
8484         * factory.C: make it aware of InsetHFill
8485
8486 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8487
8488         * buffer.C (latexParagraphs): move function from here...
8489         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8490         args.
8491
8492 2003-03-10  Angus Leeming  <leeming@lyx.org>
8493
8494         * LyXAction.C (init): fix bug in poplating array with multiple entries
8495         with the same LFUN (spotted by JMarc).
8496
8497 2003-03-10  John Levon  <levon@movementarian.org>
8498
8499         * text.C:
8500         * text2.C: move getColumnNearX() near its
8501         only call site
8502
8503 2003-03-10  John Levon  <levon@movementarian.org>
8504
8505         * text.C: fix break before a minipage
8506
8507 2003-03-10  John Levon  <levon@movementarian.org>
8508
8509         * text.C: fix the last commit
8510
8511 2003-03-09  John Levon  <levon@movementarian.org>
8512
8513         * lyxtext.h:
8514         * text.C:
8515         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8516         bug 365 (don't break before insets unless needed). Don't
8517         return a value > last under any circumstances.
8518
8519 2003-03-09  Angus Leeming  <leeming@lyx.org>
8520
8521         * BufferView_pimpl.C (trackChanges, dispatch): call
8522         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8523
8524 2003-03-09  Angus Leeming  <leeming@lyx.org>
8525
8526         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8527         than Dialogs::showAboutlyx().
8528
8529 2003-03-09  Angus Leeming  <leeming@lyx.org>
8530
8531         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8532         than Dialogs::showTabularCreate().
8533
8534 2003-03-09  John Levon  <levon@movementarian.org>
8535
8536         * lyxtext.h:
8537         * text.C:
8538         * text2.C: 3rd arg to nextBreakPoint was always the same.
8539           Use references.
8540
8541 2003-03-08  John Levon  <levon@movementarian.org>
8542
8543         * lyxrow.C:
8544         * paragraph.C:
8545         * paragraph.h:
8546         * rowpainter.C:
8547         * text.C:
8548         * text2.C: Remove the "main" bit from the "main body"
8549           notion.
8550
8551 2003-03-08  John Levon  <levon@movementarian.org>
8552
8553         * text.C (leftMargin): The left margin of an empty
8554         manual label paragraph should not include the label width
8555         string length.
8556
8557         * text.C (prepareToPrint): don't attempt to measure hfills
8558         for empty manual label paragraphs - the answer should be 0
8559
8560 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8561
8562         * CutAndPaste.C: remove commented code and reindent.
8563
8564 2003-03-08  John Levon  <levon@movementarian.org>
8565
8566         * lyxfunc.h:
8567         * lyxfunc.C: move reloadBuffer()
8568
8569         * BufferView.h:
8570         * BufferView.C: to here
8571
8572         * lyxvc.C: add comment
8573
8574         * vc-backend.h:
8575         * vc-backend.C: call bv->reload() to avoid
8576           getStatus() check on MENURELOAD
8577
8578 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8579
8580         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8581         to an old format .dep file.
8582
8583 2003-03-07  Angus Leeming  <leeming@lyx.org>
8584
8585         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8586         when the LFUN_MOUSE_RELEASE should have been handled by
8587         inset->localDispatch.
8588
8589 2003-03-07  Angus Leeming  <leeming@lyx.org>
8590
8591         * BufferView_pimpl.C (dispatch):
8592         * LyXAction.C (init):
8593         * ToolbarDefaults.C (init):
8594         * commandtags.h:
8595         * lyxfunc.C (getStatus):
8596         remove LFUN_INSET_GRAPHICS.
8597
8598         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8599
8600 2003-03-07  Angus Leeming  <leeming@lyx.org>
8601
8602         * commandtags.h:
8603         * LyXAction.C (init):
8604         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8605
8606         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8607
8608         * commandtags.h:
8609         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8610
8611         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8612         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8613
8614 2003-03-07  Angus Leeming  <leeming@lyx.org>
8615
8616         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8617         remove "ert".
8618
8619 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8620
8621         * ParagraphList.C (front): new function
8622         (back): implement
8623
8624 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8625
8626         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8627         and top_row_offset_. removed var first_y.
8628         * text.C (top_y):
8629         * text2.C (LyXText, removeRow):
8630         * text3.C:
8631         * BufferView_pimpl.C:
8632         use these methods instead of using first_y
8633
8634 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8635
8636         * text2.C (pasteSelection): adjust for checkPastePossible
8637
8638         * CutAndPaste.C: remove Paragraph * buf and replace with
8639         ParagraphList paragraphs.
8640         (DeleteBuffer): delete
8641         (cutSelection): change the tc type to textclass_type
8642         (copySelection): change the tc type to textclass_type
8643         (copySelection): adjust for ParagraphList
8644         (pasteSelection): change the tc type to textclass_type
8645         (pasteSelection): adjust for Paragraphlist
8646         (nrOfParagraphs): simplify for ParagraphList
8647         (checkPastePossible): simplify for ParagraphList
8648         (checkPastePossible): remove unused arg
8649
8650         * ParagraphList.C (insert): handle the case where there are no
8651         paragraphs yet.
8652
8653         * CutAndPaste.h: make CutAndPaste a namespace.
8654
8655         * text3.C (dispatch): adjust
8656
8657         * text.C (breakParagraph): add a ParagraphList as arg
8658
8659         * paragraph_funcs.C (breakParagraph): change to take a
8660         BufferParams and a ParagraphList as args.
8661         (breakParagraphConservative): ditto
8662         (mergeParagraph): ditto
8663         (TeXDeeper): add a ParagraphList arg
8664         (TeXEnvironment): ditto
8665         (TeXOnePar): ditto
8666
8667         * buffer.C (readLyXformat2): adjust
8668         (insertStringAsLines): adjust
8669         (latexParagraphs): adjust
8670
8671         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8672         (cutSelection): adjust
8673         (pasteSelection): adjust
8674
8675         * BufferView_pimpl.C (insertInset): adjust
8676
8677 2003-03-05  Angus Leeming  <leeming@lyx.org>
8678
8679         * commandtags.h:
8680         * LyXAction.C (init):
8681         * BufferView_pimpl.C (dispatch):
8682         * lyxfunc.C (getStatus):
8683         remove LFUN_CHILD_INSERT.
8684
8685         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8686
8687 2003-03-05  Angus Leeming  <leeming@lyx.org>
8688
8689         * commandtags.h:
8690         * LyXAction.C (init):
8691         * src/factory.C (createInset):
8692         * lyxfunc.C (getStatus):
8693         * text3.C (dispatch):
8694         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8695
8696         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8697
8698 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8699
8700         * ParagraphList.C (insert): handle insert right before end()
8701         (erase): fix cases where it can be first or last paragraph.
8702
8703 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8704
8705         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8706         Paragraph::next and Paragraph::previous
8707         (TeXOnePar): ditto
8708
8709         * text.C (breakParagraph): adjust
8710
8711         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8712         BufferParams& as arg.
8713         (breakParagraph): use ParagraphList::insert
8714         (breakParagraphConservative): take a Buffer* instead of a
8715         BufferParams& as arg.
8716         (breakParagraphConservative): use ParagraphList::insert.
8717
8718         * buffer.C (insertStringAsLines): un-const it
8719         (insertStringAsLines): adjust
8720
8721         * ParagraphList.C (insert): new function
8722
8723         * CutAndPaste.C (pasteSelection): adjust
8724
8725         * text.C (backspace): adjust
8726
8727         * tabular.C (SetMultiColumn): adjust
8728
8729         * CutAndPaste.C (cutSelection): adjust
8730         (pasteSelection): adjust
8731
8732         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8733         Buffer const * as arg
8734
8735         * ParagraphList.C (erase): new function
8736         * paragraph_funcs.C (mergeParagraph): use it
8737         (mergeParagraph): make it take a Buffer* instead of a
8738         BufferParams* as arg
8739
8740         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8741         as arg
8742         (breakParagraphConservative): ditto
8743
8744         * paragraph.h: remove the breakParagraph friend
8745
8746         * paragraph.C (eraseIntern): new function
8747         (setChange): new function
8748
8749         * paragraph_funcs.C (mergeParagraph): make it take a
8750         ParagraphList::iterator instead of a Paragraph *, adjust
8751         accordingly.
8752
8753         * paragraph.h: move an #endif so that the change tracking stuff
8754         also works in the NO_NEXT case.
8755
8756 2003-03-04  Angus Leeming  <leeming@lyx.org>
8757
8758         * commandtags.h:
8759         * LyXAction.C: new LFUN_INSET_MODIFY.
8760
8761         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8762         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8763
8764 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8765
8766         * several files: ws changes only
8767
8768         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8769         (TeXEnvironment): ditto
8770         (TeXDeeper): ditto
8771
8772         * buffer.C (makeLaTeXFile): adjust
8773         (latexParagraphs): make it take ParagraphList::iterator as args
8774
8775 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8776
8777         * buffer.C (latexParagraphs): adjust
8778
8779         * paragraph.C (TeXOnePar): move function...
8780         (optArgInset): move function...
8781         (TeXEnvironment): move function...
8782         * paragraph_pimpl.C (TeXDeeper): move function...
8783         * paragraph_funcs.C: ...here
8784
8785         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8786
8787 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8788
8789         * buffer.C (readInset): remove compability code for old Figure and
8790         InsetInfo insets
8791
8792 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8793
8794         * buffer.C: ws changes
8795         (readInset):
8796
8797         * BufferView_pimpl.C: ditto
8798         * author.C: ditto
8799         * buffer.h: ditto
8800         * bufferlist.h: ditto
8801         * changes.h: ditto
8802         * lyxfunc.C: ditto
8803
8804 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8805
8806         * converter.[Ch]: split into itself +
8807         * graph.[Ch]
8808         * format.[Ch]
8809         * Makefile.am: += graph.[Ch] + format.[Ch]
8810         * MenuBackend.C
8811         * buffer.C
8812         * exporter.C
8813         * importer.C
8814         * lyx_main.C
8815         * lyxfunc.C
8816         * lyxrc.C: added #include "format.h"
8817
8818 2003-02-27  Angus Leeming  <leeming@lyx.org>
8819
8820         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8821           a label.
8822
8823         * factory.C (createInset): add "label" to the factory.
8824
8825         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8826           string and do no more.
8827
8828 2003-02-27  Angus Leeming  <leeming@lyx.org>
8829
8830         * commandtags.h:
8831         * LyXAction.C (init):
8832         * factory.C (createInset):
8833         * BufferView_pimpl.C (dispatch):
8834           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8835
8836         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8837
8838         * lyxfunc.C (dispatch):
8839         * text3.C (dispatch): pass name to params2string.
8840
8841 2003-02-26  Angus Leeming  <leeming@lyx.org>
8842
8843         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8844           blocks together.
8845           Rearrange the ~includes. Strip out the unnecessary ones.
8846
8847         * factory.C (createInset): reformat.
8848           create new insets for the various LFUN_XYZ_APPLY lfuns.
8849
8850 2003-02-26  John Levon  <levon@movementarian.org>
8851
8852         * lyxrow.h:
8853         * lyxrow.C: add isParStart,isParEnd helpers
8854
8855         * paragraph.h: make isInserted/DeletedText take refs
8856
8857         * paragraph_funcs.h:
8858         * paragraph_funcs.C: remove #if 0'd code
8859
8860         * lyxtext.h:
8861         * text3.C:
8862         * text2.C:
8863         * text.C: use lyxrow helpers above.
8864           Move draw and paint routines to RowPainter.
8865           Make several methods use refs not pointers.
8866           Make backgroundColor() const.
8867           Add markChangeInDraw(), isInInset().
8868           Merge changeRegionCase into changeCase.
8869           Make workWidth() shouldn't-happen code into an Assert.
8870
8871         * rowpainter.h:
8872         * rowpainter.C: new class for painting a row.
8873
8874         * vspace.h:
8875         * vspace.C: make inPixels take a ref
8876
8877 2003-02-26  Angus Leeming  <leeming@lyx.org>
8878
8879         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8880         LFUN_REF_APPLY.
8881
8882 2003-02-25  John Levon  <levon@movementarian.org>
8883
8884         * ispell.C: give the forked command a more accurate name
8885
8886 2003-02-22  John Levon  <levon@movementarian.org>
8887
8888         * toc.h:
8889         * toc.C: make TocItem store an id not a Paragraph *
8890           (bug #913)
8891
8892 2003-02-21  Angus Leeming  <leeming@lyx.org>
8893
8894         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8895           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8896           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8897           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8898           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8899           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8900
8901         * BufferView_pimpl.C (dispatch):
8902         * LyXAction.C (init):
8903         * factory.C (createInset):
8904         * lyxfunc.C (getStatus, dispatch):
8905         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8906
8907 2003-02-21  Angus Leeming  <leeming@lyx.org>
8908
8909         * BufferView_pimpl.C (MenuInsertLyXFile):
8910         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8911         * lyxfunc.C (menuNew, open, doImport):
8912           no longer pass a LyXView & to fileDlg.
8913
8914 2003-02-21  Angus Leeming  <leeming@lyx.org>
8915
8916         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8917         * LyXAction.C: change, BIBKEY to BIBITEM.
8918         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8919         Change InsetBibKey to InsetBibitem.
8920         Change BIBKEY_CODE to BIBITEM_CODE.
8921         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8922         * factory.C: replace insetbib.h with insetbibitem.h.
8923         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8924         * paragraph.C: replace insetbib.h with insetbibitem.h.
8925         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8926         Change bibkey() to bibitem().
8927         * text.C: remove insetbib.h.
8928         * text2.C: replace insetbib.h with insetbibitem.h.
8929         change bibkey() to bibitem().
8930         * text3.C: remove insetbib.h.
8931         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8932
8933 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8934
8935         * lyxrc.C (output): enclose user email in quotes (in case there are
8936         several words)
8937
8938 2003-02-18  John Levon  <levon@movementarian.org>
8939
8940         * buffer.h: add std::
8941
8942 2003-02-17  John Levon  <levon@movementarian.org>
8943
8944         * SpellBase.h:
8945         * ispell.h:
8946         * ispell.C:
8947         * pspell.h:
8948         * pspell.C: reworking. Especially in ispell, a large
8949           number of clean ups and bug fixes.
8950
8951         * lyxfunc.C: fix revert to behave sensibly
8952
8953 2003-02-17 André Pönitz <poenitz@gmx.net>
8954
8955         * LyXAction.C:
8956         * commandtags.h: new LFUN_INSERT_BIBKEY
8957
8958         * layout.h:
8959         * lyxlayout.C:
8960         * buffer.C:
8961         * factory.C:
8962         * text.C:
8963         * text2.C:
8964         * text3.C:
8965         * paragraph.[Ch]:
8966         * paragraph_func.C: remove special bibkey handling
8967
8968 2003-02-17  John Levon  <levon@movementarian.org>
8969
8970         * text.C (Delete): fix case where delete at the end of
8971           the very first paragraph would not merge the pars
8972
8973 2003-02-17  John Levon  <levon@movementarian.org>
8974
8975         * lyxrow.C: fix lastPrintablePos()
8976
8977 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8978
8979         * bufferparams.C (writeLaTeX): add a std:here
8980
8981         * buffer.C: and remove a using directive there
8982
8983 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8984
8985         * buffer.C (makeLaTeXFile): move the code that generates the
8986           preamble...
8987
8988         * bufferparams.C (writeLaTeX): ... in this new method
8989
8990         * LaTeXFeatures.C (getEncodingSet): make const
8991           (getLanguages): make const
8992
8993         * MenuBackend.C (binding): returns the binding associated to this
8994           action
8995           (add): sets the status of each item by calling getStatus. Adds
8996           some intelligence.
8997           (read): add support for OptSubMenu
8998           (expand): remove extra separator at the end of expanded menu
8999
9000 2003-02-15  John Levon  <levon@movementarian.org>
9001
9002         * BufferView.C:
9003         * BufferView_pimpl.C:
9004         * bufferlist.h:
9005         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9006           inset code that had no actual effect. Remove unneeded status
9007           code.
9008
9009 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9010
9011         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9012           in preamble
9013
9014 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9015
9016         * text.C (drawLengthMarker): also draw an arrow marker for
9017           symbolic lengths (medskip...)
9018
9019 2003-02-14  John Levon  <levon@movementarian.org>
9020
9021         * tabular.h:
9022         * tabular.C: better method names
9023
9024 2003-02-14  John Levon  <levon@movementarian.org>
9025
9026         * BufferView_pimpl.C:
9027         * bufferlist.C:
9028         * buffer.C:
9029         * converter.C:
9030         * lyx_cb.C:
9031         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9032           it's a more accurate name. Remove some pointless uses.
9033
9034 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9035
9036         * text2.C (LyXText): change order of initilizers to shut off
9037           warnings
9038
9039 2003-02-14  John Levon  <levon@movementarian.org>
9040
9041         * buffer.C: use ParIterator for getParFromID()
9042
9043         * paragraph.h:
9044         * paragraph.C:
9045         * paragraph_pimpl.h:
9046         * paragraph_pimpl.C: remove unused getParFromID()
9047
9048 2003-02-14  John Levon  <levon@movementarian.org>
9049
9050         * buffer.C: remove some very old #if 0'd parse code
9051
9052 2003-02-13  John Levon  <levon@movementarian.org>
9053
9054         * text.h:
9055         * text.C:
9056         * text2.C: move hfillExpansion(), numberOfSeparators(),
9057           rowLast(), rowLastPrintable(), numberofHfills(),
9058           numberOfLabelHfills() ...
9059
9060         * lyxrow.h:
9061         * lyxrow.C: ... to member functions here.
9062
9063         * paragraph.h:
9064         * paragraph.C:
9065         * lyxtext.h:
9066         * text.C: remove LyXText::beginningOfMainBody(), and call
9067           p->beginningOfMainBody() directly. Move the check for
9068           LABEL_MANUAL into the latter.
9069
9070         * text.h:
9071         * text.C:
9072         * text2.C:
9073         * vspace.C:
9074         * BufferView.h:
9075         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9076
9077         * text.h:
9078         * text.C:
9079         * text2.C:
9080         * text3.C:
9081         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9082           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9083
9084 2003-02-13  John Levon  <levon@movementarian.org>
9085
9086         * CutAndPaste.C: remove debug
9087
9088 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9089
9090         * paragraph.C (asString): remove two unused variables
9091
9092         * lyxtextclass.C (readTitleType):
9093           (Read):
9094           (LyXTextClass): handle new members titletype_ and titlename_
9095
9096         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9097
9098 2003-02-09  John Levon  <levon@movementarian.org>
9099
9100         * buffer.h:
9101         * buffer.C: replace hand-coded list with a map for the dep clean
9102
9103 2003-02-08  John Levon  <levon@movementarian.org>
9104
9105         * LaTeX.C: consolidate code into showRunMessage() helper
9106
9107 2003-02-08  John Levon  <levon@movementarian.org>
9108
9109         * lyxfind.C:
9110         * lyxtext.h:
9111         * text2.C:
9112         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9113           and pass the size in explicitly
9114
9115         * BufferView_pimpl.h:
9116         * BufferView_pimpl.C:
9117         * BufferView.h:
9118         * BufferView.C: add getCurrentChange()
9119
9120         * BufferView_pimpl.h:
9121         * BufferView_pimpl.C: handle change lfuns
9122
9123         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9124           for changes. Mark pasted paragraphs as new.
9125
9126         * support/lyxtime.h:
9127         * support/lyxtime.C:
9128         * DepTable.C: abstract time_t as lyx::time_type
9129
9130         * LColor.h:
9131         * LColor.C: add colours for new text, deleted text, changebars
9132
9133         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9134           package use "usenames" option.
9135
9136         * commandtags.h:
9137         * lyxfunc.C:
9138         * LyXAction.C: add change lfuns
9139
9140         * Makefile.am:
9141         * author.h:
9142         * author.C: author handling
9143
9144         * buffer.h:
9145         * buffer.C: add a per-buffer author list, with first entry as
9146           current author. Handle new .lyx tokens for change tracking. Output
9147           author list to .lyx file. Output dvipost stuff to .tex preamble.
9148           Bump lyx format to 222.
9149
9150         * bufferlist.h:
9151         * bufferlist.C: add setCurrentAuthor() to reset current author details
9152           in all buffers.
9153
9154         * bufferparams.h:
9155         * bufferparams.C: add param for tracking
9156
9157         * bufferview_funcs.C: output change info in minibuffer
9158
9159         * Makefile.am:
9160         * changes.h:
9161         * changes.C: add change-tracking structure
9162
9163         * debug.h:
9164         * debug.C: add CHANGES debug flag
9165
9166         * lyxfind.h:
9167         * lyxfind.C: add code for finding the next change piece
9168
9169         * lyxrc.h:
9170         * lyxrc.C: add user_name and user_email
9171
9172         * lyxrow.h:
9173         * lyxrow.C: add a metric for the top of the text line
9174
9175         * lyxtext.h:
9176         * text.C: implement accept/rejectChange()
9177
9178         * lyxtext.h:
9179         * text.C: paint changebars. Paint new/deleted text in the chosen
9180         colours. Strike through deleted text.
9181
9182         * paragraph.h:
9183         * paragraph.C:
9184         * paragraph_pimpl.h:
9185         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9186           in the current change to the insert functions. Rework erase to
9187           mark text as deleted, adding an eraseIntern() and a range-based
9188           erase(). Implement per-paragraph change lookup and
9189           accept/reject.
9190
9191         * paragraph_funcs.C: Fixup paste for change tracking.
9192
9193         * tabular.C: mark added row/columns as new.
9194
9195         * text.C: fix rowLast() to never return -1. Don't allow
9196           spellchecking of deleted text. Track transpose changes. Don't
9197           allow paragraph break or merge where appropriate.
9198
9199         * text2.C: leave cursor at end of selection after a cut.
9200
9201 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9202
9203         * text.C (getLengthMarkerHeight):
9204         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9205         visible on screen too.
9206
9207 2003-02-07  John Levon  <levon@movementarian.org>
9208
9209         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9210
9211 2003-02-05  Angus Leeming  <leeming@lyx.org>
9212
9213         * lyxserver.C (read_ready): revert my patch of 11 September last year
9214         as it sends PC cpu through the roof. Presumably this means that
9215         the lyxserver will no longer run on an Alpha...
9216
9217 2003-01-30  Angus Leeming  <leeming@lyx.org>
9218
9219         * factory.C (createInset): create an InsetCommandParam of type "index"
9220         and use it to 'do the right thing'.
9221
9222         * text2.C (getStringToIndex): ensure that cursor position is always
9223         reset to the reset_cursor position.
9224
9225 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9226
9227         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9228         disabled.
9229
9230 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9231
9232         * bufferview.C:
9233         * lyxcb.C:
9234         * lyxfunc.C: Output messages with identical spelling, punctuation,
9235         and spaces
9236
9237 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9238
9239         * MenuBackend.C (expandFormats): List only viewable export formats
9240         in "View" menu
9241
9242         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9243         message
9244
9245         * lyxfunc.C (getStatus): Make sure that formats other than
9246         "fax" can also be disabled
9247
9248 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9249
9250         * text3.C (dispatch): put the lfuns that insert insets in 3
9251         groups, and call doInsertInset with appropriate arguments.
9252         (doInsertInset): new function, that creates an inset and inserts
9253         it according to some boolean parameters.
9254
9255 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9256
9257         * buffer.C (readFile): remember to pass on 'par' when calling
9258         readFile recursively.
9259
9260 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9261
9262         * MenuBackend.C (expandFormats): add "..." to import formats.
9263
9264 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9265
9266         * paragraph.C (asString): Remove XForms RTL hacks.
9267
9268 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9269         * buffer.C: fix typo
9270
9271 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9272
9273         * Makefile.am (LIBS): delete var
9274         (lyx_LDADD): add @LIBS@ here instead.
9275
9276 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9277
9278         * Clarify the meaning of "wheel mouse jump"
9279
9280 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9281
9282         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9283         tabular in a float
9284
9285 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9286
9287         * importer.C (Loaders): do not preallocate 3 elements in the
9288         vector, since one ends up with 6 elements otherwise
9289
9290 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9291
9292         * DepTable.C (write): write the file name as last element of the
9293         .dep file (because it may contain spaces)
9294         (read): read info in the right order
9295
9296 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9297
9298         * paragraph_pimpl.C (simpleTeXBlanks):
9299         (simpleTeXSpecialChars):
9300         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9301
9302         * tabular.C (latex): add some missing case statements. Reindent.
9303
9304         * MenuBackend.C (expandToc): remove unused variable.
9305
9306 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9307
9308         * LColor.C:
9309         * LaTeX.C:
9310         * LyXAction.C:
9311         * MenuBackend.C:
9312         * buffer.C:
9313         * exporter.C:
9314         * lyxfunc.C:
9315         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9316         and the like.
9317
9318 2003-01-05  John Levon  <levon@movementarian.org>
9319
9320         * BufferView.h:
9321         * BufferView.C: add getEncoding()
9322
9323         * kbsequence.h:
9324         * kbsequence.C: do not store last keypress
9325
9326         * lyxfunc.h:
9327         * lyxfunc.C: store last keypress here instead. Pass encoding
9328           to getISOEncoded()
9329
9330 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9331
9332         * lyx_main.C (init): remove annoying error message when following
9333         symbolic links (bug #780)
9334
9335 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9336
9337         * text.C (insertChar):
9338         * lyxrc.C (getDescription): remove extra spaces
9339
9340 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9341
9342         * lyxrc.C (getDescription): remove extra spaces
9343
9344 2002-12-20  John Levon  <levon@movementarian.org>
9345
9346         * text3.C: hack fix for page up/down across tall rows
9347
9348 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9349
9350         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9351         not been invoked
9352
9353 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9354
9355         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9356         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9357         thesaurus is not compiled in
9358
9359 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9360
9361         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9362
9363 2002-12-16  Angus Leeming  <leeming@lyx.org>
9364
9365         * lyxrc.[Ch]:
9366         * lyx_main.C (init): remove override_x_deadkeys stuff.
9367
9368 2002-12-12  John Levon  <levon@movementarian.org>
9369
9370         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9371           insert. Only remove shift modifier under strict
9372           circumstances.
9373
9374 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9375
9376         * MenuBackend.C (expandToc): fix crash.
9377
9378 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9379
9380         * MenuBackend.C (expandToc): gettext on float names.
9381
9382 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9383
9384         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9385         implement bool empty() [bug 490]
9386
9387 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9388
9389         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9390
9391 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9392
9393         * several files: ws changes
9394
9395 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9396
9397         * text2.C (setCounter): clean up a bit, use boost.format.
9398         (updateCounters): initialize par upon declaration.
9399
9400         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9401         if the layout exists. We do not just store the layout any more.
9402         (SwitchLayoutsBetweenClasses): use boost.format
9403
9404 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9405
9406         * converter.C (convert): if from and to files are the same, use a
9407         temporary files as intermediary
9408
9409 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9410
9411         * commandtags.h:
9412         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9413
9414 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9415
9416         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9417
9418 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9419
9420         * tabular.C (asciiPrintCell): use string(size, char) instead of
9421         explicit loop.
9422
9423         * sgml.C (openTag): fix order of arguments to string constructor
9424         (closeTag): ditto
9425
9426         * lyxfunc.C (dispatch): use boost.format
9427
9428         * lots of files: change "c" -> 'c'
9429
9430 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9431
9432         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9433
9434 2002-11-25  Angus Leeming  <leeming@lyx.org>
9435
9436         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9437
9438         * lyx_main.C (init): compile fix.
9439
9440 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9441
9442         * lyx_cb.C (start): boost.formatify
9443         do not include <iostream>
9444
9445         * lengthcommon.C: ws only
9446
9447         * boost-inst.C,BoostFormat.h: add more explict instantations
9448
9449 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9450
9451         * lots of files: handle USE_BOOST_FORMAT
9452
9453 2002-11-21  John Levon  <levon@movementarian.org>
9454
9455         * pspell.C: fix compile
9456
9457 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9458
9459         * lyxfunc.C (dispatch): use boost::format
9460         (open): ditto
9461         (doImport): ditto
9462
9463         * lyxfont.C (stateText): use boost::format
9464
9465         * lyx_main.C (LyX): use boost::format
9466         (init): ditto
9467         (queryUserLyXDir): ditto
9468         (readRcFile): ditto
9469         (parse_dbg): ditto
9470         (typedef boost::function): use the recommened syntax.
9471
9472         * importer.C (Import): use boost::format
9473
9474         * debug.C (showLevel): use boost::format
9475
9476         * converter.C (view): use boost::format
9477         (convert): ditto
9478         (move): ditto
9479         (scanLog): ditto
9480
9481         * bufferview_funcs.C (currentState): use boost::format
9482
9483         * bufferlist.C (emergencyWrite): use boost::format
9484
9485         * buffer.C (readLyXformat2): use boost::format
9486         (parseSingleLyXformat2Token): ditto
9487
9488         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9489
9490         * LaTeX.C (run): use boost::format
9491
9492         * Chktex.C (scanLogFile): use boost::format
9493
9494         * BufferView_pimpl.C (savePosition): use boost::format
9495         (restorePosition): ditto
9496         (MenuInsertLyXFile): ditto
9497
9498         * BoostFormat.h: help file for explicit instation.
9499
9500 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9501
9502         * tabular.C (latex): Support for block alignment in fixed width
9503         columns.
9504
9505 2002-11-17  John Levon  <levon@movementarian.org>
9506
9507         * BufferView_pimpl.C:
9508         * lyx_cb.C:
9509         * lyxfunc.C: split filedialog into open/save
9510
9511 2002-11-08  Juergen Vigna  <jug@sad.it>
9512
9513         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9514         by my last patch (hopefully).
9515
9516 2002-11-08  John Levon  <levon@movementarian.org>
9517
9518         * iterators.h:
9519         * iterators.C:
9520         * buffer.h:
9521         * buffer.C:
9522         * paragraph.h:
9523         * paragraph.C:
9524         * toc.h:
9525         * toc.C: ParConstIterator, and use it (from Lars)
9526
9527 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9528
9529         * lyxtextclass.[Ch]: revise and add doxygen comments
9530
9531 2002-11-07  John Levon  <levon@movementarian.org>
9532
9533         * text.C: fix progress value for spellchecker
9534
9535         * toc.C: fix navigate menu for insetwrap inside minipage
9536
9537         * paragraph_funcs.C: added FIXME for suspect code
9538
9539 2002-11-07  John Levon  <levon@movementarian.org>
9540
9541         * BufferView_pimpl.C: fix redrawing of insets
9542           on buffer switch
9543
9544 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9545
9546         * text2.C (updateCounters): fix bug 668
9547
9548 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9549
9550         * text3.C (dispatch): Do not make the buffer dirty when moving the
9551         cursor.
9552
9553 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9554
9555         * vc-backend.C: STRCONV
9556         (scanMaster): ditto
9557
9558         * text2.C (setCounter): STRCONV
9559
9560         * paragraph.C (asString): STRCONV
9561
9562         * lyxlength.C (asString): STRCONV
9563         (asLatexString): ditto
9564
9565         * lyxgluelength.C (asString): STRCONV
9566         (asLatexString): ditto
9567
9568         * lyxfunc.C (dispatch): STRCONV
9569         (open): ditto
9570
9571         * lyxfont.C (stateText): STRCONV
9572
9573         * importer.C (Import): STRCONV
9574
9575         * counters.C (labelItem): STRCONV
9576         (numberLabel): ditto
9577         (numberLabel): remove unused ostringstream o
9578
9579         * chset.C: STRCONV
9580         (loadFile): ditto
9581
9582         * bufferview_funcs.C (currentState): STRCONV
9583
9584         * buffer.C (readFile): STRCONV
9585         (asciiParagraph): ditto
9586         (makeLaTeXFile): ditto
9587
9588         * Spacing.C (writeEnvirBegin): STRCONV
9589
9590         * LaTeXFeatures.C (getLanguages): STRCONV
9591         (getPackages): ditto
9592         (getMacros): ditto
9593         (getBabelOptions): ditto
9594         (getTClassPreamble): ditto
9595         (getLyXSGMLEntities): ditto
9596         (getIncludedFiles): ditto
9597
9598         * LaTeX.C: STRCONV
9599         (run): ditto
9600         (scanAuxFile): ditto
9601         (deplog): ditto
9602
9603         * LString.h: add the STRCONV macros
9604
9605         * BufferView_pimpl.C (savePosition): STRCONV
9606         (restorePosition): ditto
9607         (MenuInsertLyXFile): ditto
9608
9609         * vc-backend.C (scanMaster): change from submatch[...] to
9610         submatch.str(...)
9611
9612         * funcrequest.C: include config.h
9613
9614         * factory.C: include config.h
9615
9616         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9617
9618         * box.C: include config.h
9619
9620         * LaTeX.C (scanAuxFile): change from submatch[...] to
9621         submatch.str(...)
9622         (deplog): ditto
9623
9624 2002-10-25  Angus Leeming  <leeming@lyx.org>
9625
9626         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9627
9628         * ispell.[Ch] (setError): new method.
9629         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9630         Use setError() insetead of goto END.
9631
9632         * lyx_cb.C (AutoSave): move out child process into new class
9633         AutoSaveBuffer.
9634
9635 2002-10-30  John Levon  <levon@movementarian.org>
9636
9637         * text3.C: make start appendix undoable
9638
9639 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9640
9641         * lyxlength.C (inPixels): Fix returned value.
9642
9643         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9644         environment.
9645
9646 2002-10-24  Angus Leeming  <leeming@lyx.org>
9647
9648         * lyxgluelength.h: no need to forward declare BufferParams
9649         or BufferView, so don't.
9650
9651 2002-10-21  John Levon  <levon@movementarian.org>
9652
9653         * BufferView.C: menuUndo ->undo, redo
9654
9655         * BufferView.h: document, remove dead, make some methods private
9656
9657         * paragraph_funcs.h:
9658         * paragraph_funcs.C:
9659         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9660
9661         * buffer.h:
9662         * buffer.C:
9663         * sgml.h:
9664         * sgml.C: move sgml open/close tag into sgml.C
9665
9666         * bufferview_funcs.h: unused prototype
9667
9668         * lyxfunc.h:
9669         * lyxfunc.C: remove unused
9670
9671         * lyxtext.h:
9672         * text.C: remove unused
9673
9674 2002-10-21  John Levon  <levon@movementarian.org>
9675
9676         * BufferView.h:
9677         * BufferView.C:
9678         * BufferView_pimpl.h:
9679         * BufferView_pimpl.C: fix mouse wheel handling based on
9680           patch from Darren Freeman
9681
9682 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9683
9684         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9685
9686 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9687
9688         * lyxlength.C (inPixels): Fix hanfling of negative length.
9689         Fix LyXLength::MU case.
9690
9691 2002-10-16  John Levon  <levon@movementarian.org>
9692
9693         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9694
9695 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9696
9697         * converter.C (view): add support for $$i (file name) and $$p
9698         (file path) for the viewer command. If $$i is not specified, then
9699         it is appended to the command (for compatibility with old syntax)
9700
9701 2002-10-14  Juergen Vigna  <jug@sad.it>
9702
9703         * undo_funcs.C (textHandleUndo): alter the order in which the
9704         new undopar is added to the LyXText, as we have to set first
9705         the right prev/next and then add it as otherwise the rebuild of
9706         LyXText is not correct. Also reset the cursor to the right paragraph,
9707         with this IMO we could remove the hack in "redoParagraphs()".
9708
9709 2002-10-09  Angus Leeming  <leeming@lyx.org>
9710
9711         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9712         to turn off an optimisation if a new inset is to be inserted.
9713
9714 2002-10-11 André Pönitz <poenitz@gmx.net>
9715
9716         * lyxtext.h: make some functions public to allow access
9717         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9718
9719 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9720
9721         * text3.C (dispatch): when changing layout, avoid an infinite loop
9722         [bug #652]
9723
9724 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9725
9726         * lyxrc.C (read): treat a viewer or converter command of "none" as
9727         if it were empty.
9728
9729         * MenuBackend.C (expandFormats): for an update, also allow the
9730         formats that are not viewable
9731
9732         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9733         script if it is newer than the lyxrc.defaults in user directory
9734
9735 2002-10-07 André Pönitz <poenitz@gmx.net>
9736
9737         * text.C: Vitaly Lipatov's small i18n fix
9738
9739 2002-09-25  Angus Leeming  <leeming@lyx.org>
9740
9741         * ispell.h: doxygen fix.
9742
9743 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9744
9745         * buffer.h (readFile): Add a new argument to the method, to allow
9746         reading of old-format templates.
9747
9748 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9749
9750         * toc.C (getTocList): Get TOC from InsetWrap.
9751
9752 2002-09-16  John Levon  <levon@movementarian.org>
9753
9754         * lyxfunc.C: check tabular for cut/copy too
9755
9756 2002-09-12  John Levon  <levon@movementarian.org>
9757
9758         * LyXAction.C: tidy
9759
9760         * factory.h:
9761         * factory.C: add header
9762
9763         * paragraph_funcs.h:
9764         * paragraph_funcs.C: cleanup
9765
9766 2002-09-11  John Levon  <levon@movementarian.org>
9767
9768         * PrinterParams.h: odd/even default to true
9769
9770 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9771
9772         * PrinterParams.h: update printer parameters for new xforms dialog
9773
9774 2002-09-11  Angus Leeming  <leeming@lyx.org>
9775
9776         * lyxserver.C (read_ready): re-write to make it more transparent
9777         and to make it work in coherent fashion under Tru64 Unix.
9778
9779 2002-09-11  André Pönitz <poenitz@gmx.net>
9780
9781         * commandtags.h:
9782         * LyXAction.C:
9783         * text3.C: implement LFUN_WORDSEL
9784
9785 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9786
9787         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9788         make floatlist_ a boost::shared_ptr<FloatList>
9789
9790         * lyxtextclass.C: include FloatList.h
9791         (LyXTextClass): initialize floatlist_
9792         (TextClassTags): add TC_NOFLOAT
9793         (Read): match "nofloat" to TC_NOFLOAT and use it.
9794         (readFloat): modify call to floatlist_
9795         (floats): ditto
9796         (floats): ditto
9797
9798         * FloatList.[Ch] (FloatList): remove commented out float
9799         initialization.
9800         (erase): new function
9801
9802 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9803
9804         * MenuBackend.C (expandToc): fix crash when there is no document
9805         open
9806
9807 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9808
9809         * many files: Add insetwrap.
9810
9811 2002-09-09  John Levon  <levon@movementarian.org>
9812
9813         * text2.C: remove confusing and awkward depth wraparound
9814
9815 2002-09-09  John Levon  <levon@movementarian.org>
9816
9817         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9818
9819         * buffer.h:
9820         * buffer.C: remove getIncludeonlyList()
9821
9822         * paragraph.C:
9823         * lyxfunc.C: remove headers
9824
9825 2002-09-09  Juergen Vigna  <jug@sad.it>
9826
9827         * text.C (getColumnNearX): fix form Michael this is most
9828         probably a cut&paste bug.
9829
9830 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9831
9832         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9833
9834         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9835         references, ws changes.
9836
9837         * text2.C (init): update counters after init
9838         (insertParagraph): no need to set counter on idividual paragraphs.
9839         (setCounter): access the counters object in the textclass object
9840         on in the buffer object.
9841         (updateCounters): ditto
9842
9843         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9844         shared_ptr<Counters> to avoid loading counters.h in all
9845         compilation units.
9846         (LyXTextClass): initialize ctrs_
9847         (TextClassTags): add TC_COUNTER, and ...
9848         (Read): use it here.
9849         (CounterTags): new tags
9850         (readCounter): new function
9851         (counters): new funtion
9852         (defaultLayoutName): return a const reference
9853
9854         * counters.C (Counters): remove contructor
9855         (newCounter): remove a couple of unneeded statements.
9856         (newCounter): simplify a bit.
9857         (numberLabel): some small formatting changes.
9858
9859         * buffer.[Ch]: remove all traces of counters, move the Counters
9860         object to the LyXTextClass.
9861
9862 2002-09-06  Alain Castera  <castera@in2p3.fr>
9863
9864         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9865         package to set the horizontal alignment on fixed width columns.
9866
9867         * lyx_sty.C:
9868         * lyx_sty.h: added tabularnewline macro def.
9869
9870         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9871
9872 2002-09-06  John Levon  <levon@movementarian.org>
9873
9874         * LyXAction.C: tooltips for sub/superscript
9875
9876         * MenuBackend.C: a bit more verbose
9877
9878         * lyxfunc.C: tiny clean
9879
9880         * undo_funcs.C: document undo_frozen
9881
9882 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9883
9884         * counters.C (Counters): add missing algorithm counter.
9885
9886         * text2.C (setCounter): lookup the counter with layouts latexname
9887         instead of by section number.
9888         (setCounter): use a hackish way to lookup the correct enum
9889         counter.
9890         a float name->type change
9891         reset enum couners with counter name directly instead of depth value.
9892
9893         * counters.C (Counters): remove the push_backs, change to use the
9894         float type not the float name.
9895         (labelItem): remove unused string, float name->type change
9896
9897         * counters.h: don't include vector, loose the enums and sects vectors
9898
9899 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9900
9901         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9902         (Read): add float->TC_FLOAT to textclassTags
9903         (Read): and handle it in the switch
9904         (readFloat): new function
9905
9906         * FloatList.C (FloatList): comment out the hardcoded float
9907         definitions.
9908
9909         * lyxlayout.h: ws change.
9910
9911 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9912
9913         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9914
9915 2002-09-03  Angus Leeming  <leeming@lyx.org>
9916
9917         * BufferView_pimpl.h: qualified name is not allowed in member
9918         declaration: WorkArea & Pimpl::workarea() const;
9919
9920         * factory.C: added using std::endl directive.
9921
9922         * text3.C: added using std::find and std::vector directives.
9923
9924 2002-08-29  André Pönitz <poenitz@gmx.net>
9925
9926         * lyxtext.h:
9927         * text2.C: remove unused member number_of_rows
9928
9929         * Makefile.am:
9930         * BufferView2.C: remove file, move contents to...
9931         * BufferView.C: ... here
9932
9933         * BufferView_pimpl.C:
9934         * factory.C: move more inset creation to factory
9935
9936         * vspace.C: avoid direct usage of LyXText, ws changes
9937
9938         * BufferView.[Ch]:
9939                 don't provide direct access to WorkArea, use two simple
9940                 acessors haveSelction() and workHeight() instead
9941
9942
9943 2002-08-29  John Levon  <levon@movementarian.org>
9944
9945         * BufferView_pimpl.C (dispatch): do not continue when
9946           no buffer
9947
9948 2002-08-28  André Pönitz <poenitz@gmx.net>
9949
9950         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9951
9952         * BufferView.h:
9953         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9954
9955 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9956
9957         * buffer.C: increment LYX_FORMAT to 221
9958
9959         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9960         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9961
9962         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9963
9964         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9965
9966 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9967
9968         * factory.C (createInset): use LyXTextClass::floats
9969
9970         * MenuBackend.C (expandFloatListInsert):
9971         (expandFloatInsert):
9972         (expandToc):
9973
9974         * text2.C (setCounter):
9975
9976         * LaTeXFeatures.C (useFloat):
9977         (getFloatDefinitions):
9978
9979         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9980
9981         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9982         floatlist_, with accessor floats().
9983
9984         * FloatList.h: remove global FloatList
9985
9986 2002-08-26  André Pönitz <poenitz@gmx.net>
9987
9988         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9989
9990         * BufferView.h:
9991         * BufferView2.C:
9992         * BufferView_pimpl.C:
9993         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9994
9995 2002-08-25  John Levon  <levon@movementarian.org>
9996
9997         * LyXAction.C: fix margin note description
9998
9999 2002-08-24  John Levon  <levon@movementarian.org>
10000
10001         * buffer.C:
10002         * bufferlist.C:
10003         * bufferview_funcs.C:
10004         * lyxfont.C:
10005         * undo_funcs.C: cleanups
10006
10007         * lyxfunc.C: disable CUT/COPY when no selection
10008
10009 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10010
10011         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10012         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10013
10014         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10015         Add backward compatibility to "mono", "gray" and "no".
10016
10017 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10018
10019         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10020         (and file_format >= 200).
10021
10022 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10023
10024         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10025
10026 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10027
10028         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10029
10030 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10031
10032         * BufferView_pimpl.C:
10033         * LyXAction.C:
10034         * buffer.C:
10035         * commandtags.h:
10036         * lyxfunc.C:
10037         * paragraph.[Ch]:
10038         * text2.C:
10039         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10040         inset and code to make it  work with the paragraph code. The inset
10041         can be anywhere in the paragraph, but will only do the expected
10042         thing in LaTeX if the layout file contains the parameter line
10043                         OptionalArgs    1
10044         (or more generally, a nonzero value) for that layout.
10045
10046 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10047
10048         * paragraph.h: remove the declaration of undefined counters class
10049         function.
10050
10051 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10052
10053         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10054         Dr. Richard Hawkins.
10055
10056 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10057
10058         * paragraph_funcs.h: remove some unneeded includes
10059
10060         * text.C (backspace): pasteParagraph now in global scipe
10061
10062         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10063         (pasteSelection): ditto
10064
10065         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10066         * paragraph_funcs.C (pasteParagraph): ... here
10067
10068 2002-08-20  André Pönitz <poenitz@gmx.net>
10069
10070         * commandtags.h: new LFUNs for swapping/copying table row/colums
10071
10072         * LyXAction.C:
10073         * lyxfunc.C: support for new lfuns
10074
10075 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10076
10077         * tabular.C:
10078         * buffer.[Ch]: remove NO_COMPABILITY stuff
10079
10080 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10081
10082         * boost.C (throw_exception): new file, with helper function for
10083         boost compiled without exceptions.
10084
10085         * paragraph.h:
10086         * lyxlength.C:
10087         * buffer.C:
10088         * ParameterStruct.h:
10089         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10090
10091         * bufferlist.C (emergencyWriteAll): use boost bind
10092
10093         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10094
10095         * text.C: include paragraph_funcs.h
10096         (breakParagraph): breakParagraph is now in global scope
10097
10098         * paragraph_funcs.[Ch]: new files
10099
10100         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10101         global scope
10102
10103         * buffer.C: include paragraph_funcs.h
10104         (insertStringAsLines): breakParagraph is now in global scope
10105
10106         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10107         paragraph_funcs.C
10108
10109         * CutAndPaste.C: include paragraph_funcs.h
10110         (cutSelection): breakParagraphConservative is now in global scope
10111         (pasteSelection): ditto
10112
10113         * buffer.h: declare oprator== and operator!= for
10114         Buffer::inset_iterator
10115
10116         * bufferlist.C (emergencyWrite): don't use fmt(...)
10117
10118         * text3.C: add using std::endl
10119
10120         * BufferView.C (moveCursorUpdate): remove default arg
10121
10122 2002-08-20  André Pönitz <poenitz@gmx.net>
10123
10124         * buffer.[Ch]: move inline functions to .C
10125
10126         * BufferView2.C:
10127         * BufferView_pimpl.C:
10128         * text.C:
10129         * buffer.[Ch]: use improved inset_iterator
10130
10131         * buffer.C:
10132         * paragraph.[Ch]: write one paragraph at a time
10133
10134 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10135
10136         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10137         style if style is not specified.
10138
10139 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10140
10141         * text2.C (setCounter): when searching for right label for a
10142         caption, make sure to recurse to parent insets (so that a caption
10143         in a minipage in a figure float works) (bug #568)
10144
10145 2002-08-20  André Pönitz <poenitz@gmx.net>
10146
10147         * text3.C: new file for LyXText::dispatch() and helpers
10148
10149         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10150
10151         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10152
10153 2002-08-19  André Pönitz <poenitz@gmx.net>
10154
10155         * lyxtext.h:
10156         * text.C: new LyXText::dispatch()
10157
10158         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10159
10160 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10161
10162         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10163
10164         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10165         Hebrew text.
10166
10167 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10168
10169         * Makefile.am: use $(variables) instead of @substitutions@
10170
10171 2002-08-15  André Pönitz <poenitz@gmx.net>
10172
10173         * lyxfunc.C:
10174         * BufferView_pimpl.C: streamlining mathed <-> outer world
10175         interaction
10176
10177         * commandtags.h:
10178         * LyXAction.C: remove unused LFUN_MATH
10179
10180 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10181
10182         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10183
10184 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10185
10186         * paragraph.C (Paragraph): reformat a bit
10187         (cutIntoMinibuffer): use builtin InsetList function instad of
10188         doing it manually.
10189         (getInset): ditto
10190
10191         * buffer.C: include boost/bind.hpp, add using std::for_each
10192         (writeFileAscii): use ParagraphList iterators
10193         (validate): use for_each for validate traversal of paragraphs
10194         (getBibkeyList): use ParagraphList iterators
10195         (resizeInsets): use for_each to resizeInsetsLyXText for all
10196         paragraphs.
10197         (getParFromID): use ParagraphList iterators
10198
10199         * BufferView2.C (lockInset): use paragraph list and iterators
10200
10201 2002-08-14  John Levon  <levon@movementarian.org>
10202
10203         * lyxserver.C: remove spurious xforms include
10204
10205 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10206
10207         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10208
10209 2002-08-13  André Pönitz <poenitz@gmx.net>
10210
10211         * LyXAction.[Ch]:
10212         * lyxfunc.C: further cleaning
10213
10214 2002-08-13  André Pönitz <poenitz@gmx.net>
10215
10216         * funcrequest.h: new constructor
10217
10218         * funcrequest.C: move stuff here from .h
10219
10220         * Makefile.am:
10221         * BufferView_pimpl.C:
10222         * LyXAction.C:
10223         * toc.C:
10224         * lyxfunc.C: subsequent changes
10225
10226         * lyxfunc.h: new view() member function
10227
10228         * lyxfunc.C: subsequent changes
10229
10230 2002-08-13  Angus Leeming  <leeming@lyx.org>
10231
10232         * BufferView2.C:
10233         * BufferView_pimpl.C:
10234         * buffer.C:
10235         * converter.C:
10236         * importer.C:
10237         * lyxfunc.C:
10238         * lyxvc.C:
10239         * toc.C:
10240         * vc-backend.C:
10241         changes due to the changed LyXView interface that now returns references
10242         to member variables not pointers.
10243
10244 2002-08-13  Angus Leeming  <leeming@lyx.org>
10245
10246         * WordLangTuple (word, lang_code): return references to strings,
10247         not strings.
10248
10249         * BufferView.h:
10250         * SpellBase.h:
10251         * lyxtext.h: forward-declare WordLangTuple.
10252
10253         * BufferView2.C:
10254         * ispell.C:
10255         * pspell.C:
10256         * text.C: #include "WordLangTuple.h".
10257
10258         * lyxtext.h:
10259         * text.C: (selectNextWordToSpellcheck): constify return type.
10260
10261 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10262
10263         * buffer.C:
10264         * buffer.h:
10265         * lyxtext.h:
10266         * paragraph.C:
10267         * paragraph_pimpl.h:
10268         * text.C:
10269         * text2.C:
10270         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10271         suggested by Angus.
10272         Made updateCounter always count from start of buffer, and removed
10273         second argument (par).
10274         Reverted floats number display to '#'. Perhaps I'll try again when the
10275         code base is sanitized a bit.
10276
10277 2002-08-12  Angus Leeming  <leeming@lyx.org>
10278
10279         * buffer.[Ch] (getLabelList): constify.
10280
10281 2002-08-07  André Pönitz <poenitz@gmx.net>
10282
10283         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10284
10285         * funcrequest.h: extension to keep mouse (x,y) position
10286
10287 2002-08-12  Juergen Vigna  <jug@sad.it>
10288
10289         * BufferView2.C (insertErrors): forbid undo when inserting error
10290         insets.
10291
10292         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10293
10294 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10295
10296         * ParagraphList.[Ch]: new files
10297
10298         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10299
10300         * BufferView2.C (lockInset): ParagraphList changes
10301         * toc.C: ditto
10302         * text2.C: ditto
10303         * bufferlist.C: ditto
10304         * buffer.h: ditto
10305         * buffer.C: ditto
10306
10307 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10308
10309         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10310         unused class variable counter_,
10311
10312         * paragraph.[Ch] (getFirstCounter): delete unused function
10313
10314         * counters.C: include LAssert.h
10315         (reset): add a new function with no arg, change other version to
10316         not have def. arg and to not allow empty arg.
10317
10318         * text2.C (setCounter): remove empty arg from call to Counters::reset
10319
10320 2002-08-11  John Levon  <levon@movementarian.org>
10321
10322         * Makefile.am: add WordLangTuple.h
10323
10324 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10325
10326         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10327         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10328
10329         * insets/insettext.C: InsetList changes
10330
10331         * graphics/GraphicsSupport.C (operator()): InsetList changes
10332
10333         * toc.C (getTocList): InsetList changes
10334
10335         * paragraph_pimpl.[Ch]: InsetList changes
10336
10337         * paragraph.[Ch]: InsetList changes
10338
10339         * buffer.C (inset_iterator): InsetList changes
10340         (setParagraph): ditto
10341         * buffer.h (inset_iterator): ditto
10342         * iterators.C (operator++): ditto
10343         * iterators.h: ditto
10344
10345         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10346
10347         * InsetList.[Ch]: new files, most InsetList handling moved out of
10348         paragraph.C.
10349
10350         * BufferView2.C (removeAutoInsets): InsetList changes
10351         (lockInset): ditto
10352         (ChangeInsets): ditto
10353
10354 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10355
10356         * paragraph_pimpl.h (empty): new function
10357
10358         * paragraph.[Ch] (empty): new function
10359
10360         * other files: use the new Paragraph::empty function
10361
10362 2002-08-09  John Levon  <levon@movementarian.org>
10363
10364         * lyxtext.h: remove unused refresh_height
10365
10366 2002-08-09  John Levon  <levon@movementarian.org>
10367
10368         * Makefile.am:
10369         * sgml.h:
10370         * sgml.C:
10371         * buffer.C:
10372         * paragraph.h:
10373         * paragraph.C: move sgml char escaping out of paragraph
10374
10375         * paragraph.h:
10376         * paragraph.C: remove id setter
10377
10378         * buffer.C:
10379         * paragraph.C:
10380         * paragraph_pimpl.C: remove dead tex_code_break_column
10381
10382         * bufferview_funcs.C: small cleanup
10383
10384         * lyxfunc.C: remove dead proto
10385
10386         * lyxtext.h: make some stuff private. Remove some dead stuff.
10387
10388         * lyxgluelength.C: make as[LyX]String() readable
10389
10390 2002-08-08  John Levon  <levon@movementarian.org>
10391
10392         * LyXAction.h:
10393         * LyXAction.C:
10394         * MenuBackend.C:
10395         * ToolbarDefaults.C:
10396         * lyxfunc.C:
10397         * lyxrc.C:
10398         * toc.C: lyxaction cleanup
10399
10400 2002-08-08  John Levon  <levon@movementarian.org>
10401
10402         * BufferView2.C: small cleanup
10403
10404         * lyxfind.h:
10405         * lyxfind.C: move unnecessary header into the .C
10406
10407 2002-08-08  John Levon  <levon@movementarian.org>
10408
10409         * funcrequest.h: just tedious nonsense
10410
10411         * lyx_main.h:
10412         * lyx_main.C: cleanups
10413
10414         * buffer.C:
10415         * vspace.C: remove dead header lyx_main.h
10416
10417 2002-08-07  Angus Leeming  <leeming@lyx.org>
10418
10419         * Paragraph.[Ch]:
10420         * paragraph_pimpl.h:
10421         Forward declare class Counters in paragraph.h by moving the ctrs member
10422         variable into Paragraph::Pimpl.
10423         (counters): new method, returning a reference to pimpl_->ctrs.
10424
10425         * text2.C: ensuing changes.
10426
10427 2002-08-07  John Levon  <levon@movementarian.org>
10428
10429         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10430
10431         * BufferView_pimpl.C: announce X selection on double/triple
10432           click
10433
10434         * lyx_main.C: use correct bool in batch dispatch
10435
10436         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10437
10438 2002-08-07  André Pönitz <poenitz@gmx.net>
10439
10440         * funcrequest.h: new class to wrap a kb_action and its argument
10441
10442         * BufferView.[Ch]:
10443         * BufferView_pimpl[Ch]:
10444         * LaTeX.C:
10445         * LyXAction.[Ch]:
10446         * lyxfunc.[Ch]:
10447         * lyxrc.C: subsequent changes
10448
10449
10450 2002-08-07  John Levon  <levon@movementarian.org>
10451
10452         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10453           document options change.
10454
10455 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10456
10457         * counters.[Ch]
10458         * text2.C
10459         * paragraph.[Ch]
10460         * makefile.am: move counters functionality over from
10461         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10462
10463 2002-08-06  John Levon  <levon@movementarian.org>
10464
10465         * WordLangTuple.h: new file for word + language code tuple
10466
10467         * SpellBase.h:
10468         * pspell.h:
10469         * pspell.C:
10470         * ispell.h:
10471         * ispell.C:
10472         * lyxtext.h:
10473         * text.C:
10474         * text2.C:
10475         * BufferView.h:
10476         * BufferView2.C: use WordLangTuple
10477
10478         * layout.h:
10479         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10480
10481 2002-08-06  John Levon  <levon@movementarian.org>
10482
10483         * lyx_main.C: fix cmdline batch handling
10484
10485 2002-08-06  André Pönitz <poenitz@gmx.net>
10486
10487         * lyxrc.C: set default for show_banner to true
10488
10489 2002-08-06  John Levon  <levon@movementarian.org>
10490
10491         * pspell.C: fix a crash, and allow new aspell to work
10492
10493 2002-08-06  John Levon  <levon@movementarian.org>
10494
10495         * lyxfunc.C:
10496         * kbmap.C: small cleanup
10497
10498         * vspace.h:
10499         * vspace.C: add const
10500
10501 2002-08-05  John Levon  <levon@movementarian.org>
10502
10503         * LyXAction.C: back to tabular-insert
10504
10505 2002-08-04  John Levon  <levon@movementarian.org>
10506
10507         * BufferView.h:
10508         * BufferView.C: cosmetic change
10509
10510         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10511
10512         * bufferlist.C:
10513         * buffer.h:
10514         * buffer.C:
10515         * lyxcb.h:
10516         * lyxcb.C:
10517         * lyxserver.C:
10518         * lyxvc.C:
10519         * vc-backend.C:
10520         * BufferView2.C: purge all "Lyx" not "LyX" strings
10521
10522         * lyxcursor.h:
10523         * lyxcursor.C: attempt to add some documentation
10524
10525         * lyxfunc.C:
10526         * commandtags.h:
10527         * LyXAction.C:
10528         * ToolbarDefaults.C:
10529         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10530           merge with LFUN_TABULAR_INSERT
10531
10532         * Makefile.am:
10533         * SpellBase.h:
10534         * ispell.h:
10535         * ispell.C:
10536         * pspell.h:
10537         * pspell.C: split up i/pspell implementations into separate
10538           files, many cleanups
10539
10540         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10541
10542         * text2.C: some cleanup
10543
10544         * lyxfunc.C: don't check for isp_command == "none" any more, it
10545           didn't make any sense
10546
10547 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10548
10549         * counters.[Ch]
10550         * text2.C
10551         * paragraph.[Ch]
10552         * makefile.am: move counters functionality over
10553         from text2.C/paragraph.[Ch] to counters.[Ch], and
10554         make proper C++.
10555 2002-08-02  John Levon  <levon@movementarian.org>
10556
10557         * buffer.C: s/lyxconvert/lyx2lyx/
10558
10559 2002-08-02  Angus Leeming  <leeming@lyx.org>
10560
10561         * lyxlex.C: revert John's change as it breaks reading of the user
10562         preamble.
10563
10564 2002-08-02  Angus Leeming  <leeming@lyx.org>
10565
10566         * importer.C (Import):
10567         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10568         changes due to LyXView::view() now returning a boost::shared_ptr.
10569
10570 2002-08-02  John Levon  <levon@movementarian.org>
10571
10572         * lyxlex.C: small cleanup
10573
10574 2002-08-02  John Levon  <levon@movementarian.org>
10575
10576         * text2.C (status): small cleanup, no logic change
10577
10578 2002-08-01  John Levon  <levon@movementarian.org>
10579
10580         * buffer.h:
10581         * buffer.C (writeFile): don't output alerts, caller
10582           handles this
10583
10584         * bufferlist.C:
10585         * lyx_cb.C: from above
10586
10587         * lyxfunc.C: allow to open non-existent files
10588
10589 2002-07-31  John Levon  <levon@movementarian.org>
10590
10591         * lyxserver.C: don't let incidental errors get
10592           in the way (errno)
10593
10594 2002-07-30  John Levon  <levon@movementarian.org>
10595
10596         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10597
10598 2002-07-30  John Levon  <levon@movementarian.org>
10599
10600         * lyxserver.h:
10601         * lyxserver.C: remove I/O callback too
10602
10603 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10604
10605         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10606         log.
10607
10608 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10609
10610         * many files: strip,frontStrip -> trim,ltrim,rtrim
10611
10612 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10613
10614         * PrinterParams.h: remove extern containsOnly, and include
10615         support/lstrings.h instead.
10616
10617         * LaTeX.C (scanAuxFile): modify because of strip changes
10618         (deplog): ditto
10619         * buffer.C (makeLaTeXFile): ditto
10620         * bufferparams.C (writeFile): ditt
10621         * lyxfont.C (stateText): ditto
10622         * lyxserver.C (read_ready): ditto
10623         * vc-backend.C (scanMaster): ditto
10624
10625         * BufferView_pimpl.h: ws changes
10626
10627         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10628
10629 2002-07-26  André Pönitz <poenitz@gmx.net>
10630
10631         * kb_sequence.C: remove unnedred usings
10632
10633 2002-07-26  Juergen Vigna  <jug@sad.it>
10634
10635         * lyxfind.C (LyXReplace): we have to check better if the returned
10636         text is not of theLockingInset()->getLockingInset().
10637
10638 2002-07-25  Juergen Vigna  <jug@sad.it>
10639
10640         * lyxfind.C (LyXReplace): don't replace if we don't get the
10641         right LyXText.
10642
10643         * undo_funcs.C (createUndo): remove debugging code.
10644
10645 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10646
10647         * buffer.C (parseSingleLyXformat2Token): Use default placement
10648         when reading old floats.
10649
10650         * FloatList.C (FloatList): Change the default placement of figure
10651         and tables to "tbp".
10652
10653 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10654
10655         * MenuBackend.C: using std::max
10656
10657 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10658
10659         * MenuBackend.C (expandToc):
10660         (expandToc2): code moved from xforms menu frontend. It is now
10661         generic and TOCs are transparent to menu frontends.
10662
10663 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10664
10665         * toc.C (getTocList): protect against buf=0
10666
10667         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10668         Menu as first parameter. Now, this calls itself recursively to
10669         expand a whole tree (this will be useful for TOC handling)
10670         (expandFloatInsert): remove 'wide' version of floats
10671
10672         * MenuBackend.h (submenuname): returns the name of the submenu.
10673         (submenu): returns the submenu itself, provided it has been
10674         created by MenuBackend::expand
10675
10676 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10677
10678         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10679         insets which have noFontChange == true. (bug #172)
10680
10681 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10682
10683         * BufferView_pimpl.C: add connection objects and use them...
10684         (Pimpl): here.
10685
10686 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10687
10688         * MenuBackend.C (expandLastfiles):
10689         (expandDocuments):
10690         (expandFormats):
10691         (expandFloatListInsert):
10692         (expandFloatInsert):
10693         (expand): split expand in parts
10694
10695 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10696
10697         * lyx_gui.C: use lyx_gui::exit()
10698
10699 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * LyXAction.C: show the failing pseudo action
10702
10703 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10704
10705         * buffer.C (readFile): Run the lyxconvert script in order to read
10706         old files.
10707
10708 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10709
10710         * LyXAction.C:
10711         * commandtags.h:
10712         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10713
10714 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10715
10716         * LyXAction.C:
10717         * commandtags.h:
10718         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10719
10720 2002-07-22  Herbert Voss  <voss@lyx.org>
10721
10722         * lengthcommon.C:
10723         * lyxlength.[Ch]: add support for the vertical lengths
10724
10725 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10726
10727         * toc.[Ch]: std:: fixes
10728
10729 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10730
10731         * lyxrc.C: do not include lyx_main.h
10732
10733         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10734         for layouts
10735
10736         * lyxrc.C:
10737         * encoding.C:
10738         * bufferlist.C:
10739         * BufferView2.C: include "lyxlex.h"
10740
10741         * tabular.h:
10742         * bufferparams.h: do not #include "lyxlex.h"
10743
10744         * lyxtextclasslist.C (Add): remove method
10745         (classlist): renamed to classlist_
10746
10747         * paragraph_pimpl.C:
10748         * paragraph.C:
10749         * text2.C:
10750         * CutAndPaste.C:
10751         * bufferview_funcs.C:
10752         * bufferlist.C:
10753         * text.C:
10754         * LaTeXFeatures.C:
10755         * buffer.C:
10756         * toc.C (getTocList): use BufferParams::getLyXTextClass
10757
10758         * toc.C (getTocList): use InsetFloat::addToToc
10759
10760         * toc.[Ch]: new files, containing helper functions to handle table
10761         of contents
10762
10763         * lyxfunc.C (dispatch): no need to remove spaces around command
10764         given as a string
10765         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10766         first command of the sequence; it is not very clever, but I do not
10767         have a better idea, actually
10768
10769         * LyXAction.C (LookupFunc): make sure to remove space at the
10770         beginning and end of the command
10771
10772 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10773
10774         * MenuBackend.C (getMenubar): new method: return the menubar of
10775         this menu set
10776         (read): treat differently reading of menu and menubar (in
10777         particular, the menubar has no name now)
10778         (Menu::menubar): remove
10779
10780         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10781         saving is finished
10782
10783 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10784
10785         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10786         a bibitem inset in a RTL paragraph.
10787
10788 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10789
10790         * paragraph_pimpl.C: constify
10791
10792         * BufferView_pimpl.C:
10793         * LaTeX.C:
10794         * lyxfunc.C: fix dispatch in a nicer way
10795
10796 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10797
10798         * lyxfunc.C (dispatch):
10799         * BufferView_pimpl.C:
10800         * BufferView_pimpl.h:
10801         * BufferView.C:
10802         * BufferView.h: rename Dispatch() to dispatch()
10803
10804         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10805
10806         * lyxlayout.C (Read): honor DependsOn tag
10807
10808         * lyxlayout.[Ch] (depends_on): new method
10809
10810         * version.C.in: update lyx_docversion
10811
10812         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10813
10814         * paragraph.C (validate): remove from here...
10815         * paragraph_pimpl.C (validate): ... and move here
10816         (isTextAt): make it const
10817
10818         * buffer.C (getLists): ws cleanup
10819
10820 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10821
10822         * language.C (read): Use iso8859-1 encoding in latex_lang
10823         (this prevents LyX from crashing when using iso10646-1 encoding).
10824
10825 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10826
10827         * text2.C (toggleInset): if cursor is inside an inset, close the
10828         inset and leave cursor _after_ it
10829
10830 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10831
10832         * lyxfunc.C: move minibuffer completion handling out of here
10833
10834 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10835
10836         * BufferView_pimpl.C:
10837         * LaTeX.C: fix dispatch calls
10838
10839 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10840
10841         * text.C (drawChars): Fix Arabic text rendering.
10842
10843 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10844
10845         * LyXAction.C:
10846         * commandtags.h:
10847         * lyxfunc.C: remove message-push/pop
10848
10849         * lyxserver.C:
10850         * lyxfunc.h:
10851         * lyxfunc.C: rationalise some code by removing verboseDispatch
10852           in favour of a bool argument to dispatch()
10853
10854 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10855
10856         * lyx_main.C (init): make sure to read symlinks as absolute paths
10857
10858 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10859
10860         * lyxfunc.h:
10861         * lyxfunc.C: no need for commandshortcut to be a member
10862
10863 2002-07-15  André Pönitz <poenitz@gmx.net>
10864
10865         * converter.C: add support for $$s (scripts from lib/scripts dir)
10866         * lyx_main.C: white space
10867
10868 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * bufferlist.C:
10871         * lyxrc.h:
10872         * lyxrc.C: remove second exit confirmation
10873
10874 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10875
10876         * BufferView.h:
10877         * BufferView.C:
10878         * BufferView2.C:
10879         * BufferView_pimpl.h:
10880         * BufferView_pimpl.C:
10881         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10882
10883 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10884
10885         * MenuBackend.C (expand): add numeric shortcuts to document menu
10886
10887         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10888
10889 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10890
10891         * lyxfont.C (setLyXFamily):
10892         (setLyXSeries):
10893         (setLyXShape):
10894         (setLyXSize):
10895         (setLyXMisc):
10896         (lyxRead):
10897         * debug.C (value):
10898         * buffer.C (asciiParagraph): use ascii_lowercase
10899
10900 2002-07-15  Mike Fabian  <mfabian@suse.de>
10901
10902         * lyxlex_pimpl.C (search_kw):
10903         * lyxlex.C (getLongString):
10904         * converter.h (operator<):
10905         * converter.C (operator<):
10906         * buffer.C (parseSingleLyXformat2Token):
10907         (asciiParagraph):
10908         * ToolbarDefaults.C (read):
10909         * MenuBackend.C (checkShortcuts):
10910         (read):
10911         * LColor.C (getFromGUIName):
10912         (getFromLyXName): use the compare_ascii_no_case instead of
10913         compare_no_case, because in turkish, 'i' is not the lowercase
10914         version of 'I', and thus turkish locale breaks parsing of tags.
10915
10916 2002-07-16  Angus Leeming  <leeming@lyx.org>
10917
10918         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10919         now takes a Buffer const & argument.
10920
10921 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10922
10923         * BufferView.C (resize): check there's a buffer to resize
10924
10925 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10926
10927         * lyxfunc.C: remove dead code
10928
10929         * lyxserver.h:
10930         * lyxserver.C: use lyx_guii::set_read_callback
10931
10932 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10933
10934         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10935         an inset in a RTL paragraph.
10936
10937 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10938
10939         * lyxfunc.C: repaint after a font size update
10940
10941 2002-07-15  André Pönitz <poenitz@gmx.net>
10942
10943         * lyxlength.C: inBP should be able to return negative values
10944
10945 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10946
10947         * lyxfunc.C: use lyx_gui::update_fonts()
10948
10949 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * lyxfunc.C: use lyx_gui::update_color()
10952
10953 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10954
10955         * bufferlist.C:
10956         * lyxfunc.h:
10957         * lyxfunc.C:
10958         * lyxrc.h:
10959         * lyxrc.C: remove file->new asks for name option, and let
10960           buffer-new take an argument
10961
10962 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10963
10964         * BufferView_pimpl.C: remove unneeded extra repaint()
10965
10966 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10967
10968         * LyXAction.C: allow command-sequence with NoBuffer
10969
10970         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10971
10972 2002-07-10  Angus Leeming  <leeming@lyx.org>
10973
10974         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10975
10976 2002-07-09  Angus Leeming  <leeming@lyx.org>
10977
10978         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10979
10980 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10981
10982         * lengthcommon.h: whitespace
10983
10984         * lyxfunc.C: update scrollbar after goto paragraph
10985
10986         * lyxtext.h: factor out page break drawing, and fix it so
10987           page break/added space paints as selected nicely
10988
10989 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10990
10991         * BufferView_pimpl.C: add FIXMEs, clean up a little
10992
10993 2002-07-09  André Pönitz <poenitz@gmx.net>
10994
10995         * lyxfont.[Ch]: support for wasy symbols
10996
10997 2002-07-08  André Pönitz <poenitz@gmx.net>
10998
10999         * BufferView_pimpl.C: apply John's patch for #93.
11000
11001 2002-07-05  Angus Leeming  <leeming@lyx.org>
11002
11003         * BufferView_pimpl.C (buffer): generate previews if desired.
11004
11005         * LColor.h: add "preview" to the color enum.
11006
11007         * LColor.C (LColor): add a corresponding entry to the items array.
11008
11009         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11010         with this buffer.
11011
11012 2002-07-05  Angus Leeming  <leeming@lyx.org>
11013
11014         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11015         The body of the code is now in the method that is passed an ostream &
11016         rather than a file name.
11017         Pass an additional only_preamble parameter, useful for the forthcoming
11018         preview stuff.
11019
11020 2002-07-03  André Pönitz <poenitz@gmx.net>
11021
11022         * lyxfunc.C: simplify getStatus() a bit for math stuff
11023
11024 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11025
11026         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11027
11028 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11029
11030         * text.C (changeRegionCase): do not change case of all the
11031         document when region ends at paragraph end (bug #461)
11032
11033 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11034
11035         * paragraph.C (startTeXParParams):
11036         (endTeXParParams): add \protect when necessary
11037
11038 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11039
11040         * BufferView_pimpl.C (workAreaExpose): remove warning
11041
11042 2002-06-27  Angus Leeming  <leeming@lyx.org>
11043
11044         * Makefile.am: add lyxlayout_ptr_fwd.h.
11045
11046 2002-06-26  André Pönitz <poenitz@gmx.net>
11047
11048         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11049
11050 2002-06-25  Angus Leeming  <leeming@lyx.org>
11051
11052         * lyxfunc.C (dispatch): Comment out the call to
11053         grfx::GCache::changeDisplay. The method no longer exists now that the
11054         pixmap generation part of the graphics loader has been moved into
11055         InsetGraphics.
11056
11057 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11058
11059         * text2.C: layout as layout
11060
11061         * text.C: layout as layout
11062
11063         * tabular.C (OldFormatRead): layout as layout
11064
11065         * paragraph_pimpl.C (TeXDeeper): layout as layout
11066         (realizeFont): layout as layout
11067
11068         * paragraph.C (writeFile): layout as layout
11069         (validate): layout as layout
11070         (getFont): layout as layout
11071         (getLabelFont): layout as layout
11072         (getLayoutFont): layout as layout
11073         (breakParagraph): layout as layout
11074         (stripLeadingSpaces): layout as layout
11075         (getEndLabel): layout as layout
11076         (getMaxDepthAfter): layout as layout
11077         (applyLayout): layout as layout
11078         (TeXOnePar): layout as layout
11079         (simpleTeXOnePar): layout as layout
11080         (TeXEnvironment): layout as layout
11081         (layout): layout as layout
11082         (layout): layout as layout
11083
11084         * lyxtextclass.C (compare_name): new functor to work with
11085         shared_ptr, layout as layout
11086         (Read): layout as layout
11087         (hasLayout): layout as layout
11088         (operator): layout as layout
11089         (delete_layout): layout as layout
11090         (defaultLayout): layout as layout
11091
11092         * lyxlayout_ptr_fwd.h: new file
11093
11094         * lyxlayout.C (Read): layout as layout
11095
11096         * lyx_cb.C (MenuInsertLabel): layout as layout
11097
11098         * bufferlist.C (newFile): layout as layout
11099
11100         * buffer.C (readLyXformat2): layout as layout
11101         (parseSingleLyXformat2Token): layout as layout
11102         (insertStringAsLines): layout as layout
11103         (asciiParagraph): layout as layout
11104         (latexParagraphs): layout as layout
11105         (makeLinuxDocFile): layout as layout
11106         (simpleLinuxDocOnePar): layout as layout
11107         (makeDocBookFile): layout as layout
11108         (simpleDocBookOnePar): layout as layout
11109         (getLists): layout as layout
11110
11111         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11112
11113         * CutAndPaste.C (cutSelection): layout as layout
11114         (pasteSelection): layout as layout
11115         (SwitchLayoutsBetweenClasses): layout as layout
11116
11117         * BufferView_pimpl.C (Dispatch): layout as layout
11118         (smartQuote): layout as layout
11119
11120         * BufferView2.C (unlockInset): layout as layout
11121
11122 2002-06-24  André Pönitz <poenitz@gmx.net>
11123
11124         * lyxfunc.C: fix #487
11125
11126 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11127
11128         * lyxrc.h:
11129         * lyxrc.C:
11130         * lyxfunc.C: remove display_shortcuts, show_banner
11131
11132 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * Buffer_pimpl.C: oops, update on resize
11135
11136 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11137
11138         * buffer.C:
11139         * converter.C:
11140         * exporter.C:
11141         * lyxfunc.C:
11142         * BufferView.h:
11143         * BufferView.C: use repaint()
11144
11145         * BufferView_pimpl.h:
11146         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11147           as it's a clearer description. Remove superfluous
11148           redraws.
11149
11150 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11151
11152         * text.C: fix bug 488. Not ideal, but getting
11153           getWord() to work properly for the insets that
11154           matter is more difficult ...
11155
11156 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * BufferView_pimpl.C:
11159         * LyXAction.C:
11160         * commandtags.h:
11161         * lyxfunc.C: remove the six million index lyxfuncs to just
11162           one, and DTRT (bug 458)
11163
11164 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11165
11166         * BufferView.h:
11167         * BufferView.C:
11168         * BufferView_pimpl.h:
11169         * BufferView_pimpl.C: clean up resize() stuff,
11170           and unnecessary updateScreen()s
11171
11172 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11173
11174         * BufferView.h:
11175         * BufferView.C:
11176         * BufferView_pimpl.h:
11177         * BufferView_pimpl.C:
11178         * lyxfind.h:
11179         * lyxfind.C:
11180         * minibuffer.C: remove focus management of workarea,
11181           not needed. Use screen's greyOut()
11182
11183 2002-06-17  Herbert Voss  <voss@lyx.org>
11184
11185         * converter.C: (convert) do not post a message, when converting
11186         fails, let the calling function decide what to do in this case
11187
11188 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11189
11190         * lyxfunc.C: tidy up a little
11191
11192 2002-06-16    <alstrup@diku.dk>
11193
11194         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11195         Got rid of FORMS_H_LOCATION include. Now we are
11196         GUII.
11197
11198 2002-06-15  LyX Development team  <lyx@rilke>
11199
11200         * buffer.[Ch] (sgmlOpenTag):
11201         (sgmlCloseTag): Added support for avoiding pernicious mixed
11202         content. Return number of lines written.
11203
11204         (makeLinuxDocFile):
11205         (makeDocBookFile): Fixed calls to sgml*Tag.
11206         Simple white space clean.
11207
11208         (simpleDocBookOnePar): Simple white space clean.
11209
11210         * tabular.[Ch] (docBook): Renamed to docbook and got another
11211         argument to related with the pernicious mixed content.
11212
11213         (docbookRow): Fixed calls for docbook inset method.
11214
11215 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11216
11217         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11218         so it's X11 independent.
11219
11220         * kb*.[Ch]: ditto.
11221
11222         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11223
11224 2002-06-15  Lyx Development team  <lyx@electronia>
11225
11226         * intl.h: Renamed getTrans to getTransManager.
11227
11228 2002-06-14  Angus Leeming  <leeming@lyx.org>
11229
11230         * Makefile.am: nuke forgotten stl_string_fwd.h.
11231
11232 2002-06-12  Angus Leeming  <leeming@lyx.org>
11233
11234         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11235
11236 2002-06-13  Angus Leeming  <leeming@lyx.org>
11237
11238         * LaTeX.C:
11239         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11240
11241 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11242
11243         * kbmap.C (getiso): add support for cyrillic and greek
11244
11245 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11246
11247         * BufferView.h:
11248         * BufferView.C:
11249         * BufferView_pimpl.h:
11250         * BufferView_pimpl.C: move bogus scrolling logic
11251           to xforms
11252
11253 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11254
11255         * lyxfunc.C:
11256         * BufferView_pimpl.C: view->resize() change
11257
11258 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11259
11260         * BufferView_pimpl.C: topCursorVisible
11261           prototype change
11262
11263 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11264
11265         * Makefile.am:
11266         * lyx_gui.h:
11267         * lyx_gui.C: move to frontends/
11268
11269         * main.C:
11270         * lyx_main.h:
11271         * lyx_main.C: changes from above
11272
11273 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11274
11275         * intl.C:
11276         * intl.h:
11277         * kbmap.C:
11278         * kbsequence.C:
11279         * lyx_cb.C:
11280         * lyx_main.C: minor tidy
11281
11282 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11283
11284         * BufferView_pimpl.h:
11285         * BufferView_pimpl.C:
11286         * BufferView.h:
11287         * BufferView.C: make painter() const,
11288           remove dead code
11289
11290         * BufferView2.C: use screen() accessor
11291
11292         * lyx_main.h:
11293         * lyx_main.C: some minor cleanup
11294
11295 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11296
11297         * BufferView_pimpl.h:
11298         * BufferView_pimpl.C: remove enter/leaveView,
11299           use workHeight()
11300
11301 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11302
11303         * BufferView.h:
11304         * BufferView.C:
11305         * BufferView2.C:
11306         * BufferView_pimpl.h:
11307         * BufferView_pimpl.C: only construct screen once,
11308           rename
11309
11310         * lyxrc.C: remove pointless comment
11311
11312 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11313
11314         * BufferView.h:
11315         * BufferView.C: remove active() and belowMouse()
11316
11317         * BufferView_pimpl.h:
11318         * BufferView_pimpl.C: use workarea() not workarea_,
11319           and make it use a scoped_ptr instead
11320
11321 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11322
11323         * lyx_gui.C: add debug message on BadWindow
11324
11325 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11326
11327         * sp_spell.C: fdopen is not part of the C++ standard.
11328
11329         * paragraph.C (InsetIterator): use >= instead of ==
11330
11331 2002-06-07  Angus Leeming  <leeming@lyx.org>
11332
11333         Fixes needed to compile with Compaq cxx 6.5.
11334         * BufferView_pimpl.C:
11335         * DepTable.C:
11336         * buffer.C:
11337         * converter.C:
11338         * encoding.C:
11339         * lyx_gui.C:
11340         * lyx_main.C:
11341         * lyxtextclasslist.C:
11342         * minibuffer.C:
11343         * sp_spell.C:
11344         * tabular_funcs.C:
11345         * vc-backend.C:
11346         all c-library variables have been moved into namespace std. Wrap
11347         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11348
11349         * lyxlength.C:
11350         * tabular-old.C:
11351         * tabular.C:
11352         Add a using std::abs declaration.
11353
11354         * kbmap.h (modifier_pair):
11355         * paragraph.h (InsetTable, InsetList):
11356         * lyxfont.h (FontBits):
11357         type definition made public.
11358
11359         * bufferlist.C (emergencyWriteAll): the compiler complains that
11360         there is more than one possible lyx::class_fun template to choose from.
11361         I re-named the void specialisation as lyx::void_class_fun.
11362
11363         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11364
11365         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11366         the compiler is is unable to find tostr in write_attribute.
11367
11368 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11369
11370         * buffer.C (sgmlError): hide #warning
11371
11372 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11373
11374         * xtl/*: get rid of xtl, which is not in use anyway
11375
11376         * LyXAction.C (init):
11377         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11378         were unimplemented xtl experimentation
11379
11380 2002-06-04  André Pönitz <poenitz@gmx.net>
11381
11382         * lyxfunc.C: disable array operation on simple formulae
11383
11384 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11385
11386         * converter.C: constify a bit
11387
11388 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11389
11390         * lyx_gui.C: check xforms version correctly
11391
11392 2002-04-30  Herbert Voss  <voss@lyx.org>
11393
11394         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11395         "keep" option
11396
11397 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11398
11399         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11400           attempt to register it with a VCS)
11401
11402 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11403
11404         * lyx_main.C (init): honor variables LYX_DIR_13x and
11405         LYX_USERDIR_13x
11406
11407 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11408
11409         * buffer.h:
11410         * buffer.C:
11411         * lyx_main.C: fix a crash on bad command line,
11412           and give a useful exit status on error
11413
11414         * lyxfunc.C (doImport): allow -i lyx to work
11415
11416 2002-03-30  André Pönitz <poenitz@gmx.net>
11417
11418         * lyxfunc.C: mathed font changes
11419
11420 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11421
11422         * LaTeX.C:
11423         * importer.h:
11424         * importer.C:
11425         * lyx_sty.h:
11426         * lyx_sty.C:
11427         * lyxlex.C:
11428         * lyxrow.h:
11429         * lyxtext.h:
11430         * paragraph.h:
11431         * paragraph.C:
11432         * texrow.h:
11433         * texrow.C:
11434         * text.C:
11435         * trans_mgr.h: srcdocs, and some minor cleanups
11436
11437 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11438
11439         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11440         call getFont all the time)
11441
11442 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11443
11444         * switch from SigC signals to boost::signals
11445
11446 2002-05-29  André Pönitz <poenitz@gmx.net>
11447
11448         * paragraph_pimpl.C (getChar): don't call size() too often...
11449
11450 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11451
11452         * paragraph_pimpl.C (insertChar): do not try to update tables when
11453         appending (pos == size())
11454
11455         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11456         in order to reduce drastically the number of comparisons needed to
11457         parse a large document
11458
11459 2002-05-29  André Pönitz <poenitz@gmx.net>
11460
11461         * text.C:
11462         * text2.C:
11463         * lyxtextclass.C:
11464         * sp_pspell.h:
11465         * textclasslist.[Ch]:
11466         * sp_ispell.h: whitespace change
11467
11468 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11469
11470         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11471         lyxaction directly now.
11472
11473 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11474
11475         * trans.C:
11476         * lyxfont.C:
11477         * lyxvc.C: remove unused headers
11478
11479 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11480
11481         * Makefile.am:
11482         * buffer.h:
11483         * undostack.h:
11484         * undostack.C:
11485         * undo_funcs.h:
11486         * undo_funcs.C: some cleanups. Use shared_ptr
11487           and a template for the undo stacks.
11488
11489 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11490
11491         * BufferView_pimpl.h:
11492         * BufferView_pimpl.C:
11493         * kbmap.h:
11494         * kbmap.C:
11495         * kbsequence.h:
11496         * kbsequence.C:
11497         * lyxfunc.h:
11498         * lyxfunc.C:
11499         * text2.C: use key_state/mouse_state
11500
11501 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11502
11503         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11504         and LSubstring
11505
11506         * chset.C: change include order
11507         (loadFile): use boost regex and get rid of LRegex and LSubstring
11508
11509         * Makefile.am (BOOST_LIBS): new variable
11510         (lyx_LDADD): use it
11511
11512         * LaTeX.C: change include order.
11513         (scanAuxFile): use boost regex and get rid of LRegex and
11514         LSubstring
11515         (deplog): ditto
11516
11517 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11518
11519         * ColorHandler.h:
11520         * ColorHandler.C:
11521         * FontInfo.h:
11522         * FontInfo.C: moved to frontends/xforms/
11523
11524         * FontLoader.h:
11525         * FontLoader.C: moved into frontends for GUIIzation
11526
11527         * Makefile.am:
11528         * lyx_gui.C:
11529         * lyxfont.C:
11530         * lyxfunc.C: changes from above
11531
11532 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11533
11534         * LColor.C: remove spurious X include
11535
11536         * BufferView_pimpl.C:
11537         * Makefile.am:
11538         * font.h:
11539         * font.C:
11540         * text.C:
11541         * text2.C: move font metrics to frontends/
11542
11543 2002-05-24  Juergen Vigna  <jug@sad.it>
11544
11545         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11546         setting the undo_cursor.
11547
11548         * ParagraphParameters.h: include local includes first.
11549
11550 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11551
11552         * BufferView_pimpl.C:
11553         * BufferView_pimpl.h:
11554         * Makefile.am:
11555         * WorkArea.h:
11556         * WorkArea.C:
11557         * screen.C: move WorkArea into frontends/
11558
11559         * lyxscreen.h:
11560         * screen.C:
11561         * text.C:
11562         * BufferView.C:
11563         * BufferView2.C: move LyXScreen into frontends/
11564
11565         * lyxlookup.h:
11566         * lyxlookup.C:
11567         * lyx_gui.C: move lyxlookup into frontends/xforms/
11568
11569 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11570
11571         * BufferView2.C:
11572         * BufferView_pimpl.C:
11573         * FontLoader.C:
11574         * LyXView.h:
11575         * LyXView.C:
11576         * Makefile.am:
11577         * WorkArea.C:
11578         * XFormsView.h:
11579         * XFormsView.C:
11580         * buffer.C:
11581         * bufferlist.C:
11582         * bufferview_funcs.C:
11583         * converter.C:
11584         * importer.C:
11585         * lyx_cb.C:
11586         * lyx_gui.C:
11587         * lyx_main.C:
11588         * lyx_find.C:
11589         * lyxfunc.C:
11590         * lyxvc.C:
11591         * minibuffer.C:
11592         * text.C:
11593         * text2.C:
11594         * trans.C:
11595         * vc-backend.C: move LyX/XFormsView into frontends/
11596
11597 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11598
11599         * Makefile.am:
11600         * PainterBase.C:
11601         * PainterBase.h:
11602         * Painter.C:
11603         * Painter.h:
11604         * WorkArea.C:
11605         * WorkArea.h:
11606         * screen.C:
11607         * tabular.C:
11608         * text.C:
11609         * text2.C: move Painter to frontends/
11610
11611 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11612
11613         * buffer.C: comment out some some code that depend upon lyx_format
11614         < 220
11615
11616         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11617         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11618
11619         * buffer.h (NO_COMPABILITY): turn off compability
11620
11621         * ColorHandler.C: include scoped_array.hpp
11622
11623         * font.C: Use more specific smart_ptr header.
11624         * Painter.C: ditto
11625         * gettext.C: ditto
11626         * ShareContainer.h: ditto
11627         * lyx_main.h: ditto
11628         * kbmap.h: ditto
11629         * FontInfo.h: ditto
11630         * BufferView_pimpl.h: ditto
11631         * ColorHandler.h: ditto
11632
11633         * kbmap.C (defkey): change call to shared_ptr::reset
11634
11635 2002-05-21  Juergen Vigna  <jug@sad.it>
11636
11637         * buffer.C (insertErtContents): fix to insert ert asis if it is
11638         non empty. Skip it completely if it contains only whitespaces.
11639
11640 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11641
11642         * BufferView_pimpl.C:
11643         * BufferView2.C: clear selection on paste (bug 393)
11644
11645 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11646
11647         * DepTable.C: include ctime
11648
11649 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11650
11651         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11652
11653 2002-05-14  Juergen Vigna  <jug@sad.it>
11654
11655         * text.C (breakParagraph): fixed function to honor the keepempty
11656         layout in the right maner and also to permit the right breaking
11657         algorithm on empty or non empyt keepempty paragraphs.
11658
11659         * paragraph.C (breakParagraph): we have to check also if the par
11660         is really empty (!size()) for isempty otherwise we do the wrong
11661         paragraph break.
11662
11663 2002-05-10  Juergen Vigna  <jug@sad.it>
11664
11665         * buffer.[Ch] : The following are only changes to the ert
11666         compatibility read reading old LaTeX layout and font stuff and
11667         convert it to ERTInsets.
11668
11669         * buffer.h: added isErtInset().
11670
11671         * buffer.C (struct ErtComp): add a fromlayout bool to check
11672         if we're inside a LaTeX layout.
11673         (isErtInset): new helper function.
11674         (insertErtContents): look for other ert insets before this one
11675         and insert the contents there, so that we don't have subsequent
11676         ERT insets with nothing between them. This way we create only one
11677         inset with multiple paragraphs. Also check if we don't insert only
11678         spaces ' ' as they are ignored anyway afterwards in the .tex file
11679         so if we have only spaces we will ignore this latex part in the
11680         new file.
11681         (parseSingleLyXformat2Token \\layout): better compatibility when
11682         reading layout-latex stuff.
11683         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11684         language tag.
11685         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11686         stuff after reading the inset only get the information back from
11687         the stack.
11688
11689 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11690
11691         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11692
11693         * LaTeXFeatures.C (getBabelOptions): New method.
11694
11695 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11696
11697         * BufferView_pimpl.C (Dispatch): work around missing argument for
11698         'layout'
11699
11700 2002-05-08  Juergen Vigna  <jug@sad.it>
11701
11702         * text.C (leftMargin): handle paragraph leftindent.
11703
11704         * paragraph.C (writeFile): write the new \\leftindent tag.
11705         (validate): handle leftindent code.
11706         (TeXEnvironment): handle paragraphleftindent code again.
11707
11708         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11709
11710         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11711         for paragrap_extra indent code and new token \\leftindent.
11712         (latexParagraphs): handle the leftindent as environment.
11713
11714         * ParameterStruct.h: added leftindent support.
11715
11716         * ParagraphParameters.C (leftIndent): added support functions for
11717         the paragraph left indent.
11718
11719         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11720         more appropriate.
11721
11722 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11723
11724         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11725         inside insetERT.
11726
11727         * text.C (computeBidiTables): No bidi in insetERT.
11728
11729         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11730         in RTL documents.
11731
11732 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11733
11734         * version.C.in: pre 5
11735
11736 2002-05-02  José Matos  <jamatos@fep.up.pt>
11737         * buffer.C (makeDocBookFile): white space changes, add newline to
11738         command styles.
11739         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11740
11741         * tabular.C (docBook): fix typo.
11742
11743 2002-05-03  Juergen Vigna  <jug@sad.it>
11744
11745         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11746         change in LyXText as we can not be sure it was not freed.
11747         (drawOneRow): remove unused code.
11748
11749         * text.C (drawInset): redo the calculation of the need_break_row as
11750         it could have a row which was already freed.
11751         (draw): look at the return value of drawInset and return false if
11752         it also returned false.
11753         (paintRowText): look at the return value of draw and return false if
11754         it also returned false.
11755
11756         * lyxtext.h: added bool return type to drawInset() and draw() so that
11757         if we have a change in the row so that the rowbreak has to be redone
11758         we abort drawing as it will be called again.
11759
11760 2002-05-02  Juergen Vigna  <jug@sad.it>
11761
11762         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11763         a change in the maintext also if we're inside an inset.
11764         (Dispatch): set the cursor again after a break line and after the
11765         screen has been updated as it could be we're in a different row.
11766
11767         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11768         to set the cursor behind the pargraph with > size().
11769         (setCursor): check also for the same paragraph when checking where
11770         to put the cursor if we have a NFR inset.
11771
11772         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11773         parts of layout read further up as it still was in the wrong
11774         position.
11775
11776 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11777
11778         * screen.C (drawFromTo): change sine fullRebreak always return
11779         true.
11780
11781         * buffer.C (parseSingleLyXformat2Token): reindent some
11782
11783         * BufferView_pimpl.C (update): change since fullRebreak always
11784         return true.
11785         (Dispatch): git rid of the last hardcoded "Standard"s.
11786
11787 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11788
11789         * text2.[Ch] (fullRebreak): make it return void now that we always
11790         returned true.
11791
11792 2002-04-30  Juergen Vigna  <jug@sad.it>
11793
11794         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11795         ert compatibility check for "latex" layout.
11796
11797 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11798
11799         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11800         minipages: use col% instead of p%, and also use the current font.
11801         (makeLaTeXFile): Fix use babel condition.
11802         (parseSingleLyXformat2Token): Correct font when reading old floats.
11803
11804 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11805
11806         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11807         inserting list of floats.
11808
11809 2002-04-25  Herbert Voss  <voss@lyx.org>
11810
11811         * MenuBackend.C (expand): don't add the graphics extensions to the
11812         export menu
11813
11814 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11815
11816         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11817         non-existing layout, do not complain if it was the default layout
11818         of the original class (bug #342)
11819
11820 2002-04-24  Juergen Vigna  <jug@sad.it>
11821
11822         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11823         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11824
11825 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11826
11827         * buffer.C (getBibkeyList): If using \bibliography, return the
11828         option field with the reference itself. Enables us to provide natbib
11829         support when using \bibliography.
11830
11831 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11832
11833         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11834
11835         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11836         natbib is provided by the LaTeX class.
11837
11838 2002-04-23  Juergen Vigna  <jug@sad.it>
11839
11840         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11841         Wakeup functions.
11842
11843         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11844
11845 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11846
11847         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11848
11849         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11850         ensuremath around textordmasculine, textordfeminine and
11851         textdegree.
11852
11853 2002-04-19  Juergen Vigna  <jug@sad.it>
11854
11855         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11856         reinitializing the buffer otherwise row-dimensions may be wrong.
11857         (update): reset also the selection cursors if they do exits otherwise
11858         their x/y positions may be wrong.
11859
11860         * text2.C (cursorDown): don't enter the inset if we came from a row
11861         above and are one row over the inset.
11862
11863         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11864         really leaving an inset.
11865
11866 2002-04-18  Juergen Vigna  <jug@sad.it>
11867
11868         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11869         of the selected paragraph does not have the selected layout also if
11870         the last one had!
11871
11872         * text2.C (setLayout): fixed bug which did not change last selected
11873         paragraph.
11874
11875         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11876         changed the read and substituted \\end_float with \\end_inset!
11877
11878         * BufferView_pimpl.C (cursorPrevious):
11879         (cursorNext): fixed to make it work with rows heigher than the work
11880         area without moving the cursor only the draw of the row.
11881         (workAreaMotionNotify): fix jumping over high rows.
11882
11883 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11884
11885         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11886         Ressler.
11887
11888 2002-04-16  Juergen Vigna  <jug@sad.it>
11889
11890         * text2.C (setCursor): set also the irow().
11891         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11892         (cursorUp):
11893         (cursorDown): support for locking an inset if the x_fix value goes
11894         inside it. That way I can transverse insets too with cursor up/down.
11895
11896         * lyxrow.h: added irow helper function same as other (i) functions.
11897
11898         * BufferView_pimpl.C (cursorPrevious):
11899         (cursorNext): fixed for insets!
11900
11901 2002-04-15  Juergen Vigna  <jug@sad.it>
11902
11903         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11904         position otherwise it is wrong in some cases.
11905
11906         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11907         inside the inset before the call.
11908
11909 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11910
11911         * buffer.[Ch] (getBibkeyList): make it const.
11912
11913 2002-04-12  Juergen Vigna  <jug@sad.it>
11914
11915         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11916
11917         * text2.C (getCursorX): new helper function
11918         (setCursor): compute also ix_
11919         (setCursorFromCoordinates): set also ix.
11920
11921         * lyxcursor.h: added ix_ and helper functions.
11922
11923         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11924
11925         * buffer.C (insertStringAsLines): dont break paragraph if the this
11926         paragraph is inside an inset which does not permit it!
11927
11928         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11929         also with no chars on this paragraph.
11930         (paintRowText): only paint stuff if it's inside the workarea!
11931
11932         * paragraph.C (breakParagraph): honor keepempty flag and break the
11933         paragraph always below not above.
11934
11935         * BufferView2.C (unlockInset): update the paragraph layout on inset
11936         unlock as we changed paragraph in such a case.
11937
11938         * lyxfind.C (LyXFind): clear the former selection if not found!
11939
11940         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11941         again called in insertChar().
11942
11943         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11944         an inset which uses the whole row!
11945         (rightMargin): ditto.
11946         (insertChar): force a rebreak if we inserted an inset!
11947
11948 2002-03-28  Herbert Voss  <voss@lyx.org>
11949
11950         * lyxlength.[Ch]: add inBP() to get the right PS-point
11951         units (BigPoint). With inPixels we have rounding errors
11952
11953 2002-04-11  Juergen Vigna  <jug@sad.it>
11954
11955         * text2.C (setCursorFromCoordinates): set iy to the right value.
11956         (setCursor): add check if row->previous exists!
11957
11958         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11959         an old float_type as this was the case in the old code!
11960
11961         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11962
11963         * BufferView2.C (showLockedInsetCursor): use iy
11964         (fitLockedInsetCursor): ditto
11965
11966         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11967         locked insets as there we have the right value now.
11968
11969         * lyxcursor.C: added iy_ variable and iy functions to set to the
11970         baseline of cursor-y of the locked inset.
11971
11972         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11973         (setCursor): fixed for insets which need a full row.
11974
11975         * text.C (rowLastPrintable): don't ignore the last space when before
11976         an inset which needs a full row.
11977         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11978         as last character of a row when before a inset which needs a full row.
11979
11980 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11981
11982         * version.C.in: update date
11983
11984         * text2.C (fullRebreak): try to always return true and see what
11985         happens...
11986
11987 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11988
11989         * MenuBackend.C (expand): use Floating::listName
11990
11991         * FloatList.C (FloatList): add listName argument to the built-in
11992         floats
11993
11994         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11995         text associated with the float.
11996
11997 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11998
11999         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12000
12001 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12002
12003         * ShareContainer.h: add a couple of missing typenames.
12004
12005 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12006
12007         * lyxrc.C (getDescription): use _() correctly rather than N_().
12008
12009 2002-03-28  Herbert Voss  <voss@lyx.org>
12010
12011         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12012         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12013
12014 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12015
12016         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12017         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12018
12019 2002-03-29  Juergen Vigna  <jug@sad.it>
12020
12021         * lyxfunc.C (dispatch): add a missing fitCursor call.
12022
12023         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12024         it was scrolled by a cursor move, so return the bool status.
12025
12026         * BufferView.C (fitCursor): return the bool flag also to the outside
12027         world as this is needed.
12028
12029         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12030
12031         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12032         call the edit() as it is not needed (and wrong) IMO.
12033         (workAreaButtonPress): set the screen_first variable before evt.
12034         unlock the inset as this may change screen_first and then we have
12035         a wrong y position for the click!
12036
12037 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12038
12039         * MenuBackend.C (expand): another translation that I missed
12040
12041 2002-03-28  Juergen Vigna  <jug@sad.it>
12042
12043         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12044
12045         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12046
12047 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12048
12049         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12050
12051         * MenuBackend.C (expand): fix export/view/update when there is no
12052         document open.
12053
12054 2002-03-27  Herbert Voss  <voss@lyx.org>
12055
12056         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12057         and text%
12058
12059 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12060
12061         * bufferview_funcs.C (currentState): only show paragraph number
12062         for is DEVEL_VERSION is set.
12063
12064         * lyxfunc.C (dispatch): put warning in INFO channel
12065
12066         * MenuBackend.C (expand): translate the name of floats
12067
12068         * FloatList.C (FloatList): mark the float names for translation
12069
12070         * converter.C (convert): use LibScriptSearch
12071
12072 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12073
12074         * MenuBackend.C (defaults): fix default menu (we might as well get
12075         rid of it...)
12076
12077 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12078
12079         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12080         directory.
12081
12082 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12083
12084         * lyxvc.C: reorder includes.
12085
12086 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12087
12088         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12089           properly
12090
12091 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12092
12093         * CutAndPaste.C: change layouts earlier on paste
12094           to avoid crashing when calling getFont()
12095
12096 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12097
12098         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12099         irritating #error.
12100
12101 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12102
12103         * WorkArea.C: remove 'Pending' debug message.
12104
12105         * most files: ws cleanup
12106
12107         * buffer.[Ch]: ws changes
12108
12109         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12110
12111 2002-03-21  Juergen Vigna  <jug@sad.it>
12112
12113         * tabular.C (SetMultiColumn): collapse also the contents of the
12114         cells and set the last border right. Added a Buffer const * param.
12115
12116 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12117
12118         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12119         linking or not.
12120
12121 2002-03-19  Juergen Vigna  <jug@sad.it>
12122
12123         * text2.C (clearSelection): reset also xsel_cache.
12124
12125         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12126         where it needs to be called (John tells us to do so too :)
12127         (selectionLost): reset sel_cache.
12128
12129         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12130
12131 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12132
12133         * text2.C (setCursorIntern): put debuging code in INSETS channel
12134
12135 2002-03-19  André Pönitz <poenitz@gmx.net>
12136
12137         * lyxfunc.C: tiny whitespace change
12138
12139 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12140
12141         * ToolbarDefaults.C (init):
12142         * LyXAction.C (init):
12143         * commandtags.h:
12144         * BufferView_pimpl.C (Dispatch):
12145         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12146
12147 2002-03-19  Allan Rae  <rae@lyx.org>
12148
12149         * exporter.C (Export): removeAutoInsets before doing anything else.
12150         While I've just introduced a dependency on BufferView this really is
12151         the best place to clean the buffer otherwise you need to cleanup in
12152         a dozen places before calling export or cleanup in a dozen functions
12153         that export calls.
12154
12155         * converter.C (runLaTeX):
12156         (scanLog): Better handling of removeAutoInsets and screen updates.
12157
12158         * lyxfunc.C (dispatch): small whitespace changes
12159
12160 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12161
12162         * WorkArea.C (C_WorkAreaEvent): return a value.
12163         (event_cb): return 1 if we handled the event, 0 otherwise.
12164
12165         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12166
12167 2002-03-18  Juergen Vigna  <jug@sad.it>
12168
12169         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12170         (GetAdditionalWidth): ditto.
12171         (RightLine): ditto.
12172         (LeftLine): ditto.
12173
12174         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12175         inset if we're there actually (probably not used right now but this
12176         is the direction to go for unifying code).
12177         (paste): disable code to clear the selection.
12178
12179         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12180         inside an InsetText and move the check further up as it is in the
12181         wrong place.
12182
12183         * text2.C (pasteSelection): set a selection over the pasted text.
12184
12185 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12186
12187         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12188         and libgraphics to build on Cygwin.
12189
12190 2002-03-15  Juergen Vigna  <jug@sad.it>
12191
12192         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12193         inserting an Inset into the paragraph. I know this is not the best
12194         fix but we already use current_view in CutAndPaste so we will remove
12195         all of it's using at the same time.
12196
12197         * buffer.C (sgmlError): deactivated function till it is rewritten in
12198         the right mode, now it can create problems.
12199
12200         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12201         before accessing it.
12202
12203 2002-03-14  Juergen Vigna  <jug@sad.it>
12204
12205         * undo_funcs.C (textHandleUndo): do the right thing when updating
12206         the inset after the undo/redo.
12207
12208         * text2.C (setCursor): just some testcode for #44 not ready yet.
12209
12210         * undo_funcs.C (textHandleUndo): set the next() and previous()
12211         pointers of the paragraph to 0 before deleting otherwise we have
12212         problems with the Paragraph::[destructor].
12213
12214         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12215         on a paragraph insertion.
12216
12217 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12218
12219         * buffer.C (asciiParagraph): use += operator for char append to
12220         string.
12221
12222         * paragraph.C (getFontSettings): compare >= not just >
12223         (highestFontInRange): ditto
12224         (setFont): ditto
12225
12226 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12227
12228         * paragraph.C: change several algorithm to be more appripriate for
12229         the problem domain. This is lookip in FontList and in the InsetList.
12230
12231 2002-03-13  André Pönitz <poenitz@gmx.net>
12232
12233         * commandtags.h:
12234         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12235
12236 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12237
12238         * commandtags.h:
12239         * LyXAction.C:
12240         * lyxfunc.C:
12241         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12242
12243 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12244
12245         * Painter.C (display): anon helper function, adjust code for this
12246         change.
12247         (pixmap): remove function.
12248
12249         * Painter.h: remove private display variable.
12250
12251         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12252
12253 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12254
12255         * WorkArea.[Ch]: remove figinset_canvas cruft.
12256
12257 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12258
12259         * lyxtextclass.C (operator): add one item cache optimization.
12260
12261         * bufferlist.h: doxy changes
12262
12263         * bufferlist.C: ws changes
12264
12265         * DepTable.[Ch] (ext_exist): place const in the right spot.
12266
12267         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12268         call resizeInsets.
12269         (workAreaExpose): call resizeInsets when the with BufferView changes.
12270         (Dispatch): adjust for protectedBlank removal
12271         (specialChar): call updateInset if the insert went ok.
12272
12273         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12274         specialChar instead.
12275
12276         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12277
12278         * BufferView.h: doxy change
12279
12280         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12281
12282         * lyxtextclass.C (operator[]): remove non-const version
12283         (defaultLayout): remove non-const version
12284
12285 2002-03-12  Juergen Vigna  <jug@sad.it>
12286
12287         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12288         did resize the LyXText too.
12289
12290         * buffer.C (readLyXformat2): set layout information on newly allocated
12291         paragraphs.
12292
12293         * tabular.C (OldFormatRead): set layout information on the paragraph.
12294
12295 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12296
12297         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12298
12299 2002-03-11  Juergen Vigna  <jug@sad.it>
12300
12301         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12302         plainly wrong.
12303         (resizeCurrentBuffer): force also the insets to resize themselfes.
12304         (moveCursorUpdate): fixed up for InsetText.
12305
12306 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12307
12308         * commandtags.h:
12309         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12310         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12311         value of Dialogs::tooltipsEnabled().
12312         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12313
12314 2002-03-08  Juergen Vigna  <jug@sad.it>
12315
12316         * BufferView_pimpl.C (updateInset): update inset inside inset also
12317         if it isn't inside theLockingInset().
12318
12319 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12320
12321         * buffer.C (asciiParagraph): redo some of the word and line length
12322         handling.
12323         (getLists): look for Caption instead of caption.
12324
12325 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12326
12327         * buffer.C (Buffer): initialize niceFile to true
12328         (makeLaTeXFile):
12329         (makeLinuxDocFile):
12330         (makeDocBookFile): make sure niceFile is true on exit
12331
12332 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12333
12334         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12335
12336 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12337
12338         * LyXSendto.C: remove.
12339         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12340         * lyx_gui.C: remove now-redundant comment.
12341         * ColorHandler.h: remove forward declaration of class WorkArea.
12342         * lyxfunc.C: remove #include "WorkArea.h".
12343
12344 2002-03-07  Juergen Vigna  <jug@sad.it>
12345
12346         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12347         got moved away with the DEPM and also set the inset_owner always
12348         right which before could have been omitted.
12349
12350 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12351
12352         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12353         wanted layout is not found.
12354
12355 2002-03-07  Juergen Vigna  <jug@sad.it>
12356
12357         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12358
12359 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12360
12361         * paragraph.C (breakParagraph): use default layout not layout of
12362         prev paragraph.
12363         (Paragraph): clear ParagraphParameters.
12364
12365 2002-03-06  Juergen Vigna  <jug@sad.it>
12366
12367         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12368         otherwise it would not be a valid lenght. Fixed a special case in
12369         the minipage compatibility read where we end the document with a
12370         minipage.
12371
12372         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12373         was set as it could be 0 for InsetTexts first entry.
12374
12375 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12376
12377         * paragraph.C (writeFile): if layout is empty write out
12378         defaultLayoutName().
12379
12380         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12381         file without named layout we set layout to defaultLayoutName().
12382
12383 2002-03-06  Juergen Vigna  <jug@sad.it>
12384
12385         * CutAndPaste.C (copySelection): set layout for new paragraph.
12386
12387         * text.C (prepareToPrint): leave ERT inset left aligned
12388         (leftMargin): don't indent paragraphs inside ERT insets
12389
12390 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12391
12392         * paragraph.C (breakParagraph): dont call clear do the work manually
12393
12394         * paragraph.[Ch] (clear): remove function
12395
12396 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12397
12398         * paragraph.C (Paragraph): dont call clear, the work has already
12399         been done.
12400
12401         * lyxtextclass.C (operator): assert if n is empty
12402
12403         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12404         work manually instead.
12405
12406 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12407
12408         * BufferView_pimpl.C: protect selectionLost against text == 0
12409
12410 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12411
12412         * text.C (breakParagraph): fix a setting layout to '0' problem.
12413
12414 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12415
12416         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12417         final location of file, for the included files, and graphics.
12418
12419 2002-03-05  Juergen Vigna  <jug@sad.it>
12420
12421         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12422
12423 2002-03-04  Juergen Vigna  <jug@sad.it>
12424
12425         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12426
12427         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12428         last column of multicolumn cells.
12429         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12430
12431 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12432
12433         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12434         file if it doesn't go to a temporary file.
12435
12436         * buffer.C (sgmlOpenTag):
12437         (sgmlCloseTag):  remove extra newline insertion.
12438
12439 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12440
12441         * text.C (getRowNearY): comment out debug msg
12442
12443 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12444
12445         * text2.C: first -> first_y
12446
12447         * text.C (getRowNearY): add some attemts at a possible
12448         optimization, not working.
12449
12450         * tabular.[Ch]: add BufferParams to several function so that newly
12451         created paragraph can be initialized to he default layotu for the
12452         buffers textclass.
12453
12454         * tabular-old.C (ReadOld): add buf->params to call of Init
12455
12456         * screen.C: rename text->first to text->first_y
12457
12458         * paragraph.C (breakParagraph): always set layout in the broken
12459         paragraph
12460
12461         * lyxtextclass.C (Read): remove lowercase
12462         (hasLayout): ditto
12463         (operator): ditto
12464         (delete_layout): ditto
12465
12466         * lyxtext.h: rename first -> first_y
12467
12468         * lyxlayout.C (Read): remove lowercase
12469         (name): ditto
12470         (setName): ditto
12471         (obsoleted_by): ditto
12472
12473         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12474
12475         * buffer.C (insertErtContents): add params are to InsetERT
12476         (parseSingleLyXformat2Token): add code to check if a paragraphs
12477         layout really exist.
12478         (parseSingleLyXformat2Token): add params to several inset
12479         constructors
12480         (asciiParagraph): remove lowercase, do the layout comparisons with
12481         no_case
12482
12483         * BufferView_pimpl.C (cursorNext): first -> first_y
12484         (resizeCurrentBuffer): first -> first_y
12485         (updateScrollbar): first -> first_y
12486         (scrollCB): first -> first_y
12487         (workAreaMotionNotify): first -> first_y
12488         (workAreaButtonPress): first -> first_y
12489         (checkInsetHit): first -> first_y
12490         (cursorPrevious): first -> first_y
12491         (cursorNext): first -> first_y
12492         (Dispatch): add buffer_->params to severl inset contructors
12493
12494 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12495
12496         * lyxlayout.C (Read): remove some debug info that I forgot.
12497
12498         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12499         clean up the code slightly.
12500         (makeLinuxDocFile): ditto
12501         (makeDocBookFile): ditto
12502
12503         * text2.C: layout as string
12504
12505         * text.C: layout as string
12506
12507         * paragraph_pimpl.C: layout as string
12508
12509         * paragraph.[Ch]: layout as string
12510
12511         * lyxtextclasslist.[Ch]: layout as string
12512
12513         * lyxtextclass.[Ch]: layout as string
12514
12515         * lyxtext.h: layout as string
12516
12517         * lyxlayout.[Ch]: layout as string
12518
12519         * lyx_cb.C: layout as string
12520
12521         * bufferview_funcs.C: layout as string
12522
12523         * bufferparams.C: layout as string
12524
12525         * buffer.C: layout as string
12526
12527         * LyXView.[Ch]: layout as string
12528
12529         * LaTeXFeatures.[Ch]: layout as string
12530
12531         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12532
12533         * BufferView_pimpl.C: change current_layout to string, remove
12534         lyx::layout_type.
12535         (Dispatch):
12536         (smartQuote):
12537         (insertInset):
12538         (workAreaButtonRelease): layout as string
12539
12540         * BufferView2.C (unlockInset): adjust
12541
12542         * vspace.C (asLatexCommand): use an explict temp variable.
12543
12544 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12545
12546         * Makefile.am: use FRONTEND_*
12547
12548 2002-03-01  Juergen Vigna  <jug@sad.it>
12549
12550         * tabular.C (SetWidthOfMulticolCell): changed to something better
12551         I hope but still work in progress.
12552         (recalculateMulticolumnsOfColumn): renamed function from
12553         recalculateMulticolCells as it is more appropriate now.
12554         (SetWidthOfCell): calculate multicols better.
12555
12556 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12557
12558         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12559
12560         * lyxfunc.C (processKeySym): print sequence also if it is
12561         `deleted' (complete)
12562
12563         * kbsequence.C (print): print sequence even if it is deleted
12564         (complete would be a better word, actually).
12565
12566         * lyxfunc.C (dispatch): print complete options after a prefix key
12567
12568         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12569
12570 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12571
12572         * text2.C (setCharFont): eliminate setCharFont code duplication.
12573
12574 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12575
12576         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12577         LFUN_TABULAR_FEATURE (bug #177)
12578
12579 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12580
12581         * Makefile.am: remove figure.h
12582
12583 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12584
12585         * Bufferview_pimpl.C:
12586         * CutAndPasteC:
12587         * LaTeX.C:
12588         * LyXSendto.C:
12589         * buffer.C:
12590         * bufferlist.C:
12591         * converter.C:
12592         * language.C:
12593         * lyxfunc.C:
12594         * lyxvc.C:
12595         * paragraph.C:
12596         * text.C:
12597         * text2.C: remove #include "lyx_gui_misc.h".
12598
12599         * LaTeX.C: added #include <cstdio>
12600
12601 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12602
12603         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12604         that the paragraph following this one can have.
12605
12606         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12607
12608         * vspace.C (asLatexCommand): fix bogus gcc warning
12609
12610         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12611
12612 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12613
12614         * text2.C (setLayout): get rid of redundant code
12615
12616 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12617
12618         * text2.C (incDepth): make sure depth cannot be increased beyond
12619         reasonable values.
12620
12621 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12622
12623         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12624         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12625
12626         * PainterBase.h (image):
12627         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12628         a LyXImage const *.
12629
12630 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12631
12632         * BufferView.C:
12633         * BufferView.h:
12634         * BufferView_pimpl.C:
12635         * BufferView_pimpl.h:
12636         * LaTeXFeatures.C:
12637         * LyXAction.C:
12638         * LyXView.C:
12639         * Makefile.am:
12640         * UpdateList.h:
12641         * UpdateList.C:
12642         * buffer.C:
12643         * figure.h:
12644         * figureForm.C:
12645         * figureForm.h:
12646         * figure_form.C:
12647         * figure_form.h:
12648         * lyx_cb.C:
12649         * lyx_gui.C:
12650         * lyx_gui_misc.C:
12651         * lyxfunc.C:
12652         * sp_base.h:
12653         * sp_ispell.h:
12654         * sp_pspell.h:
12655         * sp_spell.C: remove fig inset, and the crap house of
12656           cards that follows it
12657
12658 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12659
12660         * Makefile.am:
12661         * lyxserver.C:
12662         * os2_defines.h:
12663         * os2_errortable.h:
12664         * nt_defines.h: move .h into support/
12665
12666         * vms_defines.h: remove
12667
12668         * WorkArea.C: add space in debug output
12669
12670         * text2.C:
12671         * paragraph.C:
12672         * buffer.C: add WITH_WARNINGS
12673
12674         * vc-backend.h:
12675         * vc-backend.C:
12676         * bufferlist.C: s/retrive/retrieve/, add docs
12677
12678         * vspace.h:
12679         * vspace.C:
12680         * kbmap.h:
12681         * lyxlength.h:
12682         * lyxgluelength.h:
12683         * length_common.h:
12684         * chset.h:
12685         * chset.C: add docs
12686
12687         * lyxgui.C: add ID to X error handler
12688
12689         * lyxtestclass.c: fix typo
12690
12691 2002-02-26  Juergen Vigna  <jug@sad.it>
12692
12693         * tabular_funcs.C (write_attribute): changed so that some default
12694         attributes are not written at all.
12695         (getTokenValue): set default values before trying to read the
12696         value so we have the return value always set as default if we don't
12697         find the token we search for.
12698
12699         * tabular.C (Write): write bools as bools not as strings!
12700
12701 2002-02-22  Juergen Vigna  <jug@sad.it>
12702
12703         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12704         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12705
12706         * text.C (leftMargin): don't add an indent for paragraphs inside
12707         tabular cells (fix #208).
12708
12709 2002-02-21  José Matos  <jamatos@fep.up.pt>
12710
12711         * tabular.C (docBook): fixed support for long tables.
12712
12713 2002-02-20  Juergen Vigna  <jug@sad.it>
12714
12715         * text2.C (getFont): get the drawing font of the Inset if this
12716         paragraph is inside an inset (only important for InsetERT for now).
12717
12718         * buffer.C (insertErtContents): use new lanugage params in ERT
12719         constructor.
12720
12721         * CutAndPaste.C: commenting out seemingly uneeded code.
12722
12723 2002-02-19  Allan Rae  <rae@lyx.org>
12724
12725         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12726         Iterators might be simple to use but they also get invalidated.
12727         (removeAutoInsets): renamed saved cursor tracking variables and added
12728         some comments to clarify what everything does.
12729
12730 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12731
12732         * Chktex.C:
12733         * LaTeX.C:
12734         * LyXSendto.C:
12735         * converter.C:
12736         * lyx_cb.C:
12737         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12738         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12739
12740         * lyxfunc.C:
12741         * vc-backend.h: remove #include "support/syscall.h"
12742
12743         * LaTeX.C:
12744         * LyXSendto.C:
12745         * converter.C: rearrange #includes in Lars' approved fashion.
12746
12747         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12748         forward declare class Timeout in the header file.
12749
12750         * XFormsView.C: changes due to the above.
12751
12752         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12753         similar to LyXView.
12754
12755         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12756         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12757
12758 2002-02-18  José Matos  <jamatos@fep.up.pt>
12759
12760         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12761         insets contents.
12762
12763 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12764
12765         * a lot of small ws changes
12766         * add a lot of using std::XXX
12767         * use std construcs some places where approp.
12768         * use some exisint stuff from lyxfunctional where approp.
12769         * Make file changes to use partial linking (lets test this now...)
12770
12771 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12772
12773         * Chktex.C:
12774         * buffer.C:
12775         remove #include "support/syscontr.h" as it's redundant. Always has been.
12776
12777         * Chktex.C:
12778         * LaTeX.C:
12779         * LyXSendto.C:
12780         * converter.C:
12781         * lyx_cb.C:
12782         * vc-backend.C:
12783         change Systemcalls::System to Systemcalls::Wait and
12784         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12785         No change of functionality, just reflects the stripped down Systemcalls
12786         class.
12787
12788 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12789
12790         * debug.[Ch]: add a GRAPHICS type to the enum.
12791
12792 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12793
12794         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12795
12796         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12797         there is an inset.
12798
12799 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12800
12801         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12802         match the changes below.
12803
12804         * text2.C (toggleInset): if there is not editable inset at cursor
12805         position, try to see if cursor is _inside_ a collapsable inset
12806         and close it.
12807
12808 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12809
12810         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12811         document menu has a nice checkbox
12812
12813 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12814
12815         * lyxlength.C (asLatexString): change PW to output as percent of
12816         \textwidth.
12817
12818         * lengthcommon.C: change '%' to 't%'
12819
12820         * lyxfunc.C (dispatch): a few comments from Martin
12821
12822 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12823
12824         * WorkArea.h:
12825         * WorkArea.C:
12826         * BufferView_pimpl.h:
12827         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12828           the X selection.
12829
12830 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12831
12832         * vspace.C (inPixels): fix compiler warning
12833
12834 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12835
12836         * lyxfunc.C (getStatus): fix status message for disabled commands.
12837
12838 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12839
12840         * BufferView_pimpl.C: fix crash on close buffer
12841         during selection (#227)
12842
12843 2002-01-27  Herbert Voss  <voss@lyx.org>
12844
12845         * buffer.C: link old Figure to new graphic inset
12846
12847 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12848
12849         * FontLoader.C (getFontinfo): Change the latex font names in order
12850         to match the names of type1inst.
12851
12852 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12855
12856         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12857         (extchanged): ditto
12858         (ext_exist): ditto
12859         (remove_files_with_extension): ditto
12860         (remove_file): ditto
12861         (write): ditto
12862
12863         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12864         document is smaller than the work area height. Do not initialize
12865         static variables to 0.
12866
12867 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12868
12869         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12870
12871         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12872         LFUN_LAYOUT_PARAGRAPHS.
12873
12874         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12875         tabular. It is possible to provide a possible cell, which will
12876         typically be the actcell from the corresponding insettabular
12877
12878         * lyxfunc.C (getStatus): small cleanup; disable
12879         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12880         true
12881
12882 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12883
12884         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12885
12886         * paragraph.C (startTeXParParams):
12887         (endTeXParParams): new methods. The LaTeX code to
12888         start/end paragraph formatting
12889         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12890         empty (fixes bug #200)
12891
12892         * vspace.C (inPixels): adapt to the change below
12893         (inPixels): [later] more cleanups (remove unused variables)
12894
12895         * lyxlength.C (inPixels): change to use a width and a height as
12896         parameter.
12897
12898 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12899
12900         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12901         Replaced with \paperwidth
12902
12903         * DepTable.C (insert): add std:: qualifier
12904
12905 2002-01-18  Allan Rae  <rae@lyx.org>
12906
12907         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12908         updated also?
12909
12910         * text.C (drawInset): Turned out I didn't know enough about how
12911         rebreaking worked.  This fixes most of the redraw problems.  I see
12912         an occasional cursor trail when a line is broken now and the cursor
12913         placement can seem out by a few pixels also after a rebreak.
12914
12915 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12916
12917         * buffer.C (parseSingleLyXformat2Token): update because minipage
12918         width is now a LyXLength
12919
12920         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12921
12922         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12923         math insets
12924
12925 2002-01-17  Juergen Vigna  <jug@sad.it>
12926
12927         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12928
12929         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12930         is set correctly and the inset is updated correctly.
12931
12932 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12933
12934         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12935         the beginning of the loop.
12936
12937 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12938
12939         * lyxrc.C: improve help for use_scalable_fonts
12940
12941 2002-01-17  Allan Rae  <rae@lyx.org>
12942
12943         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12944
12945 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12946
12947         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12948         make sure to set their inset_owner to the right value (bug #171)
12949
12950 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12951
12952         * DepTable.h
12953         * DepTable.C: Implement mtime checking to reduce time spent doing
12954         CRCs.
12955
12956 2002-01-16  Juergen Vigna  <jug@sad.it>
12957
12958         * tabular.C (GetAdditionalHeight): one of error fixed.
12959
12960         * lyxrc.C (output): small fix in writing use_pspell.
12961
12962 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12963
12964         * sp_base.h: #include LString.h
12965
12966 2002-01-16  Allan Rae  <rae@lyx.org>
12967
12968         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12969         Can someone check this please?
12970
12971         * text.C (drawInset): It was possible that p.row would be removed by
12972         breakAgainOneRow upsetting a few other settings.  There may be another
12973         small tweak possible by setting need_break_row = 0 when p.row has been
12974         removed but I don't know enough about the logic here.
12975
12976 2002-01-15  Allan Rae  <rae@lyx.org>
12977
12978         * text.C (insertChar): removed conditional truism.
12979
12980         * BufferView2.C (removeAutoInsets): More tweaks.
12981         cur_par_prev could be a stray pointer.  Check for trailing empty line
12982         in case last line was cur_par and only had an error inset on it.
12983
12984 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12985
12986         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12987         absolute
12988
12989         * vc-backend.C (most methods):
12990         * exporter.C (Export):
12991         * converter.C (convert):
12992         (runLaTeX):
12993         * LyXSendto.C (SendtoApplyCB):
12994         * lyxfunc.C (dispatch):
12995         (menuNew):
12996         (open):
12997         (doImport):
12998         * lyx_cb.C (AutoSave):
12999         (InsertAsciiFile):
13000         * BufferView_pimpl.C (MenuInsertLyXFile):
13001         * buffer.C (runChktex): use Buffer::filePath().
13002
13003         * buffer.h: rename filename to filename_; rename filepath to
13004         filepath_ and make it private
13005         (filePath): new method
13006
13007         * buffer.C (writeFile): use fileName()
13008         (getLatexName):
13009
13010         * lyx_main.C (init): fix starting  of LyX when the binary is a
13011         link from so,ewhere else.
13012
13013         * minibuffer.C: include <cctype> for isprint
13014
13015 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13016
13017         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13018         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13019         name clash with InsetCollapsable's width function.
13020
13021 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13022
13023         * lastfiles.C: include <iterator>
13024
13025 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13026
13027         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13028         std::count.
13029
13030         * buffer.C (makeLaTeXFile): ditto.
13031         Also make loop operation more transparent.
13032
13033 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13034
13035         * ToolbarDefaults.C: remove trailing comma closing namespace.
13036
13037         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13038
13039         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13040         as in WorkArea.
13041
13042         * trans.C (Load): comment out unused variable, allowed.
13043
13044 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13045
13046         * minibuffer.[Ch] (append_char): new method to recieve input from the
13047         drop-down completion browser. If a key was pressed, then recieve this
13048         char and append it to the existing string.
13049         (peek_event): modify the positioning data passed to the completion
13050         browser so that it can be placed above the minibuffer rather than below.
13051 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13052
13053         * LyXAction.C (init): alloe error-next for readonly documents.
13054
13055         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13056         count.
13057
13058 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13059
13060         * bufferlist.C (readFile): create the buffer _after_ checking that
13061         the file exists.
13062
13063         * lyxfunc.C (verboseDispatch): fix handling of arguments
13064
13065         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13066
13067         * lyxrc.C: use string::erase() instead of initializing to "".
13068
13069
13070 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13071
13072         * BufferView_pimpl.h:
13073         * BufferView_pimpl.C:
13074         * WorkArea.h:
13075         * WorkArea.C:
13076         * text2.C: tell X when we have made a selection for copying
13077
13078 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13079
13080         * BufferView_pimpl.C (MenuInsertLyXFile):
13081         * lyxfunc.C (menuNew):
13082         (open):
13083         (doImport): add shortcuts to directory buttons
13084
13085         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13086         open a float)
13087
13088         * lyxfunc.C (setStatusMessage):
13089         (getStatusMessage): new methods
13090         (getStatus):use setStatusMessage instead of setErrorMessage
13091         (dispatch): when function is disabled, set error message here
13092         [instead of in getStatus previously]
13093
13094         * BufferView_pimpl.C (workAreaButtonRelease): update
13095         toolbar/menubar here too.
13096
13097 2002-01-13  Allan Rae  <rae@lyx.org>
13098
13099         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13100         Now seems indestructible.  Remaining task is to audit all other
13101         code affected by deleteEmptyParagraphMechanism.  One small quirk
13102         left is that an empty document with an error in the preamble can
13103         be made to report an error but no error box appears.  I don't know
13104         where it goes.
13105         (removeAutoInsets): Improved comments.
13106
13107 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13108
13109         * Thesaurus.h:
13110         * Thesaurus.C: update for Aiksaurus 0.14
13111
13112 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13113
13114         * text2.C (firstParagraph): removed member function, all uses
13115         replaces with ownerParagraph
13116         (redoParagraphs): here
13117         (updateInset): here
13118         (toggleAppendix): here
13119         * BufferView2.C (insertErrors): here
13120         (setCursorFromRow): here
13121
13122 2002-01-13  Allan Rae  <rae@lyx.org>
13123
13124         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13125         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13126         There is still a way to segfault this although you may have to do this
13127         multiple times: Have an InsetERT with an unknown command in it.
13128         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13129         <down-arrow>, <Enter> again, View->DVI, BANG!
13130
13131         * text2.C (setCursor):
13132         (deleteEmptyParagraphMechanism):
13133         * lyxtext.h (setCursor):
13134         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13135         Making use of the return value may help fix other bugs.
13136
13137 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13138
13139         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13140
13141         * LyXView.C (updateMenubar): call MenuBar::update here
13142         (updateToolbar): but not here
13143         (showState): do not update toolbar/menubar
13144
13145         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13146         should need to care about that.
13147
13148         * lyxfunc.C (verboseDispatch): simplify a bit
13149         (getStatus): have a version which takes a pseudoaction, and
13150         another which requires a (kb_action,string).
13151
13152         * LyXAction.C (retrieveActionArg): make it work also when action
13153         is not a pseudo-action.
13154         (getActionName): simplify a bit
13155         (helpText):
13156
13157 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13158
13159         * lyxfunc.C (verboseDispatch): new families of methods with
13160         several ways to specify a command and a bool to indicate whether
13161         the command name and shortcut should be displayed in minibuffer
13162         (eventually, we could extend that to a finer bitmask like
13163         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13164         (dispatch): the pristine dispatch command which just, well,
13165         dispatchs! Note it still sets its result to minibuffer; I'm not
13166         sure we want that.
13167
13168         * lyxfunc.h: remove setHintMessage
13169
13170         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13171
13172 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13173
13174         * BufferView_pimpl.C (specialChar): delete new inset if we have
13175         not been able to insert it.
13176
13177         * kbmap.C: revert to using int instead of kb_action, since all we
13178         are dealing with is pseudo-actions.
13179
13180         * LyXAction.C (searchActionArg): change to return int instead of
13181         kb_action, since the result is a pseudoaction.
13182
13183 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13184
13185         * buffer.C (insertErtContents): Fix (partially) the font bug.
13186
13187 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13188
13189         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13190         as the other one is broken on my machine!
13191
13192 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13193
13194         * commandtags.h:
13195         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13196
13197 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13198
13199         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13200         reflect their actual use. Provide compatibility code for older lyxrc
13201         files.
13202
13203         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13204         FL_NORMAL_STYLE.
13205         change names of popup font variables in line with the changes to lyxrc.C
13206
13207 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13208
13209         * buffer.C (asciiParagraph): avoid outputing a word twice after
13210         an inset.
13211
13212         * lyxrc.C (getDescription): document that document_path and
13213         template_path can be empty.
13214
13215 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13216
13217         * LaTeXFeatures.C (getMacros):
13218         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13219
13220         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13221
13222         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13223         getPackages.
13224         (getPackages): rename feature "floats" to "float". Use an array to
13225         iterate over 'simple' features (i.e. just a \usepackage). Add
13226         handling of "amsmath" (renamed from "amsstyle").
13227
13228 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13229
13230         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13231         features list.
13232
13233 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13234
13235         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13236         FuncStaus::FuncStatus & FuncStaus::some_method().
13237
13238 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13239
13240         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13241         of the func_satus stuff. Edited and massaged in various ways by
13242         JMarc.
13243
13244         * lyxfunc.C (getStatus): use FuncStatus
13245
13246 2002-01-08  Juergen Vigna  <jug@sad.it>
13247
13248         * text.C (nextBreakPoint): use function Inset::isChar().
13249
13250         * paragraph.C (TeXOnePar): use function
13251         Inset::forceDefaultParagraphs.
13252
13253         * buffer.C (latexParagraphs): use function
13254         Inset::forceDefaultParagraphs.
13255
13256 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13257
13258         * lyx_gui.C (init): set the style of the menu popups to
13259         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13260
13261 2002-01-07  Juergen Vigna  <jug@sad.it>
13262
13263         * text.C (setHeightOfRow): small fix
13264         (prepareToPrint): don't look at alignment if we don't have the place
13265         for doing it.
13266
13267 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13268
13269         * box.C: New file. Move the Box methods and functions out of box.h,
13270         following Lars' suggestion.
13271
13272 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13273
13274         * box.h: #include "support/LOstream.h", needed for inlined function.
13275
13276         * lyxtextclass.C:
13277         * lyxtextclasslist.C: added some using std declarations.
13278
13279 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13280
13281         * box.h: make signed dimensions to allow insets wider than
13282           the screen (bug #162)
13283
13284         * BufferView_pimpl.C: add some insetHit debug
13285
13286 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13287
13288         * vc-backend.C: add FIXME
13289
13290 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13291
13292         * lyxfunc.C (getStatus): enable code for showing math font status
13293         in toolbar/menu.
13294
13295 2002-01-07  Juergen Vigna  <jug@sad.it>
13296
13297         * text.C (nextBreakPoint): removed debug output not needed anymore.
13298
13299 2002-01-06  Juergen Vigna  <jug@sad.it>
13300
13301         * text.C (nextBreakPoint): fixed up this function we had this bug
13302         since ever but now hopefully we break row better.
13303         (insertChar): we have to check if an inset is the next char as it
13304         could now happen that a large inset is causing a break.
13305
13306 2002-01-05  Juergen Vigna  <jug@sad.it>
13307
13308         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13309         if it doesn't like to be drawed.
13310
13311 2002-01-04  Juergen Vigna  <jug@sad.it>
13312
13313         * BufferView2.C (lockInset): forgot to set a cursor.
13314
13315         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13316
13317 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13318
13319         * FormMathsPanel.C:
13320         * FormMathsPanel.h
13321         * MathsSymbols.C:
13322         * form_maths_panel.C:
13323         * form_maths_panel.h:
13324         * form_maths_panel.fd: implemented sub- and super- buttons in math
13325         panel.
13326
13327         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13328         (or ^ space) to be used as in TeX (req'd by André).
13329
13330         * lyxfunc.C: Allow ^ and _ again to be used both as
13331         super/subscript (mathed) and as themselves (in text).
13332
13333 2002-01-03  Allan Rae  <rae@lyx.org>
13334
13335         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13336         "LyX" or the filename of the current buffer if it has one.  This is a
13337         modified form of John Levon's patch.
13338
13339         * XFormsView.C (setWindowTitle): also set icon title.
13340
13341         * LyXView.h (setWindowTitle): signature changed.
13342         * XFormsView.h (setWindowTitle): ditto.
13343
13344 2002-01-02  Juergen Vigna  <jug@sad.it>
13345
13346         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13347
13348 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13349
13350         * screen.C (topCursorVisible): introduce a temp var for
13351         text->cursor.row(), handle the case where this row is null. (kindo
13352         hachish)
13353
13354         * text2.C (setCursor): add a couple of asserts.
13355
13356         * paragraph.h (inset_iterator): add -> operator
13357
13358         * paragraph.[Ch] (autoDeleteInsets): remove member function
13359
13360         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13361         cursor pos correctly and handle inset deletion by itself.
13362         (insertErrors): move iterator declaration out of for expression
13363
13364         * lyxtextclass.C: add <algorithm>
13365
13366         * Makefile.am: added the new files to sources, removed layout.C
13367
13368         * layout.C: removed file
13369
13370         * layout.h: remove LYX_DUMMY_LAYOUT
13371
13372         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13373         layout.
13374
13375         * lyxlayout.[Ch]:
13376         * lyxtextclass.[Ch]:
13377         * lyxtextclasslist.[Ch]: new files
13378
13379         * include order changes to a lot of files, also changes because of
13380         the six new files.
13381
13382 2001-12-27  Juergen Vigna  <jug@sad.it>
13383
13384         * buffer.C (asciiParagraph): more fixes.
13385
13386         * tabular.C (ascii): make ascii export support export of only the
13387         data separated by a column-delimiter.
13388         (ascii): better support for ascii export.
13389
13390         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13391
13392 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13393
13394         * tabular_funcs.C: use a "using std::getline" instead of the
13395         previous fix from Angus (necessary for cxx + lyxstring)
13396
13397 2001-12-24  Juergen Vigna  <jug@sad.it>
13398
13399         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13400
13401         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13402         problems. First check a minipage also if we have some ert-contents
13403         (not only on par->size(), second set the right depth of the paragraph
13404         on the relink to the root-paragraph-list!
13405
13406         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13407         which then did not anymore update the main paragraphs on undo/redo!
13408
13409 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13410
13411         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13412         code. Support all font-changing funcs (even those which are not in
13413         menu currently). Support for reporting font settings in
13414         mathed (disabled until Andre provides a function on mathed's side).
13415
13416         * func_status.h (toggle): small helper function to set toggle
13417         state on a flag.
13418
13419 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13420
13421         * tabular_funcs.C: getline -> std::getline
13422
13423 2001-12-21  Juergen Vigna  <jug@sad.it>
13424
13425         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13426         accessed and could be 0 (I couldn't generate this but it seems
13427         Michael could!).
13428
13429 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13430
13431         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13432         * tabular_funcs.h: here and include iosfwd
13433
13434 2001-12-20  Juergen Vigna  <jug@sad.it>
13435
13436         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13437         inside inset but undo_par was.
13438
13439 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13440
13441         * Thesaurus.C: always include <config.h> in sources.
13442
13443         * Painter.h:
13444         * lyxlookup.h:
13445         * box.h: do not include <config.h> in header files
13446
13447         * text.C (paintLastRow): remove unused variable
13448
13449         * text.C (transformChar):
13450         (insertChar):
13451         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13452
13453         * Painter.C (text):
13454         * font.C (width): rewrite to use uppercase() instead of
13455         islower/toupper.
13456
13457         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13458
13459 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13460
13461         * lyxfind.C: clean up of find failure position change
13462
13463 2001-12-20  Juergen Vigna  <jug@sad.it>
13464
13465         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13466
13467         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13468         (TeXRow): added to LaTeX a single tabular row.
13469         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13470         (Latex): simplified and finally good LT-h/f support.
13471         (various_functions): just small adaptions for LT-h/f support.
13472
13473         * tabular_funcs.[hC]: added and moved here all not classfunctions
13474         of LyXTabular.
13475
13476 2001-12-19  Juergen Vigna  <jug@sad.it>
13477
13478         * tabular.[Ch]: better support for longtabular options (not finished
13479         yet!)
13480
13481 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13482
13483         * text.C (paintLastRow): use the label font instead of the font of
13484         the last character to compute the size of *_BOX. This makes more
13485         sense and avoids a crash with empty paragraphs.
13486         Use Painter::rectangle to draw EMPTY_BOX.
13487
13488 2001-12-19  Juergen Vigna  <jug@sad.it>
13489
13490         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13491         the paragraphs if the replaced paragraph is not the first one!
13492         Tried to delete not used paragraphs but does not work yet so for
13493         now it's inside #ifdef's and by default off!
13494
13495 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13496
13497         * MenuBackend.C: include "lyx_main.h" instead of declaring
13498         lastfiles (actually was declared as LastFiles* instead of a
13499         scoped_ptr).
13500
13501 2001-12-17  Juergen Vigna  <jug@sad.it>
13502
13503         * tabular.C (AppendColumn): applied John's fix
13504
13505 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13506
13507         * BufferView.h:
13508         * BufferView.C:
13509         * BufferView_pimpl.h:
13510         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13511
13512         * Makefile.am:
13513         * box.h: new start of class for above
13514
13515         * lyxfunc.C: ignore space-only minibuffer dispatches.
13516           Show the command name when it doesn't exist
13517
13518         * minibuffer.C: don't add empty lines to the history
13519
13520         * minibuffer.C: add a space on dropdown completion
13521
13522 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13523
13524         * text.C: fix line above/below drawing in insets
13525
13526 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13527
13528         * lyxlength.C (LyXLength): Initialize private variables.
13529
13530 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13531
13532         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13533         when inserting error insets.
13534
13535 2001-12-13  Juergen Vigna  <jug@sad.it>
13536
13537         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13538         actually sometimes the before-paragraph.
13539         (setUndo): don't clear the redostack if we're not actually undoing!
13540
13541 2001-12-06  Juergen Vigna  <jug@sad.it>
13542
13543         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13544         and fixed redoing of main paragraph, so we can use it now ;)
13545
13546         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13547
13548 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13549
13550         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13551         Juergen's request
13552
13553 2001-12-13  André Pönitz <poenitz@gmx.net>
13554
13555         * undostack.[Ch]:
13556         * undo_func.C: minor cleanup
13557
13558 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13559
13560         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13561         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13562         font in urw-fonts package which is marked as -urw-fontspecific and
13563         does not work (incidentally, changing the encoding in the
13564         fonts.dir of this package to -adobe-fontspecific fixes the
13565         problem).
13566
13567         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13568         is a crash when undoing first paragraph (Juergen, please take a
13569         look). THis does not mean the undo fix is wrong, just that it
13570         uncovers problems.
13571
13572         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13573         the (Paragraph*) version when needed instead of duplicating the
13574         code.
13575
13576         * text.C (workWidth): use Inset::parOwner to find out where the
13577         inset has been inserted. This is a huge performance gain for large
13578         documents with lots of insets. If Inset::parOwner is not set, fall
13579         back on the brute force method
13580
13581         * paragraph_pimpl.C (insertInset):
13582         * paragraph.C (Paragraph):
13583         (cutIntoMinibuffer): set parOwner of insets when
13584         inserting/removing them
13585
13586         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13587
13588 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13589
13590         * commandtags.h:
13591         * LyXAction.C:
13592         * lyx_main.C:
13593         * lyxfunc.C:
13594         * mathed/formulabase.C:
13595         * mathed/math_cursor.[Ch]:
13596         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13597
13598
13599 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13600
13601         * lyxlength.[Ch] (operator!=): new function
13602
13603 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13604
13605         * text.C (workWidth): use Inset::parOwner to find out where the
13606         inset has been inserted. This is a huge performance gain for large
13607         documents with lots of insets. If Inset::parOwner is not set, fall
13608         back on the brute force method
13609
13610         * paragraph_pimpl.C (insertInset):
13611         * paragraph.C (Paragraph):
13612         (cutIntoMinibuffer): set parOwner of insets when
13613         inserting/removing them
13614
13615         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13616
13617 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13618
13619         * tabular-old.C (getTokenValue):
13620         * tabular.C (getTokenValue):
13621         (write_attribute): new versions for LyXLength
13622         (everywhere): adjust the use of widths
13623
13624         * tabular.h: change the type of widths from string to LyXLength
13625
13626 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13627
13628         * paragraph.C: fixed missing line number count when exporting
13629         Environments to LaTeX file
13630
13631         * buffer.C: added informational message for checking line numbers.
13632
13633 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13634
13635         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13636         paragraph, do the 'double space' part, but not the 'empty
13637         paragraph' one.
13638
13639         * text.C (workWidth): small optimization
13640         (getLengthMarkerHeight): use minimal size for negative lengths.
13641
13642 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13643
13644         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13645
13646         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13647
13648 2001-12-11  André Pönitz <poenitz@gmx.net>
13649
13650         * FontLoader.C:
13651         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13652
13653 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13654
13655         * text2.C: keep selection on a setFont()
13656
13657 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13658
13659         * lyx_cb.C: another bv->text misuse, from insert label
13660
13661 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13662
13663         * kbsequence.h:
13664         * kbsequence.C: re-instate nmodifier mask
13665
13666 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13667
13668         * lyx_main.h: make lyxGUI private.
13669
13670 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13671
13672         * lyxfind.C: place the cursor correctly on failed search
13673
13674 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13675
13676         * text.C (getLengthMarkerHeight): for small heights, the arrows
13677         are not always on top/bottom of the text
13678         (drawLengthMarker): smaller arrows; take the left margin in
13679         account; draw also vfills.
13680         (paintFirstRow):
13681         (paintLastRow): remove special code for vfill and standard spaces,
13682         since everything is handled in drawLengthMarker now.
13683
13684 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13685
13686         * buffer.C (insertErtContents): try to handle font and language
13687         interaction a bit better.g
13688
13689         * ColorHandler.C (updateColor): change the hash to cover the whole
13690         LColor enum, ws cleanup
13691         (getGCLinepars): ditto
13692         (getGCLinepars): only lookup in the linecache once.
13693
13694 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13695
13696         * iterators.C (operator++): Make the iterator more robust
13697
13698         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13699         (John's patch)
13700         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13701
13702 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13703
13704         * lyxtext.h:
13705         * text.C: better added space drawing
13706
13707 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13708
13709         * LyXView.C:
13710         * BufferView2.C: fix layout combo update on inset unlock
13711
13712 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13713
13714         * Makefile.am: don't compile unused files
13715
13716 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13717
13718         * lyxfunc.C:
13719         * commandtags.h:
13720         * LyXAction.C: remove old LFUN_LAYOUTNO
13721
13722 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13723
13724         * paragraph_pimpl.h:
13725         * paragraph_pimpl.C: isTextAt() doesn't need font param
13726
13727 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13728
13729         * lyxlex.h:
13730         * lyxlex.C: little cleanup
13731
13732 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13733
13734         * BufferView_pimpl.C: fix insertAscii for insets
13735
13736 2001-12-05  Juergen Vigna  <jug@sad.it>
13737
13738         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13739         set the right font on the "multi" paragraph paste!
13740
13741 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13742
13743         * trans_decl.h:
13744         * trans_mgr.[Ch]:
13745         * trans.[Ch]:
13746         * lyxgluelength.C:
13747         * lyxlength.C: remove out-commented code.
13748
13749         * BufferView_pimpl:
13750         * CutAndPaste.C:
13751         * DepTable.C:
13752         * buffer.C:
13753         * chset.C:
13754         * lastfiles.C:
13755         * lyxlex.C:
13756         * lyxlex_pimpl.C:
13757         * lyxserver.C:
13758         * screen.C:
13759         * tabular-old.C:
13760         * tabular.C:
13761         * text.C:
13762         * trans_mgr.C:
13763         * vc-backend.C: change "while(" to "while ("
13764
13765         * lyxlength.[Ch]: add zero function to check if length is zero or
13766         not
13767         * lyxgluelength.C: use it
13768
13769 2001-12-05  Allan Rae  <rae@lyx.org>
13770
13771         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13772         Works for 2.95.3, from what I understand of Garst's reports this should
13773         work for other g++ versions.  We're screwed if the abs(int) definition
13774         changed between bugfix releases of gcc.
13775
13776 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13777
13778         * text.C: fix chapter label offset !
13779
13780 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13781
13782         * lyxtext.h:
13783         * text.C: fix hfill at end of line, clean up
13784
13785 2001-12-04  Juergen Vigna  <jug@sad.it>
13786
13787         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13788         that we force an update of the inset and it's owners if neccessary.
13789
13790 2001-12-03  Juergen Vigna  <jug@sad.it>
13791
13792         * text.C (rowLast): simplified code
13793
13794 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13795
13796         * lyxfunc.C: fix show options on timeout
13797
13798 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13799
13800         * screen.C (topCursorVisible): scroll half a page when the cursor
13801         reached top of bottom of screen
13802
13803 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13804
13805         * minibuffer.C: deactivate on loss of focus
13806
13807 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13808
13809         * vspace.[Ch] (operator!=): add operator.
13810
13811 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13812
13813         * BufferView_pimpl.C: refuse to open an inset when
13814         there's a selection.
13815
13816 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13817
13818         * BufferView_pimpl.C: allow to click on RHS of full row insets
13819
13820 2001-11-30  Juergen Vigna  <jug@sad.it>
13821
13822         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13823         insets for undo reasons.
13824
13825 2001-11-28  André Pönitz <poenitz@gmx.net>
13826
13827         * vspace.[Ch]: cosmetical changes
13828
13829 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13830
13831         * LyXAction.h:
13832         * LyXAction.C:
13833         * lyxfunc.h:
13834         * lyxfunc.C:
13835         * kbmap.h:
13836         * kbmap.C:
13837         * lyxrc.C:
13838         * kbsequence.h:
13839         * kbsequence.C: part re-write of old kb code
13840
13841         * Painter.C:
13842         * WorkArea.C: remove Lgb_bug_find_hack
13843
13844 2001-11-30  José Matos <jamatos@fep.up.pt>
13845
13846         * buffer.C (makeDocBookFile): add a comment to point a hack.
13847         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13848         Fixed a double write of labels.
13849
13850 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13851
13852         * LaTeX.C:
13853         * LaTeX.h Fixed bug in LaTeX class where it would not
13854         re-run latex if no depfiles were changed, but the .dvi was removed.
13855
13856 2001-11-28  André Pönitz <poenitz@gmx.net>
13857
13858         * all the files from the change on 2001/11/26:
13859         use lyx::layout_type instead of LyXTextClass::size_type
13860         use lyx::textclass_type instead of LyXTextClassList::size_type
13861
13862 2001-11-29  Juergen Vigna  <jug@sad.it>
13863
13864         * text.C: added support for paragraph::isFreeSpacing()
13865
13866         * buffer.C: same as above
13867
13868         * paragraph.h: inserted isFreeSpacing() function to enable
13869         FreeSpacing inside InsetERT.
13870
13871         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13872         of the paragraph's in the cut/copy buffer to 0!
13873
13874         * text2.C (removeRow): remove the assert as it can!
13875
13876         * lyxtext.h: added helper function firstRow returning firstrow and
13877         made firstrow private again.
13878
13879         * BufferView2.C (lockInset): don't relock if we're already locked!
13880
13881         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13882         the only paragraph.
13883         (removeRow): added Assert::(firstrow)
13884
13885         * debug.C: forgot to add INSETTEXT here.
13886
13887 2001-11-28  Juergen Vigna  <jug@sad.it>
13888
13889         * sp_spell.C (initialize): changed error text to more general
13890         spellchecker command use (not only ispell!)
13891
13892         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13893
13894         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13895
13896 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13897
13898         * vspace.C: initialise lyxgluelength on failure
13899
13900 2001-11-28  Allan Rae  <rae@lyx.org>
13901
13902         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13903         declaration & definition that looks like a function declaration.
13904
13905 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13906
13907         * BufferView2.C (copy):
13908         (copyEnvironment): do not clear the selection when doing a copy.
13909
13910         * text.C (paintFirstRow): compilation fix
13911
13912 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13913
13914         * tabular.C (Latex): correct line count when writing latex.
13915
13916 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13917
13918         * paragraph_pimpl.h:
13919         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13920           bug a bit
13921
13922 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13923
13924         * text.C:
13925         * LColor.h:
13926         * LColor.C: change vfillline->added_space
13927
13928         * text.C: add markers and text for added space
13929
13930         * vspace.C: fix comment
13931
13932 2001-11-28  André Pönitz <poenitz@gmx.net>
13933
13934         * paragraph.C: whitespace changes
13935         * all the other files from the change on 2001/11/26:
13936         change *::pos_type into lyx::pos_type
13937
13938 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13939
13940         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13941         language of the document when inserting error insets.
13942
13943 2001-11-26  André Pönitz <poenitz@gmx.net>
13944
13945         * BufferView_pimpl.[Ch]:
13946         *       CutAndPaste.C:
13947         * buffer.[Ch]:
13948         * lyxcursor.[Ch]:
13949         * lyxfind.C:
13950         * lyxfunc.C:
13951         * lyxrow.[Ch]:
13952         * paragraph.[Ch]:
13953         * paragraph_pimpl.[Ch]:
13954         * sp_spell.C:
13955         * text.C:
13956         * text2.C: reduce header dependencies, introduce type for positions
13957
13958 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13959
13960         * <various>: change to use Alert.h
13961
13962 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13963
13964         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13965         when encountering an unknown token.
13966         (readLyXformat2): Show an error message if there were unknown tokens.
13967
13968 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13969
13970         * BufferView2.C:
13971         * BufferView_pimpl.C:
13972         * buffer.C:
13973         * paragraph.h:
13974         * text.C:
13975         * text2.C: use par->isInset()
13976
13977 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13978
13979         * paragraph_pimpl.h:
13980         * paragraph_pimpl.C: cleanup
13981
13982 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13983
13984         * text2.C (removeRow):
13985         * text.C (setHeightOfRow): remove useless (and costly) call to
13986         getRow.
13987
13988 2001-11-20  Allan Rae  <rae@lyx.org>
13989
13990         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13991         Now need Inset*::checkInsertChar() to return true for appropriate
13992         cases so that the characters in the minibuffer will actually be
13993         inserted.
13994
13995 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13996
13997         * text.C: change the order of the includes.
13998         (workWidth): initialize it at once.
13999         (workWidth): make maxw unsigned
14000         (setHeightOfRow): remove unused variable (inset)
14001         (selectSelectedWord): remove unused variable (inset)
14002         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14003
14004 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14005
14006         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14007         server is not running.
14008         (openConnection):
14009         (closeConnection): add debug info when server is disabled.
14010
14011         * ColorHandler.C (getGCForeground): send debug message to GUI
14012         channel.
14013
14014         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14015
14016         * kbmap.C (bind): modify because return conventions of
14017         kb_sequence::parse have changed.
14018
14019         * kbsequence.C (parse): only ignore spaces and not any stupid
14020         control character. This avoids tests like s[i] <= ' ', which are
14021         guaranteed to fail with 8bit characters and signed chars.
14022         Change return code to string::npos when there have been no error
14023         (0 was a bad idea when error is at first character)
14024
14025 2001-11-14  José Matos  <jamatos@fep.up.pt>
14026
14027         * buffer.h:
14028         * buffer.C (simpleDocBookOnePar): removed unused argument.
14029
14030 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14031
14032         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14033         insets which are part of a word. Paragraph::isLetter takes care of
14034         that now. Use Paragraph::isInset to identify insets.
14035         (selectSelectedWord): do not test for hyphenation break.
14036
14037         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14038         that protected spaces are considered as spaces.
14039
14040         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14041         Inset::isLetter.
14042
14043 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14044
14045         * lyxserver.h:
14046         * lyxserver.C: fix it. and small cleanup.
14047
14048 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14049
14050         * BufferView_pimpl.C: use inline helpers
14051
14052         * LaTeXFeatures.h:
14053         * LaTeXFeatures.C: fix typos
14054
14055         * Spacing.h:
14056         * Spacing.C: move spacing_string into class
14057
14058         * ToolbarDefaults.C: move stuff into namespace anon
14059
14060         * layout.h: update enum
14061
14062         * lyxfunc.C: use better debug
14063
14064         * minibuffer.h: fix typo
14065
14066         * debug.h:
14067         * debug.C:
14068         * WorkArea.C: add and use Debug::WORKAREA
14069
14070         * lyxtext.h:
14071         * text.C:
14072         * text2.C: code re-organisation, inline helpers
14073
14074 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14075
14076         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14077         std::vector.empty().
14078
14079 2001-11-09  Allan Rae  <rae@lyx.org>
14080
14081         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14082         '\n's after tables.  Tabular and ERT inset work now makes this no
14083         longer necessary.
14084
14085 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14086
14087         * minibuffer.h:
14088         * minibuffer.C: fix crash, improve drop-down completion
14089
14090 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14091
14092         * lyxserver.h:
14093         * lyxserver.C: invalidate fd's when doing endPipe()
14094
14095 2001-11-08  José Matos  <jamatos@fep.up.pt>
14096
14097         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14098         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14099
14100         * paragraph.h:
14101         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14102
14103 2001-11-07  José Matos  <jamatos@fep.up.pt>
14104
14105         * buffer.h:
14106         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14107         const qualifier.
14108
14109         * buffer.C (sgmlOpenTag):
14110         * buffer.C (sgmlCloseTag): removed debug info.
14111
14112         * buffer.h (sgmlOpenTag):
14113         * buffer.h (sgmlCloseTag): made public.
14114
14115 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14116
14117         * buffer.C (saveParamsAsDefaults):
14118         * lyx_cb.C (MenuLayoutSave): remove
14119
14120         * LyXAction.C (init):
14121         * commandtags.h:
14122         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14123
14124 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14125
14126         * buffer.C (setPaperStuff): removed from here...
14127
14128         * bufferparams.C (setPaperStuff): ... and moved there.
14129
14130 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14131
14132         * minibuffer.h:
14133         * minibuffer.C:
14134         * XFormsView.C: add support for drop-down completion
14135
14136 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14137
14138         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14139         commands.
14140
14141 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14142
14143         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14144         disabled.
14145
14146 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14147
14148         * lyx_main.C: change ref to known bugs
14149
14150 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14151
14152         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14153         to work around older babel problems.
14154
14155 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14156
14157         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14158
14159 2001-10-24  Juergen Vigna  <jug@sad.it>
14160
14161         * tabular-old.C (ReadOld): below variable changes reflected.
14162
14163         * tabular.[Ch]: added ltType struct for longtable header/footer
14164         defines and changed all instances where they are used. Added
14165         future support for double top/bottom rows.
14166
14167 2001-10-24  José Matos  <jamatos@fep.up.pt>
14168
14169         * buffer.h (docbookHandleCaption):
14170         * buffer.C (docbookHandleCaption): removed unused function.
14171         (makeDocBookFile): moved docbook supported version to v4.1.
14172
14173 2001-10-24  José Matos  <jamatos@fep.up.pt>
14174
14175         * tabular.h:
14176         * tabular.C (docbookRow): new function to export docbook code of a row.
14177         (DocBook): now honors the longtable flags.
14178
14179 2001-10-23  José Matos  <jamatos@fep.up.pt>
14180
14181         * LaTeXFeatures.h:
14182         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14183         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14184
14185         * buffer.C (makeLinuxDocFile):
14186         (makeDocBookFile): reworked the preamble, more clean, and with
14187         support for lyx defined entities. Changed the document declaration
14188         to be more XML friendly.
14189
14190         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14191         if we need to output XML that should be done with a filter.
14192
14193 2001-10-22  Juergen Vigna  <jug@sad.it>
14194
14195         * sp_pspell.h (class PSpell): add alive function needed in the
14196         controller to see if the spellchecker could be started.
14197
14198 2001-10-22  Juergen Vigna  <jug@sad.it>
14199
14200         * buffer.C (insertStringAsLines): modify the font for inserting
14201         chars in certain conditions by calling checkInsertChar(font).
14202
14203 2001-10-19  Juergen Vigna  <jug@sad.it>
14204
14205         * text.C (workWidth): use getRow instead of wrong algorithm.
14206         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14207
14208 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14209
14210         * lyxserver.h:
14211         * lyxserver.C:
14212         * lyx_main.h:
14213         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14214
14215 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14216
14217         * text.C (workWidth): do not search for the exact row when
14218         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14219         optimization for big documents.
14220
14221 2001-10-18  Juergen Vigna  <jug@sad.it>
14222
14223         * text.C (workWidth): new function with added Inset * parameter.
14224
14225 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14226
14227         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14228
14229         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14230         change return type of getColumnNearX.
14231
14232
14233         * text.C (changeRegionCase): use uppercase/lowercase instead of
14234         toupper/tolower.
14235         (leftMargin):
14236         (rightMargin): simplify code by factoring out the uses of
14237         textclasslist.
14238         (labelFill):
14239         (numberOfHfills):
14240         (setHeightOfRow):
14241         (appendParagraph): use Paragraph::size_type
14242
14243 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14244
14245         * vspace.C (asLatexString): add a missing break
14246
14247 2001-10-15  Herbert Voss  <voss@perce.de>
14248
14249         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14250
14251 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14252
14253         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14254         is not available.
14255
14256 2001-10-10  André Pönitz <poenitz@gmx.net>
14257
14258         * lyxfunc.C: removed greek_kb_flag.
14259
14260 2001-10-10  Herbert Voss  <voss@perce.de>
14261
14262         * lyx_main.C: delete global string help_lyxdir.
14263
14264 2001-10-09  Herbert Voss  <voss@perce.de>
14265
14266         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14267
14268         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14269
14270         * lyx_main.C: added global string help_lyxdir.
14271
14272         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14273
14274 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14275
14276         * lyxrc.C (set_font_norm_type): support iso8859-4
14277
14278 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14279
14280         * LaTeX.C (deplog): add another regex for MikTeX
14281
14282 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14283
14284         * lyxrc.C (set_font_norm_type): support iso8859-3
14285
14286 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14287
14288         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14289
14290         * LaTeXFeatures.C: remove special case of french and index
14291
14292         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14293         before \begin{document}). This solves several incompatibilities.
14294
14295 2001-10-03  Garst Reese  <reese@isn.net>
14296
14297         * lyx_cb.C: change CheckTex error msg.
14298
14299 2001-10-03  José Matos  <jamatos@fep.up.pt>
14300
14301         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14302
14303 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14304
14305         * .cvsignore: update
14306
14307         * lyx_main.C (commandLineVersionInfo): use new style version info.
14308
14309         * buffer.C (writeFile):
14310         (makeLaTeXFile):
14311         (makeLinuxDocFile):
14312         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14313
14314         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14315
14316         * version.h: update to use stuff in version.C
14317
14318         * version.C.in: new file. Contains version information determined
14319         at compile time. This is a merging of version.h and
14320         version_info.h.in.
14321
14322 2001-10-03  Juergen Vigna  <jug@sad.it>
14323
14324         * BufferView_pimpl.C (update): don't change "dirty" status in
14325         updateInset call.
14326
14327 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14328
14329         * WorkArea.C (c-tor): re-position version string slightly.
14330
14331 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14332
14333         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14334         revert to previous code.
14335
14336         WorkArea.[Ch]: (show, destroySplash): methods removed.
14337
14338         WorkArea.C: rework code so that it's an amalgam of the codes before and
14339         after the splash screen was moved to WorkArea.
14340
14341 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14342
14343         * lyxrc.C (read):
14344         * vspace.C (inPixels):
14345         (lyx_advance):
14346         * kbmap.C (bind):
14347         * buffer.C (insertStringAsLines):
14348         (asciiParagraph): fix types to be large enough
14349
14350         * lyxlex_pimpl.h: change member status from short to int
14351
14352         * layout.h: fix type of endlabeltype
14353
14354         * kbmap.C (bind):
14355         * kbsequence.C (parse): change return type to string::size_type
14356
14357         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14358         variable
14359
14360         * Bullet.C (bulletSize):
14361         (bulletEntry): do not use short ints as parameters
14362
14363         * BufferView2.C (insertLyXFile): change a char to an int.
14364
14365         * WorkArea.C (WorkArea): remove unneeded floats in computation
14366
14367 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14368
14369         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14370
14371         * paragraph.C (asString): Do not ignore newline/hfill chars when
14372         copying to the clipboard.
14373
14374 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14375
14376         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14377         after a multi-line inset.
14378
14379 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14380
14381         * paragraph.C (validate): Set NeedLyXFootnoteCode
14382
14383 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14384
14385         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14386         and decrease-error to decrease.
14387
14388 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14389
14390         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14391         it more readable (should be equivalent)
14392
14393 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14394
14395         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14396
14397 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14398
14399         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14400         of a cursor (row, etc.) after a character has been deleted
14401         (deleteEmptyParagraphMechanism): call the method above on _all_
14402         cursors held by the LyXText when a double space has been
14403         detected/deleted.
14404
14405 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14406
14407         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14408         pixmap.
14409         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14410
14411         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14412         background. Use greyOut() and the new show() methods to toggle between
14413         the foreground and background. Add code to remove the splash after
14414         its initial showing.
14415
14416         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14417         (create_forms): no longer call Dialogs::showSplash.
14418
14419 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14420
14421         * .cvsignore: add version_info.h
14422
14423 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14424
14425         * version_info.h.in: new file
14426
14427         * Makefile.am: add version_info.h.in
14428
14429         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14430         version_info.h instead of VERSION_INFO
14431
14432 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14433
14434         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14435         The ERT inset now returns string().
14436
14437 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14438
14439         * lyxtext.h, text.C (selectNextWord): renamed as
14440         selectNextWordToSpellcheck.
14441
14442         * text.C (selectNextWordToSpellcheck): Modified to not select
14443         words inside an ERT inset.
14444
14445 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14446
14447         * lyx_cb.C (MenuLayoutSave): change a bit the question
14448
14449         * sp_base.h: include <sys/types.h>
14450
14451 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14452
14453         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14454
14455 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14456
14457         * several files: fix typos in user-visible strings
14458
14459 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14460
14461         * text2.C (pasteSelection): do not set the selection, since it
14462         will be cleared later. Actually, the intent was to fix the way the
14463         selection was set, but I figured rmoving the code was just as good.
14464
14465 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14466
14467         * FontLoader.C (available): Check if font is available without
14468         loading the font.
14469
14470 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14471
14472         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14473
14474 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14475
14476         * lyxrc.[Ch]: added display_graphics variable and associated code.
14477
14478 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14479
14480         * bufferparams.C (hasClassDefaults): new method. Returns true if
14481         the buffer parameters correspond to known class defaults
14482
14483 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14484
14485         * XFormsView.C (show): set minimum size to the main window.
14486
14487 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14488
14489         * text2.C (copySelection):
14490         (cutSelection):
14491         * lyxfind.C (LyXReplace):
14492         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14493         LyXText::selectionAsString.
14494
14495         * paragraph.C (asString): add "label" argument to the second form
14496
14497         * text2.C (selectionAsString): add "label" argument and pass it to
14498         Paragraph::asString.
14499
14500 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14501
14502         * lyx_main.C (commandLineHelp): remove version information
14503
14504 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14505
14506         * lyx_main.C: add -version commandline option
14507
14508 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14509
14510         * paragraph.h: make the optional constructor arg required instead.
14511         some modifications to other files because of this.
14512
14513         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14514
14515         * lyxserver.C (C_LyXComm_callback): make it static
14516
14517         * lyx_main.C (error_handler): make it static
14518
14519         * lyx_gui.C (LyX_XErrHandler): make it static
14520
14521         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14522
14523         * WorkArea.C: make the extern "C" methods static.
14524
14525         * Makefile.am (lyx_LDADD): simplify
14526
14527 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14528
14529         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14530         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14531
14532         * LyXAction.C (init):
14533         * lyxfunc.C (dispatch): associated code removal.
14534
14535 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14536
14537         * lyxfont.h (isSymbolFont): shut off warning
14538
14539         * text.C (setHeightOfRow):
14540         (getVisibleRow): fix crash with empty paragraphs which have a
14541         bottom line
14542
14543 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14544
14545         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14546         code.
14547
14548 2001-09-04  José Matos  <jamatos@fep.up.pt>
14549         * buffer.C
14550         * buffer.h
14551         * tabular.C (docbook): rename docBook method to docbook.
14552
14553 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14554
14555         * Makefile.am: add dependencies to main.o.
14556
14557 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14558
14559         * FontLoader.C (available): Return false if !lyxrc.use_gui
14560
14561 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14562
14563         * FontInfo.C (query):
14564         * converter.C (view):
14565         * importer.C (Import):
14566         * exporter.C (Export): Can not -> cannot.
14567
14568 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14569
14570         * BufferView_pimpl.C: allow to create index inset even if
14571           string is empty
14572
14573 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14574
14575         * buffer.C (getLists): replace boost::tie code with an explicit pair
14576         as boost::tie can break some compilers.
14577
14578         * iterators.h: Added a std:: declaration to the return type of
14579         ParIterator::size.
14580
14581 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14582
14583         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14584           case.
14585
14586 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14587
14588         * iterators.[Ch]: New files. Provide paragraph iterators.
14589
14590         * buffer.C (changeLanguage): Use paragraph iterators.
14591         (isMultiLingual): ditto
14592
14593         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14594
14595 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14596
14597         * FontLoader.C: Support for cmr font.
14598
14599 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14600
14601         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14602         (available): New method.
14603
14604         * FontInfo.C (getFontname): Use scalable fonts even when
14605         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14606         found.
14607
14608 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14609
14610         * converter.C (Formats::view): reverted! Incorrect fix.
14611
14612 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14613
14614         * converter.C (Formats::view): only output the -paper option
14615         if the dvi viewer is xdvi, thereby fixing bug #233429.
14616
14617 2001-08-23  Herbert Voss  <voss@perce>
14618
14619         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14620
14621 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14622
14623         * Spacing.h (Spacing): Set space to Default on in the default
14624         constructor.
14625
14626 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14627
14628         * vc-backend.h (RCS::versionString): add RCS to version
14629         (CVS::versionString): add CVS to version
14630
14631         * vc-backend.C (scanMaster): do not add CVS to version.
14632         (scanMaster): do not add RCS to version
14633
14634         * lyxvc.C (versionString): new method
14635
14636         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14637
14638 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14639
14640         * Spacing.C (set): initialize fval
14641
14642 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14643
14644         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14645         " or \.
14646
14647 2001-08-16  Juergen Vigna  <jug@sad.it>
14648
14649         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14650
14651 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14652
14653         * BufferView_pimpl.C:
14654         * figureForm.C:
14655         * lyxtext.h:
14656         * text2.C: setParagraph takes linespacing now
14657
14658 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14659
14660         * LyxAction.C: add internal LFUN_CITATION_INSERT
14661
14662         * LyXView.C: actually apply fix
14663
14664         * bufferlist.C: fix open non-existent file
14665
14666         * lyxfind.C: fix indentation
14667
14668         * lyxfunc.C: remove unneeded assert, fix typo
14669
14670 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14671
14672         * MenuBackend.C: use "Floatname List"
14673
14674 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14675
14676         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14677         when converting LaTeX layout to insetERT.
14678         Generate a non-collapsed float when reading old float
14679
14680 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14681
14682         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14683         ERT insets.
14684
14685 2001-08-13  Juergen Vigna  <jug@sad.it>
14686
14687         * text.C (fill): return 0 instead of 20 as this seems to be the more
14688         correct value.
14689
14690 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14691
14692         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14693         lyxrc.font_norm.
14694
14695 2001-08-13  Juergen Vigna  <jug@sad.it>
14696
14697         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14698         casesensitive off.
14699         (SearchBackward): comment out the unlocking of the inset_owner this
14700         should not be needed!
14701
14702 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14703
14704         * Many files: Remove inherit_language, and add latex_language
14705
14706         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14707         collapsible insets.
14708
14709 2001-08-10  Juergen Vigna  <jug@sad.it>
14710
14711         * text.C (prepareToPrint): fixed hfill-width in draw!
14712
14713         * BufferView2.C (selectLastWord): save the selection cursor as this
14714         now is cleared in the function LyXText::clearSelection!
14715
14716 2001-08-08  Juergen Vigna  <jug@sad.it>
14717
14718         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14719         BACKSPACE type functions.
14720
14721         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14722         is only cutted from the document but not put in the cut-buffer, where
14723         still the old stuff should be.
14724
14725         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14726
14727         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14728
14729         * tabular.C (SetWidthOfCell): fixed special case where the width
14730         was not updated!
14731         (LeftLine): handle '|' in align_special.
14732         (RightLine): ditto
14733         (LeftAlreadyDrawed): ditto
14734         (SetWidthOfCell): ditto
14735
14736 2001-08-07  Juergen Vigna  <jug@sad.it>
14737
14738         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14739
14740 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14741
14742         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14743         * lyxlex.[hC]: ditto
14744
14745 2001-08-06  Juergen Vigna  <jug@sad.it>
14746
14747         * text.C (getVisibleRow): fix up row clearing a bit.
14748
14749 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14750
14751         * minibuffer.C: make sure the X server sees the changes in the input.
14752
14753 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14754
14755         * paragraph.C (getFont): split into...
14756         (getLabelFont): this
14757         (getLayoutFont): and this
14758         * paragraph_pimpl.C (realizeFont): calling this
14759
14760         * text2.C (getFont): split into...
14761         (getLayoutFont): this
14762         (getLabelFont): and this
14763         (realizeFont): all three calling this
14764
14765         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14766         files where used.
14767
14768 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14769
14770         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14771
14772 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14773
14774         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14775         layouts from the Quote inset insertion.
14776
14777 2001-08-03  Juergen Vigna  <jug@sad.it>
14778
14779         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14780
14781         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14782         only if status not is already CHANGED_IN_DRAW (second level).
14783
14784         * text.C (draw): don't set the need_break_row when inside an
14785         InsetText LyXText.
14786
14787 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14788
14789         * buffer.C (parseSingleLyXformat2Token): handle more latex
14790         conversion cases.
14791
14792         * bufferview_funcs.[hC]: change function names to
14793         begin with small char, adjust other files.
14794
14795 2001-08-02  André Pönitz <poenitz@gmx.net>
14796
14797         * lyxfunc.C:
14798         BufferView_pimpl.C: remove broken special code for math-greek
14799
14800 2001-08-02  Juergen Vigna  <jug@sad.it>
14801
14802         * BufferView_pimpl.C (update): redone this function so that we
14803         update the text again if there was a CHANGE_IN_DRAW.
14804
14805         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14806         (drawFromTo): added a new internal bool which is used by draw() and
14807         redraw() function.
14808         (general): some cursor drawing problems fixed.
14809
14810 2001-08-01  Juergen Vigna  <jug@sad.it>
14811
14812         * lyxfind.C (LyXFind): fixed
14813         (SearchForward): ditto
14814         (SearchBackward): ditto
14815
14816         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14817         spurius drawing of the cursor in the main area.
14818
14819         * text2.C (status): small fix which could lead to a segfault!
14820         (clearSelection): remove unneeded BufferView param.
14821
14822 2001-08-01  André Pönitz <poenitz@gmx.net>
14823
14824         * lyxfunc.C: small change due to changed mathed interface
14825
14826 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14827
14828         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14829
14830 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14831
14832         * lyxfunc.c: fail gracefully if file doesn't exist
14833
14834         * LyXSendto.C:
14835         * buffer.C:
14836         * lyxfunc.C:
14837         * BufferView_pimpl.C: IsDirWriteable() proto changed
14838
14839         * LyXView.C: fix updateWindowTitle() to store the last title
14840
14841 2001-07-31  Juergen Vigna  <jug@sad.it>
14842
14843         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14844         the font (wrong since using of Paragraph::highestFontInRange).
14845
14846         * paragraph.C (highestFontInRange): added a default_size parameter.
14847
14848         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14849         (setHeightOfRow): reformat
14850
14851 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14852
14853         * converter.[hC] + affected files: move to (inital-char)lowercase
14854         function names.
14855
14856         * ParagraphParameters.C (ParagraphParameters): remove commented code
14857
14858         * PainterBase.[Ch]: remove commented code
14859
14860         * LaTeXFeatures.h: add "bool floats" for float.sty
14861
14862         * LaTeXFeatures.C (LaTeXFeatures): init floats
14863         (require): handle float
14864         (getPackages): do it with floats
14865
14866 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14867
14868         * BufferView_pimpl.C (Dispatch): improve handling of
14869         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14870
14871         * commandtags.h: #include lyxfont.h here temporarily to avoid
14872         keybinding bug.
14873
14874         * bufferlist.h: include LString.h here.
14875
14876 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14877
14878         * text2.C (getStringToIndex): new method.
14879
14880 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14881
14882         * *: Reduced header file dependencies all over.
14883
14884 2001-07-30  Baruch Even  <baruch@lyx.org>
14885
14886         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14887
14888 2001-07-29  Baruch Even  <baruch@lyx.org>
14889
14890         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14891
14892 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14893
14894         * ParameterStruct.h (endif): add a default constructor to make
14895         sure that all variables is initialized.
14896
14897         * ParagraphParameters.C (ParagraphParameters): adjust
14898
14899 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14900
14901         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14902         index; also, check that there is something to index, and that it
14903         does not span over several paragraphs.
14904         (doubleClick): use WHOLE_WORD_STRICT for double click.
14905
14906         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14907
14908         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14909         scheme.
14910
14911 2001-07-26  Baruch Even  <baruch@lyx.org>
14912
14913         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14914         an InsetFig figure, backwards compatible reading of old figure code.
14915
14916 2001-07-27  Juergen Vigna  <jug@sad.it>
14917
14918         * text2.C: font.realize function adaption.
14919
14920         * text.C (draw): add a warnings lyxerr text if needed.
14921
14922         * layout.C: font.realize function adaption.
14923
14924         * language.C: add inherit_language and implement it's handlings
14925
14926         * bufferview_funcs.C (StyleReset): remove language parameter from
14927         font creation (should be language_inherit now).
14928
14929         * bufferparams.C (writeFile): handle ignore_language.
14930
14931         * paragraph.C (getFontSettings): the language has to be resolved
14932         otherwise we have problems in LyXFont!
14933
14934         * lyxfont.C (lyxWriteChanges): added document_language parameter
14935         (update): removed unneeded language parameter
14936
14937         * paragraph.C (validate): fixed wrong output of color-package when
14938         using interface colors for certain fonts in certain environments,
14939         which should not seen as that on the final output.
14940
14941 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14942
14943         * BufferView_pimpl.C:
14944         * Thesaurus.h:
14945         * Thesaurus.C:
14946         * Makefile.am:
14947         * commandtags.h:
14948         * LyXAction.C: add thesaurus support
14949
14950         * lyxfind.h:
14951         * lyxfind.C: add "once" parameter, for thesaurus, to not
14952           move to the next match
14953
14954 2001-07-26  Juergen Vigna  <jug@sad.it>
14955
14956         * lyxfont.C (realize): honor ignore_language too!
14957         (resolved): ditto.
14958
14959         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14960
14961         * text.C (draw): one place more for ignore_language to not draw
14962         itself!
14963
14964 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14965
14966         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14967
14968 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14969
14970         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14971         the minipage conversion problem.
14972
14973 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14974
14975         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14976         insert an inset.
14977
14978 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14979
14980         * BufferView.h: don't forward declare WorkArea
14981
14982         * BufferView.C: don't include WorkArea.h
14983
14984 2001-07-25  André Pönitz <poenitz@gmx.net>
14985
14986         * commandtags.h:
14987         * LyXAction.C:
14988         * lyxfunc.C:  new LFUN 'math-space'
14989
14990         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14991
14992 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14993
14994         * text2.C (toggleInset): call open/close
14995
14996 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14997
14998         * lyxfunc.C (dispatch): add debug for the disabled case
14999
15000         * font.C (buttonText): make similar to rectText
15001
15002         * buffer.C (readInset): comment out parsing of insetlist and
15003         insttheorem
15004
15005         * PainterBase.C (rectText): small correction
15006
15007         * BufferView_pimpl.C: comment out insettheorem and insetlist
15008         * LyXAction.C: ditto
15009         * commandtags.h: ditto
15010
15011 2001-07-24  Juergen Vigna  <jug@sad.it>
15012
15013         * text.C (draw): honor the ignore_language.
15014
15015         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15016
15017 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15018
15019         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15020         char inset.
15021
15022 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15023
15024         * lyxtext.h: remove unused (and unimplemented) methods
15025
15026 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15027
15028         * text.C (getVisibleRow): honor background color
15029
15030         * PainterBase.h:
15031         * Painter.h: remove default color argument for fillRectangle
15032
15033         * text.C (backgroundColor): new method
15034
15035 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15036
15037         * text.C (getVisibleRow): adjust
15038
15039         * font.[Ch] (rectText): new method, metrics
15040         (buttonText): new method, metrics
15041
15042         * PainterBase.[hC]: make rectText and buttonText always draw and take
15043         fewer paramteres.
15044
15045 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15046
15047         * ToolbarDefaults.C (read):
15048         * MenuBackend.C (read): allow escaping in all strings
15049
15050         * BufferView_pimpl.C (insertAndEditInset): new method.
15051         (Dispatch): use insertAndEditInset whenever appropriate.
15052
15053         * BufferView_pimpl.C (insertNote): removed
15054
15055         * BufferView_pimpl.C (smartQuote): new method, moved from
15056         BufferView; if an insetquote cannot be inserted, insert a '"'
15057         character instead.
15058
15059         * BufferView2.C: remove insertCorrectQuote();
15060
15061         * lyxfunc.C (getStatus): Add support for all remaingin
15062         inset-insert lfuns.
15063
15064         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15065
15066         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15067         command (necessary to pass " as parameter of self-insert.
15068
15069         * text.C (selectWordWhenUnderCursor):
15070         (selectWord): add word_location parameter
15071         (selectWordWhenUnderCursor): same + remove special code for word
15072         boundary.
15073         (selectNextWord): use kind() to guess type of insetspecialchar,
15074         not latex().
15075
15076         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15077         (insertErtContents): create ert insets as collapsed.
15078         (readInset): better compatibility code for Info inset.
15079
15080 2001-07-20  Juergen Vigna  <jug@sad.it>
15081
15082         * lyxfunc.C (dispatch): use always LyXFind now!
15083
15084         * text2.C (init): add a reinit flag so that the LyXText can be
15085         reinited instead of deleted and reallocated (used in InsetText).
15086
15087         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15088
15089         * text.C: ditto
15090
15091         * text2.C: ditto
15092
15093 2001-07-18  Juergen Vigna  <jug@sad.it>
15094
15095         * text.C (selectNextWord): handle insets inside inset by calling
15096         always the bv->text functions so that we can go up the_locking_inset!
15097
15098         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15099         in strange locations when inside an inset!
15100
15101         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15102         handling to include insets.
15103
15104         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15105
15106 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15107
15108         * LyXAction.C (init):
15109         * commandtags.h:
15110         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15111         LIGATURE_BREAK, since the name is so stupid.
15112
15113 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15114
15115         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15116         InsetInfos.
15117
15118         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15119
15120         * sp_form.[Ch]: remove.
15121
15122         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15123
15124         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15125         InsetInfo.
15126
15127         * src/buffer.C (readInset): ditto.
15128
15129 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15130
15131         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15132         menuSeparator(), endOfSentenceDot(), ldots() and
15133         hyphenationPoint(), which are therefore removed.
15134         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15135
15136         * LyXAction.C (init):
15137         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15138
15139         * paragraph.C (getWord): removed.
15140
15141         * BufferView_pimpl.C (Dispatch): use last word or selection for
15142         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15143
15144         * lyx_main.C (queryUserLyXDir): do not ask before creating
15145         user_dir, except if it has been named explicitely.
15146
15147 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15148
15149         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15150         a document of zero size.
15151
15152 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15153
15154         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15155         approriately in the c-tor and in require().
15156         (getPackages): output the appropriate LaTeX for natbib support.
15157
15158         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15159         variables "use_natbib" and "use_numerical_citations" when reading the
15160         LyX file.
15161         (readInset): read the various natbib cite commands.
15162         (validate): white-space change.
15163
15164         * bufferparams.[Ch]: new variables "bool use_natbib" and
15165         "bool use_numerical_citations".
15166         (writeFile): output them in the LyX file.
15167
15168 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15169
15170         * lyxfunc.C (getStatus): add support for all the inset insertion
15171         commands.
15172
15173         * text2.C (insertInset):
15174         * paragraph.C (insetAllowed):
15175         * BufferView_pimpl.C (insertInset): update to take in account the
15176         renaming of insertInsetAllowed
15177
15178         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15179
15180         * text2.C (getInset): new method. returns inset at cursor position.
15181
15182         * BufferView_pimpl.C (Dispatch): changes because of this.
15183
15184         * LyXAction.C (init): rename open-stuff to inset-toggle.
15185
15186         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15187
15188         * text2.C (toggleInset): renamed from openStuff; use
15189         Inset::open().
15190
15191 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15192
15193         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15194
15195         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15196
15197 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15198
15199         * buffer.C (readLyXformat2): Add filename to the error dialog
15200
15201 2001-07-18  Juergen Vigna  <jug@sad.it>
15202
15203         * tabular.C (GetCellNumber): put an assert here instead of the check!
15204
15205 2001-07-17  Juergen Vigna  <jug@sad.it>
15206
15207         * BufferView_pimpl.C (toggleSelection): adapted too.
15208
15209         * text.C (selectNextWord): adapted for use with insets.
15210         (selectSelectedWord): ditto
15211
15212 2001-07-17  Juergen Vigna  <jug@sad.it>
15213
15214         * sp_spell.C (PSpell): fix initialitation order.
15215
15216 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15217
15218         * paragraph.C: spacing
15219
15220 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15221
15222         * sp_spell.C: repair language selection for pspell
15223
15224 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15225
15226         * lyxfunc.h: change more methods to begin with lower char.
15227
15228 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15229
15230         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15231         for unknown layouts.
15232
15233 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15234
15235         * buffer.C (readLyXformat2): Generate an error dialog if there are
15236         unknown layouts.
15237
15238 2001-07-16  Juergen Vigna  <jug@sad.it>
15239
15240         * sp_spell.C: always compile ISpell part.
15241
15242         * lyxrc.C: added use_pspell entry and it's handling.
15243
15244 2001-07-13  Juergen Vigna  <jug@sad.it>
15245
15246         * sp_spell.C: removed double includes.
15247
15248 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15249
15250         Consistent use of Lsstream.h:
15251         * Lsstream.h: added using std::stringstream for consistencies sake.
15252
15253         * buffer.C: removed using std::stringstream
15254
15255         * lyxfont.C (stateText):
15256         * paragraph.C (asString):
15257         * text.C (selectNextWord, selectSelectedWord):
15258         * text2.C (setCounter):
15259         * vspace.C (asString, asLatexString):
15260         std::ostringstream -> ostringstream.
15261
15262 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15263
15264         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15265         * commandtags.h: add LFUN_HELP_ABOUTLYX
15266         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15267
15268 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15269
15270         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15271         cursorToggle()
15272         * lyx_gui_misc.C: remove spellchecker
15273         * lyxfunc.C: showSpellchecker
15274         * sp_base.h: added
15275         * sp_ispell.h: added
15276         * sp_pspell.h: added
15277         * sp_spell.C: added
15278         * sp_form.[Ch]: removed
15279         * spellchecker.[Ch]: removed
15280
15281 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15282
15283         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15284         is set.
15285         (simpleTeXSpecialChars): Simply print the input character without
15286         any special translation if pass_thru is set.
15287
15288         * layout.h: Added bool pass_thru to layout class for being able to
15289         implement pass through of a paragraph for Literate Programming.
15290
15291         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15292         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15293         * layout.C (Read): add "passthru" to list of layout tags and add
15294         code to set the pass_thru boolean when it is read.
15295
15296 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15297
15298         * trans_decl.h: remove allowed from KmodInfo
15299
15300         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15301         remove allowed code
15302         (Load): adjust
15303
15304         * paragraph_pimpl.C (erase): use boost::prior
15305
15306         * Painter.C (text): use data() instead of c_str() when length is
15307         also provided.
15308         * WorkArea.C (putClipboard): ditto
15309         * font.h (width): ditto
15310
15311         * BufferView2.C: use it-> instead of (*it). for iterators
15312         * texrow.C: ditto
15313         * paragraph_pimpl.C: ditto
15314         * paragraph.C: ditto
15315         * minibuffer.C: ditto
15316         * language.C: ditto
15317         * kbmap.C: ditto
15318         * encoding.C: ditto
15319         * counters.C: ditto
15320         * converter.C: ditto
15321         * chset.C: ditto
15322         * Variables.C: ditto
15323         * TextCache.C: ditto
15324         * MenuBackend.C: ditto
15325         * LyXAction.C: ditto
15326         * LColor.C: ditto
15327         * FloatList.C: ditto
15328         * DepTable.C: ditto
15329         * ColorHandler.C (LyXColorHandler): ditto
15330
15331 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15332
15333         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15334
15335         * text2.C (openStuff): reintroduce this method (which had been
15336         nuked in NEW_INSETS frenzy).
15337
15338         * lyxfunc.C (Dispatch): when an action has not been handled, use
15339         its name in the error message, not its number.
15340
15341         * paragraph.C (inInset): change method name to begin with lowercase.
15342
15343         * undo_funcs.C:
15344         * text2.C: updates because of this.
15345
15346 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15347
15348         * ToolbarDefaults.C (add): add spaces in error message
15349
15350 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15351
15352         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15353         (readLyXformat2): rename return_par to first_par, use lyxlex's
15354         pushToken and remove the manual push handling.
15355         (parseSingleLyXformat2Token): add another ert comp. variable:
15356         in_tabular, rename return_par to first_par. handle newlines better
15357
15358 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15359
15360         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15361
15362 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15363
15364         * text2.C (getParFromID): removed
15365
15366         * buffer.C (getParFromID): new method moved form lyxtext.
15367         * BufferView2.C (insertErrors): adjust
15368         (setCursorFromRow): adjust
15369         * BufferView_pimpl.C (restorePosition): adjust
15370         * lyxfunc.C (Dispatch): adjust
15371         * undo_funcs.C (textUndo): adjust
15372         (textRedo): adjust
15373         (textHandleUndo): adjust
15374         (textHandleUndo): adjust
15375
15376 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15377
15378         * buffer.C: up' the LYX_FORMAT
15379
15380         * lyxfont.h: turn NO_LATEX on as default
15381
15382         * buffer.C (insertErtContents): new methods of tex style compability.
15383         (parseSingleLyXformat2Token): use it several places.
15384         * tabular.C (OldFormatRead): and here
15385
15386 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15387
15388         * text2.C: remove some commented code.
15389         reindent file.
15390
15391         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15392         * trans.C: changes because of the above.
15393
15394 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15395
15396         * text2.C (setCounter): Fix counters bug with bibliography layout.
15397
15398 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15399
15400         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15401         own member functions
15402         (simpleTeXSpecialChars): ditto
15403
15404 2001-07-06  Juergen Vigna  <jug@sad.it>
15405
15406         * a lot of files: changed the access to LyXText::status and the
15407         call of undo-functions.
15408
15409         * undo.[Ch]: added a inset_id to the undo informations.
15410
15411         * undo_funcs.[Ch]: added and moved here all undo functions.
15412
15413         * lyxtext.h: give the status enum a weight, made status_ a private
15414         variable and made accessor functions for it, removed the whole bunch
15415         of undo-functions as they are now in their own file, make some
15416         functions publically available. Added function ownerParagraph with
15417         int parameter.
15418
15419         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15420         made InInset() a const function, added getParFromID() function.
15421
15422         * buffer.[Ch]: added const version for inset_iterator functions,
15423         added getInsetFromID() function.
15424
15425         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15426         changed undo functions for new version.
15427
15428 2001-07-05  Juergen Vigna  <jug@sad.it>
15429
15430         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15431         unknow mechanism does not call the proper constructor but only this
15432         one also if I request the other!?
15433
15434 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15435
15436         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15437
15438         * text2.C (LyXText): use initialization lists.
15439
15440         * lyxtext.h (Selection): initialize set_ and mark_
15441         (init): remove method
15442
15443 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15444
15445         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15446
15447 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15448
15449         * screen.[Ch]: change method names to begin with lowercase
15450
15451         * BufferView_pimpl.C (updateScrollbar): simplify further and
15452         hopefully make it a bit faster.
15453
15454 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15455
15456         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15457         calling directly xforms functions.
15458
15459         * Painter.C (Painter):
15460         * lyx_cb.C (MenuWrite):
15461         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15462         fl_display.
15463
15464         * lyx_gui.C: remove bogus guiruntime extern declaration.
15465
15466 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15467
15468         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15469         in NEW_INSETS
15470         (redoDrawingOfParagraph): ditto
15471         (redoParagraphs): ditto
15472         (cutSelection): don't create a object for CutAndPaste use the
15473         static method directly
15474         (pasteSelection): ditto
15475
15476         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15477         LyXview (+ rename)
15478
15479 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15480
15481         * modifications to some other files because of this.
15482
15483         * Makefile.am (lyx_SOURCES): add XFormsView
15484
15485         * XFormsView.[Ch]: new files
15486
15487         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15488         the main window. Move the gui dependent stuff to XFormsView
15489
15490 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15491
15492         * tabular.C (GetCellInset): update cur_cell also in the row/col
15493         version of this function.
15494
15495         * lyxfunc.C: no need to include figure_form.h here.
15496
15497         * FontLoader.h:
15498         * lyxfunc.h:
15499         * lyxscreen.h:
15500         * text2.C:
15501         * lyxvc.C: no need to include forms.h here.
15502
15503 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15504
15505         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15506
15507         * lyxfunc.C (Dispatch):
15508         * Spacing.C (set):
15509         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15510         constructor argument.
15511
15512 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15513
15514         * paragraph.C (Paragraph): dont't clear, and just set layout.
15515         (makeSameLayout): use params's copy contructor.
15516
15517         * ParagraphParameters.[Ch] (makeSame): delete method
15518
15519 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15520
15521         * Variables.[Ch]: fix indentation, rename set to isSet
15522
15523 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15524
15525         * lyxfunc.C (Dispatch): fix typo
15526
15527 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15528
15529         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15530         upper_bound.
15531
15532         * bufferlist.C: include assert.h for emergencyWrite().
15533
15534 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15535
15536         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15537           give up at last (bug #425202) !
15538
15539 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15540
15541         * lyx_gui_misc.C:
15542         * sp_form.h:
15543         * sp_form.C:
15544         * spellchecker.h:
15545         * spellchecker.C: strip spellchecker options and bring up
15546           preferences tab instead
15547
15548 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15549
15550         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15551         the istringstream constructor
15552
15553 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15554
15555         * paragraph.C (getLayout): fix return value
15556
15557         * paragraph.h: do not declare getLayout as inline.
15558
15559         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15560
15561 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15562
15563         * lyxcursor.h (operator<): new func
15564         (operator>): new func
15565         (operator>=): new func
15566         (operator<=): new func
15567
15568         * text.C (changeCase): use selection.start and selection.end
15569         (changeRegionCase): require from to be <= to. Require par to be a
15570         valid paragraph.
15571
15572         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15573
15574 2001-06-27  Juergen Vigna  <jug@sad.it>
15575
15576         * text.C (cursorLeftOneWord): changed to return the cursor and added
15577         overlay with BufferView * parameter which calls this one.
15578         (getWord): added
15579         (selectWord): use new getWord function.
15580         (changeCase): renamed from changeWordCase as and extended to work
15581         also on selections.
15582
15583         * lyxtext.h: added enum word_location
15584
15585         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15586         changeCase as this operates now also on selections.
15587
15588 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15589
15590         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15591
15592         * many files: send debug output to Debug::INFO instead of
15593         Debug::ANY.
15594
15595         * converter.C (View):
15596         (Convert):
15597         (Move): send debug output to Debug::FILES instead of console.
15598
15599 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15600
15601         * lyxfunc.C (getStatus): use func_status
15602
15603         * func_status.h: new header, describing the results of
15604         LyXFunc::getStatus;
15605
15606         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15607         LFUN_MATH_HALIGN.
15608
15609 2001-06-25  The LyX Project  <jug@sad.it>
15610
15611         * buffer.C (sgmlOpenTag):
15612         (sgmlCloseTag):
15613         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15614
15615 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15616
15617         * text2.C: remove some dead code
15618
15619         * tabular.C (GetCellInset): store the last cell checked (gotten)
15620
15621         * tabular.h: add the helper for the speedup
15622
15623         * lyxtext.h: remove some dead code
15624
15625 2001-06-26  The LyX Project  <Asger>
15626
15627         * paragraph.C: Change export to LaTeX of alignment to
15628         \begin{center} and family for better roundtrip work with reLyX.
15629
15630         * Tune the math drawing a bit.
15631
15632 2001-06-25  The LyX Project  <Asger>
15633
15634         * LColor.C (LColor): New color for math background. New color
15635         for buttons.
15636
15637 2001-06-25  The LyX Project  <jug@sad.it>
15638
15639         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15640
15641         * lyxfunc.C (Open):
15642         * bufferlist.C (newFile): do not restrict to files ending with
15643         .lyx
15644
15645         * BufferView_pimpl.C (MenuInsertLyXFile):
15646
15647 2001-06-24  The LyX Project  <jug@sad.it>
15648
15649         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15650         of compare_no_case
15651
15652 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15653
15654         * lyxtext.h: rename most methods to begin with a small char.
15655         Lots of changes because of this.
15656
15657         * paragraph.C (Paragraph): do not call fitToSize
15658         (erase): call Pimpl::erase
15659         (insertChar): call Pimpl::insertChar
15660         (insertInset): call Pipl::insertInset
15661         (breakParagraph): do not call fitToSize
15662         (breakParagraphConservative): do not call fitToSize
15663         (fitToSize): remove method
15664
15665         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15666
15667 2001-06-24  The LyX Project  <Asger>
15668
15669         * Fix Qt compilation^2
15670
15671 2001-06-24  The LyX Project  <jug@sad.it>
15672
15673         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15674         depthHook(getDepth()-1).
15675
15676         * paragraph.h:
15677         * ParagraphParameters.h:
15678         * ParameterStruct.h: change type of depth to unsigned int ==
15679         depth_type. Many adaptations to other files before of that.
15680
15681 2001-06-24  The LyX Project  <Asger>
15682
15683         * Fix Qt compilation.
15684
15685 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15686
15687         * paragraph.h: renamed several methods to begin with small letter.
15688         several changes to many parts of the code because of this.
15689
15690 2001-06-23  The LyX Project  <jug@sad.it>
15691
15692         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15693         rewritten to discard all double spaces when KeepEmpty is off
15694         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15695         to only handle newlines but not fiddle with spaces and friends.
15696
15697         * lyxfunc.C (MenuNew): when doing 'new from template', use
15698         template_path as default directory
15699
15700 2001-06-23  The LyX Project  <Asger>
15701
15702         * Clean-up of header file includes all over
15703         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15704
15705 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15706
15707         * paragraph.h: renamed from lyxparagraph.h
15708
15709 2001-06-23  Asger  <lyx@violet.home.sad.it>
15710
15711         * Buffer.h: Removed Buffer::resize
15712         * BufferList.h: Removed BufferList::resize
15713         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15714         the document lazily when we change the width, or the font settings.
15715
15716 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15717
15718         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15719
15720 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15721
15722         * buffer.h: remove out of date comment
15723
15724 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15725
15726         * lyxscreen.h:
15727         * screen.C: fix "theoretical" GC leak
15728
15729 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15730
15731         * LaTeX.C (scanAuxFile):
15732         (deplog): remove trailing \r when reading stream (useful under
15733         win32)
15734
15735 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15736
15737         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15738         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15739         and BufferView::theLockingInset(Inset*), so should use them and not
15740         access bv_->text->the_locking_inset directly.
15741
15742         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15743
15744 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15745
15746         * Makefile.am:
15747         * tex-defs.h: remove old unused file
15748
15749 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15750
15751         * BufferView_pimpl.C: fix typo, remove minibuffer message
15752           when buffer has loaded
15753
15754 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15755
15756         * lyxfunc.C (Dispatch): use stringstream
15757         (MenuNew): use stringstream
15758         (Open): use stringstream
15759
15760         * importer.C (Import): use stringstream
15761
15762         * bufferview_funcs.C (CurrentState): use stringstream
15763
15764         * LaTeX.C (run): use stringstream
15765
15766         * BufferView_pimpl.C (savePosition): use stringstream
15767         (restorePosition): use stringstream
15768         (MenuInsertLyXFile): use stringstream
15769
15770 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15771
15772         * BufferView.C:
15773         * Bullet.C:
15774         * ColorHandler.C:
15775         * FontInfo.C:
15776         * FontLoader.C:
15777         * LColor.C:
15778         * LaTeXFeatures.C:
15779         * Painter.C:
15780         * gettext.C:
15781         * lyx_gui_misc.C:
15782         * lyxserver.C:
15783         * vspace.C: removed // -*- C++ -*- as first line.
15784
15785         * lyxfind.h:
15786         * version.h: added // -*- C++ -*- as first line.
15787
15788 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15789
15790         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15791
15792         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15793         of string
15794
15795 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15796
15797         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15798         of floats.
15799
15800 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15801
15802         * gettext.C: include LString.h even when --disable-nls is on.
15803
15804 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15805
15806         * converter.h (Get): changed argument type from int to
15807         FormatList::size_type to avoid unnecessary conversion.
15808
15809         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15810         before using it.
15811
15812 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15813
15814         * gettext.h: include LString.h even when --disable-nls is on.
15815
15816 2001-06-07  Juergen Vigna  <jug@sad.it>
15817
15818         * text.C (BreakAgain): subst spaces with tabs.
15819
15820         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15821         (resizeInsetsLyXText): set force on resizeLyXText.
15822
15823 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15824
15825         * gettext.h (gettext_init):
15826         (locale_init): use a real definition instead of a macro
15827
15828 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15829
15830         * Bufferview_pimpl.C:
15831         * LColor.h:
15832         * LColor.C: further lcolor tidies
15833
15834 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15835
15836         * BufferView_pimpl.C (updateScrollbar): simplify.
15837
15838         * BufferView2.C: don't include insets/insetinfo.h, change
15839         prototype for insertInset and call the Pimpl version. let
15840         updateInset call Pimpl version.
15841
15842         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15843         gotoInset to BufferView::Pimpl
15844
15845 2001-06-01  Juergen Vigna  <jug@sad.it>
15846
15847         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15848         inside a LockingInset (is the update needed at all?).
15849
15850 2001-05-31  Juergen Vigna  <jug@sad.it>
15851
15852         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15853         here not the old one otherwise how should we compare it afterwards
15854         if it's the same!
15855
15856 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15857
15858         * lyxfont.C:
15859         * tabular.C:
15860         * tabular-old.C:
15861         * FontInfo.C: bring C functions into global namespace when
15862         necessary
15863
15864 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15865
15866         * LString.h: make sure config.h has been loaded before LString.h.
15867
15868         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15869         (one for each char read by EatLine!).
15870
15871         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15872         variables.
15873
15874 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15875
15876         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15877         to the same as the par we break from
15878
15879 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15880
15881         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15882
15883         * MenuBackend.C (expand): also create menu entries for wide
15884         versions of the floats.
15885
15886         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15887
15888         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15889
15890         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15891         frontends/Makefile.am
15892
15893         * text2.C: adjust
15894         * text.C: adjust
15895
15896
15897         * tabular.C (getTokenValue): add std::
15898
15899         * tabular-old.C (getTokenValue): add std::
15900         (getTokenValue): ditto
15901         (getTokenValue): ditto
15902
15903         * screen.C (ToggleSelection): adjust
15904
15905         * lyxtext.h: put selection cursors inside a Selection struct.
15906
15907         * lyxfunc.C (moveCursorUpdate): adjust
15908
15909         * lyxfont.C (latexWriteStartChanges): add std::
15910
15911         * lyxfind.C: adjust
15912
15913         * font.h: delete with(char const *, LyXFont const &)
15914
15915         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15916
15917         * FontInfo.C (getFontname): add std::
15918
15919         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15920         (workAreaButtonPress): adjust
15921         (tripleClick): adjust
15922         (update): adjust
15923         (moveCursorUpdate): adjust
15924         (Dispatch): adjust
15925
15926         * BufferView2.C (gotoInset): adjust
15927
15928 2001-05-30  Juergen Vigna  <jug@sad.it>
15929
15930         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15931         to check pspell I add this as default as I now have new pspell
15932         libraries and they seem to use this.
15933
15934 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15935
15936         * text2.C (CutSelection): make the cursor valid before the call to
15937         ClearSelection.
15938
15939 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15940
15941         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15942         relied on 0 terminated strings and other horrors. Bug found due to
15943         the new assert in lyxstring!
15944
15945         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15946         KP_ keys.
15947
15948 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15949
15950         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15951         to latinkeys.bind.
15952
15953         * lyxfunc.C (processKeySym): change method of getting to the
15954         self-insert char.
15955
15956         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15957         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15958         * BufferView_pimpl.[Ch]: here as private methods.
15959
15960 2001-05-28  Juergen Vigna  <jug@sad.it>
15961
15962         * text.C (SetHeightOfRow): added the update() call again as it is
15963         needed to initialize inset dimensions!
15964
15965 2001-05-16  Juergen Vigna  <jug@sad.it>
15966
15967         * text2.C (SetCharFont): Add new function with BufferView * and
15968         bool toggleall parameters for setting insets internal fonts.
15969         (SetFont): Freeze the undo as we may change fonts in Insets and
15970         all this change should be inside only one Undo!
15971
15972         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15973         setting font's in insets as for them we have the SetFont function!
15974
15975 2001-05-15  Juergen Vigna  <jug@sad.it>
15976
15977         * text2.C (ClearSelection): to be sure we REALLY don't have any
15978         selection anymore!
15979
15980         * tabular.C (TeXCellPreamble): fixed the left border problem for
15981         multicolumn cells.
15982
15983 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15984
15985         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15986         dependancy file
15987
15988 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15989
15990         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15991         LFUN_BREAKPARAGRAPH.
15992
15993         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15994         help test to "internal only", similar for LFUN_INSERT_URL
15995
15996         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15997         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15998         auto_region_delete and deadkeys.
15999
16000 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16001
16002         * LColor.h:
16003         * LColor.C: remove some dead entries, tidy a little
16004
16005 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16006
16007         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16008         commented code.
16009         (Dispatch): implement LFUN_ESCAPE
16010
16011         * commandtags.h: add LFUN_ESCAPE
16012
16013         * LyXAction.C (init): add entry for LFUN_ESCAPE
16014
16015         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16016         Remove commented code.
16017         (insertNote): moved here
16018         (open_new_inset): moved here
16019
16020         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16021         BufferView_pimpl
16022
16023 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16024
16025         * kbmap.C (findbinding): clean it up and make it work correctly.
16026
16027         * lyx_main.C (init): do not pass argc and argv as parameters
16028
16029 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16030
16031         * buffer.C: fix path for OS/2 & Win32
16032
16033         * lyx_gui.C:
16034         * lyx_main:
16035         * lyx_main.C: Added os:: class.
16036
16037         * os2_defines.h: update
16038
16039 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16040
16041         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16042         better by trying again with reduced state.
16043
16044 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16045
16046         * lyxrc.C (read): print error about invalid key sequence only when
16047         debugging (because not all latinX keysyms are known to some X
16048         servers)
16049
16050         * kbsequence.C (getiso): add a few std:: qualifiers
16051         (getiso): comment out extra return statement.
16052
16053 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16054
16055         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16056         handling.
16057         (Dispatch): enhance the accent inset a bit. (not perfect)
16058
16059 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16060
16061         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16062
16063 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16064
16065         * bufferlist.C (emergencyWrite): fix assert() call
16066
16067 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16068
16069         * text.C (InsertChar): Added trivial patch to only send the "you
16070         can not do multiple spaces this way" message once during a
16071         session.
16072
16073 2001-05-08  Baruch Even  <baruch@lyx.org>
16074
16075         * Makefile.am: Changed order of libraries to get LyX to link properly
16076         with the gnome frontend.
16077
16078 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16079
16080         * LaTeXFeatures.h: add a std:: qualifier
16081
16082 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16083
16084         * paragraph.C (String): use stringstream
16085
16086 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16087
16088         * paragraph.C (writeFile): remove footflag arg
16089
16090         * buffer.C (makeLaTeXFile): use stringstream
16091         (latexParagraphs): remove footnot gurba
16092
16093         * LaTeXFeatures.C (getPackages): use stringstream
16094         (getMacros): likewise
16095         (getTClassPreamble): likewise
16096         (getFloatDefinitions): new method
16097
16098         * paragraph.C (writeFile): reindent
16099         (Erase): reindent
16100
16101         * WorkArea.h: revert the xpos + etc changes.
16102
16103         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16104
16105         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16106
16107         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16108         (pasteSelection): likewise
16109         * text2.C (CreateUndo): likewise
16110
16111 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16112
16113         * minibuffer.C (peek_event): temporarily reduce the functionality
16114         of the minibuffer (to allow args on lfuns)
16115
16116         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16117         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16118
16119         * buffer.C (readInset): add compability reading of old float
16120         lists, add reading of new style float list.
16121         (readInset): avoid reevaluation of inscmd.getCmdName()
16122         (getLists): reindent
16123
16124         * MenuBackend.C (MenuItem): implement parsing of
16125         md_floatlistinsert and md_floatinsert.
16126         (expand::LastFiles): move initalizaton of iterators out of loop,
16127         avoid reevaluation.
16128         (expand::Documents): introduce typdedef vector<string> Strings,
16129         and use it.
16130         (expand::ExportFormats): introduce typedef vector<Format const *>
16131         Formats, and use it.
16132         (expand): implement FloatListInsert and FloatInsert.
16133
16134         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16135         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16136         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16137
16138         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16139         handling.
16140         (Dispatch::LFUN_FLOAT_LIST): implement
16141
16142 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16143
16144         * LaTeX.C (run): Fix problem with --export code.
16145
16146 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16147
16148         * BufferView.[Ch] (workarea): removed.
16149         (getClipboard) new method; wrapper for workarea()->getClipboard()
16150
16151         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16152         bug.
16153
16154         * WorkArea.h (width, height, xpos, ypos): These methods all
16155         returned the dimensions of the work_area sub-area of WorkArea,
16156         resulting in a position error if the WorkArea were resized. Now
16157         return the dimensions of the entire WorkArea.
16158
16159         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16160
16161 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16162
16163         * LaTeX.C (deplog): correct the syntax of regex reg1
16164
16165 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16166
16167         * undo.C: remove !NEW_INSETS cruft
16168
16169 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16170
16171         * text2.C: remove !NEW_INSETS cruft
16172
16173         * text.C: remove !NEW_INSETS cruft
16174
16175         * tabular.C: remove !NEW_INSETS cruft
16176
16177         * spellchecker.C: remove !NEW_INSETS cruft
16178
16179         * lyxtext.h: remove !NEW_INSETS cruft
16180
16181         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16182
16183         * lyxfunc.C: remove !NEW_INSETS cruft
16184
16185         * lyxfind.C: remove !NEW_INSETS cruft
16186
16187         * lyx_cb.C: remove !NEW_INSETS cruft
16188
16189         * figureForm.C: remove  !NEW_INSETS cruft
16190
16191         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16192
16193         * buffer.[Ch]: remove !NEW_INSETS cruft
16194
16195         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16196
16197         * CutAndPaste.C: remove !NEW_INSETS cruft
16198
16199         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16200
16201         * BufferView2.C: remove !NEW_INSETS cruft
16202
16203         * BufferView.h: remove !NEW_INSETS cruft
16204
16205 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16206
16207         * Lsstream.h: include LString.h before the sstream headers to
16208         fix problem with gcc 2.95.3 and lyxstring
16209
16210 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16211
16212         * lyx_main.C: add using directives when needed for C functions
16213         declared in std:: namespace.
16214
16215 2001-04-27  Juergen Vigna  <jug@sad.it>
16216
16217         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16218         (SetHeightOfRow): comment out the update call should not be needed!
16219
16220 2001-04-13  Juergen Vigna  <jug@sad.it>
16221
16222         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16223         (LyXTabular): tried to minimize operator= operations (and realized
16224         hopfully Lars wish).
16225
16226 2001-04-27  Juergen Vigna  <jug@sad.it>
16227
16228         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16229
16230 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16231
16232         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16233
16234         * buffer.C (readInset): hack to make listof algorithm work
16235
16236         * BufferView_pimpl.C: hack to make listof algorithm work
16237
16238 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16239
16240         * LyXAction.C: removed all !NEW_INSETS cruft
16241         (init): moved lfun_item in method
16242
16243         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16244
16245 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16246
16247         * BufferView2.C (theLockingInset): white space.
16248
16249 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16250
16251         * minibuffer.C: include <iostream>
16252
16253         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16254
16255         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16256
16257         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16258
16259         * text.[Ch] (TransposeChars): new method
16260
16261 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16262
16263         * call message directly through LyXView instead of through LyXFunc
16264         * BufferView2.C: adjust
16265         * BufferView_pimpl.C: adjust
16266         * FontLoader.C: adjust
16267         * buffer.C: adjust
16268         * bufferview_funcs.C: adjust
16269         * converter.C: adjust
16270         * figureForm.C: adjust
16271         * importer.C: adjust
16272         * lyx_cb.C: adjust
16273         * lyx_gui_misc.C: adjust
16274         * lyxfunc.C: adjust
16275         * lyxvc.C: adjust
16276         * text2.C: adjust
16277         + more files in subdirs
16278
16279         * lyxparagraph.h (size): move up int file
16280         (GetLayout): ditto
16281
16282         * adjust all uses of Assert to lyx::Assert.
16283
16284         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16285         lyxfunctional in namespace lyx
16286         * layout.C (hasLayout): ditto
16287         (GetLayout): ditto
16288         (GetLayout): ditto
16289         (delete_layout): ditto
16290         (NumberOfClass): ditto
16291         * converter.C (GetFormat): ditto
16292         (GetNumber): ditto
16293         (Add): ditto
16294         (Delete): ditto
16295         (SetViewer): ditto
16296         * bufferlist.C (getFileNames): ditto
16297         (emergencyWriteAll): ditto
16298         (exists): ditto
16299         (getBuffer): ditto
16300         * MenuBackend.C (hasSubmenu): ditto
16301         (hasMenu): ditto
16302         (getMenu): ditto
16303         * BufferView_pimpl.C (getInsetByCode): ditto
16304
16305 2001-04-18  Juergen Vigna  <jug@sad.it>
16306
16307         * vspace.C (asLatexString): fixed the 100% problem.
16308
16309 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16310
16311         * lyxfunc.C (Dispatch):
16312         * minibuffer.C:
16313         * minibuffer.h: add a few std:: qualifiers
16314
16315 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16316
16317         * minibuffer.[Ch]: reimplement so that commands is initiated and
16318         run from lyxfunc, simplified som handling, and made the completion
16319         and history code for complete. wip.
16320
16321         * lyxfunc.C (processKeySym): call message
16322         (miniDispatch): new temporary method
16323         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16324         (LFUN_MESSAGE): implement
16325         (LFUN_MESSAGE_PUSH): implement
16326         (LFUN_MESSAGE_POP): implement
16327         (initMiniBuffer): the initial/defualt minibuffer message.
16328
16329         * lyxfont.[Ch]: inline some more getters
16330
16331         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16332
16333         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16334
16335         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16336         (AutoSave): use LFUN_MESSAGE
16337         (Reconfigure): ditto
16338
16339         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16340
16341         * figureForm.C: use LFUN_MESSAGE
16342
16343         * converter.C (runLaTeX): use LFUN_MESSAGE
16344
16345         * bufferview_funcs.C: use LFUN_MESSAGE
16346         (Melt): ditto
16347         (changeDepth): ditto
16348
16349         * bufferparams.h: use boost::
16350
16351         * bufferlist.h: inherit privately from noncopyable
16352
16353         * bufferlist.C (loadLyXFile): remove some commented code.
16354
16355         * buffer.C (runChktex): use LFUN_MESSAGE
16356
16357         * ShareContainer.h: inherit privately from noncopyable
16358
16359         * ParagraphParameters.[hC] (depth): inline it.
16360
16361         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16362         methods.
16363         (message): new method
16364         (messagePush): ditto
16365         (messagePop): ditto
16366         (show): init minibuffer
16367         (showState): direct call
16368
16369         * LaTeX.[Ch]: inherit privately from noncopyable
16370         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16371         instead of WriteStatus.
16372
16373         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16374
16375         * BufferView_pimpl.C (buffer): don't init minibuffer
16376         (workAreaButtonPress): use LFUN_MESSAGE
16377         (workAreaButtonRelease): ditto
16378         (savePosition): ditto
16379         (restorePosition): ditto
16380         (MenuInsertLyXFile): ditto
16381         (workAreaExpose): don't init minibuffer
16382         (update): remove commented code, simplify
16383
16384         * BufferView2.C (openStuff): use LFUN_MESSAGE
16385         (toggleFloat): ditto
16386         (menuUndo): ditto
16387         (menuRedo): ditto
16388         (copyEnvironment): ditto
16389         (pasteEnvironment): ditto
16390         (copy): ditto
16391         (cut): ditto
16392         (paste): ditto
16393         (gotoInset): ditto
16394         (updateInset): remove some commented code
16395
16396         * lastfiles.h: inherit privately from noncopyable
16397         * layout.h: ditto
16398         * lyx_gui.h: ditto
16399         * lyx_main.h: ditto
16400         * lyxlex.h: ditto
16401         * lyxlex_pimpl.h: ditto
16402
16403         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16404         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16405         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16406
16407         * LyXAction.h: inherit privately from noncopyable, add methods
16408         func_begin, func_end, returning iterators to the func map.
16409
16410         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16411         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16412         (func_begin): new method
16413         (func_end): new method
16414
16415         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16416         and not)
16417         (copySelection): ditto
16418         (pasteSelection): ditto
16419
16420         * BufferView.C: whitespace change
16421         * BufferView.h: inherit privately from noncopyable
16422
16423 2001-04-16  Allan Rae  <rae@lyx.org>
16424
16425         * tabular-old.C (l_getline):
16426         * spellchecker.C (sc_check_word):
16427         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16428         an unrecognised preprocessor directive.  So ensure they're wrapped.
16429
16430 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16431
16432         * src/exporter.C (Export): Give an error message when path to file
16433         contains spaces.
16434
16435 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16436
16437         * LaTeX.C (deplog): Always check that foundfile exists.
16438
16439 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16440
16441         * lyx_main.h:
16442         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16443
16444 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16445
16446         * tabular.[Ch] (getLabelList): implement new method
16447
16448         * minibuffer.h: comment ouf setTiimer
16449
16450         * minibuffer.C (ExecutingCB): constify res
16451         (peek_event): constify s
16452         (Set): constify ntext
16453         (Init): constify nicename
16454
16455         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16456
16457         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16458         (savePosition): use two params to Minibuffer::Set
16459         (restorePosition): ditto
16460
16461 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16462
16463         * lyx_main.C: include language.h
16464
16465         * Makefile.am (lyx_main.o): add language.h
16466
16467 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16468
16469         * exporter.C:
16470         * paragraph.C:
16471         * screen.C:
16472         * tabular.C:
16473         * CutAndPaste.C: include gettext.h
16474
16475         * lyxfont.h: remove old hack with ON and OFF.
16476
16477         * lyxparagraph.h:
16478         * lyxfont.h: do not include language.h...
16479
16480         * BufferView2.C:
16481         * LaTeXFeatures.C:
16482         * Painter.C:
16483         * bufferview_funcs.C:
16484         * font.C:
16485         * lyxfont.C:
16486         * text.C:
16487         * text2.C:
16488         * trans_mgr.C:
16489         * paragraph.C: ... but do it here instead
16490
16491 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16492
16493         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16494
16495         * tabular.C: small reformat
16496
16497         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16498         NEW_INSETS version
16499         (GetChar): ditto
16500         (BreakParagraph): ditto
16501         (SetOnlyLayout): ditto
16502         (SetLayout): ditto
16503
16504         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16505         with one arg less.
16506
16507         * lastfiles.C: removed most using decl, add std:: where needed
16508
16509         * buffer.C: ws changes
16510
16511         * MenuBackend.C (class compare_format): put into anon namespace
16512         (expand): constify label, names, action, action2
16513         (expand):
16514
16515         * text.C (SingleWidth): constify font
16516         (IsBoundary): constify rtl2
16517         (GetVisibleRow): constify ww
16518
16519         * LaTeX.C (deplog): constify logfile
16520
16521         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16522         start_x, end_x
16523         (workAreaExpose): constify widthChange, heightChange
16524
16525         * lyxrow.C (par): moved
16526         (height): moved
16527         (next): moved
16528         * lyxrow.h: as inlines here
16529
16530         * lyxfont.h (shape): moved from lyxfont.C
16531         (emph): moved from lyxfont.C
16532
16533         * lyxfont.C (LyXFont): use initialization list for all
16534         constructors
16535         (shape): move to lyxfont.h as inline
16536         (emph): move to lyxfont.h as inline
16537
16538
16539 2001-04-04  Juergen Vigna  <jug@sad.it>
16540
16541         * vspace.C: had to include stdio.h for use of sscanf
16542
16543 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16544
16545         * BufferView.h:
16546         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16547         independent of xforms.
16548
16549 2001-04-02  Juergen Vigna  <jug@sad.it>
16550
16551         * spellchecker.C: fixed namespace placing!
16552
16553 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16554
16555         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16556         the LyXParagraph * is 0.
16557
16558 2001-03-29  Juergen Vigna  <jug@sad.it>
16559
16560         * vspace.C: added support for %, c%, p%, l%.
16561         (stringFromUnit): added helper function.
16562         (asLatexString): changed to give right results for the %-values.
16563
16564         * buffer.C: convert the widthp in a width%.
16565
16566 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16567
16568         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16569         figureForm.[Ch].
16570
16571         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16572         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16573
16574         * lyx_cb.[Ch]: see above.
16575
16576         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16577         form1.[Ch].
16578
16579         * form1.[Ch]:
16580         * lyx.[Ch]: replaced by figure_form.[Ch].
16581
16582         * lyx_gui.C:
16583         * lyx_gui_misc.C:
16584         * lyxfunc.C: changed headers associated with above changes.
16585
16586 2001-03-27  Juergen Vigna  <jug@sad.it>
16587
16588         * BufferView_pimpl.C: set the temporary cursor right!
16589
16590 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16591
16592         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16593
16594 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16595
16596         * LString.h: removed "using std::getline"!
16597
16598         * BufferView_pimpl.C (Dispatch): changes due to changes in
16599         InsetInclude::Params.
16600
16601         * buffer.C (tag_name): removed redundant break statements as they were
16602         producing lots of warnings with my compiler.
16603
16604 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16605
16606         * LString.h: add "using std::getline" when using the real <string>.
16607
16608 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16609
16610         * buffer.C: removed bitset usage.
16611         PAR_TAG moved to an anonymous name space.
16612         (tag_name): new funtion, also in the anonymous namespace.
16613         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16614         (makeDocBookFile): clean code. Completed transition from string arrays
16615         to string vectors.
16616         (SimpleDocBookOnePar): code clean.
16617
16618 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16619
16620         * tabular.C: add some comments.
16621
16622 2001-03-22  Juergen Vigna  <jug@sad.it>
16623
16624         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16625         compatibility read a bit and fixed bug with minipage in different
16626         depth.
16627
16628 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16629
16630         * buffer.C (pop_tag): removed.
16631         (push_tag): removed.
16632         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16633         array replaced with vector. Added support for CDATA sections.
16634         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16635         at any nest level.
16636         (makeDocBookFile): XML conformant declaration of CDATA section,
16637         fixed bug related to <emphasis> in the first paragraph char.
16638         (sgmlOpenTag): exclude empty tags.
16639         (sgmlCloseTag): ditto.
16640
16641         * buffer.h (pop_tag): removed.
16642         (push_tag): removed.
16643
16644 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16645
16646         * language.h (Languages): added size_type and size().
16647
16648 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16649
16650         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16651         response on compability reading of minipages. One probliem is that
16652         the old usage of minipages was «flertydig»
16653
16654         * several files here and in subdirs: don't use static at file
16655         scope use anon namespaces instead.
16656
16657 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16658
16659         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16660         LaTeX output. This is necessary for Literate document
16661         processing.
16662
16663 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16664
16665         * buffer.C: insert hfill when needed.
16666
16667         * tabular.C (l_getline): use string::erase, small whitespace change.
16668
16669         * BufferView_pimpl.C: try the anon namespace.
16670         * WorkArea.C: ditto
16671
16672 2001-03-16  Juergen Vigna  <jug@sad.it>
16673
16674         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16675         otherwise it won't open options-dialogs.
16676
16677         * buffer.C: honor pextraWidth(p) on converting minipages.
16678
16679         * tabular.C (l_getline): changed the functions to strip trailing \r.
16680
16681 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16682
16683         * BufferView_pimpl.C:
16684         * minibuffer..C: added "using SigC::slot" declaration.
16685
16686 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16687
16688         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16689
16690         * text2.C: ditto
16691
16692         * text.C: ditto
16693
16694         * paragraph.C: ditto
16695
16696         * lyxtext.h: NO_PEXTRA
16697
16698         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16699
16700         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16701         * ParameterStruct.h: ditto
16702         * ParagraphParameters.h: ditto
16703         * lyxparagraph.h: ditto
16704
16705 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16706
16707         * buffer.C: add compability for minipage alignment.
16708         (latexParagraphs): remove unwanted pextra check.
16709
16710         * several files: remove CXX_WORKING_NAMESPACES
16711
16712         * buffer.C (pop_tag): tie is in namespace boost
16713
16714         * BufferView.h: noncopyable is in namespace boost
16715         * lyxlex.h: ditto
16716         * lyx_main.h: ditto
16717         * lyx_gui.h: ditto
16718         * layout.h: ditto
16719         * lastfiles.h: ditto
16720         * bufferlist.h: ditto
16721         * ShareContainer.h: ditto
16722         * LyXView.h: ditto
16723         * LyXAction.h: ditto
16724         * LaTeX.h: ditto
16725
16726 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16727
16728         * Merging changes from BRANCH_MVC back into HEAD.
16729
16730         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16731
16732 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16733
16734         * BufferView_pimpl.C: change from intl.C
16735
16736         * combox.h:
16737         * combox.C:
16738         * Makefile.am: move combox.*
16739
16740         * form1.h:
16741         * form1.C:
16742         * lyx_gui.C:
16743         * intl.h:
16744         * intl.C: remove dialog (covered by prefs)
16745
16746 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16747
16748         * lyxfunc.C (Dispatch): removed redundant break statement.
16749
16750 2001-03-14  Juergen Vigna  <jug@sad.it>
16751
16752         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16753
16754 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16755
16756         * buffer.C: add hack to fix compability reading of minipages.
16757
16758 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16759
16760         * buffer.C (getLists): Cleanup.
16761
16762 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16763
16764         * lyxfont.C (update): don't honor toggleall on font size.
16765
16766 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16767
16768         * bmtable.c:
16769         * bmtable.h:
16770         * Makefile.am: moved to frontends/xforms/
16771
16772         * lyx_gui_misc.C:
16773         * lyxfunc.C:
16774         * BufferView_pimpl.C: changes for moved mathpanel
16775
16776 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16777
16778         * gettext.h: fix gettext_init() in --disable-nls
16779
16780 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16781
16782         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16783
16784 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16785
16786         * lyx.C:
16787         * lyx.h: strip external form
16788
16789 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16790
16791         * BufferView_pimpl.C: add comment, destroySplash()
16792
16793 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16794
16795         * BufferView_pimpl.C:
16796         * LyXAction.C:
16797         * buffer.C:
16798         * commandtags.h:
16799         * lyxfunc.C: use re-worked insetinclude
16800
16801 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16802
16803         * buffer.C: add using std::stringstream.
16804
16805         * lyx_cb.C: readd using std::ios.
16806
16807         * buffer.C: add using std::map.
16808
16809         * BufferView_pimpl.C: add using std::vector.
16810
16811         * ShareContainer.h: add std:: to swap.
16812
16813         * buffer.h: add some typedefs
16814         * buffer.C (getLists): use them
16815         (getLists): renamed from getTocList.
16816         add a counter for the different float types and use it in the
16817         generated string.
16818         (getLists): use the same counter for the NEW_INSETS and the "non"
16819         NEW_INSETS
16820
16821         * lyx_cb.h: remove unused items, includes, using etc.
16822
16823         * ShareContainer.h: remove some commented code, add more comments
16824         and "documentation".
16825
16826 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16827
16828         * buffer.C (getTocList): make the list also when NEW_INSETS is
16829         defined.
16830
16831         * buffer.h: remove TocType
16832
16833         * buffer.C (getTocList): change to return a map<string,
16834         vector<TocItem> >, implement for dynamic number of list.
16835
16836         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16837         * text2.C (PasteSelection): adjust
16838         * CutAndPaste.C (pasteSelection): adjust
16839
16840         * FloatList.C (FloatList): update from the new_insets branch.
16841         * Floating.[Ch]: ditto
16842         * LaTeXFeatures.C: ditto
16843         * buffer.C: ditto
16844         * lyxlex_pimpl.C: ditto
16845
16846         * paragraph.C (Last): remove when NEW_INSETS is defined.
16847
16848         * other file: changes because of the above.
16849
16850 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16851
16852         * lyxparagraph.h: rename next to next_, previous to previous_,
16853         make them private for NEW_INSETS. Rename Next() to next(),
16854         Previous() to previous().
16855
16856         * other files: changes because of the above.
16857
16858 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16859
16860         * BufferView.h:
16861         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16862         problem.
16863
16864 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16865
16866         * main.C (main): pass lyx_localedir to gettext_init().
16867
16868         * gettext.h: remove locale_init and gettext_init macros
16869
16870         * gettext.C (locale_init): new function
16871         (gettext_init): new function
16872
16873         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16874         setlocale().
16875
16876 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16877
16878         * Moved credits to frontends:
16879         * credits.[Ch]: removed
16880         * credits_form.[Ch]: removed
16881         * lyx_gui_misc.C: remove credits stuff
16882         * Makefile.am:
16883
16884 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16885
16886         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16887
16888         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16889         unneeded destructor.
16890
16891         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16892         a standalone pointer again.
16893
16894         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16895
16896 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16897
16898         * Makefile.am:
16899         * filedlg.h:
16900         * filedlg.C:
16901         * LyXAction.C:
16902         * ToolbarDefaults.C:
16903         * bufferlist.C:
16904         * commandtags.h:
16905         * form1.C:
16906         * form1.h:
16907         * lyx_cb.C:
16908         * lyx_cb.h:
16909         * lyxfunc.h:
16910         * lyxfunc.C:
16911         * BufferView_pimpl.C: use new file dialog in GUII
16912
16913         * lyx_cb.h:
16914         * lyx_cb.C: remove LayoutsCB to Toolbar
16915
16916 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16917
16918         * ShareContainer.h (get): add std:: qualifier
16919
16920 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16921
16922         * ShareContainer.h: define a proper ShareContainer::value_type
16923         type (and use typename to please compaq cxx)
16924
16925 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16926
16927         * lyxparagraph.h: move serveral local vars to
16928         ParameterStruct/ParagraphParameters., use ShareContainer in
16929         FontTable., make vars in FontTable private and add getter and
16930         setter.
16931
16932         * paragraph.C: changes because of the above.
16933
16934         * lyxfont.h: remove copy constructor and copy assignment. (the
16935         default ones is ok), move number inside FontBits. move inlines to
16936         lyxfont.C
16937
16938         * lyxfont.C: add number to initializaton of statics, move several
16939         inlines here. constify several local vars. some whitespace
16940         cleanup. Dont hide outerscope variables.
16941
16942         * Spacing.h: add two new constructors to match the set methods.
16943
16944         * ShareContainer.h: new file, will perhaps be moved to support
16945
16946         * ParameterStruct.h: new file
16947
16948         * ParagraphParameters.h: new file
16949
16950         * ParagraphParameters.C: new file
16951
16952         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16953         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16954
16955         * BufferView_pimpl.C: ParagraphParameter changes.
16956         * buffer.C: Likewise.
16957         * bufferview_funcs.C: Likewise.
16958         * text.C: Likewise.
16959         * text2.C: Likewise.
16960
16961 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16962
16963         * lyxfind.C (LyXReplace): do not redefine default argument in
16964         implementation.
16965         (IsStringInText): ditto
16966         (SearchForward): ditto
16967         (SearchBackward): ditto
16968
16969 2001-03-06  Juergen Vigna  <jug@sad.it>
16970
16971         * lyxfind.C (IsStringInText): put parentes around expressions.
16972
16973 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16974
16975         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16976
16977 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16978
16979         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16980
16981         * stl_string_fwd.h: add comment
16982
16983         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16984
16985         * tabular.h:
16986         * tabular.C: remove unused DocBook methods
16987
16988         * intl.C:
16989         * language.C:
16990         * paragraph.C:
16991         * buffer.C:
16992         killed DO_USE_DEFAULT_LANGUAGE
16993
16994 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16995
16996         * lyx_gui.C: do not include language.h.
16997
16998         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16999         arguments in function implementation.
17000
17001 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17002
17003         * BufferView_pimpl.C: add <ctime>
17004
17005 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17006
17007         * BufferView_pimpl.C: add using std::find_if
17008
17009 2001-02-27  José Matos  <jamatos@fep.up.pt>
17010
17011         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17012         by OnlyPath.
17013
17014 2001-02-11  José Matos  <jamatos@fep.up.pt>
17015
17016         * buffer.C (makeDocBookFile): command styles now have a parameter as
17017         "title" by default.
17018
17019 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17020
17021         * layout_forms.[Ch]: removed
17022         * lyx_cb.[Ch]: out character
17023         * lyx_gui.C: out character
17024         * lyx_gui_misc.C: out character
17025         * bufferview_funcs.C: : out character,
17026         added toggleall as parameter in ToggleAndShow
17027
17028 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17029
17030         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17031
17032         * text2.C (SetCurrentFont): Disable number property at boundary.
17033
17034 2001-02-26  Juergen Vigna  <jug@sad.it>
17035
17036         * lyxfunc.C (getStatus): added a string argument override function so
17037         that this is correctly called from LyXFunc::Dispatch if it contains a
17038         do_not_use_argument which is used!
17039         (Dispatch): added check for "custom" export and call appropriate func.
17040
17041 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17042
17043         * lyxrc.C: Add language_command_local, language_use_babel and
17044         language_global_options.
17045
17046         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17047
17048         * buffer.C (makeLaTeXFile): Use language_use_babel and
17049         language_global_options.
17050
17051 2001-02-23  Juergen Vigna  <jug@sad.it>
17052
17053         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17054         which works with LyXText and putted it inside BufferView. Here now we
17055         only call for that part the BufferView::Dispatch() function.
17056
17057         * BufferView.C (Dispatch): added.
17058
17059         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17060         functions which needs to use a LyXText over from LyXFunc.
17061         (MenuInsertLyXFile): added
17062         (getInsetByCode): added
17063         (moveCursorUpdate): added
17064         (static TEXT): added
17065
17066 2001-02-22  Juergen Vigna  <jug@sad.it>
17067
17068         * BufferView_pimpl.C (update): call a status update to see if LyXText
17069         needs it.
17070
17071 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17072
17073         * vc-backend.C (revert): implement for CVS
17074         (getLog): implement for CVS
17075
17076 2001-02-20  Juergen Vigna  <jug@sad.it>
17077
17078         * text2.C (ClearSelection): added BufferView param for inset_owner call
17079
17080         * lyxfunc.C (TEXT): added this function and use it instead of
17081         directly owner->view()-text of getLyXText().
17082
17083 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17084
17085         * src/layout_forms.C: out preamble
17086         * src/layout_forms.h: out preamble
17087         * src/lyx_cb.C: out preamble
17088         * src/lyx_cb.h: out preamble
17089         * src/lyx_gui.C: out preamble
17090         * src/lyx_gui_misc.C: out preamble
17091         * src/lyxfunc.C: connect with guii preamble
17092
17093 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17094
17095         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17096
17097 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17098
17099         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17100         whether to run bibtex.
17101
17102 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17103
17104         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17105
17106 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17107
17108         * Makefile.am (lyx_SOURCES): removed bibforms.h
17109
17110         * vspace.h: doxygen
17111
17112         * text.C (GetVisibleRow): make several local vars const
17113
17114         * tabular.C: small cleanup.
17115
17116         * lyxserver.C (callback): use compare instead of strncmp
17117
17118         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17119         inlines to after class or to paragraph.C
17120
17121         * lyxfont.h: remove friend operator!=
17122
17123         * converter.h: move friend bool operator< to non friend and after
17124         class def.
17125
17126         * combox.h: small cleanup
17127
17128         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17129         to inlines after class def.
17130
17131         * buffer.C (pop_tag): use string operations instead of strcmp
17132
17133         * bmtable.c: doxygen, small cleanup
17134
17135         * LaTeX.h: remove friend operator==
17136
17137 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17138
17139         * screen.C:
17140         * lyxrc.[Ch]:
17141         * lyxfunc.C:
17142         * lyxfont.[Ch]:
17143         * lyx_cb.C:
17144         * intl.[Ch]:
17145         * commandtags.h:
17146         * buffer.C:
17147         * WorkArea.[Ch]:
17148         * LyXAction.C:
17149         * BufferView_pimpl.C:
17150         * BufferView.[Ch]: remove cruft
17151
17152 2001-02-14  Juergen Vigna  <jug@sad.it>
17153
17154         * lyxfunc.C: removed #if 0 unused code
17155
17156         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17157
17158         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17159
17160         * text2.C (SetSelection): added a BufferView * parameter
17161
17162 2001-02-13  Juergen Vigna  <jug@sad.it>
17163
17164         * lyxfunc.C (Dispatch): fixed protected blank problem.
17165         * BufferView2.C (protectedBlank): added LyxText * parameter.
17166
17167         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17168         (AppendColumn): same as above for column_info.
17169
17170         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17171         (moveCursorUpdate): use a LyXText param for support of InsetText.
17172
17173         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17174         (tripleClick): ditto
17175
17176         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17177
17178         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17179
17180         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17181
17182         * text2.C (SetSelection): set correct update status if inset_owner
17183         (ToggleFree): ditto
17184
17185 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17186
17187         * tabular.C: remove some commented code.
17188
17189 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17190
17191         * BufferView_pimpl.C: call hideSplash()
17192
17193         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17194
17195         * include_form.h:
17196         * bibforms.h: remove
17197
17198         * lyxfunc.C:
17199         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17200           add LFUN_CHILD_CREATE
17201
17202         * counters.h: fix tiny typo
17203
17204         * lyx_cb.C:
17205         * lyx.h:
17206         * lyx_gui.C:
17207         * lyx.C: move splash to frontends/xforms/
17208
17209         * lyx_gui_misc.C: move Include and Bibform to frontends
17210
17211         * lyxvc.h: clarify comment
17212
17213         * vspace.C: tiny housekeeping
17214
17215 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17216
17217         * text.C (PrepareToPrint): RTL Fix.
17218
17219         * paragraph.C (GetUChar): New method.
17220         (String):  Use GetUChar.
17221
17222         * buffer.C (asciiParagraph): Use GetUChar.
17223
17224 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17225
17226         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17227
17228 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17229
17230         * buffer.h:
17231         * buffer.C: rename to getLogName(), handle
17232           build log / latex log nicely
17233
17234 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17235
17236         * MenuBackend.C:
17237         * MenuBackend.h: remove support for reference menuitem type.
17238
17239 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17240
17241         * BufferView_pimpl.C: housekeeping
17242         * BufferView_pimpl.h:
17243         * LyXView.h:
17244         * Makefile.am:
17245         * Timeout.C:
17246         * Timeout.h:
17247         * minibuffer.h: move Timeout GUI-I
17248
17249 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17250
17251         * lyxrc.C (read): Update converters data-structures.
17252
17253 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17254
17255         * LaTeX.h (operator!=): add operator != for Aux_Info
17256
17257 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17258
17259         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17260
17261         * LaTeXLog.C: deleted, useful code moved to Buffer
17262
17263         * buffer.h:
17264         * buffer.C: new function getLatexLogName()
17265
17266         * lyx_gui_misc.C:
17267         * lyx_gui.C:
17268         * lyxvc.C:
17269         * lyxvc.h:
17270         * lyxfunc.C: use frontends for LaTeX and VC logs
17271
17272 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17273
17274         * LaTeX.h: yet another std:: that Allan forgot.
17275
17276         * Variables.C (set): renamed from isset(), because this clashes
17277         with some HP-UX macros (grr).
17278
17279 2001-02-06  Allan Rae  <rae@lyx.org>
17280
17281         * LaTeX.h: Another bug fix.  Missing std:: this time.
17282
17283 2001-02-04  Allan Rae  <rae@lyx.org>
17284
17285         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17286         floats problem. I've left it commented out because it's not quite
17287         correct.  It should also test that the current object is a table or
17288         figure inset.  But I haven't gotten around to figuring out how to do
17289         that.  I *think* it'll be something like: "table" == inset.type()
17290
17291         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17292         bool.
17293
17294 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17295
17296         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17297         all the citation/databases/styles in the auxilary file.
17298         (run): Rerun latex if there was a babel language error.
17299
17300 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17301
17302         * text.C (Backspace): Preserve the font when changing newline char
17303         with a space.
17304         (BreakParagraph): If the cursor is before a space, delete the space.
17305
17306         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17307
17308 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17309
17310         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17311         new argument (code).
17312         (ChangeCitationsIfUnique): New method.
17313
17314         * paragraph.C (GetPositionOfInset): Handle bibkey.
17315
17316 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17317
17318         * BufferView_pimpl.h: change type of Position::par_pos to
17319         LyXParagraph::size_type.
17320
17321 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17322
17323         * BufferView_pimpl.C (savePosition, restorePosition): Write
17324         messages to minibuffer.
17325
17326 2001-01-28  José Matos  <jamatos@fep.up.pt>
17327
17328         * buffer.C (makeDocBookFile): adds support for document language.
17329         A silly restriction on the name of LatexCommand types where removed.
17330         Added support for CDATA sections, allows to chars unescaped, used
17331         among others in code, to avoid escape < and >.
17332
17333 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17334
17335         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17336         saved positions instrad of a stack. Furthermore, a position is
17337         stored using paragraph id/paragraph position.
17338
17339         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17340         Remove LFUN_REF_BACK.
17341
17342 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17343
17344         * converter.C (dvipdfm_options): New method.
17345
17346 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17347
17348         * vspace.C (isValidLength): Fix for empty input string.
17349
17350 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17351
17352         * LyXAction.C (init): change description of LFUN_FIGURE to
17353         "Insert Graphics"
17354
17355 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17356
17357         * LaTeX.C: add using directive
17358
17359 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17360
17361         * MenuBackend.C (expand): Fix the sorting of the formats.
17362
17363 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17364
17365         * lyx_main.C: tiny error message fix
17366
17367 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17368
17369         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17370         calling fl_initialize(). This fixes the problem with ',' as
17371         decimal separator in text files.
17372
17373 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17374
17375         * trans.C (process): Fix the keymap bug.
17376
17377 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17378
17379         * LaTeX.C (scanAuxFiles): New method. Provides support for
17380         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17381         (scanLogFile) Scan for "run BibTeX" messages.
17382
17383         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17384         OT1 font encoding. Also, load the aecompl package if the ae
17385         package is loaded.
17386
17387         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17388
17389 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17390
17391         * texrow.C (increasePos): turn two error messages into debug
17392         messages.
17393
17394 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17395
17396         * LaTeX.C (scanAux): Handle the \@input macro.
17397         (runBibTeX): Use scanAux().
17398
17399         * language.C (latex_options_): New field.
17400
17401         * LaTeXFeatures.C (getMacros): Add language macros.
17402
17403         * buffer.C (makeLaTeXFile): Small fix.
17404
17405 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17406
17407         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17408
17409         * text2.C: add a using directive.
17410
17411 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17412
17413         * BufferView2.C:
17414         * lyx_gui_misc.h:
17415         * lyxfr1.C:
17416         * lyxfunc.C: kill LyXBell.
17417
17418 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17419
17420         * text.C (IsBoundary): Remove the error message
17421
17422         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17423
17424         * lyxrc.C (setDefaults): Correct initialization value for
17425         font_norm_type.
17426
17427 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17428
17429         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17430         gotoError().
17431
17432         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17433         and GotoNextNote().
17434
17435         * src/LyXAction.C: Added reference-next.
17436
17437         * text.C (InsertChar): Use contains instead of strchr.
17438
17439         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17440
17441 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17442
17443         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17444         alignment commands (when needed).
17445
17446         * text.C (InsertChar): Add ':' to number separator chars.