]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix drawing of change tracker strikeout
[lyx.git] / src / ChangeLog
1 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * rowpainter.C: use default text height for drawing change tracker
4         strikeout lines.
5
6 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7
8         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
9
10 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
13         directory is missing.
14
15 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
16
17         * text2.C: fixed the fix, extended to other case.
18
19 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
20
21         * text2.C: fix for cursor up/down stuck in math [bug 1792]
22
23 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
24
25         * text2.C (cursorUp): get rid of a crash
26         * text.C (x2pos): add an assert
27
28 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * lyxfunc.C (getStatus): fix warning when assertions are disabled
31
32         * text3.C: 
33         * lyxfunc.C: 
34         * dociterator.C: include <boost/current_function.hpp>, which is
35         needed when assertions are disabled.
36
37 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net> 
38
39         * text2.C: fix for stuck cursor when traversing two 
40         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) 
41
42 2005-02-25  Andreas Vox  <avox@arcor.de>
43
44         * output_docbook.C (makeParagraph): suppress trailing newline
45         after a run of paragraphs
46
47 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
48
49         * paragraph.C: fix for confused change tracker when pasting
50         text that begins with a lineseparator. [bug 1827]
51         (setChange(0, Change::INSERTED);)
52
53         * paragraph_funcs.C: fix for lost changes on triple-paste
54         in change tracking mode [bug 1827] (par.setChange()).
55
56 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
57
58         * text2.C (updateCounters, setCounter, expandLabel): move to
59         buffer_funcs.
60
61         * buffer_funcs.C (updateCounters): turn into a free standing
62         function and add a buffer parameter. Remove dead code for tracking
63         labelstring change.
64         (setCounter): change into a free-standing function which gets a
65         dociterator as argument. Use this iterator to fix captions in a
66         simple way. When no float is found above the caption, use the
67         labelstring of the caption layout as default.
68
69         * text.C (breakParagraph, backspace): 
70         * text2.C (init, setLayout, changeDepth):
71         * text3.C (dispatch): 
72         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
73         updateCounters.
74
75         * dociterator.C (forwardPar): make it much faster by calling
76         forwardPos() only when really necessary.
77
78         * output_docbook.C (makeCommand): adapt to expandLabel move.
79
80         * cursor.C: remove unused variable
81
82 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
83
84         * paragraph_funcs.C: fix crash when pasting insets in change 
85         tracking mode [bug 1277] (honour change type in moveItem).
86
87 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
88
89         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
90
91 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
92
93         * BufferView.C (setCursor): change to use a DocIterator.
94         (gotoLabel): use BufferView::setCursor (other part of bug 781).
95         (putSelectionAt): adapt to BufferView::setCursor change.
96
97         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
98         moved here from LyXText and rewritten to use proper cursor
99         methods. Fixes bug 1787, 616 and 835.
100
101         * BufferView_pimpl.C (restorePosition): set the cursor correctly
102         when inside an inset (part of bug 781).
103         (dispatch): adapt to change of BufferView::setCursor.
104         (getStatus, dispatch): handle LFUN_GOTOERROR,
105         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
106
107         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
108         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
109         * text3.C (gotoNextInset, gotoInset): removed.
110
111 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
112
113         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
114
115 2005-02-15  Angus Leeming  <leeming@lyx.org>
116
117         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
118         can be used meaningfully in a comparison.
119
120 2005-02-13  André Pönitz  <poenitz@gmx.net>
121
122         * bufferview_funcs.C (coordOffset): improve cursor drawing
123
124 2005-02-13  André Pönitz  <poenitz@gmx.net>
125
126         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
127         * Cursor.C (dispatch): use fixIfBroken
128         * lyxfunc.C (getStatus): use fixIfBroken
129
130 2005-02-15  Angus Leeming  <leeming@lyx.org>
131
132         * lyx_main.C (error_handler):
133         * lyxfunc.C:
134         * lyxrc.C (setDefaults):
135         s/GetEnv/getEnv/.
136         #include "environment.h".
137
138         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
139
140 2005-02-15  Angus Leeming  <leeming@lyx.org>
141
142         * lyxserver.C (startPipe): squash MSVC warning "local variable
143         'fd' used without having been initialized".
144
145 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
146
147         * BufferView_pimpl.C: revert accidental commit.
148
149 2005-02-14  André Pönitz  <poenitz@gmx.net>
150
151         * dociterator.[Ch]: new member forwardPosNoDescent(),
152         which doesn't enter nested insets.
153         * text2.C (setFont): use forwardPosNoDescent() instead
154         of ForwardPos() (fixes crash on font change).
155
156 2005-02-13  Angus Leeming  <leeming@lyx.org>
157
158         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
159         only if lyxrc.path_prefix is not empty.
160
161 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
162
163         * bufferparams.C (readGraphicsDriver): prevent crash
164
165 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
166
167         * text2.C (setCounter): check for inInset() == 0
168
169 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
170
171         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
172         but use update() to get correct screen display; use convert
173         instead of istringstream. 
174         (getStatus): handle LFUN_GOTO_PARAGRAPH 
175
176         * lyxfunc.C (dispatch, getStatus): do not handle
177         LFUN_GOTO_PARAGRAPH here.
178
179 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
180
181         * text3.C (dispatch): size() -> depth()
182
183         * text2.C: remove some debug output
184
185         * paragraph.C: ws changes only
186
187         * lyxfunc.C (getStatus): size() -> depth()
188
189         * dociterator.h (clear, push_back, pop_back, internalData,
190         operator[], resize, empty): new functions
191         Make StableDocIterator and operator== be friends. Don't inherit
192         from std::vector use a privat class variable slices_ instead.
193         Modify to fit.
194
195         * dociterator.C: update because of not inheriting from std::vector
196         anymore. Call explictly to slices_ instead. Use depth() instead of
197         size() and top() instead of back()
198
199         * cursor.C: chagne size() -> depth and back() -> top(). Also
200         remove some direct operator[](i) calls in favour of foo[i]
201         (getFont): remove some dead code
202
203         * bufferview_funcs.C (coordOffset): size() -> depth()
204
205         * buffer.C: ws changes only
206
207         * CutAndPaste.C (eraseSelection): back() -> top()
208
209         * BufferView_pimpl.C (selectionRequested): back() -> top()
210
211         * BufferView.C (setCursor): size() -> depth()
212
213 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
214
215         * text3.C (cursorPrevious): return true if depm changed something
216         (cursorNext): ditto
217         (dispatch): rename sl to oldTopSlice, remove moving use the new
218         NoUpdate func attrib instead. Make sure that needsUpdate is set
219         for function that have NoUpdate, but where depm might have changed
220         the buffer anyway.
221
222         * text2.C (cursorLeft): make us return true if depm changed
223         something
224         (cursorRight): ditto
225         (cursorUpParagraph): ditto
226         (curosrDownParagraph): ditto
227         (cursorUp, cursorDown): ditto, make sure to read comments in code
228         (deleteEmptyParagraphMechanism): remove an assert, also return
229         true if just a single char was deleted.
230
231         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
232         cursor that we modify, to avoid modifying an active cursor before
233         we call setCursor. This allows depm to run. Also return true if
234         depm deleted something.
235
236         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
237         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
238         cursorDownParagraph, cursorPrevious and cursorNext, return true if
239         something was changed in the buffer because of them (ie. depm run)
240
241         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
242         debug messages. Make update by default be false. Make sure that
243         the result of update is retained throught several calls down to
244         dispatch.
245
246         * LyXAction.h: add a new func_attrib: NoUpdate
247
248         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
249         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
250         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
251         and LFUN_WORDLEFT
252         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
253
254 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
255
256         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
257         bv_->owner(), bv_->buffer() by direct references to the private
258         members.
259         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
260         (getStatus): isSavedPosition() is in BufferView::Pimpl.
261         (fitCursor): center() is in BufferView::Pimpl.
262         (getStatus, trackChanges, dispatch): no need for a temporary buf
263         variable
264         (fitCursor, workAreaDispatch): use workarea().workheight()
265
266 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
267
268         * CutAndPaste.C (pasteSelectionHelper): fix a crash
269
270 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
271
272         * buffer.C: format up to 241.
273         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
274         break if pasting into ERT
275         * lyxfunc.C (getStatus): suppress mathpanel and
276         LFUN_DIALOG_SHOW_NEW_INSET in ERT
277
278 2005-02-01  Angus Leeming  <leeming@lyx.org>
279
280         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
281
282 2005-02-01  Angus Leeming  <leeming@lyx.org>
283
284         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
285         calling fs::is_directory().
286
287 2005-01-31  Angus Leeming  <leeming@lyx.org>
288
289         * lyx_main.C (priv_exec): specify explicitly the relative location
290         of the top level build directory when run in-place.
291
292 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
293
294         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
295         LyXText containing the cursor, not the top-level one.
296
297         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
298         true.
299         (insertStringAsLines): rename par to pit; use temporary variable
300         par to hold a Paragraph; do not store par.layout() in a variable,
301         since the pointer may die when breaking paragraphs; pass pars to
302         breakParagraph() instead of Buffer::paragraphs().
303
304 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
305
306         * lyxlex_pimpl.h: #include <fstream>.
307
308         * BufferView.[Ch] (getLyXText): add a const version.
309
310         * BufferView_pimpl.C: add debug aids.
311
312         * RowList_fwd.h:
313         * buffer.h:
314         * lyxrow.h:
315         * paragraph_funcs.h: add commentary explaining what the class does.
316
317
318         * coordcache.[Ch]: add lots of commentary.
319         (startUpdating, doneUpdating): debug aids.
320         (arrays, insets, parPos, getParPos): accessors to private data.
321
322         * cursor_slice.[Ch] (text): add a const version.
323         * dociterator.[Ch] (text, innerText): add const versions.
324
325         * lyxtext.h (breakParagraph): change the keep_layout arg to a
326         bool.
327
328         * paragraph.C (getRow, pos2ros): add asserts.
329
330         * paragraph.h: add commentary. Lots of.
331
332         * paragraph.[Ch] (metrucs, draw): removed.
333
334         * cursor.C:
335         * rowpainter.[Ch]: const-correct changes.
336
337         * text.C: various obvious clean-ups. Removal of ancient cruft.
338         Bug fixes, even.
339
340 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
341
342         * vc-backend.C (find_file): rewrite to use boost.filesystem
343         (scanMaster): ditto
344
345         * main.C (main): set default name check for boost.filesystem to
346         no check
347
348         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
349         (open): ditto
350         (doImport): ditto
351         (actOnUpdatedPrefs): ditto
352
353         * lyx_main.C (init): rewrite to use boost.filesystem
354         (queryUserLyXDir): ditto
355
356         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
357         (getContentsOfAsciiFile): ditto
358
359         * lastfiles.C (readFile): rewrite to use boost.filesystem
360
361         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
362
363         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
364         (loadLyXFile): ditto
365
366         * buffer.C (Buffer): adjust for destroydir
367         (getLogName): rewrite to use boost.filesystem
368         (setFileName): ditto
369         (save): use fs::copy_file (from fs_extras)
370
371         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
372
373         * LaTeX.C (run): rewrite to use boost.filesystem
374         (scanAuxFiles): ditto
375         (handleFoundFile): ditto
376
377 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
378
379         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
380
381         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
382
383 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
384
385         * lyxlayout.[Ch]: change some vars from float to double
386
387         * buffer.C (readFile): make a local var const
388
389         * Several files: use convert<> instead of atoi,strToXXX and friends
390
391 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
392
393         * LaTeXFeatures.[Ch]: Add a static list packages_ that
394         holds the contents of packages.lst. New functions getAvailable
395         and isAvailable to parse and check that list, resp.
396
397         * LyXAction.C:
398         * lfuns.h:
399         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
400
401         * bufferparams.[Ch]: new param output_changes.
402
403         * Buffer.C: increase file format to 240.
404         Use output_changes and isVailable.
405
406         * changes.[Ch]:
407         * paragraph.C:
408         * paragraph_pimpl.C: Use output_changes and isVailable.
409
410 2005-01-23  Angus Leeming  <leeming@lyx.org>
411
412         * output_latex.C: #include "insetbibitem.h", rather than
413         forward declare function bibitemWidest.
414
415 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
416
417         * lyx_main.C (init): make it compile on the Mac.
418
419 2005-01-20  Angus Leeming  <leeming@lyx.org>
420
421         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
422         (setLyXMisc): (char string literal) != (char string literal) is
423         performing a comparison on the addresses. Convert one operand
424         explicitly to string to guarantee expected behaviour.
425         From MSVC warning.
426
427 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
428
429         * buffer.C:
430         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
431
432         * output_plaintext.C: remove unneeded #include gzstream.h.
433
434 2005-01-20  Angus Leeming  <leeming@lyx.org>
435
436         * SpellBase.h: rename some of the elements of the Result enum.
437
438         * aspell_local.h:
439         * ispell.h:
440         * pspell.h:
441         * aspell.C (check):
442         * ispell.C (check):
443         * pspell.C (check): ditto
444
445 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
446
447         * buffer.C: add #include <fstream>.
448
449         * lyx_main.C (init): Compile fix.
450
451         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
452
453 2005-01-20  Angus Leeming  <leeming@lyx.org>
454
455         * mover.h: change commentary to reflect the changed meaning of
456         the $$s placeholder.
457
458 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
459
460         * output_linuxdoc.C (linuxdocParagraphs): silence warning
461
462         * lyxfind.C (MatchString::operator()): remove bogus semicolon
463
464 2005-01-20  Angus Leeming  <leeming@lyx.org>
465
466         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
467         printing diagnostic data by not dereferecing an iterator past the
468         end.
469
470 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
471
472         * buffer.C (readHeader): use "&&" rather than "and".
473
474         * lyxserver.h (inPipeName, outPipeName): make these const.
475
476 2005-01-19  Angus Leeming  <leeming@lyx.org>
477
478         * lyx_main.C (error_handler, init): protect SIGHUP with
479         #ifdef SIGHUP guards.
480
481 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
482
483         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
484
485 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
486
487         * text.C (setHeightOfRow): add a margin at the top and bottom of
488         the document (bug 1761)
489
490 2005-01-17  Angus Leeming  <leeming@lyx.org>
491
492         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
493         with "python ". Workaround for a brain-dead Windows.
494
495 2005-01-16  Angus Leeming  <leeming@lyx.org>
496
497         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
498         for MacOSX and Windows to use prependEnvPath.
499         Strip out the hard-coded block to add elements to the PATH for
500         MacOSX and replace it with a call to prependEnvPath using the
501         contents of LyXRC::path_prefix.
502         (queryUserLyXDir): strip out the code to run reconfigure, instead
503         returning a boolean indicating the necessity to do so.
504         (reconfigureUserLyXDir): contains the code to reconfigure the
505         user support directory. Is now called after the various LyXRC data
506         files have been read.
507
508         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
509
510 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
511
512         * converter.[Ch] (convert): take a new parameter try_default. Use
513         a default converter (imagemagick) if try_default is true.
514
515 2005-01-13  Angus Leeming  <leeming@lyx.org>
516
517         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
518         os::cygwin_path_fix.
519         (write): output LyXRC::cygwin_path_fix as necessary.
520
521 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
522
523         * lyxrc.h:
524         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
525
526 2005-01-12  Angus Leeming  <leeming@lyx.org>
527
528         * lyx_main.C (init): set the PATH variable to include the
529         directory containing the LyX binary when running on Mac or Windows.
530
531 2005-01-12  Angus Leeming  <leeming@lyx.org>
532
533         * lyx_main.C (init): remove cruft that purports to set the locale
534         dir. It doesn't and is not needed anyway.
535
536 2005-01-10  Angus Leeming  <leeming@lyx.org>
537
538         * Makefile.am: remove the lyx_main.C special casing.
539
540         * BufferView_pimpl.C:
541         * bufferlist.C:
542         * exporter.C:
543         * lyx_cb.C:
544         * lyx_main.C:
545         * lyxfunc.C:
546         * messages.C: use support/package.h to provide the paths to the
547         various directories used by LyX.
548
549 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
550
551         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
552         layout if pasting into an empty paragraph)
553
554 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
555
556         * tex-accent.C: add <string>
557
558 2005-01-06  José Matos  <jamatos@lyx.org>
559
560         * ParagraphParameters.C (write): put every parameter in its own line.
561         * paragraph.C (write): reduce number of consecutive empty lines exported.
562         * buffer.C (LYX_FORMAT): increase file format to 239.
563
564 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
565
566         * everywhere: change support/tostr.h -> support/convert.h
567
568         * tabular.C: make all write_attributes templates, tostr -> convert
569
570         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
571         (emptyTag): and -> &&, and fix type for ret from getChar
572         (getFirstWord): fix type for ret from getChar
573         (onlyText): and -> &&
574         (simpleDocBookOnePar): and not -> && !, fix type for ret from
575         getChar
576
577         * toc.C (goTo, action):
578         * text3.C (dispatch):
579         * text.C (currentState):
580         * tex-accent.C (DoAccent):
581         * sgml.C:
582         * lyxrc.C:
583         * lyxfunc.C (menuNew):
584         * lyxfinc.C (replace):
585         * counters.C (laberItem):
586         * bufferview_funcs.C (font2string):
587         * bufferparams.C (writeFile):
588         * buffer.C (readFile):
589         * Spacing.C (set):
590         * MenuBackend.C: tostr -> convert
591
592         * LaTeX.C (runMessage): fix format
593         (scanAuxFiles): tostr -> convert
594
595         * BufferView_pimpl.C (savePosition): fix format
596         (restorePosition): ditto
597         (dispatch): ditto
598
599 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
600
601         * Spacing.[Ch]: New method getValueAsString().
602
603         * Spacing.[Ch]:
604         * bufferparams.C:
605         * ParagraphParameters.C:
606         * lyxlayout.C:
607         * text.C:
608         * text3.C: store/read spacing value as string.
609
610         * rowpainter.C: change float value (spacing_val) to double.
611
612         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
613         broken custom document spacing).
614
615 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
616
617         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
618         namespace, also more use of temp references and const
619
620         * cursor.[Ch] (getStatus): move to lyxfunc.C
621
622         * bufferparams.C: reformat slightly
623
624         * bufferview_funcs.C (font2string): constify arg
625
626         * changes.C:
627         * converter.C:
628         * counters.C:
629         * bufferlist.C:
630         * buffer_funcs.C: (many funcs): constify arg on function
631         definitions, also make more local vars const, also add ASSERTS on
632         pointer args.
633
634         * buffer.C (LYX_FORMAT): put const in correct place
635         (many funcs): constify arg on function definitions, also make
636         more local vars const
637
638         * aspell_local.h: remove "struct" from typdef setup
639
640         * aspell.C (check): make word_ok const
641         (nextMiss): simplify slightly
642         (error): ditto
643
644 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
645
646         * lyxrc.[Ch]: store all float values as strings.
647         use int (not float) for lyxrc.dpi.
648
649 2005-01-04  Angus Leeming  <leeming@lyx.org>
650
651         * lyx_cb.C (Reconfigure):
652         * lyx_main.C (queryUserLyXDir):
653         to run the <system_lyxdir>/configure correctly on Windows, prefix
654         the path to the script with "sh " when generating the string that
655         is passed to system().
656
657 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
658
659         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
660
661 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * lyxlength.C (asLatexString): get rid of setprecision
664
665 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
666
667         * text2.C (setLayout): remove unused variable endpit.
668         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
669
670         * paragraph.C (onlyText): remove unused variable style.
671
672         * cursor.C (bruteFind): remove unused variables beg and end.
673
674         * Makefile.am (dist_noinset_DATA): not needed anymore
675
676         * cheaders/*: remove.
677
678 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
679
680         * text3.C: fix LFUN_MATH_MODE.
681
682 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
683
684         * buffer_funcs.C (countWords): new function. Counts words between
685         two iterators.
686
687         * BufferView_pimpl.C (getStatus, dispatch): handle
688         LFUN_WORDS_COUNT.
689
690         * LyXAction.C (init):
691         * lfuns.h: add LFUN_WORDS_COUNT.
692
693 2004-12-19  Angus Leeming  <leeming@lyx.org>
694
695         * buffer.C (save): s/slashify_path/internal_path/.
696
697 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
698
699         * lyxfind.C (findChange): do not search for end of pars, because
700         the change tracker cannot handle this (fixes bug 1719).
701
702 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
703
704         * paragraph.[Ch] (autoBreakRows): remove
705
706         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
707
708         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
709         avoid using the paragraph one
710
711         * text2.C (LyXText, insertStringAsLines): adjust
712
713 2004-12-16  Angus Leeming  <leeming@lyx.org>
714
715         * bufferlist.C:
716         * lyx_main.C:
717         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
718
719 2004-12-14  Angus Leeming  <leeming@lyx.org>
720
721         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
722
723         * bufferlist.C (emergencyWrite):
724         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
725         GetEnvPath("HOME").
726
727 2004-12-14  Angus Leeming  <leeming@lyx.org>
728
729         * main.C: (main): no longer pass pointers to os::init.
730
731 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
732
733         * undo.C (textUndoOrRedo): simplify logic, fix a crash
734         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
735
736 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
737
738         * lyxfunc.C:
739         * text3.C: remove selection_possible global flag
740
741 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
742
743         * text2.C (getSelectionSpan): remove
744         (changeDepth, changeDepthAllowed): adjust
745
746 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
747
748         * Makefile.am (BOOST_LIBS): use boost variables
749
750 2004-12-03  José Matos  <jamatos@lyx.org>
751
752         * buffer.C: format up to 238.
753
754 2004-12-03  José Matos  <jamatos@lyx.org>
755
756         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
757
758 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
759
760         * cursor.C (goUpDown): remove call to idxUpDown2
761
762 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
763
764         * tabular.[Ch]: use size_t-like types for cell, row and column
765         indices
766
767 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
768
769         * lyxfunc.C (getStatus): do not lose previous information when
770         calling BufferView::getStatus; do not set a default "Command
771         disabled" message at the beginning, but just before returning.
772
773 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
774
775         * cursor.h (getStatus): add better comment from src/cursor.C
776
777 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
778
779         * text3.C (getStatus): return false when the lfun is not handled
780
781 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
782
783         * broken_headers.h: remove
784
785         * Makefile.am (lyx_SOURCES): remove broken_headers.h
786
787 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
788
789         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
790         offset_ref accessors
791
792         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
793         top_y_, merge fitcursor with update
794         (updateScrollbar, scrollDocView, fitCursor, center, update): new
795         coord scheme
796         (metrics): introduce
797         (workAreaDispatch): adapt to new coord scheme
798         (redoCurrentBuffer): remove
799
800         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
801
802         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
803         CurStatus enum.
804
805         * coordcache.[Ch]: add paragraph cache and helpers
806
807         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
808         adjust everywhere
809
810         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
811         (targetX, setTargetX): introduce
812
813         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
814         baseline -> ascent, as the rest of lyx
815
816         * lyxtext.h: remove redoParagraphs, updateParPositions,
817         fullRebreak, redoParagraphInternal. move dist to anon namespace in
818         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
819         have ascent/descent (ascent is ascent of first par)
820
821         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
822         step of BufferView
823
824         * paragraph.[Ch]: unify dimension handling with the rest of lyx
825
826         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
827
828         * pariterator.C: fix infinite loop introduced in par->pit renaming
829
830         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
831         in insets and LyXText, draw two off-screen paragraphs using
832         NullPainter, and adapt to new coord scheme
833
834         * text.C:
835         * text2.C:
836         * text3.C: adapt lfun handlers to the new coord scheme, which
837         means: there's only guaranteed coord information for onscreen pars
838         plus one above and one below. This implies that one can do search
839         from y coordinates in the range [-1,workHeight]
840
841 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
842
843         * rename a lot of InsetOld to InsetBase
844
845 2004-11-25  Angus Leeming  <leeming@lyx.org>
846
847         * BufferView_pimpl.C:
848         * lyx_cb.C:
849         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
850
851 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
852
853         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
854         call BufferView::getStatus if LCursor::getStatus did nothing
855         (setStatusMessage, getStatusMessage): removed.
856
857         * FuncStatus.C (message): new methods. Used to provide an error
858         message indicating why a command is disabled.
859         (clear, |=, FuncStatus): update for message.
860
861 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
862
863         * lyxfunc.C (dispatch): always call sendDispatchMessage
864
865 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
866
867         * BufferView.C:
868         * BufferView_pimpl.C:
869         * CutAndPaste.C:
870         * FontIterator.C:
871         * buffer.C:
872         * cursor.C:
873         * cursor_slice.[Ch]:
874         * dociterator.[Ch]:
875         * lyxfind.C:
876         * paragraph_funcs.C:
877         * pariterator.C:
878         * rowpainter.C:
879         * text.C:
880         * text2.C:
881         * text3.C:
882         * undo.C: par->pit renaming
883
884 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
885
886         * tabular.C (cellstruct): use initialization, store a shared_ptr
887         to insettext instead of the insettext directly, adjust to fit.
888         (operator=):  new function
889         (swap): new function
890         (rowstruct): use initialization
891         (columnstruct): use initialization
892         (ltType): use initialization
893
894
895         * lyxlength.h (swap): new function
896
897         * LColor.[Ch] (operator=): use the common semantics
898
899 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
900
901         * lyxfind.C (findNextChange): update the bufferview after setting
902         the selection.
903
904 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
905
906         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
907         number of InsetOptArgs has already been inserted.
908
909         * output_latex.C (latexOptArgInsets): new method. This outputs all
910         the optarg insets, up to the limit defined in the layout file.
911         (optArgInset): removed
912         (TeXOnePar): call latexOptArgInsets; correctly update texrow
913
914 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
915
916         * paragraph.C (isLetter): remove special spellchecker-related
917         code; return true also for digits
918         (isWord, isKomma): remove
919
920         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
921         * lyxfind.C (MatchString()): use isLetter instead of isWord
922
923 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
924
925         * pariterator.h (operatir=): comment out un-implemented member
926         function.
927
928         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
929         static cast.
930
931 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
932
933         * lyxfont.h: include LColor.h to satisfy concept checks.
934
935 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
936
937         * pariterator.h: add typdefs for value_type, difference_type,
938         pointer and reference to satisfy concept checks. Also add default
939         constructor for same reason.
940
941         * pariterator.C (operator++): add post-increment operator to
942         satisfy concept checks.
943
944         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
945         checks.
946
947         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
948
949         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
950         checks. Also rename base_type to BaseType to follow naming
951         standard better.
952
953         * FloatList.h: include Floating.h to satisfy concept checks.
954
955 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
956
957         * lyxfunc.C (getStatus): when the origin of the request is menu or
958         toolbar, and the LyXView does not have focus, do as if there was
959         no buffer (bug 1720)
960
961         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
962         FuncRequest to individual entries of LFUN_SEQUENCE
963
964 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
965
966         * output_latex.C (TeXOnePar): override runparams.moving_arg
967         according to the needprotect value of the current paragraph (bug
968         1739)
969
970         * paragraph.C (simpleTeXOnePar): no need to override
971         runparams.moving_args here
972
973 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
974
975         * vspace.C: fix off-by-one-error, related to fix #1682
976
977 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
978
979         * lengthcommon.C: a more general fix for bug 1682
980
981 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
982
983         * text.C (backspace): fix crash
984
985 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
986
987         * format.[Ch] (getFormatFromFile): new method
988         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
989
990 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
991
992         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
993
994 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
995
996         * lyxfunc.C (dispatch): remove the verbose argument
997         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
998         instead
999
1000         * kbmap.C (defkey): set the origin of func to KEYBOARD
1001
1002         * MenuBackend.C (MenuItem):
1003         * ToolbarBackend.C (add): set the origin of func to UI
1004
1005         * funcrequest.[Ch]: add origin member, which indicates which part
1006         of LyX requests an action
1007
1008 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1009
1010         * converter.C (move): don't lie in the error message
1011         * converter.h (isReachable, move): document
1012
1013 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1014
1015         * buffer.C: remove unused using lyx::support::atoi
1016         * paragraph_funcs.C: ditto
1017
1018 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1019
1020         * bufferlist.C (exists): use bind and equal_to instead of
1021         compare_memfun
1022         (getBuffer): ditto
1023         * lyxtextclasslist.C (NumberOfClass): ditto
1024
1025         * cursor.C (insert): use for_each instead of explicit for loop
1026
1027         * bufferlist.C (getFileNames): use std::transform and
1028         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1029
1030         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1031         for loop
1032
1033         * buffer.C (changeLanguage): use for_each instead of explicit for
1034         loop
1035         (hasParWithID): implement using getParFromID
1036
1037         * LaTeXFeatures.C: ws change only
1038
1039         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1040         to cleanup a bit.
1041
1042         * BufferView_pimpl.C (trackChanges): use for_each instead of
1043         expilicit for loop
1044
1045 2004-11-04  André Pönitz  <poenitz@gmx.net>
1046
1047         * undo.h:
1048         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1049
1050         * dociterator.C (asDocIterator): use hard assert again.
1051
1052 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1053
1054         * lyxlength.C (asLatexString): rewrite so that it does not use
1055         snprintf anymore
1056
1057 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1058
1059         * text3.C (specialChar, dispatch): make sure cursor moves to the
1060         right after inserting an inset
1061
1062 2004-11-02  José Matos  <jamatos@lyx.org>
1063
1064         * output_docbook.C (docbook):
1065         * paragraph.C (getID):
1066         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1067         garantee that the output is always legal.
1068
1069         * tabular.C (docbook):
1070         * outputprams.[Ch]: remove mixed contents.
1071
1072 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1073
1074         * text2.C (setCounter): prevent endless loop
1075
1076 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1077
1078         * exporter.C (copyFile): use the mover instead of support::copy()
1079         * exporter.C (Export): pass format and latex name to copyFile()
1080         * exporter.h (addExternalFile): document
1081         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1082
1083 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1084
1085         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1086
1087 2004-10-30  José Matos  <jamatos@lyx.org>
1088
1089         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1090         text and no inset or font change. This allows to use CDATA
1091         sections just for the whole paragraph.
1092
1093 2004-10-30  José Matos  <jamatos@lyx.org>
1094
1095         * paragraph.C (getFirstWord): remove unused variable.
1096
1097 2004-10-30  José Matos  <jamatos@lyx.org>
1098
1099         * paragraph.C (getFirstWord): the content should always be escaped
1100         there.
1101         (simpleDocBookOnePar):
1102         * output_docbook.C (makeEnvironment): replace reference to CDATA
1103         to style pass_thru.
1104
1105 2004-10-30  José Matos  <jamatos@lyx.org>
1106
1107         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1108
1109 2004-10-30  José Matos  <jamatos@lyx.org>
1110
1111         * output_docbook.C (makeParagraphs):
1112         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1113         standard paragraph has only a given type of content drop the wrapper.
1114
1115 2004-10-29  José Matos  <jamatos@lyx.org>
1116
1117         * output_docbook.C (makeEnvironment):
1118         * sgml.C (openTag):
1119         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1120
1121 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1122
1123         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1124         (cleanID): sanitize any id.
1125
1126 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1127
1128         * buffer.C, lyxlex_pimpl.C:
1129         * lyxlex_pimpl.C (setFile):
1130         s/getExtFromContents/getFormatFromContents/
1131
1132 2004-10-28  José Matos  <jamatos@lyx.org>
1133
1134         * output_docbook.C (makeEnvironment): move id to broadest possible
1135         scope.
1136
1137         * sgml.C (openTag): apply substitution of <> for all attributes.
1138
1139 2004-10-28  José Matos  <jamatos@lyx.org>
1140
1141         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1142         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1143         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1144
1145         * sgml.[Ch]: new version for open and closeTag for paragraph and
1146         for strings. Now they handle the ids of paragraphs.
1147
1148 2004-10-26  Angus Leeming  <leeming@lyx.org>
1149
1150         * Makefile.am: add mover.[Ch].
1151
1152         * converter.C (convert, move): use the new Movers to move external
1153         files to the temp directory.
1154
1155         * lyx_main.C (init): ensure that the global system_movers data
1156         is initialised.
1157
1158         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1159         preferences file.
1160
1161         * mover.[Ch]: new files, defining a Mover as a utility to move an
1162         external file between directories and, if necessary, manipulate this
1163         file using a helper script.
1164
1165 2004-10-25  José Matos  <jamatos@lyx.org>
1166
1167         * output_docbook.C (makeCommand): merge two if's that tested the
1168         same condition.
1169
1170 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1171
1172         * sgml.C (escapeString): fix warning in a better way
1173
1174 2004-10-25  José Matos  <jamatos@lyx.org>
1175
1176         * sgml.C (escapeString): import the require boosts header file for
1177         tie, and avoid a signed unsigned comparison.
1178
1179 2004-10-25  José Matos  <jamatos@lyx.org>
1180
1181         * sgml.h: add #include <string>
1182
1183 2004-10-25  José Matos  <jamatos@lyx.org>
1184
1185         * sgml.[Ch] (escapeString): new function to escape all the string.
1186
1187 2004-10-24  José Matos  <jamatos@lyx.org>
1188
1189         * paragraph.[Ch] (getFirstWord): new function to get the first
1190         word. Useful for description.
1191         (simpleDocBookOnePar): remove depth argument, add another that
1192         says where to start the paragraph.
1193
1194         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1195         use the new functions to fix cleanly the support for descriptions.
1196
1197 2004-10-24  José Matos  <jamatos@lyx.org>
1198
1199         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1200         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1201         * output_linuxdoc.C (linuxdocParagraphs):
1202         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1203         add buffer as argument.
1204
1205 2004-10-24  José Matos  <jamatos@lyx.org>
1206
1207         * output_docbook.C (makeEnvironment, searchEnvironment): place
1208         CDATA inside paragraphs and fix scope for listitems.
1209
1210 2004-10-24  José Matos  <jamatos@lyx.org>
1211
1212         * output_docbook.C: remove using statement for stack.
1213
1214 2004-10-23  José Matos  <jamatos@lyx.org>
1215
1216         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1217         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1218         docbook. The new scheme is recursive and makes use of iterators, the
1219         same as latex export works.
1220         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1221         directly with the paragraph contents. This code was moved up to
1222         output_docbook.C (docbookParagraphs).
1223         * sgml.C (openTag, closeTag): removed unneeded newlines.
1224         (closeEnvTags) removed.
1225
1226 2004-10-23  André Pönitz  <poenitz@gmx.net>
1227
1228         * undo.C (textUndoOrRedo):
1229         * dociterator.C (asDocIterator): work around crash
1230
1231         * cursor.C (getStatus): replace ASSERT by more verbose error message
1232           and manual correction of the problem. Should increase stability
1233           while providing more sensible information.
1234
1235 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1236
1237         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1238
1239         * bufferlist.C (previous, next): new methods
1240
1241         * lfuns.h:
1242         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1243
1244 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1245
1246         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1247         entities to preamble.
1248
1249 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1250
1251         * messages.C (Pimpl): strip off translation context information
1252
1253 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1254
1255         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1256         the cursor is correct (bug 1694)
1257
1258 2004-10-13  José Matos  <jamatos@lyx.org>
1259
1260         * output_docbook.C (docbookParagraphs): fix closing tags in the
1261         end of the document.
1262
1263 2004-10-09  José Matos  <jamatos@lyx.org>
1264
1265         * buffer.C: format up to 237.
1266         * bufferparams.C (write): use tostr to convert booleans to strings.
1267
1268 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1269
1270         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1271
1272 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1273
1274         * LaTeX.C: implement use of babel language in xindy.
1275
1276 2004-10-05  José Matos  <jamatos@lyx.org>
1277
1278         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1279         Add new translators to help reading and writing the lyx file.
1280
1281 2004-10-05  José Matos  <jamatos@lyx.org>
1282
1283         * ParagraphParameters.C (read):
1284         * text.C (readParToken): replace nexToken by more appropriate lex
1285         methods.
1286
1287 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1288
1289         * LaTeX.C (runMakeIndex):
1290         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1291         (usually 'makeindex') configurable.
1292
1293         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1294         with a variable rather than with a number.
1295
1296 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1297
1298         * output_latex.C (TeXOnePar): make sure font setting is the first
1299         thing that gets output (and the last at the end). Should fix bug
1300         1404.
1301
1302 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1303
1304         * pch.h: use proper signal include
1305
1306         * LaTeX.h: Use preferred calling of Boost.Signal
1307         * buffer.h: ditto
1308
1309 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1310
1311         * pch.h: dont include <boost/function/function0.hpp>
1312
1313         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1314
1315         * paragraph_pimpl.h: remove usage of ShareContainer
1316
1317         * paragraph_pimpl.C: remove initialization of ShareContainer.
1318
1319 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1320
1321         Fix bug #1666
1322
1323         * BufferView.C (putSelectionAt): change the semantics when
1324         backwards == true: now, this just swaps cursor and anchor wrt the
1325         forward case
1326
1327         * BufferView.h (putSelectionAt): add some documentation
1328
1329         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1330         make sure backwardChar is done at least once (to avoid getting
1331         stuck)
1332         (findNextChange): use putSelectionAt in the forward direction
1333         (operator()): use Paragraph::isWord
1334
1335 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1336
1337         * Spacing.C (set): c_str fix
1338
1339 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1340
1341         * lyx_cb.C (Reconfigure): quote the name of configure script in
1342         case it contains spaces
1343
1344 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1345
1346         * client: new dir
1347
1348         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1349         (BOOST_LIBS): use top_buildir when looking for the file
1350
1351 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1352
1353         * pch.h: do not use include boost/format.hpp, multiple symbols
1354                 will result (gcc bug)
1355
1356
1357 2004-08-23  José Matos  <jamatos@lyx.org>
1358
1359         * bufferparams.C (readToken): fix reading of the author field.
1360
1361 2004-08-20  José Matos  <jamatos@lyx.org>
1362
1363         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1364
1365 2004-08-20  José Matos  <jamatos@lyx.org>
1366
1367         * lyxlex.[Ch] (findToken): remove function.
1368
1369         * ParagraphParameters.C (findToken):
1370         * bufferparams.C (findToken): replace call for previous function
1371         with local copy. This local function has one more argument, the
1372         read string argument.
1373
1374 2004-08-16  José Matos  <jamatos@lyx.org>
1375
1376         * ParagraphParameters.C (write):
1377         * Spacing.C (writeFile):
1378         * bufferparams.C (writeLaTeX):
1379         * lyx_cb.C (Reconfigure):
1380         * paragraph.C (write):
1381         * tabular.C (write): remove unnecessary space at end of line.
1382
1383
1384 2004-08-16  José Matos  <jamatos@lyx.org>
1385
1386         * text.C (readParagraph): remove debug message.
1387
1388 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1389
1390         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1391         crash
1392
1393         * output_plaintext.C (asciiParagraph): set depth correctly
1394
1395         * outputparams.h: add member depth
1396
1397         * paragraph_funcs.C (ownerPar): remove.
1398
1399         * text2.C (setCounter): remove first_pit; comment out some
1400         non-working code that uses ownerPar
1401
1402         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1403         uses ownerPar
1404
1405 2004-08-16  José Matos  <jamatos@lyx.org>
1406
1407         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1408         For the same level of importance use the same chanel to report problems.
1409         (read): add code to deal with \begin_body and \end_body.
1410
1411
1412 2004-08-15  José Matos  <jamatos@lyx.org>
1413
1414         * lyxlex.C (getString): fix comment, buffer::readBody is now
1415         buffer:readDocument.
1416
1417         * tex-strings.C (string_papersize): Default -> default,
1418         Custom -> custom, for consistency with other options.
1419
1420 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1421
1422         * pch.h: new file
1423
1424         * Makefile.am: support pch
1425
1426 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1427
1428         * text.C (readParToken): remove the static LyXFont variable and
1429         pass it as a parameter instead. This fixes a nasty bug where an
1430         inset will be inserted with a bad font in some situations
1431         (readParagraph): adapt
1432
1433         * text2.C (setCounter): reduce number of calls to pars_[pit]
1434
1435         * text.C (singleWidth): add an assert, fix a test
1436
1437         * rowpainter.C (paintText): reduce number of calls to singleWidth
1438
1439         * paragraph.C (isHfill):
1440         (isNewline): ws only
1441
1442 2004-08-14  André Pönitz  <poenitz@gmx.net>
1443
1444         * text.C:
1445         * text2.C:
1446         * rowpainter.C:
1447         * lyxtext.h (several functions): use a Paragraph & argument
1448         instead of par_type
1449
1450 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1451
1452         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1453
1454         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1455
1456         * text.C (singleWidth): remove useless test
1457
1458 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1459
1460         * tabular.h: remove bogus comments
1461
1462         * tabular.C (getDescentOfRow):
1463         (isPartOfMultiColumn): add assertions
1464
1465         * lyxlength.C (inPixels): remove #warning
1466
1467 2004-08-14  André Pönitz  <poenitz@gmx.net>
1468
1469         * paragraph.h: inline getChar()
1470
1471         * BufferView.h: remove unused declarations
1472
1473 2004-08-14  José Matos  <jamatos@lyx.org>
1474
1475         * Buffer.[Ch] (readDocument): new name for old readBody.
1476         * Buffer.C: new file format, new keywords: \begin_document,
1477         \begin_header, \begin_body, \end_body.
1478
1479         * bufferparams.C (readToken): replace all calls to lex.nextToken
1480         by lex.next(). Do the same to eatLine except where really needed.
1481
1482         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1483         line when writing to the lyx file.
1484
1485         * output_plaintext.C (asciiParagraph): fix Bibliography style
1486         handling.
1487
1488         * text.C (read): fix end of file handling.
1489
1490 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1491
1492         * MenuBackend.C (Menu::operator[]): new method to access
1493         individual menu items
1494         (Menu::hasFunc): new method. search for an item that corresponds
1495         to a given func
1496         (MenuBackend::specialMenu): new method
1497         (MenuBackend::expand): if a special menu has been set, skip
1498         entries whose func() appears in this menu
1499
1500 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1501
1502         * text3.C: use Debug::DEBUG a bit more
1503
1504         * text.C (leftMargin): try to simplify a tiny bit change var x to
1505         l_margin. Dont output the wide margins always.
1506         (rightMargin): no margin in inner texts
1507
1508         * rowpainter.h (nestMargin): new func
1509         (changebarMargin): new func
1510         (rightMargin): new func
1511
1512         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1513         now functions.
1514         (paintLast): ditto
1515
1516         * factory.C (createInset): modify setDrawFrame
1517
1518         * cursor.C: use Debug::DEBUG a bit more
1519
1520 2004-08-14  André Pönitz  <poenitz@gmx.net>
1521
1522         * coordcache.[Ch]:
1523         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1524         cache for all insets in (at least partially) visible (top-level)
1525         paragraphs.
1526
1527         * BufferView_pimpl.C: reset external coord cache before every update.
1528         This means the coord cache only contains valid entries.
1529
1530 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1531
1532         bug 1096
1533         * BufferView_pimpl.C (getInsetByCode): move function out of class
1534         and change in to a template in anon namespace. Also fix to do what
1535         suits us better.
1536
1537 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1538
1539         bug 1305
1540         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1541         of char
1542         (breakParagraph): rename par to par_offset and use a local
1543         reference. Add code to keep the language over a rebreak.
1544         (breakParagraphConservative): rename par to par_offset, use a
1545         local reference
1546         (mergeParagraph): ditto
1547         (outerHook): ditto
1548         (isFirstInSequence): ditto
1549         (outerFont): rename pit to par_offset
1550
1551         * paragraph.C: ws change
1552         * paragraph.h: ditto
1553         * text3.C: ditto
1554         * text.C: ditto
1555
1556 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1557
1558         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1559         treatment for ']'
1560
1561         * paragraph.C (simpleTeXOnePar): when we have a \item with
1562         optional argument, enclose the argument with curly brackets (in
1563         case it contains a closing square bracket)
1564
1565         * text2.C (editXY):
1566         * text2.C (editXY):
1567         * text3.C (checkInsetHit): constify
1568
1569 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1570
1571         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1572         documents (bug 1629)
1573
1574 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1575
1576         Fix toggling of collapsable insets with the mouse (bug 1558)
1577
1578         * lyxfunc.C (dispatch): adapt to LCursor changes
1579
1580         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1581         make sure that dispatch is not invoked twice
1582
1583         * cursor.C (needsUpdate): new method
1584         (dispatch): return void
1585         (result): new method, to access the DispatchResult of the cursor.
1586
1587 2004-08-13  José Matos  <jamatos@lyx.org>
1588
1589         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1590
1591 2004-08-13  André Pönitz  <poenitz@gmx.net>
1592
1593         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1594
1595         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1596           multiple cells
1597
1598 2004-08-12  André Pönitz  <poenitz@gmx.net>
1599
1600         * text3.C: take out the 'cursor right' form insertInset and only
1601         do it in those places when it is really needed. Fixes crash on
1602         C-m...
1603
1604 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1605
1606         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1607
1608         * BufferView_pimpl.C (setBuffer): initialize the current font of
1609         the underlying LyXText
1610
1611 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1612
1613         * kbsequence.C (print): use UI native formatting for menu
1614         shortcuts
1615
1616         * text.C (insertChar): call Paragraph::insertChar with a font
1617         argument (cosmetic)
1618
1619         * paragraph.C (insertInset, insertChar): the version that takes a
1620         LyXFont argument is now a wrapper around the other one (the
1621         opposite used to be true).
1622
1623         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1624         argument. Font setting is done in Paragraph now.
1625
1626 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1627
1628         * outputparams.h: add new members intitle and lang.
1629
1630         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1631         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1632
1633 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1634
1635         * text3.C (dispatch): remove special handling of button 4 and 5,
1636         it is now taken care of in the frontend code.
1637
1638 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1639
1640         * Spacing.h: add <string> (STLPort compile fix)
1641
1642 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1643
1644         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1645
1646 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1647
1648         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1649         to bool.
1650
1651         * converter.C (showMessage): inherit from unary_function, make
1652         operator() const.
1653
1654         * buffer.C (writeFile): initialize retval
1655
1656         * InsetList.h: rename private variable list to list_
1657         * InsetList.[Ch]: adjust accordingly.
1658
1659 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1660
1661         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1662         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1663         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1664         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1665         * ParagraphParameters.C, LaTeXFeatures.C: replace
1666         "support/std_sstream.h" with <sstream>
1667
1668 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1669
1670         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1671         * lyxsocket.C (LyXServerSocket): ditto
1672         (serverCallback): ditto
1673
1674 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1675
1676         * LaTeXFeatures.C: check release date when loading jurabib.
1677
1678 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1679
1680         * lyxserver.C (startPipe): call register_socket_callback
1681         (endPipe): call unregister_socket_callback
1682
1683 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1684
1685         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1686         (LyXServerSocket): register the callback
1687         (LyXServerSocket): unregister the callback
1688         (fd): delete function
1689         (serverCallback): improve error checking and setup the callbacks.
1690         (dataCallback): change arg to fd.
1691         (writeln): new func (copied fro the client socket) used for server
1692         write to client.
1693         (LyXDataSocket): simplify
1694         (~LyXDataSocket): close ann unregiser callback
1695         (server): delete function
1696         (fd): delete function
1697         (readln): small changes, improve some std::string usage
1698         (writeln): constify a bit
1699
1700 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1701
1702         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1703         Qt frontend
1704
1705 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1706
1707         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1708         after it has been populated
1709
1710 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1711
1712         * text2.C (insertInset): move cursor when inserting inset.
1713
1714 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1715
1716         * kbmap.C (findbindings): a couple of new methods. returns a
1717         container of kb_sequence objects. The real work is done by the
1718         private recursive version
1719         (printbindings): uses findbindings to print out a bracketed list
1720         of bindings (renamed from findbinding).
1721
1722         * MenuBackend.C (binding): use kb_keymap::findbindings
1723
1724         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1725
1726 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1727
1728         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1729
1730 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1731
1732         * paragraph.C (isWord): return true on insets that report
1733         isLetter().
1734
1735         * text.C (getWord): use Paragraph::isWord to decide what is in a
1736         word and what is not; fix bug 1609.
1737
1738 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1739
1740         * tex-strings.C: add "none" to string_paperpackages[], fixes
1741         off-by-one-error in the paperpackage selection.
1742
1743         * lyxlex.[Ch]:
1744         * tex-strings.[Ch]: char const * string[n]
1745         -> char const * const string[]
1746
1747 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1748
1749         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1750         command, return early.
1751
1752 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1753
1754         * debug.h: add DEBUG to enum and fix size of ANY.
1755
1756         * debug.C: add support for Debug::DEBUG
1757         (showTags): cast errorTags.level to unsigned int
1758
1759         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1760         (redoCurrentBuffer): ditto
1761         (updateScrollbar): ditto
1762         * cursor.C (dispatch): ditto
1763         * text2.C (setLayout): ditto
1764         (setFont): ditto
1765         (updateCounters): ditto
1766         (editXY): ditto
1767         (deleteEmptyParagraphMechanism): ditto
1768
1769 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1770
1771         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1772         annotations to cleanup the Makefile slightly.
1773
1774 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1775
1776         * lyxrc.C: do not set user_email to a default value but use empty
1777         instead. The entry used to be translated, which does not work
1778         since at the point where lyxrc is constructed there is no
1779         translation service available
1780
1781         * messages.C (getLocaleDir): remove and use directly
1782         lyx_localedir() instead
1783
1784 2004-06-02  Angus Leeming  <leeming@lyx.org>
1785
1786         Fix crash caused by dereferencing null pointer 'exportdata' in
1787         OutputParams by creating a new ExportData variable on the heap,
1788         storing it in a boost::shared_ptr.
1789         The crash was triggered when generating an Instant Preview
1790         of an external inset.
1791
1792         * Makefile.am: add outputparams.C
1793
1794         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1795         (c-tor): allocate memory to it.
1796
1797         * exporter.C (c-tor): associated changes.
1798
1799 2004-06-01  Angus Leeming  <leeming@lyx.org>
1800
1801         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1802         contains data before calling isInset(0). (Bug 1513.)
1803
1804 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1805
1806         * exporter.C (checkOverwrite): new method
1807         * exporter.C (copyFile): new method
1808         * exporter.C (Export): copy referenced files to the document dir
1809         * exporter.[Ch]: new class ExportedFile
1810         * exporter.[Ch]: new class ExportData. Contains currently the
1811         names of referenced external files
1812         * outputparams.h: add exportdata member.
1813
1814 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1815
1816         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1817         version.C-tmp
1818
1819 2004-05-19  Angus Leeming  <leeming@lyx.org>
1820
1821         * LaTeXFeatures.C:
1822         * ToolbarBackend.C:
1823         * bufferparams.C:
1824         * lyxfunc.C: small changes due to the introduction of namespace
1825         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1826
1827 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1828
1829         * text3.C (dispatch): supress update when only moving the cursor
1830         * cursor.C (selHandle): remove commented code
1831
1832 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1833
1834         * paragraph.C (startTeXParParams): correct column count
1835         * CutAndPaste.C (pasteSelection): remove const_cast
1836         * output_docbook.C (docbookParagraphs): remove const_cast
1837         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1838         const_cast and return ParagraphList::const_iterator
1839         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1840         * output_plaintext.C (writeFileAscii): remove const_cast
1841         * paragraph.[Ch] (simpleTeXOnePar): make const
1842         * paragraph_funcs.C (outerPar): use const iterators
1843         * paragraph_pimpl.C (validate): use const iterators
1844         * text.C (setHeightOfRow): use const iterators
1845
1846 2004-05-17  Angus Leeming  <leeming@lyx.org>
1847
1848         * lfuns.h:
1849         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1850
1851         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1852         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1853         if the citation engine has changed.
1854
1855 2004-05-14  José Matos  <jamatos@lyx.org>
1856
1857         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1858         if the textclass does not provide it. Have it different for sgml and
1859         xml.
1860         support the language of document.
1861         * output_docbook.C (docbookParagraphs):
1862         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1863         first anchor as the id of the paragraph, remove special case code.
1864         * sgml.C (escapeChar): escape only < & >.
1865
1866 2004-05-14  Angus Leeming  <leeming@lyx.org>
1867
1868         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1869         dependencies on src/frontends/controllers/biblio.h. Define a
1870         CiteEngine_enum wrapper class to enable the enum to be forward
1871         declared.
1872
1873 2004-05-12  Angus Leeming  <leeming@lyx.org>
1874
1875         * buffer.C: up LYX_FORMAT to 234.
1876         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1877         use_numerical_citations with a single biblio::CiteEngine cite_engine
1878         variable.
1879         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1880
1881 2004-05-13  José Matos  <jamatos@lyx.org>
1882
1883         * converter.h:
1884         * converter.C (Converter, readFlags): add xml member.
1885         * outputparams.h: add XML flavor.
1886         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1887
1888 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1889
1890         * lyxfunc.C (dispatch):
1891         (getStatus): fix handling of LFUN_SEQUENCE
1892
1893 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1894
1895         * debug.C (showLevel): do not forget the end-of-line marker
1896
1897 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1898
1899         * kbmap.C (read): do not stop parsing a bind file when an error
1900         occurs (bug 1575)
1901
1902 2004-04-29  Angus Leeming  <leeming@lyx.org>
1903
1904         * cursor.C:
1905         * factory.C:
1906         * pariterator.C:
1907         * text2.C: wrap a bunch of #warning statements
1908         inside #ifdef WITH_WARNINGS blocks.
1909
1910 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1911
1912         * buffer.C: increment format to 233.
1913
1914 2004-04-28  Angus Leeming  <leeming@lyx.org>
1915
1916         * BufferView_pimpl.C:
1917         * lyxfunc.C:
1918         * text3.C:
1919         s/updateToolbar()/updateToolbars()/
1920         s/Toolbar.h/Toolbars.h/
1921
1922 2004-04-28  Angus Leeming  <leeming@lyx.org>
1923
1924         * BufferView.[Ch] (c-tor):
1925         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1926         No longer passes these data to the WorkArea generator.
1927
1928 2004-04-28  Angus Leeming  <leeming@lyx.org>
1929
1930         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1931
1932 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1933
1934         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1935
1936 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1937
1938         * output_latex.C (TeXEnvironment): make sure that there is a line
1939         break before \end{foo} for the last paragraph of a document
1940         (TeXOnePar): if the paragraph is at the end of the document (or
1941         inset) and the language has to be reset, then make sure that the
1942         line break is _before_ the language command, not after (fixes bug
1943         1225); also make sure that the language reset command is the first
1944         thing after the paragraph (to ensure proper nesting of
1945         environments and thus fix bug 1404)
1946
1947 2004-04-21  John Levon  <levon@movementarian.org>
1948
1949         * ToolbarBackend.h:
1950         * ToolbarBackend.C: make "name" be a programmatic name
1951         and a gui_name field.
1952
1953         * lyxfunc.C: display the minibuffer on M-x
1954
1955 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1956
1957         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1958         (bug 1526)
1959
1960 2004-04-19  Angus Leeming  <leeming@lyx.org>
1961
1962         * BufferView_pimpl.C (setBuffer): changed preview interface.
1963
1964         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1965         possible values.
1966
1967 2004-04-19  John Levon  <levon@movementarian.org>
1968
1969         * BufferView_pimpl.C:
1970         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1971
1972 2004-04-05  Angus Leeming  <leeming@lyx.org>
1973
1974         * text.C (redoParagraphs): add call to updateCounters(), thereby
1975         fixing the missing "Figure #:" label from the caption of a
1976         figure float.
1977
1978 2004-04-13  Angus Leeming  <leeming@lyx.org>
1979
1980         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1981         cursor is clicked out of an inset.
1982
1983 2004-04-13  Angus Leeming  <leeming@lyx.org>
1984
1985         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1986         than an InsetOld one.
1987
1988 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1989
1990         * format.[Ch]: add editor to Format
1991         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1992         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1993
1994 2004-04-08  André Pönitz  <poenitz@gmx.net>
1995
1996         * metricsinfo.h: remove PainterInfo::width member
1997
1998 2004-04-08  Angus Leeming  <leeming@lyx.org>
1999
2000         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2001         "\providecommand" rather than "\newcommand", thereby preventing
2002         clashes with packages that define "\boldsymbol" themselves.
2003         Eg, beamer.
2004
2005 2004-04-08  Angus Leeming  <leeming@lyx.org>
2006
2007         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2008         thereby squashing an unnecessary warning.
2009
2010 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2011
2012         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2013         setBuffer()
2014
2015 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2016
2017         * BufferView.C (setCursor): call redoParagraph (some insets could
2018         have been opened)
2019         (putSelectionAt): remove the 'double update' trick
2020
2021         * BufferView_pimpl.C (fitCursor): call refreshPar
2022         (workAreaDispatch): remove an uneeded update call
2023         (dispatch): remove some manual update calls
2024
2025         * cursor.[Ch]: remove cached_y_, updatePos
2026         (selHandle): set noUpdate when appropriate
2027
2028         * lyxfunc.C (dispatch): track if we need an update
2029
2030         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2031
2032         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2033         (paintSelection): cheap optimization, do not call cursorX when not
2034         needed
2035         (paintPars): change signature
2036         (refreshPar): add
2037         (paintText): adjust
2038         (paintTextInset): adjust
2039
2040         * text.C: adjust
2041
2042 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2043
2044         * lengthcommon.C: compilation fix: remove explicit array size from
2045         unit_name[] and friends
2046
2047 2004-04-05  Angus Leeming  <leeming@lyx.org>
2048
2049         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2050
2051         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2052         present only for the preferences dialog.
2053         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2054
2055 2004-04-05  Angus Leeming  <leeming@lyx.org>
2056
2057         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2058         to enable the frontends to export changes to lyxrc correctly.
2059
2060         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2061
2062 2004-04-07  André Pönitz  <poenitz@gmx.net>
2063
2064         * cursor.[Ch] (selClear, adjust): remove math
2065
2066         * cursor_slice.C: more agressive assert
2067
2068         * lyxfunc.C:
2069         * BufferView_pimpl.C: rework mouse event dispatch
2070
2071         * dociterator.C:
2072         * paragraph.C:
2073         * text2.C:
2074         * text3.C: adjust
2075
2076 2004-04-05  André Pönitz  <poenitz@gmx.net>
2077
2078         * cursor.[Ch] (valign, halign...): remove unneeded functions
2079
2080 2004-04-05  Angus Leeming  <leeming@lyx.org>
2081
2082         * lyxlength.[Ch] (unit_name et al.): const-correct.
2083
2084 2004-04-05  Angus Leeming  <leeming@lyx.org>
2085
2086         * BufferView_pimpl.C:
2087         * buffer.C:
2088         * counters.C:
2089         * cursor.C:
2090         * lyxfunc.C
2091         * paragraph.C:
2092         * pariterator.C:
2093         * text.C:
2094         * text2.C:
2095         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2096
2097 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2098
2099         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2100
2101 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2102
2103         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2104         * BufferView_pimpl.[Ch] (getStatus)
2105         * BufferView.[Ch] (getStatus): add
2106         * lyxfunc.C (getStatus): move lfuns handled in
2107         BufferView::dispatch to te function above
2108         * Cursor.C (setSelection): set selection() = true
2109
2110 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2111
2112         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2113
2114 2004-03-31  Angus Leeming  <leeming@lyx.org>
2115
2116         * lyxfunc.C (dispatch): Fall through to the generic
2117         Dialogs::show("preamble").
2118
2119 2004-03-31  Angus Leeming  <leeming@lyx.org>
2120
2121         * lyxfunc.C (dispatch): Fall through to the generic
2122         Dialogs::show("spellchecker").
2123
2124 2004-03-31  Angus Leeming  <leeming@lyx.org>
2125
2126         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2127         preferences dialog.
2128
2129 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2130
2131         * BufferView.C
2132         * cursor.[Ch]
2133         * dociterator.[Ch]:
2134         * insetiterator.[Ch]:
2135         * lyxfind.C:
2136         * lyxfunc.C:
2137         * pariterator.[Ch]:
2138         * text2.C:
2139         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2140
2141 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2142
2143         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2144         insets where we are putting the cursor.
2145
2146 2004-03-31  Angus Leeming  <leeming@lyx.org>
2147
2148         * lfuns.h:
2149         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2150
2151         * lyxrc.[Ch] (read, write): overloaded member functions taking
2152         a std::[io]stream arguments.
2153
2154         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2155
2156 2004-03-31  Angus Leeming  <leeming@lyx.org>
2157
2158         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2159         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2160
2161         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2162         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2163
2164 2004-03-31  Angus Leeming  <leeming@lyx.org>
2165
2166         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2167         the LFUN_ALL_INSETS_TOGGLE code.
2168
2169 2004-03-30  Angus Leeming  <leeming@lyx.org>
2170
2171         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2172         has died. Fall through to the generic Dialogs::show("document").
2173
2174 2004-03-30  Angus Leeming  <leeming@lyx.org>
2175
2176         * lfuns.h:
2177         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2178         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2179
2180         * lyxfunc.C (getStatus, dispatch): define the actions for these
2181         lfuns. Little more than a cut and pste job from ControlDocument.C
2182
2183         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2184
2185 2004-03-30  Angus Leeming  <leeming@lyx.org>
2186
2187         * lfuns.h:
2188         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2189         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2190
2191         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2192         open/closed state of ollapsable insets. Usage:
2193
2194         all-inset-toggle <state> <name>, where
2195         <state> == "open" || "closed" || "toggle" and
2196         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2197
2198         * lyxtext.h, text2.C (toggleInset): removed.
2199
2200         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2201         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2202         now passes LFUN_INSET_TOGGLE to the found inset.
2203
2204         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2205         is now invoked as "all-insets-toggle toggle branch".
2206
2207 2004-03-30  Angus Leeming  <leeming@lyx.org>
2208
2209         * dociterator.C:
2210         * insetiterator.C:
2211         * pariterator.[Ch]: added/corrected header blurb.
2212
2213 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2214
2215         * dociterator.[Ch]: add an inset_ member
2216         (backwardPos): implemented
2217         (backwardPos, forwardPos): use inset_ when the stack is empty.
2218         (doc_iterator_begin, doc_iterator_end): implemented
2219         * pariterator.[Ch]: adjust, add begin, end
2220         * insetiterator.[Ch]: adjust, add begin, end
2221         * cursor.C:
2222         * document.C:
2223         * BufferView.C:
2224         * BufferView_pimpl.C:
2225         * CutAndPaste.C: adjust
2226
2227 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2228
2229         * buffer.C: increment file format to 232.
2230         * LaTeXFeatures.C: add bibtopic package.
2231         * bufferparams.[Ch]: param \use_bibtopic.
2232
2233         * lyxrc.[Ch]: add lyxrc bibtex_command
2234         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2235
2236         * buffer.C: increment file format to 231.
2237
2238 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2239
2240         * dociterator.C: implement forwardPar
2241         * iterators.[Ch]: remove, replaced by
2242         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2243         * BufferView.C:
2244         * BufferView_pimpl.C:
2245         * CutAndPaste.C:
2246         * buffer.C:
2247         * bufferview_funcs.C:
2248         * cursor.C:
2249         * lyxfind.C
2250         * lyxfunc.C
2251         * paragraph_funcs.C
2252         * toc.C:
2253         * Makefile.am: adjust
2254
2255 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2256
2257         * CutAndPaste.C (pasteSelection): fix 2 crashes
2258         (eraseSelection): fix a crash
2259         * paragraph_funcs.C: remove a warning
2260
2261 2004-03-28  Angus Leeming  <leeming@lyx.org>
2262
2263         * lfuns.h:
2264         * LyXAction.C (init): new LFUN_PRINT.
2265
2266         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2267
2268 2004-03-27  Angus Leeming  <leeming@lyx.org>
2269
2270         * lfuns.h:
2271         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2272
2273         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2274
2275 2004-03-27  Angus Leeming  <leeming@lyx.org>
2276
2277         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2278         insetlist always contains non-null pointers to insets.
2279
2280 2004-03-26  Angus Leeming  <leeming@lyx.org>
2281
2282         * src/BufferView_pimpl.C:
2283         * src/CutAndPaste.C:
2284         * src/buffer.C:
2285         * src/iterators.C:
2286         * src/output_plaintext.C:
2287         * src/outputparams.h:
2288         * src/paragraph_funcs.C:
2289         * src/rowpainter.C:
2290         * src/text.C:
2291         * src/text2.C:
2292         * src/frontends/controllers/ControlErrorList.C:
2293         * src/frontends/gtk/FileDialogPrivate.C:
2294         * src/frontends/gtk/GPainter.C:
2295         * src/frontends/gtk/GToolbar.C:
2296         * src/frontends/qt2/QRef.C:
2297         * src/mathed/math_scriptinset.C: squash compiler warnings.
2298
2299 2004-03-26  Angus Leeming  <leeming@lyx.org>
2300
2301         * ispell.C (LaunchIspell::start):
2302         * lyx_cb.C (AutoSaveBuffer::start):
2303         invoke run(DontWait) rather than runNonBlocking().
2304
2305 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2306
2307         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2308
2309 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2310
2311         * kbsequence.C (print): adjust
2312
2313         * kbmap.C (printKeySym): rename and change signature
2314         (printKey): use LyXKeySym::print()
2315
2316 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2317
2318         * undo.C: add using std::advance to compile for stlport
2319
2320 2004-03-24  Angus Leeming  <leeming@lyx.org>
2321
2322         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2323         it leads to a crash when no buffer is present.
2324
2325 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2326             Martin Vermeer  <martin.vermeer@hut.fi>
2327
2328         * lyxfunc.C (dispatch):
2329         * bufferparams.C (readToken): use the new LColor::setColor
2330
2331         * LColor.[Ch] (setColor): new version that takes two strings as
2332         argument and creates a new color entry if necessary
2333
2334 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2335
2336         * buffer.C (makeLaTeXFile): if the main latex file that is
2337         processed is usually a subdocument of some master, then pretend
2338         for a while that it is actually the master
2339
2340 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2341
2342         * buffer.C (getLabelList):
2343         (getBibkeyList): use getMasterBuffer()
2344         (getMasterBuffer): new method. Returns the main document in the
2345         case where one is using included documents.
2346
2347 2004-03-25  André Pönitz  <poenitz@gmx.net>
2348
2349         * Makefile.am:
2350         * iterators.[Ch]:
2351         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2352
2353         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2354
2355         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2356         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2357
2358         * ParameterStruct.h: merge with ParagraphParameters
2359
2360         * lyxtext.h: remove LyXText::parOffset() and getPar()
2361
2362         * text3.C: Remove all 'manual' update calls. We do now one per user
2363         interaction which is completely sufficient.
2364
2365         * Bidi.C:
2366         * BufferView.[Ch]:
2367         * BufferView_pimpl.C:
2368         * FontIterator.[Ch]:
2369         * MenuBackend.C:
2370         * ParagraphParameters.[Ch]:
2371         * buffer.C:
2372         * buffer.h:
2373         * bufferlist.C:
2374         * cursor.[Ch]:
2375         * cursor_slice.[Ch]:
2376         * dociterator.[Ch]:
2377         * errorlist.[Ch]:
2378         * factory.C:
2379         * lfuns.h:
2380         * lyxfind.C:
2381         * lyxfunc.C:
2382         * output_docbook.[Ch]:
2383         * output_latex.[Ch]:
2384         * output_linuxdoc.[Ch]:
2385         * output_plaintext.[Ch]:
2386         * paragraph.[Ch]:
2387         * paragraph_funcs.[Ch]:
2388         * paragraph_pimpl.[Ch]:
2389         * rowpainter.C:
2390         * tabular.[Ch]:
2391         * text.C:
2392         * text2.C:
2393         * toc.C:
2394         * undo.[Ch]: adjust
2395
2396         * frontends/controllers/ControlDocument.C:
2397         * frontends/controllers/ControlErrorList.C:
2398         * frontends/controllers/ControlSpellchecker.C:
2399         * insets/inset.C:
2400         * insets/inset.h:
2401         * insets/insetbase.h:
2402         * insets/insetbibitem.C:
2403         * insets/insetbox.C:
2404         * insets/insetbranch.C:
2405         * insets/insetcaption.C:
2406         * insets/insetcharstyle.C:
2407         * insets/insetcharstyle.h:
2408         * insets/insetcollapsable.C:
2409         * insets/insetcollapsable.h:
2410         * insets/insetert.C:
2411         * insets/insetfloat.C:
2412         * insets/insetfoot.C:
2413         * insets/insetmarginal.C:
2414         * insets/insetnote.C:
2415         * insets/insetoptarg.C:
2416         * insets/insettabular.C:
2417         * insets/insettext.C:
2418         * insets/insettext.h:
2419         * insets/insetwrap.C:
2420         * mathed/math_mboxinset.C:
2421         * mathed/math_nestinset.C:
2422         * mathed/math_scriptinset.C:
2423         * mathed/math_scriptinset.h:
2424         * support/types.h:
2425
2426 2004-03-24  Angus Leeming  <leeming@lyx.org>
2427
2428         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2429         deal with any child processes that have finished but are waiting to
2430         communicate this fact to the rest of LyX.
2431
2432 2004-03-24  Angus Leeming  <leeming@lyx.org>
2433
2434         64-bit compile fixes.
2435
2436         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2437         (c-tor): pass lyx::pos_types rather than ints.
2438
2439         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2440         lyx::pos_type.
2441
2442         * text.C (Delete): compile fix.
2443         (getPar): ensure that function declaration is the same as that in
2444         the header file.
2445
2446 2004-03-23  Angus Leeming  <leeming@lyx.org>
2447
2448         * ispell.C (LaunchIspell):
2449         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2450         a boost::shred_ptr rather than a std::auto_ptr.
2451
2452 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2453
2454         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2455         handle LFUN_FILE_INSERT_*
2456
2457         * lyxrc.C (setDefaults, getDescription, output, read):
2458         * lyxrc.h: remove ps_command
2459
2460 2004-03-22  Angus Leeming  <leeming@lyx.org>
2461
2462         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2463         Ensure that error_handler is processed once only and that all data
2464         is saved before attempting to output any warning messages.
2465
2466         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2467
2468 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2469
2470         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2471
2472 2004-03-19  André Pönitz  <poenitz@gmx.net>
2473
2474         * cursor.[Ch] (reset): take main text inset as argument
2475
2476         * BufferView: adjust
2477         * BufferView_pimpl.C: adjust
2478
2479         * paragraph.[Ch]: fix completely broken operator=()
2480
2481 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2482
2483         * LColor.C (getFromLyXName): make sure that the color name is used
2484         as lowercase.
2485
2486 2004-03-17  Angus Leeming  <leeming@lyx.org>
2487
2488         * lfuns.h:
2489         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2490
2491         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2492         dialog and to kill a forked process.
2493
2494 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2495
2496         * text2.C (setCursorFromCoordinates): fix font problem
2497
2498 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2499
2500         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2501         bogus "rebuild cursor" code
2502
2503 2004-03-11  André Pönitz  <poenitz@gmx.net>
2504
2505         * buffer.[Ch]: use InsetText instead of LyXText as container for
2506         the main lyx text.
2507
2508         * dociterator.[Ch]: drop the BufferView * member which is not needed
2509         anymore after the change to buffer.C
2510
2511         * paragraph_funcs.C:
2512         * text.C:
2513         * text2.C:
2514         * BufferView.[Ch]:
2515         * BufferView_pimpl.[Ch]:
2516         * cursor.[Ch]:
2517         * cursor_slice.[Ch]: adjust
2518
2519         * text3.C: fix bug in mathDispatch
2520
2521 2004-03-08  André Pönitz  <poenitz@gmx.net>
2522
2523         * undo.[Ch]: use 'StableDocumentIterator' as base for
2524         the Undo struct.
2525
2526 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2527
2528         * LaTeXFeatures.C:
2529         * bufferparams.[Ch]: add jurabib support and param.
2530
2531         * LaTeX.C: add FIXME/comment.
2532
2533 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2534
2535         * buffer.C: increment file format to 230.
2536
2537 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2538
2539         * cursor.C (dispatch): avoid infinite loops
2540
2541 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2542
2543         * rowpainter.C (paintSelection): fix x coordinates
2544
2545 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2546
2547         * text.C (rowBreakPoint): fix breaking before displayed insets
2548
2549 2004-03-01  André Pönitz  <poenitz@gmx.net>
2550
2551         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2552
2553         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2554
2555         * Makefile.am:
2556         * BufferView.C:
2557         * BufferView_pimpl.C:
2558         * buffer.C:
2559         * lyxfind.C:
2560         * lyxfunc.C:
2561         * text.C:
2562         * text2.C:
2563         * text3.C: adjust
2564
2565 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2566
2567         * lyxtext.h:
2568         * text.C:
2569         * text2.C:
2570         * rowpainter.C:
2571         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2572         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2573
2574 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2575
2576         * Bidi.[Ch] (computeTables): const correctness
2577         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2578         fill_hfill, fill_label_hfill and x from Row
2579         * lyxtext.h: prepareToPrint returns a RowMetrics
2580         * rowPainter.C: adjust
2581         * text.C (prepareToPrint): use width, not textWidth. adjust
2582         (redoParagraphInternal, cursorX): adjust
2583         * text2.C (getColumnNearX): adjust
2584         (init): put a default value to the top LyXText::width
2585
2586 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2587
2588         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2589
2590 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2591
2592         * lyxtext.h: add FontIterator class
2593
2594         * text.C (FontIterator, operator*, operator->, operator++): add
2595         (rowBreakPoint, setRowWidth): adjust (fixing a
2596         rebreaking bug)
2597
2598 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2599
2600         * BufferView_pimpl.C (workAreaDispatch): allow also
2601         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2602
2603 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2604
2605         * text.C (rowBreakPoint): fix a bug showing with very large insets
2606
2607 2004-02-25  André Pönitz  <poenitz@gmx.net>
2608
2609         * text3.C:
2610         * cursor.[Ch]: move some mathed specific code to mathed
2611
2612 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2613
2614         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2615         use_tempdir in preferences
2616         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2617         tempfile creation
2618         * lyx_main.C: ensure that tempdir is valid
2619         * lyxlex.h: correct typo
2620         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2621         * paragraph.[Ch] (isMultiLingual): make const
2622         * cursor.[Ch] (openable): make const
2623
2624 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2625
2626         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2627
2628 2004-02-20  André Pönitz  <poenitz@gmx.net>
2629
2630         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2631
2632         * cursor.[Ch]: prepare for localized getStatus()
2633
2634         * lyxtext.h:
2635         * tabular.C:
2636         * text.C:
2637         * text2.C:
2638         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2639
2640 2004-02-20  André Pönitz  <poenitz@gmx.net>
2641
2642         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2643
2644 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2645
2646         * text2.C (setCursorFromCoordinates): switch to absolute coords
2647         (cursorUp): adjust
2648         (cursorDown): adjust
2649         * text3.C (dispatch): adjust
2650
2651 2004-02-16  André Pönitz  <poenitz@gmx.net>
2652
2653         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2654           insets/ChangeLog)
2655
2656         * cursor_slice.[Ch]: remove unneeded acessor function
2657
2658         * lyxtext.h: rename rtl() to isRTL()
2659
2660         * rowpainter.C:
2661         * tabular.C:
2662         * text.C:
2663         * text2.C:
2664         * text3.C: adjust
2665
2666 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2667
2668         * rowpainter.C (paintSelection): coord fix
2669
2670 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2671
2672         * Spacing.C: compile fix
2673
2674 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2675
2676         * cursor.C (dispatch): restore current_ before returning
2677
2678 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2679
2680         * text2.C (cursorUp, cursorDown): fix coords
2681         (moveUp): fix crash
2682
2683 2004-02-12  André Pönitz  <poenitz@gmx.net>
2684
2685         * lyxtext.h:
2686         * text.C:
2687         * text2.C:
2688         * text3.C: add LCursor & parameter to most cursor movement functions
2689           remove usage of LyXText::cursorRow() and cursorPar()
2690
2691         * cursor.[Ch]: add textRow() needed members
2692
2693         * BufferView.C:
2694         * BufferView_pimpl.C:
2695         * paragraph.[Ch]:
2696         * BufferView.C:
2697         * BufferView_pimpl.C: adjust
2698
2699 2004-02-11  André Pönitz  <poenitz@gmx.net>
2700
2701         * lyxfunc.C:
2702         * BufferView.[Ch]:
2703         * BufferView_pimpl.C: shift undo/redo handling
2704
2705         * cursor.[Ch]: fix mathed crash
2706
2707         * lyxfind.C:
2708         * lyxtext.h: move selectionAsText to LCursor
2709
2710         * output_latex.C:
2711         * paragraph.C:
2712         * text.C:
2713         * text2.C:
2714         * text3.C: adjust
2715
2716         * rowpainter.C: fix excessive drawing
2717
2718 2004-02-06  André Pönitz  <poenitz@gmx.net>
2719
2720         * BufferView.[Ch]:
2721         * BufferView_pimpl.[Ch]:
2722         * text3.C: move some text specific LFUN handling
2723
2724 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2725
2726         * text3.C (checkInsetHit): adjust coords
2727         * text2.C (getColumnNearX): adjust coords
2728         (edit): adjust coords
2729         * text.C (getRowNearY): add two asserts
2730
2731 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2732
2733         * converter.C:
2734         * format.C: add using std::distance to compile on gcc 2.95/stlport
2735
2736 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2737
2738         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2739
2740 2004-02-04  André Pönitz  <poenitz@gmx.net>
2741
2742         * BufferView.[Ch] (insertInset):
2743         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2744
2745         * text2.C:
2746         * text3.C: adjust
2747
2748 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2749
2750         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2751         on the default clause of the switch
2752         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2753         wasn't catched by LCursor::dispatch
2754
2755 2004-02-03  André Pönitz  <poenitz@gmx.net>
2756
2757         * BufferView.C:
2758         * cursor.[Ch]: some additional asserts
2759
2760         * undo.[Ch]: remove LyXText dependency in interface
2761
2762         * lyxfunc.C: adjust
2763
2764         * lyxtext.h (firstPar, lastPar): remove dead functions
2765
2766         * text.C:
2767         * text2.C:
2768         * text3.C:
2769         * paragraph.[Ch]: adjust
2770
2771 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2772
2773         * lyxfind.C (find): fix argument order in call to ::find
2774
2775 2004-02-02  André Pönitz  <poenitz@gmx.net>
2776
2777         * cursor.[Ch]: remove direct access to anchor
2778
2779         * text.C: remove findText() hack
2780
2781 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2782
2783         * iterators.[Ch] (lockPath): remove in favour of...
2784         * BufferView.[Ch] (setCursor): this addition
2785         * BufferView.C (putSelectionAt): adjust
2786         * undo.C (performUndoOrRedo): adjust
2787         * lyxfunc.C (dispatch): adjust
2788
2789 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2790
2791         * iterators.C (lockPath): add a missing slice
2792         * undo.C (performUndoOrRedo): remove redundant positioning code
2793
2794 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2795
2796         * vc-backend.C (scanMaster): ";" -> ';'
2797
2798 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2799
2800         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2801         std::binary_function
2802
2803         * lyxtextclass.C (compare_name): rename to...
2804         (LayoutNamesEqual): ...this
2805
2806         * lyxlex_pimpl.C (compare_tags): inherit from
2807         std::binary_function, put back into anon namespace
2808
2809         * lyxfind.C (MatchString): inherig from std::binary_function
2810         (findChange): use empty() istead of !size()
2811
2812         * format.C (FormatNamesEqual): new functor
2813         (getFormat): use it
2814         (getNumber): use it
2815         (add): use it
2816         (erase): use it
2817         (setViewer): use it
2818
2819         * converter.C (compare_Converter): rename to...
2820         (ConverterEqual): ...this, and fixup a bit.
2821         (getConverter): use it, and make function const
2822         (getNumber): use it, and make function const
2823         (add): use it
2824         (erase): use it:
2825
2826         * bufferlist.C: add using boost::bind
2827
2828         * MenuBackend.C (MenuNamesEqual): new functor
2829         (hasMenu): use it, and make function const
2830         (hasSubmenu): use nested bind to get rid of compare_memfun.
2831
2832 2004-01-30  André Pönitz  <poenitz@gmx.net>
2833
2834         * BufferView_pimpl.C:
2835         * cursor.C:
2836         * cursor.h:
2837         * cursor_slice.[Ch]:
2838         * lyxfunc.C:
2839         * lyxtext.h:
2840         * paragraph_funcs.C:
2841         * paragraph_funcs.h:
2842         * rowpainter.C:
2843         * text.C:
2844         * text2.C:
2845         * text3.C: move some of the edit(x,y) handling to the insets
2846         some coordinate changes.
2847
2848 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2849
2850         * text.C: add using statements for std::advance and std::distance
2851
2852         * paragraph.C: add using statement for std::distance
2853
2854         * lyxfind.C: add using statement for std::advance
2855
2856         * cursor.C (region): remove std:: from swap
2857         (openable): use nucleus in stead of operator->
2858
2859         * BufferView.C: add using statements for std::distance and std::swap
2860
2861 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2862
2863         * iterators.C: Remove the pimple, move the needed structures to
2864         the header file. Create accessor for the positions stack.
2865         (asPosIterator): remove function
2866
2867         * PosIterator.C (PosIterator): move constructors to top of file
2868         (PosIterator): reimplement the constructor taking a ParIterator in
2869         terms of setFrom.
2870         (setFrom): new function
2871         (operator!=): inline it
2872
2873 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2874
2875         * lyxfind.C (replaceAll): use std::advance
2876
2877         * iterators.h: inherit from std::iterator.
2878
2879         * PosIterator.C (advance, distance): remove
2880         * PosIterator.h: interit from std::iterator.
2881
2882 2004-01-26  André Pönitz  <poenitz@gmx.net>
2883
2884         * BufferView.[Ch]:
2885         * BufferView_pimpl.[Ch]:
2886         * InsetList.[Ch]:
2887         * PosIterator.[Ch]:
2888         * buffer.h:
2889         * bufferview_funcs.C:
2890         * cursor.[Ch]:
2891         * cursor_slice.h:
2892         * factory.[Ch]:
2893         * iterators.[Ch]:
2894         * lyxfind.C:
2895         * lyxfunc.C:
2896         * lyxtext.h:
2897         * output_docbook.C:
2898         * output_latex.C:
2899         * output_linuxdoc.C:
2900         * output_plaintext.C:
2901         * paragraph.[Ch]:
2902         * paragraph_funcs.[Ch]:
2903         * paragraph_pimpl.[Ch]:
2904         * rowpainter.C:
2905         * tabular.C:
2906         * tabular.h:
2907         * text.C:
2908         * text2.C:
2909         * text3.C: more IU:  dumps most of the rest of the mathcursor
2910     implementation into cursor.[Ch]; "globalize" a bit of it.
2911
2912 2004-01-25  Angus Leeming  <leeming@lyx.org>
2913
2914         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2915
2916 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2917
2918         * LaTeXFeatures.h: add nice_ and nice() const
2919         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2920
2921 2004-01-20  André Pönitz  <poenitz@gmx.net>
2922
2923         * BufferView.[Ch]:
2924         * BufferView_pimpl.C:
2925         * PosIterator.C:
2926         * bufferview_funcs.C:
2927         * cursor.[Ch]:
2928         * cursor_slice.[Ch]:
2929         * factory.C:
2930         * iterators.C:
2931         * lyx_cb.C:
2932         * lyxfind.C:
2933         * lyxfunc.C:
2934         * lyxtext.h:
2935         * rowpainter.C:
2936         * text.C:
2937         * text2.C:
2938         * text3.C:
2939         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2940           LCursor and mathcursor parts to LCursor and InsetBase.
2941
2942 2004-01-15  André Pönitz  <poenitz@gmx.net>
2943
2944         * cursor_slice.[Ch]: add a few covienience functions
2945
2946         * funcrequest.[Ch]: remove BufferView * member
2947
2948         * BufferView_pimpl.C:
2949         * cursor.C:
2950         * factory.[Ch]:
2951         * lyxfind.[Ch]:
2952         * lyxfunc.C:
2953         * lyxtext.h:
2954         * text3.C:
2955         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2956
2957 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2958
2959         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2960         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2961
2962 2004-01-13  André Pönitz  <poenitz@gmx.net>
2963
2964         * textcursor.[Ch]:
2965         * lyxtext.h: hide cursor and selection anchor behind accessor function
2966
2967         * BufferView.C:
2968         * BufferView_pimpl.[Ch]:
2969         * PosIterator.C:
2970         * bufferview_funcs.C:
2971         * cursor.h:
2972         * lyxfind.C:
2973         * lyxfunc.C:
2974         * text.C:
2975         * text2.C:
2976         * text3.C:
2977         * undo.C: adjust
2978
2979         * cursor.h:
2980         * cursor_slice.[Ch]: some integer type changes for inset unification
2981
2982         * lyxcursor.[hC]: remove, it's CursorSlice now.
2983
2984         * Makefile.am:
2985         * BufferView_pimpl.[Ch]:
2986         * bufferview_funcs.C:
2987         * cursor_slice.C:
2988         * lyxtext.h:
2989         * text.C:
2990         * text2.C:
2991         * text3.C:
2992         * textcursor.[Ch]: adjust
2993
2994 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2995
2996         * text2.C (undoSpan): add and use
2997         * text.C (breakParagraph): use undoSpan (fix bug 578)
2998         * lyxtext.h: adjust
2999
3000 2004-01-08  Angus Leeming  <leeming@lyx.org>
3001
3002         * BufferView_pimpl.C (MenuInsertLyXFile):
3003         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3004         * lyxfunc.C (menuNew, open, doImport):
3005         FileFilterList change to the FileDialog open and save functions.
3006
3007 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3008
3009         * ShareContainer.h: make isEqual and isUnique adaptable
3010
3011         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3012
3013 2004-01-07  Angus Leeming  <leeming@lyx.org>
3014
3015         * LyXAction.C:
3016         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3017
3018         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3019
3020         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3021         functions replacing find, replace and replaceAll.
3022
3023         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3024         LFUN_WORDFIND(FORWARD|BACKWARD).
3025
3026 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3027
3028         * text.C (breakParagraph): remove an outdated #warning
3029
3030 2004-01-07  André Pönitz  <poenitz@gmx.net>
3031
3032         * lyxfind.C: somewhat clearer logic
3033
3034         * text.C: prevent crash in cursorX on unitialized row cache
3035
3036 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3037
3038         * lyxcursor.[Ch] (operator>): add
3039         * textcursor.C (selStart, selEnd): use std::min and std::max
3040
3041 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3042
3043         * Chktex.C: include boost/format.hpp
3044
3045 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3046
3047         * InsetList.C: replace functor MathcIt with adaptable functor
3048         InsetTablePosLess
3049         (insetIterator): modify accordingly
3050
3051         * BranchList.h: move the BranchNamesEqual functor here from...
3052         * BranchList.C: ... to here
3053
3054         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3055         SameName and match.
3056         (add): replace a finding loop with std::find_if.
3057
3058 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3059
3060         * output_docbook.C: moving LatexParam functionality into
3061         .layout files
3062
3063 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3064
3065         * buffer.C: increment format to 229.
3066
3067 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3068
3069         * LaTeXFeatures.C:
3070         * lyx_sty.[Ch]: remove minipageindent_def
3071
3072         * LyXAction.C:
3073         * factory.C:
3074         * lfuns.h:
3075         * lyxfunc.C:
3076         * text3.C: remove LFUN_INSET_MINIPAGE
3077
3078 2003-12-28  Angus Leeming  <leeming@lyx.org>
3079
3080         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3081
3082 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3083
3084         * text2.C (setParagraph): fix off-by-one crash
3085
3086 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3087
3088         * output_docbook.C: header stuff for AGU
3089
3090 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3091
3092         * text2.C (redoCursor): remove
3093         * text.C:
3094         * text3.C:
3095         * BufferView_pimpl.C: remove calls to redoCursor and
3096         setCursor(cursor.par(), cursor.pos()) all around
3097
3098 2003-12-15  Angus Leeming  <leeming@lyx.org>
3099
3100         * buffer.C: up the format to 228.
3101
3102 2003-12-15  André Pönitz  <poenitz@gmx.net>
3103
3104         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3105         slices
3106
3107         * Makefile.am:
3108
3109         * BufferView_pimpl.C:
3110         * cursor.[Ch]:
3111         * lyxcursor.[Ch]:
3112         * rowpainter.[Ch]:
3113         * lyxtext.h:
3114         * text.C:
3115         * text2.C:
3116         * text3.C: adjust
3117
3118 2003-12-15  Angus Leeming  <leeming@lyx.org>
3119
3120         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3121         than getFromGUIName to manipulate the color.
3122
3123 2003-12-14  Angus Leeming  <leeming@lyx.org>
3124
3125         * BranchList.[Ch]: minimize the API.
3126         (Branch::getBranch, getColor): now return a 'const &'.
3127         (Branch::setSelected) now returns a bool set to true if the
3128         selection status changes.
3129         (BranchList::clear, size, getColor, setColor, setSelected,
3130         allBranches, allSelected, separator): removed.
3131         (BranchList::find): new functions, returning the Branch with
3132         the given name.
3133         (BranchList::add, remove): return a bool indicating that
3134         the operation was successful.
3135
3136         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3137         new InsetBranch::isBranchSlected member function.
3138
3139         * LColor.[Ch]: mimimize the API.
3140         (fill): renamed as addColor and made private.
3141         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3142         versions of these functions taking a string arg have been removed.
3143
3144         * bufferparams.C (readToken):
3145         * lyxfunc.C (dispatch):
3146         * lyxrc.C (read): changes due to the altered BranchList and
3147         LColor APIs.
3148
3149         * factory.C (createInset, readInset): changes due to altered
3150         InsetBranch c-tor.
3151
3152 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3153
3154         * factory.C:
3155         * lyxfunc.C: remove insetminipage. "minipage-insert"
3156         now produces a frameless minipage box inset.
3157
3158 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3159
3160         * textcursor.[Ch] (selStart,selEnd): add new methods
3161         remove selection::start, end, use LyXCursor::operator<
3162         * lyxcursor.[Ch] (operator<): add
3163         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3164         * BufferView.[Ch] (unsetXSel): add
3165         * text2.C (clearSelection): use unsetXSel,adjust
3166         * text.C: adjust
3167         * text3.C: adjust
3168         * rowpainter.C: adjust
3169         * bufferview_funcs.C (put_selection_at): adjust
3170
3171 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3172
3173         * BufferView_pimpl.C: small coord. correction
3174
3175 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3176
3177         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3178         dragging over the splash screen.
3179
3180 2003-12-11  Angus Leeming  <leeming@lyx.org>
3181
3182         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3183         as it is now handled in LyXText::dispatch.
3184
3185         * text3.C (doInsertInset): remove a level of nesting.
3186
3187 2003-12-11  Angus Leeming  <leeming@lyx.org>
3188
3189         * factory.C (createInset): changes due to the changed interface to
3190         InsetCommandMailer::string2params.
3191
3192 2003-12-10  Angus Leeming  <leeming@lyx.org>
3193
3194         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3195         'dialog-show-new-inset <inset name>'
3196
3197 2003-12-10  Angus Leeming  <leeming@lyx.org>
3198
3199         * buffer.C: up the format to 227.
3200
3201         * factory.C: the box inset is now identified simply by 'Box'.
3202
3203 2003-12-10  Angus Leeming  <leeming@lyx.org>
3204
3205         * buffer.C: up the format to 226.
3206
3207         * factory.C: the note inset is now identified simply by 'Note'.
3208
3209 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3210
3211         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3212         when a pit is enough. Standarize a couple of loops.
3213
3214 2003-12-05  Angus Leeming  <leeming@lyx.org>
3215
3216         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3217         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3218         data to the re-worked "log" dialog.
3219
3220 2003-12-03  André Pönitz  <poenitz@gmx.net>
3221
3222         * PosIterator.C:
3223         * iterators.C:
3224         * lyxtext.h:
3225         * output_latex.C:
3226         * paragraph_funcs.C:
3227         * text.C:
3228         * text2.C: use Inset::getText instead of Inset::getParagraph
3229
3230 2003-12-03  André Pönitz  <poenitz@gmx.net>
3231
3232         * buffer.[Ch]:
3233         * lyxtext.h:
3234         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3235         InsetText::read() as LyXText::read()
3236
3237 2003-12-02  Angus Leeming  <leeming@lyx.org>
3238
3239         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3240         type. Add a comment in the implementation that the function uses
3241         the stream's bad() function rather than fail() as the std::streams
3242         would do.
3243
3244 2003-12-02  André Pönitz  <poenitz@gmx.net>
3245
3246         * lyxlex.[Ch]: make interface more similar to std::stream
3247
3248         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3249
3250 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3251
3252         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3253
3254 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3255
3256         * vspace.[Ch]: remove VSpace::NONE
3257
3258 2003-12-01  André Pönitz  <poenitz@gmx.net>
3259
3260         * buffer.[Ch]:
3261         * lyxtext.h: move ParagraphList member to LyXText
3262         rename LyXText::ownerParagraphs to LyXText::paragraph
3263
3264         * CutAndPaste.C:
3265         * bufferview_funcs.C:
3266         * iterators.[Ch]:
3267         * lyx_cb.C:
3268         * paragraph.C:
3269         * rowpainter.C:
3270         * tabular.C:
3271         * text.C:
3272         * text2.C:
3273         * text3.C: adjust
3274
3275         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3276
3277         * undo.C: fix cursor positioning
3278
3279 2003-12-01  John Levon  <levon@movementarian.org>
3280
3281         * BufferView_pimpl.C: fix a crash on exit with
3282         a buffer open
3283
3284 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3285
3286         * BranchList.C: fix setSelected() method.
3287
3288 2003-11-28  André Pönitz  <poenitz@gmx.net>
3289
3290         * ParagraphParameters.[Ch]:
3291         * ParameterStruct.h: remove space above/below from Paragraph to
3292          InsetVSpace
3293
3294         * BufferView_pimpl.C:
3295         * factory.C:
3296         * lyxfunc.C:
3297         * lyxtext.h:
3298         * output_latex.C:
3299         * paragraph.C:
3300         * paragraph_funcs.C:
3301         * rowpainter.[Ch]:
3302         * text.C:
3303         * text2.C:
3304         * text3.C: adjust
3305
3306 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3307
3308         * factory.C: Syntax change for CharStyles
3309
3310 2003-11-28  André Pönitz  <poenitz@gmx.net>
3311
3312         * BufferView.[Ch]:
3313         * BufferView.[Ch]:
3314         * buffer.[Ch]:
3315         * buffer.[Ch]: move LyXText member
3316
3317 2003-11-28  André Pönitz  <poenitz@gmx.net>
3318
3319         * BufferView.[Ch]: make LyXText * text a private member
3320
3321         * BufferView_pimpl.C:
3322         * cursor.C:
3323         * iterators.C:
3324         * lyx_cb.C:
3325         * lyxfind.C:
3326         * lyxtext.h:
3327         * rowpainter.[Ch]:
3328         * text.C:
3329         * text2.C:
3330         * undo.C: adjust
3331
3332         * output_plaintext.C: cleanup
3333
3334 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3335
3336         * buffer.C:
3337         * lyxtextclass.[Ch]: parametrize SGML document header
3338
3339 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3340
3341         * converter.[Ch]:
3342         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3343         getFlavor().
3344
3345 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3346
3347         * text2.C (setFont): rework using PosIterator (no more recursive)
3348         (setCharFont): no more needed
3349         (setLayout): no more selection cursors fiddling (done by redoCursor)
3350         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3351         destroy remaining ones)
3352
3353 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3354
3355         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3356         * lyxtext.h: ditto
3357         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3358         selection cursors
3359         * lyxfunc.C: adjust
3360         * text3.C: adjust + re-allow multi par depth changes
3361         * textcursor.C: simplify a bit
3362
3363 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3364
3365         * src/buffer.C:
3366         * src/lyxlayout.C:
3367         * src/lyxlayout.h:
3368         * src/lyxtext.h:
3369         * src/output_docbook.C:
3370         * src/output_latex.C:
3371         * src/paragraph.C:
3372         * src/paragraph.h:
3373         * src/sgml.C:
3374         * src/sgml.h:
3375         * src/text2.C: Introducing a number of tags parametrizing various
3376         XML formats that we may want to support
3377
3378 2003-11-25  André Pönitz  <poenitz@gmx.net>
3379
3380         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3381
3382         * lyxtext.h (leftMargin/rightMargin): simplify interface
3383
3384         * rowpainter.C:
3385         * text.C:
3386         * text2.C:
3387         * text3.C: adjust
3388
3389 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3390
3391         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3392         master file to any child files. Fixes bug 546.
3393
3394 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3395
3396         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3397
3398 2003-11-24  André Pönitz  <poenitz@gmx.net>
3399
3400         * rowpainter.C: simplification
3401
3402         * text2.C (updateCounters): remove call to redoParagraph on
3403         changed labels as this is far too expensive.
3404
3405 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3406
3407         * converter.C (convert): fix a crash: this function gets
3408         called with buffer == 0 from importer code.
3409
3410 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3411
3412         * text3.C (cursorPrevious): make sure that we do not compare
3413         iterators form different containers.
3414         (cursorNext): ditto
3415
3416         * rowpainter.C (paintSelection): make sure that we do not compare
3417         iterators from different containers.
3418
3419         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3420         iterators from different ParagraphList containers.
3421         [NEXT] ditto
3422
3423         * text2.C (LyXText): change order of initialization slightly
3424         (operator=): new function. copy all variables except cache_par_
3425         (moveUp): make sure that we do not compare iterators from
3426         different ParagraphList constainers.
3427         (moveDown): ditto
3428
3429         * text.C (firstPar): new function
3430         (lastPar): new function
3431         (endPar): new function
3432
3433         * lyxtext.h: move things around and group public functions, public
3434         variables, private functions, private variables
3435
3436 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3437
3438         * factory.C: change call to InsetERT constructor to avoid
3439         additional invocation of method status
3440         * text2.C (toggleInset): remove redundant update() call
3441         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3442         instead of a Bufferview pointer
3443
3444 2003-11-21  André Pönitz  <poenitz@gmx.net>
3445
3446         * rowpainter.C: simplification
3447
3448 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3449
3450         * text3.C (dispatch): make possible to extend a word/row selection
3451         with the mouse
3452
3453 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3454
3455         * lyxtext.h: x0_,y0_ -> xo_,yo_
3456         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3457         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3458         * rowpainter.C (paintRows): paint full paragraphs
3459
3460 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3461
3462         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3463         screen coordinates)
3464
3465 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3466
3467         * lyxtext.h: add x0_, y0_
3468         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3469         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3470
3471 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3472
3473         * text2.C (setCursorIntern): move the x_target update here *
3474         * text3.C: change some bv() to true/false in calls to
3475         cursorUp/Down/Right/Left
3476         * cursor.C: use helper function.
3477
3478 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3479
3480         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3481         * paragraph_funcs.[Ch]: correct comment
3482         * rowpainter.C: do not paint selections away from bv->cursor()
3483         Fix a long standing selection painting bug.
3484         * text3.C: generalize mouse-selection code to LyXTexts other that
3485         top one
3486         * textcursor.C: do not use y coords if we can use par offsets
3487
3488 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3489
3490         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3491         cursor position after e.g. inset insert)
3492
3493 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3494
3495         * lyxfind.C (replace): adjust to locking removal + some
3496         code simplification
3497
3498 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3499
3500         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3501         of the path
3502
3503 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3504
3505         * lyxlayout.[Ch]:
3506         * output_docbook.C: XML sanitation: new layout
3507         parameters InnerTag and CommandDepth
3508
3509 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3510
3511         * BufferView_pimpl.C:
3512         * factory.C:
3513         * text3.C: Fix the insertion and modification of button-style
3514         insets
3515
3516 2003-11-13  André Pönitz  <poenitz@gmx.net>
3517
3518         * InsetList.[Ch]: remove deleteLyXText
3519
3520         * paragraph.[Ch]: cache beginOfBody position
3521
3522         * Bidi.C:
3523         * text.C:
3524         * text2.C:
3525         * text3.C: remove superfluous update() calls
3526
3527         * vspace.C: cleanup
3528
3529 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3530
3531         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3532         * BufferView.C (fitLockedInsetCursor): remove
3533         * cursor.[Ch] (getDim): add
3534         * text.C (getRowNearY): add faster version
3535         * text3.C: remove some update calls
3536
3537 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3538
3539         * LaTeXFeatures.C:
3540         * LyXAction.C:
3541         * MenuBackend.C:
3542         * MenuBackend.h:
3543         * dispatchresult.h:
3544         * factory.C:
3545         * lfuns.h:
3546         * lyxfunc.C:
3547         * lyxtextclass.C:
3548         * lyxtextclass.h:
3549         * text3.C: The Character Style /XML short element patch.
3550
3551 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3552
3553         * text3.C:
3554         * factory.C: Small step to solving 'unable to insert some insets'
3555         problem
3556
3557 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3558
3559         * cursor.[Ch] (updatePos): new function for updating the y
3560         position of the tip inset
3561         * bufferview_funcs.C (put_selection_at):
3562         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3563
3564 2003-11-11  André Pönitz  <poenitz@gmx.net>
3565
3566         * text.C: remove big comment on invalid Paragraph pointers as it is
3567         not valid anymore
3568
3569 2003-11-11  André Pönitz  <poenitz@gmx.net>
3570
3571         * text_funcs.[Ch]: merge with ...
3572
3573         * text.C: ... this
3574
3575         * lyxtext.h:
3576         * text2.C:
3577         * text3.C: adjust
3578
3579         * Makefile.am: remove text_funcs.[Ch]
3580
3581 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3582
3583         * cursor.C (getPos): return absolute cached y coord
3584
3585         * BufferView_pimpl.C (fitCursor): new simplistic code
3586         (workAreaDispatch): add a fitCursor call
3587
3588 2003-11-10  André Pönitz  <poenitz@gmx.net>
3589
3590         * BufferView.[Ch]:
3591         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3592
3593 2003-11-10  André Pönitz  <poenitz@gmx.net>
3594
3595         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3596         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3597         indicate that the cursor needs to leave an inset
3598
3599         * lyxtext.h: remove inset locking
3600
3601         * cursor.[Ch]: re-implement functionality provided by inset locking
3602
3603         * BufferView.[Ch]:
3604         * BufferView_pimpl.[Ch]:
3605         * LyXAction.C:
3606         * bufferview_funcs.[Ch]:
3607         * factory.C:
3608         * funcrequest.[Ch]:
3609         * iterators.C:
3610         * lyx_cb.C:
3611         * lyxfind.C:
3612         * lyxfunc.C:
3613         * text.C:
3614         * text2.C:
3615         * text3.C:
3616         * undo.C: adjust
3617
3618 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3619
3620         * PosIterator.[Ch]: replace the stack with a vector, add inset
3621         accesor
3622         * iterators.[C]: adjust
3623
3624 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3625
3626         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3627         replaced
3628         * paragraph_funcs.C (readParToken): put the correct id in the
3629         error item, not the id of the top paragraph
3630
3631 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3632
3633         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3634         * bufferview_funcs.C (put_selection_at): use the above
3635
3636 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3637
3638         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3639
3640 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3641
3642         * output_linuxdoc.h:
3643         * output_plaintext.h:
3644         * output.h:
3645         * output_docbook.h: add #include statements
3646
3647 2003-11-05  José Matos  <jamatos@lyx.org>
3648
3649         * output_docbook.[Ch]:
3650         * output_latex.[Ch]:
3651         * output_linuxdoc.[Ch]:
3652         * output_plaintext.[Ch]: New files for output formats.
3653         * output.[Ch]: New file for helper functions.
3654
3655         * buffer.[Ch]:
3656         * paragraph_funcs.[Ch]: output functions moved to new files.
3657
3658         * outputparams.h: rename of latexrunparams.h
3659
3660         * LaTeX.[Ch]:
3661         * buffer.[Ch]:
3662         * bufferlist.[Ch]:
3663         * converter.[Ch]:
3664         * exporter.C:
3665         * paragraph.[Ch]:
3666         * paragraph_funcs.[Ch]:
3667         * paragraph_pimpl.[Ch]:
3668         * tabular.[Ch]: rename ascii to plaintext
3669         and LatexRunParams to OutputParams.
3670
3671 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3672
3673         * iterators.[Ch] (text): require bv argument
3674         * undo.C (recordUndo):
3675         * lyxfunc.C (dispatch):
3676         * bufferview_funcs.C (put_selection_at): adjust
3677
3678 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3679
3680         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3681
3682 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3683
3684         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3685         nestings
3686
3687 2003-11-04  André Pönitz  <poenitz@gmx.net>
3688
3689         * cursor.[Ch]: restructure
3690
3691         * BufferView.[Ch]:
3692         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3693
3694         * iterators.[Ch] (asCursor): remove
3695
3696         * lfuns.h: remove LFUN_INSET_EDIT
3697
3698         * lyxfunc.C:
3699         * tabular.C:
3700         * text.C:
3701         * text2.C:
3702         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3703
3704 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3705
3706         * lyxfind.[Ch]: complete overhaul
3707         * BufferView_pimpl.C:
3708         * lyxfunc.C: adjust
3709         * paragraph.[Ch] (insert): add
3710
3711 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3712
3713         * BufferView.[Ch]:
3714         * lyxtext.h:
3715         * text.C: remove dead spellcheck code
3716
3717 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3718
3719         * dispatchresult.h: add a val setter
3720
3721         * cursor.C (dispatch): use a tempvar for data_[i]
3722
3723 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3724
3725         * PosIterator.[Ch]: compile fix
3726
3727 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3728
3729         * text.C (cursorPar): deactivate the cursor cache
3730
3731 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3732
3733         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3734
3735 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3736
3737         * text3.C (dispatch): adjust for new DisptchResult semantics.
3738
3739         * lyxfunc.C (dispatch): handle update when return from
3740         Cursor::dispatch, adjust for new DispatchResult semantics.
3741
3742         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3743         DispatchResult(true) mean to not update. Add class functions for
3744         setting dispatched and update, as well as reading.
3745
3746         * cursor.C (dispatch): don't handle update here
3747
3748 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3749
3750         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3751         * trans_mgr.C: adjust
3752
3753         * paragraph_funcs.C (readParToken): exception safety
3754
3755         * lyxvc.h: store the vcs pointer in a scoped_ptr
3756         * lyxvc.C: adjust
3757
3758         * lyxsocket.C (serverCallback): exception safety
3759
3760         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3761
3762         * ispell.C (clone): make it return a auto_ptr
3763
3764         * factory.C (createInset): exception safety
3765         (readInset): exception safety
3766
3767         * bufferlist.C (newBuffer): exception safety
3768
3769         * Thesaurus.C (Thesaurus): use initialization for aik_
3770
3771         * MenuBackend.C (expandToc): exception safety.
3772
3773 2003-11-03  André Pönitz  <poenitz@gmx.net>
3774
3775         * buffer.C:
3776         * buffer.h:
3777         * bufferview_funcs.C: remove getInsetFromId()
3778
3779         * lyxcursor.[Ch]:
3780         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3781
3782         * lyxfunc.C:
3783         * text2.C:
3784         * text3.C: adjust
3785
3786 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3787
3788         * PosIterator.C (distance, advance): new
3789         * bufferview_funcs.[Ch] (put_selection_at): new
3790         * iterators.[Ch] (lockPath): new
3791
3792 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3793
3794         * iterators.[Ch] (asPosIterator): added
3795         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3796         * PosIterator.[Ch]: added
3797
3798 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3799
3800         * text3.C:
3801         * lyxfunc.C:
3802         * cursor.C (dispatch):
3803         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3804
3805         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3806         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3807         contructor, add a class function dispatched. Remove operator>=
3808
3809 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3810
3811         * debug.C: only use the default constructor for debugstream
3812         (lyxerr) here.
3813
3814         * main.C (main): include debug.h and setup the lyxerr streambuf
3815         here.
3816
3817 2003-10-31  José Matos  <jamatos@lyx.org>
3818
3819         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3820
3821         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3822         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3823         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3824         * paragraph_pimpl.C (simpleTeXSpecialC):
3825         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3826         add LatexRunParams argument.
3827
3828         * exporter.C (Export): change call accordingly.
3829
3830         * latexrunparams.h: add new member to take care of the other backends.
3831 2003-10-30  José Matos  <jamatos@lyx.org>
3832
3833         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3834         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3835         factorise code for paragraph output.
3836         * buffer.[Ch]:
3837         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3838         move functions.
3839
3840 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3841
3842         * text3.C (dispatch):
3843         * lyxfunc.C (dispatch):
3844         * cursor.C (dispatch):
3845         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3846
3847         * dispatchresult.h: make the dispatch_result_t ctor explicit
3848
3849 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3850
3851         * sgml.[Ch]:
3852         * buffer.C: small refactoring of docbook stuff
3853
3854 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3855
3856         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3857         meaning.
3858
3859 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3860
3861         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3862         operator dispatch_result_t, and operators for == != and >=
3863
3864         * cursor.C (dispatch): adjust for operator dispatch_result_t
3865         removal. comment out call to update
3866
3867         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3868
3869 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3870
3871         * text3.C:
3872         * text2.C:
3873         * text.C:
3874         * lyxtext.h:
3875         * lyxfunc.C:
3876         * cursor.C:
3877         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3878         (dispatch):
3879
3880         * dispatchresult.h: new file, DispatchResult broken out of
3881         insets/insetbase.h
3882
3883         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3884
3885 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3886
3887         * text.C (rowBreakPoint): put a hack inside #if 0
3888
3889 2003-10-28  André Pönitz  <poenitz@gmx.net>
3890
3891         * lyxtext.h:
3892         * metricsinfo.C:
3893         * paragraph_funcs.C:
3894         * rowpainter.C:
3895         * text.C:
3896         * text2.C: general cleanup (lots of small stuff)
3897
3898 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3899
3900         * text2.C (cursorEnd): simple fix to the "end key goes to one
3901         before the end on last row" bug
3902
3903 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3904
3905         * text.C (backspace): fix the "zombie characters"
3906
3907 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3908
3909         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3910
3911 2003-10-27  André Pönitz  <poenitz@gmx.net>
3912
3913         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3914
3915         * factory.C: handle new InsetPagebreak, InsetLine
3916
3917         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3918         and move handling into new InsetPagebreak, InsetLine
3919
3920         * BufferView_pimpl.C:
3921         * LyXAction.C:
3922         * ParagraphParameters.C:
3923         * ParameterStruct.h:
3924         * lyxfunc.C:
3925         * lyxtext.h:
3926         * paragraph.C:
3927         * paragraph.h:
3928         * paragraph_funcs.C:
3929         * paragraph_pimpl.C:
3930         * rowpainter.C:
3931         * text.C:
3932         * text2.C:
3933         * text3.C: adjust
3934
3935 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3936
3937         * text.C:
3938         * lyxrow_funcs.[Ch]:
3939         * Bidi.C:
3940         * paragraph.C:
3941         * lyxtext.h:
3942         * rowpainter.C:
3943         * text2.C:
3944         * text3.C: remove lastPos uses in favour of Row::endpos
3945
3946 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3947
3948         * undo.C (performUndoOrRedo): fix two crashes by setting a
3949         cursor by hand and reordering some calls. Use bv->lockInset instead
3950         of inset->edit because the latter loses cursor information
3951
3952 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3953
3954         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3955         by Martin
3956         (rowBreakPoint): fix width. change point to point + 1.
3957         Add a missing check.
3958
3959 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3960
3961         * MenuBackend.C:
3962         * lyxfunc.C: fix (at least partly) the problems
3963         with the Nav menu and headers inside branch insets
3964         reported by Kayvan
3965
3966 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3967
3968         * paragraph.C (getChar): add strong asserts
3969
3970         * lyxrow_funcs.C (lastPos): remove hideous hack
3971
3972         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3973         (fill): adjust to that (avoid an infinite loop)
3974
3975 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3976
3977         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3978
3979 2003-10-23  André Pönitz  <poenitz@gmx.net>
3980
3981         * RowList_fwd.h: change list<> to vector<> to gain speed
3982         after suggestion from Alfredo
3983
3984 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3985
3986         * lyxtext.h: move the bidi stuff from here...
3987         * text.C: and here
3988         * text2.C: and here
3989         * Bidi.[Ch]: ... to here
3990
3991 2003-10-23  André Pönitz  <poenitz@gmx.net>
3992
3993         * lyxtext.h:
3994         * text.C (isLastRow, isFirstRow): new functions
3995
3996         * paragraph.h: new width cache member
3997
3998         * rowpainter.C: replace RowList::iterator with Row & where possible
3999
4000         * lyxfunc.C: replace several view()->text with a single call
4001
4002         * toc.C: fix 'unused' warning
4003
4004 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4005
4006         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4007         when woring with stream::pos_type
4008         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4009
4010 2003-10-22  André Pönitz  <poenitz@gmx.net>
4011
4012         * lyxtext.h:
4013         * text.C: use Row & instead of RowList::iterator
4014
4015         * lyxrow.h: rename end() to endpos()
4016
4017         * rowpainter.C:
4018         * text.C:
4019         * text2.C: adjust
4020
4021 2003-10-22  Angus Leeming  <leeming@lyx.org>
4022
4023         * buffer.[Ch] (fully_loaded): new member function, returning true
4024         only when the file has been loaded fully.
4025         Used to prevent the premature generation of previews and by the
4026         citation inset to prevent computation of the natbib-style label.
4027
4028         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4029         templates are all set up.
4030
4031         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4032
4033 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4034
4035         * text.C: fixed an "oops" in the "is a bit silly"
4036         bug fix
4037
4038 2003-10-21  André Pönitz  <poenitz@gmx.net>
4039
4040         * FuncStatus.[Ch]: small stuff, whitespace
4041
4042         * lyxfont.[Ch]: operator<<() for debug reasons
4043
4044         * lyxfunc.C:
4045         * lyxrow_funcs.C:
4046         * lyxtext.h: whitespace, spelling
4047
4048         * paragraph.C: naming of variables
4049
4050         * text.C:
4051         * text2.C: small stuff
4052
4053
4054 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4055
4056         * text.C: (1) finish off the inset display() work;
4057         (2) fix the "is a bit silly" bug (accessing char
4058         past end of par).
4059
4060 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4061
4062         * text.C: re-introduce display() for insets, fixing the
4063         various bugs (stretch of line above, math inset
4064         positioning, ...)
4065
4066 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4067
4068         * text.C (rightMargin): remove spurious semicolon
4069
4070         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4071         1415)
4072
4073 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4074
4075         * text3.C: fix one crash due to wrong cursor def
4076
4077 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4078
4079         * vc-backend.C (scanMaster): make the regex static
4080
4081         * LaTeX.C (scanAuxFile): make the regexs static
4082
4083         * text3.C (doInsertInset, dispatch, dispatch):
4084         * text2.C (cursorUp, cursorDown):
4085         * text.C (selectNextWordToSpellcheck):
4086         * BufferView_pimpl.C (dispatch):
4087         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4088
4089 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4090
4091         * lyxsocket.C: include <cerrno>
4092
4093 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4094
4095         * lyxfunc.C (dispatch): remove textcache stuff
4096
4097         * bufferlist.C (release): remove textcache stuff
4098         (closeAll): ditto
4099
4100         * TextCache.C: delete file
4101         * TextCache.h: delete file
4102
4103         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4104
4105         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4106         delete of the bv_->text.
4107         (resizeCurrentBuffer): remove texcache stuff
4108         (workAreaResize): ditto
4109
4110 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4111
4112         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4113         action.
4114
4115 2003-10-16  André Pönitz  <poenitz@gmx.net>
4116
4117         * lyxrow.[Ch]:
4118         * paragraph.h:
4119         * rowpainter.C:
4120         * text.C:
4121         * text2.C:
4122         * text3.C: speed up by storing y positions per paragraph plus per-row
4123         offset instead of having a 'full' y position in the row.
4124
4125 2003-10-15  André Pönitz  <poenitz@gmx.net>
4126
4127         * iterators.[Ch]:
4128         * iterators.[Ch]:
4129         * undo.[Ch]: make undo aware of inner insets
4130
4131 2003-10-14  Angus Leeming  <leeming@lyx.org>
4132
4133         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4134         static member functions LyX::ref() and LyX::cref.
4135         (lastfiles): new accessor functions for the new lastfiles_ member var.
4136         (addLyXView, views_): add a new LyXView to the list of views_.
4137         (updateInset): loop over all LyXViews to call their own updateInset
4138         member function, returning a pointer to the Buffer owning the inset.
4139
4140         * BufferView_pimpl.C (loadLyXFile):
4141         * MenuBackend.C (expandLastfiles):
4142         * bufferlist.C (MenuWrite, QuitLyX):
4143         lastfiles is no longer a global variable.
4144         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4145
4146         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4147         static function. Access through LyX::cref().emergencyCleanup().
4148
4149 2003-10-14  André Pönitz  <poenitz@gmx.net>
4150
4151         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4152
4153         * undo.[Ch]: restoring part of 'undo in insets'
4154
4155         * Makefile.am:
4156         * undo_funcs.[Ch]: merge with undo.[Ch]
4157
4158         * tabular.C: small cleansing stuff
4159
4160 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4161
4162         * paragraph_funcs.C (readParToken): report unknown insets as error
4163         boxes. Use the outer paragraph as location (also for unknown
4164         tokens).
4165
4166         * factory.C (readInset): do not abort on reading an unknown inset.
4167         Eat it and return 0.
4168
4169 2003-10-13  Angus Leeming  <leeming@lyx.org>
4170
4171         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4172
4173         * lyxrc.C: displayTranslator is now a function,
4174         declared in GraphicsTypes.h.
4175
4176 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4177
4178         * format.C: new placeholder $$a to pass the socket address.
4179
4180         * bufferlist.[Ch]: new function getBufferFromTmp.
4181
4182         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4183           files in the temporary dir.
4184
4185 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4186
4187         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4188
4189         * Makefile.am: add lyxsocket.[Ch].
4190
4191         * lyx_main.C (error_handler): handle SIGPIPE.
4192
4193 2003-10-13  André Pönitz  <poenitz@gmx.net>
4194
4195         * BufferView_pimpl.C:
4196         * lyxtext.h:
4197         * text.C:
4198         * text2.C:
4199         * text3.C:
4200         * undo_funcs.[Ch]: use paroffset_type instead of
4201           ParagraphList::iterators to prevent multiple conversion
4202           (and get a more robust interface)
4203
4204 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4205
4206         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4207         * lyxtext.h: ditto
4208         * text3.C (dispatch): ditto
4209
4210 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4211
4212         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4213         move the onlyfile, use onlyfile instead of foundfile in a couple
4214         of places.
4215
4216         * DepTable.C (update): flush the error stream a bit more
4217
4218 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4219
4220         * lyxserver.C (callback): adjust
4221
4222         * lyxfunc.C (getStatus): add a missing brace in commented code
4223         (ensureBufferClean): reindent
4224         (dispatch): delete version taking a string
4225
4226 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4227
4228         * LaTeX.C (deplog): move found file handlig from here...
4229         (handleFoundFile): .. to new function here.
4230         (deplog): make sure to discover several files mentioned on the
4231         same log line.
4232
4233 2003-10-10  André Pönitz  <poenitz@gmx.net>
4234
4235         * lyxfunc.C:
4236         * lyxtext.h:
4237         * tabular.C:
4238         * text.C:
4239         * text2.C:
4240         * text3.C: fix some of the tabular crashes
4241
4242 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4243
4244         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4245
4246         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4247
4248 2003-10-09  André Pönitz  <poenitz@gmx.net>
4249
4250         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4251
4252         * BufferView.C:
4253         * BufferView_pimpl.C:
4254         * bufferview_funcs.C:
4255         * lyx_cb.C:
4256         * lyxcursor.C:
4257         * lyxfind.C:
4258         * lyxfunc.C:
4259         * lyxtext.h:
4260         * text.C:
4261         * text2.C:
4262         * text3.C:
4263         * text_funcs.[Ch]:
4264         * textcursor.[Ch]:
4265         * undo_funcs.C: adjust
4266
4267 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4268
4269         * text2.C (incrementItemDepth): new function, use a backtracking
4270         algorithm to discover the correct item depth.
4271         (resetEnumCounterIfNeeded): new function, use a backtracking
4272         algorithm to discover if counter reset is needed.
4273         (setCounter): use them. Simplify a bit. Add different labels for
4274         different item depths for itemize.
4275
4276         * paragraph.C (Paragraph): remove initialization of enumdepth
4277         (operator=): ditto
4278
4279         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4280         enumerate and itemize. Change the type of itemdepth to signed char.
4281
4282 2003-10-08  André Pönitz  <poenitz@gmx.net>
4283
4284         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4285           thing assignable.
4286         * text.C:
4287         * text2.C: adjust
4288
4289         * tabular.[Ch]: fix crash after 'row-insert'
4290
4291 2003-10-08  Angus Leeming  <leeming@lyx.org>
4292
4293         Fix doxygen warnings.
4294
4295         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4296         Remove CutAndPaste:: prefix from header file declaration.
4297
4298         * LColor.h (fill): remove LColor:: prefix from declaration.
4299
4300         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4301         use lyx::depth_type rather than Paragraph::depth_type so that
4302         header file and .C file match.
4303
4304         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4305
4306         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4307         * aspell.C: \file aspell_local.C -> \file aspell.C
4308         * gettext.C: \file gettext.C -> \file src/gettext.C
4309         * gettext.h: \file gettext.h -> \file src/gettext.h
4310         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4311         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4312         * text.C: \file text.C -> \file src/text.C
4313
4314         * toc.C: move comment so that doxygen is not confused.
4315
4316 2003-10-07  Angus Leeming  <leeming@lyx.org>
4317
4318         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4319
4320 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4321
4322         * aspell.C:
4323         * aspell_local.h: add forgotten std::string's.
4324
4325 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4326
4327         * LaTeXFeatures.C:
4328         * LyXAction.C:
4329         * factory.C:
4330         * lfuns.h:
4331         * lyxfunc.C:
4332         * text3.C: The Box patch. Fancybox support, minipage, parbox
4333
4334 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4335
4336         * CutAndPaste.h:
4337         * DepTable.h:
4338         * FloatList.h:
4339         * LaTeXFeatures.h:
4340         * ParagraphParameters.h:
4341         * TextCache.h:
4342         * Thesaurus.h:
4343         * bufferlist.h:
4344         * exporter.h:
4345         * importer.h:
4346         * lastfiles.h:
4347         * lyxfind.h:
4348         * lyxfont.h:
4349         * lyxlex.h:
4350         * lyxtextclasslist.h:
4351         * messages.h:
4352         * paragraph.h:
4353         * paragraph_pimpl.C:
4354         * textcursor.h: add <string> and other small fixes to make Lars'
4355         std::string patch compile with STLport.
4356
4357 2003-10-06  Angus Leeming  <leeming@lyx.org>
4358
4359         * LColor.h: Add missing #include <string>.
4360
4361 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4362
4363         * All most all file in all subdirs: Make <string> be the prefered
4364         way of getting to std::string, add using declarations.
4365
4366 2003-10-06  André Pönitz  <poenitz@gmx.net>
4367
4368         * metricsinfo.C: initialize LyXFont before changing attribute.
4369         (fixes the 'math in \emph is upright' bug)
4370
4371 2003-10-06  André Pönitz  <poenitz@gmx.net>
4372
4373         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4374
4375 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4376
4377         * graph.C:
4378         * paragraph_pimpl.C: Small fixes to build using STLport
4379
4380 2003-10-02  André Pönitz  <poenitz@gmx.net>
4381
4382         * lyxfunc.C:
4383         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4384
4385 2003-10-01  André Pönitz  <poenitz@gmx.net>
4386
4387         * factory.C: assert early
4388
4389 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4390
4391         * lyx_main.C: remove the global debug object
4392
4393         * debug.h: adjust for new debugstream
4394
4395         * debug.C: adjust for new debugstream and keep the global debug
4396         object here.
4397
4398 2003-09-22  Angus Leeming  <leeming@lyx.org>
4399
4400         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4401         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4402         an incomplete class LyXFont.
4403
4404 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4405
4406         * factory.C: bug fix in branches
4407
4408 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4409
4410         * lyxfunc.C (processKeySym): adjust
4411         (dispatch): adjust
4412         (dispatch): change arg name from ev to func, adjust
4413         (sendDispatchMessage): ditto
4414
4415         * lyx_main.C (defaultKeyBindings): adjust keybindings
4416         (deadKeyBindings): ditto
4417
4418         * kbsequence.C (addkey): return a FuncRequest
4419
4420         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4421
4422         * kbmap.C (bind): take a FuncRequest as arg, adjust
4423         (read): adjust
4424         (lookup): adjust
4425         (defkey): change to take a FuncRequest as arg, adjust
4426         (findbinding): take a FuncRequest as arg, adjust.
4427
4428         * funcrequest.h (operator=): added
4429
4430         * funcrequest.C (FuncRequest): default kb_action changed from
4431         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4432
4433         * buffer.C (dispatch): simplify
4434         (dispatch): adjust to take a FuncRequest as arg, adjust
4435
4436         * boost.C (assertion_failed): change assertion message slightly
4437
4438         * ToolbarBackend.C (read): simplify
4439
4440         * MenuBackend.C (binding): adjust call to findbinding, add a
4441         message if no binding is found.
4442         (read): simplify
4443         (expandToc): correct by adding a empty FuncRequest
4444
4445         * LyXAction.C: include <boost/assert.hpp>
4446         (isPseudoAction): delete function
4447         (LookupFunc): change name to...
4448         (lookupFunc): this. change return type to FuncRequest.
4449         (getActionName): take kb_action as arg, simplify
4450         (funcHasFlag): add an assert, simplify.
4451
4452 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4453
4454         * toc.C (action): return a FuncRequest, simplify
4455
4456         * lyxfunc.C (processKeySym): adjust
4457         (getStatus): delete version that takes an int.
4458         (getStatus): adjust
4459         (dispatch): delete version that takes action as int
4460         (dispatch): adjust
4461         (sendDispatchMessage): simplify and adjust
4462
4463         * funcrequest.C (getArg): take unsigned int as arg
4464
4465         * ToolbarBackend.C (read): adjust
4466         (add): delete version that takes func as a string.
4467         (getIton): take a FuncRequest as arg
4468
4469         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4470         action.
4471
4472         * MenuBackend.C (MenuItem): add a new construct that only takes a
4473         Kind, simplify the constructor use for submenus.
4474         (add): adjust
4475         (expandLastfiles): adjust
4476         (expandDocuments): adjust
4477         (expandFormats): adjust
4478         (expandFloatListInsert): adjust
4479         (expandFloatInsert): adjust
4480         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4481
4482         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4483         Remove class variables lyx_pseudo_map and lyx_arg_map
4484
4485         * LyXAction.C (searchActionArg): delete function
4486         (getPseudoAction): delete function
4487         (retrieveActionArg): delete function
4488         (LookupFunc): make it return kb_action, simplify.
4489         (getActionName): simplify
4490
4491         * factory.C (createInset): fix new bug
4492
4493 2003-09-19  Angus Leeming  <leeming@lyx.org>
4494
4495         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4496         masterFilename_ parameter in the include inset.
4497
4498         * factory.C (createInset): changes due to the changes to InsetInclude.
4499
4500 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4501
4502         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4503
4504 2003-09-18  Angus Leeming  <leeming@lyx.org>
4505
4506         * buffer.C:
4507         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4508         Inset::fillWithBibKeys.
4509         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4510
4511 2003-09-18  Angus Leeming  <leeming@lyx.org>
4512
4513         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4514         variables.
4515         (ctor): pass and store a 'Buffer const &'
4516         (buffer): new member function.
4517
4518         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4519         '*this' to the LaTeXFeatures ctor.
4520
4521 2003-09-18  Angus Leeming  <leeming@lyx.org>
4522
4523         * LColor.h:
4524         * lyxfont.C:
4525         * lyxfont.h:
4526         * lyxtext.h:
4527         * text.C: rename EnumLColor as LColor_color.
4528
4529 2003-09-18  Angus Leeming  <leeming@lyx.org>
4530
4531         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4532         remove #include "insets/insetbase.h" from cursor.h.
4533
4534 2003-09-18  Angus Leeming  <leeming@lyx.org>
4535
4536         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4537         InsetOld_code to remove #include "inset.h".
4538
4539         * iterators.C: add #include "insets/inset.h"
4540
4541 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4542
4543         * BufferView.C: remove more locking stuff that apparently doesn't
4544         do anything sensible.
4545
4546 2003-09-16  André Pönitz  <poenitz@gmx.net>
4547
4548         * paragraph.[Ch]:
4549         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4550           performance boost.
4551
4552 2003-09-16  Angus Leeming  <leeming@lyx.org>
4553
4554         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4555
4556         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4557         arg/return type.
4558
4559         * paragraph.h: remove #include "lyxfont.h". Forward declare
4560         LyXFont_size.
4561
4562 2003-09-16  Angus Leeming  <leeming@lyx.org>
4563
4564         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4565         of support/textutils.h.
4566         (isWord): move the contents of support/textutils.h's IsWordChar here.
4567
4568         * buffer.C:
4569         * lyxfind.C:
4570         * rowpainter.C:
4571         * text.C:
4572         * text2.C: add #include "paragraph.h".
4573
4574         * rowpainter.C:
4575         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4576
4577 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4578
4579         * main.C:
4580         * lyx_main.C:
4581         * lyx_cb.C:
4582         * buffer.C:
4583         * LaTeX.C: use namespace alias for lyx::support::os
4584
4585 2003-09-16  Angus Leeming  <leeming@lyx.org>
4586
4587         * bufferparams.C:
4588         * bufferview_funcs.C:
4589         * factory.C:
4590         * lyxfunc.C:
4591         * paragraph_pimpl.C:
4592         * rowpainter.C:
4593         * text.C: add #include "LColor.h".
4594
4595 2003-09-16  Angus Leeming  <leeming@lyx.org>
4596
4597         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4598         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4599         return LyXFont &.
4600         Store the FontBits::color variable as an int rather than as an
4601         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4602         file.
4603
4604         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4605         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4606         string calls together.
4607
4608         * lyxrc.C: add #include "LColor.h".
4609
4610 2003-09-15  Angus Leeming  <leeming@lyx.org>
4611
4612         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4613         a cow_ptr.
4614
4615 2003-09-15  Angus Leeming  <leeming@lyx.org>
4616
4617         * LColor.h: add an EnumLColor wrapper for LColor::color.
4618
4619         * lyxfont.[Ch] (color, setColor, realColor):
4620         * lyxtext.h, text.C (backgroundColor):
4621         pass EnumLColor args to/from the functions, rather than LColor::color
4622         ones.
4623
4624         * lyxfont.h:
4625         * lyxtext.h: forward declare EnumLColor.
4626
4627         * lyx_main.C: add #include "LColor.h".
4628
4629 2003-09-15  Angus Leeming  <leeming@lyx.org>
4630
4631         * .cvsignore: add lyx-gtk.
4632
4633 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4634
4635         * Chktex.C
4636         * LaTeX.C
4637         * LaTeXFeatures.C
4638         * ParagraphParameters.C
4639         * Spacing.C
4640         * buffer.C
4641         * bufferparams.C
4642         * bufferview_funcs.C
4643         * chset.C
4644         * counters.C
4645         * funcrequest.C
4646         * lyxfont.C
4647         * lyxgluelength.C
4648         * lyxlength.C
4649         * paragraph.C
4650         * paragraph_funcs.C
4651         * text3.C
4652         * vc-backend.C: remove usage of STRCONV
4653
4654 2003-09-15  Angus Leeming  <leeming@lyx.org>
4655
4656         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4657         explicitly define the color passed to the painter.
4658
4659 2003-09-15  Angus Leeming  <leeming@lyx.org>
4660
4661         * bufferparams.C (BufferParams): reorder member initializers to avoid
4662         compiler warning.
4663
4664 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4665
4666         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4667         * text.C (updateRowPositions): remove an unusual nop
4668
4669 2003-09-12  André Pönitz  <poenitz@gmx.net>
4670
4671         * BufferView_pimpl.C:
4672         * Bullet.C:
4673         * layout.h:
4674         * lyxfunc.C:
4675         * lyxlayout.[Ch]:
4676         * lyxtextclass.C:
4677         * rowpainter.C:
4678         * text.C:
4679         * text2.C:
4680         * Counters.[Ch]: finish the 'automatic counters' job
4681
4682 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4683
4684         * aspell.C: include <boost/assert.cpp> (compile fix)
4685
4686 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4687
4688         * boost.C (assertion_failed): use lyx::support::abort instead of
4689         assert.
4690
4691 2003-09-10  Angus Leeming  <leeming@lyx.org>
4692
4693         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4694         with their _fwd progeny.
4695
4696 2003-09-09  Angus Leeming  <leeming@lyx.org>
4697
4698         134 files throughtout the source tree: replace 'using namespace abc;'
4699         directives with the appropriate 'using abc::xyz;' declarations.
4700
4701 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4702
4703         * boost.C (emergencyCleanup): moved here from LAssert.c
4704         (assertion_failed): new function, called by BOOST_ASSERT
4705
4706         * several files: change Assert to BOOST_ASSERT
4707
4708 2003-09-09  Angus Leeming  <leeming@lyx.org>
4709
4710         * buffer.[Ch]: Add an Impl class and move Buffer's member
4711         variables into it. As a result move several header files out of
4712         buffer.h.
4713
4714         Add header files to lots of .C files all over the tree as a result.
4715
4716 2003-09-09  Angus Leeming  <leeming@lyx.org>
4717
4718         * buffer.[Ch]: make Buffer's member variables private. Add
4719         accessor functions.
4720
4721         Lots of changes all over the tree as a result.
4722
4723 2003-09-08  Angus Leeming  <leeming@lyx.org>
4724
4725         * graph.C: #include <config.h>.
4726
4727 2003-09-08  Angus Leeming  <leeming@lyx.org>
4728
4729         * BranchList.C:
4730         * BufferView.C:
4731         * BufferView_pimpl.C:
4732         * CutAndPaste.C:
4733         * DepTable.C:
4734         * LaTeX.C:
4735         * LaTeXFeatures.C:
4736         * LyXAction.C:
4737         * MenuBackend.C:
4738         * TextCache.C:
4739         * aspell.C:
4740         * buffer.C:
4741         * bufferlist.C:
4742         * changes.C:
4743         * chset.C:
4744         * converter.C:
4745         * counters.C:
4746         * debug.C:
4747         * graph.C:
4748         * ispell.C:
4749         * lyx_cb.C:
4750         * lyxfind.C:
4751         * lyxfunc.C:
4752         * lyxlex_pimpl.C:
4753         * lyxrc.C:
4754         * lyxrow.C:
4755         * paragraph.C:
4756         * rowpainter.C:
4757         * texrow.C:
4758         * text.C:
4759         * text2.C:
4760         * toc.C: remove redundant using directives.
4761
4762 2003-09-07  Angus Leeming  <leeming@lyx.org>
4763
4764         * LaTeXFeatures.h: remove #include "support/types.h".
4765         * ToolbarBackend.h: remove #include <algorithm>.
4766         * changes.h: remove #include <ctime>.
4767         * debug.h: remove #include <iosfwd>.
4768         * graph.h: remove #include "support/std_string.h".
4769         * lyx_main.h: remove #include <csignal>.
4770         * lyxlex_pimpl.h: remove #include <fstream>.
4771         * sgml.h: remove #include <algorithm>, <utility>.
4772         * toc.h: remove #include "support/std_ostream.h".
4773         Add #include <iosfwd>.
4774
4775 2003-09-07  Angus Leeming  <leeming@lyx.org>
4776
4777         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4778
4779         * converter.h: forward declare LatexRunParams.
4780         * encoding.h: remove #include "lyxrc.h".
4781         * lyxtext.h: remove #include "LColor.h".
4782         * lyxtextclass.h: remove #include "support/types.h".
4783         * trans.h: remove #include "tex-accent.h".
4784         * trans_mgr.h: remove #include "tex-accent.h".
4785         * insets/inset.h: remove #include "support/types.h", <vector>.
4786         * insets/insetcollapsable.h: remove #include "LColor.h".
4787         * insets/insetinclude.h: remove #include "dimension.h".
4788         * insets/insetlatexaccent.h: remove #include "dimension.h".
4789         * insets/insetoptarg.h:: remove #include "insettext.h".
4790         * insets/insettext.h: remove #include "dimension.h",
4791         <boost/shared_ptr.hpp>
4792
4793         * insets/renderers.h: add #include "dimension.h".
4794         * insets/updatableinset.h: add #include "support/types.h".
4795
4796         * many .C files: Associated changes.
4797
4798 2003-09-06  Angus Leeming  <leeming@lyx.org>
4799
4800         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4801         one, inside testInvariant.
4802
4803         * PrinterParams.C: new file.
4804         * PrinterParams.[Ch]: move the function bodies out of line.
4805
4806 2003-09-06  Angus Leeming  <leeming@lyx.org>
4807
4808         * ParagraphParameters.h: forward declare ParameterStruct rather than
4809         including its header file.
4810         (depth): moved out-of-line.
4811
4812 2003-09-06  Angus Leeming  <leeming@lyx.org>
4813
4814         * BufferView_pimpl.h:
4815         * kbmap.h:
4816         * kbsequence.h:
4817         * lyxfunc.h: forward declare LyXKeySym rather than
4818         #include "frontends/LyXKeySym.h".
4819
4820         * BufferView_pimpl.C:
4821         * kbmap.C:
4822         * kbsequence.C:
4823         * lyxfunc.C: associated changes.
4824
4825 2003-09-06  Angus Leeming  <leeming@lyx.org>
4826
4827         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4828         As a result, can remove the #include "insets/inset.h" from BufferView.h
4829
4830 2003-09-06  Angus Leeming  <leeming@lyx.org>
4831
4832         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4833         As a result, can remove the #include "insets/inset.h" from BufferView.h
4834
4835 2003-09-06  Angus Leeming  <leeming@lyx.org>
4836
4837         * buffer_funcs.C:
4838         * buffer.h:
4839         * bufferlist.C:
4840         * BufferView.C:
4841         * bufferview_funcs.C:
4842         * BufferView_pimpl.C:
4843         * CutAndPaste.C:
4844         * lyx_cb.C:
4845         * lyxfunc.C:
4846         * paragraph.h:
4847         * ParagraphParameters.C:
4848         * tabular.C:
4849         * text3.C:
4850         * toc.C:
4851         * undo_funcs.C:
4852         * frontends/controllers/ControlDocument.C:
4853         * insets/insetcaption.C: rearrange the #includes into some sort of
4854         coherent order.
4855
4856         * buffer.h: remove #includes ErrorList.h, undo.h
4857
4858 2003-09-06  Angus Leeming  <leeming@lyx.org>
4859
4860         * support/types.h: add a 'depth_type' typedef, used to store the
4861         nesting depth of a paragraph.
4862
4863         * paragraph.h:
4864         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4865         defining explicitly.
4866
4867         * buffer.h:
4868         * paragraph_funcs.h:
4869         * ParagraphParameters.h:
4870         * sgml.h: use lyx::depth_type rather than Paragraph or
4871         ParameterStruct's depth_type.
4872
4873         * buffer.h
4874         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4875
4876         * BufferView.C:
4877         * BufferView_pimpl.C:
4878         * CutAndPaste.C:
4879         * ParagraphParameters.C:
4880         * buffer_funcs.C:
4881         * bufferlist.C:
4882         * bufferview_funcs.C:
4883         * lyx_cb.C:
4884         * lyxfunc.C:
4885         * tabular.C:
4886         * text3.C:
4887         * toc.C:
4888         * undo_funcs.C:
4889         * frontends/LyXView.C:
4890         * frontends/controllers/ControlDocument.C:
4891         * frontends/controllers/ControlErrorList.C:
4892         * insets/insetbibitem.C:
4893         * insets/insetbranch.C:
4894         * insets/insetcaption.C:
4895         * insets/insetcollapsable.C:
4896         * insets/insetenv.C:
4897         * insets/insetert.C:
4898         * insets/insetfloat.C:
4899         * insets/insetfoot.C:
4900         * insets/insetfootlike.C:
4901         * insets/insetnewline.C:
4902         * insets/insetquotes.C:
4903         * insets/insettabular.C:
4904         * insets/insettext.C:
4905         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4906
4907         * frontends/controllers/ControlChanges.C: #include "changes.h".
4908
4909 2003-09-06  Angus Leeming  <leeming@lyx.org>
4910
4911         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4912         than #including paragraph.h.
4913
4914         * ParagraphList.h:
4915         * RowList.h: deleted. Superfluous.
4916
4917         * CutAndPaste.h:
4918         * iterators.h:
4919         * lyxcursor.h:
4920         * lyxtext.h:
4921         * text_funcs.h:
4922         * undo.h:
4923         * undo_funcs.h:
4924         * insets/inset.h:
4925         * insets/insettext.h: use ParagraphList_fwd.h rather than
4926         ParagraphList.h.
4927
4928         * paragraph.h: don't forward declare ParagraphList.
4929
4930         * buffer.h:
4931         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4932         rather than ParagraphList.h. paragraph.h is still needed for the
4933         Paragraph::depth_type parameters.
4934
4935         * textcursor.h: enable it to compile stand-alone in light of the
4936         above changes.
4937
4938         * bufferview_funcs.C:
4939         * iterators.C:
4940         * lyxfunc.C:
4941         * lyxrow_funcs.C:
4942         * paragraph.C:
4943         * rowpainter.C:
4944         * text.C:
4945         * text2.C:
4946         * text3.C:
4947         * text_funcs.C:
4948         * textcursor.C:
4949         * undo.C:
4950         * frontends/controllers/ControlParagraph.C:
4951         * frontends/controllers/ControlTabular.C:
4952         * insets/insetmarginal.C:
4953         * insets/insetminipage.C:
4954         * insets/insetnote.C:
4955         * insets/insetoptarg.C: add header files needed to compile again.
4956
4957 2003-09-06  Angus Leeming  <leeming@lyx.org>
4958
4959         * RowList_fwd.h: new file, forward-declaring Row rather than
4960         #including lyxrow.h.
4961
4962         * lyxrow_funcs.h:
4963         * lyxtext.h:
4964         * paragraph.h:
4965         * insets/insettext.h: use it instead of RowList.h
4966
4967         * bufferview_funcs.C:
4968         * lyxfunc.C:
4969         * lyxrow_funcs.C:
4970         * paragraph.C:
4971         * rowpainter.C:
4972         * text.C:
4973         * text2.C:
4974         * text3.C: #include "RowList.h".
4975
4976 2003-09-05  Angus Leeming  <leeming@lyx.org>
4977
4978         * factory.C (createInset):
4979         * vspace.C (c-tor): replace sscanf call with an istringstream.
4980         * ispell.C: re-add missing HP/UX headers.
4981         * lyxserver.C: re-add missing  os2 headers.
4982
4983 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4984
4985         * BranchList.C:
4986         * graph.C:
4987         * ispell.C:
4988         * lastfiles.C:
4989         * lyx_cb.C:
4990         * lyxserver.C:
4991         * texrow.C:
4992         * text3.C: re-add missing system headers, needed for 2.95.2.
4993
4994 2003-09-05  Angus Leeming  <leeming@lyx.org>
4995
4996         Changes most place everywhere due to the removal of using directives
4997         from support/std_sstream.h.
4998
4999 2003-09-05  Angus Leeming  <leeming@lyx.org>
5000
5001         Replace LString.h with support/std_string.h,
5002         Lsstream.h with support/std_sstream.h,
5003         support/LIstream.h with support/std_istream.h,
5004         support/LOstream.h with support/std_ostream.h.
5005
5006         Changes resulting throughout the tree.
5007
5008 2003-09-05  Angus Leeming  <leeming@lyx.org>
5009
5010         * sgml.h: ensure that the header file can be compiled stand-alone.
5011         * *.C: strip out redundant #includes. (320 in total.)
5012
5013 2003-09-04  Angus Leeming  <leeming@lyx.org>
5014
5015         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5016         here (from getPackages).
5017
5018         * debug.[Ch]: add a new EXTERNAL tag.
5019
5020 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5021
5022         * text2.C (cursorEnd): simplify
5023         (setCursor): adjust
5024         (getColumnNearX): adjust
5025
5026         * text.C (computeBidiTables): adjust
5027         (fill): adjust
5028
5029         * rowpainter.C (paintChars): adjust
5030         (paintSelection): adjust
5031         (paintChangeBar): adjust
5032         (paintText): adjust
5033
5034         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5035         lastPos instead.
5036         (numberOfSeparators): adjust
5037
5038 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5039
5040         * LyXAction.C:
5041         * box.[Ch]:
5042         * lfuns.h:
5043         * lyxfunc.C:
5044         * text3.C: Restricts the mouse click functionality
5045         of insets like bibtex, include, toc and floatlist to the visible
5046         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5047         up the dialogs. Cursor has to be in front of the inset (i.e.
5048         start of row) for this to function.
5049
5050 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5051
5052         * bufferview_funcs.C (currentState): output row information
5053
5054 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5055
5056         * bufferview_funcs.C (currentState): output paragraph position
5057
5058 2003-09-04  Angus Leeming  <leeming@lyx.org>
5059
5060         * FloatList.h: move out #include "Floating.h".
5061         * LaTeX.h: move out #include "DepTable.h".
5062         * LyXAction.h: move out #include "funcrequest.h".
5063         * buffer.h: move out #include "author.h", "iterators.h".
5064         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5065         * lyx_main.h: move out #include "errorlist.h".
5066         * lyxfunc.h: move out #include "FuncStatus.h".
5067         * lyxtext: move out #include "lyxcursor.h".
5068         * paragraph_pimpl.h: move out #include "counters.h".
5069
5070 2003-09-03  Angus Leeming  <leeming@lyx.org>
5071
5072         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5073         preamble_snippets list, enabling us to add snippets to the preamble
5074         only if the snippet was not there already.
5075
5076 2003-09-04  Angus Leeming  <leeming@lyx.org>
5077
5078         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5079
5080 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5081
5082         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5083         update
5084
5085 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5086
5087         * BranchList.C: point fix, earlier forgotten
5088
5089 2003-09-02  Angus Leeming  <leeming@lyx.org>
5090
5091         * box.C (contains): renamed from 'contained' after a fantastic
5092         amount of hot air.
5093
5094 2003-09-02  John Levon  <levon@movementarian.org>
5095
5096         * BufferView.C:
5097         * lyxcursor.h:
5098         * lyxcursor.C:
5099         * lyxfunc.C:
5100         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5101
5102 2003-09-02  John Levon  <levon@movementarian.org>
5103
5104         * text2.C: simplification of cursorEnd(), including partial
5105         fix for bug 1376
5106
5107 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5108
5109         * buffer.C (readFile): add a space
5110
5111 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5112
5113         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5114
5115 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5116
5117         * buffer.C (readFile): new function, take a filename and a
5118         ParagraphList::iterator
5119         (readFile): adjust
5120         (readFile): adjust, make it private. don't use setStream, make
5121         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5122         always contain the filename.
5123
5124         * BufferView.C (insertLyXFile): simplify and make it work for
5125         gzipped files.
5126
5127 2003-08-30  John Levon  <levon@movementarian.org>
5128
5129         * Makefile.am: fix dist (from Kayvan)
5130
5131 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5132
5133         * most files: change to use const Buffer refs
5134
5135 2003-08-27  André Pönitz  <poenitz@gmx.net>
5136
5137         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5138         on top of ownerPar().
5139
5140 2003-08-27  John Levon  <levon@movementarian.org>
5141
5142         * funcrequest.C: properly initialise POD members
5143
5144 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5145
5146         * lyxtext.h (top_y): move top_y from here
5147         * text.C:
5148         * text2.C:
5149         * text3.C:
5150         * BufferView.[Ch]:
5151         * BufferView_pimpl.[Ch]: to here
5152         * frontends/screen.C:
5153         * insets/insettabular.C:
5154         * insets/insettext.C: adjust
5155         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5156
5157 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5158
5159         * BufferView.[Ch]:
5160         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5161
5162 2003-08-26  André Pönitz  <poenitz@gmx.net>
5163
5164         * paragraph_func.[Ch] (outerPar): new function
5165
5166         * paragraph.C:
5167         * paragraph_funcs.C:
5168         * paragraph_funcs.h:
5169         * paragraph_pimpl.C:
5170         * text2.C: remove Inset::par_owner
5171
5172 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5173
5174         * lyxrow_funcs.C:
5175         * lyxtext.h:
5176         * text.C:
5177         * text2.C: eliminates the needFullRow/display() stuff
5178         altogether, putting the logic in metrics/draw in the insets.
5179
5180 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5181
5182         * text2.C (redoParagraphInternal, redoParagraphs):
5183         * text.C (redoParagraph): add a call to updateRowPositions at the
5184         end of each 'metrics-like' call. Remove all others.
5185         (getRow): remove the 'y-computing' version.
5186         (getRowNearY): do not compute nor return the real y. Solve the
5187         'y < 0' problem and simplify.
5188
5189 2003-08-22  Angus Leeming  <leeming@lyx.org>
5190
5191         * *.[Ch]: clean-up of licence and author blurbs.
5192         Also move config.h out of a few .h files and into a few .C files.
5193
5194 2003-08-22  André Pönitz  <poenitz@gmx.net>
5195
5196         * lyxrow.[Ch]: add x_ and *fill_ members
5197
5198         * lyxtext.h:
5199         * text.C:
5200         * rowpainter.C:
5201         * text2.C: adjust/remove prepareToPrint() calls
5202
5203 2003-08-22  André Pönitz  <poenitz@gmx.net>
5204
5205         * lyxrow.[Ch]: add  end_ member
5206
5207         * lyxrow_funcs.C: use LyXRow::end_
5208
5209         * lyxtext.h (singleWidth): add LyXFont parameter
5210
5211         * rowpainter.C:
5212         * text2.C: adjust LyXText::singleWidth() calls
5213
5214         * text.C (redoParagraph): simplify row breaking logic
5215
5216
5217 2003-08-19  André Pönitz  <poenitz@gmx.net>
5218
5219         * funcrequest.C: initialize button_ member
5220
5221         * text3.C:
5222         * rowpainter.[Ch]: interface consolidation
5223
5224 2003-08-18  André Pönitz  <poenitz@gmx.net>
5225
5226         * BufferView.C:
5227         * BufferView_pimpl.C:
5228         * lyxfind.C:
5229         * paragraph_funcs.C:
5230         * rowpainter.C:
5231         * text3.C: remove LyXScreen::draw() and fitCursor calls
5232
5233         * BranchList.h: remove spurious semicolons
5234
5235         * MenuBackend.C: fix branchlist related crash
5236
5237 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5238
5239         * BranchList.[Ch]:
5240         * InsetList.[Ch]:
5241         * LColor.[Ch]:
5242         * LyXAction.C:
5243         * Makefile.am:
5244         * MenuBackend.[Ch]:
5245         * bufferparams.[Ch]:
5246         * factory.C:
5247         * lfuns.h:
5248         * lyxfunc.C:
5249         * text3.C: implements the 'branch inset'
5250         idea. This allows the output of various versions of a document
5251         from a single source version, selectively outputing or suppressing
5252         output of parts of the text.
5253         This implementation contains a 'branch list editor' in a separate
5254         tab of the document settings dialog. Branches are user definable
5255         and have a "display colour" to distinguish them on-screen.
5256
5257         ColorHandler was somewhat cleaned up.
5258         (1) make possible a dynamically growing LColor list by allowing
5259         the graphic context cache to grow along (vector);
5260         (2) eliminate an IMHO unnecessary step in colour allocation.
5261
5262 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5263
5264         * BufferView_pimpl.C: compile fix
5265
5266 2003-08-15  André Pönitz  <poenitz@gmx.net>
5267
5268         * rowpainter.C: remove extra metrics calls
5269
5270         * lyxtext.h: merge the two constructors into a single one,
5271           pass reference to owner's par list
5272
5273         * BufferView_pimpl.C:
5274         * text.C:
5275         * text2.C: adjust
5276
5277 2003-08-15  André Pönitz  <poenitz@gmx.net>
5278
5279         * lyxrow_funcs.[Ch]:
5280         * lyxtext.h:
5281         * paragraph.h:
5282         * paragraph_funcs.C:
5283         * rowpainter.C:
5284         * text.C:
5285         * text2.C:
5286         * text3.C:
5287         * text_funcs.C: split LyXText::rowlist_ into individual
5288         Paragraph::rows_ chunks
5289
5290         * BufferView.[Ch]:
5291         * BufferView_pimpl.[Ch]:
5292         * lyxfind.C:
5293         * lyxtext.h:
5294         * text3.C: remove toggleSelection()
5295
5296 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5297
5298         * bufferlist.C: beautify two alerts (shorter text of buttons)
5299         * buffer.C: Remove redundant ' ' from message
5300         * tabular.h:
5301         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5302         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5303         rename VALIGN_CENTER to VALIGN_MIDDLE
5304
5305 2003-08-11  André Pönitz  <poenitz@gmx.net>
5306
5307         * lyxtext.h (getPar):
5308         * text.C: new function
5309
5310 2003-08-11  André Pönitz  <poenitz@gmx.net>
5311
5312         * Makefile.am:
5313         * tracer.[Ch]: remove unneeded files
5314
5315         * InsetList.[Ch]: remove resizeInsetsLyXText()
5316
5317         * lyxtext.h:
5318         * text.C:
5319         * text2.C:
5320         * text3.C: merge insertParagraphs() and appendParagraph()
5321         remove breakAgain(), update()
5322
5323         * BufferView_pimpl.[Ch]:
5324         * bufferview_funcs.[Ch]:
5325         * lyxfunc.C:
5326         * paragraph.[Ch]:
5327         * rowpainter.C:
5328         * tabular.C: adjust after text & InsetList changes.
5329
5330 2003-08-08  André Pönitz  <poenitz@gmx.net>
5331
5332         * text.C (insertChar, backspace): replace rowlist fiddling
5333         with rebreak of full par
5334
5335         * lyxtext.h:
5336         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5337         checkParagraph, updateInset): removed
5338
5339 2003-08-07  André Pönitz  <poenitz@gmx.net>
5340
5341         * paragraph.C:
5342         * text3.C: merge some LFUN handlers, remove dead code
5343
5344 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5345
5346         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5347
5348 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5349
5350         * text2.C (DEPM): fix part of bug 1255 and 1256
5351
5352 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5353
5354         * BufferView_pimpl.C (workAreaDispatch): change to use
5355         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5356         that are no mouse related.
5357
5358 2003-08-05  André Pönitz  <poenitz@gmx.net>
5359
5360         * BufferView.[Ch]:
5361         * BufferView_pimpl.[Ch]:
5362         * bufferview_funcs.C:
5363         * text2.C:
5364         * text3.C: rip out "deep update"
5365
5366         * textcursor.[Ch] (last_sel_cursor): remove unused member
5367
5368 2003-08-04  André Pönitz  <poenitz@gmx.net>
5369
5370         * BufferView.[Ch]:
5371         * BufferView_pimpl.[Ch]:
5372         * ParagraphParameters.C:
5373         * bufferview_funcs.C:
5374         * lyx_cb.C:
5375         * lyxfind.C:
5376         * lyxfunc.C:
5377         * text.C:
5378         * text2.C:
5379         * text3.C: replace "complicated" BufferView::update(...) calls with
5380         simpler ones.
5381
5382         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5383
5384 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5385
5386         * Makefile.am (lyx_SOURCES): add paper.h
5387
5388 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5389
5390         * Makefile.am: move things around so that both lyx-qt and
5391         lyx-xforms can be built (according to --with-frontend). Then lyx
5392         is a symbolic link to lyx-[firstfrontend]
5393
5394 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5395
5396         * Always use std::endl with lyxerr
5397
5398 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5399
5400         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5401
5402 2003-08-01  André Pönitz  <poenitz@gmx.net>
5403
5404         * BufferView.[Ch]:
5405         * BufferView_pimpl.[Ch]:
5406         * lyxfunc.C:
5407         * text3.C: merge BufferView::repaint() and BufferView::update()
5408
5409 2003-08-01  José Matos  <jamatos@lyx.org>
5410
5411         * buffer.[Ch]: file_format is no longer a buffer data element.
5412
5413 2003-08-01  André Pönitz  <poenitz@gmx.net>
5414
5415         * BufferView.C:
5416         * lyxtext.h:
5417         * text.C:
5418         * text2.C: make redoParagraph more independent of current cursor
5419
5420         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5421         * text.C:
5422         * text2.C: remove unneeded members
5423
5424 2003-07-30  André Pönitz  <poenitz@gmx.net>
5425
5426         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5427
5428         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5429           create a single function...
5430
5431         * paragraph_funcs.C (moveItem): ... here.
5432
5433         * text.C:
5434           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5435
5436 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5437
5438         * LColor.[Ch]: Add comment and greyedout logical colors.
5439
5440 2003-07-30  André Pönitz  <poenitz@gmx.net>
5441
5442         * tabular.C: don't use Assert too heavily. This crashes where it
5443           shouldn't
5444
5445 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5446
5447         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5448         is disabled (bug 1232)
5449
5450 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5451
5452         * factory.C: limited 'arg' scope
5453
5454 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5455
5456         * factory.C: fixed Note submenu issues
5457
5458 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5459
5460         * factory.C: submenu for Note/Comment/Greyedout
5461
5462 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5463
5464         * lyx_main.C (LyX):
5465         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5466
5467 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5468
5469         * LaTeXFeatures.C:
5470         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5471         greyedout. Patch provided by Jürgen Spitzmüller.
5472
5473 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5474
5475         * kbmap.C (read): fix error message when reading bind files
5476
5477 2003-07-29  Angus Leeming  <leeming@lyx.org>
5478
5479         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5480         certainly does not do what it purports to do. I am doing it, and
5481         us, a favour by killing it.
5482
5483 2003-07-28  José Matos  <jamatos@lyx.org>
5484
5485         * buffer.C (readBody, do_writeFile):
5486         * paragraph.C(readParagraph): \end_document replaces \the_end.
5487
5488 2003-07-29  André Pönitz  <poenitz@gmx.net>
5489
5490         * BufferView.[Ch]:
5491         * BufferView_pimpl.[Ch]:
5492         * lyxfunc.C:
5493         * text2.C:
5494         * text3.C:
5495         * textcursor.[Ch]: remove toggleToggle & Co
5496
5497 2003-07-28  José Matos  <jamatos@fep.up.pt>
5498
5499         * buffer.C (readParagraph):
5500         * params_func (readParToken, readParagraph):
5501         * paragraph.C (write): \layout -> \begin_layout.
5502
5503 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5504
5505         * lyxlex_pimpl.C (setFile): clean up slightly.
5506
5507         * bufferparams.h: add compressed var
5508
5509         * buffer_funcs.C (readFile): adjust for LyXLex change
5510         (newFile): ditto + simplify
5511
5512         * buffer.C (writeFile): handle writing of compressed files
5513
5514         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5515         Check if the file is compressed and set a bufferparm if so.
5516
5517         * Makefile.am (lyx_LDADD): remove explicit -lz
5518
5519 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5520
5521         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5522         makeDocBookFile): put the real LyX version in the first line of
5523         the file
5524
5525         * version.h:
5526         * version.C.in: remove lyx_docversion
5527
5528         * tabular.C (write_attribute): add a template-based version to
5529         write enums properly
5530
5531 2003-07-28  André Pönitz  <poenitz@gmx.net>
5532
5533         * lyxtext.h:
5534         * text.C:
5535         * text2.C:
5536         * text3.C: use doubles again for x-coordinates. They are needed.
5537
5538 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5539
5540         * messages.C (getLocaleDir): use lyx_localedir()
5541
5542         * lyxlex_pimpl.C (setFile): compress stuff
5543
5544         * buffer.C (writeFile): add some compression stuff
5545         (do_writeFile): new func, dont call expliti close... will this
5546         breake anything?
5547
5548         * Makefile.am (lyx_LDADD): add -lz
5549
5550 2003-07-28  José Matos  <jamatos@fep.up.pt>
5551
5552         * buffer.C: increment file format.
5553         * paragraph_funcs (readParagraph, readParToken):
5554         * paragraph.C (readParagraph): add \end_layout.
5555
5556 2003-07-27  Angus Leeming  <leeming@lyx.org>
5557
5558         * Makefile.am: remove special casing for configure-time setting of
5559         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5560
5561         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5562         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5563
5564 2003-07-26  André Pönitz  <poenitz@gmx.net>
5565
5566         * paragraph_func.[Ch]:
5567         * paragraph.C (realizeFont): inline it whereever it is used
5568
5569         * rowpainter.C:
5570         * text.C:
5571         * text2.C:
5572         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5573
5574
5575 2003-07-26  André Pönitz  <poenitz@gmx.net>
5576
5577         *       lyxtext.h:
5578         * text.C:
5579         * text2.C: get rid of LyXText::need_break_row
5580
5581 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5582
5583         * toc.[Ch]: put namespace toc inside namespace lyx
5584
5585         * MenuBackend.C (expandToc2): adjust for lyx::toc
5586         (expandToc): ditto
5587
5588         * lyxfunc.C (dispatch): adjust for lyx::find
5589
5590         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5591         lyx::find instead. Reorganize a bit.
5592         (LyXReplace): rename to replace
5593         (LyXFind): rename to find
5594
5595         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5596         (dispatch): ditto
5597
5598 2003-07-26  André Pönitz  <poenitz@gmx.net>
5599
5600         * text.C (setHeightOfRow): restrict scope of temporary variable
5601
5602         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5603           code (never has been used?)
5604
5605 2003-07-27  Asger Alstrup  <alstrup@local>
5606
5607         * text.C (fill): Optimise algorithm to exploit that we can reuse
5608         the LyXFont for many characters.
5609         (setHeightOfRow): Same thing.
5610         (rowBreakPoint): Same thing.
5611
5612 2003-07-26  Asger Alstrup  <alstrup@local>
5613
5614         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5615
5616         * text.C (singleWidth): Spurious font copying in hot-spot
5617         singleWidth avoided. Reorder tests for arabic for efficiency.
5618
5619         * text.C (fill): handle empty paragraphs better.
5620
5621 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5622
5623         * ispell.C:
5624         * encoding.h: add includes
5625
5626         * lyxrc.C: remove reading of bind files
5627
5628         * lyx_main.C (init): setup bindings and menus only if we have a
5629         gui.
5630
5631         * kbmap.C (read): new method. Do the actual reading of bind
5632         files.
5633
5634         * converter.C (dvipdfm_options):
5635         * bufferparams.C:
5636         * lyxrc.C (read):
5637         (output): adapt PAPER_* enums.
5638
5639         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5640
5641         * bufferparams.h: remove paper-related enums from there
5642
5643         * paper.h: New file. A trivial header file to hold paper-related
5644         enums. It should later expand to contain many paper-related
5645         horrors access.
5646
5647         * lyxrc.C: declare extern displayTranslator
5648
5649 2003-07-27  José Matos  <jamatos@fep.up.pt>
5650
5651         * tabular.[Ch] (linuxdoc): add support for tables and figures
5652         (linuxdoc).
5653
5654 2003-07-27  José Matos  <jamatos@fep.up.pt>
5655
5656         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5657         consistency in both functions.
5658         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5659
5660 2003-07-26  Asger Alstrup  <alstrup@local>
5661
5662         * rowpainter.C (paintRows): Change algorithm to work directly on
5663         the insets rather than asking every character in the document
5664         whether its an inset.
5665
5666 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5667
5668         * buffer.C (openFileWrite): factorize some code
5669
5670 2003-07-26  Angus Leeming  <leeming@lyx.org>
5671
5672         * lyx_cb.C:
5673         * lyx_main.[Ch]: replace occurances of system_tempdir with
5674         os::getTmpDir().
5675
5676 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5677
5678         * rename Inset to InsetOld
5679
5680 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5681
5682         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5683         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5684         which I think is a bit clearer. EDIT is gone, since it was
5685         premature optimisation, and broken for mathed anyway.
5686         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5687         with cursor positioning in insets as well (math insets still do not
5688         work, but that's a different story anyway.) It mysteriously
5689         crashes sometimes with undo in the first paragraph, but I'm fairly
5690         confident that this is a compiler bug.
5691
5692 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5693
5694         * paragraph.C (Paragraph): adjust for new clone return type
5695         (operator==): ditto
5696         (copyIntoMinibuffer): ditto
5697
5698 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5699
5700         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5701         by not having a special case, and always doing a full rebreak of
5702         the document after undo.
5703
5704 2003-07-23  Angus Leeming  <leeming@lyx.org>
5705
5706         * factory.C (createInset): InsetExternal::setParams now takes a
5707         Buffer const * arg.
5708
5709 2003-07-23  Angus Leeming  <leeming@lyx.org>
5710
5711         * factory.C (createInset): changed interface to the external and
5712         graphics mailers' string2params functions.
5713
5714 2003-07-23  Angus Leeming  <leeming@lyx.org>
5715
5716         * factory.C (createInset): pass a
5717         Buffer const * parameter to InsetExternalMailer's string2params.
5718
5719 2003-07-22  John Levon  <levon@movementarian.org>
5720
5721         * Thesaurus.h: include the right aiksaurus header
5722
5723 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5724
5725         * MenuBackend.C (expand): check menu shortcuts unconditionally
5726
5727 2003-07-21  Angus Leeming  <leeming@lyx.org>
5728
5729         * factory.C (createInset): pass a
5730         buffer_path parameter to InsetGraphicsMailer's string2params.
5731
5732 2003-07-21  Angus Leeming  <leeming@lyx.org>
5733
5734         * BufferView_pimpl.C (buffer):
5735         * buffer.C (d-tor):
5736         * lyx_main.C (LyX):
5737         * lyxfunc.C (dispatch):
5738         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5739         rather than the grfx shortcut.
5740
5741 2003-07-21  André Pönitz  <poenitz@gmx.net>
5742
5743         * rowpainter.C: remove unused variables
5744
5745         * tabular_funcs.C:
5746         * tabular_funcs.h: move to tabular.C
5747         * Makefile.am: adjust
5748
5749         * tabular.[Ch]: basic optical cleaning
5750
5751         * author.h: pass references, not values
5752
5753 2003-07-18  André Pönitz  <poenitz@gmx.net>
5754
5755         * lyxtext.h:
5756         * metricsinfo.C:
5757         * metricsinfo.h:
5758         * rowpainter.C:
5759         * text.C:
5760         * text2.C:
5761         * text3.C: two-phase drawing for InsetText and InsetTabular
5762         some float -> int changes.
5763
5764 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5765
5766         * lyx_main.C: fix the fix
5767
5768 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5769
5770         * lyx_main.C: fix a crash in batch mode if no files specified
5771         * converter.C: ws
5772
5773 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5774
5775         * format.[Ch] (papersize): moved to BufferParams
5776         * converter.[Ch] (dvips_options): moved to BufferParams
5777         (dvipdfm_options): moved to anon namespace
5778         * bufferparams.[Ch]: added above functions.
5779
5780 2003-07-17  André Pönitz  <poenitz@gmx.net>
5781
5782         * lyxtext.h:
5783         * rowpainter.C:
5784         * text2.C: don't call inset->update() anymore
5785
5786         * metricsinfo.[Ch]: add convenience constructor
5787
5788 2003-07-16  André Pönitz  <poenitz@gmx.net>
5789
5790         * lyxcursor.[Ch]:
5791         * lyxfunc.[Ch]:
5792         * text.C:
5793         * text2.C: replace the LyXCursor::irow_ member with
5794          on-demand computation of the value
5795
5796 2003-07-16  John Levon  <levon@movementarian.org>
5797
5798         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5799
5800 2003-07-15  André Pönitz  <poenitz@gmx.net>
5801
5802         * text.C:
5803         * text2.C: remove no more needed refresh_row
5804
5805 2003-07-15  André Pönitz  <poenitz@gmx.net>
5806
5807         * lyxtext.h:
5808         * rowpainter.C:
5809         * text2.C:
5810         * text3.C: refresh_status tristate -> need_update bool
5811
5812 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5813
5814         * lyxtext.h (init): remove reinit argument (act as if always true)
5815         * text2.C: adjust to that
5816
5817 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5818
5819         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5820         * text3.C: use it to delete selections in some cases
5821         (bugs 441, 673, 702, 954).
5822
5823 2003-07-14  André Pönitz  <poenitz@gmx.net>
5824
5825         * rowpainter.[Ch]: reduce interface
5826
5827 2003-07-14  André Pönitz  <poenitz@gmx.net>
5828
5829         * BufferView_pimpl.C:
5830         * text2.C: adjust after removing unused BufferView * argument
5831
5832 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5833
5834         * text2.C (init): fix a crash fired on resize
5835
5836 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5837
5838         * buffer.[Ch]: added new closing signal
5839         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5840         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5841         BufferView::Pimpl via the closing the signal
5842
5843 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5844
5845         * buffer.[Ch]: take out all bv-related from buffer
5846         * BufferView.C:
5847         * BufferView_pimpl.[Ch]: connect to new signals
5848         * CutAndPaste.C: removed useless asserts
5849         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5850         * lyxvc.[Ch]:
5851         * vc-backend.[Ch]:
5852         * lyxfunc.C: moved view-related funciontality from vc here
5853         * paragraph.C: removed outdated comments
5854         * text.C: ws
5855
5856 2003-07-10  André Pönitz  <poenitz@gmx.net>
5857
5858         * BufferView_pimpl.C:
5859         * tabular.h:
5860         * tabular_funcs.C:
5861         * text.C:
5862         * text2.C: remove InsetText::InnerCache, clean up consequences
5863
5864 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5865
5866         * ispell.C: fix two typos in error messages
5867
5868 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5869
5870         * Extend Note inset to other forms of annotation like Comment
5871         and Greyedout. Right button click gives dialog.
5872
5873         Files modified or added (+):
5874
5875         * insetnote.[Ch]
5876         * FormNote.[Ch]      +
5877         * ControlNote.[Ch]   +
5878         * form_note.fd       +
5879         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5880         frontends/controllers
5881         * xforms/Dialogs.C
5882         * factory.C
5883
5884 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5885
5886         * aspell.C: add missing namespace lyx::support
5887
5888 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5889
5890         * BufferView.[Ch] (newFile): Add
5891         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5892         * LaTeX.[Ch] (message): added this signal and use it
5893         * buffer.[Ch] (busy, message): added these signals and use them
5894         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5895         * converter.C:
5896         * exporter.C:
5897         * format.C:
5898         * importer.C: use buffer signals instead of direct bv calling
5899         * lyx_cb.[Ch] (ShowMessage): removed
5900         * lyx_main.C:
5901         * lyxfunc.C:
5902         * paragraph_funcs.C:
5903         * text2.C: use buffer signals
5904
5905 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5906
5907         * introduce namespace lyx::graphics
5908
5909 2003-07-02  André Pönitz  <poenitz@gmx.net>
5910
5911         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5912
5913 2003-07-01  André Pönitz  <poenitz@gmx.net>
5914
5915         * text.C:
5916         * text2.C:
5917         * text3.C:
5918         * text_funcs.[Ch]:
5919         * textcursor.h:
5920         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5921           text*.C to text_func.C
5922
5923 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5924
5925         * introduce namespace lyx::support
5926
5927 2003-06-30  André Pönitz  <poenitz@gmx.net>
5928
5929         * Chktex.C:
5930         * funcrequest.C:
5931         * lyxtext.h:
5932         * text.C: re-enable --with-included-string
5933
5934 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5935
5936         * textcursor.C: add <config.h>
5937
5938         * text.C (getWord): remove const from word_location arg
5939
5940         * lyxvc.C (getLogFile): fix const type order
5941
5942         * lyxtext.h: remove const from word_location arg, add arg name
5943
5944         * lyxlayout.h: currect type on labeltype.
5945
5946         * importer.C: correct \file
5947
5948         * converter.C (intToFormat): use std:: on ret val, ws changes
5949
5950         * bufferlist.h: correct \file
5951
5952         * buffer.C (makeLinuxDocFile): fix const type order
5953         (makeDocBookFile): ditto
5954         (fillWithBibKeys): use std:: on stdlib args.
5955
5956         * CutAndPaste.C: fix authors.
5957         (availableSelections): use std:: on return vector
5958
5959 2003-06-27  André Pönitz  <poenitz@gmx.net>
5960
5961         * BufferView_pimpl.C:
5962         * bufferview_funcs.C:
5963         * lyxcursor.C:
5964         * lyxcursor.h:
5965         * lyxfunc.C:
5966         * lyxtext.h:
5967         * rowpainter.C:
5968         * text.C:
5969         * text2.C:
5970         * text3.C: remove LyXCursor::row_ member
5971
5972         * lyxtext.h:
5973         * text.C: rename fullRebreak() to partialRebreak() and implement
5974           a fullRebreak() that really bereks fully
5975
5976         * textcursor.h: new struct for cursor-related data
5977
5978 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5979
5980         * lyx_main.C (LyX): get full path of document loaded on the
5981         command line
5982
5983 2003-06-26  André Pönitz  <poenitz@gmx.net>
5984
5985         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5986           remove unused/broken operator>,<,>=.
5987
5988         *       text.C: remove only use of broken operator<= in an Assert().
5989
5990 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5991
5992         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5993         moved errorlist_.clear to showErrorList
5994
5995 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5996
5997         * converter.C (scanLog, runLaTeX):
5998         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5999         move the bv->showErrorList call to the callers
6000         * lyxfunc.C: i.e. here...
6001         * text2.C: and here
6002         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6003         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6004         namespace, the second to...
6005         * buffer_funcs (BufferFormat, parseErrors): added
6006         * errorlist.C (ErrorList(TeXErrors const &)): removed
6007
6008 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6009
6010         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6011
6012 2003-06-24  "Garst R. Reese" <reese@isn.net>
6013
6014         * debug.C: fix typo
6015
6016 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6017
6018         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6019
6020         * version.C.in: change docversion to 1.4
6021
6022 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6023
6024         * buffer.C: fix a bug just introduced
6025
6026 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6027
6028         * buffer.[Ch]: added the parseError signal and use it, removed
6029         sgmlError
6030         * BufferView.[Ch] (addError): moved to ...
6031         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6032         to the Buffer::parseError signal to catch (guess what) parse errors
6033         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6034
6035 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6036
6037         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6038         ability to create a buffer and to return an existing one from
6039         the list. Moved these functions to...
6040         * buffer_funcs.[Ch]: added
6041         * BufferView.[Ch] (loadLyXFile): added
6042         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6043         job removed from bufferlist::loadLyXFile.
6044         * buffer.C (setReadOnly): make it work without view
6045         (i.e added an if (users))
6046
6047 2003-06-19  Angus Leeming  <leeming@lyx.org>
6048
6049         * lfuns.h:
6050         * LyXAction.C (init):
6051         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6052         with LFUN_DIALOG_SHOW <name> <data>.
6053
6054 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6055
6056         * CutAndPaste.C (availableSelections): small compilation fix for
6057         ancient (gcc 2.9x) compilers
6058
6059 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6060
6061         * text3.C (cursorNext): add tmp var
6062
6063         * text2.C (updateCounters): for function calling out of for clause
6064         (replaceSelectionWithString): ditto
6065         (insertStringAsParagraphs): ditto
6066         (getColumnNearX): add tmp var
6067         (setCursorFromCoordinates): add tmp var
6068         (cursorDownParagraph): add tmp var
6069         (deleteEmptyParagraphMechanism): add tmp var
6070
6071         * text.C (insertChar): add tmp var
6072
6073         * rowpainter.C (paintDepthBar): add tmp var
6074
6075         * CutAndPaste.C (availableSelections): potentially check all
6076         paragraphs in a cut to fill the shown strings.
6077
6078 2003-06-18  André Pönitz  <poenitz@gmx.net>
6079
6080         * kbmap.[Ch]: use vector<> instead of list<>
6081
6082 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6083
6084         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6085         pasteSelection with index
6086
6087         * text2.C (pasteSelection): modify, call pasteSelection with index
6088
6089         * paragraph.C (asString): reimplement version with no interval to
6090         call the one with interval.
6091
6092         * lyxtext.h: add index arg to pasteSelection
6093
6094         * MenuBackend.C (MenuItem): handle PasteRecent
6095         (Menu::read::Menutags): add md_pasterecent
6096         (read): handle it
6097         (expandPasteRecent): new function
6098         (expand): use it
6099
6100         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6101
6102         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6103         the limited stack
6104         (availableSelections): new function
6105
6106 2003-06-17  Angus Leeming  <leeming@lyx.org>
6107
6108         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6109
6110 2003-06-17  Angus Leeming  <leeming@lyx.org>
6111
6112         * lfuns.h:
6113         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6114
6115         * lyxfunc.C (dispatch): invoke it.
6116
6117 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6118
6119         * iterators.C (operator++, ParPosition): reintroduce some
6120         const_cast for the benefit of older compilers.
6121
6122 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6123
6124         * text3.C (dispatch): do not modify clipboard when doing
6125         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6126         LFUN_DELETE_SKIP on a selection selection
6127
6128 2003-06-16  André Pönitz  <poenitz@gmx.net>
6129
6130         * BufferView.C:
6131         * buffer.C:
6132         * buffer.h:
6133         * paragraph.C:
6134         * tabular.[Ch]: IU of clone() and getLabelList();
6135
6136 2003-06-13  André Pönitz  <poenitz@gmx.net>
6137
6138         * tabular.h: compactification
6139
6140 2003-06-12  André Pönitz  <poenitz@gmx.net>
6141
6142         * tabular.C:
6143         * tabular.h:
6144         * tabular_funcs.h: some renaming plus whitespace
6145
6146 2003-06-12  André Pönitz  <poenitz@gmx.net>
6147
6148         * BufferView.C:
6149         * BufferView_pimpl.C:
6150         * CutAndPaste.C:
6151         * buffer.C:
6152         * iterators.[Ch]:
6153         * lyxfunc.C:
6154         * text.C:
6155         * toc.C: Return a Paragraph & for ParIterator::operator*()
6156
6157 2003-06-11  John Levon  <levon@movementarian.org>
6158
6159         * lyx_main.C:
6160         * ToolbarBackend.h:
6161         * ToolbarBackend.C: add "Toolbars" section and
6162         put the flags there
6163
6164 2003-06-10  Angus Leeming  <leeming@lyx.org>
6165
6166         * lfuns.h:
6167         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6168
6169         * lyxfunc.C (dispatch): invoke it.
6170
6171 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * main.C: protect <ios> with HAVE_IOS
6174         (main): protect sync_with_stdio with HAVE_IOS
6175
6176 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6177
6178         * text2.C (cutSelection): adjust
6179         (pasteSelection): adjust
6180
6181         * messages.C: handle get of empty string
6182
6183         * main.C (main): use sync_with_stdio(false)
6184
6185         * lyxfunc.C (dispatch): adjust
6186
6187         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6188         (WriteAs): remove unneeded BufferView arg.
6189
6190         * bufferparams.h: use correct types on papersize, papersize2 and
6191         paperpackage.
6192
6193         * bufferparams.C (readToken): adjust for type
6194         (writeLaTeX): add missing cases to switch.
6195
6196         * bufferlist.C (quitWriteBuffer): adjust
6197         (close): adjust
6198
6199         * buffer.C (asciiParagraph): remove some commented code.
6200
6201         * CutAndPaste.C: remove current_view extern variable.
6202         (cutSelection): add BufferParams arg.
6203         (eraseSelection): add BufferParams arg.
6204         (pasteSelection): add Buffer const & arg
6205
6206 2003-06-07  John Levon  <levon@movementarian.org>
6207
6208         * buffer.C:
6209         * paragraph_funcs.C:
6210         * paragraph_pimpl.C:
6211         * text.C:
6212         * text2.C:
6213         * paragraph.h:
6214         * paragraph.C: allow InsetERT to freely space lines,
6215         and some consolidation of code
6216
6217 2003-06-06  José Matos  <jamatos@fep.up.pt>
6218
6219         * buffer.C (makeDocBookFile): fix bug #821
6220
6221 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6222
6223         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6224
6225 2003-06-04  Angus Leeming  <leeming@lyx.org>
6226
6227         * buffer.C: bump format to 224.
6228
6229 2003-06-05  André Pönitz  <poenitz@gmx.net>
6230
6231         * text2.C (redoParagraphs): remove two const_cast<>
6232
6233 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6234
6235         * ParagraphList.h: remove last remnants of NO_STD_LIST
6236
6237 2003-06-03  Angus Leeming  <leeming@lyx.org>
6238
6239         * factory.C (createInset): small change to the way InsetExternal's params
6240         are set.
6241
6242 2003-06-04  André Pönitz  <poenitz@gmx.net>
6243
6244         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6245
6246         * paragraph_pimpl.h:
6247         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6248
6249         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6250
6251         * undo_funcs.C: make some simple cases of undo work again
6252
6253 2003-06-03  John Levon  <levon@movementarian.org>
6254
6255         * ispell.C: HPUX doesn't have sys/select.h
6256         (from Albert Chin)
6257
6258 2003-06-03  John Levon  <levon@movementarian.org>
6259
6260         * CutAndPaste.C: update tabular and include inset
6261         buffer references
6262
6263         * buffer.h:
6264         * paragraph.h:
6265         * paragraph.C: remove owningBuffer(), don't pass Buffer
6266         to clone()
6267
6268         * factory.C: insetGraphicsParams changed
6269
6270 2003-06-02  John Levon  <levon@movementarian.org>
6271
6272         * LyXAction.C:
6273         * factory.C:
6274         * lfuns.h:
6275         * lyxfunc.C:
6276         * text3.C: remove insetparent
6277
6278 2003-06-02  John Levon  <levon@movementarian.org>
6279
6280         * buffer.h:
6281         * buffer.C: fix inset_iterator.end(), move out of line
6282         (bug 1149)
6283
6284 2003-06-01  John Levon  <levon@movementarian.org>
6285
6286         * text3.C: use a proper cut/paste when doing inset
6287         insert (from Jürgen Spitzmüller)
6288
6289 2003-06-01  John Levon  <levon@movementarian.org>
6290
6291         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6292
6293 2003-05-30  André Pönitz  <poenitz@gmx.net>
6294
6295         * rowpainter.C: unify second drawing phase
6296
6297 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6298
6299         * trans_mgr.C: remove one case of current_view
6300
6301         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6302
6303         * paragraph_funcs.h: remove paragraph.h include
6304
6305         * paragraph.h: delete NO_STD_LIST stuff
6306
6307         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6308
6309         * buffer.h: remove paragraph.h include
6310
6311         * ParagraphList.C: delete file
6312
6313         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6314
6315         * toc.C (getTocList): adjust
6316
6317         * paragraph_pimpl.C (validate): adjust
6318
6319         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6320
6321         * paragraph.C (Paragraph): adjust
6322         (getPositionOfInset): use const_iterator, adjust
6323         (bibitem): use const_iterator, adjust
6324         (setInsetOwner): adjust
6325
6326         * iterators.C (operator++): adjust
6327
6328         * InsetList.[Ch]: Replace selfmade iterator with standard
6329         vector::iterator also introduce const_iterator. Remove getPos,
6330         getInset and setInset from InsetTable. Adjust accordingly.
6331
6332         * BufferView.C (lockInset): adjust
6333         (ChangeInsets): adjust
6334
6335         * tabular.[Ch]: delete commented same_id functions
6336
6337 2003-05-28  John Levon  <levon@movementarian.org>
6338
6339         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6340
6341 2003-05-28  André Pönitz  <poenitz@gmx.net>
6342
6343         * metricsinfo.[Ch]: remove 'fullredraw' member
6344
6345 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6346
6347         * lyxtextclass.C (operator): remove caching.
6348
6349 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6350
6351         * text3.C: adjust
6352
6353         * text2.C (cursorBottom): adjust
6354         (setCounter): use ParagraphList::find, adjust
6355
6356         * text.C (workWidth): use ParagraphList::find, adjust
6357
6358         * lyxcursor.C (LyXCursor): adjust
6359
6360         * buffer.C (inset_iterator): adjust
6361
6362         * ParagraphList.h: make iterator(value_type) private, make
6363         ParagraphList a friend of iterator.
6364
6365         * ParagraphList.C (find): new function
6366
6367         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6368
6369 2003-05-27  André Pönitz  <poenitz@gmx.net>
6370
6371         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6372
6373 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6374
6375         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6376
6377 2003-05-26  John Levon  <levon@movementarian.org>
6378
6379         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6380
6381 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6382
6383         * remove same_id from function signatures, adjust.
6384
6385 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6386
6387         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6388
6389         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6390
6391         * paragraph.C (Paragraph): get rid of same_ids parameter
6392
6393         * ParagraphList.C (insert): adjust
6394         (push_back): adjust
6395
6396 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6397
6398         * paragraph_funcs.C (breakParagraph): adjust
6399         (breakParagraphConservative): adjust
6400
6401         * buffer.C (readParagraph): adjust
6402
6403         * ParagraphList.C (insert): take a reference instead of a pointer
6404         (insert): adjust
6405
6406         * paragraph.[Ch] (id): new function
6407
6408         * bufferlist.C (newFile): adjust
6409
6410         * ParagraphList.C (ParagraphList): adjust
6411         (assign): adjust
6412         (push_back): take a reference instead of a pointer.
6413
6414         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6415
6416         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6417         instead.
6418
6419         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6420         set else use old code.
6421
6422         * ParagraphList.C: remove all NO_NEXT code and only compile this
6423         code of NO_STD_LIST is set.
6424
6425 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6426
6427         * BufferView_pimpl.C:
6428         * TextCache.C:
6429         * TextCache.h:
6430         * bufferlist.C:
6431         * errorlist.h:
6432         * format.C:
6433         * format.h:
6434         * graph.C:
6435         * lyxfunc.C:
6436         * lyxrc.C:
6437         * graphics/GraphicsConverter.C:
6438         * graphics/PreviewLoader.C: header adjustment
6439
6440 2003-05-23  Angus Leeming  <leeming@lyx.org>
6441
6442         * LaTeXFeatures.[Ch] (useBabel): new method.
6443         * bufferparams.C (writeLaTeX): use it.
6444
6445 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6446
6447         * ParagraphList.h (set): remove unused function.
6448
6449 2003-05-23  André Pönitz  <poenitz@gmx.net>
6450
6451         * BufferView.C:
6452         * BufferView_pimpl.C:
6453         * buffer.C:
6454         * buffer.h:
6455         * lyxfunc.C:
6456         * undo_funcs.C: setUndo reworked
6457
6458         * iterators.[Ch]: add access to topmost ParagraphList
6459
6460         * lyxtext.[Ch] (workWidth): add a const
6461
6462 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6463
6464         * texrow.[Ch] (increasePos): remove function
6465         * exporter.C (export): removed unused var and outdated comment
6466
6467 2003-05-23  Angus Leeming  <leeming@lyx.org>
6468
6469         * latexrunparams.h: rename fragile as moving_arg.
6470         * paragraph.C (simpleTeXOnePar): ditto.
6471         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6472
6473 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6474
6475         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6476         (createUndo): ditto
6477         (textUndoOrRedo): comment out a currently unused var.
6478
6479         * paragraph.h (NO_NEXT): enable NO_NEXT
6480
6481         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6482
6483         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6484
6485         * exporter.C (Export): adjust for removeAutoInsets removal.
6486
6487         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6488
6489         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6490
6491         * BufferView.[Ch] (removeAutoInsets): delete function
6492
6493 2003-05-22  Angus Leeming  <leeming@lyx.org>
6494
6495         * latexrunparams.h: add a free_spacing variable.
6496
6497         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6498         to pass moving_arg, as the data is stored in runparams.fragile.
6499
6500         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6501         to Inset::latexOptional or to simpleTeXOnePar.
6502
6503         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6504         free_spacing arg to Inset::latexOptional.
6505
6506         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6507         free_spacing arg.
6508
6509 2003-05-22  Angus Leeming  <leeming@lyx.org>
6510
6511         * latexrunparams.h: add fragile and use_babel variables.
6512
6513         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6514         * buffer.C (makeLaTeXFile): store this returned value in
6515         runparams.use_babel, thus passing it to the inset::latex methods.
6516
6517         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6518         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6519
6520         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6521         longer has a fragile arg, as it is stored in runparams.fragile.
6522
6523         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6524         moving_arg parameter as the data is stored in runparams.fragile.
6525
6526         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6527         a fragile parameter as the data is stored in runparams.fragile.
6528
6529 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6530
6531         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6532
6533 2003-05-22  Angus Leeming  <leeming@lyx.org>
6534
6535         * latexrunparams.h: add a 'bool nice' which defaults to false.
6536
6537         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6538         now encapsulated within runparams.
6539
6540         * bufferlist.C (updateIncludedTeXfiles):
6541         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6542
6543 2003-05-22  Angus Leeming  <leeming@lyx.org>
6544
6545         * latexrunparams.h: new file containing struct LatexRunParams.
6546         * Makefile.am: add new file.
6547
6548         * LaTeX.[Ch] (c-tor, run):
6549         * buffer.[Ch] (makeLaTeXFile):
6550         * bufferlist.[Ch] (updateIncludedTeXfiles):
6551         * converter.C (convert, scanLog):
6552         * converter.[Ch] (runLaTeX):
6553         * exporter.C (Export):
6554         * paragraph.[Ch] (simpleTeXOnePar):
6555         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6556         * paragraph_funcs.[Ch] (latexParagraphs):
6557         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6558         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6559         pass around a LatexRunParams parameter.
6560
6561 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6562
6563         * paragraph.[Ch]: remove unused constructor
6564
6565         * ParagraphList.C (erase): new function, taking two iterators
6566
6567 2003-05-22  André Pönitz  <poenitz@gmx.net>
6568
6569         * undo_funcs.C: remove duplicated code
6570
6571         * iterator.[Ch]: operator=
6572
6573 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6574
6575         * tabular.C (SetMultiColumn): ws changes
6576
6577         * rowpainter.C (paintFirst): get rid of a ->previous
6578
6579         * lyx_cb.C (getPossibleLabel): parlist simplification
6580
6581         * BufferView.C (ChangeInsets): simplify slightly.
6582
6583 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6584
6585         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6586         * lfuns.h: new LFUN_SPACE
6587         * lyxfunc.C: protected space has a new lfun
6588         * paragraph_funcs.C: read new space insets
6589         * text3.C:
6590         * factory.C: handle new space insets
6591
6592 2003-05-22  André Pönitz  <poenitz@gmx.net>
6593
6594         * BufferView.C:
6595         * BufferView_pimpl.C:
6596         * buffer.[Ch]:
6597         * lyxfunc.C:
6598         * undo_funcs.C: return a ParIterator from getParFromID.
6599
6600         * iterators.[Ch]: add two const's
6601
6602 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * toc.C (getTocList): adjust
6605
6606         * iterators.[Ch]: rework for parlist
6607
6608         * buffer.C (par_iterator_begin): adjust
6609         (par_iterator_end): adjust
6610
6611         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6612
6613         * BufferView.C (removeAutoInsets): adjust
6614         (ChangeInsets): adjust
6615
6616 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6617
6618         * text.C (top_y): fix bug 1110
6619
6620 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6621
6622         * errorlist.[Ch]: added
6623         * buffer.C:
6624         * BufferView.[Ch]:
6625         * BufferView_pimpl.C:
6626         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6627         instead
6628
6629 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6630
6631         * Makefile.am: ensure that lyx is relinked upon changes to the
6632         various "convenience" libs.
6633
6634 2003-05-20  Angus Leeming  <leeming@lyx.org>
6635
6636         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6637         files are compiled in alphabetical order again.
6638
6639         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6640
6641 2003-05-19  Angus Leeming  <leeming@lyx.org>
6642
6643         * gettext.[Ch]: remove "char const * _(char const *)".
6644
6645 2003-05-19  André Pönitz  <poenitz@gmx.net>
6646
6647         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6648
6649         * Makefile.am:
6650         * BufferView.C:
6651         * DepTable.h:
6652         * LaTeXFeatures.C:
6653         * buffer.C:
6654         * lyxfont.C:
6655         * lyxlex.h:
6656         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6657
6658 2003-05-19  André Pönitz  <poenitz@gmx.net>
6659
6660         * buffer.C:
6661         * lyxlayout.[Ch]:
6662         * lyxtextclass.[Ch]:
6663         * paragraph.C:
6664         * paragraph_funcs.[Ch]:
6665         * text2.C:
6666         * text3.C: more insetenv work
6667
6668 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6669
6670         * ParagraphParameters.C (params2string): small bug fixed
6671
6672 2003-05-16  André Pönitz  <poenitz@gmx.net>
6673
6674         * debug.C:
6675         * bufferview_funcs.C: patch from Kornel Benko to prevent
6676           crash when _(...) is called twice in a statement
6677
6678 2003-05-16  André Pönitz  <poenitz@gmx.net>
6679
6680         * BufferView.C:
6681         * lyxfunc.C:
6682         * text.C:
6683         * text2.C:
6684         * text3.C:
6685         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6686
6687 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6688
6689         * lyx_main.C (init): remove spurious static_cast
6690
6691 2003-05-14  André Pönitz  <poenitz@gmx.net>
6692
6693         * BufferView.C: fix format string
6694
6695 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6696
6697         * BufferView.[Ch] (insertErrors): removed
6698         * BufferView.[Ch] (showErrorList): added
6699         * buffer.C (runChkTeX):
6700         * converter.C (scanLog): call showErrorList instead of inserterrors
6701
6702 2003-05-13  André Pönitz  <poenitz@gmx.net>
6703
6704         * BufferView_pimpl.C:
6705         * buffer.C:
6706         * bufferview_func.C:
6707         * MenuBackend.C:
6708         * lyxfunc.C:
6709         * lyxrc.C:
6710         * tex-accent.C:
6711         * text3.C:
6712         * toc.C:
6713         * tabular_funcs.h: tostr() from its own header
6714
6715         * ParagraphParameters.C:
6716         * ToolbarBackend.C:
6717         * bufferparams.C:
6718         * format.C:
6719         * lyxlex_pimpl.C:
6720         * text3.C: STRCONV()
6721
6722 2003-05-12  André Pönitz  <poenitz@gmx.net>
6723
6724         * BufferView.C:
6725         * BufferView_pimpl.C:
6726         * CutAndPaste.C:
6727         * LaTeX.C:
6728         * LaTeXFeatures.C:
6729         * ParagraphParameters.C:
6730         * buffer.C:
6731         * bufferlist.C:
6732         * bufferparams.C:
6733         * bufferview_funcs.C:
6734         * converter.C:
6735         * counters.C:
6736         * debug.C:
6737         * exporter.C:
6738         * format.C:
6739         * importer.C:
6740         * lyx_cb.C:
6741         * lyx_main.C:
6742         * lyxfont.C:
6743         * lyxfunc.C:
6744         * lyxvc.C:
6745         * paragraph.C:
6746         * paragraph_funcs.C:
6747         * tabular.C:
6748         * tabular_funcs.C:
6749         * text2.C:
6750         * text3.C:  boost::format -> bformat  all over the place
6751
6752
6753 2003-05-09  André Pönitz  <poenitz@gmx.net>
6754
6755         * LColor.[Ch]: Pimpl the #include <map> away
6756
6757 2003-05-09  John Levon  <levon@movementarian.org>
6758
6759         * bufferlist.C: never remove emergency saves
6760
6761 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6762
6763         * Makefile.am: better lib building
6764
6765 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6766
6767         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6768         instead.
6769         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6770         (simpleTeXSpecialChars): adjust
6771         (simpleTeXSpecialChars): adjust
6772         * paragraph.C (simpleTeXOnePar): adjust
6773         * buffer.C (makeLaTeXFile): adjust
6774
6775         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6776
6777         * text2.C (changeDepth): parlist cleanup
6778         (getColumnNearX): ditto
6779
6780         * rowpainter.C (getLabelFont): parlist cleanup
6781
6782         * bufferlist.C (newFile): parlist cleanup
6783
6784         * CutAndPaste.C (eraseSelection): parlist cleanup
6785
6786         * BufferView_pimpl.C (trackChanges): parlist cleanup
6787         (dispatch): ditto
6788
6789         * BufferView.C (lockInset): parlist cleanup.
6790         (ChangeInsets): ditto
6791
6792 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6793
6794         * CutAndPaste.h: Update file header.
6795
6796         * CutAndPaste.C: Update file header.
6797         Store the parts cut out of the Document in a limited_stack.
6798         (copySelection): adjust
6799         (pasteSelection): new function, takes the index in the limited stack.
6800         (nrOfParagraphs): adjust
6801         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6802         simplify error inset insertion.
6803         (checkPastePossible): adjust
6804
6805 2003-05-06  John Levon  <levon@movementarian.org>
6806
6807         * text2.C: don't cast wrap inset to float
6808
6809 2003-05-05  André Pönitz  <poenitz@gmx.net>
6810
6811         * iterator.C:
6812         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6813
6814         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6815           few naked Paragraph *.
6816
6817 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6818
6819         * bufferparams.C: Output warning if a document with missing
6820         TeX document class is loaded
6821         * exporter.C: Disable TeX exports if the document class is missing
6822         * lyxtextclass.C:
6823         * lyxtextclass.h:
6824         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6825         isTeXClassAvailable()
6826
6827 2003-05-03  John Levon  <levon@movementarian.org>
6828
6829         * BufferView.h:
6830         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6831         explicit cursor show/hide
6832
6833         * BufferView_pimpl.h:
6834         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6835         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6836
6837         * lyxfunc.C: hide cursor before dispatching.
6838
6839         * lyx_cb.C:
6840         * lyxfind.C:
6841         * text.C:
6842         * text3.C: remove explicit cursor hides
6843
6844 2003-05-02  André Pönitz  <poenitz@gmx.net>
6845
6846         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6847
6848         * undo_funcs.C:
6849         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6850           linked lists
6851
6852         * text2.C: tiny whitespace
6853
6854 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6855
6856         * undo_funcs.C: almost only ws changes.
6857
6858         * ParagraphList.C (splice): just return if pl is empty.
6859
6860 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6861
6862         * ParagraphList.C (splice): new function.
6863
6864         * CutAndPaste.C (pasteSelection): use it
6865
6866 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6867
6868         * CutAndPaste.C (pasteSelection): remove the last next and
6869         previous from this file.
6870
6871 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6872
6873         * CutAndPaste.C (pasteSelection): more clean up, user proper
6874         ParagraphList functions for pasteing.
6875
6876         * ParagraphList.C (insert): new function, three arg insert
6877
6878 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6879
6880         * ParagraphList.C (insert): new function, three arg insert
6881
6882         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6883         not on paragraphs.
6884
6885 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6886
6887         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6888
6889 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6890
6891         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6892
6893 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6894
6895         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6896         (copySelection): clean up a bit.
6897         (pasteSelection): use make_pair
6898
6899         * ParagraphList.C (ParagraphList): implement copy constructor
6900         (operator=): implement, base on copy constructor.
6901         (assign): new func
6902
6903         * paragraph.C (erase): return a bool
6904
6905         * paragraph_pimpl.C (erasePos): remove function, move contents...
6906         (erase): ... here. Return a bool.
6907         (erase): call erase instead of erasePos.
6908
6909 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6910
6911         * ParagraphList.h: define PitPosPair
6912         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6913         ParagraphList, fix a bug on pasting multiple pars
6914         * text2.C: change interface to C&P
6915
6916 2003-04-30  André Pönitz  <poenitz@gmx.net>
6917
6918         * undo_func.C: revert part of yesterday's patch 2
6919
6920 2003-04-30  John Levon  <levon@movementarian.org>
6921
6922         * LColor.C: s/tabular/table/
6923
6924 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6925
6926         * text3.C (dispatch): do not convert iterator -> pointer
6927         * undo_funcs.C (setCursorParUndo): ditto
6928         * text_funcs.C (transposeChars): ditto
6929
6930         * text2.C (setLayout): ws changes only
6931
6932         * text.C (breakParagraph): do not convert iterator -> pointer
6933         (insertChar): ditto
6934         (acceptChange): ditto
6935         (rejectChange): ditto
6936         (changeCase): ditto
6937         (Delete): ditto
6938         (backspace): ditto
6939
6940         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6941         pointer
6942
6943 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6944
6945         * text3.C (gotoInset): YABG (yet another bad getChar)
6946
6947 2003-04-29  André Pönitz  <poenitz@gmx.net>
6948
6949         * paragraph.h: make operator= private unimplemented as long as
6950           it is unusable
6951
6952         * ParagraphList.C: whitespace
6953
6954         * paragraph.[Ch]:
6955         * paragraph_pimpl.[Ch]:
6956         * paragraph_funcs.C:
6957         * CutAndPaste.C:
6958         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6959
6960         * text2.C:
6961           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6962
6963 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6964
6965         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6966         * paragraph.[Ch] (erase):
6967         * paragraph_pimpl.[Ch] (erase): change return type and value
6968         * text2.C (cutSelection): some rework
6969
6970 2003-04-28  John Levon  <levon@movementarian.org>
6971
6972         * bufferlist.C: changes for unsaved changes dialog
6973
6974 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6975
6976         * bufferlist.C (newFile): set language (messages_) for new
6977         documents also.
6978
6979         * buffer.C (readFile): ws changes only.
6980
6981 2003-04-28  André Pönitz  <poenitz@gmx.net>
6982
6983         * undo_funcs.C:
6984         * lyxfunc.C:
6985         * buffer.[Ch]:
6986         * BufferView_pimpl.C:
6987         * BufferView.C: getParFromID related ParagraphList::iterator changes
6988
6989 2003-04-28  André Pönitz  <poenitz@gmx.net>
6990
6991         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6992           Changes
6993
6994 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6995
6996         * messages.C: remove one more localedir class variable.
6997
6998 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6999
7000         * messages.C (getLocaleDir): singleton generation function
7001         (Pimpl): use it.
7002         (Messages): add a default constructor.
7003
7004         * main.C (main): do not setup localedir here, do not call
7005         gettext_init.
7006
7007         * gettext.C (_): use it.
7008         (gettext_init): delete funciton
7009
7010 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7011
7012         * gettext.C (getLyXMessages): new singleton generating function.
7013
7014         * buffer.C (updateDocLang): adjust
7015
7016         * Makefile.am (messages.o): add target
7017         (main.o): remove target
7018
7019 2003-04-27  John Levon  <levon@movementarian.org>
7020
7021         * bufferlist.C:
7022         * lyx_cb.C:
7023         * lyxfunc.C:
7024         * lyxvc.C: specify cancel button in Alert::prompt
7025
7026 2003-04-26  John Levon  <levon@movementarian.org>
7027
7028         * text3.C:
7029         * lyxfunc.C:
7030         * lfuns.h:
7031         * LyXAction.C: add LFUN_INSET_SETTINGS
7032
7033         * lyxfunc.C: don't enable tabular-feature when there's
7034         just any locking inset
7035
7036 2003-04-26  John Levon  <levon@movementarian.org>
7037
7038         * bufferlist.C: re-add Cancel to buffer close question
7039
7040         * lyxfunc.C: fix import UI a bit
7041
7042 2003-04-25  John Levon  <levon@movementarian.org>
7043
7044         * gettext.C: remove the broken asserts for now
7045
7046 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7047
7048         * messages.C: make case where setlocale cannot comply work better.
7049
7050         * buffer.C (updateDocLang): new function
7051         (changeLanguage): use it
7052         (readFile): use it
7053
7054         * text2.C (setCounter): use B_ a bit.
7055
7056         * lyxlayout.C (Read): be sure to trim the label strings.
7057
7058         * messages.C (Messages): fix typo in comment
7059
7060         * buffer.C (readFile): set message_ after file is loaded.
7061         (makeDocBookFile): remove double return
7062         (changeLanguage): reset message_ upon language change.
7063         (B_): new func, use this to get translated buffer strings.
7064
7065         * main.C: add myself and Jean Marc as authors.
7066
7067 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7068
7069         * messages.[hC]: pimplify Messages, and three different pimpls to be
7070         used in different circumstances.
7071
7072         * gettext.[Ch]: change for use with new message code.
7073
7074 2003-04-24 André Pönitz <poenitz@gmx.net>
7075
7076         * factory.C: support for eqref
7077
7078 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7079
7080         * messages.[Ch]: add missing char
7081
7082         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7083
7084         * messages.[Ch]: New files
7085
7086 2003-04-18  John Levon  <levon@movementarian.org>
7087
7088         * BufferView.h:
7089         * BufferView.C:
7090         * BufferView_pimpl.C:
7091         * lfuns.h:
7092         * LyXAction.C:
7093         * lyxtext.h:
7094         * text2.C: remove layout-copy/paste (bug 778)
7095
7096 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7097
7098         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7099
7100 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7101
7102         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7103         if they succeed. Act accordingly.
7104
7105 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7106
7107         * text2.C (setCharFont): adjust
7108         (setCounter): adjust
7109         (insertStringAsLines): adjust
7110
7111         * text.C (leftMargin): adjust
7112         (setHeightOfRow): adjust
7113
7114         * rowpainter.C (paintFirst): adjust
7115         (paintLast): adjust
7116
7117         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7118         (outerHook): ditto
7119         (isFirstInSequence): ditto
7120         (getEndLabel): ditto
7121         (outerFont): adjust
7122
7123         * paragraph.C (getParLanguage): comment out some hard stuff.
7124
7125         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7126         (sgmlError): ditto
7127         (simpleDocBookOnePar): ditto
7128         (makeDocBookFile): use ParagraphList::iterator
7129
7130         * CutAndPaste.C (pasteSelection): adjust
7131
7132 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7133
7134         * text2.C (getFont): adjust
7135         (getLayoutFont): adjust
7136         (getLabelFont): adjust
7137
7138         * paragraph_funcs.C (TeXOnePar): adjust
7139
7140         * buffer.C (simpleLinuxDocOnePar): adjust
7141         (simpleDocBookOnePar): adjust
7142
7143         * CutAndPaste.C (pasteSelection): adjust
7144
7145         * BufferView.C (getEncoding): adjust
7146
7147         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7148
7149 2003-04-16  John Levon  <levon@movementarian.org>
7150
7151         * lyxfind.C: use parlist stuff for search/changes
7152
7153 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7154
7155         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7156
7157         * text2.C (deleteEmptyParagraphMechanism): adjust
7158
7159         * text2.[Ch] (ownerParagraph): delete func (both of them
7160
7161 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7162
7163         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7164
7165 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7166
7167         * ParagraphList.C: prepare for NO_NEXT
7168
7169 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7170
7171         * text2.C (getFont): adjust
7172         (getLayoutFont): adjust
7173         (getLabelFont): adjust
7174
7175         * paragraph.C (getFont): adjust
7176         (getLabelFont): adjust
7177         (getLayoutFont): adjust
7178
7179         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7180
7181 2003-04-15  John Levon  <levon@movementarian.org>
7182
7183         From Angus Leeming
7184
7185         * lyx_main.C: handle Include in .ui files
7186
7187 2003-04-15  John Levon  <levon@movementarian.org>
7188
7189         * MenuBackend.C: make the doc files length shorter
7190
7191         * ToolbarBackend.h:
7192         * ToolbarBackend.C: handle toolbar placement flags,
7193         Minibuffer
7194
7195 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7198         adjust
7199
7200         * paragraph_funcs.C (TeXOnePar): adjust
7201
7202         * paragraph.C (getLabelFont): add outerfont arg, adjust
7203         (getLayoutFont): ditto
7204         (simpleTeXOnePar): adjust
7205
7206         * paragraph_pimpl.C (realizeFont): delete func
7207
7208 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7209
7210         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7211         row argument, constify cur argument.
7212
7213 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7214
7215         * text2.C (getFont): adjust
7216         (getLayoutFont): adjust
7217         (getLabelFont): adjust
7218
7219         * paragraph_funcs.C (TeXOnePar): adjust
7220         (outerFont): new func...
7221         (realizeFont): ...moved out from here, changed this to facilitate
7222         transition
7223
7224         * paragraph.C (getFont): take outerfont as arg, adjust
7225         (simpleTeXOnePar): add outerfont arg, adjust
7226
7227         * buffer.C (simpleLinuxDocOnePar): adjust
7228         (simpleDocBookOnePar): adjust
7229
7230         * CutAndPaste.C (pasteSelection): adjust
7231
7232         * BufferView.C (getEncoding): adjust
7233
7234 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7235
7236         * text2.C (setCharFont): adjust
7237         (setCounter): adjust
7238
7239         * text.C (leftMargin): adjust
7240         (setHeightOfRow): adjust
7241
7242         * rowpainter.C (paintFirst): adjust
7243         (paintLast): adjust
7244
7245         * paragraph_pimpl.C (realizeFont): adjust
7246
7247         * paragraph.C (isFirstInSequence): move from here...
7248         * paragraph_funcs.C (isFirstInSequence): ...to here
7249
7250         * paragraph.C (outerHook): move from here...
7251         * paragraph_funcs.C (outerHook): ...to here
7252
7253         * paragraph.C (depthHook): move from here...
7254         * paragraph_funcs.C (depthHook): ...to here
7255
7256         * paragraph.C (getEndLabel): move from here...
7257         * paragraph_funcs.C (getEndLabel): ...to here
7258
7259         * text2.C (realizeFont): move from here...
7260         * paragraph_funcs.C (realizeFont): ...to here
7261
7262 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7263
7264         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7265
7266 2003-04-14  Angus Leeming  <leeming@lyx.org>
7267
7268         * LColor.[Ch]: scrap LColor mathcursor.
7269
7270 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7271
7272         * lyxlex.[Ch] (text): delete function
7273         * trans.C (Load): adjust
7274         * paragraph_funcs.C (readParToken): adjust
7275
7276 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7277
7278         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7279         vector<char> instead of a char[].
7280
7281         * lyxlex_pimpl.C (getString): adjust
7282         (next): adjust
7283         (lex): use getString
7284         (eatLine): adjust
7285         (nextToken): adjust
7286
7287         * lyxlex.C (text): use pimpl_->getString()
7288         (getBool): ditto
7289         (findToken): ditto
7290
7291 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7292
7293         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7294         (makeFontEntriesLayoutSpecific): temp var for par.size()
7295         (setLayout): temp var for ownerParagraphs().end()
7296         (fullRebreak): temp var for rows().end()
7297         (selectionAsString): temp var for boost::next(startpit), realize
7298         that the while really is a regular for loop.
7299         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7300         setCursor in one place.
7301         (setParagraph): temp vr for ownerParagraphs().end()
7302         (updateCounters): make the while loop a for loop
7303         (cutSelection): temp var for ownerParagraphs().end()
7304         (updateInset): make the do {} while() a regular for loop
7305         (getCursorX): use temp vars
7306         (setCurrentFont): use temp vars
7307         (getColumnNearX): use temp vars
7308
7309 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7310
7311         * text.C (transformChar): use temp var for getChar
7312         (computeBidiTables): use temp var for row->par()
7313         (fill): move temp vars for row->par() and pit->layout() earlier in
7314         the function.
7315         (labelFill): use temp var for row->par()
7316         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7317         asc and desc, realize that pit never changes and that firstpit is
7318         just a duplicate and not needed. Exchange rit->par() with pit in a
7319         lot of places.
7320         (breakAgain): use a temp var for boost::next(rit)
7321         (breakAgainOneRow): ditto
7322         (breakParagraph): use a temp var for rows().begin()
7323         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7324         (cursorRightOneWord): use temp var for cursor.par() and
7325         cursor.pos(), remove usage of tmpcursor.
7326         (cursorLeftOneWord): use temp var for cursor.par() and
7327         cursor.pos() only set cur at end of function.
7328
7329 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7330
7331         * text.C, text2.C: exchange all usage of Paragraph::next with
7332         boost::next(ParagraphList::iterator)
7333
7334         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7335
7336         * text2.C (cursorTop): simplify implementation
7337         (cursorBottom): ditto
7338         (setParagraph): use ParagraphList::iterator
7339         (setCurrentFont): adjust
7340         (getColumnNearX): adjust
7341         (cursorRight): adjust
7342         (cursorLeft): remove usage of Paragraph::previous
7343         (cursorUpParagraph): ditto
7344         (deleteEmptyParagraphMechanism): slight cleanup
7345
7346         * text.C (isBoundary): take a Paragraph const & instead of a
7347         pointer as arg.
7348         (addressBreakPoint): ditto
7349         (leftMargin): remove usage of Paragraph::previous.
7350         (setHeightOfRow): ditto
7351         (cursorLeftOneWord): ditto
7352         (selectNextWordToSpellcheck): ditto
7353         (Delete): ditto
7354         (backspace): ditto
7355         (breakParagraph): remove one usage of Paragraph::next
7356         (redoParagraph): ditto
7357         (acceptChange): ditto
7358         (insertChar): adjust
7359         (rowBreakPoint): adjust
7360
7361         * bufferview_funcs.C (toggleAndShow): adjust
7362
7363 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7364
7365         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7366         methods to access it.
7367         * lyxtext.h:
7368         * text.C: Added updateRowPositions to compute all row positions.
7369         Make top_y and getRowNearY() to use the cached y position
7370
7371 2003-04-11  John Levon  <levon@movementarian.org>
7372
7373         * text.C (rowBreakPoint): reintroduce the labelEnd
7374         checks, code copied from the row fill stuff. Deep voodoo.
7375
7376         * text.C (fill): add a comment and debugging for the
7377         next poor soul.
7378
7379 2003-04-11  John Levon  <levon@movementarian.org>
7380
7381         * text.C: make sure fullrow insets get wrapped to the next line,
7382         even when they're in a manual label
7383
7384 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7385
7386         * text2.C (insertParagraph): make it take ParagraphList::iterator
7387         as arg.
7388         (setLayout): make it return ParagraphList::iterator
7389         (redoParagraphs): ditto
7390         (setCounter): ditto
7391         (checkParagraph): ditto
7392
7393         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7394
7395         * text2.C: adjust several funcs.
7396         (realizeFont): take a ParagraphList::iterator as arg.
7397         (getLayoutFont): ditto
7398         (getLabelFont): ditto
7399         (setCharFont): ditto
7400
7401         * text.C: adjust several funcs.
7402
7403 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7404
7405         * text.C (selectNextWordToSpellcheck): don't accidentally
7406         skip insets
7407
7408 2003-04-10  John Levon  <levon@movementarian.org>
7409
7410         * ToolbarBackend.C (getIcon): special handling for
7411         LFUN_MATH_DELIM
7412
7413 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7414
7415         * text2.C (cursorRight): a getChar assert fixed
7416
7417 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7418
7419         * text2.C (getFont): change to take a ParagraphList::iterator
7420         instead of Paragraph*
7421         Adjust several functions.
7422
7423         * text.C (transformChar): change to take a ParagraphList::iterator
7424         instead of Paragraph*
7425         (singleWidth): ditto
7426         Adjust several functions.
7427
7428         * rowpainter.C: adjust several functions
7429         * rowpainter.h:store a ParagraphList::iterator and not a
7430         Paragraph&.
7431
7432
7433 2003-04-09  John Levon  <levon@movementarian.org>
7434
7435         * lyxfunc.C:
7436         * lfuns.h:
7437         * LyXAction.h:
7438         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7439         and the "help" bits as well
7440
7441 2003-04-09  John Levon  <levon@movementarian.org>
7442
7443         * ToolbarBackend.h:
7444         * ToolbarBackend.C: allow multiple toolbars
7445
7446 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7447
7448         * undo_funcs.C (setCursorParUndo): adjust
7449
7450         * text_funcs.C (transposeChars): adjust
7451
7452         * text3.C (gotoNextInset): adjust
7453         (dispatch): adjust
7454
7455         * text2.C (setLayout): adjust
7456         (changeDepth): adjust
7457         (setFont): adjust
7458         (redoParagraphs): adjust
7459         (selectionAsString): adjust
7460         (setParagraph): adjust
7461         (insertInset): adjust
7462         (cutSelection): adjust
7463         (copySelection): adjust
7464         (pasteSelection): adjust
7465         (insertStringAsLines): adjust
7466         (updateInset): adjust
7467         (setCursor): change to take a ParagraphList::iterator parameter
7468         (setCursorIntern): change to take a ParagraphList::iterator parameter
7469         (setCurrentFont): adjust
7470         (cursorLeft): adjust
7471         (cursorRight): adjust
7472         (deleteEmptyParagraphMechanism): adjust
7473
7474         * text.C (breakParagraph): adjust
7475         (insertChar): adjust
7476         (acceptChange): adjust
7477         (rejectChange): adjust
7478         (selectNextWordToSpellcheck): adjust
7479         (changeCase): adjust
7480         (Delete): adjust
7481         (backspace): adjust
7482
7483         * lyxfind.C (SearchForward): adjust
7484         (SearchBackward): adjust
7485         (nextChange): adjust
7486
7487         * lyxcursor.C (par): adjust
7488
7489         * lyxcursor.h: store a ParagraphList::iterator instead of a
7490         Paragraph*
7491
7492         * lyx_cb.C (getPossibleLabel): adjust
7493
7494         * bufferview_funcs.C (toggleAndShow): adjust
7495
7496         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7497         (dispatch): adjust
7498
7499         * BufferView.C (removeAutoInsets): adjust
7500         (lockedInsetStoreUndo): adjust
7501
7502 2003-04-09  John Levon  <levon@movementarian.org>
7503
7504         * ToolbarBackend.C: try icon without argument
7505         if with argument fails
7506
7507 2003-04-08  John Levon  <levon@movementarian.org>
7508
7509         * ToolbarBackend.h:
7510         * ToolbarBackend.C: add getIcon(), handle tooltip,
7511         and change from "Icon" to "Item".
7512
7513 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7514
7515         * BufferView.C (lockInset): another bad getchar crunched
7516
7517 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7518
7519         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7520         again)
7521
7522 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7523
7524         * lyxfind.C (searchForward, searchBackwards): bug 782
7525
7526 2003-04-07  John Levon  <levon@movementarian.org>
7527
7528         * paragraph.C: remove dead comment
7529
7530         * text.C: remove troublesome depth-fiddling code
7531         in leftMargin() and rightMargin() (bug 1017)
7532
7533         * text.C: fix breaking of rows in nested lists
7534         (bug 1004)
7535
7536         * text2.C (updateCounters): fix up depth values
7537         (bug 1013)
7538
7539 2003-04-07  John Levon  <levon@movementarian.org>
7540
7541         * BufferView_pimpl.C: clear message when doc finishes resizing,
7542         and after a mouse event
7543
7544         * lyxfunc.C: clear message after exiting inset
7545
7546 2003-04-07  John Levon  <levon@movementarian.org>
7547
7548         * bufferview_funcs.C: show math status not outside
7549         status in the statusbar
7550
7551 2003-04-07  John Levon  <levon@movementarian.org>
7552
7553         * lyxfunc.C: note status changed after a depth change
7554
7555 2003-04-04  Angus Leeming  <leeming@lyx.org>
7556
7557         * LaTeX.h: move AuxInfo operator==, != out of line.
7558         Remove LaTeX virtual destructor; nothing derives from it.
7559         Move operator()() out of public area and rename it startscript().
7560         Change protected for private.
7561
7562 2003-04-04  Angus Leeming  <leeming@lyx.org>
7563
7564         * lyxfunc.C:
7565         * text2.C: remove unneeded #includes.
7566
7567 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7568
7569         * text2.C (dEPM): fix the heigth of the next row
7570
7571 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7572
7573         * text.C: squashed an invalid getChar requester + some ws changes
7574
7575 2003-04-03  John Levon  <levon@movementarian.org>
7576
7577         * bufferview_funcs.h:
7578         * bufferview_funcs.C:
7579         * lyxfunc.C:
7580         * lyxtext.h:
7581         * text2.C: make getStatus work for the env depth lfuns
7582
7583 2003-04-03  John Levon  <levon@movementarian.org>
7584
7585         * bufferview_funcs.h:
7586         * bufferview_funcs.C:
7587         * lyxfunc.C:
7588         * lyxtext.h:
7589         * text2.C: parlistize decDepth(), by merging it with incDepth()
7590
7591 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7592
7593         * lyxrow.h: store a ParagraphList::iterator instead of a
7594         Paragraph* and adjust other class functions to suit.
7595
7596         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7597         above.
7598
7599 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7600
7601         * text2.C (setCursor): do not anchor to cursor row for the time being
7602
7603 2003-04-02  John Levon  <levon@movementarian.org>
7604
7605         * LyXAction.C:
7606         * lfuns.h:
7607         * lyx_main.C:
7608         * lyxtext.h:
7609         * text.C:
7610         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7611
7612 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7613
7614         * paragraph.h: make ParagraphList and ParagraphList::iterator
7615         friends of Paragraph.
7616
7617         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7618
7619         * ParagraphList.C: Use the private next_ and previous_ from
7620         Paragraph.
7621
7622 2003-04-01  John Levon  <levon@movementarian.org>
7623
7624         * ToolbarBackend.h:
7625         * ToolbarBackend.C:
7626         * Makefile.am: rename, remove defaults gunk
7627
7628         * MenuBackend.h:
7629         * MenuBackend.C: remove defaults gunk
7630
7631         * Languages.h:
7632         * Languages.C: remove defaults gunk
7633
7634         * lyx_main.h:
7635         * lyx_main.C: error out if files couldn't be found.
7636
7637 2003-04-02  John Levon  <levon@movementarian.org>
7638
7639         * text2.C: make incDepth() use parlist
7640
7641 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7642
7643         * undo_funcs.C (firstUndoParagraph): adjust
7644
7645         * text3.C (gotoInset): adjust
7646         (dispatch): adjust, and rewrite loop.
7647
7648         * text2.C (init): adjust, and rewrite loop.
7649         (redoParagraphs): adjust
7650         (updateInset): adjust, and rewrite loop.
7651         (deleteEmptyParagraphMechanism): adjust
7652
7653         * tabular.C (LyXTabular): adjust
7654         (SetMultiColumn): adjust
7655         (TeXRow): adjust
7656
7657         * lyxtext.[Ch] (ownerParagraph): delete function
7658         (ownerParagraphs): new function returns a ParagraphList.
7659
7660         * BufferView.C (removeAutoInsets): adjust
7661         (insertErrors): adjust
7662         (setCursorFromRow): adjust
7663
7664 2003-04-01  Angus Leeming  <leeming@lyx.org>
7665
7666         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7667         in the frontends.
7668
7669 2003-04-02  John Levon  <levon@movementarian.org>
7670
7671         * lyxtext.h:
7672         * text.C:
7673         * Makefile.am:
7674         * text_funcs.h:
7675         * text_funcs.C: make transposeChars a free function
7676
7677         * lyxrow_funcs.C: remove wrong comment
7678
7679 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7680
7681         * lyxtext.h: adjust
7682         * rowpainter.C: adjust
7683         * text.C: adjust
7684         * text2.C: adjust
7685         * text3.C: adjust
7686
7687         * lyxrow_funcs. [Ch]: new files
7688
7689         * lyxrow.[Ch]: remove next and previous pointers
7690         (next,previous): remove accessor functions
7691         (isParEnd): move to lyxrow_funcs
7692         (lastPos): move to lyxrow_funcs
7693         (nextRowIsAllInset): move to lyxrow_funcs
7694         (lastPrintablePos): move to lyxrow_funcs
7695         (numberOfSeparators): move to lyxrow_funcs
7696         (numberOfHfills): move to lyxrow_funcs
7697         (numberOfLabelHfills): move to lyxrow_funcs
7698         (hfillExpansion): move to lyxrow_funcs
7699
7700         * lyxfunc.C: adjust
7701
7702         * bufferview_funcs.C (toggleAndShow): adjust
7703
7704         * RowList.h: Remove class RowList from file leave just a
7705         std::list<Row>.
7706
7707         * RowList.C: delete file
7708
7709         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7710         and lyxrow_funcs.h
7711
7712 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7713
7714         * text3.C (cursorPrevious): adjust
7715         (cursorNext): adjust
7716         (dispatch): adjust
7717
7718         * text2.C (redoHeightOfParagraph): adjust
7719         (redoDrawingOfParagraph): adjust
7720         (setCursor): adjust
7721
7722         * text.C (breakParagraph): adjust
7723         (insertChar): adjust
7724         (backspace): adjust
7725
7726         * rowpainter.C (RowPainter): adjust
7727         (leftMargin): simplify and adjust
7728         (most rowpainter functions): adjust.
7729
7730         * rowpainter.h: store the row as RowList::iterator not as Row*
7731
7732         * lyxcursor.C (row): taka RowList::iterator as arg
7733         (irow): ditto
7734
7735         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7736         of Row*.
7737
7738 2003-04-01  Angus Leeming  <leeming@lyx.org>
7739
7740         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7741         stuff like bool Bool.
7742
7743 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7744
7745         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7746         rewrite a loop
7747
7748 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7749
7750         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7751         RowList::iterator.
7752
7753         * lyxtext.h (rows): drop one version and leve a const variant that
7754         returns a RowList::iterator.
7755
7756 2003-03-31  Angus Leeming  <leeming@lyx.org>
7757
7758         * text.C (fill): ensure that the signature is the same as that in the
7759         header file.
7760
7761 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7762
7763         * text2.C (redoParagraphs): adjust
7764         (updateCounters): adjust
7765         (checkParagraph): adjust
7766         (getColumnNearX): adjust and reformat a bit.
7767
7768         * text.C (top_y): adjust
7769         (workWidth): adjust
7770         (leftMargin): adjust
7771         (prepareToPrint): adjust
7772         (getRow): adjust
7773         (getRowNearY): adjust
7774
7775         * lyxtext.h: make rowlist_ mutable.
7776
7777         * RowList.h: add const_iterator
7778         * RowList.C: adjust for RowList::const_iterator.
7779
7780         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7781         adjust.
7782
7783 2003-03-31  John Levon  <levon@movementarian.org>
7784
7785         * lyxrc.h:
7786         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7787
7788         * lyx_main.C: set default fonts from using lyx_gui funcs
7789
7790         * exporter.C: pdf_mode moved from lyxrc
7791
7792         * lyx_cb.C:
7793         * lyxfunc.C: changes from above
7794
7795 2003-03-31  John Levon  <levon@movementarian.org>
7796
7797         * lyx_main.C: fix to the last fix
7798
7799 2003-03-31  John Levon  <levon@movementarian.org>
7800
7801         * bufferlist.C: "Load original" -> "Load Original"
7802
7803         * converter.C:
7804         * exporter.C:
7805         * importer.C:
7806         * lyx_main.C:
7807         * format.C: more Alert cleanups
7808
7809 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7810
7811         * text2.C (removeParagraph): make it take a RowList::iterator as
7812         arg, adjust.
7813         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7814         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7815
7816         * text.C (anchor_row): make it take a RowList::iterator as arg,
7817         adjust.
7818         (computeBidiTables): make it take a const reference to Row instead
7819         of Row pointer, adjust.
7820         (leftMargin): make it take a RowList::iterator as arg, adjust.
7821         (rowBreakPoint): adjust
7822         (breakAgainOneRow): make it take a RowList::iterator as arg,
7823         adjust.
7824         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7825
7826         * bufferview_funcs.C (toggleAndShow): adjust
7827
7828 2003-03-30  John Levon  <levon@movementarian.org>
7829
7830         * Makefile.am:
7831         * BoostFormat.h:
7832         * boost-inst.C: moved to support
7833
7834         * several files: changes as a result
7835
7836 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7837
7838         * text2.C (LyXText): adjust.
7839         (init): adjust
7840         (removeRow): make it take a RowList::iterator as arg, adjust.
7841         (fullRebreak): adjust
7842         (deleteEmptyParagraphMechanism): adjust
7843         (clearPaint): adjust
7844         (postPaint): adjust
7845
7846         * text.C (top_y): adjust
7847         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7848         (breakAgain): make it take a RowList::iterator as arg, adjust.
7849         (breakParagraph): adjust
7850         (insertChar): adjust
7851         (backspace): adjust
7852
7853         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7854         need_break_row, and refresh_row.
7855
7856         * text3.C (dispatch): adjust
7857
7858         * text2.C (checkParagraph): adjust
7859         (setCursor): adjust
7860         (setCursorFromCoordinates): adjust
7861
7862         * text.C (top_y): adjust
7863         (workWidth): adjust
7864         (getRow): make it return a RowList::iterator, adjust
7865         (getRowNearY): make it return a RowList::iterator, adjust
7866
7867         * text2.C (init): adjust
7868         (insertRow): remove function
7869         (insertParagraph): adjust
7870         (redoParagraphs): adjust
7871         (fullRebreak): adjust
7872         (updateCounters): adjust
7873
7874         * text.C (top_y): rewrite to use RowList iterators.
7875         (top_y): adjust
7876         (setHeightOfRow): rewrite to sue RowList iterators.
7877         (appendParagraph): adjust
7878         (breakAgain): adjust
7879         (breakAgainOneRow): adjust
7880         (breakParagraph): adjust
7881         (getRow): adjust
7882         (getRowNearY): adjust, and remove commented code.
7883
7884         * lyxtext.h (firstRow): delete function
7885         (lastRow): delete function
7886         (rows): new function (const and non-const versions.)
7887         (insertRow): delete function
7888
7889         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7890
7891 2003-03-29  John Levon  <levon@movementarian.org>
7892
7893         * BufferView_pimpl.C: always update scrollbar top
7894         because pasting text when we're anchored could mean we
7895         miss an update altogether
7896
7897 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7898
7899         * text2.C (init): use rowlist_.end() and not 0.
7900         (insertRow): change to take a RowList::iterator as arg, adjust
7901         for this.
7902         (insertParagraph): change to take a RowList::iterator as arg,
7903         adjust for this.
7904         (redoParagraphs): remove some debug msgs.
7905
7906         * text.C (appendParagraph): change to take a RowList::iterator
7907         arg, adjust for this.
7908         (breakAgain): add an assert
7909         (breakAgainOneRow): ditto
7910
7911 2003-03-29  John Levon  <levon@movementarian.org>
7912
7913         * text2.C: do not clear selection after inc/decDepth
7914         (bug 550)
7915
7916 2003-03-29  John Levon  <levon@movementarian.org>
7917
7918         * BufferView.C:
7919         * buffer.C: fix broken strerrors according to Lars
7920
7921 2003-03-29  John Levon  <levon@movementarian.org>
7922
7923         * converters.C: more Alert cleanups
7924
7925 2003-03-29  John Levon  <levon@movementarian.org>
7926
7927         * bufferview_funcs.C: remove pointless Alert
7928
7929         * buffer.C: fix confusing error message when
7930         a template is chmoded 000
7931
7932 2003-03-29  John Levon  <levon@movementarian.org>
7933
7934         * BufferView.C:
7935         * BufferView.h:
7936         * BufferView_pimpl.C: Alert fixes
7937
7938         * Makefile.am:
7939         * tabular.C:
7940         * tabular-old.C: remove unused table compat reading
7941
7942 2003-03-29  John Levon  <levon@movementarian.org>
7943
7944         * BufferView.C:
7945         * buffer.C:
7946         * lyx_cb.h:
7947         * lyx_cb.C: more Alert cleanups
7948
7949         * lyxfunc.C: don't allow chktex if not latex document
7950
7951 2003-03-29  John Levon  <levon@movementarian.org>
7952
7953         * lyx_cb.C:
7954         * BufferView.C:
7955         * buffer.C: warnings pushed down from support/,
7956         kill err_alert
7957
7958 2003-03-29  John Levon  <levon@movementarian.org>
7959
7960         * lyxfunc.C: safety check for C-r (revert)
7961
7962 2003-03-29  John Levon  <levon@movementarian.org>
7963
7964         * bufferlist.h:
7965         * bufferlist.C: several UI fixes using Alert::prompt.
7966         Fix the pointless looping quit code. Fix stupid revert
7967         behaviour (bug 938)
7968
7969         * lyxvc.h:
7970         * lyxvc.C:
7971         * lyx_cb.C: use Alert::prompt
7972
7973         * lyx_main.C: remove a silly question
7974
7975         * lyxfunc.C: remove a couple of silly questions,
7976         use Alert::prompt
7977
7978 2003-03-28  John Levon  <levon@movementarian.org>
7979
7980         * text2.C: fix bug 974 (End on empty par)
7981
7982 2003-03-28  John Levon  <levon@movementarian.org>
7983
7984         * BufferView_pimpl.C:
7985         * LyXAction.C:
7986         * lfuns.h: remove do-nothing math greek lfuns
7987
7988 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7989
7990         * lyxgluelength.h (isValidGlueLength): add default arg on
7991         parameter 2. Remove default arg from friend in class.
7992
7993         * lyxlength.h (isValidLength): add default arg on parameter 2.
7994         Remove default arg from friend in class.
7995
7996         * text2.C (LyXText): adjust, initialize refresh_row.
7997         (init): adjust
7998         (removeRow): adjust
7999         (insertRow): adjust
8000         (insertParagraph): adjst
8001         (redoParagraphs): adjust
8002         (fullRebreak): adjust
8003         (updateCounters): adjust
8004         (deleteEmptyParagraphMechanism): first attempt at fixing a
8005         crashing bug.
8006
8007         * text.C (top_y): adjust
8008         (setHeightOfRow): adjust
8009         (getRow): adjust
8010         (getRowNearY): adjust
8011
8012         * lyxtext.h: include RowList.h
8013         (~LyXText): not needed anymore, deleted.
8014         (firstRow): modify for RowList
8015         (lastRow): new function
8016         Delete firstrow and lastrow class variables, add a Rowlist
8017         rowlist_ class variable.
8018
8019         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8020         paragraph is empty.
8021
8022         * RowList.C (insert): fix case where it == begin().
8023
8024 2003-03-26  Angus Leeming  <leeming@lyx.org>
8025
8026         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8027         the thesaurus dialog.
8028
8029 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8030
8031         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8032
8033         * RowList.[Ch]: new files
8034
8035         * ParagraphList.C (erase): handle the case where it == begin
8036         correctly.
8037
8038 2003-03-25  John Levon  <levon@movementarian.org>
8039
8040         * Makefile.am:
8041         * aspell_local.h:
8042         * aspell.C: add new aspell support
8043
8044         * lyxrc.h:
8045         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8046         have it accessible.
8047
8048 2003-03-25  Angus Leeming  <leeming@lyx.org>
8049
8050         * lfuns.h:
8051         * LyXAction.C (init): new LFUN_INSET_INSERT.
8052
8053         * BufferView_pimpl.C (dispatch): split out part of the
8054         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8055
8056         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8057         LFUN_INSET_APPLY.
8058
8059 2003-03-25  Angus Leeming  <leeming@lyx.org>
8060
8061         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8062
8063 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8064
8065         * text2.C:
8066         * text3.C: remove useless row->height(0)
8067
8068 2003-03-25  John Levon  <levon@movementarian.org>
8069
8070         * lyxtext.h:
8071         * text2.C:
8072         * text3.C: rename the refreshing stuff to better names
8073
8074 2003-03-24  John Levon  <levon@movementarian.org>
8075
8076         * BufferView_pimpl.h:
8077         * BufferView_pimpl.C: update layout choice on a mouse
8078         press/release
8079
8080 2003-03-23  John Levon  <levon@movementarian.org>
8081
8082         * Makefile.am: fix commandtags.h reference
8083
8084 2003-03-22  John Levon  <levon@movementarian.org>
8085
8086         * BufferView_pimpl.C:
8087         * lyxtext.h:
8088         * rowpainter.C:
8089         * rowpainter.h:
8090         * text.C:
8091         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8092
8093 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8094
8095         * lyxtext.h:
8096         * text.C: take the rtl methods out of line
8097
8098 2003-03-21 André Pönitz <poenitz@gmx.net>
8099
8100         * metricsinfo.[Ch]: new files containing structures to be passed around
8101         during the two-phase-drawing...
8102
8103 2003-03-21 André Pönitz <poenitz@gmx.net>
8104
8105         * lyxtextclass.C: read 'environment' tag.
8106
8107 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8108
8109         * text2.C (removeRow): fix bug 964
8110
8111 2003-03-20  John Levon  <levon@movementarian.org>
8112
8113         * rowpainter.C:
8114         * text.C:
8115         * text2.C: paint cleanups. Inset::update() dropped font
8116         parameter
8117
8118 2003-03-19  John Levon  <levon@movementarian.org>
8119
8120         * lyxfunc.C: only fitcursor/markDirty if available()
8121
8122 2003-03-19  John Levon  <levon@movementarian.org>
8123
8124         * commandtags.h: rename to ...
8125
8126         * lfuns.h: ... this, and renumber / cleanup
8127
8128 2003-03-19  John Levon  <levon@movementarian.org>
8129
8130         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8131         fit the cursor after an lfun
8132
8133         * BufferView.h:
8134         * BufferView.C:
8135         * BufferView_pimpl.h:
8136         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8137
8138         * LyXAction.C: layout-character should have ReadOnly
8139
8140         * ParagraphParameters.C:
8141         * buffer.C:
8142         * bufferview_funcs.C:
8143         * lyx_cb.C:
8144         * lyxfind.C:
8145         * lyxtext.h:
8146         * text.C:
8147         * text2.C:
8148         * text3.C:
8149         * undo_funcs.C: changes from above
8150
8151 2003-03-18  John Levon  <levon@movementarian.org>
8152
8153         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8154         remove it from update()
8155
8156         * lyxfunc.C: update layout choice after an lfun
8157
8158         * text3.C: remove extra updateLayoutChoice()s
8159
8160 2003-03-18  John Levon  <levon@movementarian.org>
8161
8162         * text.C: top_y change means full repaint, fix
8163         a drawing bug with cursor movement
8164
8165 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8166
8167         * lyxtext.h:
8168         * text.C:
8169         * text2.C: anchor row on setCursor
8170
8171 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8172
8173         * lyxtext.h: remove almost all mutable keywords
8174         * text.C:
8175         * text2.C:
8176         * text3.C: remove const keywords accordingly
8177
8178 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8179
8180         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8181         anon namespace
8182         (TeXEnvironment): ditto
8183         (TeXOnePar): ditto
8184
8185 2003-03-17  John Levon  <levon@movementarian.org>
8186
8187         * text.C (rowBreakPoint): remove attempt to fix displayed
8188         math insets inside a manual label
8189
8190 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8191
8192         * lyxtext.h: remove BufferView* as first arg from almost all class
8193         functions.
8194         * other files: adjust.
8195
8196 2003-03-17  John Levon  <levon@movementarian.org>
8197
8198         * lyxtext.h:
8199         * undo_funcs.C:
8200         * text2.C: more paint cleanups
8201
8202         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8203
8204         * rowpainter.h:
8205         * rowpainter.C: remove "smart" background painting code
8206
8207 2003-03-16  John Levon  <levon@movementarian.org>
8208
8209         * lyxtext.h:
8210         * text.C:
8211         * text2.C:
8212         * text3.C: add helper functions for setting refresh_row/y
8213
8214 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8215
8216         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8217         newline inset which *can* get inserted in the pass_thru layouts.
8218         This is primarily for literate documents.
8219
8220 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8221
8222         * buffer.C: increment LYX_FORMAT to 223
8223
8224 2003-03-14 André Pönitz <poenitz@gmx.net>
8225
8226         * textclass.h: prepare for environment handling, ws changes
8227         * lyxlayout.C: read latexheader and latexfooter tags
8228
8229 2003-03-14  John Levon  <levon@movementarian.org>
8230
8231         * text2.C: rewrite ::status() a bit
8232
8233 2003-03-13  John Levon  <levon@movementarian.org>
8234
8235         * lyxtext.h: add some docs
8236
8237 2003-03-13  John Levon  <levon@movementarian.org>
8238
8239         * lyxtext.h:
8240         * text.C:
8241         * text2.C:
8242         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8243
8244 2003-03-13  John Levon  <levon@movementarian.org>
8245
8246         * text3.C: fix appendix redrawing
8247
8248 2003-03-13  John Levon  <levon@movementarian.org>
8249
8250         * text.C (setHeightOfRow):
8251         * rowpainter.h:
8252         * rowpainter.C: make appendix mark have the text
8253           "Appendix" so the user knows what it is
8254
8255         * LColor.h:
8256         * LColor.C: s/appendixline/appendix/ from above
8257
8258 2003-03-13  John Levon  <levon@movementarian.org>
8259
8260         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8261
8262         * text.C: fix a getChar(pos) bug properly
8263
8264 2003-03-13  Angus Leeming  <leeming@lyx.org>
8265
8266         * commandtags.h:
8267         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8268         Probably only temporary. Let's see how things pan out.
8269
8270         * BufferView.C (unlockInset):
8271         * BufferView_pimpl.C (fitCursor):
8272         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8273
8274         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8275         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8276
8277         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8278         new functions that convert ParagraphParameters to and from a string.
8279
8280         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8281         BufferView::Pimpl's dispatch.
8282         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8283
8284 2003-03-13 André Pönitz <poenitz@gmx.net>
8285
8286         * lyxfunc.C:
8287         * text3.C:
8288         * factory.C: make it aware of InsetEnv
8289
8290 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8291
8292         * text2.C (setCursor): never ask for one past last
8293         (setCursor): add some debugging messages.
8294
8295         * text.C (singleWidth): never ask for one past last
8296         (singleWidth): ditto
8297         (leftMargin): ditto
8298         (rightMargin): ditto
8299         (rowBreakPoint): ditto
8300         (setHeightOfRow): ditto
8301         (prepareToPrint): ditto
8302
8303         * rowpainter.C (paintBackground): never ask for one past last
8304         (paintText): never ask for one past last
8305
8306         * paragraph_pimpl.C (getChar): make the assert stricter, never
8307         allow the one past last pos to be taken
8308
8309         * paragraph.C (getChar): ws changes only
8310
8311         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8312         (numberOfSeparators): ditto
8313         (numberOfHfills): ditto
8314
8315 2003-03-12  John Levon  <levon@movementarian.org>
8316
8317         * author.h:
8318         * author.C:
8319         * bufferparams.h:
8320         * bufferparams.C:
8321         * paragraph_funcs.C: fix per-buffer authorlists
8322
8323 2003-03-12  John Levon  <levon@movementarian.org>
8324
8325         * text.C: fix newline in right address
8326
8327 2003-03-12  Angus Leeming  <leeming@lyx.org>
8328
8329         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8330         duplicate those in LyXFunc::dispatch.
8331
8332         * commandtags.h:
8333         * LyXAction.C:
8334         * ToolbarDefaults.C:
8335         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8336         Add LFUN_FONTFREE_UPDATE.
8337
8338         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8339         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8340
8341         * bufferview_func.[Ch]: several new functions to facilliate
8342         transfer of data to and from the character dialog.
8343
8344 2003-03-12  John Levon  <levon@movementarian.org>
8345
8346         * buffer.C:
8347         * paragraph.h:
8348         * paragraph.C:
8349         * paragraph_funcs.C:
8350         * paragraph_pimpl.C:
8351         * sgml.C:
8352         * tabular.C:
8353         * text.C:
8354         * text3.C: remove META_NEWLINE in favour of an inset
8355
8356         * rowpainter.h:
8357         * rowpainter.C: remove paintNewline (done by inset)
8358
8359 2003-03-12  John Levon  <levon@movementarian.org>
8360
8361         * paragraph_pimpl.C: complain about bad getChar()s
8362         for a while at least
8363
8364 2003-03-12  John Levon  <levon@movementarian.org>
8365
8366         * buffer.h:
8367         * buffer.C: move paragraph read into a separate function,
8368         a little renaming to reflect that.
8369
8370         * bufferparams.h:
8371         * bufferparams.C: remove the author_ids map, not necessary now
8372
8373         * factory.h:
8374         * factory.C: moved Buffer::readInset to here
8375
8376         * paragraph_funcs.h:
8377         * paragraph_funcs.C: readParagraph free function moved from
8378         buffer.C
8379
8380         * tabular.C: name change
8381
8382 2003-03-12  John Levon  <levon@movementarian.org>
8383
8384         * buffer.C:
8385         * ParagraphParameters.C: move par params input to
8386         a read() method
8387
8388         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8389         behave like a normal read from the stream wrt reading
8390         a line vs. a \\token
8391
8392 2003-03-12  John Levon  <levon@movementarian.org>
8393
8394         * paragraph.C:
8395         * ParagraphParameters.h:
8396         * ParagraphParameters.C: move output code to a
8397         ::write() method
8398
8399 2003-03-12  John Levon  <levon@movementarian.org>
8400
8401         * BufferView.C (insertLyXFile):
8402         * buffer.h:
8403         * buffer.C:
8404         * tabular.C: use a parlist iterator for creating the
8405           document.
8406
8407 2003-03-12  John Levon  <levon@movementarian.org>
8408
8409         * buffer.C: make current_change static local not
8410           static file-scope
8411
8412 2003-03-12  John Levon  <levon@movementarian.org>
8413
8414         * buffer.C: fix insertStringAsLines for change tracking
8415
8416 2003-03-12  John Levon  <levon@movementarian.org>
8417
8418         * BufferView.C:
8419         * tabular.C:
8420         * buffer.h:
8421         * buffer.C:
8422         * bufferparams.h:
8423         * bufferparams.C: move author list into params. Rename some
8424           functions. Move the header reading into a separate token
8425           loop. Move the header token reading into BufferParams.
8426
8427 2003-03-12  John Levon  <levon@movementarian.org>
8428
8429         * changes.C: put debug inside lyxerr.debugging() checks
8430
8431 2003-03-11 André Pönitz <poenitz@gmx.net>
8432
8433         * factory.C: make it aware of InsetHFill
8434
8435 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8436
8437         * buffer.C (latexParagraphs): move function from here...
8438         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8439         args.
8440
8441 2003-03-10  Angus Leeming  <leeming@lyx.org>
8442
8443         * LyXAction.C (init): fix bug in poplating array with multiple entries
8444         with the same LFUN (spotted by JMarc).
8445
8446 2003-03-10  John Levon  <levon@movementarian.org>
8447
8448         * text.C:
8449         * text2.C: move getColumnNearX() near its
8450         only call site
8451
8452 2003-03-10  John Levon  <levon@movementarian.org>
8453
8454         * text.C: fix break before a minipage
8455
8456 2003-03-10  John Levon  <levon@movementarian.org>
8457
8458         * text.C: fix the last commit
8459
8460 2003-03-09  John Levon  <levon@movementarian.org>
8461
8462         * lyxtext.h:
8463         * text.C:
8464         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8465         bug 365 (don't break before insets unless needed). Don't
8466         return a value > last under any circumstances.
8467
8468 2003-03-09  Angus Leeming  <leeming@lyx.org>
8469
8470         * BufferView_pimpl.C (trackChanges, dispatch): call
8471         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8472
8473 2003-03-09  Angus Leeming  <leeming@lyx.org>
8474
8475         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8476         than Dialogs::showAboutlyx().
8477
8478 2003-03-09  Angus Leeming  <leeming@lyx.org>
8479
8480         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8481         than Dialogs::showTabularCreate().
8482
8483 2003-03-09  John Levon  <levon@movementarian.org>
8484
8485         * lyxtext.h:
8486         * text.C:
8487         * text2.C: 3rd arg to nextBreakPoint was always the same.
8488           Use references.
8489
8490 2003-03-08  John Levon  <levon@movementarian.org>
8491
8492         * lyxrow.C:
8493         * paragraph.C:
8494         * paragraph.h:
8495         * rowpainter.C:
8496         * text.C:
8497         * text2.C: Remove the "main" bit from the "main body"
8498           notion.
8499
8500 2003-03-08  John Levon  <levon@movementarian.org>
8501
8502         * text.C (leftMargin): The left margin of an empty
8503         manual label paragraph should not include the label width
8504         string length.
8505
8506         * text.C (prepareToPrint): don't attempt to measure hfills
8507         for empty manual label paragraphs - the answer should be 0
8508
8509 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8510
8511         * CutAndPaste.C: remove commented code and reindent.
8512
8513 2003-03-08  John Levon  <levon@movementarian.org>
8514
8515         * lyxfunc.h:
8516         * lyxfunc.C: move reloadBuffer()
8517
8518         * BufferView.h:
8519         * BufferView.C: to here
8520
8521         * lyxvc.C: add comment
8522
8523         * vc-backend.h:
8524         * vc-backend.C: call bv->reload() to avoid
8525           getStatus() check on MENURELOAD
8526
8527 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8528
8529         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8530         to an old format .dep file.
8531
8532 2003-03-07  Angus Leeming  <leeming@lyx.org>
8533
8534         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8535         when the LFUN_MOUSE_RELEASE should have been handled by
8536         inset->localDispatch.
8537
8538 2003-03-07  Angus Leeming  <leeming@lyx.org>
8539
8540         * BufferView_pimpl.C (dispatch):
8541         * LyXAction.C (init):
8542         * ToolbarDefaults.C (init):
8543         * commandtags.h:
8544         * lyxfunc.C (getStatus):
8545         remove LFUN_INSET_GRAPHICS.
8546
8547         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8548
8549 2003-03-07  Angus Leeming  <leeming@lyx.org>
8550
8551         * commandtags.h:
8552         * LyXAction.C (init):
8553         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8554
8555         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8556
8557         * commandtags.h:
8558         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8559
8560         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8561         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8562
8563 2003-03-07  Angus Leeming  <leeming@lyx.org>
8564
8565         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8566         remove "ert".
8567
8568 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8569
8570         * ParagraphList.C (front): new function
8571         (back): implement
8572
8573 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8574
8575         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8576         and top_row_offset_. removed var first_y.
8577         * text.C (top_y):
8578         * text2.C (LyXText, removeRow):
8579         * text3.C:
8580         * BufferView_pimpl.C:
8581         use these methods instead of using first_y
8582
8583 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8584
8585         * text2.C (pasteSelection): adjust for checkPastePossible
8586
8587         * CutAndPaste.C: remove Paragraph * buf and replace with
8588         ParagraphList paragraphs.
8589         (DeleteBuffer): delete
8590         (cutSelection): change the tc type to textclass_type
8591         (copySelection): change the tc type to textclass_type
8592         (copySelection): adjust for ParagraphList
8593         (pasteSelection): change the tc type to textclass_type
8594         (pasteSelection): adjust for Paragraphlist
8595         (nrOfParagraphs): simplify for ParagraphList
8596         (checkPastePossible): simplify for ParagraphList
8597         (checkPastePossible): remove unused arg
8598
8599         * ParagraphList.C (insert): handle the case where there are no
8600         paragraphs yet.
8601
8602         * CutAndPaste.h: make CutAndPaste a namespace.
8603
8604         * text3.C (dispatch): adjust
8605
8606         * text.C (breakParagraph): add a ParagraphList as arg
8607
8608         * paragraph_funcs.C (breakParagraph): change to take a
8609         BufferParams and a ParagraphList as args.
8610         (breakParagraphConservative): ditto
8611         (mergeParagraph): ditto
8612         (TeXDeeper): add a ParagraphList arg
8613         (TeXEnvironment): ditto
8614         (TeXOnePar): ditto
8615
8616         * buffer.C (readLyXformat2): adjust
8617         (insertStringAsLines): adjust
8618         (latexParagraphs): adjust
8619
8620         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8621         (cutSelection): adjust
8622         (pasteSelection): adjust
8623
8624         * BufferView_pimpl.C (insertInset): adjust
8625
8626 2003-03-05  Angus Leeming  <leeming@lyx.org>
8627
8628         * commandtags.h:
8629         * LyXAction.C (init):
8630         * BufferView_pimpl.C (dispatch):
8631         * lyxfunc.C (getStatus):
8632         remove LFUN_CHILD_INSERT.
8633
8634         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8635
8636 2003-03-05  Angus Leeming  <leeming@lyx.org>
8637
8638         * commandtags.h:
8639         * LyXAction.C (init):
8640         * src/factory.C (createInset):
8641         * lyxfunc.C (getStatus):
8642         * text3.C (dispatch):
8643         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8644
8645         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8646
8647 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8648
8649         * ParagraphList.C (insert): handle insert right before end()
8650         (erase): fix cases where it can be first or last paragraph.
8651
8652 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8653
8654         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8655         Paragraph::next and Paragraph::previous
8656         (TeXOnePar): ditto
8657
8658         * text.C (breakParagraph): adjust
8659
8660         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8661         BufferParams& as arg.
8662         (breakParagraph): use ParagraphList::insert
8663         (breakParagraphConservative): take a Buffer* instead of a
8664         BufferParams& as arg.
8665         (breakParagraphConservative): use ParagraphList::insert.
8666
8667         * buffer.C (insertStringAsLines): un-const it
8668         (insertStringAsLines): adjust
8669
8670         * ParagraphList.C (insert): new function
8671
8672         * CutAndPaste.C (pasteSelection): adjust
8673
8674         * text.C (backspace): adjust
8675
8676         * tabular.C (SetMultiColumn): adjust
8677
8678         * CutAndPaste.C (cutSelection): adjust
8679         (pasteSelection): adjust
8680
8681         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8682         Buffer const * as arg
8683
8684         * ParagraphList.C (erase): new function
8685         * paragraph_funcs.C (mergeParagraph): use it
8686         (mergeParagraph): make it take a Buffer* instead of a
8687         BufferParams* as arg
8688
8689         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8690         as arg
8691         (breakParagraphConservative): ditto
8692
8693         * paragraph.h: remove the breakParagraph friend
8694
8695         * paragraph.C (eraseIntern): new function
8696         (setChange): new function
8697
8698         * paragraph_funcs.C (mergeParagraph): make it take a
8699         ParagraphList::iterator instead of a Paragraph *, adjust
8700         accordingly.
8701
8702         * paragraph.h: move an #endif so that the change tracking stuff
8703         also works in the NO_NEXT case.
8704
8705 2003-03-04  Angus Leeming  <leeming@lyx.org>
8706
8707         * commandtags.h:
8708         * LyXAction.C: new LFUN_INSET_MODIFY.
8709
8710         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8711         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8712
8713 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8714
8715         * several files: ws changes only
8716
8717         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8718         (TeXEnvironment): ditto
8719         (TeXDeeper): ditto
8720
8721         * buffer.C (makeLaTeXFile): adjust
8722         (latexParagraphs): make it take ParagraphList::iterator as args
8723
8724 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8725
8726         * buffer.C (latexParagraphs): adjust
8727
8728         * paragraph.C (TeXOnePar): move function...
8729         (optArgInset): move function...
8730         (TeXEnvironment): move function...
8731         * paragraph_pimpl.C (TeXDeeper): move function...
8732         * paragraph_funcs.C: ...here
8733
8734         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8735
8736 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8737
8738         * buffer.C (readInset): remove compability code for old Figure and
8739         InsetInfo insets
8740
8741 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8742
8743         * buffer.C: ws changes
8744         (readInset):
8745
8746         * BufferView_pimpl.C: ditto
8747         * author.C: ditto
8748         * buffer.h: ditto
8749         * bufferlist.h: ditto
8750         * changes.h: ditto
8751         * lyxfunc.C: ditto
8752
8753 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8754
8755         * converter.[Ch]: split into itself +
8756         * graph.[Ch]
8757         * format.[Ch]
8758         * Makefile.am: += graph.[Ch] + format.[Ch]
8759         * MenuBackend.C
8760         * buffer.C
8761         * exporter.C
8762         * importer.C
8763         * lyx_main.C
8764         * lyxfunc.C
8765         * lyxrc.C: added #include "format.h"
8766
8767 2003-02-27  Angus Leeming  <leeming@lyx.org>
8768
8769         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8770           a label.
8771
8772         * factory.C (createInset): add "label" to the factory.
8773
8774         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8775           string and do no more.
8776
8777 2003-02-27  Angus Leeming  <leeming@lyx.org>
8778
8779         * commandtags.h:
8780         * LyXAction.C (init):
8781         * factory.C (createInset):
8782         * BufferView_pimpl.C (dispatch):
8783           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8784
8785         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8786
8787         * lyxfunc.C (dispatch):
8788         * text3.C (dispatch): pass name to params2string.
8789
8790 2003-02-26  Angus Leeming  <leeming@lyx.org>
8791
8792         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8793           blocks together.
8794           Rearrange the ~includes. Strip out the unnecessary ones.
8795
8796         * factory.C (createInset): reformat.
8797           create new insets for the various LFUN_XYZ_APPLY lfuns.
8798
8799 2003-02-26  John Levon  <levon@movementarian.org>
8800
8801         * lyxrow.h:
8802         * lyxrow.C: add isParStart,isParEnd helpers
8803
8804         * paragraph.h: make isInserted/DeletedText take refs
8805
8806         * paragraph_funcs.h:
8807         * paragraph_funcs.C: remove #if 0'd code
8808
8809         * lyxtext.h:
8810         * text3.C:
8811         * text2.C:
8812         * text.C: use lyxrow helpers above.
8813           Move draw and paint routines to RowPainter.
8814           Make several methods use refs not pointers.
8815           Make backgroundColor() const.
8816           Add markChangeInDraw(), isInInset().
8817           Merge changeRegionCase into changeCase.
8818           Make workWidth() shouldn't-happen code into an Assert.
8819
8820         * rowpainter.h:
8821         * rowpainter.C: new class for painting a row.
8822
8823         * vspace.h:
8824         * vspace.C: make inPixels take a ref
8825
8826 2003-02-26  Angus Leeming  <leeming@lyx.org>
8827
8828         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8829         LFUN_REF_APPLY.
8830
8831 2003-02-25  John Levon  <levon@movementarian.org>
8832
8833         * ispell.C: give the forked command a more accurate name
8834
8835 2003-02-22  John Levon  <levon@movementarian.org>
8836
8837         * toc.h:
8838         * toc.C: make TocItem store an id not a Paragraph *
8839           (bug #913)
8840
8841 2003-02-21  Angus Leeming  <leeming@lyx.org>
8842
8843         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8844           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8845           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8846           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8847           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8848           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8849
8850         * BufferView_pimpl.C (dispatch):
8851         * LyXAction.C (init):
8852         * factory.C (createInset):
8853         * lyxfunc.C (getStatus, dispatch):
8854         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8855
8856 2003-02-21  Angus Leeming  <leeming@lyx.org>
8857
8858         * BufferView_pimpl.C (MenuInsertLyXFile):
8859         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8860         * lyxfunc.C (menuNew, open, doImport):
8861           no longer pass a LyXView & to fileDlg.
8862
8863 2003-02-21  Angus Leeming  <leeming@lyx.org>
8864
8865         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8866         * LyXAction.C: change, BIBKEY to BIBITEM.
8867         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8868         Change InsetBibKey to InsetBibitem.
8869         Change BIBKEY_CODE to BIBITEM_CODE.
8870         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8871         * factory.C: replace insetbib.h with insetbibitem.h.
8872         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8873         * paragraph.C: replace insetbib.h with insetbibitem.h.
8874         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8875         Change bibkey() to bibitem().
8876         * text.C: remove insetbib.h.
8877         * text2.C: replace insetbib.h with insetbibitem.h.
8878         change bibkey() to bibitem().
8879         * text3.C: remove insetbib.h.
8880         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8881
8882 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8883
8884         * lyxrc.C (output): enclose user email in quotes (in case there are
8885         several words)
8886
8887 2003-02-18  John Levon  <levon@movementarian.org>
8888
8889         * buffer.h: add std::
8890
8891 2003-02-17  John Levon  <levon@movementarian.org>
8892
8893         * SpellBase.h:
8894         * ispell.h:
8895         * ispell.C:
8896         * pspell.h:
8897         * pspell.C: reworking. Especially in ispell, a large
8898           number of clean ups and bug fixes.
8899
8900         * lyxfunc.C: fix revert to behave sensibly
8901
8902 2003-02-17 André Pönitz <poenitz@gmx.net>
8903
8904         * LyXAction.C:
8905         * commandtags.h: new LFUN_INSERT_BIBKEY
8906
8907         * layout.h:
8908         * lyxlayout.C:
8909         * buffer.C:
8910         * factory.C:
8911         * text.C:
8912         * text2.C:
8913         * text3.C:
8914         * paragraph.[Ch]:
8915         * paragraph_func.C: remove special bibkey handling
8916
8917 2003-02-17  John Levon  <levon@movementarian.org>
8918
8919         * text.C (Delete): fix case where delete at the end of
8920           the very first paragraph would not merge the pars
8921
8922 2003-02-17  John Levon  <levon@movementarian.org>
8923
8924         * lyxrow.C: fix lastPrintablePos()
8925
8926 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8927
8928         * bufferparams.C (writeLaTeX): add a std:here
8929
8930         * buffer.C: and remove a using directive there
8931
8932 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8933
8934         * buffer.C (makeLaTeXFile): move the code that generates the
8935           preamble...
8936
8937         * bufferparams.C (writeLaTeX): ... in this new method
8938
8939         * LaTeXFeatures.C (getEncodingSet): make const
8940           (getLanguages): make const
8941
8942         * MenuBackend.C (binding): returns the binding associated to this
8943           action
8944           (add): sets the status of each item by calling getStatus. Adds
8945           some intelligence.
8946           (read): add support for OptSubMenu
8947           (expand): remove extra separator at the end of expanded menu
8948
8949 2003-02-15  John Levon  <levon@movementarian.org>
8950
8951         * BufferView.C:
8952         * BufferView_pimpl.C:
8953         * bufferlist.h:
8954         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8955           inset code that had no actual effect. Remove unneeded status
8956           code.
8957
8958 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8959
8960         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8961           in preamble
8962
8963 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8964
8965         * text.C (drawLengthMarker): also draw an arrow marker for
8966           symbolic lengths (medskip...)
8967
8968 2003-02-14  John Levon  <levon@movementarian.org>
8969
8970         * tabular.h:
8971         * tabular.C: better method names
8972
8973 2003-02-14  John Levon  <levon@movementarian.org>
8974
8975         * BufferView_pimpl.C:
8976         * bufferlist.C:
8977         * buffer.C:
8978         * converter.C:
8979         * lyx_cb.C:
8980         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8981           it's a more accurate name. Remove some pointless uses.
8982
8983 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8984
8985         * text2.C (LyXText): change order of initilizers to shut off
8986           warnings
8987
8988 2003-02-14  John Levon  <levon@movementarian.org>
8989
8990         * buffer.C: use ParIterator for getParFromID()
8991
8992         * paragraph.h:
8993         * paragraph.C:
8994         * paragraph_pimpl.h:
8995         * paragraph_pimpl.C: remove unused getParFromID()
8996
8997 2003-02-14  John Levon  <levon@movementarian.org>
8998
8999         * buffer.C: remove some very old #if 0'd parse code
9000
9001 2003-02-13  John Levon  <levon@movementarian.org>
9002
9003         * text.h:
9004         * text.C:
9005         * text2.C: move hfillExpansion(), numberOfSeparators(),
9006           rowLast(), rowLastPrintable(), numberofHfills(),
9007           numberOfLabelHfills() ...
9008
9009         * lyxrow.h:
9010         * lyxrow.C: ... to member functions here.
9011
9012         * paragraph.h:
9013         * paragraph.C:
9014         * lyxtext.h:
9015         * text.C: remove LyXText::beginningOfMainBody(), and call
9016           p->beginningOfMainBody() directly. Move the check for
9017           LABEL_MANUAL into the latter.
9018
9019         * text.h:
9020         * text.C:
9021         * text2.C:
9022         * vspace.C:
9023         * BufferView.h:
9024         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9025
9026         * text.h:
9027         * text.C:
9028         * text2.C:
9029         * text3.C:
9030         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9031           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9032
9033 2003-02-13  John Levon  <levon@movementarian.org>
9034
9035         * CutAndPaste.C: remove debug
9036
9037 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9038
9039         * paragraph.C (asString): remove two unused variables
9040
9041         * lyxtextclass.C (readTitleType):
9042           (Read):
9043           (LyXTextClass): handle new members titletype_ and titlename_
9044
9045         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9046
9047 2003-02-09  John Levon  <levon@movementarian.org>
9048
9049         * buffer.h:
9050         * buffer.C: replace hand-coded list with a map for the dep clean
9051
9052 2003-02-08  John Levon  <levon@movementarian.org>
9053
9054         * LaTeX.C: consolidate code into showRunMessage() helper
9055
9056 2003-02-08  John Levon  <levon@movementarian.org>
9057
9058         * lyxfind.C:
9059         * lyxtext.h:
9060         * text2.C:
9061         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9062           and pass the size in explicitly
9063
9064         * BufferView_pimpl.h:
9065         * BufferView_pimpl.C:
9066         * BufferView.h:
9067         * BufferView.C: add getCurrentChange()
9068
9069         * BufferView_pimpl.h:
9070         * BufferView_pimpl.C: handle change lfuns
9071
9072         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9073           for changes. Mark pasted paragraphs as new.
9074
9075         * support/lyxtime.h:
9076         * support/lyxtime.C:
9077         * DepTable.C: abstract time_t as lyx::time_type
9078
9079         * LColor.h:
9080         * LColor.C: add colours for new text, deleted text, changebars
9081
9082         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9083           package use "usenames" option.
9084
9085         * commandtags.h:
9086         * lyxfunc.C:
9087         * LyXAction.C: add change lfuns
9088
9089         * Makefile.am:
9090         * author.h:
9091         * author.C: author handling
9092
9093         * buffer.h:
9094         * buffer.C: add a per-buffer author list, with first entry as
9095           current author. Handle new .lyx tokens for change tracking. Output
9096           author list to .lyx file. Output dvipost stuff to .tex preamble.
9097           Bump lyx format to 222.
9098
9099         * bufferlist.h:
9100         * bufferlist.C: add setCurrentAuthor() to reset current author details
9101           in all buffers.
9102
9103         * bufferparams.h:
9104         * bufferparams.C: add param for tracking
9105
9106         * bufferview_funcs.C: output change info in minibuffer
9107
9108         * Makefile.am:
9109         * changes.h:
9110         * changes.C: add change-tracking structure
9111
9112         * debug.h:
9113         * debug.C: add CHANGES debug flag
9114
9115         * lyxfind.h:
9116         * lyxfind.C: add code for finding the next change piece
9117
9118         * lyxrc.h:
9119         * lyxrc.C: add user_name and user_email
9120
9121         * lyxrow.h:
9122         * lyxrow.C: add a metric for the top of the text line
9123
9124         * lyxtext.h:
9125         * text.C: implement accept/rejectChange()
9126
9127         * lyxtext.h:
9128         * text.C: paint changebars. Paint new/deleted text in the chosen
9129         colours. Strike through deleted text.
9130
9131         * paragraph.h:
9132         * paragraph.C:
9133         * paragraph_pimpl.h:
9134         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9135           in the current change to the insert functions. Rework erase to
9136           mark text as deleted, adding an eraseIntern() and a range-based
9137           erase(). Implement per-paragraph change lookup and
9138           accept/reject.
9139
9140         * paragraph_funcs.C: Fixup paste for change tracking.
9141
9142         * tabular.C: mark added row/columns as new.
9143
9144         * text.C: fix rowLast() to never return -1. Don't allow
9145           spellchecking of deleted text. Track transpose changes. Don't
9146           allow paragraph break or merge where appropriate.
9147
9148         * text2.C: leave cursor at end of selection after a cut.
9149
9150 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9151
9152         * text.C (getLengthMarkerHeight):
9153         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9154         visible on screen too.
9155
9156 2003-02-07  John Levon  <levon@movementarian.org>
9157
9158         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9159
9160 2003-02-05  Angus Leeming  <leeming@lyx.org>
9161
9162         * lyxserver.C (read_ready): revert my patch of 11 September last year
9163         as it sends PC cpu through the roof. Presumably this means that
9164         the lyxserver will no longer run on an Alpha...
9165
9166 2003-01-30  Angus Leeming  <leeming@lyx.org>
9167
9168         * factory.C (createInset): create an InsetCommandParam of type "index"
9169         and use it to 'do the right thing'.
9170
9171         * text2.C (getStringToIndex): ensure that cursor position is always
9172         reset to the reset_cursor position.
9173
9174 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9175
9176         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9177         disabled.
9178
9179 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9180
9181         * bufferview.C:
9182         * lyxcb.C:
9183         * lyxfunc.C: Output messages with identical spelling, punctuation,
9184         and spaces
9185
9186 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9187
9188         * MenuBackend.C (expandFormats): List only viewable export formats
9189         in "View" menu
9190
9191         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9192         message
9193
9194         * lyxfunc.C (getStatus): Make sure that formats other than
9195         "fax" can also be disabled
9196
9197 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9198
9199         * text3.C (dispatch): put the lfuns that insert insets in 3
9200         groups, and call doInsertInset with appropriate arguments.
9201         (doInsertInset): new function, that creates an inset and inserts
9202         it according to some boolean parameters.
9203
9204 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9205
9206         * buffer.C (readFile): remember to pass on 'par' when calling
9207         readFile recursively.
9208
9209 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9210
9211         * MenuBackend.C (expandFormats): add "..." to import formats.
9212
9213 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9214
9215         * paragraph.C (asString): Remove XForms RTL hacks.
9216
9217 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9218         * buffer.C: fix typo
9219
9220 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9221
9222         * Makefile.am (LIBS): delete var
9223         (lyx_LDADD): add @LIBS@ here instead.
9224
9225 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9226
9227         * Clarify the meaning of "wheel mouse jump"
9228
9229 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9230
9231         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9232         tabular in a float
9233
9234 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9235
9236         * importer.C (Loaders): do not preallocate 3 elements in the
9237         vector, since one ends up with 6 elements otherwise
9238
9239 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9240
9241         * DepTable.C (write): write the file name as last element of the
9242         .dep file (because it may contain spaces)
9243         (read): read info in the right order
9244
9245 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9246
9247         * paragraph_pimpl.C (simpleTeXBlanks):
9248         (simpleTeXSpecialChars):
9249         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9250
9251         * tabular.C (latex): add some missing case statements. Reindent.
9252
9253         * MenuBackend.C (expandToc): remove unused variable.
9254
9255 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9256
9257         * LColor.C:
9258         * LaTeX.C:
9259         * LyXAction.C:
9260         * MenuBackend.C:
9261         * buffer.C:
9262         * exporter.C:
9263         * lyxfunc.C:
9264         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9265         and the like.
9266
9267 2003-01-05  John Levon  <levon@movementarian.org>
9268
9269         * BufferView.h:
9270         * BufferView.C: add getEncoding()
9271
9272         * kbsequence.h:
9273         * kbsequence.C: do not store last keypress
9274
9275         * lyxfunc.h:
9276         * lyxfunc.C: store last keypress here instead. Pass encoding
9277           to getISOEncoded()
9278
9279 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9280
9281         * lyx_main.C (init): remove annoying error message when following
9282         symbolic links (bug #780)
9283
9284 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9285
9286         * text.C (insertChar):
9287         * lyxrc.C (getDescription): remove extra spaces
9288
9289 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9290
9291         * lyxrc.C (getDescription): remove extra spaces
9292
9293 2002-12-20  John Levon  <levon@movementarian.org>
9294
9295         * text3.C: hack fix for page up/down across tall rows
9296
9297 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9298
9299         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9300         not been invoked
9301
9302 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9303
9304         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9305         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9306         thesaurus is not compiled in
9307
9308 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9309
9310         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9311
9312 2002-12-16  Angus Leeming  <leeming@lyx.org>
9313
9314         * lyxrc.[Ch]:
9315         * lyx_main.C (init): remove override_x_deadkeys stuff.
9316
9317 2002-12-12  John Levon  <levon@movementarian.org>
9318
9319         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9320           insert. Only remove shift modifier under strict
9321           circumstances.
9322
9323 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9324
9325         * MenuBackend.C (expandToc): fix crash.
9326
9327 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9328
9329         * MenuBackend.C (expandToc): gettext on float names.
9330
9331 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9332
9333         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9334         implement bool empty() [bug 490]
9335
9336 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9337
9338         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9339
9340 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9341
9342         * several files: ws changes
9343
9344 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9345
9346         * text2.C (setCounter): clean up a bit, use boost.format.
9347         (updateCounters): initialize par upon declaration.
9348
9349         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9350         if the layout exists. We do not just store the layout any more.
9351         (SwitchLayoutsBetweenClasses): use boost.format
9352
9353 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9354
9355         * converter.C (convert): if from and to files are the same, use a
9356         temporary files as intermediary
9357
9358 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9359
9360         * commandtags.h:
9361         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9362
9363 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9364
9365         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9366
9367 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9368
9369         * tabular.C (asciiPrintCell): use string(size, char) instead of
9370         explicit loop.
9371
9372         * sgml.C (openTag): fix order of arguments to string constructor
9373         (closeTag): ditto
9374
9375         * lyxfunc.C (dispatch): use boost.format
9376
9377         * lots of files: change "c" -> 'c'
9378
9379 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9380
9381         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9382
9383 2002-11-25  Angus Leeming  <leeming@lyx.org>
9384
9385         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9386
9387         * lyx_main.C (init): compile fix.
9388
9389 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9390
9391         * lyx_cb.C (start): boost.formatify
9392         do not include <iostream>
9393
9394         * lengthcommon.C: ws only
9395
9396         * boost-inst.C,BoostFormat.h: add more explict instantations
9397
9398 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9399
9400         * lots of files: handle USE_BOOST_FORMAT
9401
9402 2002-11-21  John Levon  <levon@movementarian.org>
9403
9404         * pspell.C: fix compile
9405
9406 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9407
9408         * lyxfunc.C (dispatch): use boost::format
9409         (open): ditto
9410         (doImport): ditto
9411
9412         * lyxfont.C (stateText): use boost::format
9413
9414         * lyx_main.C (LyX): use boost::format
9415         (init): ditto
9416         (queryUserLyXDir): ditto
9417         (readRcFile): ditto
9418         (parse_dbg): ditto
9419         (typedef boost::function): use the recommened syntax.
9420
9421         * importer.C (Import): use boost::format
9422
9423         * debug.C (showLevel): use boost::format
9424
9425         * converter.C (view): use boost::format
9426         (convert): ditto
9427         (move): ditto
9428         (scanLog): ditto
9429
9430         * bufferview_funcs.C (currentState): use boost::format
9431
9432         * bufferlist.C (emergencyWrite): use boost::format
9433
9434         * buffer.C (readLyXformat2): use boost::format
9435         (parseSingleLyXformat2Token): ditto
9436
9437         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9438
9439         * LaTeX.C (run): use boost::format
9440
9441         * Chktex.C (scanLogFile): use boost::format
9442
9443         * BufferView_pimpl.C (savePosition): use boost::format
9444         (restorePosition): ditto
9445         (MenuInsertLyXFile): ditto
9446
9447         * BoostFormat.h: help file for explicit instation.
9448
9449 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9450
9451         * tabular.C (latex): Support for block alignment in fixed width
9452         columns.
9453
9454 2002-11-17  John Levon  <levon@movementarian.org>
9455
9456         * BufferView_pimpl.C:
9457         * lyx_cb.C:
9458         * lyxfunc.C: split filedialog into open/save
9459
9460 2002-11-08  Juergen Vigna  <jug@sad.it>
9461
9462         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9463         by my last patch (hopefully).
9464
9465 2002-11-08  John Levon  <levon@movementarian.org>
9466
9467         * iterators.h:
9468         * iterators.C:
9469         * buffer.h:
9470         * buffer.C:
9471         * paragraph.h:
9472         * paragraph.C:
9473         * toc.h:
9474         * toc.C: ParConstIterator, and use it (from Lars)
9475
9476 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9477
9478         * lyxtextclass.[Ch]: revise and add doxygen comments
9479
9480 2002-11-07  John Levon  <levon@movementarian.org>
9481
9482         * text.C: fix progress value for spellchecker
9483
9484         * toc.C: fix navigate menu for insetwrap inside minipage
9485
9486         * paragraph_funcs.C: added FIXME for suspect code
9487
9488 2002-11-07  John Levon  <levon@movementarian.org>
9489
9490         * BufferView_pimpl.C: fix redrawing of insets
9491           on buffer switch
9492
9493 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9494
9495         * text2.C (updateCounters): fix bug 668
9496
9497 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9498
9499         * text3.C (dispatch): Do not make the buffer dirty when moving the
9500         cursor.
9501
9502 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9503
9504         * vc-backend.C: STRCONV
9505         (scanMaster): ditto
9506
9507         * text2.C (setCounter): STRCONV
9508
9509         * paragraph.C (asString): STRCONV
9510
9511         * lyxlength.C (asString): STRCONV
9512         (asLatexString): ditto
9513
9514         * lyxgluelength.C (asString): STRCONV
9515         (asLatexString): ditto
9516
9517         * lyxfunc.C (dispatch): STRCONV
9518         (open): ditto
9519
9520         * lyxfont.C (stateText): STRCONV
9521
9522         * importer.C (Import): STRCONV
9523
9524         * counters.C (labelItem): STRCONV
9525         (numberLabel): ditto
9526         (numberLabel): remove unused ostringstream o
9527
9528         * chset.C: STRCONV
9529         (loadFile): ditto
9530
9531         * bufferview_funcs.C (currentState): STRCONV
9532
9533         * buffer.C (readFile): STRCONV
9534         (asciiParagraph): ditto
9535         (makeLaTeXFile): ditto
9536
9537         * Spacing.C (writeEnvirBegin): STRCONV
9538
9539         * LaTeXFeatures.C (getLanguages): STRCONV
9540         (getPackages): ditto
9541         (getMacros): ditto
9542         (getBabelOptions): ditto
9543         (getTClassPreamble): ditto
9544         (getLyXSGMLEntities): ditto
9545         (getIncludedFiles): ditto
9546
9547         * LaTeX.C: STRCONV
9548         (run): ditto
9549         (scanAuxFile): ditto
9550         (deplog): ditto
9551
9552         * LString.h: add the STRCONV macros
9553
9554         * BufferView_pimpl.C (savePosition): STRCONV
9555         (restorePosition): ditto
9556         (MenuInsertLyXFile): ditto
9557
9558         * vc-backend.C (scanMaster): change from submatch[...] to
9559         submatch.str(...)
9560
9561         * funcrequest.C: include config.h
9562
9563         * factory.C: include config.h
9564
9565         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9566
9567         * box.C: include config.h
9568
9569         * LaTeX.C (scanAuxFile): change from submatch[...] to
9570         submatch.str(...)
9571         (deplog): ditto
9572
9573 2002-10-25  Angus Leeming  <leeming@lyx.org>
9574
9575         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9576
9577         * ispell.[Ch] (setError): new method.
9578         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9579         Use setError() insetead of goto END.
9580
9581         * lyx_cb.C (AutoSave): move out child process into new class
9582         AutoSaveBuffer.
9583
9584 2002-10-30  John Levon  <levon@movementarian.org>
9585
9586         * text3.C: make start appendix undoable
9587
9588 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9589
9590         * lyxlength.C (inPixels): Fix returned value.
9591
9592         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9593         environment.
9594
9595 2002-10-24  Angus Leeming  <leeming@lyx.org>
9596
9597         * lyxgluelength.h: no need to forward declare BufferParams
9598         or BufferView, so don't.
9599
9600 2002-10-21  John Levon  <levon@movementarian.org>
9601
9602         * BufferView.C: menuUndo ->undo, redo
9603
9604         * BufferView.h: document, remove dead, make some methods private
9605
9606         * paragraph_funcs.h:
9607         * paragraph_funcs.C:
9608         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9609
9610         * buffer.h:
9611         * buffer.C:
9612         * sgml.h:
9613         * sgml.C: move sgml open/close tag into sgml.C
9614
9615         * bufferview_funcs.h: unused prototype
9616
9617         * lyxfunc.h:
9618         * lyxfunc.C: remove unused
9619
9620         * lyxtext.h:
9621         * text.C: remove unused
9622
9623 2002-10-21  John Levon  <levon@movementarian.org>
9624
9625         * BufferView.h:
9626         * BufferView.C:
9627         * BufferView_pimpl.h:
9628         * BufferView_pimpl.C: fix mouse wheel handling based on
9629           patch from Darren Freeman
9630
9631 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9632
9633         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9634
9635 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9636
9637         * lyxlength.C (inPixels): Fix hanfling of negative length.
9638         Fix LyXLength::MU case.
9639
9640 2002-10-16  John Levon  <levon@movementarian.org>
9641
9642         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9643
9644 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9645
9646         * converter.C (view): add support for $$i (file name) and $$p
9647         (file path) for the viewer command. If $$i is not specified, then
9648         it is appended to the command (for compatibility with old syntax)
9649
9650 2002-10-14  Juergen Vigna  <jug@sad.it>
9651
9652         * undo_funcs.C (textHandleUndo): alter the order in which the
9653         new undopar is added to the LyXText, as we have to set first
9654         the right prev/next and then add it as otherwise the rebuild of
9655         LyXText is not correct. Also reset the cursor to the right paragraph,
9656         with this IMO we could remove the hack in "redoParagraphs()".
9657
9658 2002-10-09  Angus Leeming  <leeming@lyx.org>
9659
9660         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9661         to turn off an optimisation if a new inset is to be inserted.
9662
9663 2002-10-11 André Pönitz <poenitz@gmx.net>
9664
9665         * lyxtext.h: make some functions public to allow access
9666         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9667
9668 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9669
9670         * text3.C (dispatch): when changing layout, avoid an infinite loop
9671         [bug #652]
9672
9673 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9674
9675         * lyxrc.C (read): treat a viewer or converter command of "none" as
9676         if it were empty.
9677
9678         * MenuBackend.C (expandFormats): for an update, also allow the
9679         formats that are not viewable
9680
9681         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9682         script if it is newer than the lyxrc.defaults in user directory
9683
9684 2002-10-07 André Pönitz <poenitz@gmx.net>
9685
9686         * text.C: Vitaly Lipatov's small i18n fix
9687
9688 2002-09-25  Angus Leeming  <leeming@lyx.org>
9689
9690         * ispell.h: doxygen fix.
9691
9692 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9693
9694         * buffer.h (readFile): Add a new argument to the method, to allow
9695         reading of old-format templates.
9696
9697 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9698
9699         * toc.C (getTocList): Get TOC from InsetWrap.
9700
9701 2002-09-16  John Levon  <levon@movementarian.org>
9702
9703         * lyxfunc.C: check tabular for cut/copy too
9704
9705 2002-09-12  John Levon  <levon@movementarian.org>
9706
9707         * LyXAction.C: tidy
9708
9709         * factory.h:
9710         * factory.C: add header
9711
9712         * paragraph_funcs.h:
9713         * paragraph_funcs.C: cleanup
9714
9715 2002-09-11  John Levon  <levon@movementarian.org>
9716
9717         * PrinterParams.h: odd/even default to true
9718
9719 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9720
9721         * PrinterParams.h: update printer parameters for new xforms dialog
9722
9723 2002-09-11  Angus Leeming  <leeming@lyx.org>
9724
9725         * lyxserver.C (read_ready): re-write to make it more transparent
9726         and to make it work in coherent fashion under Tru64 Unix.
9727
9728 2002-09-11  André Pönitz <poenitz@gmx.net>
9729
9730         * commandtags.h:
9731         * LyXAction.C:
9732         * text3.C: implement LFUN_WORDSEL
9733
9734 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9735
9736         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9737         make floatlist_ a boost::shared_ptr<FloatList>
9738
9739         * lyxtextclass.C: include FloatList.h
9740         (LyXTextClass): initialize floatlist_
9741         (TextClassTags): add TC_NOFLOAT
9742         (Read): match "nofloat" to TC_NOFLOAT and use it.
9743         (readFloat): modify call to floatlist_
9744         (floats): ditto
9745         (floats): ditto
9746
9747         * FloatList.[Ch] (FloatList): remove commented out float
9748         initialization.
9749         (erase): new function
9750
9751 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9752
9753         * MenuBackend.C (expandToc): fix crash when there is no document
9754         open
9755
9756 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9757
9758         * many files: Add insetwrap.
9759
9760 2002-09-09  John Levon  <levon@movementarian.org>
9761
9762         * text2.C: remove confusing and awkward depth wraparound
9763
9764 2002-09-09  John Levon  <levon@movementarian.org>
9765
9766         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9767
9768         * buffer.h:
9769         * buffer.C: remove getIncludeonlyList()
9770
9771         * paragraph.C:
9772         * lyxfunc.C: remove headers
9773
9774 2002-09-09  Juergen Vigna  <jug@sad.it>
9775
9776         * text.C (getColumnNearX): fix form Michael this is most
9777         probably a cut&paste bug.
9778
9779 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9780
9781         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9782
9783         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9784         references, ws changes.
9785
9786         * text2.C (init): update counters after init
9787         (insertParagraph): no need to set counter on idividual paragraphs.
9788         (setCounter): access the counters object in the textclass object
9789         on in the buffer object.
9790         (updateCounters): ditto
9791
9792         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9793         shared_ptr<Counters> to avoid loading counters.h in all
9794         compilation units.
9795         (LyXTextClass): initialize ctrs_
9796         (TextClassTags): add TC_COUNTER, and ...
9797         (Read): use it here.
9798         (CounterTags): new tags
9799         (readCounter): new function
9800         (counters): new funtion
9801         (defaultLayoutName): return a const reference
9802
9803         * counters.C (Counters): remove contructor
9804         (newCounter): remove a couple of unneeded statements.
9805         (newCounter): simplify a bit.
9806         (numberLabel): some small formatting changes.
9807
9808         * buffer.[Ch]: remove all traces of counters, move the Counters
9809         object to the LyXTextClass.
9810
9811 2002-09-06  Alain Castera  <castera@in2p3.fr>
9812
9813         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9814         package to set the horizontal alignment on fixed width columns.
9815
9816         * lyx_sty.C:
9817         * lyx_sty.h: added tabularnewline macro def.
9818
9819         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9820
9821 2002-09-06  John Levon  <levon@movementarian.org>
9822
9823         * LyXAction.C: tooltips for sub/superscript
9824
9825         * MenuBackend.C: a bit more verbose
9826
9827         * lyxfunc.C: tiny clean
9828
9829         * undo_funcs.C: document undo_frozen
9830
9831 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9832
9833         * counters.C (Counters): add missing algorithm counter.
9834
9835         * text2.C (setCounter): lookup the counter with layouts latexname
9836         instead of by section number.
9837         (setCounter): use a hackish way to lookup the correct enum
9838         counter.
9839         a float name->type change
9840         reset enum couners with counter name directly instead of depth value.
9841
9842         * counters.C (Counters): remove the push_backs, change to use the
9843         float type not the float name.
9844         (labelItem): remove unused string, float name->type change
9845
9846         * counters.h: don't include vector, loose the enums and sects vectors
9847
9848 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9849
9850         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9851         (Read): add float->TC_FLOAT to textclassTags
9852         (Read): and handle it in the switch
9853         (readFloat): new function
9854
9855         * FloatList.C (FloatList): comment out the hardcoded float
9856         definitions.
9857
9858         * lyxlayout.h: ws change.
9859
9860 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9861
9862         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9863
9864 2002-09-03  Angus Leeming  <leeming@lyx.org>
9865
9866         * BufferView_pimpl.h: qualified name is not allowed in member
9867         declaration: WorkArea & Pimpl::workarea() const;
9868
9869         * factory.C: added using std::endl directive.
9870
9871         * text3.C: added using std::find and std::vector directives.
9872
9873 2002-08-29  André Pönitz <poenitz@gmx.net>
9874
9875         * lyxtext.h:
9876         * text2.C: remove unused member number_of_rows
9877
9878         * Makefile.am:
9879         * BufferView2.C: remove file, move contents to...
9880         * BufferView.C: ... here
9881
9882         * BufferView_pimpl.C:
9883         * factory.C: move more inset creation to factory
9884
9885         * vspace.C: avoid direct usage of LyXText, ws changes
9886
9887         * BufferView.[Ch]:
9888                 don't provide direct access to WorkArea, use two simple
9889                 acessors haveSelction() and workHeight() instead
9890
9891
9892 2002-08-29  John Levon  <levon@movementarian.org>
9893
9894         * BufferView_pimpl.C (dispatch): do not continue when
9895           no buffer
9896
9897 2002-08-28  André Pönitz <poenitz@gmx.net>
9898
9899         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9900
9901         * BufferView.h:
9902         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9903
9904 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9905
9906         * buffer.C: increment LYX_FORMAT to 221
9907
9908         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9909         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9910
9911         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9912
9913         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9914
9915 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9916
9917         * factory.C (createInset): use LyXTextClass::floats
9918
9919         * MenuBackend.C (expandFloatListInsert):
9920         (expandFloatInsert):
9921         (expandToc):
9922
9923         * text2.C (setCounter):
9924
9925         * LaTeXFeatures.C (useFloat):
9926         (getFloatDefinitions):
9927
9928         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9929
9930         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9931         floatlist_, with accessor floats().
9932
9933         * FloatList.h: remove global FloatList
9934
9935 2002-08-26  André Pönitz <poenitz@gmx.net>
9936
9937         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9938
9939         * BufferView.h:
9940         * BufferView2.C:
9941         * BufferView_pimpl.C:
9942         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9943
9944 2002-08-25  John Levon  <levon@movementarian.org>
9945
9946         * LyXAction.C: fix margin note description
9947
9948 2002-08-24  John Levon  <levon@movementarian.org>
9949
9950         * buffer.C:
9951         * bufferlist.C:
9952         * bufferview_funcs.C:
9953         * lyxfont.C:
9954         * undo_funcs.C: cleanups
9955
9956         * lyxfunc.C: disable CUT/COPY when no selection
9957
9958 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9959
9960         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9961         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9962
9963         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9964         Add backward compatibility to "mono", "gray" and "no".
9965
9966 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9967
9968         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9969         (and file_format >= 200).
9970
9971 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9972
9973         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9974
9975 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9976
9977         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9978
9979 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9980
9981         * BufferView_pimpl.C:
9982         * LyXAction.C:
9983         * buffer.C:
9984         * commandtags.h:
9985         * lyxfunc.C:
9986         * paragraph.[Ch]:
9987         * text2.C:
9988         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9989         inset and code to make it  work with the paragraph code. The inset
9990         can be anywhere in the paragraph, but will only do the expected
9991         thing in LaTeX if the layout file contains the parameter line
9992                         OptionalArgs    1
9993         (or more generally, a nonzero value) for that layout.
9994
9995 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9996
9997         * paragraph.h: remove the declaration of undefined counters class
9998         function.
9999
10000 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10001
10002         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10003         Dr. Richard Hawkins.
10004
10005 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10006
10007         * paragraph_funcs.h: remove some unneeded includes
10008
10009         * text.C (backspace): pasteParagraph now in global scipe
10010
10011         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10012         (pasteSelection): ditto
10013
10014         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10015         * paragraph_funcs.C (pasteParagraph): ... here
10016
10017 2002-08-20  André Pönitz <poenitz@gmx.net>
10018
10019         * commandtags.h: new LFUNs for swapping/copying table row/colums
10020
10021         * LyXAction.C:
10022         * lyxfunc.C: support for new lfuns
10023
10024 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10025
10026         * tabular.C:
10027         * buffer.[Ch]: remove NO_COMPABILITY stuff
10028
10029 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10030
10031         * boost.C (throw_exception): new file, with helper function for
10032         boost compiled without exceptions.
10033
10034         * paragraph.h:
10035         * lyxlength.C:
10036         * buffer.C:
10037         * ParameterStruct.h:
10038         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10039
10040         * bufferlist.C (emergencyWriteAll): use boost bind
10041
10042         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10043
10044         * text.C: include paragraph_funcs.h
10045         (breakParagraph): breakParagraph is now in global scope
10046
10047         * paragraph_funcs.[Ch]: new files
10048
10049         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10050         global scope
10051
10052         * buffer.C: include paragraph_funcs.h
10053         (insertStringAsLines): breakParagraph is now in global scope
10054
10055         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10056         paragraph_funcs.C
10057
10058         * CutAndPaste.C: include paragraph_funcs.h
10059         (cutSelection): breakParagraphConservative is now in global scope
10060         (pasteSelection): ditto
10061
10062         * buffer.h: declare oprator== and operator!= for
10063         Buffer::inset_iterator
10064
10065         * bufferlist.C (emergencyWrite): don't use fmt(...)
10066
10067         * text3.C: add using std::endl
10068
10069         * BufferView.C (moveCursorUpdate): remove default arg
10070
10071 2002-08-20  André Pönitz <poenitz@gmx.net>
10072
10073         * buffer.[Ch]: move inline functions to .C
10074
10075         * BufferView2.C:
10076         * BufferView_pimpl.C:
10077         * text.C:
10078         * buffer.[Ch]: use improved inset_iterator
10079
10080         * buffer.C:
10081         * paragraph.[Ch]: write one paragraph at a time
10082
10083 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10084
10085         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10086         style if style is not specified.
10087
10088 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10089
10090         * text2.C (setCounter): when searching for right label for a
10091         caption, make sure to recurse to parent insets (so that a caption
10092         in a minipage in a figure float works) (bug #568)
10093
10094 2002-08-20  André Pönitz <poenitz@gmx.net>
10095
10096         * text3.C: new file for LyXText::dispatch() and helpers
10097
10098         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10099
10100         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10101
10102 2002-08-19  André Pönitz <poenitz@gmx.net>
10103
10104         * lyxtext.h:
10105         * text.C: new LyXText::dispatch()
10106
10107         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10108
10109 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10110
10111         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10112
10113         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10114         Hebrew text.
10115
10116 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10117
10118         * Makefile.am: use $(variables) instead of @substitutions@
10119
10120 2002-08-15  André Pönitz <poenitz@gmx.net>
10121
10122         * lyxfunc.C:
10123         * BufferView_pimpl.C: streamlining mathed <-> outer world
10124         interaction
10125
10126         * commandtags.h:
10127         * LyXAction.C: remove unused LFUN_MATH
10128
10129 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10130
10131         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10132
10133 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10134
10135         * paragraph.C (Paragraph): reformat a bit
10136         (cutIntoMinibuffer): use builtin InsetList function instad of
10137         doing it manually.
10138         (getInset): ditto
10139
10140         * buffer.C: include boost/bind.hpp, add using std::for_each
10141         (writeFileAscii): use ParagraphList iterators
10142         (validate): use for_each for validate traversal of paragraphs
10143         (getBibkeyList): use ParagraphList iterators
10144         (resizeInsets): use for_each to resizeInsetsLyXText for all
10145         paragraphs.
10146         (getParFromID): use ParagraphList iterators
10147
10148         * BufferView2.C (lockInset): use paragraph list and iterators
10149
10150 2002-08-14  John Levon  <levon@movementarian.org>
10151
10152         * lyxserver.C: remove spurious xforms include
10153
10154 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10155
10156         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10157
10158 2002-08-13  André Pönitz <poenitz@gmx.net>
10159
10160         * LyXAction.[Ch]:
10161         * lyxfunc.C: further cleaning
10162
10163 2002-08-13  André Pönitz <poenitz@gmx.net>
10164
10165         * funcrequest.h: new constructor
10166
10167         * funcrequest.C: move stuff here from .h
10168
10169         * Makefile.am:
10170         * BufferView_pimpl.C:
10171         * LyXAction.C:
10172         * toc.C:
10173         * lyxfunc.C: subsequent changes
10174
10175         * lyxfunc.h: new view() member function
10176
10177         * lyxfunc.C: subsequent changes
10178
10179 2002-08-13  Angus Leeming  <leeming@lyx.org>
10180
10181         * BufferView2.C:
10182         * BufferView_pimpl.C:
10183         * buffer.C:
10184         * converter.C:
10185         * importer.C:
10186         * lyxfunc.C:
10187         * lyxvc.C:
10188         * toc.C:
10189         * vc-backend.C:
10190         changes due to the changed LyXView interface that now returns references
10191         to member variables not pointers.
10192
10193 2002-08-13  Angus Leeming  <leeming@lyx.org>
10194
10195         * WordLangTuple (word, lang_code): return references to strings,
10196         not strings.
10197
10198         * BufferView.h:
10199         * SpellBase.h:
10200         * lyxtext.h: forward-declare WordLangTuple.
10201
10202         * BufferView2.C:
10203         * ispell.C:
10204         * pspell.C:
10205         * text.C: #include "WordLangTuple.h".
10206
10207         * lyxtext.h:
10208         * text.C: (selectNextWordToSpellcheck): constify return type.
10209
10210 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10211
10212         * buffer.C:
10213         * buffer.h:
10214         * lyxtext.h:
10215         * paragraph.C:
10216         * paragraph_pimpl.h:
10217         * text.C:
10218         * text2.C:
10219         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10220         suggested by Angus.
10221         Made updateCounter always count from start of buffer, and removed
10222         second argument (par).
10223         Reverted floats number display to '#'. Perhaps I'll try again when the
10224         code base is sanitized a bit.
10225
10226 2002-08-12  Angus Leeming  <leeming@lyx.org>
10227
10228         * buffer.[Ch] (getLabelList): constify.
10229
10230 2002-08-07  André Pönitz <poenitz@gmx.net>
10231
10232         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10233
10234         * funcrequest.h: extension to keep mouse (x,y) position
10235
10236 2002-08-12  Juergen Vigna  <jug@sad.it>
10237
10238         * BufferView2.C (insertErrors): forbid undo when inserting error
10239         insets.
10240
10241         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10242
10243 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10244
10245         * ParagraphList.[Ch]: new files
10246
10247         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10248
10249         * BufferView2.C (lockInset): ParagraphList changes
10250         * toc.C: ditto
10251         * text2.C: ditto
10252         * bufferlist.C: ditto
10253         * buffer.h: ditto
10254         * buffer.C: ditto
10255
10256 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10257
10258         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10259         unused class variable counter_,
10260
10261         * paragraph.[Ch] (getFirstCounter): delete unused function
10262
10263         * counters.C: include LAssert.h
10264         (reset): add a new function with no arg, change other version to
10265         not have def. arg and to not allow empty arg.
10266
10267         * text2.C (setCounter): remove empty arg from call to Counters::reset
10268
10269 2002-08-11  John Levon  <levon@movementarian.org>
10270
10271         * Makefile.am: add WordLangTuple.h
10272
10273 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10274
10275         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10276         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10277
10278         * insets/insettext.C: InsetList changes
10279
10280         * graphics/GraphicsSupport.C (operator()): InsetList changes
10281
10282         * toc.C (getTocList): InsetList changes
10283
10284         * paragraph_pimpl.[Ch]: InsetList changes
10285
10286         * paragraph.[Ch]: InsetList changes
10287
10288         * buffer.C (inset_iterator): InsetList changes
10289         (setParagraph): ditto
10290         * buffer.h (inset_iterator): ditto
10291         * iterators.C (operator++): ditto
10292         * iterators.h: ditto
10293
10294         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10295
10296         * InsetList.[Ch]: new files, most InsetList handling moved out of
10297         paragraph.C.
10298
10299         * BufferView2.C (removeAutoInsets): InsetList changes
10300         (lockInset): ditto
10301         (ChangeInsets): ditto
10302
10303 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10304
10305         * paragraph_pimpl.h (empty): new function
10306
10307         * paragraph.[Ch] (empty): new function
10308
10309         * other files: use the new Paragraph::empty function
10310
10311 2002-08-09  John Levon  <levon@movementarian.org>
10312
10313         * lyxtext.h: remove unused refresh_height
10314
10315 2002-08-09  John Levon  <levon@movementarian.org>
10316
10317         * Makefile.am:
10318         * sgml.h:
10319         * sgml.C:
10320         * buffer.C:
10321         * paragraph.h:
10322         * paragraph.C: move sgml char escaping out of paragraph
10323
10324         * paragraph.h:
10325         * paragraph.C: remove id setter
10326
10327         * buffer.C:
10328         * paragraph.C:
10329         * paragraph_pimpl.C: remove dead tex_code_break_column
10330
10331         * bufferview_funcs.C: small cleanup
10332
10333         * lyxfunc.C: remove dead proto
10334
10335         * lyxtext.h: make some stuff private. Remove some dead stuff.
10336
10337         * lyxgluelength.C: make as[LyX]String() readable
10338
10339 2002-08-08  John Levon  <levon@movementarian.org>
10340
10341         * LyXAction.h:
10342         * LyXAction.C:
10343         * MenuBackend.C:
10344         * ToolbarDefaults.C:
10345         * lyxfunc.C:
10346         * lyxrc.C:
10347         * toc.C: lyxaction cleanup
10348
10349 2002-08-08  John Levon  <levon@movementarian.org>
10350
10351         * BufferView2.C: small cleanup
10352
10353         * lyxfind.h:
10354         * lyxfind.C: move unnecessary header into the .C
10355
10356 2002-08-08  John Levon  <levon@movementarian.org>
10357
10358         * funcrequest.h: just tedious nonsense
10359
10360         * lyx_main.h:
10361         * lyx_main.C: cleanups
10362
10363         * buffer.C:
10364         * vspace.C: remove dead header lyx_main.h
10365
10366 2002-08-07  Angus Leeming  <leeming@lyx.org>
10367
10368         * Paragraph.[Ch]:
10369         * paragraph_pimpl.h:
10370         Forward declare class Counters in paragraph.h by moving the ctrs member
10371         variable into Paragraph::Pimpl.
10372         (counters): new method, returning a reference to pimpl_->ctrs.
10373
10374         * text2.C: ensuing changes.
10375
10376 2002-08-07  John Levon  <levon@movementarian.org>
10377
10378         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10379
10380         * BufferView_pimpl.C: announce X selection on double/triple
10381           click
10382
10383         * lyx_main.C: use correct bool in batch dispatch
10384
10385         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10386
10387 2002-08-07  André Pönitz <poenitz@gmx.net>
10388
10389         * funcrequest.h: new class to wrap a kb_action and its argument
10390
10391         * BufferView.[Ch]:
10392         * BufferView_pimpl[Ch]:
10393         * LaTeX.C:
10394         * LyXAction.[Ch]:
10395         * lyxfunc.[Ch]:
10396         * lyxrc.C: subsequent changes
10397
10398
10399 2002-08-07  John Levon  <levon@movementarian.org>
10400
10401         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10402           document options change.
10403
10404 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10405
10406         * counters.[Ch]
10407         * text2.C
10408         * paragraph.[Ch]
10409         * makefile.am: move counters functionality over from
10410         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10411
10412 2002-08-06  John Levon  <levon@movementarian.org>
10413
10414         * WordLangTuple.h: new file for word + language code tuple
10415
10416         * SpellBase.h:
10417         * pspell.h:
10418         * pspell.C:
10419         * ispell.h:
10420         * ispell.C:
10421         * lyxtext.h:
10422         * text.C:
10423         * text2.C:
10424         * BufferView.h:
10425         * BufferView2.C: use WordLangTuple
10426
10427         * layout.h:
10428         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10429
10430 2002-08-06  John Levon  <levon@movementarian.org>
10431
10432         * lyx_main.C: fix cmdline batch handling
10433
10434 2002-08-06  André Pönitz <poenitz@gmx.net>
10435
10436         * lyxrc.C: set default for show_banner to true
10437
10438 2002-08-06  John Levon  <levon@movementarian.org>
10439
10440         * pspell.C: fix a crash, and allow new aspell to work
10441
10442 2002-08-06  John Levon  <levon@movementarian.org>
10443
10444         * lyxfunc.C:
10445         * kbmap.C: small cleanup
10446
10447         * vspace.h:
10448         * vspace.C: add const
10449
10450 2002-08-05  John Levon  <levon@movementarian.org>
10451
10452         * LyXAction.C: back to tabular-insert
10453
10454 2002-08-04  John Levon  <levon@movementarian.org>
10455
10456         * BufferView.h:
10457         * BufferView.C: cosmetic change
10458
10459         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10460
10461         * bufferlist.C:
10462         * buffer.h:
10463         * buffer.C:
10464         * lyxcb.h:
10465         * lyxcb.C:
10466         * lyxserver.C:
10467         * lyxvc.C:
10468         * vc-backend.C:
10469         * BufferView2.C: purge all "Lyx" not "LyX" strings
10470
10471         * lyxcursor.h:
10472         * lyxcursor.C: attempt to add some documentation
10473
10474         * lyxfunc.C:
10475         * commandtags.h:
10476         * LyXAction.C:
10477         * ToolbarDefaults.C:
10478         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10479           merge with LFUN_TABULAR_INSERT
10480
10481         * Makefile.am:
10482         * SpellBase.h:
10483         * ispell.h:
10484         * ispell.C:
10485         * pspell.h:
10486         * pspell.C: split up i/pspell implementations into separate
10487           files, many cleanups
10488
10489         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10490
10491         * text2.C: some cleanup
10492
10493         * lyxfunc.C: don't check for isp_command == "none" any more, it
10494           didn't make any sense
10495
10496 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10497
10498         * counters.[Ch]
10499         * text2.C
10500         * paragraph.[Ch]
10501         * makefile.am: move counters functionality over
10502         from text2.C/paragraph.[Ch] to counters.[Ch], and
10503         make proper C++.
10504 2002-08-02  John Levon  <levon@movementarian.org>
10505
10506         * buffer.C: s/lyxconvert/lyx2lyx/
10507
10508 2002-08-02  Angus Leeming  <leeming@lyx.org>
10509
10510         * lyxlex.C: revert John's change as it breaks reading of the user
10511         preamble.
10512
10513 2002-08-02  Angus Leeming  <leeming@lyx.org>
10514
10515         * importer.C (Import):
10516         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10517         changes due to LyXView::view() now returning a boost::shared_ptr.
10518
10519 2002-08-02  John Levon  <levon@movementarian.org>
10520
10521         * lyxlex.C: small cleanup
10522
10523 2002-08-02  John Levon  <levon@movementarian.org>
10524
10525         * text2.C (status): small cleanup, no logic change
10526
10527 2002-08-01  John Levon  <levon@movementarian.org>
10528
10529         * buffer.h:
10530         * buffer.C (writeFile): don't output alerts, caller
10531           handles this
10532
10533         * bufferlist.C:
10534         * lyx_cb.C: from above
10535
10536         * lyxfunc.C: allow to open non-existent files
10537
10538 2002-07-31  John Levon  <levon@movementarian.org>
10539
10540         * lyxserver.C: don't let incidental errors get
10541           in the way (errno)
10542
10543 2002-07-30  John Levon  <levon@movementarian.org>
10544
10545         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10546
10547 2002-07-30  John Levon  <levon@movementarian.org>
10548
10549         * lyxserver.h:
10550         * lyxserver.C: remove I/O callback too
10551
10552 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10553
10554         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10555         log.
10556
10557 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10558
10559         * many files: strip,frontStrip -> trim,ltrim,rtrim
10560
10561 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10562
10563         * PrinterParams.h: remove extern containsOnly, and include
10564         support/lstrings.h instead.
10565
10566         * LaTeX.C (scanAuxFile): modify because of strip changes
10567         (deplog): ditto
10568         * buffer.C (makeLaTeXFile): ditto
10569         * bufferparams.C (writeFile): ditt
10570         * lyxfont.C (stateText): ditto
10571         * lyxserver.C (read_ready): ditto
10572         * vc-backend.C (scanMaster): ditto
10573
10574         * BufferView_pimpl.h: ws changes
10575
10576         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10577
10578 2002-07-26  André Pönitz <poenitz@gmx.net>
10579
10580         * kb_sequence.C: remove unnedred usings
10581
10582 2002-07-26  Juergen Vigna  <jug@sad.it>
10583
10584         * lyxfind.C (LyXReplace): we have to check better if the returned
10585         text is not of theLockingInset()->getLockingInset().
10586
10587 2002-07-25  Juergen Vigna  <jug@sad.it>
10588
10589         * lyxfind.C (LyXReplace): don't replace if we don't get the
10590         right LyXText.
10591
10592         * undo_funcs.C (createUndo): remove debugging code.
10593
10594 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10595
10596         * buffer.C (parseSingleLyXformat2Token): Use default placement
10597         when reading old floats.
10598
10599         * FloatList.C (FloatList): Change the default placement of figure
10600         and tables to "tbp".
10601
10602 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10603
10604         * MenuBackend.C: using std::max
10605
10606 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10607
10608         * MenuBackend.C (expandToc):
10609         (expandToc2): code moved from xforms menu frontend. It is now
10610         generic and TOCs are transparent to menu frontends.
10611
10612 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10613
10614         * toc.C (getTocList): protect against buf=0
10615
10616         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10617         Menu as first parameter. Now, this calls itself recursively to
10618         expand a whole tree (this will be useful for TOC handling)
10619         (expandFloatInsert): remove 'wide' version of floats
10620
10621         * MenuBackend.h (submenuname): returns the name of the submenu.
10622         (submenu): returns the submenu itself, provided it has been
10623         created by MenuBackend::expand
10624
10625 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10628         insets which have noFontChange == true. (bug #172)
10629
10630 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10631
10632         * BufferView_pimpl.C: add connection objects and use them...
10633         (Pimpl): here.
10634
10635 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10636
10637         * MenuBackend.C (expandLastfiles):
10638         (expandDocuments):
10639         (expandFormats):
10640         (expandFloatListInsert):
10641         (expandFloatInsert):
10642         (expand): split expand in parts
10643
10644 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10645
10646         * lyx_gui.C: use lyx_gui::exit()
10647
10648 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10649
10650         * LyXAction.C: show the failing pseudo action
10651
10652 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10653
10654         * buffer.C (readFile): Run the lyxconvert script in order to read
10655         old files.
10656
10657 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10658
10659         * LyXAction.C:
10660         * commandtags.h:
10661         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10662
10663 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * LyXAction.C:
10666         * commandtags.h:
10667         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10668
10669 2002-07-22  Herbert Voss  <voss@lyx.org>
10670
10671         * lengthcommon.C:
10672         * lyxlength.[Ch]: add support for the vertical lengths
10673
10674 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10675
10676         * toc.[Ch]: std:: fixes
10677
10678 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10679
10680         * lyxrc.C: do not include lyx_main.h
10681
10682         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10683         for layouts
10684
10685         * lyxrc.C:
10686         * encoding.C:
10687         * bufferlist.C:
10688         * BufferView2.C: include "lyxlex.h"
10689
10690         * tabular.h:
10691         * bufferparams.h: do not #include "lyxlex.h"
10692
10693         * lyxtextclasslist.C (Add): remove method
10694         (classlist): renamed to classlist_
10695
10696         * paragraph_pimpl.C:
10697         * paragraph.C:
10698         * text2.C:
10699         * CutAndPaste.C:
10700         * bufferview_funcs.C:
10701         * bufferlist.C:
10702         * text.C:
10703         * LaTeXFeatures.C:
10704         * buffer.C:
10705         * toc.C (getTocList): use BufferParams::getLyXTextClass
10706
10707         * toc.C (getTocList): use InsetFloat::addToToc
10708
10709         * toc.[Ch]: new files, containing helper functions to handle table
10710         of contents
10711
10712         * lyxfunc.C (dispatch): no need to remove spaces around command
10713         given as a string
10714         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10715         first command of the sequence; it is not very clever, but I do not
10716         have a better idea, actually
10717
10718         * LyXAction.C (LookupFunc): make sure to remove space at the
10719         beginning and end of the command
10720
10721 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10722
10723         * MenuBackend.C (getMenubar): new method: return the menubar of
10724         this menu set
10725         (read): treat differently reading of menu and menubar (in
10726         particular, the menubar has no name now)
10727         (Menu::menubar): remove
10728
10729         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10730         saving is finished
10731
10732 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10733
10734         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10735         a bibitem inset in a RTL paragraph.
10736
10737 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10738
10739         * paragraph_pimpl.C: constify
10740
10741         * BufferView_pimpl.C:
10742         * LaTeX.C:
10743         * lyxfunc.C: fix dispatch in a nicer way
10744
10745 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10746
10747         * lyxfunc.C (dispatch):
10748         * BufferView_pimpl.C:
10749         * BufferView_pimpl.h:
10750         * BufferView.C:
10751         * BufferView.h: rename Dispatch() to dispatch()
10752
10753         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10754
10755         * lyxlayout.C (Read): honor DependsOn tag
10756
10757         * lyxlayout.[Ch] (depends_on): new method
10758
10759         * version.C.in: update lyx_docversion
10760
10761         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10762
10763         * paragraph.C (validate): remove from here...
10764         * paragraph_pimpl.C (validate): ... and move here
10765         (isTextAt): make it const
10766
10767         * buffer.C (getLists): ws cleanup
10768
10769 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10770
10771         * language.C (read): Use iso8859-1 encoding in latex_lang
10772         (this prevents LyX from crashing when using iso10646-1 encoding).
10773
10774 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10775
10776         * text2.C (toggleInset): if cursor is inside an inset, close the
10777         inset and leave cursor _after_ it
10778
10779 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10780
10781         * lyxfunc.C: move minibuffer completion handling out of here
10782
10783 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10784
10785         * BufferView_pimpl.C:
10786         * LaTeX.C: fix dispatch calls
10787
10788 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10789
10790         * text.C (drawChars): Fix Arabic text rendering.
10791
10792 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10793
10794         * LyXAction.C:
10795         * commandtags.h:
10796         * lyxfunc.C: remove message-push/pop
10797
10798         * lyxserver.C:
10799         * lyxfunc.h:
10800         * lyxfunc.C: rationalise some code by removing verboseDispatch
10801           in favour of a bool argument to dispatch()
10802
10803 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10804
10805         * lyx_main.C (init): make sure to read symlinks as absolute paths
10806
10807 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10808
10809         * lyxfunc.h:
10810         * lyxfunc.C: no need for commandshortcut to be a member
10811
10812 2002-07-15  André Pönitz <poenitz@gmx.net>
10813
10814         * converter.C: add support for $$s (scripts from lib/scripts dir)
10815         * lyx_main.C: white space
10816
10817 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10818
10819         * bufferlist.C:
10820         * lyxrc.h:
10821         * lyxrc.C: remove second exit confirmation
10822
10823 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10824
10825         * BufferView.h:
10826         * BufferView.C:
10827         * BufferView2.C:
10828         * BufferView_pimpl.h:
10829         * BufferView_pimpl.C:
10830         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10831
10832 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10833
10834         * MenuBackend.C (expand): add numeric shortcuts to document menu
10835
10836         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10837
10838 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10839
10840         * lyxfont.C (setLyXFamily):
10841         (setLyXSeries):
10842         (setLyXShape):
10843         (setLyXSize):
10844         (setLyXMisc):
10845         (lyxRead):
10846         * debug.C (value):
10847         * buffer.C (asciiParagraph): use ascii_lowercase
10848
10849 2002-07-15  Mike Fabian  <mfabian@suse.de>
10850
10851         * lyxlex_pimpl.C (search_kw):
10852         * lyxlex.C (getLongString):
10853         * converter.h (operator<):
10854         * converter.C (operator<):
10855         * buffer.C (parseSingleLyXformat2Token):
10856         (asciiParagraph):
10857         * ToolbarDefaults.C (read):
10858         * MenuBackend.C (checkShortcuts):
10859         (read):
10860         * LColor.C (getFromGUIName):
10861         (getFromLyXName): use the compare_ascii_no_case instead of
10862         compare_no_case, because in turkish, 'i' is not the lowercase
10863         version of 'I', and thus turkish locale breaks parsing of tags.
10864
10865 2002-07-16  Angus Leeming  <leeming@lyx.org>
10866
10867         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10868         now takes a Buffer const & argument.
10869
10870 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10871
10872         * BufferView.C (resize): check there's a buffer to resize
10873
10874 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10875
10876         * lyxfunc.C: remove dead code
10877
10878         * lyxserver.h:
10879         * lyxserver.C: use lyx_guii::set_read_callback
10880
10881 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10882
10883         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10884         an inset in a RTL paragraph.
10885
10886 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10887
10888         * lyxfunc.C: repaint after a font size update
10889
10890 2002-07-15  André Pönitz <poenitz@gmx.net>
10891
10892         * lyxlength.C: inBP should be able to return negative values
10893
10894 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10895
10896         * lyxfunc.C: use lyx_gui::update_fonts()
10897
10898 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10899
10900         * lyxfunc.C: use lyx_gui::update_color()
10901
10902 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10903
10904         * bufferlist.C:
10905         * lyxfunc.h:
10906         * lyxfunc.C:
10907         * lyxrc.h:
10908         * lyxrc.C: remove file->new asks for name option, and let
10909           buffer-new take an argument
10910
10911 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10912
10913         * BufferView_pimpl.C: remove unneeded extra repaint()
10914
10915 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10916
10917         * LyXAction.C: allow command-sequence with NoBuffer
10918
10919         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10920
10921 2002-07-10  Angus Leeming  <leeming@lyx.org>
10922
10923         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10924
10925 2002-07-09  Angus Leeming  <leeming@lyx.org>
10926
10927         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10928
10929 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10930
10931         * lengthcommon.h: whitespace
10932
10933         * lyxfunc.C: update scrollbar after goto paragraph
10934
10935         * lyxtext.h: factor out page break drawing, and fix it so
10936           page break/added space paints as selected nicely
10937
10938 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10939
10940         * BufferView_pimpl.C: add FIXMEs, clean up a little
10941
10942 2002-07-09  André Pönitz <poenitz@gmx.net>
10943
10944         * lyxfont.[Ch]: support for wasy symbols
10945
10946 2002-07-08  André Pönitz <poenitz@gmx.net>
10947
10948         * BufferView_pimpl.C: apply John's patch for #93.
10949
10950 2002-07-05  Angus Leeming  <leeming@lyx.org>
10951
10952         * BufferView_pimpl.C (buffer): generate previews if desired.
10953
10954         * LColor.h: add "preview" to the color enum.
10955
10956         * LColor.C (LColor): add a corresponding entry to the items array.
10957
10958         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10959         with this buffer.
10960
10961 2002-07-05  Angus Leeming  <leeming@lyx.org>
10962
10963         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10964         The body of the code is now in the method that is passed an ostream &
10965         rather than a file name.
10966         Pass an additional only_preamble parameter, useful for the forthcoming
10967         preview stuff.
10968
10969 2002-07-03  André Pönitz <poenitz@gmx.net>
10970
10971         * lyxfunc.C: simplify getStatus() a bit for math stuff
10972
10973 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10974
10975         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10976
10977 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10978
10979         * text.C (changeRegionCase): do not change case of all the
10980         document when region ends at paragraph end (bug #461)
10981
10982 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10983
10984         * paragraph.C (startTeXParParams):
10985         (endTeXParParams): add \protect when necessary
10986
10987 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10988
10989         * BufferView_pimpl.C (workAreaExpose): remove warning
10990
10991 2002-06-27  Angus Leeming  <leeming@lyx.org>
10992
10993         * Makefile.am: add lyxlayout_ptr_fwd.h.
10994
10995 2002-06-26  André Pönitz <poenitz@gmx.net>
10996
10997         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10998
10999 2002-06-25  Angus Leeming  <leeming@lyx.org>
11000
11001         * lyxfunc.C (dispatch): Comment out the call to
11002         grfx::GCache::changeDisplay. The method no longer exists now that the
11003         pixmap generation part of the graphics loader has been moved into
11004         InsetGraphics.
11005
11006 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11007
11008         * text2.C: layout as layout
11009
11010         * text.C: layout as layout
11011
11012         * tabular.C (OldFormatRead): layout as layout
11013
11014         * paragraph_pimpl.C (TeXDeeper): layout as layout
11015         (realizeFont): layout as layout
11016
11017         * paragraph.C (writeFile): layout as layout
11018         (validate): layout as layout
11019         (getFont): layout as layout
11020         (getLabelFont): layout as layout
11021         (getLayoutFont): layout as layout
11022         (breakParagraph): layout as layout
11023         (stripLeadingSpaces): layout as layout
11024         (getEndLabel): layout as layout
11025         (getMaxDepthAfter): layout as layout
11026         (applyLayout): layout as layout
11027         (TeXOnePar): layout as layout
11028         (simpleTeXOnePar): layout as layout
11029         (TeXEnvironment): layout as layout
11030         (layout): layout as layout
11031         (layout): layout as layout
11032
11033         * lyxtextclass.C (compare_name): new functor to work with
11034         shared_ptr, layout as layout
11035         (Read): layout as layout
11036         (hasLayout): layout as layout
11037         (operator): layout as layout
11038         (delete_layout): layout as layout
11039         (defaultLayout): layout as layout
11040
11041         * lyxlayout_ptr_fwd.h: new file
11042
11043         * lyxlayout.C (Read): layout as layout
11044
11045         * lyx_cb.C (MenuInsertLabel): layout as layout
11046
11047         * bufferlist.C (newFile): layout as layout
11048
11049         * buffer.C (readLyXformat2): layout as layout
11050         (parseSingleLyXformat2Token): layout as layout
11051         (insertStringAsLines): layout as layout
11052         (asciiParagraph): layout as layout
11053         (latexParagraphs): layout as layout
11054         (makeLinuxDocFile): layout as layout
11055         (simpleLinuxDocOnePar): layout as layout
11056         (makeDocBookFile): layout as layout
11057         (simpleDocBookOnePar): layout as layout
11058         (getLists): layout as layout
11059
11060         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11061
11062         * CutAndPaste.C (cutSelection): layout as layout
11063         (pasteSelection): layout as layout
11064         (SwitchLayoutsBetweenClasses): layout as layout
11065
11066         * BufferView_pimpl.C (Dispatch): layout as layout
11067         (smartQuote): layout as layout
11068
11069         * BufferView2.C (unlockInset): layout as layout
11070
11071 2002-06-24  André Pönitz <poenitz@gmx.net>
11072
11073         * lyxfunc.C: fix #487
11074
11075 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11076
11077         * lyxrc.h:
11078         * lyxrc.C:
11079         * lyxfunc.C: remove display_shortcuts, show_banner
11080
11081 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11082
11083         * Buffer_pimpl.C: oops, update on resize
11084
11085 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11086
11087         * buffer.C:
11088         * converter.C:
11089         * exporter.C:
11090         * lyxfunc.C:
11091         * BufferView.h:
11092         * BufferView.C: use repaint()
11093
11094         * BufferView_pimpl.h:
11095         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11096           as it's a clearer description. Remove superfluous
11097           redraws.
11098
11099 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11100
11101         * text.C: fix bug 488. Not ideal, but getting
11102           getWord() to work properly for the insets that
11103           matter is more difficult ...
11104
11105 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11106
11107         * BufferView_pimpl.C:
11108         * LyXAction.C:
11109         * commandtags.h:
11110         * lyxfunc.C: remove the six million index lyxfuncs to just
11111           one, and DTRT (bug 458)
11112
11113 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * BufferView.h:
11116         * BufferView.C:
11117         * BufferView_pimpl.h:
11118         * BufferView_pimpl.C: clean up resize() stuff,
11119           and unnecessary updateScreen()s
11120
11121 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * BufferView.h:
11124         * BufferView.C:
11125         * BufferView_pimpl.h:
11126         * BufferView_pimpl.C:
11127         * lyxfind.h:
11128         * lyxfind.C:
11129         * minibuffer.C: remove focus management of workarea,
11130           not needed. Use screen's greyOut()
11131
11132 2002-06-17  Herbert Voss  <voss@lyx.org>
11133
11134         * converter.C: (convert) do not post a message, when converting
11135         fails, let the calling function decide what to do in this case
11136
11137 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * lyxfunc.C: tidy up a little
11140
11141 2002-06-16    <alstrup@diku.dk>
11142
11143         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11144         Got rid of FORMS_H_LOCATION include. Now we are
11145         GUII.
11146
11147 2002-06-15  LyX Development team  <lyx@rilke>
11148
11149         * buffer.[Ch] (sgmlOpenTag):
11150         (sgmlCloseTag): Added support for avoiding pernicious mixed
11151         content. Return number of lines written.
11152
11153         (makeLinuxDocFile):
11154         (makeDocBookFile): Fixed calls to sgml*Tag.
11155         Simple white space clean.
11156
11157         (simpleDocBookOnePar): Simple white space clean.
11158
11159         * tabular.[Ch] (docBook): Renamed to docbook and got another
11160         argument to related with the pernicious mixed content.
11161
11162         (docbookRow): Fixed calls for docbook inset method.
11163
11164 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11165
11166         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11167         so it's X11 independent.
11168
11169         * kb*.[Ch]: ditto.
11170
11171         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11172
11173 2002-06-15  Lyx Development team  <lyx@electronia>
11174
11175         * intl.h: Renamed getTrans to getTransManager.
11176
11177 2002-06-14  Angus Leeming  <leeming@lyx.org>
11178
11179         * Makefile.am: nuke forgotten stl_string_fwd.h.
11180
11181 2002-06-12  Angus Leeming  <leeming@lyx.org>
11182
11183         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11184
11185 2002-06-13  Angus Leeming  <leeming@lyx.org>
11186
11187         * LaTeX.C:
11188         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11189
11190 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11191
11192         * kbmap.C (getiso): add support for cyrillic and greek
11193
11194 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11195
11196         * BufferView.h:
11197         * BufferView.C:
11198         * BufferView_pimpl.h:
11199         * BufferView_pimpl.C: move bogus scrolling logic
11200           to xforms
11201
11202 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11203
11204         * lyxfunc.C:
11205         * BufferView_pimpl.C: view->resize() change
11206
11207 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11208
11209         * BufferView_pimpl.C: topCursorVisible
11210           prototype change
11211
11212 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11213
11214         * Makefile.am:
11215         * lyx_gui.h:
11216         * lyx_gui.C: move to frontends/
11217
11218         * main.C:
11219         * lyx_main.h:
11220         * lyx_main.C: changes from above
11221
11222 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11223
11224         * intl.C:
11225         * intl.h:
11226         * kbmap.C:
11227         * kbsequence.C:
11228         * lyx_cb.C:
11229         * lyx_main.C: minor tidy
11230
11231 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11232
11233         * BufferView_pimpl.h:
11234         * BufferView_pimpl.C:
11235         * BufferView.h:
11236         * BufferView.C: make painter() const,
11237           remove dead code
11238
11239         * BufferView2.C: use screen() accessor
11240
11241         * lyx_main.h:
11242         * lyx_main.C: some minor cleanup
11243
11244 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11245
11246         * BufferView_pimpl.h:
11247         * BufferView_pimpl.C: remove enter/leaveView,
11248           use workHeight()
11249
11250 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11251
11252         * BufferView.h:
11253         * BufferView.C:
11254         * BufferView2.C:
11255         * BufferView_pimpl.h:
11256         * BufferView_pimpl.C: only construct screen once,
11257           rename
11258
11259         * lyxrc.C: remove pointless comment
11260
11261 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11262
11263         * BufferView.h:
11264         * BufferView.C: remove active() and belowMouse()
11265
11266         * BufferView_pimpl.h:
11267         * BufferView_pimpl.C: use workarea() not workarea_,
11268           and make it use a scoped_ptr instead
11269
11270 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11271
11272         * lyx_gui.C: add debug message on BadWindow
11273
11274 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11275
11276         * sp_spell.C: fdopen is not part of the C++ standard.
11277
11278         * paragraph.C (InsetIterator): use >= instead of ==
11279
11280 2002-06-07  Angus Leeming  <leeming@lyx.org>
11281
11282         Fixes needed to compile with Compaq cxx 6.5.
11283         * BufferView_pimpl.C:
11284         * DepTable.C:
11285         * buffer.C:
11286         * converter.C:
11287         * encoding.C:
11288         * lyx_gui.C:
11289         * lyx_main.C:
11290         * lyxtextclasslist.C:
11291         * minibuffer.C:
11292         * sp_spell.C:
11293         * tabular_funcs.C:
11294         * vc-backend.C:
11295         all c-library variables have been moved into namespace std. Wrap
11296         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11297
11298         * lyxlength.C:
11299         * tabular-old.C:
11300         * tabular.C:
11301         Add a using std::abs declaration.
11302
11303         * kbmap.h (modifier_pair):
11304         * paragraph.h (InsetTable, InsetList):
11305         * lyxfont.h (FontBits):
11306         type definition made public.
11307
11308         * bufferlist.C (emergencyWriteAll): the compiler complains that
11309         there is more than one possible lyx::class_fun template to choose from.
11310         I re-named the void specialisation as lyx::void_class_fun.
11311
11312         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11313
11314         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11315         the compiler is is unable to find tostr in write_attribute.
11316
11317 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11318
11319         * buffer.C (sgmlError): hide #warning
11320
11321 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11322
11323         * xtl/*: get rid of xtl, which is not in use anyway
11324
11325         * LyXAction.C (init):
11326         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11327         were unimplemented xtl experimentation
11328
11329 2002-06-04  André Pönitz <poenitz@gmx.net>
11330
11331         * lyxfunc.C: disable array operation on simple formulae
11332
11333 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11334
11335         * converter.C: constify a bit
11336
11337 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11338
11339         * lyx_gui.C: check xforms version correctly
11340
11341 2002-04-30  Herbert Voss  <voss@lyx.org>
11342
11343         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11344         "keep" option
11345
11346 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11347
11348         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11349           attempt to register it with a VCS)
11350
11351 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11352
11353         * lyx_main.C (init): honor variables LYX_DIR_13x and
11354         LYX_USERDIR_13x
11355
11356 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11357
11358         * buffer.h:
11359         * buffer.C:
11360         * lyx_main.C: fix a crash on bad command line,
11361           and give a useful exit status on error
11362
11363         * lyxfunc.C (doImport): allow -i lyx to work
11364
11365 2002-03-30  André Pönitz <poenitz@gmx.net>
11366
11367         * lyxfunc.C: mathed font changes
11368
11369 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11370
11371         * LaTeX.C:
11372         * importer.h:
11373         * importer.C:
11374         * lyx_sty.h:
11375         * lyx_sty.C:
11376         * lyxlex.C:
11377         * lyxrow.h:
11378         * lyxtext.h:
11379         * paragraph.h:
11380         * paragraph.C:
11381         * texrow.h:
11382         * texrow.C:
11383         * text.C:
11384         * trans_mgr.h: srcdocs, and some minor cleanups
11385
11386 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11387
11388         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11389         call getFont all the time)
11390
11391 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11392
11393         * switch from SigC signals to boost::signals
11394
11395 2002-05-29  André Pönitz <poenitz@gmx.net>
11396
11397         * paragraph_pimpl.C (getChar): don't call size() too often...
11398
11399 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11400
11401         * paragraph_pimpl.C (insertChar): do not try to update tables when
11402         appending (pos == size())
11403
11404         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11405         in order to reduce drastically the number of comparisons needed to
11406         parse a large document
11407
11408 2002-05-29  André Pönitz <poenitz@gmx.net>
11409
11410         * text.C:
11411         * text2.C:
11412         * lyxtextclass.C:
11413         * sp_pspell.h:
11414         * textclasslist.[Ch]:
11415         * sp_ispell.h: whitespace change
11416
11417 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11418
11419         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11420         lyxaction directly now.
11421
11422 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11423
11424         * trans.C:
11425         * lyxfont.C:
11426         * lyxvc.C: remove unused headers
11427
11428 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * Makefile.am:
11431         * buffer.h:
11432         * undostack.h:
11433         * undostack.C:
11434         * undo_funcs.h:
11435         * undo_funcs.C: some cleanups. Use shared_ptr
11436           and a template for the undo stacks.
11437
11438 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11439
11440         * BufferView_pimpl.h:
11441         * BufferView_pimpl.C:
11442         * kbmap.h:
11443         * kbmap.C:
11444         * kbsequence.h:
11445         * kbsequence.C:
11446         * lyxfunc.h:
11447         * lyxfunc.C:
11448         * text2.C: use key_state/mouse_state
11449
11450 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11451
11452         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11453         and LSubstring
11454
11455         * chset.C: change include order
11456         (loadFile): use boost regex and get rid of LRegex and LSubstring
11457
11458         * Makefile.am (BOOST_LIBS): new variable
11459         (lyx_LDADD): use it
11460
11461         * LaTeX.C: change include order.
11462         (scanAuxFile): use boost regex and get rid of LRegex and
11463         LSubstring
11464         (deplog): ditto
11465
11466 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11467
11468         * ColorHandler.h:
11469         * ColorHandler.C:
11470         * FontInfo.h:
11471         * FontInfo.C: moved to frontends/xforms/
11472
11473         * FontLoader.h:
11474         * FontLoader.C: moved into frontends for GUIIzation
11475
11476         * Makefile.am:
11477         * lyx_gui.C:
11478         * lyxfont.C:
11479         * lyxfunc.C: changes from above
11480
11481 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11482
11483         * LColor.C: remove spurious X include
11484
11485         * BufferView_pimpl.C:
11486         * Makefile.am:
11487         * font.h:
11488         * font.C:
11489         * text.C:
11490         * text2.C: move font metrics to frontends/
11491
11492 2002-05-24  Juergen Vigna  <jug@sad.it>
11493
11494         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11495         setting the undo_cursor.
11496
11497         * ParagraphParameters.h: include local includes first.
11498
11499 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * BufferView_pimpl.C:
11502         * BufferView_pimpl.h:
11503         * Makefile.am:
11504         * WorkArea.h:
11505         * WorkArea.C:
11506         * screen.C: move WorkArea into frontends/
11507
11508         * lyxscreen.h:
11509         * screen.C:
11510         * text.C:
11511         * BufferView.C:
11512         * BufferView2.C: move LyXScreen into frontends/
11513
11514         * lyxlookup.h:
11515         * lyxlookup.C:
11516         * lyx_gui.C: move lyxlookup into frontends/xforms/
11517
11518 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11519
11520         * BufferView2.C:
11521         * BufferView_pimpl.C:
11522         * FontLoader.C:
11523         * LyXView.h:
11524         * LyXView.C:
11525         * Makefile.am:
11526         * WorkArea.C:
11527         * XFormsView.h:
11528         * XFormsView.C:
11529         * buffer.C:
11530         * bufferlist.C:
11531         * bufferview_funcs.C:
11532         * converter.C:
11533         * importer.C:
11534         * lyx_cb.C:
11535         * lyx_gui.C:
11536         * lyx_main.C:
11537         * lyx_find.C:
11538         * lyxfunc.C:
11539         * lyxvc.C:
11540         * minibuffer.C:
11541         * text.C:
11542         * text2.C:
11543         * trans.C:
11544         * vc-backend.C: move LyX/XFormsView into frontends/
11545
11546 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11547
11548         * Makefile.am:
11549         * PainterBase.C:
11550         * PainterBase.h:
11551         * Painter.C:
11552         * Painter.h:
11553         * WorkArea.C:
11554         * WorkArea.h:
11555         * screen.C:
11556         * tabular.C:
11557         * text.C:
11558         * text2.C: move Painter to frontends/
11559
11560 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11561
11562         * buffer.C: comment out some some code that depend upon lyx_format
11563         < 220
11564
11565         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11566         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11567
11568         * buffer.h (NO_COMPABILITY): turn off compability
11569
11570         * ColorHandler.C: include scoped_array.hpp
11571
11572         * font.C: Use more specific smart_ptr header.
11573         * Painter.C: ditto
11574         * gettext.C: ditto
11575         * ShareContainer.h: ditto
11576         * lyx_main.h: ditto
11577         * kbmap.h: ditto
11578         * FontInfo.h: ditto
11579         * BufferView_pimpl.h: ditto
11580         * ColorHandler.h: ditto
11581
11582         * kbmap.C (defkey): change call to shared_ptr::reset
11583
11584 2002-05-21  Juergen Vigna  <jug@sad.it>
11585
11586         * buffer.C (insertErtContents): fix to insert ert asis if it is
11587         non empty. Skip it completely if it contains only whitespaces.
11588
11589 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11590
11591         * BufferView_pimpl.C:
11592         * BufferView2.C: clear selection on paste (bug 393)
11593
11594 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11595
11596         * DepTable.C: include ctime
11597
11598 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11599
11600         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11601
11602 2002-05-14  Juergen Vigna  <jug@sad.it>
11603
11604         * text.C (breakParagraph): fixed function to honor the keepempty
11605         layout in the right maner and also to permit the right breaking
11606         algorithm on empty or non empyt keepempty paragraphs.
11607
11608         * paragraph.C (breakParagraph): we have to check also if the par
11609         is really empty (!size()) for isempty otherwise we do the wrong
11610         paragraph break.
11611
11612 2002-05-10  Juergen Vigna  <jug@sad.it>
11613
11614         * buffer.[Ch] : The following are only changes to the ert
11615         compatibility read reading old LaTeX layout and font stuff and
11616         convert it to ERTInsets.
11617
11618         * buffer.h: added isErtInset().
11619
11620         * buffer.C (struct ErtComp): add a fromlayout bool to check
11621         if we're inside a LaTeX layout.
11622         (isErtInset): new helper function.
11623         (insertErtContents): look for other ert insets before this one
11624         and insert the contents there, so that we don't have subsequent
11625         ERT insets with nothing between them. This way we create only one
11626         inset with multiple paragraphs. Also check if we don't insert only
11627         spaces ' ' as they are ignored anyway afterwards in the .tex file
11628         so if we have only spaces we will ignore this latex part in the
11629         new file.
11630         (parseSingleLyXformat2Token \\layout): better compatibility when
11631         reading layout-latex stuff.
11632         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11633         language tag.
11634         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11635         stuff after reading the inset only get the information back from
11636         the stack.
11637
11638 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11639
11640         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11641
11642         * LaTeXFeatures.C (getBabelOptions): New method.
11643
11644 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11645
11646         * BufferView_pimpl.C (Dispatch): work around missing argument for
11647         'layout'
11648
11649 2002-05-08  Juergen Vigna  <jug@sad.it>
11650
11651         * text.C (leftMargin): handle paragraph leftindent.
11652
11653         * paragraph.C (writeFile): write the new \\leftindent tag.
11654         (validate): handle leftindent code.
11655         (TeXEnvironment): handle paragraphleftindent code again.
11656
11657         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11658
11659         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11660         for paragrap_extra indent code and new token \\leftindent.
11661         (latexParagraphs): handle the leftindent as environment.
11662
11663         * ParameterStruct.h: added leftindent support.
11664
11665         * ParagraphParameters.C (leftIndent): added support functions for
11666         the paragraph left indent.
11667
11668         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11669         more appropriate.
11670
11671 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11672
11673         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11674         inside insetERT.
11675
11676         * text.C (computeBidiTables): No bidi in insetERT.
11677
11678         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11679         in RTL documents.
11680
11681 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11682
11683         * version.C.in: pre 5
11684
11685 2002-05-02  José Matos  <jamatos@fep.up.pt>
11686         * buffer.C (makeDocBookFile): white space changes, add newline to
11687         command styles.
11688         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11689
11690         * tabular.C (docBook): fix typo.
11691
11692 2002-05-03  Juergen Vigna  <jug@sad.it>
11693
11694         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11695         change in LyXText as we can not be sure it was not freed.
11696         (drawOneRow): remove unused code.
11697
11698         * text.C (drawInset): redo the calculation of the need_break_row as
11699         it could have a row which was already freed.
11700         (draw): look at the return value of drawInset and return false if
11701         it also returned false.
11702         (paintRowText): look at the return value of draw and return false if
11703         it also returned false.
11704
11705         * lyxtext.h: added bool return type to drawInset() and draw() so that
11706         if we have a change in the row so that the rowbreak has to be redone
11707         we abort drawing as it will be called again.
11708
11709 2002-05-02  Juergen Vigna  <jug@sad.it>
11710
11711         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11712         a change in the maintext also if we're inside an inset.
11713         (Dispatch): set the cursor again after a break line and after the
11714         screen has been updated as it could be we're in a different row.
11715
11716         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11717         to set the cursor behind the pargraph with > size().
11718         (setCursor): check also for the same paragraph when checking where
11719         to put the cursor if we have a NFR inset.
11720
11721         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11722         parts of layout read further up as it still was in the wrong
11723         position.
11724
11725 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11726
11727         * screen.C (drawFromTo): change sine fullRebreak always return
11728         true.
11729
11730         * buffer.C (parseSingleLyXformat2Token): reindent some
11731
11732         * BufferView_pimpl.C (update): change since fullRebreak always
11733         return true.
11734         (Dispatch): git rid of the last hardcoded "Standard"s.
11735
11736 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11737
11738         * text2.[Ch] (fullRebreak): make it return void now that we always
11739         returned true.
11740
11741 2002-04-30  Juergen Vigna  <jug@sad.it>
11742
11743         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11744         ert compatibility check for "latex" layout.
11745
11746 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11747
11748         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11749         minipages: use col% instead of p%, and also use the current font.
11750         (makeLaTeXFile): Fix use babel condition.
11751         (parseSingleLyXformat2Token): Correct font when reading old floats.
11752
11753 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11754
11755         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11756         inserting list of floats.
11757
11758 2002-04-25  Herbert Voss  <voss@lyx.org>
11759
11760         * MenuBackend.C (expand): don't add the graphics extensions to the
11761         export menu
11762
11763 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11764
11765         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11766         non-existing layout, do not complain if it was the default layout
11767         of the original class (bug #342)
11768
11769 2002-04-24  Juergen Vigna  <jug@sad.it>
11770
11771         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11772         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11773
11774 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11775
11776         * buffer.C (getBibkeyList): If using \bibliography, return the
11777         option field with the reference itself. Enables us to provide natbib
11778         support when using \bibliography.
11779
11780 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11781
11782         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11783
11784         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11785         natbib is provided by the LaTeX class.
11786
11787 2002-04-23  Juergen Vigna  <jug@sad.it>
11788
11789         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11790         Wakeup functions.
11791
11792         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11793
11794 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11795
11796         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11797
11798         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11799         ensuremath around textordmasculine, textordfeminine and
11800         textdegree.
11801
11802 2002-04-19  Juergen Vigna  <jug@sad.it>
11803
11804         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11805         reinitializing the buffer otherwise row-dimensions may be wrong.
11806         (update): reset also the selection cursors if they do exits otherwise
11807         their x/y positions may be wrong.
11808
11809         * text2.C (cursorDown): don't enter the inset if we came from a row
11810         above and are one row over the inset.
11811
11812         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11813         really leaving an inset.
11814
11815 2002-04-18  Juergen Vigna  <jug@sad.it>
11816
11817         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11818         of the selected paragraph does not have the selected layout also if
11819         the last one had!
11820
11821         * text2.C (setLayout): fixed bug which did not change last selected
11822         paragraph.
11823
11824         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11825         changed the read and substituted \\end_float with \\end_inset!
11826
11827         * BufferView_pimpl.C (cursorPrevious):
11828         (cursorNext): fixed to make it work with rows heigher than the work
11829         area without moving the cursor only the draw of the row.
11830         (workAreaMotionNotify): fix jumping over high rows.
11831
11832 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11833
11834         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11835         Ressler.
11836
11837 2002-04-16  Juergen Vigna  <jug@sad.it>
11838
11839         * text2.C (setCursor): set also the irow().
11840         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11841         (cursorUp):
11842         (cursorDown): support for locking an inset if the x_fix value goes
11843         inside it. That way I can transverse insets too with cursor up/down.
11844
11845         * lyxrow.h: added irow helper function same as other (i) functions.
11846
11847         * BufferView_pimpl.C (cursorPrevious):
11848         (cursorNext): fixed for insets!
11849
11850 2002-04-15  Juergen Vigna  <jug@sad.it>
11851
11852         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11853         position otherwise it is wrong in some cases.
11854
11855         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11856         inside the inset before the call.
11857
11858 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11859
11860         * buffer.[Ch] (getBibkeyList): make it const.
11861
11862 2002-04-12  Juergen Vigna  <jug@sad.it>
11863
11864         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11865
11866         * text2.C (getCursorX): new helper function
11867         (setCursor): compute also ix_
11868         (setCursorFromCoordinates): set also ix.
11869
11870         * lyxcursor.h: added ix_ and helper functions.
11871
11872         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11873
11874         * buffer.C (insertStringAsLines): dont break paragraph if the this
11875         paragraph is inside an inset which does not permit it!
11876
11877         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11878         also with no chars on this paragraph.
11879         (paintRowText): only paint stuff if it's inside the workarea!
11880
11881         * paragraph.C (breakParagraph): honor keepempty flag and break the
11882         paragraph always below not above.
11883
11884         * BufferView2.C (unlockInset): update the paragraph layout on inset
11885         unlock as we changed paragraph in such a case.
11886
11887         * lyxfind.C (LyXFind): clear the former selection if not found!
11888
11889         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11890         again called in insertChar().
11891
11892         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11893         an inset which uses the whole row!
11894         (rightMargin): ditto.
11895         (insertChar): force a rebreak if we inserted an inset!
11896
11897 2002-03-28  Herbert Voss  <voss@lyx.org>
11898
11899         * lyxlength.[Ch]: add inBP() to get the right PS-point
11900         units (BigPoint). With inPixels we have rounding errors
11901
11902 2002-04-11  Juergen Vigna  <jug@sad.it>
11903
11904         * text2.C (setCursorFromCoordinates): set iy to the right value.
11905         (setCursor): add check if row->previous exists!
11906
11907         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11908         an old float_type as this was the case in the old code!
11909
11910         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11911
11912         * BufferView2.C (showLockedInsetCursor): use iy
11913         (fitLockedInsetCursor): ditto
11914
11915         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11916         locked insets as there we have the right value now.
11917
11918         * lyxcursor.C: added iy_ variable and iy functions to set to the
11919         baseline of cursor-y of the locked inset.
11920
11921         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11922         (setCursor): fixed for insets which need a full row.
11923
11924         * text.C (rowLastPrintable): don't ignore the last space when before
11925         an inset which needs a full row.
11926         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11927         as last character of a row when before a inset which needs a full row.
11928
11929 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11930
11931         * version.C.in: update date
11932
11933         * text2.C (fullRebreak): try to always return true and see what
11934         happens...
11935
11936 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11937
11938         * MenuBackend.C (expand): use Floating::listName
11939
11940         * FloatList.C (FloatList): add listName argument to the built-in
11941         floats
11942
11943         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11944         text associated with the float.
11945
11946 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11947
11948         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11949
11950 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11951
11952         * ShareContainer.h: add a couple of missing typenames.
11953
11954 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11955
11956         * lyxrc.C (getDescription): use _() correctly rather than N_().
11957
11958 2002-03-28  Herbert Voss  <voss@lyx.org>
11959
11960         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11961         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11962
11963 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11964
11965         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11966         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11967
11968 2002-03-29  Juergen Vigna  <jug@sad.it>
11969
11970         * lyxfunc.C (dispatch): add a missing fitCursor call.
11971
11972         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11973         it was scrolled by a cursor move, so return the bool status.
11974
11975         * BufferView.C (fitCursor): return the bool flag also to the outside
11976         world as this is needed.
11977
11978         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11979
11980         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11981         call the edit() as it is not needed (and wrong) IMO.
11982         (workAreaButtonPress): set the screen_first variable before evt.
11983         unlock the inset as this may change screen_first and then we have
11984         a wrong y position for the click!
11985
11986 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11987
11988         * MenuBackend.C (expand): another translation that I missed
11989
11990 2002-03-28  Juergen Vigna  <jug@sad.it>
11991
11992         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11993
11994         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11995
11996 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11997
11998         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11999
12000         * MenuBackend.C (expand): fix export/view/update when there is no
12001         document open.
12002
12003 2002-03-27  Herbert Voss  <voss@lyx.org>
12004
12005         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12006         and text%
12007
12008 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12009
12010         * bufferview_funcs.C (currentState): only show paragraph number
12011         for is DEVEL_VERSION is set.
12012
12013         * lyxfunc.C (dispatch): put warning in INFO channel
12014
12015         * MenuBackend.C (expand): translate the name of floats
12016
12017         * FloatList.C (FloatList): mark the float names for translation
12018
12019         * converter.C (convert): use LibScriptSearch
12020
12021 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12022
12023         * MenuBackend.C (defaults): fix default menu (we might as well get
12024         rid of it...)
12025
12026 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12027
12028         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12029         directory.
12030
12031 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12032
12033         * lyxvc.C: reorder includes.
12034
12035 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12038           properly
12039
12040 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12041
12042         * CutAndPaste.C: change layouts earlier on paste
12043           to avoid crashing when calling getFont()
12044
12045 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12046
12047         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12048         irritating #error.
12049
12050 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12051
12052         * WorkArea.C: remove 'Pending' debug message.
12053
12054         * most files: ws cleanup
12055
12056         * buffer.[Ch]: ws changes
12057
12058         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12059
12060 2002-03-21  Juergen Vigna  <jug@sad.it>
12061
12062         * tabular.C (SetMultiColumn): collapse also the contents of the
12063         cells and set the last border right. Added a Buffer const * param.
12064
12065 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12066
12067         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12068         linking or not.
12069
12070 2002-03-19  Juergen Vigna  <jug@sad.it>
12071
12072         * text2.C (clearSelection): reset also xsel_cache.
12073
12074         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12075         where it needs to be called (John tells us to do so too :)
12076         (selectionLost): reset sel_cache.
12077
12078         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12079
12080 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12081
12082         * text2.C (setCursorIntern): put debuging code in INSETS channel
12083
12084 2002-03-19  André Pönitz <poenitz@gmx.net>
12085
12086         * lyxfunc.C: tiny whitespace change
12087
12088 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12089
12090         * ToolbarDefaults.C (init):
12091         * LyXAction.C (init):
12092         * commandtags.h:
12093         * BufferView_pimpl.C (Dispatch):
12094         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12095
12096 2002-03-19  Allan Rae  <rae@lyx.org>
12097
12098         * exporter.C (Export): removeAutoInsets before doing anything else.
12099         While I've just introduced a dependency on BufferView this really is
12100         the best place to clean the buffer otherwise you need to cleanup in
12101         a dozen places before calling export or cleanup in a dozen functions
12102         that export calls.
12103
12104         * converter.C (runLaTeX):
12105         (scanLog): Better handling of removeAutoInsets and screen updates.
12106
12107         * lyxfunc.C (dispatch): small whitespace changes
12108
12109 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12110
12111         * WorkArea.C (C_WorkAreaEvent): return a value.
12112         (event_cb): return 1 if we handled the event, 0 otherwise.
12113
12114         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12115
12116 2002-03-18  Juergen Vigna  <jug@sad.it>
12117
12118         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12119         (GetAdditionalWidth): ditto.
12120         (RightLine): ditto.
12121         (LeftLine): ditto.
12122
12123         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12124         inset if we're there actually (probably not used right now but this
12125         is the direction to go for unifying code).
12126         (paste): disable code to clear the selection.
12127
12128         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12129         inside an InsetText and move the check further up as it is in the
12130         wrong place.
12131
12132         * text2.C (pasteSelection): set a selection over the pasted text.
12133
12134 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12135
12136         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12137         and libgraphics to build on Cygwin.
12138
12139 2002-03-15  Juergen Vigna  <jug@sad.it>
12140
12141         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12142         inserting an Inset into the paragraph. I know this is not the best
12143         fix but we already use current_view in CutAndPaste so we will remove
12144         all of it's using at the same time.
12145
12146         * buffer.C (sgmlError): deactivated function till it is rewritten in
12147         the right mode, now it can create problems.
12148
12149         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12150         before accessing it.
12151
12152 2002-03-14  Juergen Vigna  <jug@sad.it>
12153
12154         * undo_funcs.C (textHandleUndo): do the right thing when updating
12155         the inset after the undo/redo.
12156
12157         * text2.C (setCursor): just some testcode for #44 not ready yet.
12158
12159         * undo_funcs.C (textHandleUndo): set the next() and previous()
12160         pointers of the paragraph to 0 before deleting otherwise we have
12161         problems with the Paragraph::[destructor].
12162
12163         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12164         on a paragraph insertion.
12165
12166 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12167
12168         * buffer.C (asciiParagraph): use += operator for char append to
12169         string.
12170
12171         * paragraph.C (getFontSettings): compare >= not just >
12172         (highestFontInRange): ditto
12173         (setFont): ditto
12174
12175 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12176
12177         * paragraph.C: change several algorithm to be more appripriate for
12178         the problem domain. This is lookip in FontList and in the InsetList.
12179
12180 2002-03-13  André Pönitz <poenitz@gmx.net>
12181
12182         * commandtags.h:
12183         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12184
12185 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12186
12187         * commandtags.h:
12188         * LyXAction.C:
12189         * lyxfunc.C:
12190         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12191
12192 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12193
12194         * Painter.C (display): anon helper function, adjust code for this
12195         change.
12196         (pixmap): remove function.
12197
12198         * Painter.h: remove private display variable.
12199
12200         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12201
12202 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12203
12204         * WorkArea.[Ch]: remove figinset_canvas cruft.
12205
12206 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12207
12208         * lyxtextclass.C (operator): add one item cache optimization.
12209
12210         * bufferlist.h: doxy changes
12211
12212         * bufferlist.C: ws changes
12213
12214         * DepTable.[Ch] (ext_exist): place const in the right spot.
12215
12216         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12217         call resizeInsets.
12218         (workAreaExpose): call resizeInsets when the with BufferView changes.
12219         (Dispatch): adjust for protectedBlank removal
12220         (specialChar): call updateInset if the insert went ok.
12221
12222         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12223         specialChar instead.
12224
12225         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12226
12227         * BufferView.h: doxy change
12228
12229         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12230
12231         * lyxtextclass.C (operator[]): remove non-const version
12232         (defaultLayout): remove non-const version
12233
12234 2002-03-12  Juergen Vigna  <jug@sad.it>
12235
12236         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12237         did resize the LyXText too.
12238
12239         * buffer.C (readLyXformat2): set layout information on newly allocated
12240         paragraphs.
12241
12242         * tabular.C (OldFormatRead): set layout information on the paragraph.
12243
12244 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12245
12246         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12247
12248 2002-03-11  Juergen Vigna  <jug@sad.it>
12249
12250         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12251         plainly wrong.
12252         (resizeCurrentBuffer): force also the insets to resize themselfes.
12253         (moveCursorUpdate): fixed up for InsetText.
12254
12255 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12256
12257         * commandtags.h:
12258         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12259         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12260         value of Dialogs::tooltipsEnabled().
12261         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12262
12263 2002-03-08  Juergen Vigna  <jug@sad.it>
12264
12265         * BufferView_pimpl.C (updateInset): update inset inside inset also
12266         if it isn't inside theLockingInset().
12267
12268 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12269
12270         * buffer.C (asciiParagraph): redo some of the word and line length
12271         handling.
12272         (getLists): look for Caption instead of caption.
12273
12274 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12275
12276         * buffer.C (Buffer): initialize niceFile to true
12277         (makeLaTeXFile):
12278         (makeLinuxDocFile):
12279         (makeDocBookFile): make sure niceFile is true on exit
12280
12281 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12282
12283         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12284
12285 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12286
12287         * LyXSendto.C: remove.
12288         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12289         * lyx_gui.C: remove now-redundant comment.
12290         * ColorHandler.h: remove forward declaration of class WorkArea.
12291         * lyxfunc.C: remove #include "WorkArea.h".
12292
12293 2002-03-07  Juergen Vigna  <jug@sad.it>
12294
12295         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12296         got moved away with the DEPM and also set the inset_owner always
12297         right which before could have been omitted.
12298
12299 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12300
12301         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12302         wanted layout is not found.
12303
12304 2002-03-07  Juergen Vigna  <jug@sad.it>
12305
12306         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12307
12308 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12309
12310         * paragraph.C (breakParagraph): use default layout not layout of
12311         prev paragraph.
12312         (Paragraph): clear ParagraphParameters.
12313
12314 2002-03-06  Juergen Vigna  <jug@sad.it>
12315
12316         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12317         otherwise it would not be a valid lenght. Fixed a special case in
12318         the minipage compatibility read where we end the document with a
12319         minipage.
12320
12321         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12322         was set as it could be 0 for InsetTexts first entry.
12323
12324 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12325
12326         * paragraph.C (writeFile): if layout is empty write out
12327         defaultLayoutName().
12328
12329         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12330         file without named layout we set layout to defaultLayoutName().
12331
12332 2002-03-06  Juergen Vigna  <jug@sad.it>
12333
12334         * CutAndPaste.C (copySelection): set layout for new paragraph.
12335
12336         * text.C (prepareToPrint): leave ERT inset left aligned
12337         (leftMargin): don't indent paragraphs inside ERT insets
12338
12339 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12340
12341         * paragraph.C (breakParagraph): dont call clear do the work manually
12342
12343         * paragraph.[Ch] (clear): remove function
12344
12345 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12346
12347         * paragraph.C (Paragraph): dont call clear, the work has already
12348         been done.
12349
12350         * lyxtextclass.C (operator): assert if n is empty
12351
12352         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12353         work manually instead.
12354
12355 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12356
12357         * BufferView_pimpl.C: protect selectionLost against text == 0
12358
12359 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12360
12361         * text.C (breakParagraph): fix a setting layout to '0' problem.
12362
12363 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12364
12365         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12366         final location of file, for the included files, and graphics.
12367
12368 2002-03-05  Juergen Vigna  <jug@sad.it>
12369
12370         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12371
12372 2002-03-04  Juergen Vigna  <jug@sad.it>
12373
12374         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12375
12376         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12377         last column of multicolumn cells.
12378         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12379
12380 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12381
12382         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12383         file if it doesn't go to a temporary file.
12384
12385         * buffer.C (sgmlOpenTag):
12386         (sgmlCloseTag):  remove extra newline insertion.
12387
12388 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12389
12390         * text.C (getRowNearY): comment out debug msg
12391
12392 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393
12394         * text2.C: first -> first_y
12395
12396         * text.C (getRowNearY): add some attemts at a possible
12397         optimization, not working.
12398
12399         * tabular.[Ch]: add BufferParams to several function so that newly
12400         created paragraph can be initialized to he default layotu for the
12401         buffers textclass.
12402
12403         * tabular-old.C (ReadOld): add buf->params to call of Init
12404
12405         * screen.C: rename text->first to text->first_y
12406
12407         * paragraph.C (breakParagraph): always set layout in the broken
12408         paragraph
12409
12410         * lyxtextclass.C (Read): remove lowercase
12411         (hasLayout): ditto
12412         (operator): ditto
12413         (delete_layout): ditto
12414
12415         * lyxtext.h: rename first -> first_y
12416
12417         * lyxlayout.C (Read): remove lowercase
12418         (name): ditto
12419         (setName): ditto
12420         (obsoleted_by): ditto
12421
12422         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12423
12424         * buffer.C (insertErtContents): add params are to InsetERT
12425         (parseSingleLyXformat2Token): add code to check if a paragraphs
12426         layout really exist.
12427         (parseSingleLyXformat2Token): add params to several inset
12428         constructors
12429         (asciiParagraph): remove lowercase, do the layout comparisons with
12430         no_case
12431
12432         * BufferView_pimpl.C (cursorNext): first -> first_y
12433         (resizeCurrentBuffer): first -> first_y
12434         (updateScrollbar): first -> first_y
12435         (scrollCB): first -> first_y
12436         (workAreaMotionNotify): first -> first_y
12437         (workAreaButtonPress): first -> first_y
12438         (checkInsetHit): first -> first_y
12439         (cursorPrevious): first -> first_y
12440         (cursorNext): first -> first_y
12441         (Dispatch): add buffer_->params to severl inset contructors
12442
12443 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12444
12445         * lyxlayout.C (Read): remove some debug info that I forgot.
12446
12447         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12448         clean up the code slightly.
12449         (makeLinuxDocFile): ditto
12450         (makeDocBookFile): ditto
12451
12452         * text2.C: layout as string
12453
12454         * text.C: layout as string
12455
12456         * paragraph_pimpl.C: layout as string
12457
12458         * paragraph.[Ch]: layout as string
12459
12460         * lyxtextclasslist.[Ch]: layout as string
12461
12462         * lyxtextclass.[Ch]: layout as string
12463
12464         * lyxtext.h: layout as string
12465
12466         * lyxlayout.[Ch]: layout as string
12467
12468         * lyx_cb.C: layout as string
12469
12470         * bufferview_funcs.C: layout as string
12471
12472         * bufferparams.C: layout as string
12473
12474         * buffer.C: layout as string
12475
12476         * LyXView.[Ch]: layout as string
12477
12478         * LaTeXFeatures.[Ch]: layout as string
12479
12480         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12481
12482         * BufferView_pimpl.C: change current_layout to string, remove
12483         lyx::layout_type.
12484         (Dispatch):
12485         (smartQuote):
12486         (insertInset):
12487         (workAreaButtonRelease): layout as string
12488
12489         * BufferView2.C (unlockInset): adjust
12490
12491         * vspace.C (asLatexCommand): use an explict temp variable.
12492
12493 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12494
12495         * Makefile.am: use FRONTEND_*
12496
12497 2002-03-01  Juergen Vigna  <jug@sad.it>
12498
12499         * tabular.C (SetWidthOfMulticolCell): changed to something better
12500         I hope but still work in progress.
12501         (recalculateMulticolumnsOfColumn): renamed function from
12502         recalculateMulticolCells as it is more appropriate now.
12503         (SetWidthOfCell): calculate multicols better.
12504
12505 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12506
12507         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12508
12509         * lyxfunc.C (processKeySym): print sequence also if it is
12510         `deleted' (complete)
12511
12512         * kbsequence.C (print): print sequence even if it is deleted
12513         (complete would be a better word, actually).
12514
12515         * lyxfunc.C (dispatch): print complete options after a prefix key
12516
12517         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12518
12519 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12520
12521         * text2.C (setCharFont): eliminate setCharFont code duplication.
12522
12523 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12524
12525         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12526         LFUN_TABULAR_FEATURE (bug #177)
12527
12528 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12529
12530         * Makefile.am: remove figure.h
12531
12532 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12533
12534         * Bufferview_pimpl.C:
12535         * CutAndPasteC:
12536         * LaTeX.C:
12537         * LyXSendto.C:
12538         * buffer.C:
12539         * bufferlist.C:
12540         * converter.C:
12541         * language.C:
12542         * lyxfunc.C:
12543         * lyxvc.C:
12544         * paragraph.C:
12545         * text.C:
12546         * text2.C: remove #include "lyx_gui_misc.h".
12547
12548         * LaTeX.C: added #include <cstdio>
12549
12550 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12551
12552         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12553         that the paragraph following this one can have.
12554
12555         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12556
12557         * vspace.C (asLatexCommand): fix bogus gcc warning
12558
12559         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12560
12561 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12562
12563         * text2.C (setLayout): get rid of redundant code
12564
12565 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12566
12567         * text2.C (incDepth): make sure depth cannot be increased beyond
12568         reasonable values.
12569
12570 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12571
12572         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12573         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12574
12575         * PainterBase.h (image):
12576         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12577         a LyXImage const *.
12578
12579 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12580
12581         * BufferView.C:
12582         * BufferView.h:
12583         * BufferView_pimpl.C:
12584         * BufferView_pimpl.h:
12585         * LaTeXFeatures.C:
12586         * LyXAction.C:
12587         * LyXView.C:
12588         * Makefile.am:
12589         * UpdateList.h:
12590         * UpdateList.C:
12591         * buffer.C:
12592         * figure.h:
12593         * figureForm.C:
12594         * figureForm.h:
12595         * figure_form.C:
12596         * figure_form.h:
12597         * lyx_cb.C:
12598         * lyx_gui.C:
12599         * lyx_gui_misc.C:
12600         * lyxfunc.C:
12601         * sp_base.h:
12602         * sp_ispell.h:
12603         * sp_pspell.h:
12604         * sp_spell.C: remove fig inset, and the crap house of
12605           cards that follows it
12606
12607 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12608
12609         * Makefile.am:
12610         * lyxserver.C:
12611         * os2_defines.h:
12612         * os2_errortable.h:
12613         * nt_defines.h: move .h into support/
12614
12615         * vms_defines.h: remove
12616
12617         * WorkArea.C: add space in debug output
12618
12619         * text2.C:
12620         * paragraph.C:
12621         * buffer.C: add WITH_WARNINGS
12622
12623         * vc-backend.h:
12624         * vc-backend.C:
12625         * bufferlist.C: s/retrive/retrieve/, add docs
12626
12627         * vspace.h:
12628         * vspace.C:
12629         * kbmap.h:
12630         * lyxlength.h:
12631         * lyxgluelength.h:
12632         * length_common.h:
12633         * chset.h:
12634         * chset.C: add docs
12635
12636         * lyxgui.C: add ID to X error handler
12637
12638         * lyxtestclass.c: fix typo
12639
12640 2002-02-26  Juergen Vigna  <jug@sad.it>
12641
12642         * tabular_funcs.C (write_attribute): changed so that some default
12643         attributes are not written at all.
12644         (getTokenValue): set default values before trying to read the
12645         value so we have the return value always set as default if we don't
12646         find the token we search for.
12647
12648         * tabular.C (Write): write bools as bools not as strings!
12649
12650 2002-02-22  Juergen Vigna  <jug@sad.it>
12651
12652         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12653         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12654
12655         * text.C (leftMargin): don't add an indent for paragraphs inside
12656         tabular cells (fix #208).
12657
12658 2002-02-21  José Matos  <jamatos@fep.up.pt>
12659
12660         * tabular.C (docBook): fixed support for long tables.
12661
12662 2002-02-20  Juergen Vigna  <jug@sad.it>
12663
12664         * text2.C (getFont): get the drawing font of the Inset if this
12665         paragraph is inside an inset (only important for InsetERT for now).
12666
12667         * buffer.C (insertErtContents): use new lanugage params in ERT
12668         constructor.
12669
12670         * CutAndPaste.C: commenting out seemingly uneeded code.
12671
12672 2002-02-19  Allan Rae  <rae@lyx.org>
12673
12674         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12675         Iterators might be simple to use but they also get invalidated.
12676         (removeAutoInsets): renamed saved cursor tracking variables and added
12677         some comments to clarify what everything does.
12678
12679 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12680
12681         * Chktex.C:
12682         * LaTeX.C:
12683         * LyXSendto.C:
12684         * converter.C:
12685         * lyx_cb.C:
12686         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12687         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12688
12689         * lyxfunc.C:
12690         * vc-backend.h: remove #include "support/syscall.h"
12691
12692         * LaTeX.C:
12693         * LyXSendto.C:
12694         * converter.C: rearrange #includes in Lars' approved fashion.
12695
12696         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12697         forward declare class Timeout in the header file.
12698
12699         * XFormsView.C: changes due to the above.
12700
12701         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12702         similar to LyXView.
12703
12704         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12705         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12706
12707 2002-02-18  José Matos  <jamatos@fep.up.pt>
12708
12709         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12710         insets contents.
12711
12712 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12713
12714         * a lot of small ws changes
12715         * add a lot of using std::XXX
12716         * use std construcs some places where approp.
12717         * use some exisint stuff from lyxfunctional where approp.
12718         * Make file changes to use partial linking (lets test this now...)
12719
12720 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12721
12722         * Chktex.C:
12723         * buffer.C:
12724         remove #include "support/syscontr.h" as it's redundant. Always has been.
12725
12726         * Chktex.C:
12727         * LaTeX.C:
12728         * LyXSendto.C:
12729         * converter.C:
12730         * lyx_cb.C:
12731         * vc-backend.C:
12732         change Systemcalls::System to Systemcalls::Wait and
12733         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12734         No change of functionality, just reflects the stripped down Systemcalls
12735         class.
12736
12737 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12738
12739         * debug.[Ch]: add a GRAPHICS type to the enum.
12740
12741 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12742
12743         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12744
12745         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12746         there is an inset.
12747
12748 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12749
12750         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12751         match the changes below.
12752
12753         * text2.C (toggleInset): if there is not editable inset at cursor
12754         position, try to see if cursor is _inside_ a collapsable inset
12755         and close it.
12756
12757 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12758
12759         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12760         document menu has a nice checkbox
12761
12762 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12763
12764         * lyxlength.C (asLatexString): change PW to output as percent of
12765         \textwidth.
12766
12767         * lengthcommon.C: change '%' to 't%'
12768
12769         * lyxfunc.C (dispatch): a few comments from Martin
12770
12771 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * WorkArea.h:
12774         * WorkArea.C:
12775         * BufferView_pimpl.h:
12776         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12777           the X selection.
12778
12779 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12780
12781         * vspace.C (inPixels): fix compiler warning
12782
12783 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12784
12785         * lyxfunc.C (getStatus): fix status message for disabled commands.
12786
12787 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12788
12789         * BufferView_pimpl.C: fix crash on close buffer
12790         during selection (#227)
12791
12792 2002-01-27  Herbert Voss  <voss@lyx.org>
12793
12794         * buffer.C: link old Figure to new graphic inset
12795
12796 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12797
12798         * FontLoader.C (getFontinfo): Change the latex font names in order
12799         to match the names of type1inst.
12800
12801 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12802
12803         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12804
12805         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12806         (extchanged): ditto
12807         (ext_exist): ditto
12808         (remove_files_with_extension): ditto
12809         (remove_file): ditto
12810         (write): ditto
12811
12812         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12813         document is smaller than the work area height. Do not initialize
12814         static variables to 0.
12815
12816 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12817
12818         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12819
12820         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12821         LFUN_LAYOUT_PARAGRAPHS.
12822
12823         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12824         tabular. It is possible to provide a possible cell, which will
12825         typically be the actcell from the corresponding insettabular
12826
12827         * lyxfunc.C (getStatus): small cleanup; disable
12828         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12829         true
12830
12831 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12832
12833         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12834
12835         * paragraph.C (startTeXParParams):
12836         (endTeXParParams): new methods. The LaTeX code to
12837         start/end paragraph formatting
12838         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12839         empty (fixes bug #200)
12840
12841         * vspace.C (inPixels): adapt to the change below
12842         (inPixels): [later] more cleanups (remove unused variables)
12843
12844         * lyxlength.C (inPixels): change to use a width and a height as
12845         parameter.
12846
12847 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12848
12849         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12850         Replaced with \paperwidth
12851
12852         * DepTable.C (insert): add std:: qualifier
12853
12854 2002-01-18  Allan Rae  <rae@lyx.org>
12855
12856         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12857         updated also?
12858
12859         * text.C (drawInset): Turned out I didn't know enough about how
12860         rebreaking worked.  This fixes most of the redraw problems.  I see
12861         an occasional cursor trail when a line is broken now and the cursor
12862         placement can seem out by a few pixels also after a rebreak.
12863
12864 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12865
12866         * buffer.C (parseSingleLyXformat2Token): update because minipage
12867         width is now a LyXLength
12868
12869         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12870
12871         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12872         math insets
12873
12874 2002-01-17  Juergen Vigna  <jug@sad.it>
12875
12876         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12877
12878         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12879         is set correctly and the inset is updated correctly.
12880
12881 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12882
12883         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12884         the beginning of the loop.
12885
12886 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12887
12888         * lyxrc.C: improve help for use_scalable_fonts
12889
12890 2002-01-17  Allan Rae  <rae@lyx.org>
12891
12892         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12893
12894 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12895
12896         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12897         make sure to set their inset_owner to the right value (bug #171)
12898
12899 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12900
12901         * DepTable.h
12902         * DepTable.C: Implement mtime checking to reduce time spent doing
12903         CRCs.
12904
12905 2002-01-16  Juergen Vigna  <jug@sad.it>
12906
12907         * tabular.C (GetAdditionalHeight): one of error fixed.
12908
12909         * lyxrc.C (output): small fix in writing use_pspell.
12910
12911 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12912
12913         * sp_base.h: #include LString.h
12914
12915 2002-01-16  Allan Rae  <rae@lyx.org>
12916
12917         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12918         Can someone check this please?
12919
12920         * text.C (drawInset): It was possible that p.row would be removed by
12921         breakAgainOneRow upsetting a few other settings.  There may be another
12922         small tweak possible by setting need_break_row = 0 when p.row has been
12923         removed but I don't know enough about the logic here.
12924
12925 2002-01-15  Allan Rae  <rae@lyx.org>
12926
12927         * text.C (insertChar): removed conditional truism.
12928
12929         * BufferView2.C (removeAutoInsets): More tweaks.
12930         cur_par_prev could be a stray pointer.  Check for trailing empty line
12931         in case last line was cur_par and only had an error inset on it.
12932
12933 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12934
12935         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12936         absolute
12937
12938         * vc-backend.C (most methods):
12939         * exporter.C (Export):
12940         * converter.C (convert):
12941         (runLaTeX):
12942         * LyXSendto.C (SendtoApplyCB):
12943         * lyxfunc.C (dispatch):
12944         (menuNew):
12945         (open):
12946         (doImport):
12947         * lyx_cb.C (AutoSave):
12948         (InsertAsciiFile):
12949         * BufferView_pimpl.C (MenuInsertLyXFile):
12950         * buffer.C (runChktex): use Buffer::filePath().
12951
12952         * buffer.h: rename filename to filename_; rename filepath to
12953         filepath_ and make it private
12954         (filePath): new method
12955
12956         * buffer.C (writeFile): use fileName()
12957         (getLatexName):
12958
12959         * lyx_main.C (init): fix starting  of LyX when the binary is a
12960         link from so,ewhere else.
12961
12962         * minibuffer.C: include <cctype> for isprint
12963
12964 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12965
12966         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12967         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12968         name clash with InsetCollapsable's width function.
12969
12970 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12971
12972         * lastfiles.C: include <iterator>
12973
12974 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12975
12976         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12977         std::count.
12978
12979         * buffer.C (makeLaTeXFile): ditto.
12980         Also make loop operation more transparent.
12981
12982 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12983
12984         * ToolbarDefaults.C: remove trailing comma closing namespace.
12985
12986         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12987
12988         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12989         as in WorkArea.
12990
12991         * trans.C (Load): comment out unused variable, allowed.
12992
12993 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12994
12995         * minibuffer.[Ch] (append_char): new method to recieve input from the
12996         drop-down completion browser. If a key was pressed, then recieve this
12997         char and append it to the existing string.
12998         (peek_event): modify the positioning data passed to the completion
12999         browser so that it can be placed above the minibuffer rather than below.
13000 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13001
13002         * LyXAction.C (init): alloe error-next for readonly documents.
13003
13004         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13005         count.
13006
13007 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13008
13009         * bufferlist.C (readFile): create the buffer _after_ checking that
13010         the file exists.
13011
13012         * lyxfunc.C (verboseDispatch): fix handling of arguments
13013
13014         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13015
13016         * lyxrc.C: use string::erase() instead of initializing to "".
13017
13018
13019 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13020
13021         * BufferView_pimpl.h:
13022         * BufferView_pimpl.C:
13023         * WorkArea.h:
13024         * WorkArea.C:
13025         * text2.C: tell X when we have made a selection for copying
13026
13027 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13028
13029         * BufferView_pimpl.C (MenuInsertLyXFile):
13030         * lyxfunc.C (menuNew):
13031         (open):
13032         (doImport): add shortcuts to directory buttons
13033
13034         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13035         open a float)
13036
13037         * lyxfunc.C (setStatusMessage):
13038         (getStatusMessage): new methods
13039         (getStatus):use setStatusMessage instead of setErrorMessage
13040         (dispatch): when function is disabled, set error message here
13041         [instead of in getStatus previously]
13042
13043         * BufferView_pimpl.C (workAreaButtonRelease): update
13044         toolbar/menubar here too.
13045
13046 2002-01-13  Allan Rae  <rae@lyx.org>
13047
13048         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13049         Now seems indestructible.  Remaining task is to audit all other
13050         code affected by deleteEmptyParagraphMechanism.  One small quirk
13051         left is that an empty document with an error in the preamble can
13052         be made to report an error but no error box appears.  I don't know
13053         where it goes.
13054         (removeAutoInsets): Improved comments.
13055
13056 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13057
13058         * Thesaurus.h:
13059         * Thesaurus.C: update for Aiksaurus 0.14
13060
13061 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13062
13063         * text2.C (firstParagraph): removed member function, all uses
13064         replaces with ownerParagraph
13065         (redoParagraphs): here
13066         (updateInset): here
13067         (toggleAppendix): here
13068         * BufferView2.C (insertErrors): here
13069         (setCursorFromRow): here
13070
13071 2002-01-13  Allan Rae  <rae@lyx.org>
13072
13073         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13074         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13075         There is still a way to segfault this although you may have to do this
13076         multiple times: Have an InsetERT with an unknown command in it.
13077         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13078         <down-arrow>, <Enter> again, View->DVI, BANG!
13079
13080         * text2.C (setCursor):
13081         (deleteEmptyParagraphMechanism):
13082         * lyxtext.h (setCursor):
13083         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13084         Making use of the return value may help fix other bugs.
13085
13086 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13087
13088         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13089
13090         * LyXView.C (updateMenubar): call MenuBar::update here
13091         (updateToolbar): but not here
13092         (showState): do not update toolbar/menubar
13093
13094         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13095         should need to care about that.
13096
13097         * lyxfunc.C (verboseDispatch): simplify a bit
13098         (getStatus): have a version which takes a pseudoaction, and
13099         another which requires a (kb_action,string).
13100
13101         * LyXAction.C (retrieveActionArg): make it work also when action
13102         is not a pseudo-action.
13103         (getActionName): simplify a bit
13104         (helpText):
13105
13106 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13107
13108         * lyxfunc.C (verboseDispatch): new families of methods with
13109         several ways to specify a command and a bool to indicate whether
13110         the command name and shortcut should be displayed in minibuffer
13111         (eventually, we could extend that to a finer bitmask like
13112         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13113         (dispatch): the pristine dispatch command which just, well,
13114         dispatchs! Note it still sets its result to minibuffer; I'm not
13115         sure we want that.
13116
13117         * lyxfunc.h: remove setHintMessage
13118
13119         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13120
13121 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13122
13123         * BufferView_pimpl.C (specialChar): delete new inset if we have
13124         not been able to insert it.
13125
13126         * kbmap.C: revert to using int instead of kb_action, since all we
13127         are dealing with is pseudo-actions.
13128
13129         * LyXAction.C (searchActionArg): change to return int instead of
13130         kb_action, since the result is a pseudoaction.
13131
13132 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13133
13134         * buffer.C (insertErtContents): Fix (partially) the font bug.
13135
13136 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13137
13138         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13139         as the other one is broken on my machine!
13140
13141 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13142
13143         * commandtags.h:
13144         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13145
13146 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13147
13148         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13149         reflect their actual use. Provide compatibility code for older lyxrc
13150         files.
13151
13152         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13153         FL_NORMAL_STYLE.
13154         change names of popup font variables in line with the changes to lyxrc.C
13155
13156 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13157
13158         * buffer.C (asciiParagraph): avoid outputing a word twice after
13159         an inset.
13160
13161         * lyxrc.C (getDescription): document that document_path and
13162         template_path can be empty.
13163
13164 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13165
13166         * LaTeXFeatures.C (getMacros):
13167         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13168
13169         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13170
13171         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13172         getPackages.
13173         (getPackages): rename feature "floats" to "float". Use an array to
13174         iterate over 'simple' features (i.e. just a \usepackage). Add
13175         handling of "amsmath" (renamed from "amsstyle").
13176
13177 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13178
13179         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13180         features list.
13181
13182 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13183
13184         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13185         FuncStaus::FuncStatus & FuncStaus::some_method().
13186
13187 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13188
13189         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13190         of the func_satus stuff. Edited and massaged in various ways by
13191         JMarc.
13192
13193         * lyxfunc.C (getStatus): use FuncStatus
13194
13195 2002-01-08  Juergen Vigna  <jug@sad.it>
13196
13197         * text.C (nextBreakPoint): use function Inset::isChar().
13198
13199         * paragraph.C (TeXOnePar): use function
13200         Inset::forceDefaultParagraphs.
13201
13202         * buffer.C (latexParagraphs): use function
13203         Inset::forceDefaultParagraphs.
13204
13205 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13206
13207         * lyx_gui.C (init): set the style of the menu popups to
13208         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13209
13210 2002-01-07  Juergen Vigna  <jug@sad.it>
13211
13212         * text.C (setHeightOfRow): small fix
13213         (prepareToPrint): don't look at alignment if we don't have the place
13214         for doing it.
13215
13216 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13217
13218         * box.C: New file. Move the Box methods and functions out of box.h,
13219         following Lars' suggestion.
13220
13221 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13222
13223         * box.h: #include "support/LOstream.h", needed for inlined function.
13224
13225         * lyxtextclass.C:
13226         * lyxtextclasslist.C: added some using std declarations.
13227
13228 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13229
13230         * box.h: make signed dimensions to allow insets wider than
13231           the screen (bug #162)
13232
13233         * BufferView_pimpl.C: add some insetHit debug
13234
13235 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13236
13237         * vc-backend.C: add FIXME
13238
13239 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13240
13241         * lyxfunc.C (getStatus): enable code for showing math font status
13242         in toolbar/menu.
13243
13244 2002-01-07  Juergen Vigna  <jug@sad.it>
13245
13246         * text.C (nextBreakPoint): removed debug output not needed anymore.
13247
13248 2002-01-06  Juergen Vigna  <jug@sad.it>
13249
13250         * text.C (nextBreakPoint): fixed up this function we had this bug
13251         since ever but now hopefully we break row better.
13252         (insertChar): we have to check if an inset is the next char as it
13253         could now happen that a large inset is causing a break.
13254
13255 2002-01-05  Juergen Vigna  <jug@sad.it>
13256
13257         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13258         if it doesn't like to be drawed.
13259
13260 2002-01-04  Juergen Vigna  <jug@sad.it>
13261
13262         * BufferView2.C (lockInset): forgot to set a cursor.
13263
13264         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13265
13266 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13267
13268         * FormMathsPanel.C:
13269         * FormMathsPanel.h
13270         * MathsSymbols.C:
13271         * form_maths_panel.C:
13272         * form_maths_panel.h:
13273         * form_maths_panel.fd: implemented sub- and super- buttons in math
13274         panel.
13275
13276         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13277         (or ^ space) to be used as in TeX (req'd by André).
13278
13279         * lyxfunc.C: Allow ^ and _ again to be used both as
13280         super/subscript (mathed) and as themselves (in text).
13281
13282 2002-01-03  Allan Rae  <rae@lyx.org>
13283
13284         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13285         "LyX" or the filename of the current buffer if it has one.  This is a
13286         modified form of John Levon's patch.
13287
13288         * XFormsView.C (setWindowTitle): also set icon title.
13289
13290         * LyXView.h (setWindowTitle): signature changed.
13291         * XFormsView.h (setWindowTitle): ditto.
13292
13293 2002-01-02  Juergen Vigna  <jug@sad.it>
13294
13295         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13296
13297 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13298
13299         * screen.C (topCursorVisible): introduce a temp var for
13300         text->cursor.row(), handle the case where this row is null. (kindo
13301         hachish)
13302
13303         * text2.C (setCursor): add a couple of asserts.
13304
13305         * paragraph.h (inset_iterator): add -> operator
13306
13307         * paragraph.[Ch] (autoDeleteInsets): remove member function
13308
13309         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13310         cursor pos correctly and handle inset deletion by itself.
13311         (insertErrors): move iterator declaration out of for expression
13312
13313         * lyxtextclass.C: add <algorithm>
13314
13315         * Makefile.am: added the new files to sources, removed layout.C
13316
13317         * layout.C: removed file
13318
13319         * layout.h: remove LYX_DUMMY_LAYOUT
13320
13321         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13322         layout.
13323
13324         * lyxlayout.[Ch]:
13325         * lyxtextclass.[Ch]:
13326         * lyxtextclasslist.[Ch]: new files
13327
13328         * include order changes to a lot of files, also changes because of
13329         the six new files.
13330
13331 2001-12-27  Juergen Vigna  <jug@sad.it>
13332
13333         * buffer.C (asciiParagraph): more fixes.
13334
13335         * tabular.C (ascii): make ascii export support export of only the
13336         data separated by a column-delimiter.
13337         (ascii): better support for ascii export.
13338
13339         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13340
13341 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13342
13343         * tabular_funcs.C: use a "using std::getline" instead of the
13344         previous fix from Angus (necessary for cxx + lyxstring)
13345
13346 2001-12-24  Juergen Vigna  <jug@sad.it>
13347
13348         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13349
13350         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13351         problems. First check a minipage also if we have some ert-contents
13352         (not only on par->size(), second set the right depth of the paragraph
13353         on the relink to the root-paragraph-list!
13354
13355         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13356         which then did not anymore update the main paragraphs on undo/redo!
13357
13358 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13359
13360         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13361         code. Support all font-changing funcs (even those which are not in
13362         menu currently). Support for reporting font settings in
13363         mathed (disabled until Andre provides a function on mathed's side).
13364
13365         * func_status.h (toggle): small helper function to set toggle
13366         state on a flag.
13367
13368 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13369
13370         * tabular_funcs.C: getline -> std::getline
13371
13372 2001-12-21  Juergen Vigna  <jug@sad.it>
13373
13374         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13375         accessed and could be 0 (I couldn't generate this but it seems
13376         Michael could!).
13377
13378 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13379
13380         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13381         * tabular_funcs.h: here and include iosfwd
13382
13383 2001-12-20  Juergen Vigna  <jug@sad.it>
13384
13385         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13386         inside inset but undo_par was.
13387
13388 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13389
13390         * Thesaurus.C: always include <config.h> in sources.
13391
13392         * Painter.h:
13393         * lyxlookup.h:
13394         * box.h: do not include <config.h> in header files
13395
13396         * text.C (paintLastRow): remove unused variable
13397
13398         * text.C (transformChar):
13399         (insertChar):
13400         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13401
13402         * Painter.C (text):
13403         * font.C (width): rewrite to use uppercase() instead of
13404         islower/toupper.
13405
13406         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13407
13408 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13409
13410         * lyxfind.C: clean up of find failure position change
13411
13412 2001-12-20  Juergen Vigna  <jug@sad.it>
13413
13414         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13415
13416         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13417         (TeXRow): added to LaTeX a single tabular row.
13418         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13419         (Latex): simplified and finally good LT-h/f support.
13420         (various_functions): just small adaptions for LT-h/f support.
13421
13422         * tabular_funcs.[hC]: added and moved here all not classfunctions
13423         of LyXTabular.
13424
13425 2001-12-19  Juergen Vigna  <jug@sad.it>
13426
13427         * tabular.[Ch]: better support for longtabular options (not finished
13428         yet!)
13429
13430 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13431
13432         * text.C (paintLastRow): use the label font instead of the font of
13433         the last character to compute the size of *_BOX. This makes more
13434         sense and avoids a crash with empty paragraphs.
13435         Use Painter::rectangle to draw EMPTY_BOX.
13436
13437 2001-12-19  Juergen Vigna  <jug@sad.it>
13438
13439         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13440         the paragraphs if the replaced paragraph is not the first one!
13441         Tried to delete not used paragraphs but does not work yet so for
13442         now it's inside #ifdef's and by default off!
13443
13444 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13445
13446         * MenuBackend.C: include "lyx_main.h" instead of declaring
13447         lastfiles (actually was declared as LastFiles* instead of a
13448         scoped_ptr).
13449
13450 2001-12-17  Juergen Vigna  <jug@sad.it>
13451
13452         * tabular.C (AppendColumn): applied John's fix
13453
13454 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13455
13456         * BufferView.h:
13457         * BufferView.C:
13458         * BufferView_pimpl.h:
13459         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13460
13461         * Makefile.am:
13462         * box.h: new start of class for above
13463
13464         * lyxfunc.C: ignore space-only minibuffer dispatches.
13465           Show the command name when it doesn't exist
13466
13467         * minibuffer.C: don't add empty lines to the history
13468
13469         * minibuffer.C: add a space on dropdown completion
13470
13471 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13472
13473         * text.C: fix line above/below drawing in insets
13474
13475 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13476
13477         * lyxlength.C (LyXLength): Initialize private variables.
13478
13479 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13480
13481         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13482         when inserting error insets.
13483
13484 2001-12-13  Juergen Vigna  <jug@sad.it>
13485
13486         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13487         actually sometimes the before-paragraph.
13488         (setUndo): don't clear the redostack if we're not actually undoing!
13489
13490 2001-12-06  Juergen Vigna  <jug@sad.it>
13491
13492         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13493         and fixed redoing of main paragraph, so we can use it now ;)
13494
13495         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13496
13497 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13498
13499         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13500         Juergen's request
13501
13502 2001-12-13  André Pönitz <poenitz@gmx.net>
13503
13504         * undostack.[Ch]:
13505         * undo_func.C: minor cleanup
13506
13507 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13508
13509         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13510         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13511         font in urw-fonts package which is marked as -urw-fontspecific and
13512         does not work (incidentally, changing the encoding in the
13513         fonts.dir of this package to -adobe-fontspecific fixes the
13514         problem).
13515
13516         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13517         is a crash when undoing first paragraph (Juergen, please take a
13518         look). THis does not mean the undo fix is wrong, just that it
13519         uncovers problems.
13520
13521         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13522         the (Paragraph*) version when needed instead of duplicating the
13523         code.
13524
13525         * text.C (workWidth): use Inset::parOwner to find out where the
13526         inset has been inserted. This is a huge performance gain for large
13527         documents with lots of insets. If Inset::parOwner is not set, fall
13528         back on the brute force method
13529
13530         * paragraph_pimpl.C (insertInset):
13531         * paragraph.C (Paragraph):
13532         (cutIntoMinibuffer): set parOwner of insets when
13533         inserting/removing them
13534
13535         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13536
13537 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13538
13539         * commandtags.h:
13540         * LyXAction.C:
13541         * lyx_main.C:
13542         * lyxfunc.C:
13543         * mathed/formulabase.C:
13544         * mathed/math_cursor.[Ch]:
13545         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13546
13547
13548 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13549
13550         * lyxlength.[Ch] (operator!=): new function
13551
13552 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13553
13554         * text.C (workWidth): use Inset::parOwner to find out where the
13555         inset has been inserted. This is a huge performance gain for large
13556         documents with lots of insets. If Inset::parOwner is not set, fall
13557         back on the brute force method
13558
13559         * paragraph_pimpl.C (insertInset):
13560         * paragraph.C (Paragraph):
13561         (cutIntoMinibuffer): set parOwner of insets when
13562         inserting/removing them
13563
13564         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13565
13566 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13567
13568         * tabular-old.C (getTokenValue):
13569         * tabular.C (getTokenValue):
13570         (write_attribute): new versions for LyXLength
13571         (everywhere): adjust the use of widths
13572
13573         * tabular.h: change the type of widths from string to LyXLength
13574
13575 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13576
13577         * paragraph.C: fixed missing line number count when exporting
13578         Environments to LaTeX file
13579
13580         * buffer.C: added informational message for checking line numbers.
13581
13582 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13583
13584         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13585         paragraph, do the 'double space' part, but not the 'empty
13586         paragraph' one.
13587
13588         * text.C (workWidth): small optimization
13589         (getLengthMarkerHeight): use minimal size for negative lengths.
13590
13591 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13592
13593         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13594
13595         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13596
13597 2001-12-11  André Pönitz <poenitz@gmx.net>
13598
13599         * FontLoader.C:
13600         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13601
13602 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13603
13604         * text2.C: keep selection on a setFont()
13605
13606 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13607
13608         * lyx_cb.C: another bv->text misuse, from insert label
13609
13610 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13611
13612         * kbsequence.h:
13613         * kbsequence.C: re-instate nmodifier mask
13614
13615 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13616
13617         * lyx_main.h: make lyxGUI private.
13618
13619 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13620
13621         * lyxfind.C: place the cursor correctly on failed search
13622
13623 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13624
13625         * text.C (getLengthMarkerHeight): for small heights, the arrows
13626         are not always on top/bottom of the text
13627         (drawLengthMarker): smaller arrows; take the left margin in
13628         account; draw also vfills.
13629         (paintFirstRow):
13630         (paintLastRow): remove special code for vfill and standard spaces,
13631         since everything is handled in drawLengthMarker now.
13632
13633 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13634
13635         * buffer.C (insertErtContents): try to handle font and language
13636         interaction a bit better.g
13637
13638         * ColorHandler.C (updateColor): change the hash to cover the whole
13639         LColor enum, ws cleanup
13640         (getGCLinepars): ditto
13641         (getGCLinepars): only lookup in the linecache once.
13642
13643 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13644
13645         * iterators.C (operator++): Make the iterator more robust
13646
13647         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13648         (John's patch)
13649         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13650
13651 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13652
13653         * lyxtext.h:
13654         * text.C: better added space drawing
13655
13656 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13657
13658         * LyXView.C:
13659         * BufferView2.C: fix layout combo update on inset unlock
13660
13661 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13662
13663         * Makefile.am: don't compile unused files
13664
13665 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13666
13667         * lyxfunc.C:
13668         * commandtags.h:
13669         * LyXAction.C: remove old LFUN_LAYOUTNO
13670
13671 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13672
13673         * paragraph_pimpl.h:
13674         * paragraph_pimpl.C: isTextAt() doesn't need font param
13675
13676 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13677
13678         * lyxlex.h:
13679         * lyxlex.C: little cleanup
13680
13681 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13682
13683         * BufferView_pimpl.C: fix insertAscii for insets
13684
13685 2001-12-05  Juergen Vigna  <jug@sad.it>
13686
13687         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13688         set the right font on the "multi" paragraph paste!
13689
13690 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13691
13692         * trans_decl.h:
13693         * trans_mgr.[Ch]:
13694         * trans.[Ch]:
13695         * lyxgluelength.C:
13696         * lyxlength.C: remove out-commented code.
13697
13698         * BufferView_pimpl:
13699         * CutAndPaste.C:
13700         * DepTable.C:
13701         * buffer.C:
13702         * chset.C:
13703         * lastfiles.C:
13704         * lyxlex.C:
13705         * lyxlex_pimpl.C:
13706         * lyxserver.C:
13707         * screen.C:
13708         * tabular-old.C:
13709         * tabular.C:
13710         * text.C:
13711         * trans_mgr.C:
13712         * vc-backend.C: change "while(" to "while ("
13713
13714         * lyxlength.[Ch]: add zero function to check if length is zero or
13715         not
13716         * lyxgluelength.C: use it
13717
13718 2001-12-05  Allan Rae  <rae@lyx.org>
13719
13720         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13721         Works for 2.95.3, from what I understand of Garst's reports this should
13722         work for other g++ versions.  We're screwed if the abs(int) definition
13723         changed between bugfix releases of gcc.
13724
13725 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13726
13727         * text.C: fix chapter label offset !
13728
13729 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13730
13731         * lyxtext.h:
13732         * text.C: fix hfill at end of line, clean up
13733
13734 2001-12-04  Juergen Vigna  <jug@sad.it>
13735
13736         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13737         that we force an update of the inset and it's owners if neccessary.
13738
13739 2001-12-03  Juergen Vigna  <jug@sad.it>
13740
13741         * text.C (rowLast): simplified code
13742
13743 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13744
13745         * lyxfunc.C: fix show options on timeout
13746
13747 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13748
13749         * screen.C (topCursorVisible): scroll half a page when the cursor
13750         reached top of bottom of screen
13751
13752 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13753
13754         * minibuffer.C: deactivate on loss of focus
13755
13756 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13757
13758         * vspace.[Ch] (operator!=): add operator.
13759
13760 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13761
13762         * BufferView_pimpl.C: refuse to open an inset when
13763         there's a selection.
13764
13765 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13766
13767         * BufferView_pimpl.C: allow to click on RHS of full row insets
13768
13769 2001-11-30  Juergen Vigna  <jug@sad.it>
13770
13771         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13772         insets for undo reasons.
13773
13774 2001-11-28  André Pönitz <poenitz@gmx.net>
13775
13776         * vspace.[Ch]: cosmetical changes
13777
13778 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13779
13780         * LyXAction.h:
13781         * LyXAction.C:
13782         * lyxfunc.h:
13783         * lyxfunc.C:
13784         * kbmap.h:
13785         * kbmap.C:
13786         * lyxrc.C:
13787         * kbsequence.h:
13788         * kbsequence.C: part re-write of old kb code
13789
13790         * Painter.C:
13791         * WorkArea.C: remove Lgb_bug_find_hack
13792
13793 2001-11-30  José Matos <jamatos@fep.up.pt>
13794
13795         * buffer.C (makeDocBookFile): add a comment to point a hack.
13796         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13797         Fixed a double write of labels.
13798
13799 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13800
13801         * LaTeX.C:
13802         * LaTeX.h Fixed bug in LaTeX class where it would not
13803         re-run latex if no depfiles were changed, but the .dvi was removed.
13804
13805 2001-11-28  André Pönitz <poenitz@gmx.net>
13806
13807         * all the files from the change on 2001/11/26:
13808         use lyx::layout_type instead of LyXTextClass::size_type
13809         use lyx::textclass_type instead of LyXTextClassList::size_type
13810
13811 2001-11-29  Juergen Vigna  <jug@sad.it>
13812
13813         * text.C: added support for paragraph::isFreeSpacing()
13814
13815         * buffer.C: same as above
13816
13817         * paragraph.h: inserted isFreeSpacing() function to enable
13818         FreeSpacing inside InsetERT.
13819
13820         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13821         of the paragraph's in the cut/copy buffer to 0!
13822
13823         * text2.C (removeRow): remove the assert as it can!
13824
13825         * lyxtext.h: added helper function firstRow returning firstrow and
13826         made firstrow private again.
13827
13828         * BufferView2.C (lockInset): don't relock if we're already locked!
13829
13830         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13831         the only paragraph.
13832         (removeRow): added Assert::(firstrow)
13833
13834         * debug.C: forgot to add INSETTEXT here.
13835
13836 2001-11-28  Juergen Vigna  <jug@sad.it>
13837
13838         * sp_spell.C (initialize): changed error text to more general
13839         spellchecker command use (not only ispell!)
13840
13841         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13842
13843         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13844
13845 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13846
13847         * vspace.C: initialise lyxgluelength on failure
13848
13849 2001-11-28  Allan Rae  <rae@lyx.org>
13850
13851         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13852         declaration & definition that looks like a function declaration.
13853
13854 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13855
13856         * BufferView2.C (copy):
13857         (copyEnvironment): do not clear the selection when doing a copy.
13858
13859         * text.C (paintFirstRow): compilation fix
13860
13861 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13862
13863         * tabular.C (Latex): correct line count when writing latex.
13864
13865 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13866
13867         * paragraph_pimpl.h:
13868         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13869           bug a bit
13870
13871 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13872
13873         * text.C:
13874         * LColor.h:
13875         * LColor.C: change vfillline->added_space
13876
13877         * text.C: add markers and text for added space
13878
13879         * vspace.C: fix comment
13880
13881 2001-11-28  André Pönitz <poenitz@gmx.net>
13882
13883         * paragraph.C: whitespace changes
13884         * all the other files from the change on 2001/11/26:
13885         change *::pos_type into lyx::pos_type
13886
13887 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13888
13889         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13890         language of the document when inserting error insets.
13891
13892 2001-11-26  André Pönitz <poenitz@gmx.net>
13893
13894         * BufferView_pimpl.[Ch]:
13895         *       CutAndPaste.C:
13896         * buffer.[Ch]:
13897         * lyxcursor.[Ch]:
13898         * lyxfind.C:
13899         * lyxfunc.C:
13900         * lyxrow.[Ch]:
13901         * paragraph.[Ch]:
13902         * paragraph_pimpl.[Ch]:
13903         * sp_spell.C:
13904         * text.C:
13905         * text2.C: reduce header dependencies, introduce type for positions
13906
13907 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13908
13909         * <various>: change to use Alert.h
13910
13911 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13912
13913         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13914         when encountering an unknown token.
13915         (readLyXformat2): Show an error message if there were unknown tokens.
13916
13917 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13918
13919         * BufferView2.C:
13920         * BufferView_pimpl.C:
13921         * buffer.C:
13922         * paragraph.h:
13923         * text.C:
13924         * text2.C: use par->isInset()
13925
13926 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13927
13928         * paragraph_pimpl.h:
13929         * paragraph_pimpl.C: cleanup
13930
13931 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13932
13933         * text2.C (removeRow):
13934         * text.C (setHeightOfRow): remove useless (and costly) call to
13935         getRow.
13936
13937 2001-11-20  Allan Rae  <rae@lyx.org>
13938
13939         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13940         Now need Inset*::checkInsertChar() to return true for appropriate
13941         cases so that the characters in the minibuffer will actually be
13942         inserted.
13943
13944 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13945
13946         * text.C: change the order of the includes.
13947         (workWidth): initialize it at once.
13948         (workWidth): make maxw unsigned
13949         (setHeightOfRow): remove unused variable (inset)
13950         (selectSelectedWord): remove unused variable (inset)
13951         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13952
13953 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13954
13955         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13956         server is not running.
13957         (openConnection):
13958         (closeConnection): add debug info when server is disabled.
13959
13960         * ColorHandler.C (getGCForeground): send debug message to GUI
13961         channel.
13962
13963         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13964
13965         * kbmap.C (bind): modify because return conventions of
13966         kb_sequence::parse have changed.
13967
13968         * kbsequence.C (parse): only ignore spaces and not any stupid
13969         control character. This avoids tests like s[i] <= ' ', which are
13970         guaranteed to fail with 8bit characters and signed chars.
13971         Change return code to string::npos when there have been no error
13972         (0 was a bad idea when error is at first character)
13973
13974 2001-11-14  José Matos  <jamatos@fep.up.pt>
13975
13976         * buffer.h:
13977         * buffer.C (simpleDocBookOnePar): removed unused argument.
13978
13979 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13980
13981         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13982         insets which are part of a word. Paragraph::isLetter takes care of
13983         that now. Use Paragraph::isInset to identify insets.
13984         (selectSelectedWord): do not test for hyphenation break.
13985
13986         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13987         that protected spaces are considered as spaces.
13988
13989         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13990         Inset::isLetter.
13991
13992 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13993
13994         * lyxserver.h:
13995         * lyxserver.C: fix it. and small cleanup.
13996
13997 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13998
13999         * BufferView_pimpl.C: use inline helpers
14000
14001         * LaTeXFeatures.h:
14002         * LaTeXFeatures.C: fix typos
14003
14004         * Spacing.h:
14005         * Spacing.C: move spacing_string into class
14006
14007         * ToolbarDefaults.C: move stuff into namespace anon
14008
14009         * layout.h: update enum
14010
14011         * lyxfunc.C: use better debug
14012
14013         * minibuffer.h: fix typo
14014
14015         * debug.h:
14016         * debug.C:
14017         * WorkArea.C: add and use Debug::WORKAREA
14018
14019         * lyxtext.h:
14020         * text.C:
14021         * text2.C: code re-organisation, inline helpers
14022
14023 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14024
14025         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14026         std::vector.empty().
14027
14028 2001-11-09  Allan Rae  <rae@lyx.org>
14029
14030         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14031         '\n's after tables.  Tabular and ERT inset work now makes this no
14032         longer necessary.
14033
14034 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14035
14036         * minibuffer.h:
14037         * minibuffer.C: fix crash, improve drop-down completion
14038
14039 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14040
14041         * lyxserver.h:
14042         * lyxserver.C: invalidate fd's when doing endPipe()
14043
14044 2001-11-08  José Matos  <jamatos@fep.up.pt>
14045
14046         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14047         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14048
14049         * paragraph.h:
14050         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14051
14052 2001-11-07  José Matos  <jamatos@fep.up.pt>
14053
14054         * buffer.h:
14055         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14056         const qualifier.
14057
14058         * buffer.C (sgmlOpenTag):
14059         * buffer.C (sgmlCloseTag): removed debug info.
14060
14061         * buffer.h (sgmlOpenTag):
14062         * buffer.h (sgmlCloseTag): made public.
14063
14064 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14065
14066         * buffer.C (saveParamsAsDefaults):
14067         * lyx_cb.C (MenuLayoutSave): remove
14068
14069         * LyXAction.C (init):
14070         * commandtags.h:
14071         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14072
14073 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14074
14075         * buffer.C (setPaperStuff): removed from here...
14076
14077         * bufferparams.C (setPaperStuff): ... and moved there.
14078
14079 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14080
14081         * minibuffer.h:
14082         * minibuffer.C:
14083         * XFormsView.C: add support for drop-down completion
14084
14085 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14086
14087         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14088         commands.
14089
14090 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14091
14092         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14093         disabled.
14094
14095 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14096
14097         * lyx_main.C: change ref to known bugs
14098
14099 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14100
14101         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14102         to work around older babel problems.
14103
14104 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14105
14106         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14107
14108 2001-10-24  Juergen Vigna  <jug@sad.it>
14109
14110         * tabular-old.C (ReadOld): below variable changes reflected.
14111
14112         * tabular.[Ch]: added ltType struct for longtable header/footer
14113         defines and changed all instances where they are used. Added
14114         future support for double top/bottom rows.
14115
14116 2001-10-24  José Matos  <jamatos@fep.up.pt>
14117
14118         * buffer.h (docbookHandleCaption):
14119         * buffer.C (docbookHandleCaption): removed unused function.
14120         (makeDocBookFile): moved docbook supported version to v4.1.
14121
14122 2001-10-24  José Matos  <jamatos@fep.up.pt>
14123
14124         * tabular.h:
14125         * tabular.C (docbookRow): new function to export docbook code of a row.
14126         (DocBook): now honors the longtable flags.
14127
14128 2001-10-23  José Matos  <jamatos@fep.up.pt>
14129
14130         * LaTeXFeatures.h:
14131         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14132         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14133
14134         * buffer.C (makeLinuxDocFile):
14135         (makeDocBookFile): reworked the preamble, more clean, and with
14136         support for lyx defined entities. Changed the document declaration
14137         to be more XML friendly.
14138
14139         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14140         if we need to output XML that should be done with a filter.
14141
14142 2001-10-22  Juergen Vigna  <jug@sad.it>
14143
14144         * sp_pspell.h (class PSpell): add alive function needed in the
14145         controller to see if the spellchecker could be started.
14146
14147 2001-10-22  Juergen Vigna  <jug@sad.it>
14148
14149         * buffer.C (insertStringAsLines): modify the font for inserting
14150         chars in certain conditions by calling checkInsertChar(font).
14151
14152 2001-10-19  Juergen Vigna  <jug@sad.it>
14153
14154         * text.C (workWidth): use getRow instead of wrong algorithm.
14155         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14156
14157 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14158
14159         * lyxserver.h:
14160         * lyxserver.C:
14161         * lyx_main.h:
14162         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14163
14164 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14165
14166         * text.C (workWidth): do not search for the exact row when
14167         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14168         optimization for big documents.
14169
14170 2001-10-18  Juergen Vigna  <jug@sad.it>
14171
14172         * text.C (workWidth): new function with added Inset * parameter.
14173
14174 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14175
14176         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14177
14178         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14179         change return type of getColumnNearX.
14180
14181
14182         * text.C (changeRegionCase): use uppercase/lowercase instead of
14183         toupper/tolower.
14184         (leftMargin):
14185         (rightMargin): simplify code by factoring out the uses of
14186         textclasslist.
14187         (labelFill):
14188         (numberOfHfills):
14189         (setHeightOfRow):
14190         (appendParagraph): use Paragraph::size_type
14191
14192 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14193
14194         * vspace.C (asLatexString): add a missing break
14195
14196 2001-10-15  Herbert Voss  <voss@perce.de>
14197
14198         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14199
14200 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14201
14202         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14203         is not available.
14204
14205 2001-10-10  André Pönitz <poenitz@gmx.net>
14206
14207         * lyxfunc.C: removed greek_kb_flag.
14208
14209 2001-10-10  Herbert Voss  <voss@perce.de>
14210
14211         * lyx_main.C: delete global string help_lyxdir.
14212
14213 2001-10-09  Herbert Voss  <voss@perce.de>
14214
14215         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14216
14217         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14218
14219         * lyx_main.C: added global string help_lyxdir.
14220
14221         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14222
14223 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14224
14225         * lyxrc.C (set_font_norm_type): support iso8859-4
14226
14227 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14228
14229         * LaTeX.C (deplog): add another regex for MikTeX
14230
14231 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14232
14233         * lyxrc.C (set_font_norm_type): support iso8859-3
14234
14235 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14236
14237         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14238
14239         * LaTeXFeatures.C: remove special case of french and index
14240
14241         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14242         before \begin{document}). This solves several incompatibilities.
14243
14244 2001-10-03  Garst Reese  <reese@isn.net>
14245
14246         * lyx_cb.C: change CheckTex error msg.
14247
14248 2001-10-03  José Matos  <jamatos@fep.up.pt>
14249
14250         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14251
14252 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14253
14254         * .cvsignore: update
14255
14256         * lyx_main.C (commandLineVersionInfo): use new style version info.
14257
14258         * buffer.C (writeFile):
14259         (makeLaTeXFile):
14260         (makeLinuxDocFile):
14261         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14262
14263         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14264
14265         * version.h: update to use stuff in version.C
14266
14267         * version.C.in: new file. Contains version information determined
14268         at compile time. This is a merging of version.h and
14269         version_info.h.in.
14270
14271 2001-10-03  Juergen Vigna  <jug@sad.it>
14272
14273         * BufferView_pimpl.C (update): don't change "dirty" status in
14274         updateInset call.
14275
14276 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14277
14278         * WorkArea.C (c-tor): re-position version string slightly.
14279
14280 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14281
14282         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14283         revert to previous code.
14284
14285         WorkArea.[Ch]: (show, destroySplash): methods removed.
14286
14287         WorkArea.C: rework code so that it's an amalgam of the codes before and
14288         after the splash screen was moved to WorkArea.
14289
14290 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14291
14292         * lyxrc.C (read):
14293         * vspace.C (inPixels):
14294         (lyx_advance):
14295         * kbmap.C (bind):
14296         * buffer.C (insertStringAsLines):
14297         (asciiParagraph): fix types to be large enough
14298
14299         * lyxlex_pimpl.h: change member status from short to int
14300
14301         * layout.h: fix type of endlabeltype
14302
14303         * kbmap.C (bind):
14304         * kbsequence.C (parse): change return type to string::size_type
14305
14306         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14307         variable
14308
14309         * Bullet.C (bulletSize):
14310         (bulletEntry): do not use short ints as parameters
14311
14312         * BufferView2.C (insertLyXFile): change a char to an int.
14313
14314         * WorkArea.C (WorkArea): remove unneeded floats in computation
14315
14316 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14317
14318         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14319
14320         * paragraph.C (asString): Do not ignore newline/hfill chars when
14321         copying to the clipboard.
14322
14323 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14324
14325         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14326         after a multi-line inset.
14327
14328 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14329
14330         * paragraph.C (validate): Set NeedLyXFootnoteCode
14331
14332 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14333
14334         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14335         and decrease-error to decrease.
14336
14337 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14338
14339         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14340         it more readable (should be equivalent)
14341
14342 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14343
14344         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14345
14346 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14347
14348         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14349         of a cursor (row, etc.) after a character has been deleted
14350         (deleteEmptyParagraphMechanism): call the method above on _all_
14351         cursors held by the LyXText when a double space has been
14352         detected/deleted.
14353
14354 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14355
14356         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14357         pixmap.
14358         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14359
14360         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14361         background. Use greyOut() and the new show() methods to toggle between
14362         the foreground and background. Add code to remove the splash after
14363         its initial showing.
14364
14365         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14366         (create_forms): no longer call Dialogs::showSplash.
14367
14368 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14369
14370         * .cvsignore: add version_info.h
14371
14372 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14373
14374         * version_info.h.in: new file
14375
14376         * Makefile.am: add version_info.h.in
14377
14378         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14379         version_info.h instead of VERSION_INFO
14380
14381 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14382
14383         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14384         The ERT inset now returns string().
14385
14386 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14387
14388         * lyxtext.h, text.C (selectNextWord): renamed as
14389         selectNextWordToSpellcheck.
14390
14391         * text.C (selectNextWordToSpellcheck): Modified to not select
14392         words inside an ERT inset.
14393
14394 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14395
14396         * lyx_cb.C (MenuLayoutSave): change a bit the question
14397
14398         * sp_base.h: include <sys/types.h>
14399
14400 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14401
14402         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14403
14404 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14405
14406         * several files: fix typos in user-visible strings
14407
14408 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14409
14410         * text2.C (pasteSelection): do not set the selection, since it
14411         will be cleared later. Actually, the intent was to fix the way the
14412         selection was set, but I figured rmoving the code was just as good.
14413
14414 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14415
14416         * FontLoader.C (available): Check if font is available without
14417         loading the font.
14418
14419 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14420
14421         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14422
14423 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14424
14425         * lyxrc.[Ch]: added display_graphics variable and associated code.
14426
14427 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14428
14429         * bufferparams.C (hasClassDefaults): new method. Returns true if
14430         the buffer parameters correspond to known class defaults
14431
14432 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14433
14434         * XFormsView.C (show): set minimum size to the main window.
14435
14436 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14437
14438         * text2.C (copySelection):
14439         (cutSelection):
14440         * lyxfind.C (LyXReplace):
14441         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14442         LyXText::selectionAsString.
14443
14444         * paragraph.C (asString): add "label" argument to the second form
14445
14446         * text2.C (selectionAsString): add "label" argument and pass it to
14447         Paragraph::asString.
14448
14449 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14450
14451         * lyx_main.C (commandLineHelp): remove version information
14452
14453 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14454
14455         * lyx_main.C: add -version commandline option
14456
14457 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14458
14459         * paragraph.h: make the optional constructor arg required instead.
14460         some modifications to other files because of this.
14461
14462         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14463
14464         * lyxserver.C (C_LyXComm_callback): make it static
14465
14466         * lyx_main.C (error_handler): make it static
14467
14468         * lyx_gui.C (LyX_XErrHandler): make it static
14469
14470         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14471
14472         * WorkArea.C: make the extern "C" methods static.
14473
14474         * Makefile.am (lyx_LDADD): simplify
14475
14476 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14477
14478         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14479         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14480
14481         * LyXAction.C (init):
14482         * lyxfunc.C (dispatch): associated code removal.
14483
14484 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14485
14486         * lyxfont.h (isSymbolFont): shut off warning
14487
14488         * text.C (setHeightOfRow):
14489         (getVisibleRow): fix crash with empty paragraphs which have a
14490         bottom line
14491
14492 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14493
14494         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14495         code.
14496
14497 2001-09-04  José Matos  <jamatos@fep.up.pt>
14498         * buffer.C
14499         * buffer.h
14500         * tabular.C (docbook): rename docBook method to docbook.
14501
14502 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14503
14504         * Makefile.am: add dependencies to main.o.
14505
14506 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14507
14508         * FontLoader.C (available): Return false if !lyxrc.use_gui
14509
14510 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14511
14512         * FontInfo.C (query):
14513         * converter.C (view):
14514         * importer.C (Import):
14515         * exporter.C (Export): Can not -> cannot.
14516
14517 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14518
14519         * BufferView_pimpl.C: allow to create index inset even if
14520           string is empty
14521
14522 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14523
14524         * buffer.C (getLists): replace boost::tie code with an explicit pair
14525         as boost::tie can break some compilers.
14526
14527         * iterators.h: Added a std:: declaration to the return type of
14528         ParIterator::size.
14529
14530 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14531
14532         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14533           case.
14534
14535 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14536
14537         * iterators.[Ch]: New files. Provide paragraph iterators.
14538
14539         * buffer.C (changeLanguage): Use paragraph iterators.
14540         (isMultiLingual): ditto
14541
14542         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14543
14544 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14545
14546         * FontLoader.C: Support for cmr font.
14547
14548 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14549
14550         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14551         (available): New method.
14552
14553         * FontInfo.C (getFontname): Use scalable fonts even when
14554         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14555         found.
14556
14557 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14558
14559         * converter.C (Formats::view): reverted! Incorrect fix.
14560
14561 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14562
14563         * converter.C (Formats::view): only output the -paper option
14564         if the dvi viewer is xdvi, thereby fixing bug #233429.
14565
14566 2001-08-23  Herbert Voss  <voss@perce>
14567
14568         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14569
14570 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14571
14572         * Spacing.h (Spacing): Set space to Default on in the default
14573         constructor.
14574
14575 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14576
14577         * vc-backend.h (RCS::versionString): add RCS to version
14578         (CVS::versionString): add CVS to version
14579
14580         * vc-backend.C (scanMaster): do not add CVS to version.
14581         (scanMaster): do not add RCS to version
14582
14583         * lyxvc.C (versionString): new method
14584
14585         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14586
14587 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14588
14589         * Spacing.C (set): initialize fval
14590
14591 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14592
14593         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14594         " or \.
14595
14596 2001-08-16  Juergen Vigna  <jug@sad.it>
14597
14598         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14599
14600 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14601
14602         * BufferView_pimpl.C:
14603         * figureForm.C:
14604         * lyxtext.h:
14605         * text2.C: setParagraph takes linespacing now
14606
14607 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14608
14609         * LyxAction.C: add internal LFUN_CITATION_INSERT
14610
14611         * LyXView.C: actually apply fix
14612
14613         * bufferlist.C: fix open non-existent file
14614
14615         * lyxfind.C: fix indentation
14616
14617         * lyxfunc.C: remove unneeded assert, fix typo
14618
14619 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14620
14621         * MenuBackend.C: use "Floatname List"
14622
14623 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14624
14625         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14626         when converting LaTeX layout to insetERT.
14627         Generate a non-collapsed float when reading old float
14628
14629 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14630
14631         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14632         ERT insets.
14633
14634 2001-08-13  Juergen Vigna  <jug@sad.it>
14635
14636         * text.C (fill): return 0 instead of 20 as this seems to be the more
14637         correct value.
14638
14639 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14640
14641         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14642         lyxrc.font_norm.
14643
14644 2001-08-13  Juergen Vigna  <jug@sad.it>
14645
14646         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14647         casesensitive off.
14648         (SearchBackward): comment out the unlocking of the inset_owner this
14649         should not be needed!
14650
14651 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14652
14653         * Many files: Remove inherit_language, and add latex_language
14654
14655         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14656         collapsible insets.
14657
14658 2001-08-10  Juergen Vigna  <jug@sad.it>
14659
14660         * text.C (prepareToPrint): fixed hfill-width in draw!
14661
14662         * BufferView2.C (selectLastWord): save the selection cursor as this
14663         now is cleared in the function LyXText::clearSelection!
14664
14665 2001-08-08  Juergen Vigna  <jug@sad.it>
14666
14667         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14668         BACKSPACE type functions.
14669
14670         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14671         is only cutted from the document but not put in the cut-buffer, where
14672         still the old stuff should be.
14673
14674         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14675
14676         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14677
14678         * tabular.C (SetWidthOfCell): fixed special case where the width
14679         was not updated!
14680         (LeftLine): handle '|' in align_special.
14681         (RightLine): ditto
14682         (LeftAlreadyDrawed): ditto
14683         (SetWidthOfCell): ditto
14684
14685 2001-08-07  Juergen Vigna  <jug@sad.it>
14686
14687         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14688
14689 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14690
14691         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14692         * lyxlex.[hC]: ditto
14693
14694 2001-08-06  Juergen Vigna  <jug@sad.it>
14695
14696         * text.C (getVisibleRow): fix up row clearing a bit.
14697
14698 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14699
14700         * minibuffer.C: make sure the X server sees the changes in the input.
14701
14702 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14703
14704         * paragraph.C (getFont): split into...
14705         (getLabelFont): this
14706         (getLayoutFont): and this
14707         * paragraph_pimpl.C (realizeFont): calling this
14708
14709         * text2.C (getFont): split into...
14710         (getLayoutFont): this
14711         (getLabelFont): and this
14712         (realizeFont): all three calling this
14713
14714         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14715         files where used.
14716
14717 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14718
14719         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14720
14721 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14722
14723         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14724         layouts from the Quote inset insertion.
14725
14726 2001-08-03  Juergen Vigna  <jug@sad.it>
14727
14728         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14729
14730         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14731         only if status not is already CHANGED_IN_DRAW (second level).
14732
14733         * text.C (draw): don't set the need_break_row when inside an
14734         InsetText LyXText.
14735
14736 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14737
14738         * buffer.C (parseSingleLyXformat2Token): handle more latex
14739         conversion cases.
14740
14741         * bufferview_funcs.[hC]: change function names to
14742         begin with small char, adjust other files.
14743
14744 2001-08-02  André Pönitz <poenitz@gmx.net>
14745
14746         * lyxfunc.C:
14747         BufferView_pimpl.C: remove broken special code for math-greek
14748
14749 2001-08-02  Juergen Vigna  <jug@sad.it>
14750
14751         * BufferView_pimpl.C (update): redone this function so that we
14752         update the text again if there was a CHANGE_IN_DRAW.
14753
14754         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14755         (drawFromTo): added a new internal bool which is used by draw() and
14756         redraw() function.
14757         (general): some cursor drawing problems fixed.
14758
14759 2001-08-01  Juergen Vigna  <jug@sad.it>
14760
14761         * lyxfind.C (LyXFind): fixed
14762         (SearchForward): ditto
14763         (SearchBackward): ditto
14764
14765         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14766         spurius drawing of the cursor in the main area.
14767
14768         * text2.C (status): small fix which could lead to a segfault!
14769         (clearSelection): remove unneeded BufferView param.
14770
14771 2001-08-01  André Pönitz <poenitz@gmx.net>
14772
14773         * lyxfunc.C: small change due to changed mathed interface
14774
14775 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14776
14777         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14778
14779 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14780
14781         * lyxfunc.c: fail gracefully if file doesn't exist
14782
14783         * LyXSendto.C:
14784         * buffer.C:
14785         * lyxfunc.C:
14786         * BufferView_pimpl.C: IsDirWriteable() proto changed
14787
14788         * LyXView.C: fix updateWindowTitle() to store the last title
14789
14790 2001-07-31  Juergen Vigna  <jug@sad.it>
14791
14792         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14793         the font (wrong since using of Paragraph::highestFontInRange).
14794
14795         * paragraph.C (highestFontInRange): added a default_size parameter.
14796
14797         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14798         (setHeightOfRow): reformat
14799
14800 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14801
14802         * converter.[hC] + affected files: move to (inital-char)lowercase
14803         function names.
14804
14805         * ParagraphParameters.C (ParagraphParameters): remove commented code
14806
14807         * PainterBase.[Ch]: remove commented code
14808
14809         * LaTeXFeatures.h: add "bool floats" for float.sty
14810
14811         * LaTeXFeatures.C (LaTeXFeatures): init floats
14812         (require): handle float
14813         (getPackages): do it with floats
14814
14815 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14816
14817         * BufferView_pimpl.C (Dispatch): improve handling of
14818         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14819
14820         * commandtags.h: #include lyxfont.h here temporarily to avoid
14821         keybinding bug.
14822
14823         * bufferlist.h: include LString.h here.
14824
14825 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14826
14827         * text2.C (getStringToIndex): new method.
14828
14829 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14830
14831         * *: Reduced header file dependencies all over.
14832
14833 2001-07-30  Baruch Even  <baruch@lyx.org>
14834
14835         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14836
14837 2001-07-29  Baruch Even  <baruch@lyx.org>
14838
14839         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14840
14841 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14842
14843         * ParameterStruct.h (endif): add a default constructor to make
14844         sure that all variables is initialized.
14845
14846         * ParagraphParameters.C (ParagraphParameters): adjust
14847
14848 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14849
14850         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14851         index; also, check that there is something to index, and that it
14852         does not span over several paragraphs.
14853         (doubleClick): use WHOLE_WORD_STRICT for double click.
14854
14855         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14856
14857         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14858         scheme.
14859
14860 2001-07-26  Baruch Even  <baruch@lyx.org>
14861
14862         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14863         an InsetFig figure, backwards compatible reading of old figure code.
14864
14865 2001-07-27  Juergen Vigna  <jug@sad.it>
14866
14867         * text2.C: font.realize function adaption.
14868
14869         * text.C (draw): add a warnings lyxerr text if needed.
14870
14871         * layout.C: font.realize function adaption.
14872
14873         * language.C: add inherit_language and implement it's handlings
14874
14875         * bufferview_funcs.C (StyleReset): remove language parameter from
14876         font creation (should be language_inherit now).
14877
14878         * bufferparams.C (writeFile): handle ignore_language.
14879
14880         * paragraph.C (getFontSettings): the language has to be resolved
14881         otherwise we have problems in LyXFont!
14882
14883         * lyxfont.C (lyxWriteChanges): added document_language parameter
14884         (update): removed unneeded language parameter
14885
14886         * paragraph.C (validate): fixed wrong output of color-package when
14887         using interface colors for certain fonts in certain environments,
14888         which should not seen as that on the final output.
14889
14890 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14891
14892         * BufferView_pimpl.C:
14893         * Thesaurus.h:
14894         * Thesaurus.C:
14895         * Makefile.am:
14896         * commandtags.h:
14897         * LyXAction.C: add thesaurus support
14898
14899         * lyxfind.h:
14900         * lyxfind.C: add "once" parameter, for thesaurus, to not
14901           move to the next match
14902
14903 2001-07-26  Juergen Vigna  <jug@sad.it>
14904
14905         * lyxfont.C (realize): honor ignore_language too!
14906         (resolved): ditto.
14907
14908         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14909
14910         * text.C (draw): one place more for ignore_language to not draw
14911         itself!
14912
14913 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14914
14915         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14916
14917 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14918
14919         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14920         the minipage conversion problem.
14921
14922 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14923
14924         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14925         insert an inset.
14926
14927 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14928
14929         * BufferView.h: don't forward declare WorkArea
14930
14931         * BufferView.C: don't include WorkArea.h
14932
14933 2001-07-25  André Pönitz <poenitz@gmx.net>
14934
14935         * commandtags.h:
14936         * LyXAction.C:
14937         * lyxfunc.C:  new LFUN 'math-space'
14938
14939         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14940
14941 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14942
14943         * text2.C (toggleInset): call open/close
14944
14945 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14946
14947         * lyxfunc.C (dispatch): add debug for the disabled case
14948
14949         * font.C (buttonText): make similar to rectText
14950
14951         * buffer.C (readInset): comment out parsing of insetlist and
14952         insttheorem
14953
14954         * PainterBase.C (rectText): small correction
14955
14956         * BufferView_pimpl.C: comment out insettheorem and insetlist
14957         * LyXAction.C: ditto
14958         * commandtags.h: ditto
14959
14960 2001-07-24  Juergen Vigna  <jug@sad.it>
14961
14962         * text.C (draw): honor the ignore_language.
14963
14964         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14965
14966 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14967
14968         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14969         char inset.
14970
14971 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14972
14973         * lyxtext.h: remove unused (and unimplemented) methods
14974
14975 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14976
14977         * text.C (getVisibleRow): honor background color
14978
14979         * PainterBase.h:
14980         * Painter.h: remove default color argument for fillRectangle
14981
14982         * text.C (backgroundColor): new method
14983
14984 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14985
14986         * text.C (getVisibleRow): adjust
14987
14988         * font.[Ch] (rectText): new method, metrics
14989         (buttonText): new method, metrics
14990
14991         * PainterBase.[hC]: make rectText and buttonText always draw and take
14992         fewer paramteres.
14993
14994 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14995
14996         * ToolbarDefaults.C (read):
14997         * MenuBackend.C (read): allow escaping in all strings
14998
14999         * BufferView_pimpl.C (insertAndEditInset): new method.
15000         (Dispatch): use insertAndEditInset whenever appropriate.
15001
15002         * BufferView_pimpl.C (insertNote): removed
15003
15004         * BufferView_pimpl.C (smartQuote): new method, moved from
15005         BufferView; if an insetquote cannot be inserted, insert a '"'
15006         character instead.
15007
15008         * BufferView2.C: remove insertCorrectQuote();
15009
15010         * lyxfunc.C (getStatus): Add support for all remaingin
15011         inset-insert lfuns.
15012
15013         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15014
15015         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15016         command (necessary to pass " as parameter of self-insert.
15017
15018         * text.C (selectWordWhenUnderCursor):
15019         (selectWord): add word_location parameter
15020         (selectWordWhenUnderCursor): same + remove special code for word
15021         boundary.
15022         (selectNextWord): use kind() to guess type of insetspecialchar,
15023         not latex().
15024
15025         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15026         (insertErtContents): create ert insets as collapsed.
15027         (readInset): better compatibility code for Info inset.
15028
15029 2001-07-20  Juergen Vigna  <jug@sad.it>
15030
15031         * lyxfunc.C (dispatch): use always LyXFind now!
15032
15033         * text2.C (init): add a reinit flag so that the LyXText can be
15034         reinited instead of deleted and reallocated (used in InsetText).
15035
15036         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15037
15038         * text.C: ditto
15039
15040         * text2.C: ditto
15041
15042 2001-07-18  Juergen Vigna  <jug@sad.it>
15043
15044         * text.C (selectNextWord): handle insets inside inset by calling
15045         always the bv->text functions so that we can go up the_locking_inset!
15046
15047         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15048         in strange locations when inside an inset!
15049
15050         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15051         handling to include insets.
15052
15053         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15054
15055 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15056
15057         * LyXAction.C (init):
15058         * commandtags.h:
15059         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15060         LIGATURE_BREAK, since the name is so stupid.
15061
15062 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15063
15064         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15065         InsetInfos.
15066
15067         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15068
15069         * sp_form.[Ch]: remove.
15070
15071         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15072
15073         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15074         InsetInfo.
15075
15076         * src/buffer.C (readInset): ditto.
15077
15078 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15079
15080         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15081         menuSeparator(), endOfSentenceDot(), ldots() and
15082         hyphenationPoint(), which are therefore removed.
15083         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15084
15085         * LyXAction.C (init):
15086         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15087
15088         * paragraph.C (getWord): removed.
15089
15090         * BufferView_pimpl.C (Dispatch): use last word or selection for
15091         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15092
15093         * lyx_main.C (queryUserLyXDir): do not ask before creating
15094         user_dir, except if it has been named explicitely.
15095
15096 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15097
15098         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15099         a document of zero size.
15100
15101 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15102
15103         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15104         approriately in the c-tor and in require().
15105         (getPackages): output the appropriate LaTeX for natbib support.
15106
15107         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15108         variables "use_natbib" and "use_numerical_citations" when reading the
15109         LyX file.
15110         (readInset): read the various natbib cite commands.
15111         (validate): white-space change.
15112
15113         * bufferparams.[Ch]: new variables "bool use_natbib" and
15114         "bool use_numerical_citations".
15115         (writeFile): output them in the LyX file.
15116
15117 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15118
15119         * lyxfunc.C (getStatus): add support for all the inset insertion
15120         commands.
15121
15122         * text2.C (insertInset):
15123         * paragraph.C (insetAllowed):
15124         * BufferView_pimpl.C (insertInset): update to take in account the
15125         renaming of insertInsetAllowed
15126
15127         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15128
15129         * text2.C (getInset): new method. returns inset at cursor position.
15130
15131         * BufferView_pimpl.C (Dispatch): changes because of this.
15132
15133         * LyXAction.C (init): rename open-stuff to inset-toggle.
15134
15135         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15136
15137         * text2.C (toggleInset): renamed from openStuff; use
15138         Inset::open().
15139
15140 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15141
15142         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15143
15144         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15145
15146 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15147
15148         * buffer.C (readLyXformat2): Add filename to the error dialog
15149
15150 2001-07-18  Juergen Vigna  <jug@sad.it>
15151
15152         * tabular.C (GetCellNumber): put an assert here instead of the check!
15153
15154 2001-07-17  Juergen Vigna  <jug@sad.it>
15155
15156         * BufferView_pimpl.C (toggleSelection): adapted too.
15157
15158         * text.C (selectNextWord): adapted for use with insets.
15159         (selectSelectedWord): ditto
15160
15161 2001-07-17  Juergen Vigna  <jug@sad.it>
15162
15163         * sp_spell.C (PSpell): fix initialitation order.
15164
15165 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15166
15167         * paragraph.C: spacing
15168
15169 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15170
15171         * sp_spell.C: repair language selection for pspell
15172
15173 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15174
15175         * lyxfunc.h: change more methods to begin with lower char.
15176
15177 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15178
15179         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15180         for unknown layouts.
15181
15182 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15183
15184         * buffer.C (readLyXformat2): Generate an error dialog if there are
15185         unknown layouts.
15186
15187 2001-07-16  Juergen Vigna  <jug@sad.it>
15188
15189         * sp_spell.C: always compile ISpell part.
15190
15191         * lyxrc.C: added use_pspell entry and it's handling.
15192
15193 2001-07-13  Juergen Vigna  <jug@sad.it>
15194
15195         * sp_spell.C: removed double includes.
15196
15197 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15198
15199         Consistent use of Lsstream.h:
15200         * Lsstream.h: added using std::stringstream for consistencies sake.
15201
15202         * buffer.C: removed using std::stringstream
15203
15204         * lyxfont.C (stateText):
15205         * paragraph.C (asString):
15206         * text.C (selectNextWord, selectSelectedWord):
15207         * text2.C (setCounter):
15208         * vspace.C (asString, asLatexString):
15209         std::ostringstream -> ostringstream.
15210
15211 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15212
15213         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15214         * commandtags.h: add LFUN_HELP_ABOUTLYX
15215         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15216
15217 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15218
15219         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15220         cursorToggle()
15221         * lyx_gui_misc.C: remove spellchecker
15222         * lyxfunc.C: showSpellchecker
15223         * sp_base.h: added
15224         * sp_ispell.h: added
15225         * sp_pspell.h: added
15226         * sp_spell.C: added
15227         * sp_form.[Ch]: removed
15228         * spellchecker.[Ch]: removed
15229
15230 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15231
15232         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15233         is set.
15234         (simpleTeXSpecialChars): Simply print the input character without
15235         any special translation if pass_thru is set.
15236
15237         * layout.h: Added bool pass_thru to layout class for being able to
15238         implement pass through of a paragraph for Literate Programming.
15239
15240         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15241         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15242         * layout.C (Read): add "passthru" to list of layout tags and add
15243         code to set the pass_thru boolean when it is read.
15244
15245 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15246
15247         * trans_decl.h: remove allowed from KmodInfo
15248
15249         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15250         remove allowed code
15251         (Load): adjust
15252
15253         * paragraph_pimpl.C (erase): use boost::prior
15254
15255         * Painter.C (text): use data() instead of c_str() when length is
15256         also provided.
15257         * WorkArea.C (putClipboard): ditto
15258         * font.h (width): ditto
15259
15260         * BufferView2.C: use it-> instead of (*it). for iterators
15261         * texrow.C: ditto
15262         * paragraph_pimpl.C: ditto
15263         * paragraph.C: ditto
15264         * minibuffer.C: ditto
15265         * language.C: ditto
15266         * kbmap.C: ditto
15267         * encoding.C: ditto
15268         * counters.C: ditto
15269         * converter.C: ditto
15270         * chset.C: ditto
15271         * Variables.C: ditto
15272         * TextCache.C: ditto
15273         * MenuBackend.C: ditto
15274         * LyXAction.C: ditto
15275         * LColor.C: ditto
15276         * FloatList.C: ditto
15277         * DepTable.C: ditto
15278         * ColorHandler.C (LyXColorHandler): ditto
15279
15280 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15281
15282         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15283
15284         * text2.C (openStuff): reintroduce this method (which had been
15285         nuked in NEW_INSETS frenzy).
15286
15287         * lyxfunc.C (Dispatch): when an action has not been handled, use
15288         its name in the error message, not its number.
15289
15290         * paragraph.C (inInset): change method name to begin with lowercase.
15291
15292         * undo_funcs.C:
15293         * text2.C: updates because of this.
15294
15295 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15296
15297         * ToolbarDefaults.C (add): add spaces in error message
15298
15299 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15300
15301         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15302         (readLyXformat2): rename return_par to first_par, use lyxlex's
15303         pushToken and remove the manual push handling.
15304         (parseSingleLyXformat2Token): add another ert comp. variable:
15305         in_tabular, rename return_par to first_par. handle newlines better
15306
15307 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15308
15309         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15310
15311 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15312
15313         * text2.C (getParFromID): removed
15314
15315         * buffer.C (getParFromID): new method moved form lyxtext.
15316         * BufferView2.C (insertErrors): adjust
15317         (setCursorFromRow): adjust
15318         * BufferView_pimpl.C (restorePosition): adjust
15319         * lyxfunc.C (Dispatch): adjust
15320         * undo_funcs.C (textUndo): adjust
15321         (textRedo): adjust
15322         (textHandleUndo): adjust
15323         (textHandleUndo): adjust
15324
15325 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15326
15327         * buffer.C: up' the LYX_FORMAT
15328
15329         * lyxfont.h: turn NO_LATEX on as default
15330
15331         * buffer.C (insertErtContents): new methods of tex style compability.
15332         (parseSingleLyXformat2Token): use it several places.
15333         * tabular.C (OldFormatRead): and here
15334
15335 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15336
15337         * text2.C: remove some commented code.
15338         reindent file.
15339
15340         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15341         * trans.C: changes because of the above.
15342
15343 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15344
15345         * text2.C (setCounter): Fix counters bug with bibliography layout.
15346
15347 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15348
15349         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15350         own member functions
15351         (simpleTeXSpecialChars): ditto
15352
15353 2001-07-06  Juergen Vigna  <jug@sad.it>
15354
15355         * a lot of files: changed the access to LyXText::status and the
15356         call of undo-functions.
15357
15358         * undo.[Ch]: added a inset_id to the undo informations.
15359
15360         * undo_funcs.[Ch]: added and moved here all undo functions.
15361
15362         * lyxtext.h: give the status enum a weight, made status_ a private
15363         variable and made accessor functions for it, removed the whole bunch
15364         of undo-functions as they are now in their own file, make some
15365         functions publically available. Added function ownerParagraph with
15366         int parameter.
15367
15368         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15369         made InInset() a const function, added getParFromID() function.
15370
15371         * buffer.[Ch]: added const version for inset_iterator functions,
15372         added getInsetFromID() function.
15373
15374         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15375         changed undo functions for new version.
15376
15377 2001-07-05  Juergen Vigna  <jug@sad.it>
15378
15379         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15380         unknow mechanism does not call the proper constructor but only this
15381         one also if I request the other!?
15382
15383 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15384
15385         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15386
15387         * text2.C (LyXText): use initialization lists.
15388
15389         * lyxtext.h (Selection): initialize set_ and mark_
15390         (init): remove method
15391
15392 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15393
15394         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15395
15396 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15397
15398         * screen.[Ch]: change method names to begin with lowercase
15399
15400         * BufferView_pimpl.C (updateScrollbar): simplify further and
15401         hopefully make it a bit faster.
15402
15403 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15404
15405         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15406         calling directly xforms functions.
15407
15408         * Painter.C (Painter):
15409         * lyx_cb.C (MenuWrite):
15410         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15411         fl_display.
15412
15413         * lyx_gui.C: remove bogus guiruntime extern declaration.
15414
15415 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15416
15417         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15418         in NEW_INSETS
15419         (redoDrawingOfParagraph): ditto
15420         (redoParagraphs): ditto
15421         (cutSelection): don't create a object for CutAndPaste use the
15422         static method directly
15423         (pasteSelection): ditto
15424
15425         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15426         LyXview (+ rename)
15427
15428 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15429
15430         * modifications to some other files because of this.
15431
15432         * Makefile.am (lyx_SOURCES): add XFormsView
15433
15434         * XFormsView.[Ch]: new files
15435
15436         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15437         the main window. Move the gui dependent stuff to XFormsView
15438
15439 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15440
15441         * tabular.C (GetCellInset): update cur_cell also in the row/col
15442         version of this function.
15443
15444         * lyxfunc.C: no need to include figure_form.h here.
15445
15446         * FontLoader.h:
15447         * lyxfunc.h:
15448         * lyxscreen.h:
15449         * text2.C:
15450         * lyxvc.C: no need to include forms.h here.
15451
15452 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15453
15454         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15455
15456         * lyxfunc.C (Dispatch):
15457         * Spacing.C (set):
15458         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15459         constructor argument.
15460
15461 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15462
15463         * paragraph.C (Paragraph): dont't clear, and just set layout.
15464         (makeSameLayout): use params's copy contructor.
15465
15466         * ParagraphParameters.[Ch] (makeSame): delete method
15467
15468 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15469
15470         * Variables.[Ch]: fix indentation, rename set to isSet
15471
15472 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15473
15474         * lyxfunc.C (Dispatch): fix typo
15475
15476 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15477
15478         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15479         upper_bound.
15480
15481         * bufferlist.C: include assert.h for emergencyWrite().
15482
15483 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15484
15485         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15486           give up at last (bug #425202) !
15487
15488 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15489
15490         * lyx_gui_misc.C:
15491         * sp_form.h:
15492         * sp_form.C:
15493         * spellchecker.h:
15494         * spellchecker.C: strip spellchecker options and bring up
15495           preferences tab instead
15496
15497 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15498
15499         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15500         the istringstream constructor
15501
15502 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15503
15504         * paragraph.C (getLayout): fix return value
15505
15506         * paragraph.h: do not declare getLayout as inline.
15507
15508         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15509
15510 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15511
15512         * lyxcursor.h (operator<): new func
15513         (operator>): new func
15514         (operator>=): new func
15515         (operator<=): new func
15516
15517         * text.C (changeCase): use selection.start and selection.end
15518         (changeRegionCase): require from to be <= to. Require par to be a
15519         valid paragraph.
15520
15521         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15522
15523 2001-06-27  Juergen Vigna  <jug@sad.it>
15524
15525         * text.C (cursorLeftOneWord): changed to return the cursor and added
15526         overlay with BufferView * parameter which calls this one.
15527         (getWord): added
15528         (selectWord): use new getWord function.
15529         (changeCase): renamed from changeWordCase as and extended to work
15530         also on selections.
15531
15532         * lyxtext.h: added enum word_location
15533
15534         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15535         changeCase as this operates now also on selections.
15536
15537 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15538
15539         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15540
15541         * many files: send debug output to Debug::INFO instead of
15542         Debug::ANY.
15543
15544         * converter.C (View):
15545         (Convert):
15546         (Move): send debug output to Debug::FILES instead of console.
15547
15548 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15549
15550         * lyxfunc.C (getStatus): use func_status
15551
15552         * func_status.h: new header, describing the results of
15553         LyXFunc::getStatus;
15554
15555         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15556         LFUN_MATH_HALIGN.
15557
15558 2001-06-25  The LyX Project  <jug@sad.it>
15559
15560         * buffer.C (sgmlOpenTag):
15561         (sgmlCloseTag):
15562         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15563
15564 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15565
15566         * text2.C: remove some dead code
15567
15568         * tabular.C (GetCellInset): store the last cell checked (gotten)
15569
15570         * tabular.h: add the helper for the speedup
15571
15572         * lyxtext.h: remove some dead code
15573
15574 2001-06-26  The LyX Project  <Asger>
15575
15576         * paragraph.C: Change export to LaTeX of alignment to
15577         \begin{center} and family for better roundtrip work with reLyX.
15578
15579         * Tune the math drawing a bit.
15580
15581 2001-06-25  The LyX Project  <Asger>
15582
15583         * LColor.C (LColor): New color for math background. New color
15584         for buttons.
15585
15586 2001-06-25  The LyX Project  <jug@sad.it>
15587
15588         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15589
15590         * lyxfunc.C (Open):
15591         * bufferlist.C (newFile): do not restrict to files ending with
15592         .lyx
15593
15594         * BufferView_pimpl.C (MenuInsertLyXFile):
15595
15596 2001-06-24  The LyX Project  <jug@sad.it>
15597
15598         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15599         of compare_no_case
15600
15601 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15602
15603         * lyxtext.h: rename most methods to begin with a small char.
15604         Lots of changes because of this.
15605
15606         * paragraph.C (Paragraph): do not call fitToSize
15607         (erase): call Pimpl::erase
15608         (insertChar): call Pimpl::insertChar
15609         (insertInset): call Pipl::insertInset
15610         (breakParagraph): do not call fitToSize
15611         (breakParagraphConservative): do not call fitToSize
15612         (fitToSize): remove method
15613
15614         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15615
15616 2001-06-24  The LyX Project  <Asger>
15617
15618         * Fix Qt compilation^2
15619
15620 2001-06-24  The LyX Project  <jug@sad.it>
15621
15622         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15623         depthHook(getDepth()-1).
15624
15625         * paragraph.h:
15626         * ParagraphParameters.h:
15627         * ParameterStruct.h: change type of depth to unsigned int ==
15628         depth_type. Many adaptations to other files before of that.
15629
15630 2001-06-24  The LyX Project  <Asger>
15631
15632         * Fix Qt compilation.
15633
15634 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15635
15636         * paragraph.h: renamed several methods to begin with small letter.
15637         several changes to many parts of the code because of this.
15638
15639 2001-06-23  The LyX Project  <jug@sad.it>
15640
15641         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15642         rewritten to discard all double spaces when KeepEmpty is off
15643         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15644         to only handle newlines but not fiddle with spaces and friends.
15645
15646         * lyxfunc.C (MenuNew): when doing 'new from template', use
15647         template_path as default directory
15648
15649 2001-06-23  The LyX Project  <Asger>
15650
15651         * Clean-up of header file includes all over
15652         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15653
15654 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15655
15656         * paragraph.h: renamed from lyxparagraph.h
15657
15658 2001-06-23  Asger  <lyx@violet.home.sad.it>
15659
15660         * Buffer.h: Removed Buffer::resize
15661         * BufferList.h: Removed BufferList::resize
15662         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15663         the document lazily when we change the width, or the font settings.
15664
15665 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15666
15667         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15668
15669 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15670
15671         * buffer.h: remove out of date comment
15672
15673 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15674
15675         * lyxscreen.h:
15676         * screen.C: fix "theoretical" GC leak
15677
15678 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15679
15680         * LaTeX.C (scanAuxFile):
15681         (deplog): remove trailing \r when reading stream (useful under
15682         win32)
15683
15684 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15685
15686         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15687         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15688         and BufferView::theLockingInset(Inset*), so should use them and not
15689         access bv_->text->the_locking_inset directly.
15690
15691         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15692
15693 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15694
15695         * Makefile.am:
15696         * tex-defs.h: remove old unused file
15697
15698 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15699
15700         * BufferView_pimpl.C: fix typo, remove minibuffer message
15701           when buffer has loaded
15702
15703 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15704
15705         * lyxfunc.C (Dispatch): use stringstream
15706         (MenuNew): use stringstream
15707         (Open): use stringstream
15708
15709         * importer.C (Import): use stringstream
15710
15711         * bufferview_funcs.C (CurrentState): use stringstream
15712
15713         * LaTeX.C (run): use stringstream
15714
15715         * BufferView_pimpl.C (savePosition): use stringstream
15716         (restorePosition): use stringstream
15717         (MenuInsertLyXFile): use stringstream
15718
15719 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15720
15721         * BufferView.C:
15722         * Bullet.C:
15723         * ColorHandler.C:
15724         * FontInfo.C:
15725         * FontLoader.C:
15726         * LColor.C:
15727         * LaTeXFeatures.C:
15728         * Painter.C:
15729         * gettext.C:
15730         * lyx_gui_misc.C:
15731         * lyxserver.C:
15732         * vspace.C: removed // -*- C++ -*- as first line.
15733
15734         * lyxfind.h:
15735         * version.h: added // -*- C++ -*- as first line.
15736
15737 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15738
15739         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15740
15741         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15742         of string
15743
15744 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15745
15746         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15747         of floats.
15748
15749 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15750
15751         * gettext.C: include LString.h even when --disable-nls is on.
15752
15753 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15754
15755         * converter.h (Get): changed argument type from int to
15756         FormatList::size_type to avoid unnecessary conversion.
15757
15758         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15759         before using it.
15760
15761 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15762
15763         * gettext.h: include LString.h even when --disable-nls is on.
15764
15765 2001-06-07  Juergen Vigna  <jug@sad.it>
15766
15767         * text.C (BreakAgain): subst spaces with tabs.
15768
15769         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15770         (resizeInsetsLyXText): set force on resizeLyXText.
15771
15772 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15773
15774         * gettext.h (gettext_init):
15775         (locale_init): use a real definition instead of a macro
15776
15777 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15778
15779         * Bufferview_pimpl.C:
15780         * LColor.h:
15781         * LColor.C: further lcolor tidies
15782
15783 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15784
15785         * BufferView_pimpl.C (updateScrollbar): simplify.
15786
15787         * BufferView2.C: don't include insets/insetinfo.h, change
15788         prototype for insertInset and call the Pimpl version. let
15789         updateInset call Pimpl version.
15790
15791         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15792         gotoInset to BufferView::Pimpl
15793
15794 2001-06-01  Juergen Vigna  <jug@sad.it>
15795
15796         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15797         inside a LockingInset (is the update needed at all?).
15798
15799 2001-05-31  Juergen Vigna  <jug@sad.it>
15800
15801         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15802         here not the old one otherwise how should we compare it afterwards
15803         if it's the same!
15804
15805 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15806
15807         * lyxfont.C:
15808         * tabular.C:
15809         * tabular-old.C:
15810         * FontInfo.C: bring C functions into global namespace when
15811         necessary
15812
15813 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15814
15815         * LString.h: make sure config.h has been loaded before LString.h.
15816
15817         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15818         (one for each char read by EatLine!).
15819
15820         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15821         variables.
15822
15823 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15824
15825         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15826         to the same as the par we break from
15827
15828 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15829
15830         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15831
15832         * MenuBackend.C (expand): also create menu entries for wide
15833         versions of the floats.
15834
15835         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15836
15837         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15838
15839         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15840         frontends/Makefile.am
15841
15842         * text2.C: adjust
15843         * text.C: adjust
15844
15845
15846         * tabular.C (getTokenValue): add std::
15847
15848         * tabular-old.C (getTokenValue): add std::
15849         (getTokenValue): ditto
15850         (getTokenValue): ditto
15851
15852         * screen.C (ToggleSelection): adjust
15853
15854         * lyxtext.h: put selection cursors inside a Selection struct.
15855
15856         * lyxfunc.C (moveCursorUpdate): adjust
15857
15858         * lyxfont.C (latexWriteStartChanges): add std::
15859
15860         * lyxfind.C: adjust
15861
15862         * font.h: delete with(char const *, LyXFont const &)
15863
15864         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15865
15866         * FontInfo.C (getFontname): add std::
15867
15868         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15869         (workAreaButtonPress): adjust
15870         (tripleClick): adjust
15871         (update): adjust
15872         (moveCursorUpdate): adjust
15873         (Dispatch): adjust
15874
15875         * BufferView2.C (gotoInset): adjust
15876
15877 2001-05-30  Juergen Vigna  <jug@sad.it>
15878
15879         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15880         to check pspell I add this as default as I now have new pspell
15881         libraries and they seem to use this.
15882
15883 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15884
15885         * text2.C (CutSelection): make the cursor valid before the call to
15886         ClearSelection.
15887
15888 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15889
15890         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15891         relied on 0 terminated strings and other horrors. Bug found due to
15892         the new assert in lyxstring!
15893
15894         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15895         KP_ keys.
15896
15897 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15898
15899         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15900         to latinkeys.bind.
15901
15902         * lyxfunc.C (processKeySym): change method of getting to the
15903         self-insert char.
15904
15905         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15906         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15907         * BufferView_pimpl.[Ch]: here as private methods.
15908
15909 2001-05-28  Juergen Vigna  <jug@sad.it>
15910
15911         * text.C (SetHeightOfRow): added the update() call again as it is
15912         needed to initialize inset dimensions!
15913
15914 2001-05-16  Juergen Vigna  <jug@sad.it>
15915
15916         * text2.C (SetCharFont): Add new function with BufferView * and
15917         bool toggleall parameters for setting insets internal fonts.
15918         (SetFont): Freeze the undo as we may change fonts in Insets and
15919         all this change should be inside only one Undo!
15920
15921         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15922         setting font's in insets as for them we have the SetFont function!
15923
15924 2001-05-15  Juergen Vigna  <jug@sad.it>
15925
15926         * text2.C (ClearSelection): to be sure we REALLY don't have any
15927         selection anymore!
15928
15929         * tabular.C (TeXCellPreamble): fixed the left border problem for
15930         multicolumn cells.
15931
15932 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15933
15934         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15935         dependancy file
15936
15937 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15938
15939         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15940         LFUN_BREAKPARAGRAPH.
15941
15942         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15943         help test to "internal only", similar for LFUN_INSERT_URL
15944
15945         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15946         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15947         auto_region_delete and deadkeys.
15948
15949 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15950
15951         * LColor.h:
15952         * LColor.C: remove some dead entries, tidy a little
15953
15954 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15955
15956         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15957         commented code.
15958         (Dispatch): implement LFUN_ESCAPE
15959
15960         * commandtags.h: add LFUN_ESCAPE
15961
15962         * LyXAction.C (init): add entry for LFUN_ESCAPE
15963
15964         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15965         Remove commented code.
15966         (insertNote): moved here
15967         (open_new_inset): moved here
15968
15969         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15970         BufferView_pimpl
15971
15972 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15973
15974         * kbmap.C (findbinding): clean it up and make it work correctly.
15975
15976         * lyx_main.C (init): do not pass argc and argv as parameters
15977
15978 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15979
15980         * buffer.C: fix path for OS/2 & Win32
15981
15982         * lyx_gui.C:
15983         * lyx_main:
15984         * lyx_main.C: Added os:: class.
15985
15986         * os2_defines.h: update
15987
15988 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15989
15990         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15991         better by trying again with reduced state.
15992
15993 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15994
15995         * lyxrc.C (read): print error about invalid key sequence only when
15996         debugging (because not all latinX keysyms are known to some X
15997         servers)
15998
15999         * kbsequence.C (getiso): add a few std:: qualifiers
16000         (getiso): comment out extra return statement.
16001
16002 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16003
16004         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16005         handling.
16006         (Dispatch): enhance the accent inset a bit. (not perfect)
16007
16008 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16009
16010         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16011
16012 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16013
16014         * bufferlist.C (emergencyWrite): fix assert() call
16015
16016 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16017
16018         * text.C (InsertChar): Added trivial patch to only send the "you
16019         can not do multiple spaces this way" message once during a
16020         session.
16021
16022 2001-05-08  Baruch Even  <baruch@lyx.org>
16023
16024         * Makefile.am: Changed order of libraries to get LyX to link properly
16025         with the gnome frontend.
16026
16027 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16028
16029         * LaTeXFeatures.h: add a std:: qualifier
16030
16031 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16032
16033         * paragraph.C (String): use stringstream
16034
16035 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16036
16037         * paragraph.C (writeFile): remove footflag arg
16038
16039         * buffer.C (makeLaTeXFile): use stringstream
16040         (latexParagraphs): remove footnot gurba
16041
16042         * LaTeXFeatures.C (getPackages): use stringstream
16043         (getMacros): likewise
16044         (getTClassPreamble): likewise
16045         (getFloatDefinitions): new method
16046
16047         * paragraph.C (writeFile): reindent
16048         (Erase): reindent
16049
16050         * WorkArea.h: revert the xpos + etc changes.
16051
16052         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16053
16054         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16055
16056         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16057         (pasteSelection): likewise
16058         * text2.C (CreateUndo): likewise
16059
16060 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16061
16062         * minibuffer.C (peek_event): temporarily reduce the functionality
16063         of the minibuffer (to allow args on lfuns)
16064
16065         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16066         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16067
16068         * buffer.C (readInset): add compability reading of old float
16069         lists, add reading of new style float list.
16070         (readInset): avoid reevaluation of inscmd.getCmdName()
16071         (getLists): reindent
16072
16073         * MenuBackend.C (MenuItem): implement parsing of
16074         md_floatlistinsert and md_floatinsert.
16075         (expand::LastFiles): move initalizaton of iterators out of loop,
16076         avoid reevaluation.
16077         (expand::Documents): introduce typdedef vector<string> Strings,
16078         and use it.
16079         (expand::ExportFormats): introduce typedef vector<Format const *>
16080         Formats, and use it.
16081         (expand): implement FloatListInsert and FloatInsert.
16082
16083         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16084         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16085         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16086
16087         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16088         handling.
16089         (Dispatch::LFUN_FLOAT_LIST): implement
16090
16091 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16092
16093         * LaTeX.C (run): Fix problem with --export code.
16094
16095 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16096
16097         * BufferView.[Ch] (workarea): removed.
16098         (getClipboard) new method; wrapper for workarea()->getClipboard()
16099
16100         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16101         bug.
16102
16103         * WorkArea.h (width, height, xpos, ypos): These methods all
16104         returned the dimensions of the work_area sub-area of WorkArea,
16105         resulting in a position error if the WorkArea were resized. Now
16106         return the dimensions of the entire WorkArea.
16107
16108         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16109
16110 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16111
16112         * LaTeX.C (deplog): correct the syntax of regex reg1
16113
16114 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16115
16116         * undo.C: remove !NEW_INSETS cruft
16117
16118 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16119
16120         * text2.C: remove !NEW_INSETS cruft
16121
16122         * text.C: remove !NEW_INSETS cruft
16123
16124         * tabular.C: remove !NEW_INSETS cruft
16125
16126         * spellchecker.C: remove !NEW_INSETS cruft
16127
16128         * lyxtext.h: remove !NEW_INSETS cruft
16129
16130         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16131
16132         * lyxfunc.C: remove !NEW_INSETS cruft
16133
16134         * lyxfind.C: remove !NEW_INSETS cruft
16135
16136         * lyx_cb.C: remove !NEW_INSETS cruft
16137
16138         * figureForm.C: remove  !NEW_INSETS cruft
16139
16140         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16141
16142         * buffer.[Ch]: remove !NEW_INSETS cruft
16143
16144         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16145
16146         * CutAndPaste.C: remove !NEW_INSETS cruft
16147
16148         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16149
16150         * BufferView2.C: remove !NEW_INSETS cruft
16151
16152         * BufferView.h: remove !NEW_INSETS cruft
16153
16154 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16155
16156         * Lsstream.h: include LString.h before the sstream headers to
16157         fix problem with gcc 2.95.3 and lyxstring
16158
16159 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16160
16161         * lyx_main.C: add using directives when needed for C functions
16162         declared in std:: namespace.
16163
16164 2001-04-27  Juergen Vigna  <jug@sad.it>
16165
16166         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16167         (SetHeightOfRow): comment out the update call should not be needed!
16168
16169 2001-04-13  Juergen Vigna  <jug@sad.it>
16170
16171         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16172         (LyXTabular): tried to minimize operator= operations (and realized
16173         hopfully Lars wish).
16174
16175 2001-04-27  Juergen Vigna  <jug@sad.it>
16176
16177         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16178
16179 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16180
16181         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16182
16183         * buffer.C (readInset): hack to make listof algorithm work
16184
16185         * BufferView_pimpl.C: hack to make listof algorithm work
16186
16187 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16188
16189         * LyXAction.C: removed all !NEW_INSETS cruft
16190         (init): moved lfun_item in method
16191
16192         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16193
16194 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16195
16196         * BufferView2.C (theLockingInset): white space.
16197
16198 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16199
16200         * minibuffer.C: include <iostream>
16201
16202         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16203
16204         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16205
16206         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16207
16208         * text.[Ch] (TransposeChars): new method
16209
16210 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16211
16212         * call message directly through LyXView instead of through LyXFunc
16213         * BufferView2.C: adjust
16214         * BufferView_pimpl.C: adjust
16215         * FontLoader.C: adjust
16216         * buffer.C: adjust
16217         * bufferview_funcs.C: adjust
16218         * converter.C: adjust
16219         * figureForm.C: adjust
16220         * importer.C: adjust
16221         * lyx_cb.C: adjust
16222         * lyx_gui_misc.C: adjust
16223         * lyxfunc.C: adjust
16224         * lyxvc.C: adjust
16225         * text2.C: adjust
16226         + more files in subdirs
16227
16228         * lyxparagraph.h (size): move up int file
16229         (GetLayout): ditto
16230
16231         * adjust all uses of Assert to lyx::Assert.
16232
16233         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16234         lyxfunctional in namespace lyx
16235         * layout.C (hasLayout): ditto
16236         (GetLayout): ditto
16237         (GetLayout): ditto
16238         (delete_layout): ditto
16239         (NumberOfClass): ditto
16240         * converter.C (GetFormat): ditto
16241         (GetNumber): ditto
16242         (Add): ditto
16243         (Delete): ditto
16244         (SetViewer): ditto
16245         * bufferlist.C (getFileNames): ditto
16246         (emergencyWriteAll): ditto
16247         (exists): ditto
16248         (getBuffer): ditto
16249         * MenuBackend.C (hasSubmenu): ditto
16250         (hasMenu): ditto
16251         (getMenu): ditto
16252         * BufferView_pimpl.C (getInsetByCode): ditto
16253
16254 2001-04-18  Juergen Vigna  <jug@sad.it>
16255
16256         * vspace.C (asLatexString): fixed the 100% problem.
16257
16258 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16259
16260         * lyxfunc.C (Dispatch):
16261         * minibuffer.C:
16262         * minibuffer.h: add a few std:: qualifiers
16263
16264 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16265
16266         * minibuffer.[Ch]: reimplement so that commands is initiated and
16267         run from lyxfunc, simplified som handling, and made the completion
16268         and history code for complete. wip.
16269
16270         * lyxfunc.C (processKeySym): call message
16271         (miniDispatch): new temporary method
16272         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16273         (LFUN_MESSAGE): implement
16274         (LFUN_MESSAGE_PUSH): implement
16275         (LFUN_MESSAGE_POP): implement
16276         (initMiniBuffer): the initial/defualt minibuffer message.
16277
16278         * lyxfont.[Ch]: inline some more getters
16279
16280         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16281
16282         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16283
16284         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16285         (AutoSave): use LFUN_MESSAGE
16286         (Reconfigure): ditto
16287
16288         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16289
16290         * figureForm.C: use LFUN_MESSAGE
16291
16292         * converter.C (runLaTeX): use LFUN_MESSAGE
16293
16294         * bufferview_funcs.C: use LFUN_MESSAGE
16295         (Melt): ditto
16296         (changeDepth): ditto
16297
16298         * bufferparams.h: use boost::
16299
16300         * bufferlist.h: inherit privately from noncopyable
16301
16302         * bufferlist.C (loadLyXFile): remove some commented code.
16303
16304         * buffer.C (runChktex): use LFUN_MESSAGE
16305
16306         * ShareContainer.h: inherit privately from noncopyable
16307
16308         * ParagraphParameters.[hC] (depth): inline it.
16309
16310         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16311         methods.
16312         (message): new method
16313         (messagePush): ditto
16314         (messagePop): ditto
16315         (show): init minibuffer
16316         (showState): direct call
16317
16318         * LaTeX.[Ch]: inherit privately from noncopyable
16319         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16320         instead of WriteStatus.
16321
16322         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16323
16324         * BufferView_pimpl.C (buffer): don't init minibuffer
16325         (workAreaButtonPress): use LFUN_MESSAGE
16326         (workAreaButtonRelease): ditto
16327         (savePosition): ditto
16328         (restorePosition): ditto
16329         (MenuInsertLyXFile): ditto
16330         (workAreaExpose): don't init minibuffer
16331         (update): remove commented code, simplify
16332
16333         * BufferView2.C (openStuff): use LFUN_MESSAGE
16334         (toggleFloat): ditto
16335         (menuUndo): ditto
16336         (menuRedo): ditto
16337         (copyEnvironment): ditto
16338         (pasteEnvironment): ditto
16339         (copy): ditto
16340         (cut): ditto
16341         (paste): ditto
16342         (gotoInset): ditto
16343         (updateInset): remove some commented code
16344
16345         * lastfiles.h: inherit privately from noncopyable
16346         * layout.h: ditto
16347         * lyx_gui.h: ditto
16348         * lyx_main.h: ditto
16349         * lyxlex.h: ditto
16350         * lyxlex_pimpl.h: ditto
16351
16352         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16353         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16354         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16355
16356         * LyXAction.h: inherit privately from noncopyable, add methods
16357         func_begin, func_end, returning iterators to the func map.
16358
16359         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16360         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16361         (func_begin): new method
16362         (func_end): new method
16363
16364         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16365         and not)
16366         (copySelection): ditto
16367         (pasteSelection): ditto
16368
16369         * BufferView.C: whitespace change
16370         * BufferView.h: inherit privately from noncopyable
16371
16372 2001-04-16  Allan Rae  <rae@lyx.org>
16373
16374         * tabular-old.C (l_getline):
16375         * spellchecker.C (sc_check_word):
16376         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16377         an unrecognised preprocessor directive.  So ensure they're wrapped.
16378
16379 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16380
16381         * src/exporter.C (Export): Give an error message when path to file
16382         contains spaces.
16383
16384 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16385
16386         * LaTeX.C (deplog): Always check that foundfile exists.
16387
16388 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16389
16390         * lyx_main.h:
16391         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16392
16393 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16394
16395         * tabular.[Ch] (getLabelList): implement new method
16396
16397         * minibuffer.h: comment ouf setTiimer
16398
16399         * minibuffer.C (ExecutingCB): constify res
16400         (peek_event): constify s
16401         (Set): constify ntext
16402         (Init): constify nicename
16403
16404         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16405
16406         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16407         (savePosition): use two params to Minibuffer::Set
16408         (restorePosition): ditto
16409
16410 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16411
16412         * lyx_main.C: include language.h
16413
16414         * Makefile.am (lyx_main.o): add language.h
16415
16416 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16417
16418         * exporter.C:
16419         * paragraph.C:
16420         * screen.C:
16421         * tabular.C:
16422         * CutAndPaste.C: include gettext.h
16423
16424         * lyxfont.h: remove old hack with ON and OFF.
16425
16426         * lyxparagraph.h:
16427         * lyxfont.h: do not include language.h...
16428
16429         * BufferView2.C:
16430         * LaTeXFeatures.C:
16431         * Painter.C:
16432         * bufferview_funcs.C:
16433         * font.C:
16434         * lyxfont.C:
16435         * text.C:
16436         * text2.C:
16437         * trans_mgr.C:
16438         * paragraph.C: ... but do it here instead
16439
16440 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16441
16442         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16443
16444         * tabular.C: small reformat
16445
16446         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16447         NEW_INSETS version
16448         (GetChar): ditto
16449         (BreakParagraph): ditto
16450         (SetOnlyLayout): ditto
16451         (SetLayout): ditto
16452
16453         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16454         with one arg less.
16455
16456         * lastfiles.C: removed most using decl, add std:: where needed
16457
16458         * buffer.C: ws changes
16459
16460         * MenuBackend.C (class compare_format): put into anon namespace
16461         (expand): constify label, names, action, action2
16462         (expand):
16463
16464         * text.C (SingleWidth): constify font
16465         (IsBoundary): constify rtl2
16466         (GetVisibleRow): constify ww
16467
16468         * LaTeX.C (deplog): constify logfile
16469
16470         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16471         start_x, end_x
16472         (workAreaExpose): constify widthChange, heightChange
16473
16474         * lyxrow.C (par): moved
16475         (height): moved
16476         (next): moved
16477         * lyxrow.h: as inlines here
16478
16479         * lyxfont.h (shape): moved from lyxfont.C
16480         (emph): moved from lyxfont.C
16481
16482         * lyxfont.C (LyXFont): use initialization list for all
16483         constructors
16484         (shape): move to lyxfont.h as inline
16485         (emph): move to lyxfont.h as inline
16486
16487
16488 2001-04-04  Juergen Vigna  <jug@sad.it>
16489
16490         * vspace.C: had to include stdio.h for use of sscanf
16491
16492 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16493
16494         * BufferView.h:
16495         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16496         independent of xforms.
16497
16498 2001-04-02  Juergen Vigna  <jug@sad.it>
16499
16500         * spellchecker.C: fixed namespace placing!
16501
16502 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16503
16504         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16505         the LyXParagraph * is 0.
16506
16507 2001-03-29  Juergen Vigna  <jug@sad.it>
16508
16509         * vspace.C: added support for %, c%, p%, l%.
16510         (stringFromUnit): added helper function.
16511         (asLatexString): changed to give right results for the %-values.
16512
16513         * buffer.C: convert the widthp in a width%.
16514
16515 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16516
16517         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16518         figureForm.[Ch].
16519
16520         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16521         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16522
16523         * lyx_cb.[Ch]: see above.
16524
16525         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16526         form1.[Ch].
16527
16528         * form1.[Ch]:
16529         * lyx.[Ch]: replaced by figure_form.[Ch].
16530
16531         * lyx_gui.C:
16532         * lyx_gui_misc.C:
16533         * lyxfunc.C: changed headers associated with above changes.
16534
16535 2001-03-27  Juergen Vigna  <jug@sad.it>
16536
16537         * BufferView_pimpl.C: set the temporary cursor right!
16538
16539 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16540
16541         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16542
16543 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16544
16545         * LString.h: removed "using std::getline"!
16546
16547         * BufferView_pimpl.C (Dispatch): changes due to changes in
16548         InsetInclude::Params.
16549
16550         * buffer.C (tag_name): removed redundant break statements as they were
16551         producing lots of warnings with my compiler.
16552
16553 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16554
16555         * LString.h: add "using std::getline" when using the real <string>.
16556
16557 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16558
16559         * buffer.C: removed bitset usage.
16560         PAR_TAG moved to an anonymous name space.
16561         (tag_name): new funtion, also in the anonymous namespace.
16562         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16563         (makeDocBookFile): clean code. Completed transition from string arrays
16564         to string vectors.
16565         (SimpleDocBookOnePar): code clean.
16566
16567 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16568
16569         * tabular.C: add some comments.
16570
16571 2001-03-22  Juergen Vigna  <jug@sad.it>
16572
16573         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16574         compatibility read a bit and fixed bug with minipage in different
16575         depth.
16576
16577 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16578
16579         * buffer.C (pop_tag): removed.
16580         (push_tag): removed.
16581         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16582         array replaced with vector. Added support for CDATA sections.
16583         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16584         at any nest level.
16585         (makeDocBookFile): XML conformant declaration of CDATA section,
16586         fixed bug related to <emphasis> in the first paragraph char.
16587         (sgmlOpenTag): exclude empty tags.
16588         (sgmlCloseTag): ditto.
16589
16590         * buffer.h (pop_tag): removed.
16591         (push_tag): removed.
16592
16593 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16594
16595         * language.h (Languages): added size_type and size().
16596
16597 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16598
16599         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16600         response on compability reading of minipages. One probliem is that
16601         the old usage of minipages was «flertydig»
16602
16603         * several files here and in subdirs: don't use static at file
16604         scope use anon namespaces instead.
16605
16606 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16607
16608         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16609         LaTeX output. This is necessary for Literate document
16610         processing.
16611
16612 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16613
16614         * buffer.C: insert hfill when needed.
16615
16616         * tabular.C (l_getline): use string::erase, small whitespace change.
16617
16618         * BufferView_pimpl.C: try the anon namespace.
16619         * WorkArea.C: ditto
16620
16621 2001-03-16  Juergen Vigna  <jug@sad.it>
16622
16623         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16624         otherwise it won't open options-dialogs.
16625
16626         * buffer.C: honor pextraWidth(p) on converting minipages.
16627
16628         * tabular.C (l_getline): changed the functions to strip trailing \r.
16629
16630 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16631
16632         * BufferView_pimpl.C:
16633         * minibuffer..C: added "using SigC::slot" declaration.
16634
16635 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16636
16637         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16638
16639         * text2.C: ditto
16640
16641         * text.C: ditto
16642
16643         * paragraph.C: ditto
16644
16645         * lyxtext.h: NO_PEXTRA
16646
16647         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16648
16649         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16650         * ParameterStruct.h: ditto
16651         * ParagraphParameters.h: ditto
16652         * lyxparagraph.h: ditto
16653
16654 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16655
16656         * buffer.C: add compability for minipage alignment.
16657         (latexParagraphs): remove unwanted pextra check.
16658
16659         * several files: remove CXX_WORKING_NAMESPACES
16660
16661         * buffer.C (pop_tag): tie is in namespace boost
16662
16663         * BufferView.h: noncopyable is in namespace boost
16664         * lyxlex.h: ditto
16665         * lyx_main.h: ditto
16666         * lyx_gui.h: ditto
16667         * layout.h: ditto
16668         * lastfiles.h: ditto
16669         * bufferlist.h: ditto
16670         * ShareContainer.h: ditto
16671         * LyXView.h: ditto
16672         * LyXAction.h: ditto
16673         * LaTeX.h: ditto
16674
16675 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16676
16677         * Merging changes from BRANCH_MVC back into HEAD.
16678
16679         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16680
16681 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16682
16683         * BufferView_pimpl.C: change from intl.C
16684
16685         * combox.h:
16686         * combox.C:
16687         * Makefile.am: move combox.*
16688
16689         * form1.h:
16690         * form1.C:
16691         * lyx_gui.C:
16692         * intl.h:
16693         * intl.C: remove dialog (covered by prefs)
16694
16695 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16696
16697         * lyxfunc.C (Dispatch): removed redundant break statement.
16698
16699 2001-03-14  Juergen Vigna  <jug@sad.it>
16700
16701         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16702
16703 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16704
16705         * buffer.C: add hack to fix compability reading of minipages.
16706
16707 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16708
16709         * buffer.C (getLists): Cleanup.
16710
16711 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16712
16713         * lyxfont.C (update): don't honor toggleall on font size.
16714
16715 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16716
16717         * bmtable.c:
16718         * bmtable.h:
16719         * Makefile.am: moved to frontends/xforms/
16720
16721         * lyx_gui_misc.C:
16722         * lyxfunc.C:
16723         * BufferView_pimpl.C: changes for moved mathpanel
16724
16725 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16726
16727         * gettext.h: fix gettext_init() in --disable-nls
16728
16729 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16730
16731         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16732
16733 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16734
16735         * lyx.C:
16736         * lyx.h: strip external form
16737
16738 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16739
16740         * BufferView_pimpl.C: add comment, destroySplash()
16741
16742 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16743
16744         * BufferView_pimpl.C:
16745         * LyXAction.C:
16746         * buffer.C:
16747         * commandtags.h:
16748         * lyxfunc.C: use re-worked insetinclude
16749
16750 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16751
16752         * buffer.C: add using std::stringstream.
16753
16754         * lyx_cb.C: readd using std::ios.
16755
16756         * buffer.C: add using std::map.
16757
16758         * BufferView_pimpl.C: add using std::vector.
16759
16760         * ShareContainer.h: add std:: to swap.
16761
16762         * buffer.h: add some typedefs
16763         * buffer.C (getLists): use them
16764         (getLists): renamed from getTocList.
16765         add a counter for the different float types and use it in the
16766         generated string.
16767         (getLists): use the same counter for the NEW_INSETS and the "non"
16768         NEW_INSETS
16769
16770         * lyx_cb.h: remove unused items, includes, using etc.
16771
16772         * ShareContainer.h: remove some commented code, add more comments
16773         and "documentation".
16774
16775 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16776
16777         * buffer.C (getTocList): make the list also when NEW_INSETS is
16778         defined.
16779
16780         * buffer.h: remove TocType
16781
16782         * buffer.C (getTocList): change to return a map<string,
16783         vector<TocItem> >, implement for dynamic number of list.
16784
16785         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16786         * text2.C (PasteSelection): adjust
16787         * CutAndPaste.C (pasteSelection): adjust
16788
16789         * FloatList.C (FloatList): update from the new_insets branch.
16790         * Floating.[Ch]: ditto
16791         * LaTeXFeatures.C: ditto
16792         * buffer.C: ditto
16793         * lyxlex_pimpl.C: ditto
16794
16795         * paragraph.C (Last): remove when NEW_INSETS is defined.
16796
16797         * other file: changes because of the above.
16798
16799 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16800
16801         * lyxparagraph.h: rename next to next_, previous to previous_,
16802         make them private for NEW_INSETS. Rename Next() to next(),
16803         Previous() to previous().
16804
16805         * other files: changes because of the above.
16806
16807 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16808
16809         * BufferView.h:
16810         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16811         problem.
16812
16813 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16814
16815         * main.C (main): pass lyx_localedir to gettext_init().
16816
16817         * gettext.h: remove locale_init and gettext_init macros
16818
16819         * gettext.C (locale_init): new function
16820         (gettext_init): new function
16821
16822         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16823         setlocale().
16824
16825 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16826
16827         * Moved credits to frontends:
16828         * credits.[Ch]: removed
16829         * credits_form.[Ch]: removed
16830         * lyx_gui_misc.C: remove credits stuff
16831         * Makefile.am:
16832
16833 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16834
16835         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16836
16837         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16838         unneeded destructor.
16839
16840         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16841         a standalone pointer again.
16842
16843         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16844
16845 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16846
16847         * Makefile.am:
16848         * filedlg.h:
16849         * filedlg.C:
16850         * LyXAction.C:
16851         * ToolbarDefaults.C:
16852         * bufferlist.C:
16853         * commandtags.h:
16854         * form1.C:
16855         * form1.h:
16856         * lyx_cb.C:
16857         * lyx_cb.h:
16858         * lyxfunc.h:
16859         * lyxfunc.C:
16860         * BufferView_pimpl.C: use new file dialog in GUII
16861
16862         * lyx_cb.h:
16863         * lyx_cb.C: remove LayoutsCB to Toolbar
16864
16865 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16866
16867         * ShareContainer.h (get): add std:: qualifier
16868
16869 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16870
16871         * ShareContainer.h: define a proper ShareContainer::value_type
16872         type (and use typename to please compaq cxx)
16873
16874 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16875
16876         * lyxparagraph.h: move serveral local vars to
16877         ParameterStruct/ParagraphParameters., use ShareContainer in
16878         FontTable., make vars in FontTable private and add getter and
16879         setter.
16880
16881         * paragraph.C: changes because of the above.
16882
16883         * lyxfont.h: remove copy constructor and copy assignment. (the
16884         default ones is ok), move number inside FontBits. move inlines to
16885         lyxfont.C
16886
16887         * lyxfont.C: add number to initializaton of statics, move several
16888         inlines here. constify several local vars. some whitespace
16889         cleanup. Dont hide outerscope variables.
16890
16891         * Spacing.h: add two new constructors to match the set methods.
16892
16893         * ShareContainer.h: new file, will perhaps be moved to support
16894
16895         * ParameterStruct.h: new file
16896
16897         * ParagraphParameters.h: new file
16898
16899         * ParagraphParameters.C: new file
16900
16901         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16902         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16903
16904         * BufferView_pimpl.C: ParagraphParameter changes.
16905         * buffer.C: Likewise.
16906         * bufferview_funcs.C: Likewise.
16907         * text.C: Likewise.
16908         * text2.C: Likewise.
16909
16910 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16911
16912         * lyxfind.C (LyXReplace): do not redefine default argument in
16913         implementation.
16914         (IsStringInText): ditto
16915         (SearchForward): ditto
16916         (SearchBackward): ditto
16917
16918 2001-03-06  Juergen Vigna  <jug@sad.it>
16919
16920         * lyxfind.C (IsStringInText): put parentes around expressions.
16921
16922 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16923
16924         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16925
16926 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16927
16928         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16929
16930         * stl_string_fwd.h: add comment
16931
16932         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16933
16934         * tabular.h:
16935         * tabular.C: remove unused DocBook methods
16936
16937         * intl.C:
16938         * language.C:
16939         * paragraph.C:
16940         * buffer.C:
16941         killed DO_USE_DEFAULT_LANGUAGE
16942
16943 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16944
16945         * lyx_gui.C: do not include language.h.
16946
16947         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16948         arguments in function implementation.
16949
16950 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16951
16952         * BufferView_pimpl.C: add <ctime>
16953
16954 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16955
16956         * BufferView_pimpl.C: add using std::find_if
16957
16958 2001-02-27  José Matos  <jamatos@fep.up.pt>
16959
16960         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16961         by OnlyPath.
16962
16963 2001-02-11  José Matos  <jamatos@fep.up.pt>
16964
16965         * buffer.C (makeDocBookFile): command styles now have a parameter as
16966         "title" by default.
16967
16968 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16969
16970         * layout_forms.[Ch]: removed
16971         * lyx_cb.[Ch]: out character
16972         * lyx_gui.C: out character
16973         * lyx_gui_misc.C: out character
16974         * bufferview_funcs.C: : out character,
16975         added toggleall as parameter in ToggleAndShow
16976
16977 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16978
16979         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16980
16981         * text2.C (SetCurrentFont): Disable number property at boundary.
16982
16983 2001-02-26  Juergen Vigna  <jug@sad.it>
16984
16985         * lyxfunc.C (getStatus): added a string argument override function so
16986         that this is correctly called from LyXFunc::Dispatch if it contains a
16987         do_not_use_argument which is used!
16988         (Dispatch): added check for "custom" export and call appropriate func.
16989
16990 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16991
16992         * lyxrc.C: Add language_command_local, language_use_babel and
16993         language_global_options.
16994
16995         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16996
16997         * buffer.C (makeLaTeXFile): Use language_use_babel and
16998         language_global_options.
16999
17000 2001-02-23  Juergen Vigna  <jug@sad.it>
17001
17002         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17003         which works with LyXText and putted it inside BufferView. Here now we
17004         only call for that part the BufferView::Dispatch() function.
17005
17006         * BufferView.C (Dispatch): added.
17007
17008         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17009         functions which needs to use a LyXText over from LyXFunc.
17010         (MenuInsertLyXFile): added
17011         (getInsetByCode): added
17012         (moveCursorUpdate): added
17013         (static TEXT): added
17014
17015 2001-02-22  Juergen Vigna  <jug@sad.it>
17016
17017         * BufferView_pimpl.C (update): call a status update to see if LyXText
17018         needs it.
17019
17020 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17021
17022         * vc-backend.C (revert): implement for CVS
17023         (getLog): implement for CVS
17024
17025 2001-02-20  Juergen Vigna  <jug@sad.it>
17026
17027         * text2.C (ClearSelection): added BufferView param for inset_owner call
17028
17029         * lyxfunc.C (TEXT): added this function and use it instead of
17030         directly owner->view()-text of getLyXText().
17031
17032 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17033
17034         * src/layout_forms.C: out preamble
17035         * src/layout_forms.h: out preamble
17036         * src/lyx_cb.C: out preamble
17037         * src/lyx_cb.h: out preamble
17038         * src/lyx_gui.C: out preamble
17039         * src/lyx_gui_misc.C: out preamble
17040         * src/lyxfunc.C: connect with guii preamble
17041
17042 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17043
17044         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17045
17046 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17047
17048         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17049         whether to run bibtex.
17050
17051 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17052
17053         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17054
17055 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17056
17057         * Makefile.am (lyx_SOURCES): removed bibforms.h
17058
17059         * vspace.h: doxygen
17060
17061         * text.C (GetVisibleRow): make several local vars const
17062
17063         * tabular.C: small cleanup.
17064
17065         * lyxserver.C (callback): use compare instead of strncmp
17066
17067         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17068         inlines to after class or to paragraph.C
17069
17070         * lyxfont.h: remove friend operator!=
17071
17072         * converter.h: move friend bool operator< to non friend and after
17073         class def.
17074
17075         * combox.h: small cleanup
17076
17077         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17078         to inlines after class def.
17079
17080         * buffer.C (pop_tag): use string operations instead of strcmp
17081
17082         * bmtable.c: doxygen, small cleanup
17083
17084         * LaTeX.h: remove friend operator==
17085
17086 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17087
17088         * screen.C:
17089         * lyxrc.[Ch]:
17090         * lyxfunc.C:
17091         * lyxfont.[Ch]:
17092         * lyx_cb.C:
17093         * intl.[Ch]:
17094         * commandtags.h:
17095         * buffer.C:
17096         * WorkArea.[Ch]:
17097         * LyXAction.C:
17098         * BufferView_pimpl.C:
17099         * BufferView.[Ch]: remove cruft
17100
17101 2001-02-14  Juergen Vigna  <jug@sad.it>
17102
17103         * lyxfunc.C: removed #if 0 unused code
17104
17105         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17106
17107         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17108
17109         * text2.C (SetSelection): added a BufferView * parameter
17110
17111 2001-02-13  Juergen Vigna  <jug@sad.it>
17112
17113         * lyxfunc.C (Dispatch): fixed protected blank problem.
17114         * BufferView2.C (protectedBlank): added LyxText * parameter.
17115
17116         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17117         (AppendColumn): same as above for column_info.
17118
17119         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17120         (moveCursorUpdate): use a LyXText param for support of InsetText.
17121
17122         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17123         (tripleClick): ditto
17124
17125         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17126
17127         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17128
17129         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17130
17131         * text2.C (SetSelection): set correct update status if inset_owner
17132         (ToggleFree): ditto
17133
17134 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17135
17136         * tabular.C: remove some commented code.
17137
17138 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17139
17140         * BufferView_pimpl.C: call hideSplash()
17141
17142         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17143
17144         * include_form.h:
17145         * bibforms.h: remove
17146
17147         * lyxfunc.C:
17148         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17149           add LFUN_CHILD_CREATE
17150
17151         * counters.h: fix tiny typo
17152
17153         * lyx_cb.C:
17154         * lyx.h:
17155         * lyx_gui.C:
17156         * lyx.C: move splash to frontends/xforms/
17157
17158         * lyx_gui_misc.C: move Include and Bibform to frontends
17159
17160         * lyxvc.h: clarify comment
17161
17162         * vspace.C: tiny housekeeping
17163
17164 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17165
17166         * text.C (PrepareToPrint): RTL Fix.
17167
17168         * paragraph.C (GetUChar): New method.
17169         (String):  Use GetUChar.
17170
17171         * buffer.C (asciiParagraph): Use GetUChar.
17172
17173 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17174
17175         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17176
17177 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17178
17179         * buffer.h:
17180         * buffer.C: rename to getLogName(), handle
17181           build log / latex log nicely
17182
17183 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17184
17185         * MenuBackend.C:
17186         * MenuBackend.h: remove support for reference menuitem type.
17187
17188 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17189
17190         * BufferView_pimpl.C: housekeeping
17191         * BufferView_pimpl.h:
17192         * LyXView.h:
17193         * Makefile.am:
17194         * Timeout.C:
17195         * Timeout.h:
17196         * minibuffer.h: move Timeout GUI-I
17197
17198 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17199
17200         * lyxrc.C (read): Update converters data-structures.
17201
17202 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17203
17204         * LaTeX.h (operator!=): add operator != for Aux_Info
17205
17206 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17207
17208         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17209
17210         * LaTeXLog.C: deleted, useful code moved to Buffer
17211
17212         * buffer.h:
17213         * buffer.C: new function getLatexLogName()
17214
17215         * lyx_gui_misc.C:
17216         * lyx_gui.C:
17217         * lyxvc.C:
17218         * lyxvc.h:
17219         * lyxfunc.C: use frontends for LaTeX and VC logs
17220
17221 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17222
17223         * LaTeX.h: yet another std:: that Allan forgot.
17224
17225         * Variables.C (set): renamed from isset(), because this clashes
17226         with some HP-UX macros (grr).
17227
17228 2001-02-06  Allan Rae  <rae@lyx.org>
17229
17230         * LaTeX.h: Another bug fix.  Missing std:: this time.
17231
17232 2001-02-04  Allan Rae  <rae@lyx.org>
17233
17234         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17235         floats problem. I've left it commented out because it's not quite
17236         correct.  It should also test that the current object is a table or
17237         figure inset.  But I haven't gotten around to figuring out how to do
17238         that.  I *think* it'll be something like: "table" == inset.type()
17239
17240         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17241         bool.
17242
17243 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17244
17245         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17246         all the citation/databases/styles in the auxilary file.
17247         (run): Rerun latex if there was a babel language error.
17248
17249 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17250
17251         * text.C (Backspace): Preserve the font when changing newline char
17252         with a space.
17253         (BreakParagraph): If the cursor is before a space, delete the space.
17254
17255         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17256
17257 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17258
17259         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17260         new argument (code).
17261         (ChangeCitationsIfUnique): New method.
17262
17263         * paragraph.C (GetPositionOfInset): Handle bibkey.
17264
17265 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17266
17267         * BufferView_pimpl.h: change type of Position::par_pos to
17268         LyXParagraph::size_type.
17269
17270 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17271
17272         * BufferView_pimpl.C (savePosition, restorePosition): Write
17273         messages to minibuffer.
17274
17275 2001-01-28  José Matos  <jamatos@fep.up.pt>
17276
17277         * buffer.C (makeDocBookFile): adds support for document language.
17278         A silly restriction on the name of LatexCommand types where removed.
17279         Added support for CDATA sections, allows to chars unescaped, used
17280         among others in code, to avoid escape < and >.
17281
17282 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17283
17284         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17285         saved positions instrad of a stack. Furthermore, a position is
17286         stored using paragraph id/paragraph position.
17287
17288         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17289         Remove LFUN_REF_BACK.
17290
17291 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17292
17293         * converter.C (dvipdfm_options): New method.
17294
17295 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17296
17297         * vspace.C (isValidLength): Fix for empty input string.
17298
17299 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17300
17301         * LyXAction.C (init): change description of LFUN_FIGURE to
17302         "Insert Graphics"
17303
17304 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17305
17306         * LaTeX.C: add using directive
17307
17308 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17309
17310         * MenuBackend.C (expand): Fix the sorting of the formats.
17311
17312 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17313
17314         * lyx_main.C: tiny error message fix
17315
17316 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17317
17318         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17319         calling fl_initialize(). This fixes the problem with ',' as
17320         decimal separator in text files.
17321
17322 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17323
17324         * trans.C (process): Fix the keymap bug.
17325
17326 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17327
17328         * LaTeX.C (scanAuxFiles): New method. Provides support for
17329         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17330         (scanLogFile) Scan for "run BibTeX" messages.
17331
17332         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17333         OT1 font encoding. Also, load the aecompl package if the ae
17334         package is loaded.
17335
17336         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17337
17338 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17339
17340         * texrow.C (increasePos): turn two error messages into debug
17341         messages.
17342
17343 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17344
17345         * LaTeX.C (scanAux): Handle the \@input macro.
17346         (runBibTeX): Use scanAux().
17347
17348         * language.C (latex_options_): New field.
17349
17350         * LaTeXFeatures.C (getMacros): Add language macros.
17351
17352         * buffer.C (makeLaTeXFile): Small fix.
17353
17354 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17355
17356         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17357
17358         * text2.C: add a using directive.
17359
17360 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17361
17362         * BufferView2.C:
17363         * lyx_gui_misc.h:
17364         * lyxfr1.C:
17365         * lyxfunc.C: kill LyXBell.
17366
17367 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17368
17369         * text.C (IsBoundary): Remove the error message
17370
17371         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17372
17373         * lyxrc.C (setDefaults): Correct initialization value for
17374         font_norm_type.
17375
17376 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17377
17378         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17379         gotoError().
17380
17381         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17382         and GotoNextNote().
17383
17384         * src/LyXAction.C: Added reference-next.
17385
17386         * text.C (InsertChar): Use contains instead of strchr.
17387
17388         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17389
17390 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17391
17392         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17393         alignment commands (when needed).
17394
17395         * text.C (InsertChar): Add ':' to number separator chars.