]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
d27d6157e1465bfdb47d68dbd917607948c080e6
[lyx.git] / src / ChangeLog
1 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
2
3         * paragraph.C: fix for confused change tracker when pasting
4         text that begins with a lineseparator. [bug 1827]
5         (setChange(0, Change::INSERTED);)
6        
7         * paragraph_funcs.C: fix for lost changes on triple-paste
8         in change tracking mode [bug 1827] (par.setChange()).
9
10 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * text2.C (updateCounters, setCounter, expandLabel): move to
13         buffer_funcs.
14
15         * buffer_funcs.C (updateCounters): turn into a free standing
16         function and add a buffer parameter. Remove dead code for tracking
17         labelstring change.
18         (setCounter): change into a free-standing function which gets a
19         dociterator as argument. Use this iterator to fix captions in a
20         simple way. When no float is found above the caption, use the
21         labelstring of the caption layout as default.
22
23         * text.C (breakParagraph, backspace): 
24         * text2.C (init, setLayout, changeDepth):
25         * text3.C (dispatch): 
26         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
27         updateCounters.
28
29         * dociterator.C (forwardPar): make it much faster by calling
30         forwardPos() only when really necessary.
31
32         * output_docbook.C (makeCommand): adapt to expandLabel move.
33
34         * cursor.C: remove unused variable
35
36 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
37
38         * paragraph_funcs.C: fix crash when pasting insets in change 
39         tracking mode [bug 1277] (honour change type in moveItem).
40
41 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
42
43         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
44
45 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
46
47         * BufferView.C (setCursor): change to use a DocIterator.
48         (gotoLabel): use BufferView::setCursor (other part of bug 781).
49         (putSelectionAt): adapt to BufferView::setCursor change.
50
51         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
52         moved here from LyXText and rewritten to use proper cursor
53         methods. Fixes bug 1787, 616 and 835.
54
55         * BufferView_pimpl.C (restorePosition): set the cursor correctly
56         when inside an inset (part of bug 781).
57         (dispatch): adapt to change of BufferView::setCursor.
58         (getStatus, dispatch): handle LFUN_GOTOERROR,
59         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
60
61         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
62         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
63         * text3.C (gotoNextInset, gotoInset): removed.
64
65 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
66
67         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
68
69 2005-02-15  Angus Leeming  <leeming@lyx.org>
70
71         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
72         can be used meaningfully in a comparison.
73
74 2005-02-13  André Pönitz  <poenitz@gmx.net>
75
76         * bufferview_funcs.C (coordOffset): improve cursor drawing
77
78 2005-02-13  André Pönitz  <poenitz@gmx.net>
79
80         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
81         * Cursor.C (dispatch): use fixIfBroken
82         * lyxfunc.C (getStatus): use fixIfBroken
83
84 2005-02-15  Angus Leeming  <leeming@lyx.org>
85
86         * lyx_main.C (error_handler):
87         * lyxfunc.C:
88         * lyxrc.C (setDefaults):
89         s/GetEnv/getEnv/.
90         #include "environment.h".
91
92         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
93
94 2005-02-15  Angus Leeming  <leeming@lyx.org>
95
96         * lyxserver.C (startPipe): squash MSVC warning "local variable
97         'fd' used without having been initialized".
98
99 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
100
101         * BufferView_pimpl.C: revert accidental commit.
102
103 2005-02-14  André Pönitz  <poenitz@gmx.net>
104
105         * dociterator.[Ch]: new member forwardPosNoDescent(),
106         which doesn't enter nested insets.
107         * text2.C (setFont): use forwardPosNoDescent() instead
108         of ForwardPos() (fixes crash on font change).
109
110 2005-02-13  Angus Leeming  <leeming@lyx.org>
111
112         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
113         only if lyxrc.path_prefix is not empty.
114
115 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
116
117         * bufferparams.C (readGraphicsDriver): prevent crash
118
119 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
120
121         * text2.C (setCounter): check for inInset() == 0
122
123 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
124
125         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
126         but use update() to get correct screen display; use convert
127         instead of istringstream. 
128         (getStatus): handle LFUN_GOTO_PARAGRAPH 
129
130         * lyxfunc.C (dispatch, getStatus): do not handle
131         LFUN_GOTO_PARAGRAPH here.
132
133 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
134
135         * text3.C (dispatch): size() -> depth()
136
137         * text2.C: remove some debug output
138
139         * paragraph.C: ws changes only
140
141         * lyxfunc.C (getStatus): size() -> depth()
142
143         * dociterator.h (clear, push_back, pop_back, internalData,
144         operator[], resize, empty): new functions
145         Make StableDocIterator and operator== be friends. Don't inherit
146         from std::vector use a privat class variable slices_ instead.
147         Modify to fit.
148
149         * dociterator.C: update because of not inheriting from std::vector
150         anymore. Call explictly to slices_ instead. Use depth() instead of
151         size() and top() instead of back()
152
153         * cursor.C: chagne size() -> depth and back() -> top(). Also
154         remove some direct operator[](i) calls in favour of foo[i]
155         (getFont): remove some dead code
156
157         * bufferview_funcs.C (coordOffset): size() -> depth()
158
159         * buffer.C: ws changes only
160
161         * CutAndPaste.C (eraseSelection): back() -> top()
162
163         * BufferView_pimpl.C (selectionRequested): back() -> top()
164
165         * BufferView.C (setCursor): size() -> depth()
166
167 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
168
169         * text3.C (cursorPrevious): return true if depm changed something
170         (cursorNext): ditto
171         (dispatch): rename sl to oldTopSlice, remove moving use the new
172         NoUpdate func attrib instead. Make sure that needsUpdate is set
173         for function that have NoUpdate, but where depm might have changed
174         the buffer anyway.
175
176         * text2.C (cursorLeft): make us return true if depm changed
177         something
178         (cursorRight): ditto
179         (cursorUpParagraph): ditto
180         (curosrDownParagraph): ditto
181         (cursorUp, cursorDown): ditto, make sure to read comments in code
182         (deleteEmptyParagraphMechanism): remove an assert, also return
183         true if just a single char was deleted.
184
185         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
186         cursor that we modify, to avoid modifying an active cursor before
187         we call setCursor. This allows depm to run. Also return true if
188         depm deleted something.
189
190         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
191         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
192         cursorDownParagraph, cursorPrevious and cursorNext, return true if
193         something was changed in the buffer because of them (ie. depm run)
194
195         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
196         debug messages. Make update by default be false. Make sure that
197         the result of update is retained throught several calls down to
198         dispatch.
199
200         * LyXAction.h: add a new func_attrib: NoUpdate
201
202         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
203         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
204         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
205         and LFUN_WORDLEFT
206         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
207
208 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
209
210         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
211         bv_->owner(), bv_->buffer() by direct references to the private
212         members.
213         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
214         (getStatus): isSavedPosition() is in BufferView::Pimpl.
215         (fitCursor): center() is in BufferView::Pimpl.
216         (getStatus, trackChanges, dispatch): no need for a temporary buf
217         variable
218         (fitCursor, workAreaDispatch): use workarea().workheight()
219
220 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
221
222         * CutAndPaste.C (pasteSelectionHelper): fix a crash
223
224 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
225
226         * buffer.C: format up to 241.
227         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
228         break if pasting into ERT
229         * lyxfunc.C (getStatus): suppress mathpanel and
230         LFUN_DIALOG_SHOW_NEW_INSET in ERT
231
232 2005-02-01  Angus Leeming  <leeming@lyx.org>
233
234         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
235
236 2005-02-01  Angus Leeming  <leeming@lyx.org>
237
238         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
239         calling fs::is_directory().
240
241 2005-01-31  Angus Leeming  <leeming@lyx.org>
242
243         * lyx_main.C (priv_exec): specify explicitly the relative location
244         of the top level build directory when run in-place.
245
246 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
249         LyXText containing the cursor, not the top-level one.
250
251         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
252         true.
253         (insertStringAsLines): rename par to pit; use temporary variable
254         par to hold a Paragraph; do not store par.layout() in a variable,
255         since the pointer may die when breaking paragraphs; pass pars to
256         breakParagraph() instead of Buffer::paragraphs().
257
258 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
259
260         * lyxlex_pimpl.h: #include <fstream>.
261
262         * BufferView.[Ch] (getLyXText): add a const version.
263
264         * BufferView_pimpl.C: add debug aids.
265
266         * RowList_fwd.h:
267         * buffer.h:
268         * lyxrow.h:
269         * paragraph_funcs.h: add commentary explaining what the class does.
270
271
272         * coordcache.[Ch]: add lots of commentary.
273         (startUpdating, doneUpdating): debug aids.
274         (arrays, insets, parPos, getParPos): accessors to private data.
275
276         * cursor_slice.[Ch] (text): add a const version.
277         * dociterator.[Ch] (text, innerText): add const versions.
278
279         * lyxtext.h (breakParagraph): change the keep_layout arg to a
280         bool.
281
282         * paragraph.C (getRow, pos2ros): add asserts.
283
284         * paragraph.h: add commentary. Lots of.
285
286         * paragraph.[Ch] (metrucs, draw): removed.
287
288         * cursor.C:
289         * rowpainter.[Ch]: const-correct changes.
290
291         * text.C: various obvious clean-ups. Removal of ancient cruft.
292         Bug fixes, even.
293
294 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
295
296         * vc-backend.C (find_file): rewrite to use boost.filesystem
297         (scanMaster): ditto
298
299         * main.C (main): set default name check for boost.filesystem to
300         no check
301
302         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
303         (open): ditto
304         (doImport): ditto
305         (actOnUpdatedPrefs): ditto
306
307         * lyx_main.C (init): rewrite to use boost.filesystem
308         (queryUserLyXDir): ditto
309
310         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
311         (getContentsOfAsciiFile): ditto
312
313         * lastfiles.C (readFile): rewrite to use boost.filesystem
314
315         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
316
317         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
318         (loadLyXFile): ditto
319
320         * buffer.C (Buffer): adjust for destroydir
321         (getLogName): rewrite to use boost.filesystem
322         (setFileName): ditto
323         (save): use fs::copy_file (from fs_extras)
324
325         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
326
327         * LaTeX.C (run): rewrite to use boost.filesystem
328         (scanAuxFiles): ditto
329         (handleFoundFile): ditto
330
331 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
332
333         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
334
335         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
336
337 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
338
339         * lyxlayout.[Ch]: change some vars from float to double
340
341         * buffer.C (readFile): make a local var const
342
343         * Several files: use convert<> instead of atoi,strToXXX and friends
344
345 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
346
347         * LaTeXFeatures.[Ch]: Add a static list packages_ that
348         holds the contents of packages.lst. New functions getAvailable
349         and isAvailable to parse and check that list, resp.
350
351         * LyXAction.C:
352         * lfuns.h:
353         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
354
355         * bufferparams.[Ch]: new param output_changes.
356
357         * Buffer.C: increase file format to 240.
358         Use output_changes and isVailable.
359
360         * changes.[Ch]:
361         * paragraph.C:
362         * paragraph_pimpl.C: Use output_changes and isVailable.
363
364 2005-01-23  Angus Leeming  <leeming@lyx.org>
365
366         * output_latex.C: #include "insetbibitem.h", rather than
367         forward declare function bibitemWidest.
368
369 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
370
371         * lyx_main.C (init): make it compile on the Mac.
372
373 2005-01-20  Angus Leeming  <leeming@lyx.org>
374
375         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
376         (setLyXMisc): (char string literal) != (char string literal) is
377         performing a comparison on the addresses. Convert one operand
378         explicitly to string to guarantee expected behaviour.
379         From MSVC warning.
380
381 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
382
383         * buffer.C:
384         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
385
386         * output_plaintext.C: remove unneeded #include gzstream.h.
387
388 2005-01-20  Angus Leeming  <leeming@lyx.org>
389
390         * SpellBase.h: rename some of the elements of the Result enum.
391
392         * aspell_local.h:
393         * ispell.h:
394         * pspell.h:
395         * aspell.C (check):
396         * ispell.C (check):
397         * pspell.C (check): ditto
398
399 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
400
401         * buffer.C: add #include <fstream>.
402
403         * lyx_main.C (init): Compile fix.
404
405         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
406
407 2005-01-20  Angus Leeming  <leeming@lyx.org>
408
409         * mover.h: change commentary to reflect the changed meaning of
410         the $$s placeholder.
411
412 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
413
414         * output_linuxdoc.C (linuxdocParagraphs): silence warning
415
416         * lyxfind.C (MatchString::operator()): remove bogus semicolon
417
418 2005-01-20  Angus Leeming  <leeming@lyx.org>
419
420         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
421         printing diagnostic data by not dereferecing an iterator past the
422         end.
423
424 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
425
426         * buffer.C (readHeader): use "&&" rather than "and".
427
428         * lyxserver.h (inPipeName, outPipeName): make these const.
429
430 2005-01-19  Angus Leeming  <leeming@lyx.org>
431
432         * lyx_main.C (error_handler, init): protect SIGHUP with
433         #ifdef SIGHUP guards.
434
435 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
436
437         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
438
439 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
440
441         * text.C (setHeightOfRow): add a margin at the top and bottom of
442         the document (bug 1761)
443
444 2005-01-17  Angus Leeming  <leeming@lyx.org>
445
446         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
447         with "python ". Workaround for a brain-dead Windows.
448
449 2005-01-16  Angus Leeming  <leeming@lyx.org>
450
451         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
452         for MacOSX and Windows to use prependEnvPath.
453         Strip out the hard-coded block to add elements to the PATH for
454         MacOSX and replace it with a call to prependEnvPath using the
455         contents of LyXRC::path_prefix.
456         (queryUserLyXDir): strip out the code to run reconfigure, instead
457         returning a boolean indicating the necessity to do so.
458         (reconfigureUserLyXDir): contains the code to reconfigure the
459         user support directory. Is now called after the various LyXRC data
460         files have been read.
461
462         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
463
464 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
465
466         * converter.[Ch] (convert): take a new parameter try_default. Use
467         a default converter (imagemagick) if try_default is true.
468
469 2005-01-13  Angus Leeming  <leeming@lyx.org>
470
471         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
472         os::cygwin_path_fix.
473         (write): output LyXRC::cygwin_path_fix as necessary.
474
475 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
476
477         * lyxrc.h:
478         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
479
480 2005-01-12  Angus Leeming  <leeming@lyx.org>
481
482         * lyx_main.C (init): set the PATH variable to include the
483         directory containing the LyX binary when running on Mac or Windows.
484
485 2005-01-12  Angus Leeming  <leeming@lyx.org>
486
487         * lyx_main.C (init): remove cruft that purports to set the locale
488         dir. It doesn't and is not needed anyway.
489
490 2005-01-10  Angus Leeming  <leeming@lyx.org>
491
492         * Makefile.am: remove the lyx_main.C special casing.
493
494         * BufferView_pimpl.C:
495         * bufferlist.C:
496         * exporter.C:
497         * lyx_cb.C:
498         * lyx_main.C:
499         * lyxfunc.C:
500         * messages.C: use support/package.h to provide the paths to the
501         various directories used by LyX.
502
503 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
504
505         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
506         layout if pasting into an empty paragraph)
507
508 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
509
510         * tex-accent.C: add <string>
511
512 2005-01-06  José Matos  <jamatos@lyx.org>
513
514         * ParagraphParameters.C (write): put every parameter in its own line.
515         * paragraph.C (write): reduce number of consecutive empty lines exported.
516         * buffer.C (LYX_FORMAT): increase file format to 239.
517
518 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
519
520         * everywhere: change support/tostr.h -> support/convert.h
521
522         * tabular.C: make all write_attributes templates, tostr -> convert
523
524         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
525         (emptyTag): and -> &&, and fix type for ret from getChar
526         (getFirstWord): fix type for ret from getChar
527         (onlyText): and -> &&
528         (simpleDocBookOnePar): and not -> && !, fix type for ret from
529         getChar
530
531         * toc.C (goTo, action):
532         * text3.C (dispatch):
533         * text.C (currentState):
534         * tex-accent.C (DoAccent):
535         * sgml.C:
536         * lyxrc.C:
537         * lyxfunc.C (menuNew):
538         * lyxfinc.C (replace):
539         * counters.C (laberItem):
540         * bufferview_funcs.C (font2string):
541         * bufferparams.C (writeFile):
542         * buffer.C (readFile):
543         * Spacing.C (set):
544         * MenuBackend.C: tostr -> convert
545
546         * LaTeX.C (runMessage): fix format
547         (scanAuxFiles): tostr -> convert
548
549         * BufferView_pimpl.C (savePosition): fix format
550         (restorePosition): ditto
551         (dispatch): ditto
552
553 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
554
555         * Spacing.[Ch]: New method getValueAsString().
556
557         * Spacing.[Ch]:
558         * bufferparams.C:
559         * ParagraphParameters.C:
560         * lyxlayout.C:
561         * text.C:
562         * text3.C: store/read spacing value as string.
563
564         * rowpainter.C: change float value (spacing_val) to double.
565
566         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
567         broken custom document spacing).
568
569 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
570
571         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
572         namespace, also more use of temp references and const
573
574         * cursor.[Ch] (getStatus): move to lyxfunc.C
575
576         * bufferparams.C: reformat slightly
577
578         * bufferview_funcs.C (font2string): constify arg
579
580         * changes.C:
581         * converter.C:
582         * counters.C:
583         * bufferlist.C:
584         * buffer_funcs.C: (many funcs): constify arg on function
585         definitions, also make more local vars const, also add ASSERTS on
586         pointer args.
587
588         * buffer.C (LYX_FORMAT): put const in correct place
589         (many funcs): constify arg on function definitions, also make
590         more local vars const
591
592         * aspell_local.h: remove "struct" from typdef setup
593
594         * aspell.C (check): make word_ok const
595         (nextMiss): simplify slightly
596         (error): ditto
597
598 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
599
600         * lyxrc.[Ch]: store all float values as strings.
601         use int (not float) for lyxrc.dpi.
602
603 2005-01-04  Angus Leeming  <leeming@lyx.org>
604
605         * lyx_cb.C (Reconfigure):
606         * lyx_main.C (queryUserLyXDir):
607         to run the <system_lyxdir>/configure correctly on Windows, prefix
608         the path to the script with "sh " when generating the string that
609         is passed to system().
610
611 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
612
613         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
614
615 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
616
617         * lyxlength.C (asLatexString): get rid of setprecision
618
619 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
620
621         * text2.C (setLayout): remove unused variable endpit.
622         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
623
624         * paragraph.C (onlyText): remove unused variable style.
625
626         * cursor.C (bruteFind): remove unused variables beg and end.
627
628         * Makefile.am (dist_noinset_DATA): not needed anymore
629
630         * cheaders/*: remove.
631
632 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
633
634         * text3.C: fix LFUN_MATH_MODE.
635
636 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
637
638         * buffer_funcs.C (countWords): new function. Counts words between
639         two iterators.
640
641         * BufferView_pimpl.C (getStatus, dispatch): handle
642         LFUN_WORDS_COUNT.
643
644         * LyXAction.C (init):
645         * lfuns.h: add LFUN_WORDS_COUNT.
646
647 2004-12-19  Angus Leeming  <leeming@lyx.org>
648
649         * buffer.C (save): s/slashify_path/internal_path/.
650
651 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
652
653         * lyxfind.C (findChange): do not search for end of pars, because
654         the change tracker cannot handle this (fixes bug 1719).
655
656 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
657
658         * paragraph.[Ch] (autoBreakRows): remove
659
660         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
661
662         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
663         avoid using the paragraph one
664
665         * text2.C (LyXText, insertStringAsLines): adjust
666
667 2004-12-16  Angus Leeming  <leeming@lyx.org>
668
669         * bufferlist.C:
670         * lyx_main.C:
671         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
672
673 2004-12-14  Angus Leeming  <leeming@lyx.org>
674
675         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
676
677         * bufferlist.C (emergencyWrite):
678         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
679         GetEnvPath("HOME").
680
681 2004-12-14  Angus Leeming  <leeming@lyx.org>
682
683         * main.C: (main): no longer pass pointers to os::init.
684
685 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
686
687         * undo.C (textUndoOrRedo): simplify logic, fix a crash
688         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
689
690 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
691
692         * lyxfunc.C:
693         * text3.C: remove selection_possible global flag
694
695 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
696
697         * text2.C (getSelectionSpan): remove
698         (changeDepth, changeDepthAllowed): adjust
699
700 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
701
702         * Makefile.am (BOOST_LIBS): use boost variables
703
704 2004-12-03  José Matos  <jamatos@lyx.org>
705
706         * buffer.C: format up to 238.
707
708 2004-12-03  José Matos  <jamatos@lyx.org>
709
710         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
711
712 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
713
714         * cursor.C (goUpDown): remove call to idxUpDown2
715
716 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
717
718         * tabular.[Ch]: use size_t-like types for cell, row and column
719         indices
720
721 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * lyxfunc.C (getStatus): do not lose previous information when
724         calling BufferView::getStatus; do not set a default "Command
725         disabled" message at the beginning, but just before returning.
726
727 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
728
729         * cursor.h (getStatus): add better comment from src/cursor.C
730
731 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
732
733         * text3.C (getStatus): return false when the lfun is not handled
734
735 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
736
737         * broken_headers.h: remove
738
739         * Makefile.am (lyx_SOURCES): remove broken_headers.h
740
741 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
742
743         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
744         offset_ref accessors
745
746         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
747         top_y_, merge fitcursor with update
748         (updateScrollbar, scrollDocView, fitCursor, center, update): new
749         coord scheme
750         (metrics): introduce
751         (workAreaDispatch): adapt to new coord scheme
752         (redoCurrentBuffer): remove
753
754         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
755
756         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
757         CurStatus enum.
758
759         * coordcache.[Ch]: add paragraph cache and helpers
760
761         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
762         adjust everywhere
763
764         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
765         (targetX, setTargetX): introduce
766
767         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
768         baseline -> ascent, as the rest of lyx
769
770         * lyxtext.h: remove redoParagraphs, updateParPositions,
771         fullRebreak, redoParagraphInternal. move dist to anon namespace in
772         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
773         have ascent/descent (ascent is ascent of first par)
774
775         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
776         step of BufferView
777
778         * paragraph.[Ch]: unify dimension handling with the rest of lyx
779
780         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
781
782         * pariterator.C: fix infinite loop introduced in par->pit renaming
783
784         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
785         in insets and LyXText, draw two off-screen paragraphs using
786         NullPainter, and adapt to new coord scheme
787
788         * text.C:
789         * text2.C:
790         * text3.C: adapt lfun handlers to the new coord scheme, which
791         means: there's only guaranteed coord information for onscreen pars
792         plus one above and one below. This implies that one can do search
793         from y coordinates in the range [-1,workHeight]
794
795 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
796
797         * rename a lot of InsetOld to InsetBase
798
799 2004-11-25  Angus Leeming  <leeming@lyx.org>
800
801         * BufferView_pimpl.C:
802         * lyx_cb.C:
803         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
804
805 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
806
807         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
808         call BufferView::getStatus if LCursor::getStatus did nothing
809         (setStatusMessage, getStatusMessage): removed.
810
811         * FuncStatus.C (message): new methods. Used to provide an error
812         message indicating why a command is disabled.
813         (clear, |=, FuncStatus): update for message.
814
815 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
816
817         * lyxfunc.C (dispatch): always call sendDispatchMessage
818
819 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
820
821         * BufferView.C:
822         * BufferView_pimpl.C:
823         * CutAndPaste.C:
824         * FontIterator.C:
825         * buffer.C:
826         * cursor.C:
827         * cursor_slice.[Ch]:
828         * dociterator.[Ch]:
829         * lyxfind.C:
830         * paragraph_funcs.C:
831         * pariterator.C:
832         * rowpainter.C:
833         * text.C:
834         * text2.C:
835         * text3.C:
836         * undo.C: par->pit renaming
837
838 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
839
840         * tabular.C (cellstruct): use initialization, store a shared_ptr
841         to insettext instead of the insettext directly, adjust to fit.
842         (operator=):  new function
843         (swap): new function
844         (rowstruct): use initialization
845         (columnstruct): use initialization
846         (ltType): use initialization
847
848
849         * lyxlength.h (swap): new function
850
851         * LColor.[Ch] (operator=): use the common semantics
852
853 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
854
855         * lyxfind.C (findNextChange): update the bufferview after setting
856         the selection.
857
858 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
859
860         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
861         number of InsetOptArgs has already been inserted.
862
863         * output_latex.C (latexOptArgInsets): new method. This outputs all
864         the optarg insets, up to the limit defined in the layout file.
865         (optArgInset): removed
866         (TeXOnePar): call latexOptArgInsets; correctly update texrow
867
868 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
869
870         * paragraph.C (isLetter): remove special spellchecker-related
871         code; return true also for digits
872         (isWord, isKomma): remove
873
874         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
875         * lyxfind.C (MatchString()): use isLetter instead of isWord
876
877 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
878
879         * pariterator.h (operatir=): comment out un-implemented member
880         function.
881
882         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
883         static cast.
884
885 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
886
887         * lyxfont.h: include LColor.h to satisfy concept checks.
888
889 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
890
891         * pariterator.h: add typdefs for value_type, difference_type,
892         pointer and reference to satisfy concept checks. Also add default
893         constructor for same reason.
894
895         * pariterator.C (operator++): add post-increment operator to
896         satisfy concept checks.
897
898         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
899         checks.
900
901         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
902
903         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
904         checks. Also rename base_type to BaseType to follow naming
905         standard better.
906
907         * FloatList.h: include Floating.h to satisfy concept checks.
908
909 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
910
911         * lyxfunc.C (getStatus): when the origin of the request is menu or
912         toolbar, and the LyXView does not have focus, do as if there was
913         no buffer (bug 1720)
914
915         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
916         FuncRequest to individual entries of LFUN_SEQUENCE
917
918 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
919
920         * output_latex.C (TeXOnePar): override runparams.moving_arg
921         according to the needprotect value of the current paragraph (bug
922         1739)
923
924         * paragraph.C (simpleTeXOnePar): no need to override
925         runparams.moving_args here
926
927 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
928
929         * vspace.C: fix off-by-one-error, related to fix #1682
930
931 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
932
933         * lengthcommon.C: a more general fix for bug 1682
934
935 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
936
937         * text.C (backspace): fix crash
938
939 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
940
941         * format.[Ch] (getFormatFromFile): new method
942         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
943
944 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
945
946         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
947
948 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
949
950         * lyxfunc.C (dispatch): remove the verbose argument
951         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
952         instead
953
954         * kbmap.C (defkey): set the origin of func to KEYBOARD
955
956         * MenuBackend.C (MenuItem):
957         * ToolbarBackend.C (add): set the origin of func to UI
958
959         * funcrequest.[Ch]: add origin member, which indicates which part
960         of LyX requests an action
961
962 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
963
964         * converter.C (move): don't lie in the error message
965         * converter.h (isReachable, move): document
966
967 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
968
969         * buffer.C: remove unused using lyx::support::atoi
970         * paragraph_funcs.C: ditto
971
972 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
973
974         * bufferlist.C (exists): use bind and equal_to instead of
975         compare_memfun
976         (getBuffer): ditto
977         * lyxtextclasslist.C (NumberOfClass): ditto
978
979         * cursor.C (insert): use for_each instead of explicit for loop
980
981         * bufferlist.C (getFileNames): use std::transform and
982         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
983
984         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
985         for loop
986
987         * buffer.C (changeLanguage): use for_each instead of explicit for
988         loop
989         (hasParWithID): implement using getParFromID
990
991         * LaTeXFeatures.C: ws change only
992
993         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
994         to cleanup a bit.
995
996         * BufferView_pimpl.C (trackChanges): use for_each instead of
997         expilicit for loop
998
999 2004-11-04  André Pönitz  <poenitz@gmx.net>
1000
1001         * undo.h:
1002         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1003
1004         * dociterator.C (asDocIterator): use hard assert again.
1005
1006 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1007
1008         * lyxlength.C (asLatexString): rewrite so that it does not use
1009         snprintf anymore
1010
1011 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1012
1013         * text3.C (specialChar, dispatch): make sure cursor moves to the
1014         right after inserting an inset
1015
1016 2004-11-02  José Matos  <jamatos@lyx.org>
1017
1018         * output_docbook.C (docbook):
1019         * paragraph.C (getID):
1020         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1021         garantee that the output is always legal.
1022
1023         * tabular.C (docbook):
1024         * outputprams.[Ch]: remove mixed contents.
1025
1026 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1027
1028         * text2.C (setCounter): prevent endless loop
1029
1030 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1031
1032         * exporter.C (copyFile): use the mover instead of support::copy()
1033         * exporter.C (Export): pass format and latex name to copyFile()
1034         * exporter.h (addExternalFile): document
1035         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1036
1037 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1038
1039         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1040
1041 2004-10-30  José Matos  <jamatos@lyx.org>
1042
1043         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1044         text and no inset or font change. This allows to use CDATA
1045         sections just for the whole paragraph.
1046
1047 2004-10-30  José Matos  <jamatos@lyx.org>
1048
1049         * paragraph.C (getFirstWord): remove unused variable.
1050
1051 2004-10-30  José Matos  <jamatos@lyx.org>
1052
1053         * paragraph.C (getFirstWord): the content should always be escaped
1054         there.
1055         (simpleDocBookOnePar):
1056         * output_docbook.C (makeEnvironment): replace reference to CDATA
1057         to style pass_thru.
1058
1059 2004-10-30  José Matos  <jamatos@lyx.org>
1060
1061         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1062
1063 2004-10-30  José Matos  <jamatos@lyx.org>
1064
1065         * output_docbook.C (makeParagraphs):
1066         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1067         standard paragraph has only a given type of content drop the wrapper.
1068
1069 2004-10-29  José Matos  <jamatos@lyx.org>
1070
1071         * output_docbook.C (makeEnvironment):
1072         * sgml.C (openTag):
1073         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1074
1075 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1076
1077         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1078         (cleanID): sanitize any id.
1079
1080 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1081
1082         * buffer.C, lyxlex_pimpl.C:
1083         * lyxlex_pimpl.C (setFile):
1084         s/getExtFromContents/getFormatFromContents/
1085
1086 2004-10-28  José Matos  <jamatos@lyx.org>
1087
1088         * output_docbook.C (makeEnvironment): move id to broadest possible
1089         scope.
1090
1091         * sgml.C (openTag): apply substitution of <> for all attributes.
1092
1093 2004-10-28  José Matos  <jamatos@lyx.org>
1094
1095         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1096         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1097         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1098
1099         * sgml.[Ch]: new version for open and closeTag for paragraph and
1100         for strings. Now they handle the ids of paragraphs.
1101
1102 2004-10-26  Angus Leeming  <leeming@lyx.org>
1103
1104         * Makefile.am: add mover.[Ch].
1105
1106         * converter.C (convert, move): use the new Movers to move external
1107         files to the temp directory.
1108
1109         * lyx_main.C (init): ensure that the global system_movers data
1110         is initialised.
1111
1112         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1113         preferences file.
1114
1115         * mover.[Ch]: new files, defining a Mover as a utility to move an
1116         external file between directories and, if necessary, manipulate this
1117         file using a helper script.
1118
1119 2004-10-25  José Matos  <jamatos@lyx.org>
1120
1121         * output_docbook.C (makeCommand): merge two if's that tested the
1122         same condition.
1123
1124 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1125
1126         * sgml.C (escapeString): fix warning in a better way
1127
1128 2004-10-25  José Matos  <jamatos@lyx.org>
1129
1130         * sgml.C (escapeString): import the require boosts header file for
1131         tie, and avoid a signed unsigned comparison.
1132
1133 2004-10-25  José Matos  <jamatos@lyx.org>
1134
1135         * sgml.h: add #include <string>
1136
1137 2004-10-25  José Matos  <jamatos@lyx.org>
1138
1139         * sgml.[Ch] (escapeString): new function to escape all the string.
1140
1141 2004-10-24  José Matos  <jamatos@lyx.org>
1142
1143         * paragraph.[Ch] (getFirstWord): new function to get the first
1144         word. Useful for description.
1145         (simpleDocBookOnePar): remove depth argument, add another that
1146         says where to start the paragraph.
1147
1148         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1149         use the new functions to fix cleanly the support for descriptions.
1150
1151 2004-10-24  José Matos  <jamatos@lyx.org>
1152
1153         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1154         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1155         * output_linuxdoc.C (linuxdocParagraphs):
1156         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1157         add buffer as argument.
1158
1159 2004-10-24  José Matos  <jamatos@lyx.org>
1160
1161         * output_docbook.C (makeEnvironment, searchEnvironment): place
1162         CDATA inside paragraphs and fix scope for listitems.
1163
1164 2004-10-24  José Matos  <jamatos@lyx.org>
1165
1166         * output_docbook.C: remove using statement for stack.
1167
1168 2004-10-23  José Matos  <jamatos@lyx.org>
1169
1170         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1171         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1172         docbook. The new scheme is recursive and makes use of iterators, the
1173         same as latex export works.
1174         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1175         directly with the paragraph contents. This code was moved up to
1176         output_docbook.C (docbookParagraphs).
1177         * sgml.C (openTag, closeTag): removed unneeded newlines.
1178         (closeEnvTags) removed.
1179
1180 2004-10-23  André Pönitz  <poenitz@gmx.net>
1181
1182         * undo.C (textUndoOrRedo):
1183         * dociterator.C (asDocIterator): work around crash
1184
1185         * cursor.C (getStatus): replace ASSERT by more verbose error message
1186           and manual correction of the problem. Should increase stability
1187           while providing more sensible information.
1188
1189 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1190
1191         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1192
1193         * bufferlist.C (previous, next): new methods
1194
1195         * lfuns.h:
1196         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1197
1198 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1199
1200         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1201         entities to preamble.
1202
1203 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1204
1205         * messages.C (Pimpl): strip off translation context information
1206
1207 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1208
1209         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1210         the cursor is correct (bug 1694)
1211
1212 2004-10-13  José Matos  <jamatos@lyx.org>
1213
1214         * output_docbook.C (docbookParagraphs): fix closing tags in the
1215         end of the document.
1216
1217 2004-10-09  José Matos  <jamatos@lyx.org>
1218
1219         * buffer.C: format up to 237.
1220         * bufferparams.C (write): use tostr to convert booleans to strings.
1221
1222 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1223
1224         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1225
1226 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1227
1228         * LaTeX.C: implement use of babel language in xindy.
1229
1230 2004-10-05  José Matos  <jamatos@lyx.org>
1231
1232         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1233         Add new translators to help reading and writing the lyx file.
1234
1235 2004-10-05  José Matos  <jamatos@lyx.org>
1236
1237         * ParagraphParameters.C (read):
1238         * text.C (readParToken): replace nexToken by more appropriate lex
1239         methods.
1240
1241 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1242
1243         * LaTeX.C (runMakeIndex):
1244         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1245         (usually 'makeindex') configurable.
1246
1247         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1248         with a variable rather than with a number.
1249
1250 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1251
1252         * output_latex.C (TeXOnePar): make sure font setting is the first
1253         thing that gets output (and the last at the end). Should fix bug
1254         1404.
1255
1256 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1257
1258         * pch.h: use proper signal include
1259
1260         * LaTeX.h: Use preferred calling of Boost.Signal
1261         * buffer.h: ditto
1262
1263 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1264
1265         * pch.h: dont include <boost/function/function0.hpp>
1266
1267         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1268
1269         * paragraph_pimpl.h: remove usage of ShareContainer
1270
1271         * paragraph_pimpl.C: remove initialization of ShareContainer.
1272
1273 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1274
1275         Fix bug #1666
1276
1277         * BufferView.C (putSelectionAt): change the semantics when
1278         backwards == true: now, this just swaps cursor and anchor wrt the
1279         forward case
1280
1281         * BufferView.h (putSelectionAt): add some documentation
1282
1283         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1284         make sure backwardChar is done at least once (to avoid getting
1285         stuck)
1286         (findNextChange): use putSelectionAt in the forward direction
1287         (operator()): use Paragraph::isWord
1288
1289 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1290
1291         * Spacing.C (set): c_str fix
1292
1293 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1294
1295         * lyx_cb.C (Reconfigure): quote the name of configure script in
1296         case it contains spaces
1297
1298 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1299
1300         * client: new dir
1301
1302         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1303         (BOOST_LIBS): use top_buildir when looking for the file
1304
1305 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1306
1307         * pch.h: do not use include boost/format.hpp, multiple symbols
1308                 will result (gcc bug)
1309
1310
1311 2004-08-23  José Matos  <jamatos@lyx.org>
1312
1313         * bufferparams.C (readToken): fix reading of the author field.
1314
1315 2004-08-20  José Matos  <jamatos@lyx.org>
1316
1317         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1318
1319 2004-08-20  José Matos  <jamatos@lyx.org>
1320
1321         * lyxlex.[Ch] (findToken): remove function.
1322
1323         * ParagraphParameters.C (findToken):
1324         * bufferparams.C (findToken): replace call for previous function
1325         with local copy. This local function has one more argument, the
1326         read string argument.
1327
1328 2004-08-16  José Matos  <jamatos@lyx.org>
1329
1330         * ParagraphParameters.C (write):
1331         * Spacing.C (writeFile):
1332         * bufferparams.C (writeLaTeX):
1333         * lyx_cb.C (Reconfigure):
1334         * paragraph.C (write):
1335         * tabular.C (write): remove unnecessary space at end of line.
1336
1337
1338 2004-08-16  José Matos  <jamatos@lyx.org>
1339
1340         * text.C (readParagraph): remove debug message.
1341
1342 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1343
1344         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1345         crash
1346
1347         * output_plaintext.C (asciiParagraph): set depth correctly
1348
1349         * outputparams.h: add member depth
1350
1351         * paragraph_funcs.C (ownerPar): remove.
1352
1353         * text2.C (setCounter): remove first_pit; comment out some
1354         non-working code that uses ownerPar
1355
1356         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1357         uses ownerPar
1358
1359 2004-08-16  José Matos  <jamatos@lyx.org>
1360
1361         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1362         For the same level of importance use the same chanel to report problems.
1363         (read): add code to deal with \begin_body and \end_body.
1364
1365
1366 2004-08-15  José Matos  <jamatos@lyx.org>
1367
1368         * lyxlex.C (getString): fix comment, buffer::readBody is now
1369         buffer:readDocument.
1370
1371         * tex-strings.C (string_papersize): Default -> default,
1372         Custom -> custom, for consistency with other options.
1373
1374 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1375
1376         * pch.h: new file
1377
1378         * Makefile.am: support pch
1379
1380 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1381
1382         * text.C (readParToken): remove the static LyXFont variable and
1383         pass it as a parameter instead. This fixes a nasty bug where an
1384         inset will be inserted with a bad font in some situations
1385         (readParagraph): adapt
1386
1387         * text2.C (setCounter): reduce number of calls to pars_[pit]
1388
1389         * text.C (singleWidth): add an assert, fix a test
1390
1391         * rowpainter.C (paintText): reduce number of calls to singleWidth
1392
1393         * paragraph.C (isHfill):
1394         (isNewline): ws only
1395
1396 2004-08-14  André Pönitz  <poenitz@gmx.net>
1397
1398         * text.C:
1399         * text2.C:
1400         * rowpainter.C:
1401         * lyxtext.h (several functions): use a Paragraph & argument
1402         instead of par_type
1403
1404 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1405
1406         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1407
1408         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1409
1410         * text.C (singleWidth): remove useless test
1411
1412 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1413
1414         * tabular.h: remove bogus comments
1415
1416         * tabular.C (getDescentOfRow):
1417         (isPartOfMultiColumn): add assertions
1418
1419         * lyxlength.C (inPixels): remove #warning
1420
1421 2004-08-14  André Pönitz  <poenitz@gmx.net>
1422
1423         * paragraph.h: inline getChar()
1424
1425         * BufferView.h: remove unused declarations
1426
1427 2004-08-14  José Matos  <jamatos@lyx.org>
1428
1429         * Buffer.[Ch] (readDocument): new name for old readBody.
1430         * Buffer.C: new file format, new keywords: \begin_document,
1431         \begin_header, \begin_body, \end_body.
1432
1433         * bufferparams.C (readToken): replace all calls to lex.nextToken
1434         by lex.next(). Do the same to eatLine except where really needed.
1435
1436         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1437         line when writing to the lyx file.
1438
1439         * output_plaintext.C (asciiParagraph): fix Bibliography style
1440         handling.
1441
1442         * text.C (read): fix end of file handling.
1443
1444 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1445
1446         * MenuBackend.C (Menu::operator[]): new method to access
1447         individual menu items
1448         (Menu::hasFunc): new method. search for an item that corresponds
1449         to a given func
1450         (MenuBackend::specialMenu): new method
1451         (MenuBackend::expand): if a special menu has been set, skip
1452         entries whose func() appears in this menu
1453
1454 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1455
1456         * text3.C: use Debug::DEBUG a bit more
1457
1458         * text.C (leftMargin): try to simplify a tiny bit change var x to
1459         l_margin. Dont output the wide margins always.
1460         (rightMargin): no margin in inner texts
1461
1462         * rowpainter.h (nestMargin): new func
1463         (changebarMargin): new func
1464         (rightMargin): new func
1465
1466         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1467         now functions.
1468         (paintLast): ditto
1469
1470         * factory.C (createInset): modify setDrawFrame
1471
1472         * cursor.C: use Debug::DEBUG a bit more
1473
1474 2004-08-14  André Pönitz  <poenitz@gmx.net>
1475
1476         * coordcache.[Ch]:
1477         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1478         cache for all insets in (at least partially) visible (top-level)
1479         paragraphs.
1480
1481         * BufferView_pimpl.C: reset external coord cache before every update.
1482         This means the coord cache only contains valid entries.
1483
1484 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1485
1486         bug 1096
1487         * BufferView_pimpl.C (getInsetByCode): move function out of class
1488         and change in to a template in anon namespace. Also fix to do what
1489         suits us better.
1490
1491 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1492
1493         bug 1305
1494         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1495         of char
1496         (breakParagraph): rename par to par_offset and use a local
1497         reference. Add code to keep the language over a rebreak.
1498         (breakParagraphConservative): rename par to par_offset, use a
1499         local reference
1500         (mergeParagraph): ditto
1501         (outerHook): ditto
1502         (isFirstInSequence): ditto
1503         (outerFont): rename pit to par_offset
1504
1505         * paragraph.C: ws change
1506         * paragraph.h: ditto
1507         * text3.C: ditto
1508         * text.C: ditto
1509
1510 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1511
1512         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1513         treatment for ']'
1514
1515         * paragraph.C (simpleTeXOnePar): when we have a \item with
1516         optional argument, enclose the argument with curly brackets (in
1517         case it contains a closing square bracket)
1518
1519         * text2.C (editXY):
1520         * text2.C (editXY):
1521         * text3.C (checkInsetHit): constify
1522
1523 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1524
1525         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1526         documents (bug 1629)
1527
1528 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1529
1530         Fix toggling of collapsable insets with the mouse (bug 1558)
1531
1532         * lyxfunc.C (dispatch): adapt to LCursor changes
1533
1534         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1535         make sure that dispatch is not invoked twice
1536
1537         * cursor.C (needsUpdate): new method
1538         (dispatch): return void
1539         (result): new method, to access the DispatchResult of the cursor.
1540
1541 2004-08-13  José Matos  <jamatos@lyx.org>
1542
1543         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1544
1545 2004-08-13  André Pönitz  <poenitz@gmx.net>
1546
1547         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1548
1549         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1550           multiple cells
1551
1552 2004-08-12  André Pönitz  <poenitz@gmx.net>
1553
1554         * text3.C: take out the 'cursor right' form insertInset and only
1555         do it in those places when it is really needed. Fixes crash on
1556         C-m...
1557
1558 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1559
1560         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1561
1562         * BufferView_pimpl.C (setBuffer): initialize the current font of
1563         the underlying LyXText
1564
1565 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1566
1567         * kbsequence.C (print): use UI native formatting for menu
1568         shortcuts
1569
1570         * text.C (insertChar): call Paragraph::insertChar with a font
1571         argument (cosmetic)
1572
1573         * paragraph.C (insertInset, insertChar): the version that takes a
1574         LyXFont argument is now a wrapper around the other one (the
1575         opposite used to be true).
1576
1577         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1578         argument. Font setting is done in Paragraph now.
1579
1580 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1581
1582         * outputparams.h: add new members intitle and lang.
1583
1584         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1585         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1586
1587 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1588
1589         * text3.C (dispatch): remove special handling of button 4 and 5,
1590         it is now taken care of in the frontend code.
1591
1592 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1593
1594         * Spacing.h: add <string> (STLPort compile fix)
1595
1596 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1597
1598         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1599
1600 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1601
1602         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1603         to bool.
1604
1605         * converter.C (showMessage): inherit from unary_function, make
1606         operator() const.
1607
1608         * buffer.C (writeFile): initialize retval
1609
1610         * InsetList.h: rename private variable list to list_
1611         * InsetList.[Ch]: adjust accordingly.
1612
1613 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1614
1615         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1616         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1617         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1618         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1619         * ParagraphParameters.C, LaTeXFeatures.C: replace
1620         "support/std_sstream.h" with <sstream>
1621
1622 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1623
1624         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1625         * lyxsocket.C (LyXServerSocket): ditto
1626         (serverCallback): ditto
1627
1628 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1629
1630         * LaTeXFeatures.C: check release date when loading jurabib.
1631
1632 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1633
1634         * lyxserver.C (startPipe): call register_socket_callback
1635         (endPipe): call unregister_socket_callback
1636
1637 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1638
1639         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1640         (LyXServerSocket): register the callback
1641         (LyXServerSocket): unregister the callback
1642         (fd): delete function
1643         (serverCallback): improve error checking and setup the callbacks.
1644         (dataCallback): change arg to fd.
1645         (writeln): new func (copied fro the client socket) used for server
1646         write to client.
1647         (LyXDataSocket): simplify
1648         (~LyXDataSocket): close ann unregiser callback
1649         (server): delete function
1650         (fd): delete function
1651         (readln): small changes, improve some std::string usage
1652         (writeln): constify a bit
1653
1654 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1655
1656         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1657         Qt frontend
1658
1659 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1660
1661         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1662         after it has been populated
1663
1664 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1665
1666         * text2.C (insertInset): move cursor when inserting inset.
1667
1668 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1669
1670         * kbmap.C (findbindings): a couple of new methods. returns a
1671         container of kb_sequence objects. The real work is done by the
1672         private recursive version
1673         (printbindings): uses findbindings to print out a bracketed list
1674         of bindings (renamed from findbinding).
1675
1676         * MenuBackend.C (binding): use kb_keymap::findbindings
1677
1678         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1679
1680 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1681
1682         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1683
1684 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1685
1686         * paragraph.C (isWord): return true on insets that report
1687         isLetter().
1688
1689         * text.C (getWord): use Paragraph::isWord to decide what is in a
1690         word and what is not; fix bug 1609.
1691
1692 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1693
1694         * tex-strings.C: add "none" to string_paperpackages[], fixes
1695         off-by-one-error in the paperpackage selection.
1696
1697         * lyxlex.[Ch]:
1698         * tex-strings.[Ch]: char const * string[n]
1699         -> char const * const string[]
1700
1701 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1702
1703         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1704         command, return early.
1705
1706 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1707
1708         * debug.h: add DEBUG to enum and fix size of ANY.
1709
1710         * debug.C: add support for Debug::DEBUG
1711         (showTags): cast errorTags.level to unsigned int
1712
1713         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1714         (redoCurrentBuffer): ditto
1715         (updateScrollbar): ditto
1716         * cursor.C (dispatch): ditto
1717         * text2.C (setLayout): ditto
1718         (setFont): ditto
1719         (updateCounters): ditto
1720         (editXY): ditto
1721         (deleteEmptyParagraphMechanism): ditto
1722
1723 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1724
1725         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1726         annotations to cleanup the Makefile slightly.
1727
1728 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1729
1730         * lyxrc.C: do not set user_email to a default value but use empty
1731         instead. The entry used to be translated, which does not work
1732         since at the point where lyxrc is constructed there is no
1733         translation service available
1734
1735         * messages.C (getLocaleDir): remove and use directly
1736         lyx_localedir() instead
1737
1738 2004-06-02  Angus Leeming  <leeming@lyx.org>
1739
1740         Fix crash caused by dereferencing null pointer 'exportdata' in
1741         OutputParams by creating a new ExportData variable on the heap,
1742         storing it in a boost::shared_ptr.
1743         The crash was triggered when generating an Instant Preview
1744         of an external inset.
1745
1746         * Makefile.am: add outputparams.C
1747
1748         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1749         (c-tor): allocate memory to it.
1750
1751         * exporter.C (c-tor): associated changes.
1752
1753 2004-06-01  Angus Leeming  <leeming@lyx.org>
1754
1755         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1756         contains data before calling isInset(0). (Bug 1513.)
1757
1758 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1759
1760         * exporter.C (checkOverwrite): new method
1761         * exporter.C (copyFile): new method
1762         * exporter.C (Export): copy referenced files to the document dir
1763         * exporter.[Ch]: new class ExportedFile
1764         * exporter.[Ch]: new class ExportData. Contains currently the
1765         names of referenced external files
1766         * outputparams.h: add exportdata member.
1767
1768 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1769
1770         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1771         version.C-tmp
1772
1773 2004-05-19  Angus Leeming  <leeming@lyx.org>
1774
1775         * LaTeXFeatures.C:
1776         * ToolbarBackend.C:
1777         * bufferparams.C:
1778         * lyxfunc.C: small changes due to the introduction of namespace
1779         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1780
1781 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1782
1783         * text3.C (dispatch): supress update when only moving the cursor
1784         * cursor.C (selHandle): remove commented code
1785
1786 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1787
1788         * paragraph.C (startTeXParParams): correct column count
1789         * CutAndPaste.C (pasteSelection): remove const_cast
1790         * output_docbook.C (docbookParagraphs): remove const_cast
1791         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1792         const_cast and return ParagraphList::const_iterator
1793         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1794         * output_plaintext.C (writeFileAscii): remove const_cast
1795         * paragraph.[Ch] (simpleTeXOnePar): make const
1796         * paragraph_funcs.C (outerPar): use const iterators
1797         * paragraph_pimpl.C (validate): use const iterators
1798         * text.C (setHeightOfRow): use const iterators
1799
1800 2004-05-17  Angus Leeming  <leeming@lyx.org>
1801
1802         * lfuns.h:
1803         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1804
1805         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1806         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1807         if the citation engine has changed.
1808
1809 2004-05-14  José Matos  <jamatos@lyx.org>
1810
1811         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1812         if the textclass does not provide it. Have it different for sgml and
1813         xml.
1814         support the language of document.
1815         * output_docbook.C (docbookParagraphs):
1816         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1817         first anchor as the id of the paragraph, remove special case code.
1818         * sgml.C (escapeChar): escape only < & >.
1819
1820 2004-05-14  Angus Leeming  <leeming@lyx.org>
1821
1822         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1823         dependencies on src/frontends/controllers/biblio.h. Define a
1824         CiteEngine_enum wrapper class to enable the enum to be forward
1825         declared.
1826
1827 2004-05-12  Angus Leeming  <leeming@lyx.org>
1828
1829         * buffer.C: up LYX_FORMAT to 234.
1830         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1831         use_numerical_citations with a single biblio::CiteEngine cite_engine
1832         variable.
1833         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1834
1835 2004-05-13  José Matos  <jamatos@lyx.org>
1836
1837         * converter.h:
1838         * converter.C (Converter, readFlags): add xml member.
1839         * outputparams.h: add XML flavor.
1840         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1841
1842 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1843
1844         * lyxfunc.C (dispatch):
1845         (getStatus): fix handling of LFUN_SEQUENCE
1846
1847 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1848
1849         * debug.C (showLevel): do not forget the end-of-line marker
1850
1851 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1852
1853         * kbmap.C (read): do not stop parsing a bind file when an error
1854         occurs (bug 1575)
1855
1856 2004-04-29  Angus Leeming  <leeming@lyx.org>
1857
1858         * cursor.C:
1859         * factory.C:
1860         * pariterator.C:
1861         * text2.C: wrap a bunch of #warning statements
1862         inside #ifdef WITH_WARNINGS blocks.
1863
1864 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1865
1866         * buffer.C: increment format to 233.
1867
1868 2004-04-28  Angus Leeming  <leeming@lyx.org>
1869
1870         * BufferView_pimpl.C:
1871         * lyxfunc.C:
1872         * text3.C:
1873         s/updateToolbar()/updateToolbars()/
1874         s/Toolbar.h/Toolbars.h/
1875
1876 2004-04-28  Angus Leeming  <leeming@lyx.org>
1877
1878         * BufferView.[Ch] (c-tor):
1879         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1880         No longer passes these data to the WorkArea generator.
1881
1882 2004-04-28  Angus Leeming  <leeming@lyx.org>
1883
1884         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1885
1886 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1887
1888         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1889
1890 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1891
1892         * output_latex.C (TeXEnvironment): make sure that there is a line
1893         break before \end{foo} for the last paragraph of a document
1894         (TeXOnePar): if the paragraph is at the end of the document (or
1895         inset) and the language has to be reset, then make sure that the
1896         line break is _before_ the language command, not after (fixes bug
1897         1225); also make sure that the language reset command is the first
1898         thing after the paragraph (to ensure proper nesting of
1899         environments and thus fix bug 1404)
1900
1901 2004-04-21  John Levon  <levon@movementarian.org>
1902
1903         * ToolbarBackend.h:
1904         * ToolbarBackend.C: make "name" be a programmatic name
1905         and a gui_name field.
1906
1907         * lyxfunc.C: display the minibuffer on M-x
1908
1909 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1910
1911         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1912         (bug 1526)
1913
1914 2004-04-19  Angus Leeming  <leeming@lyx.org>
1915
1916         * BufferView_pimpl.C (setBuffer): changed preview interface.
1917
1918         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1919         possible values.
1920
1921 2004-04-19  John Levon  <levon@movementarian.org>
1922
1923         * BufferView_pimpl.C:
1924         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1925
1926 2004-04-05  Angus Leeming  <leeming@lyx.org>
1927
1928         * text.C (redoParagraphs): add call to updateCounters(), thereby
1929         fixing the missing "Figure #:" label from the caption of a
1930         figure float.
1931
1932 2004-04-13  Angus Leeming  <leeming@lyx.org>
1933
1934         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1935         cursor is clicked out of an inset.
1936
1937 2004-04-13  Angus Leeming  <leeming@lyx.org>
1938
1939         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1940         than an InsetOld one.
1941
1942 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1943
1944         * format.[Ch]: add editor to Format
1945         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1946         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1947
1948 2004-04-08  André Pönitz  <poenitz@gmx.net>
1949
1950         * metricsinfo.h: remove PainterInfo::width member
1951
1952 2004-04-08  Angus Leeming  <leeming@lyx.org>
1953
1954         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1955         "\providecommand" rather than "\newcommand", thereby preventing
1956         clashes with packages that define "\boldsymbol" themselves.
1957         Eg, beamer.
1958
1959 2004-04-08  Angus Leeming  <leeming@lyx.org>
1960
1961         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1962         thereby squashing an unnecessary warning.
1963
1964 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1965
1966         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1967         setBuffer()
1968
1969 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1970
1971         * BufferView.C (setCursor): call redoParagraph (some insets could
1972         have been opened)
1973         (putSelectionAt): remove the 'double update' trick
1974
1975         * BufferView_pimpl.C (fitCursor): call refreshPar
1976         (workAreaDispatch): remove an uneeded update call
1977         (dispatch): remove some manual update calls
1978
1979         * cursor.[Ch]: remove cached_y_, updatePos
1980         (selHandle): set noUpdate when appropriate
1981
1982         * lyxfunc.C (dispatch): track if we need an update
1983
1984         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1985
1986         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1987         (paintSelection): cheap optimization, do not call cursorX when not
1988         needed
1989         (paintPars): change signature
1990         (refreshPar): add
1991         (paintText): adjust
1992         (paintTextInset): adjust
1993
1994         * text.C: adjust
1995
1996 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1997
1998         * lengthcommon.C: compilation fix: remove explicit array size from
1999         unit_name[] and friends
2000
2001 2004-04-05  Angus Leeming  <leeming@lyx.org>
2002
2003         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2004
2005         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2006         present only for the preferences dialog.
2007         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2008
2009 2004-04-05  Angus Leeming  <leeming@lyx.org>
2010
2011         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2012         to enable the frontends to export changes to lyxrc correctly.
2013
2014         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2015
2016 2004-04-07  André Pönitz  <poenitz@gmx.net>
2017
2018         * cursor.[Ch] (selClear, adjust): remove math
2019
2020         * cursor_slice.C: more agressive assert
2021
2022         * lyxfunc.C:
2023         * BufferView_pimpl.C: rework mouse event dispatch
2024
2025         * dociterator.C:
2026         * paragraph.C:
2027         * text2.C:
2028         * text3.C: adjust
2029
2030 2004-04-05  André Pönitz  <poenitz@gmx.net>
2031
2032         * cursor.[Ch] (valign, halign...): remove unneeded functions
2033
2034 2004-04-05  Angus Leeming  <leeming@lyx.org>
2035
2036         * lyxlength.[Ch] (unit_name et al.): const-correct.
2037
2038 2004-04-05  Angus Leeming  <leeming@lyx.org>
2039
2040         * BufferView_pimpl.C:
2041         * buffer.C:
2042         * counters.C:
2043         * cursor.C:
2044         * lyxfunc.C
2045         * paragraph.C:
2046         * pariterator.C:
2047         * text.C:
2048         * text2.C:
2049         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2050
2051 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2052
2053         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2054
2055 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2056
2057         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2058         * BufferView_pimpl.[Ch] (getStatus)
2059         * BufferView.[Ch] (getStatus): add
2060         * lyxfunc.C (getStatus): move lfuns handled in
2061         BufferView::dispatch to te function above
2062         * Cursor.C (setSelection): set selection() = true
2063
2064 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2065
2066         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2067
2068 2004-03-31  Angus Leeming  <leeming@lyx.org>
2069
2070         * lyxfunc.C (dispatch): Fall through to the generic
2071         Dialogs::show("preamble").
2072
2073 2004-03-31  Angus Leeming  <leeming@lyx.org>
2074
2075         * lyxfunc.C (dispatch): Fall through to the generic
2076         Dialogs::show("spellchecker").
2077
2078 2004-03-31  Angus Leeming  <leeming@lyx.org>
2079
2080         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2081         preferences dialog.
2082
2083 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2084
2085         * BufferView.C
2086         * cursor.[Ch]
2087         * dociterator.[Ch]:
2088         * insetiterator.[Ch]:
2089         * lyxfind.C:
2090         * lyxfunc.C:
2091         * pariterator.[Ch]:
2092         * text2.C:
2093         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2094
2095 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2096
2097         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2098         insets where we are putting the cursor.
2099
2100 2004-03-31  Angus Leeming  <leeming@lyx.org>
2101
2102         * lfuns.h:
2103         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2104
2105         * lyxrc.[Ch] (read, write): overloaded member functions taking
2106         a std::[io]stream arguments.
2107
2108         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2109
2110 2004-03-31  Angus Leeming  <leeming@lyx.org>
2111
2112         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2113         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2114
2115         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2116         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2117
2118 2004-03-31  Angus Leeming  <leeming@lyx.org>
2119
2120         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2121         the LFUN_ALL_INSETS_TOGGLE code.
2122
2123 2004-03-30  Angus Leeming  <leeming@lyx.org>
2124
2125         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2126         has died. Fall through to the generic Dialogs::show("document").
2127
2128 2004-03-30  Angus Leeming  <leeming@lyx.org>
2129
2130         * lfuns.h:
2131         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2132         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2133
2134         * lyxfunc.C (getStatus, dispatch): define the actions for these
2135         lfuns. Little more than a cut and pste job from ControlDocument.C
2136
2137         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2138
2139 2004-03-30  Angus Leeming  <leeming@lyx.org>
2140
2141         * lfuns.h:
2142         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2143         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2144
2145         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2146         open/closed state of ollapsable insets. Usage:
2147
2148         all-inset-toggle <state> <name>, where
2149         <state> == "open" || "closed" || "toggle" and
2150         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2151
2152         * lyxtext.h, text2.C (toggleInset): removed.
2153
2154         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2155         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2156         now passes LFUN_INSET_TOGGLE to the found inset.
2157
2158         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2159         is now invoked as "all-insets-toggle toggle branch".
2160
2161 2004-03-30  Angus Leeming  <leeming@lyx.org>
2162
2163         * dociterator.C:
2164         * insetiterator.C:
2165         * pariterator.[Ch]: added/corrected header blurb.
2166
2167 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2168
2169         * dociterator.[Ch]: add an inset_ member
2170         (backwardPos): implemented
2171         (backwardPos, forwardPos): use inset_ when the stack is empty.
2172         (doc_iterator_begin, doc_iterator_end): implemented
2173         * pariterator.[Ch]: adjust, add begin, end
2174         * insetiterator.[Ch]: adjust, add begin, end
2175         * cursor.C:
2176         * document.C:
2177         * BufferView.C:
2178         * BufferView_pimpl.C:
2179         * CutAndPaste.C: adjust
2180
2181 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2182
2183         * buffer.C: increment file format to 232.
2184         * LaTeXFeatures.C: add bibtopic package.
2185         * bufferparams.[Ch]: param \use_bibtopic.
2186
2187         * lyxrc.[Ch]: add lyxrc bibtex_command
2188         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2189
2190         * buffer.C: increment file format to 231.
2191
2192 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2193
2194         * dociterator.C: implement forwardPar
2195         * iterators.[Ch]: remove, replaced by
2196         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2197         * BufferView.C:
2198         * BufferView_pimpl.C:
2199         * CutAndPaste.C:
2200         * buffer.C:
2201         * bufferview_funcs.C:
2202         * cursor.C:
2203         * lyxfind.C
2204         * lyxfunc.C
2205         * paragraph_funcs.C
2206         * toc.C:
2207         * Makefile.am: adjust
2208
2209 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2210
2211         * CutAndPaste.C (pasteSelection): fix 2 crashes
2212         (eraseSelection): fix a crash
2213         * paragraph_funcs.C: remove a warning
2214
2215 2004-03-28  Angus Leeming  <leeming@lyx.org>
2216
2217         * lfuns.h:
2218         * LyXAction.C (init): new LFUN_PRINT.
2219
2220         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2221
2222 2004-03-27  Angus Leeming  <leeming@lyx.org>
2223
2224         * lfuns.h:
2225         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2226
2227         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2228
2229 2004-03-27  Angus Leeming  <leeming@lyx.org>
2230
2231         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2232         insetlist always contains non-null pointers to insets.
2233
2234 2004-03-26  Angus Leeming  <leeming@lyx.org>
2235
2236         * src/BufferView_pimpl.C:
2237         * src/CutAndPaste.C:
2238         * src/buffer.C:
2239         * src/iterators.C:
2240         * src/output_plaintext.C:
2241         * src/outputparams.h:
2242         * src/paragraph_funcs.C:
2243         * src/rowpainter.C:
2244         * src/text.C:
2245         * src/text2.C:
2246         * src/frontends/controllers/ControlErrorList.C:
2247         * src/frontends/gtk/FileDialogPrivate.C:
2248         * src/frontends/gtk/GPainter.C:
2249         * src/frontends/gtk/GToolbar.C:
2250         * src/frontends/qt2/QRef.C:
2251         * src/mathed/math_scriptinset.C: squash compiler warnings.
2252
2253 2004-03-26  Angus Leeming  <leeming@lyx.org>
2254
2255         * ispell.C (LaunchIspell::start):
2256         * lyx_cb.C (AutoSaveBuffer::start):
2257         invoke run(DontWait) rather than runNonBlocking().
2258
2259 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2260
2261         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2262
2263 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2264
2265         * kbsequence.C (print): adjust
2266
2267         * kbmap.C (printKeySym): rename and change signature
2268         (printKey): use LyXKeySym::print()
2269
2270 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2271
2272         * undo.C: add using std::advance to compile for stlport
2273
2274 2004-03-24  Angus Leeming  <leeming@lyx.org>
2275
2276         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2277         it leads to a crash when no buffer is present.
2278
2279 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2280             Martin Vermeer  <martin.vermeer@hut.fi>
2281
2282         * lyxfunc.C (dispatch):
2283         * bufferparams.C (readToken): use the new LColor::setColor
2284
2285         * LColor.[Ch] (setColor): new version that takes two strings as
2286         argument and creates a new color entry if necessary
2287
2288 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2289
2290         * buffer.C (makeLaTeXFile): if the main latex file that is
2291         processed is usually a subdocument of some master, then pretend
2292         for a while that it is actually the master
2293
2294 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2295
2296         * buffer.C (getLabelList):
2297         (getBibkeyList): use getMasterBuffer()
2298         (getMasterBuffer): new method. Returns the main document in the
2299         case where one is using included documents.
2300
2301 2004-03-25  André Pönitz  <poenitz@gmx.net>
2302
2303         * Makefile.am:
2304         * iterators.[Ch]:
2305         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2306
2307         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2308
2309         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2310         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2311
2312         * ParameterStruct.h: merge with ParagraphParameters
2313
2314         * lyxtext.h: remove LyXText::parOffset() and getPar()
2315
2316         * text3.C: Remove all 'manual' update calls. We do now one per user
2317         interaction which is completely sufficient.
2318
2319         * Bidi.C:
2320         * BufferView.[Ch]:
2321         * BufferView_pimpl.C:
2322         * FontIterator.[Ch]:
2323         * MenuBackend.C:
2324         * ParagraphParameters.[Ch]:
2325         * buffer.C:
2326         * buffer.h:
2327         * bufferlist.C:
2328         * cursor.[Ch]:
2329         * cursor_slice.[Ch]:
2330         * dociterator.[Ch]:
2331         * errorlist.[Ch]:
2332         * factory.C:
2333         * lfuns.h:
2334         * lyxfind.C:
2335         * lyxfunc.C:
2336         * output_docbook.[Ch]:
2337         * output_latex.[Ch]:
2338         * output_linuxdoc.[Ch]:
2339         * output_plaintext.[Ch]:
2340         * paragraph.[Ch]:
2341         * paragraph_funcs.[Ch]:
2342         * paragraph_pimpl.[Ch]:
2343         * rowpainter.C:
2344         * tabular.[Ch]:
2345         * text.C:
2346         * text2.C:
2347         * toc.C:
2348         * undo.[Ch]: adjust
2349
2350         * frontends/controllers/ControlDocument.C:
2351         * frontends/controllers/ControlErrorList.C:
2352         * frontends/controllers/ControlSpellchecker.C:
2353         * insets/inset.C:
2354         * insets/inset.h:
2355         * insets/insetbase.h:
2356         * insets/insetbibitem.C:
2357         * insets/insetbox.C:
2358         * insets/insetbranch.C:
2359         * insets/insetcaption.C:
2360         * insets/insetcharstyle.C:
2361         * insets/insetcharstyle.h:
2362         * insets/insetcollapsable.C:
2363         * insets/insetcollapsable.h:
2364         * insets/insetert.C:
2365         * insets/insetfloat.C:
2366         * insets/insetfoot.C:
2367         * insets/insetmarginal.C:
2368         * insets/insetnote.C:
2369         * insets/insetoptarg.C:
2370         * insets/insettabular.C:
2371         * insets/insettext.C:
2372         * insets/insettext.h:
2373         * insets/insetwrap.C:
2374         * mathed/math_mboxinset.C:
2375         * mathed/math_nestinset.C:
2376         * mathed/math_scriptinset.C:
2377         * mathed/math_scriptinset.h:
2378         * support/types.h:
2379
2380 2004-03-24  Angus Leeming  <leeming@lyx.org>
2381
2382         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2383         deal with any child processes that have finished but are waiting to
2384         communicate this fact to the rest of LyX.
2385
2386 2004-03-24  Angus Leeming  <leeming@lyx.org>
2387
2388         64-bit compile fixes.
2389
2390         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2391         (c-tor): pass lyx::pos_types rather than ints.
2392
2393         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2394         lyx::pos_type.
2395
2396         * text.C (Delete): compile fix.
2397         (getPar): ensure that function declaration is the same as that in
2398         the header file.
2399
2400 2004-03-23  Angus Leeming  <leeming@lyx.org>
2401
2402         * ispell.C (LaunchIspell):
2403         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2404         a boost::shred_ptr rather than a std::auto_ptr.
2405
2406 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2407
2408         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2409         handle LFUN_FILE_INSERT_*
2410
2411         * lyxrc.C (setDefaults, getDescription, output, read):
2412         * lyxrc.h: remove ps_command
2413
2414 2004-03-22  Angus Leeming  <leeming@lyx.org>
2415
2416         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2417         Ensure that error_handler is processed once only and that all data
2418         is saved before attempting to output any warning messages.
2419
2420         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2421
2422 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2423
2424         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2425
2426 2004-03-19  André Pönitz  <poenitz@gmx.net>
2427
2428         * cursor.[Ch] (reset): take main text inset as argument
2429
2430         * BufferView: adjust
2431         * BufferView_pimpl.C: adjust
2432
2433         * paragraph.[Ch]: fix completely broken operator=()
2434
2435 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2436
2437         * LColor.C (getFromLyXName): make sure that the color name is used
2438         as lowercase.
2439
2440 2004-03-17  Angus Leeming  <leeming@lyx.org>
2441
2442         * lfuns.h:
2443         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2444
2445         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2446         dialog and to kill a forked process.
2447
2448 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2449
2450         * text2.C (setCursorFromCoordinates): fix font problem
2451
2452 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2453
2454         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2455         bogus "rebuild cursor" code
2456
2457 2004-03-11  André Pönitz  <poenitz@gmx.net>
2458
2459         * buffer.[Ch]: use InsetText instead of LyXText as container for
2460         the main lyx text.
2461
2462         * dociterator.[Ch]: drop the BufferView * member which is not needed
2463         anymore after the change to buffer.C
2464
2465         * paragraph_funcs.C:
2466         * text.C:
2467         * text2.C:
2468         * BufferView.[Ch]:
2469         * BufferView_pimpl.[Ch]:
2470         * cursor.[Ch]:
2471         * cursor_slice.[Ch]: adjust
2472
2473         * text3.C: fix bug in mathDispatch
2474
2475 2004-03-08  André Pönitz  <poenitz@gmx.net>
2476
2477         * undo.[Ch]: use 'StableDocumentIterator' as base for
2478         the Undo struct.
2479
2480 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2481
2482         * LaTeXFeatures.C:
2483         * bufferparams.[Ch]: add jurabib support and param.
2484
2485         * LaTeX.C: add FIXME/comment.
2486
2487 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2488
2489         * buffer.C: increment file format to 230.
2490
2491 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2492
2493         * cursor.C (dispatch): avoid infinite loops
2494
2495 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2496
2497         * rowpainter.C (paintSelection): fix x coordinates
2498
2499 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2500
2501         * text.C (rowBreakPoint): fix breaking before displayed insets
2502
2503 2004-03-01  André Pönitz  <poenitz@gmx.net>
2504
2505         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2506
2507         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2508
2509         * Makefile.am:
2510         * BufferView.C:
2511         * BufferView_pimpl.C:
2512         * buffer.C:
2513         * lyxfind.C:
2514         * lyxfunc.C:
2515         * text.C:
2516         * text2.C:
2517         * text3.C: adjust
2518
2519 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2520
2521         * lyxtext.h:
2522         * text.C:
2523         * text2.C:
2524         * rowpainter.C:
2525         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2526         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2527
2528 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2529
2530         * Bidi.[Ch] (computeTables): const correctness
2531         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2532         fill_hfill, fill_label_hfill and x from Row
2533         * lyxtext.h: prepareToPrint returns a RowMetrics
2534         * rowPainter.C: adjust
2535         * text.C (prepareToPrint): use width, not textWidth. adjust
2536         (redoParagraphInternal, cursorX): adjust
2537         * text2.C (getColumnNearX): adjust
2538         (init): put a default value to the top LyXText::width
2539
2540 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2541
2542         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2543
2544 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2545
2546         * lyxtext.h: add FontIterator class
2547
2548         * text.C (FontIterator, operator*, operator->, operator++): add
2549         (rowBreakPoint, setRowWidth): adjust (fixing a
2550         rebreaking bug)
2551
2552 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2553
2554         * BufferView_pimpl.C (workAreaDispatch): allow also
2555         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2556
2557 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2558
2559         * text.C (rowBreakPoint): fix a bug showing with very large insets
2560
2561 2004-02-25  André Pönitz  <poenitz@gmx.net>
2562
2563         * text3.C:
2564         * cursor.[Ch]: move some mathed specific code to mathed
2565
2566 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2567
2568         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2569         use_tempdir in preferences
2570         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2571         tempfile creation
2572         * lyx_main.C: ensure that tempdir is valid
2573         * lyxlex.h: correct typo
2574         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2575         * paragraph.[Ch] (isMultiLingual): make const
2576         * cursor.[Ch] (openable): make const
2577
2578 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2579
2580         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2581
2582 2004-02-20  André Pönitz  <poenitz@gmx.net>
2583
2584         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2585
2586         * cursor.[Ch]: prepare for localized getStatus()
2587
2588         * lyxtext.h:
2589         * tabular.C:
2590         * text.C:
2591         * text2.C:
2592         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2593
2594 2004-02-20  André Pönitz  <poenitz@gmx.net>
2595
2596         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2597
2598 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2599
2600         * text2.C (setCursorFromCoordinates): switch to absolute coords
2601         (cursorUp): adjust
2602         (cursorDown): adjust
2603         * text3.C (dispatch): adjust
2604
2605 2004-02-16  André Pönitz  <poenitz@gmx.net>
2606
2607         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2608           insets/ChangeLog)
2609
2610         * cursor_slice.[Ch]: remove unneeded acessor function
2611
2612         * lyxtext.h: rename rtl() to isRTL()
2613
2614         * rowpainter.C:
2615         * tabular.C:
2616         * text.C:
2617         * text2.C:
2618         * text3.C: adjust
2619
2620 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2621
2622         * rowpainter.C (paintSelection): coord fix
2623
2624 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2625
2626         * Spacing.C: compile fix
2627
2628 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2629
2630         * cursor.C (dispatch): restore current_ before returning
2631
2632 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2633
2634         * text2.C (cursorUp, cursorDown): fix coords
2635         (moveUp): fix crash
2636
2637 2004-02-12  André Pönitz  <poenitz@gmx.net>
2638
2639         * lyxtext.h:
2640         * text.C:
2641         * text2.C:
2642         * text3.C: add LCursor & parameter to most cursor movement functions
2643           remove usage of LyXText::cursorRow() and cursorPar()
2644
2645         * cursor.[Ch]: add textRow() needed members
2646
2647         * BufferView.C:
2648         * BufferView_pimpl.C:
2649         * paragraph.[Ch]:
2650         * BufferView.C:
2651         * BufferView_pimpl.C: adjust
2652
2653 2004-02-11  André Pönitz  <poenitz@gmx.net>
2654
2655         * lyxfunc.C:
2656         * BufferView.[Ch]:
2657         * BufferView_pimpl.C: shift undo/redo handling
2658
2659         * cursor.[Ch]: fix mathed crash
2660
2661         * lyxfind.C:
2662         * lyxtext.h: move selectionAsText to LCursor
2663
2664         * output_latex.C:
2665         * paragraph.C:
2666         * text.C:
2667         * text2.C:
2668         * text3.C: adjust
2669
2670         * rowpainter.C: fix excessive drawing
2671
2672 2004-02-06  André Pönitz  <poenitz@gmx.net>
2673
2674         * BufferView.[Ch]:
2675         * BufferView_pimpl.[Ch]:
2676         * text3.C: move some text specific LFUN handling
2677
2678 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2679
2680         * text3.C (checkInsetHit): adjust coords
2681         * text2.C (getColumnNearX): adjust coords
2682         (edit): adjust coords
2683         * text.C (getRowNearY): add two asserts
2684
2685 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2686
2687         * converter.C:
2688         * format.C: add using std::distance to compile on gcc 2.95/stlport
2689
2690 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2691
2692         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2693
2694 2004-02-04  André Pönitz  <poenitz@gmx.net>
2695
2696         * BufferView.[Ch] (insertInset):
2697         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2698
2699         * text2.C:
2700         * text3.C: adjust
2701
2702 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2703
2704         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2705         on the default clause of the switch
2706         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2707         wasn't catched by LCursor::dispatch
2708
2709 2004-02-03  André Pönitz  <poenitz@gmx.net>
2710
2711         * BufferView.C:
2712         * cursor.[Ch]: some additional asserts
2713
2714         * undo.[Ch]: remove LyXText dependency in interface
2715
2716         * lyxfunc.C: adjust
2717
2718         * lyxtext.h (firstPar, lastPar): remove dead functions
2719
2720         * text.C:
2721         * text2.C:
2722         * text3.C:
2723         * paragraph.[Ch]: adjust
2724
2725 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2726
2727         * lyxfind.C (find): fix argument order in call to ::find
2728
2729 2004-02-02  André Pönitz  <poenitz@gmx.net>
2730
2731         * cursor.[Ch]: remove direct access to anchor
2732
2733         * text.C: remove findText() hack
2734
2735 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2736
2737         * iterators.[Ch] (lockPath): remove in favour of...
2738         * BufferView.[Ch] (setCursor): this addition
2739         * BufferView.C (putSelectionAt): adjust
2740         * undo.C (performUndoOrRedo): adjust
2741         * lyxfunc.C (dispatch): adjust
2742
2743 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2744
2745         * iterators.C (lockPath): add a missing slice
2746         * undo.C (performUndoOrRedo): remove redundant positioning code
2747
2748 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2749
2750         * vc-backend.C (scanMaster): ";" -> ';'
2751
2752 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2753
2754         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2755         std::binary_function
2756
2757         * lyxtextclass.C (compare_name): rename to...
2758         (LayoutNamesEqual): ...this
2759
2760         * lyxlex_pimpl.C (compare_tags): inherit from
2761         std::binary_function, put back into anon namespace
2762
2763         * lyxfind.C (MatchString): inherig from std::binary_function
2764         (findChange): use empty() istead of !size()
2765
2766         * format.C (FormatNamesEqual): new functor
2767         (getFormat): use it
2768         (getNumber): use it
2769         (add): use it
2770         (erase): use it
2771         (setViewer): use it
2772
2773         * converter.C (compare_Converter): rename to...
2774         (ConverterEqual): ...this, and fixup a bit.
2775         (getConverter): use it, and make function const
2776         (getNumber): use it, and make function const
2777         (add): use it
2778         (erase): use it:
2779
2780         * bufferlist.C: add using boost::bind
2781
2782         * MenuBackend.C (MenuNamesEqual): new functor
2783         (hasMenu): use it, and make function const
2784         (hasSubmenu): use nested bind to get rid of compare_memfun.
2785
2786 2004-01-30  André Pönitz  <poenitz@gmx.net>
2787
2788         * BufferView_pimpl.C:
2789         * cursor.C:
2790         * cursor.h:
2791         * cursor_slice.[Ch]:
2792         * lyxfunc.C:
2793         * lyxtext.h:
2794         * paragraph_funcs.C:
2795         * paragraph_funcs.h:
2796         * rowpainter.C:
2797         * text.C:
2798         * text2.C:
2799         * text3.C: move some of the edit(x,y) handling to the insets
2800         some coordinate changes.
2801
2802 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2803
2804         * text.C: add using statements for std::advance and std::distance
2805
2806         * paragraph.C: add using statement for std::distance
2807
2808         * lyxfind.C: add using statement for std::advance
2809
2810         * cursor.C (region): remove std:: from swap
2811         (openable): use nucleus in stead of operator->
2812
2813         * BufferView.C: add using statements for std::distance and std::swap
2814
2815 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2816
2817         * iterators.C: Remove the pimple, move the needed structures to
2818         the header file. Create accessor for the positions stack.
2819         (asPosIterator): remove function
2820
2821         * PosIterator.C (PosIterator): move constructors to top of file
2822         (PosIterator): reimplement the constructor taking a ParIterator in
2823         terms of setFrom.
2824         (setFrom): new function
2825         (operator!=): inline it
2826
2827 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2828
2829         * lyxfind.C (replaceAll): use std::advance
2830
2831         * iterators.h: inherit from std::iterator.
2832
2833         * PosIterator.C (advance, distance): remove
2834         * PosIterator.h: interit from std::iterator.
2835
2836 2004-01-26  André Pönitz  <poenitz@gmx.net>
2837
2838         * BufferView.[Ch]:
2839         * BufferView_pimpl.[Ch]:
2840         * InsetList.[Ch]:
2841         * PosIterator.[Ch]:
2842         * buffer.h:
2843         * bufferview_funcs.C:
2844         * cursor.[Ch]:
2845         * cursor_slice.h:
2846         * factory.[Ch]:
2847         * iterators.[Ch]:
2848         * lyxfind.C:
2849         * lyxfunc.C:
2850         * lyxtext.h:
2851         * output_docbook.C:
2852         * output_latex.C:
2853         * output_linuxdoc.C:
2854         * output_plaintext.C:
2855         * paragraph.[Ch]:
2856         * paragraph_funcs.[Ch]:
2857         * paragraph_pimpl.[Ch]:
2858         * rowpainter.C:
2859         * tabular.C:
2860         * tabular.h:
2861         * text.C:
2862         * text2.C:
2863         * text3.C: more IU:  dumps most of the rest of the mathcursor
2864     implementation into cursor.[Ch]; "globalize" a bit of it.
2865
2866 2004-01-25  Angus Leeming  <leeming@lyx.org>
2867
2868         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2869
2870 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2871
2872         * LaTeXFeatures.h: add nice_ and nice() const
2873         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2874
2875 2004-01-20  André Pönitz  <poenitz@gmx.net>
2876
2877         * BufferView.[Ch]:
2878         * BufferView_pimpl.C:
2879         * PosIterator.C:
2880         * bufferview_funcs.C:
2881         * cursor.[Ch]:
2882         * cursor_slice.[Ch]:
2883         * factory.C:
2884         * iterators.C:
2885         * lyx_cb.C:
2886         * lyxfind.C:
2887         * lyxfunc.C:
2888         * lyxtext.h:
2889         * rowpainter.C:
2890         * text.C:
2891         * text2.C:
2892         * text3.C:
2893         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2894           LCursor and mathcursor parts to LCursor and InsetBase.
2895
2896 2004-01-15  André Pönitz  <poenitz@gmx.net>
2897
2898         * cursor_slice.[Ch]: add a few covienience functions
2899
2900         * funcrequest.[Ch]: remove BufferView * member
2901
2902         * BufferView_pimpl.C:
2903         * cursor.C:
2904         * factory.[Ch]:
2905         * lyxfind.[Ch]:
2906         * lyxfunc.C:
2907         * lyxtext.h:
2908         * text3.C:
2909         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2910
2911 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2912
2913         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2914         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2915
2916 2004-01-13  André Pönitz  <poenitz@gmx.net>
2917
2918         * textcursor.[Ch]:
2919         * lyxtext.h: hide cursor and selection anchor behind accessor function
2920
2921         * BufferView.C:
2922         * BufferView_pimpl.[Ch]:
2923         * PosIterator.C:
2924         * bufferview_funcs.C:
2925         * cursor.h:
2926         * lyxfind.C:
2927         * lyxfunc.C:
2928         * text.C:
2929         * text2.C:
2930         * text3.C:
2931         * undo.C: adjust
2932
2933         * cursor.h:
2934         * cursor_slice.[Ch]: some integer type changes for inset unification
2935
2936         * lyxcursor.[hC]: remove, it's CursorSlice now.
2937
2938         * Makefile.am:
2939         * BufferView_pimpl.[Ch]:
2940         * bufferview_funcs.C:
2941         * cursor_slice.C:
2942         * lyxtext.h:
2943         * text.C:
2944         * text2.C:
2945         * text3.C:
2946         * textcursor.[Ch]: adjust
2947
2948 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2949
2950         * text2.C (undoSpan): add and use
2951         * text.C (breakParagraph): use undoSpan (fix bug 578)
2952         * lyxtext.h: adjust
2953
2954 2004-01-08  Angus Leeming  <leeming@lyx.org>
2955
2956         * BufferView_pimpl.C (MenuInsertLyXFile):
2957         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2958         * lyxfunc.C (menuNew, open, doImport):
2959         FileFilterList change to the FileDialog open and save functions.
2960
2961 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2962
2963         * ShareContainer.h: make isEqual and isUnique adaptable
2964
2965         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2966
2967 2004-01-07  Angus Leeming  <leeming@lyx.org>
2968
2969         * LyXAction.C:
2970         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2971
2972         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2973
2974         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2975         functions replacing find, replace and replaceAll.
2976
2977         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2978         LFUN_WORDFIND(FORWARD|BACKWARD).
2979
2980 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2981
2982         * text.C (breakParagraph): remove an outdated #warning
2983
2984 2004-01-07  André Pönitz  <poenitz@gmx.net>
2985
2986         * lyxfind.C: somewhat clearer logic
2987
2988         * text.C: prevent crash in cursorX on unitialized row cache
2989
2990 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2991
2992         * lyxcursor.[Ch] (operator>): add
2993         * textcursor.C (selStart, selEnd): use std::min and std::max
2994
2995 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2996
2997         * Chktex.C: include boost/format.hpp
2998
2999 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3000
3001         * InsetList.C: replace functor MathcIt with adaptable functor
3002         InsetTablePosLess
3003         (insetIterator): modify accordingly
3004
3005         * BranchList.h: move the BranchNamesEqual functor here from...
3006         * BranchList.C: ... to here
3007
3008         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3009         SameName and match.
3010         (add): replace a finding loop with std::find_if.
3011
3012 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3013
3014         * output_docbook.C: moving LatexParam functionality into
3015         .layout files
3016
3017 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3018
3019         * buffer.C: increment format to 229.
3020
3021 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3022
3023         * LaTeXFeatures.C:
3024         * lyx_sty.[Ch]: remove minipageindent_def
3025
3026         * LyXAction.C:
3027         * factory.C:
3028         * lfuns.h:
3029         * lyxfunc.C:
3030         * text3.C: remove LFUN_INSET_MINIPAGE
3031
3032 2003-12-28  Angus Leeming  <leeming@lyx.org>
3033
3034         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3035
3036 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3037
3038         * text2.C (setParagraph): fix off-by-one crash
3039
3040 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3041
3042         * output_docbook.C: header stuff for AGU
3043
3044 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3045
3046         * text2.C (redoCursor): remove
3047         * text.C:
3048         * text3.C:
3049         * BufferView_pimpl.C: remove calls to redoCursor and
3050         setCursor(cursor.par(), cursor.pos()) all around
3051
3052 2003-12-15  Angus Leeming  <leeming@lyx.org>
3053
3054         * buffer.C: up the format to 228.
3055
3056 2003-12-15  André Pönitz  <poenitz@gmx.net>
3057
3058         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3059         slices
3060
3061         * Makefile.am:
3062
3063         * BufferView_pimpl.C:
3064         * cursor.[Ch]:
3065         * lyxcursor.[Ch]:
3066         * rowpainter.[Ch]:
3067         * lyxtext.h:
3068         * text.C:
3069         * text2.C:
3070         * text3.C: adjust
3071
3072 2003-12-15  Angus Leeming  <leeming@lyx.org>
3073
3074         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3075         than getFromGUIName to manipulate the color.
3076
3077 2003-12-14  Angus Leeming  <leeming@lyx.org>
3078
3079         * BranchList.[Ch]: minimize the API.
3080         (Branch::getBranch, getColor): now return a 'const &'.
3081         (Branch::setSelected) now returns a bool set to true if the
3082         selection status changes.
3083         (BranchList::clear, size, getColor, setColor, setSelected,
3084         allBranches, allSelected, separator): removed.
3085         (BranchList::find): new functions, returning the Branch with
3086         the given name.
3087         (BranchList::add, remove): return a bool indicating that
3088         the operation was successful.
3089
3090         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3091         new InsetBranch::isBranchSlected member function.
3092
3093         * LColor.[Ch]: mimimize the API.
3094         (fill): renamed as addColor and made private.
3095         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3096         versions of these functions taking a string arg have been removed.
3097
3098         * bufferparams.C (readToken):
3099         * lyxfunc.C (dispatch):
3100         * lyxrc.C (read): changes due to the altered BranchList and
3101         LColor APIs.
3102
3103         * factory.C (createInset, readInset): changes due to altered
3104         InsetBranch c-tor.
3105
3106 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3107
3108         * factory.C:
3109         * lyxfunc.C: remove insetminipage. "minipage-insert"
3110         now produces a frameless minipage box inset.
3111
3112 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3113
3114         * textcursor.[Ch] (selStart,selEnd): add new methods
3115         remove selection::start, end, use LyXCursor::operator<
3116         * lyxcursor.[Ch] (operator<): add
3117         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3118         * BufferView.[Ch] (unsetXSel): add
3119         * text2.C (clearSelection): use unsetXSel,adjust
3120         * text.C: adjust
3121         * text3.C: adjust
3122         * rowpainter.C: adjust
3123         * bufferview_funcs.C (put_selection_at): adjust
3124
3125 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3126
3127         * BufferView_pimpl.C: small coord. correction
3128
3129 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3130
3131         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3132         dragging over the splash screen.
3133
3134 2003-12-11  Angus Leeming  <leeming@lyx.org>
3135
3136         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3137         as it is now handled in LyXText::dispatch.
3138
3139         * text3.C (doInsertInset): remove a level of nesting.
3140
3141 2003-12-11  Angus Leeming  <leeming@lyx.org>
3142
3143         * factory.C (createInset): changes due to the changed interface to
3144         InsetCommandMailer::string2params.
3145
3146 2003-12-10  Angus Leeming  <leeming@lyx.org>
3147
3148         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3149         'dialog-show-new-inset <inset name>'
3150
3151 2003-12-10  Angus Leeming  <leeming@lyx.org>
3152
3153         * buffer.C: up the format to 227.
3154
3155         * factory.C: the box inset is now identified simply by 'Box'.
3156
3157 2003-12-10  Angus Leeming  <leeming@lyx.org>
3158
3159         * buffer.C: up the format to 226.
3160
3161         * factory.C: the note inset is now identified simply by 'Note'.
3162
3163 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3164
3165         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3166         when a pit is enough. Standarize a couple of loops.
3167
3168 2003-12-05  Angus Leeming  <leeming@lyx.org>
3169
3170         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3171         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3172         data to the re-worked "log" dialog.
3173
3174 2003-12-03  André Pönitz  <poenitz@gmx.net>
3175
3176         * PosIterator.C:
3177         * iterators.C:
3178         * lyxtext.h:
3179         * output_latex.C:
3180         * paragraph_funcs.C:
3181         * text.C:
3182         * text2.C: use Inset::getText instead of Inset::getParagraph
3183
3184 2003-12-03  André Pönitz  <poenitz@gmx.net>
3185
3186         * buffer.[Ch]:
3187         * lyxtext.h:
3188         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3189         InsetText::read() as LyXText::read()
3190
3191 2003-12-02  Angus Leeming  <leeming@lyx.org>
3192
3193         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3194         type. Add a comment in the implementation that the function uses
3195         the stream's bad() function rather than fail() as the std::streams
3196         would do.
3197
3198 2003-12-02  André Pönitz  <poenitz@gmx.net>
3199
3200         * lyxlex.[Ch]: make interface more similar to std::stream
3201
3202         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3203
3204 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3205
3206         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3207
3208 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3209
3210         * vspace.[Ch]: remove VSpace::NONE
3211
3212 2003-12-01  André Pönitz  <poenitz@gmx.net>
3213
3214         * buffer.[Ch]:
3215         * lyxtext.h: move ParagraphList member to LyXText
3216         rename LyXText::ownerParagraphs to LyXText::paragraph
3217
3218         * CutAndPaste.C:
3219         * bufferview_funcs.C:
3220         * iterators.[Ch]:
3221         * lyx_cb.C:
3222         * paragraph.C:
3223         * rowpainter.C:
3224         * tabular.C:
3225         * text.C:
3226         * text2.C:
3227         * text3.C: adjust
3228
3229         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3230
3231         * undo.C: fix cursor positioning
3232
3233 2003-12-01  John Levon  <levon@movementarian.org>
3234
3235         * BufferView_pimpl.C: fix a crash on exit with
3236         a buffer open
3237
3238 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3239
3240         * BranchList.C: fix setSelected() method.
3241
3242 2003-11-28  André Pönitz  <poenitz@gmx.net>
3243
3244         * ParagraphParameters.[Ch]:
3245         * ParameterStruct.h: remove space above/below from Paragraph to
3246          InsetVSpace
3247
3248         * BufferView_pimpl.C:
3249         * factory.C:
3250         * lyxfunc.C:
3251         * lyxtext.h:
3252         * output_latex.C:
3253         * paragraph.C:
3254         * paragraph_funcs.C:
3255         * rowpainter.[Ch]:
3256         * text.C:
3257         * text2.C:
3258         * text3.C: adjust
3259
3260 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3261
3262         * factory.C: Syntax change for CharStyles
3263
3264 2003-11-28  André Pönitz  <poenitz@gmx.net>
3265
3266         * BufferView.[Ch]:
3267         * BufferView.[Ch]:
3268         * buffer.[Ch]:
3269         * buffer.[Ch]: move LyXText member
3270
3271 2003-11-28  André Pönitz  <poenitz@gmx.net>
3272
3273         * BufferView.[Ch]: make LyXText * text a private member
3274
3275         * BufferView_pimpl.C:
3276         * cursor.C:
3277         * iterators.C:
3278         * lyx_cb.C:
3279         * lyxfind.C:
3280         * lyxtext.h:
3281         * rowpainter.[Ch]:
3282         * text.C:
3283         * text2.C:
3284         * undo.C: adjust
3285
3286         * output_plaintext.C: cleanup
3287
3288 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3289
3290         * buffer.C:
3291         * lyxtextclass.[Ch]: parametrize SGML document header
3292
3293 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3294
3295         * converter.[Ch]:
3296         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3297         getFlavor().
3298
3299 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3300
3301         * text2.C (setFont): rework using PosIterator (no more recursive)
3302         (setCharFont): no more needed
3303         (setLayout): no more selection cursors fiddling (done by redoCursor)
3304         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3305         destroy remaining ones)
3306
3307 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3308
3309         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3310         * lyxtext.h: ditto
3311         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3312         selection cursors
3313         * lyxfunc.C: adjust
3314         * text3.C: adjust + re-allow multi par depth changes
3315         * textcursor.C: simplify a bit
3316
3317 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3318
3319         * src/buffer.C:
3320         * src/lyxlayout.C:
3321         * src/lyxlayout.h:
3322         * src/lyxtext.h:
3323         * src/output_docbook.C:
3324         * src/output_latex.C:
3325         * src/paragraph.C:
3326         * src/paragraph.h:
3327         * src/sgml.C:
3328         * src/sgml.h:
3329         * src/text2.C: Introducing a number of tags parametrizing various
3330         XML formats that we may want to support
3331
3332 2003-11-25  André Pönitz  <poenitz@gmx.net>
3333
3334         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3335
3336         * lyxtext.h (leftMargin/rightMargin): simplify interface
3337
3338         * rowpainter.C:
3339         * text.C:
3340         * text2.C:
3341         * text3.C: adjust
3342
3343 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3344
3345         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3346         master file to any child files. Fixes bug 546.
3347
3348 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3349
3350         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3351
3352 2003-11-24  André Pönitz  <poenitz@gmx.net>
3353
3354         * rowpainter.C: simplification
3355
3356         * text2.C (updateCounters): remove call to redoParagraph on
3357         changed labels as this is far too expensive.
3358
3359 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3360
3361         * converter.C (convert): fix a crash: this function gets
3362         called with buffer == 0 from importer code.
3363
3364 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3365
3366         * text3.C (cursorPrevious): make sure that we do not compare
3367         iterators form different containers.
3368         (cursorNext): ditto
3369
3370         * rowpainter.C (paintSelection): make sure that we do not compare
3371         iterators from different containers.
3372
3373         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3374         iterators from different ParagraphList containers.
3375         [NEXT] ditto
3376
3377         * text2.C (LyXText): change order of initialization slightly
3378         (operator=): new function. copy all variables except cache_par_
3379         (moveUp): make sure that we do not compare iterators from
3380         different ParagraphList constainers.
3381         (moveDown): ditto
3382
3383         * text.C (firstPar): new function
3384         (lastPar): new function
3385         (endPar): new function
3386
3387         * lyxtext.h: move things around and group public functions, public
3388         variables, private functions, private variables
3389
3390 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3391
3392         * factory.C: change call to InsetERT constructor to avoid
3393         additional invocation of method status
3394         * text2.C (toggleInset): remove redundant update() call
3395         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3396         instead of a Bufferview pointer
3397
3398 2003-11-21  André Pönitz  <poenitz@gmx.net>
3399
3400         * rowpainter.C: simplification
3401
3402 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3403
3404         * text3.C (dispatch): make possible to extend a word/row selection
3405         with the mouse
3406
3407 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3408
3409         * lyxtext.h: x0_,y0_ -> xo_,yo_
3410         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3411         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3412         * rowpainter.C (paintRows): paint full paragraphs
3413
3414 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3415
3416         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3417         screen coordinates)
3418
3419 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3420
3421         * lyxtext.h: add x0_, y0_
3422         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3423         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3424
3425 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3426
3427         * text2.C (setCursorIntern): move the x_target update here *
3428         * text3.C: change some bv() to true/false in calls to
3429         cursorUp/Down/Right/Left
3430         * cursor.C: use helper function.
3431
3432 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3433
3434         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3435         * paragraph_funcs.[Ch]: correct comment
3436         * rowpainter.C: do not paint selections away from bv->cursor()
3437         Fix a long standing selection painting bug.
3438         * text3.C: generalize mouse-selection code to LyXTexts other that
3439         top one
3440         * textcursor.C: do not use y coords if we can use par offsets
3441
3442 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3443
3444         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3445         cursor position after e.g. inset insert)
3446
3447 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3448
3449         * lyxfind.C (replace): adjust to locking removal + some
3450         code simplification
3451
3452 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3453
3454         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3455         of the path
3456
3457 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3458
3459         * lyxlayout.[Ch]:
3460         * output_docbook.C: XML sanitation: new layout
3461         parameters InnerTag and CommandDepth
3462
3463 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3464
3465         * BufferView_pimpl.C:
3466         * factory.C:
3467         * text3.C: Fix the insertion and modification of button-style
3468         insets
3469
3470 2003-11-13  André Pönitz  <poenitz@gmx.net>
3471
3472         * InsetList.[Ch]: remove deleteLyXText
3473
3474         * paragraph.[Ch]: cache beginOfBody position
3475
3476         * Bidi.C:
3477         * text.C:
3478         * text2.C:
3479         * text3.C: remove superfluous update() calls
3480
3481         * vspace.C: cleanup
3482
3483 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3484
3485         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3486         * BufferView.C (fitLockedInsetCursor): remove
3487         * cursor.[Ch] (getDim): add
3488         * text.C (getRowNearY): add faster version
3489         * text3.C: remove some update calls
3490
3491 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3492
3493         * LaTeXFeatures.C:
3494         * LyXAction.C:
3495         * MenuBackend.C:
3496         * MenuBackend.h:
3497         * dispatchresult.h:
3498         * factory.C:
3499         * lfuns.h:
3500         * lyxfunc.C:
3501         * lyxtextclass.C:
3502         * lyxtextclass.h:
3503         * text3.C: The Character Style /XML short element patch.
3504
3505 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3506
3507         * text3.C:
3508         * factory.C: Small step to solving 'unable to insert some insets'
3509         problem
3510
3511 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3512
3513         * cursor.[Ch] (updatePos): new function for updating the y
3514         position of the tip inset
3515         * bufferview_funcs.C (put_selection_at):
3516         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3517
3518 2003-11-11  André Pönitz  <poenitz@gmx.net>
3519
3520         * text.C: remove big comment on invalid Paragraph pointers as it is
3521         not valid anymore
3522
3523 2003-11-11  André Pönitz  <poenitz@gmx.net>
3524
3525         * text_funcs.[Ch]: merge with ...
3526
3527         * text.C: ... this
3528
3529         * lyxtext.h:
3530         * text2.C:
3531         * text3.C: adjust
3532
3533         * Makefile.am: remove text_funcs.[Ch]
3534
3535 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3536
3537         * cursor.C (getPos): return absolute cached y coord
3538
3539         * BufferView_pimpl.C (fitCursor): new simplistic code
3540         (workAreaDispatch): add a fitCursor call
3541
3542 2003-11-10  André Pönitz  <poenitz@gmx.net>
3543
3544         * BufferView.[Ch]:
3545         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3546
3547 2003-11-10  André Pönitz  <poenitz@gmx.net>
3548
3549         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3550         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3551         indicate that the cursor needs to leave an inset
3552
3553         * lyxtext.h: remove inset locking
3554
3555         * cursor.[Ch]: re-implement functionality provided by inset locking
3556
3557         * BufferView.[Ch]:
3558         * BufferView_pimpl.[Ch]:
3559         * LyXAction.C:
3560         * bufferview_funcs.[Ch]:
3561         * factory.C:
3562         * funcrequest.[Ch]:
3563         * iterators.C:
3564         * lyx_cb.C:
3565         * lyxfind.C:
3566         * lyxfunc.C:
3567         * text.C:
3568         * text2.C:
3569         * text3.C:
3570         * undo.C: adjust
3571
3572 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3573
3574         * PosIterator.[Ch]: replace the stack with a vector, add inset
3575         accesor
3576         * iterators.[C]: adjust
3577
3578 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3579
3580         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3581         replaced
3582         * paragraph_funcs.C (readParToken): put the correct id in the
3583         error item, not the id of the top paragraph
3584
3585 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3586
3587         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3588         * bufferview_funcs.C (put_selection_at): use the above
3589
3590 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3591
3592         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3593
3594 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3595
3596         * output_linuxdoc.h:
3597         * output_plaintext.h:
3598         * output.h:
3599         * output_docbook.h: add #include statements
3600
3601 2003-11-05  José Matos  <jamatos@lyx.org>
3602
3603         * output_docbook.[Ch]:
3604         * output_latex.[Ch]:
3605         * output_linuxdoc.[Ch]:
3606         * output_plaintext.[Ch]: New files for output formats.
3607         * output.[Ch]: New file for helper functions.
3608
3609         * buffer.[Ch]:
3610         * paragraph_funcs.[Ch]: output functions moved to new files.
3611
3612         * outputparams.h: rename of latexrunparams.h
3613
3614         * LaTeX.[Ch]:
3615         * buffer.[Ch]:
3616         * bufferlist.[Ch]:
3617         * converter.[Ch]:
3618         * exporter.C:
3619         * paragraph.[Ch]:
3620         * paragraph_funcs.[Ch]:
3621         * paragraph_pimpl.[Ch]:
3622         * tabular.[Ch]: rename ascii to plaintext
3623         and LatexRunParams to OutputParams.
3624
3625 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3626
3627         * iterators.[Ch] (text): require bv argument
3628         * undo.C (recordUndo):
3629         * lyxfunc.C (dispatch):
3630         * bufferview_funcs.C (put_selection_at): adjust
3631
3632 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3633
3634         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3635
3636 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3637
3638         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3639         nestings
3640
3641 2003-11-04  André Pönitz  <poenitz@gmx.net>
3642
3643         * cursor.[Ch]: restructure
3644
3645         * BufferView.[Ch]:
3646         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3647
3648         * iterators.[Ch] (asCursor): remove
3649
3650         * lfuns.h: remove LFUN_INSET_EDIT
3651
3652         * lyxfunc.C:
3653         * tabular.C:
3654         * text.C:
3655         * text2.C:
3656         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3657
3658 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3659
3660         * lyxfind.[Ch]: complete overhaul
3661         * BufferView_pimpl.C:
3662         * lyxfunc.C: adjust
3663         * paragraph.[Ch] (insert): add
3664
3665 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3666
3667         * BufferView.[Ch]:
3668         * lyxtext.h:
3669         * text.C: remove dead spellcheck code
3670
3671 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3672
3673         * dispatchresult.h: add a val setter
3674
3675         * cursor.C (dispatch): use a tempvar for data_[i]
3676
3677 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3678
3679         * PosIterator.[Ch]: compile fix
3680
3681 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3682
3683         * text.C (cursorPar): deactivate the cursor cache
3684
3685 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3686
3687         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3688
3689 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3690
3691         * text3.C (dispatch): adjust for new DisptchResult semantics.
3692
3693         * lyxfunc.C (dispatch): handle update when return from
3694         Cursor::dispatch, adjust for new DispatchResult semantics.
3695
3696         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3697         DispatchResult(true) mean to not update. Add class functions for
3698         setting dispatched and update, as well as reading.
3699
3700         * cursor.C (dispatch): don't handle update here
3701
3702 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3703
3704         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3705         * trans_mgr.C: adjust
3706
3707         * paragraph_funcs.C (readParToken): exception safety
3708
3709         * lyxvc.h: store the vcs pointer in a scoped_ptr
3710         * lyxvc.C: adjust
3711
3712         * lyxsocket.C (serverCallback): exception safety
3713
3714         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3715
3716         * ispell.C (clone): make it return a auto_ptr
3717
3718         * factory.C (createInset): exception safety
3719         (readInset): exception safety
3720
3721         * bufferlist.C (newBuffer): exception safety
3722
3723         * Thesaurus.C (Thesaurus): use initialization for aik_
3724
3725         * MenuBackend.C (expandToc): exception safety.
3726
3727 2003-11-03  André Pönitz  <poenitz@gmx.net>
3728
3729         * buffer.C:
3730         * buffer.h:
3731         * bufferview_funcs.C: remove getInsetFromId()
3732
3733         * lyxcursor.[Ch]:
3734         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3735
3736         * lyxfunc.C:
3737         * text2.C:
3738         * text3.C: adjust
3739
3740 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3741
3742         * PosIterator.C (distance, advance): new
3743         * bufferview_funcs.[Ch] (put_selection_at): new
3744         * iterators.[Ch] (lockPath): new
3745
3746 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3747
3748         * iterators.[Ch] (asPosIterator): added
3749         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3750         * PosIterator.[Ch]: added
3751
3752 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3753
3754         * text3.C:
3755         * lyxfunc.C:
3756         * cursor.C (dispatch):
3757         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3758
3759         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3760         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3761         contructor, add a class function dispatched. Remove operator>=
3762
3763 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3764
3765         * debug.C: only use the default constructor for debugstream
3766         (lyxerr) here.
3767
3768         * main.C (main): include debug.h and setup the lyxerr streambuf
3769         here.
3770
3771 2003-10-31  José Matos  <jamatos@lyx.org>
3772
3773         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3774
3775         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3776         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3777         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3778         * paragraph_pimpl.C (simpleTeXSpecialC):
3779         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3780         add LatexRunParams argument.
3781
3782         * exporter.C (Export): change call accordingly.
3783
3784         * latexrunparams.h: add new member to take care of the other backends.
3785 2003-10-30  José Matos  <jamatos@lyx.org>
3786
3787         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3788         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3789         factorise code for paragraph output.
3790         * buffer.[Ch]:
3791         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3792         move functions.
3793
3794 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3795
3796         * text3.C (dispatch):
3797         * lyxfunc.C (dispatch):
3798         * cursor.C (dispatch):
3799         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3800
3801         * dispatchresult.h: make the dispatch_result_t ctor explicit
3802
3803 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3804
3805         * sgml.[Ch]:
3806         * buffer.C: small refactoring of docbook stuff
3807
3808 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3809
3810         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3811         meaning.
3812
3813 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3814
3815         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3816         operator dispatch_result_t, and operators for == != and >=
3817
3818         * cursor.C (dispatch): adjust for operator dispatch_result_t
3819         removal. comment out call to update
3820
3821         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3822
3823 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3824
3825         * text3.C:
3826         * text2.C:
3827         * text.C:
3828         * lyxtext.h:
3829         * lyxfunc.C:
3830         * cursor.C:
3831         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3832         (dispatch):
3833
3834         * dispatchresult.h: new file, DispatchResult broken out of
3835         insets/insetbase.h
3836
3837         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3838
3839 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3840
3841         * text.C (rowBreakPoint): put a hack inside #if 0
3842
3843 2003-10-28  André Pönitz  <poenitz@gmx.net>
3844
3845         * lyxtext.h:
3846         * metricsinfo.C:
3847         * paragraph_funcs.C:
3848         * rowpainter.C:
3849         * text.C:
3850         * text2.C: general cleanup (lots of small stuff)
3851
3852 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3853
3854         * text2.C (cursorEnd): simple fix to the "end key goes to one
3855         before the end on last row" bug
3856
3857 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3858
3859         * text.C (backspace): fix the "zombie characters"
3860
3861 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3862
3863         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3864
3865 2003-10-27  André Pönitz  <poenitz@gmx.net>
3866
3867         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3868
3869         * factory.C: handle new InsetPagebreak, InsetLine
3870
3871         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3872         and move handling into new InsetPagebreak, InsetLine
3873
3874         * BufferView_pimpl.C:
3875         * LyXAction.C:
3876         * ParagraphParameters.C:
3877         * ParameterStruct.h:
3878         * lyxfunc.C:
3879         * lyxtext.h:
3880         * paragraph.C:
3881         * paragraph.h:
3882         * paragraph_funcs.C:
3883         * paragraph_pimpl.C:
3884         * rowpainter.C:
3885         * text.C:
3886         * text2.C:
3887         * text3.C: adjust
3888
3889 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3890
3891         * text.C:
3892         * lyxrow_funcs.[Ch]:
3893         * Bidi.C:
3894         * paragraph.C:
3895         * lyxtext.h:
3896         * rowpainter.C:
3897         * text2.C:
3898         * text3.C: remove lastPos uses in favour of Row::endpos
3899
3900 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3901
3902         * undo.C (performUndoOrRedo): fix two crashes by setting a
3903         cursor by hand and reordering some calls. Use bv->lockInset instead
3904         of inset->edit because the latter loses cursor information
3905
3906 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3907
3908         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3909         by Martin
3910         (rowBreakPoint): fix width. change point to point + 1.
3911         Add a missing check.
3912
3913 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3914
3915         * MenuBackend.C:
3916         * lyxfunc.C: fix (at least partly) the problems
3917         with the Nav menu and headers inside branch insets
3918         reported by Kayvan
3919
3920 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3921
3922         * paragraph.C (getChar): add strong asserts
3923
3924         * lyxrow_funcs.C (lastPos): remove hideous hack
3925
3926         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3927         (fill): adjust to that (avoid an infinite loop)
3928
3929 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3930
3931         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3932
3933 2003-10-23  André Pönitz  <poenitz@gmx.net>
3934
3935         * RowList_fwd.h: change list<> to vector<> to gain speed
3936         after suggestion from Alfredo
3937
3938 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3939
3940         * lyxtext.h: move the bidi stuff from here...
3941         * text.C: and here
3942         * text2.C: and here
3943         * Bidi.[Ch]: ... to here
3944
3945 2003-10-23  André Pönitz  <poenitz@gmx.net>
3946
3947         * lyxtext.h:
3948         * text.C (isLastRow, isFirstRow): new functions
3949
3950         * paragraph.h: new width cache member
3951
3952         * rowpainter.C: replace RowList::iterator with Row & where possible
3953
3954         * lyxfunc.C: replace several view()->text with a single call
3955
3956         * toc.C: fix 'unused' warning
3957
3958 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3959
3960         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3961         when woring with stream::pos_type
3962         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3963
3964 2003-10-22  André Pönitz  <poenitz@gmx.net>
3965
3966         * lyxtext.h:
3967         * text.C: use Row & instead of RowList::iterator
3968
3969         * lyxrow.h: rename end() to endpos()
3970
3971         * rowpainter.C:
3972         * text.C:
3973         * text2.C: adjust
3974
3975 2003-10-22  Angus Leeming  <leeming@lyx.org>
3976
3977         * buffer.[Ch] (fully_loaded): new member function, returning true
3978         only when the file has been loaded fully.
3979         Used to prevent the premature generation of previews and by the
3980         citation inset to prevent computation of the natbib-style label.
3981
3982         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3983         templates are all set up.
3984
3985         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3986
3987 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3988
3989         * text.C: fixed an "oops" in the "is a bit silly"
3990         bug fix
3991
3992 2003-10-21  André Pönitz  <poenitz@gmx.net>
3993
3994         * FuncStatus.[Ch]: small stuff, whitespace
3995
3996         * lyxfont.[Ch]: operator<<() for debug reasons
3997
3998         * lyxfunc.C:
3999         * lyxrow_funcs.C:
4000         * lyxtext.h: whitespace, spelling
4001
4002         * paragraph.C: naming of variables
4003
4004         * text.C:
4005         * text2.C: small stuff
4006
4007
4008 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4009
4010         * text.C: (1) finish off the inset display() work;
4011         (2) fix the "is a bit silly" bug (accessing char
4012         past end of par).
4013
4014 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4015
4016         * text.C: re-introduce display() for insets, fixing the
4017         various bugs (stretch of line above, math inset
4018         positioning, ...)
4019
4020 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4021
4022         * text.C (rightMargin): remove spurious semicolon
4023
4024         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4025         1415)
4026
4027 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4028
4029         * text3.C: fix one crash due to wrong cursor def
4030
4031 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4032
4033         * vc-backend.C (scanMaster): make the regex static
4034
4035         * LaTeX.C (scanAuxFile): make the regexs static
4036
4037         * text3.C (doInsertInset, dispatch, dispatch):
4038         * text2.C (cursorUp, cursorDown):
4039         * text.C (selectNextWordToSpellcheck):
4040         * BufferView_pimpl.C (dispatch):
4041         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4042
4043 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4044
4045         * lyxsocket.C: include <cerrno>
4046
4047 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4048
4049         * lyxfunc.C (dispatch): remove textcache stuff
4050
4051         * bufferlist.C (release): remove textcache stuff
4052         (closeAll): ditto
4053
4054         * TextCache.C: delete file
4055         * TextCache.h: delete file
4056
4057         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4058
4059         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4060         delete of the bv_->text.
4061         (resizeCurrentBuffer): remove texcache stuff
4062         (workAreaResize): ditto
4063
4064 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4065
4066         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4067         action.
4068
4069 2003-10-16  André Pönitz  <poenitz@gmx.net>
4070
4071         * lyxrow.[Ch]:
4072         * paragraph.h:
4073         * rowpainter.C:
4074         * text.C:
4075         * text2.C:
4076         * text3.C: speed up by storing y positions per paragraph plus per-row
4077         offset instead of having a 'full' y position in the row.
4078
4079 2003-10-15  André Pönitz  <poenitz@gmx.net>
4080
4081         * iterators.[Ch]:
4082         * iterators.[Ch]:
4083         * undo.[Ch]: make undo aware of inner insets
4084
4085 2003-10-14  Angus Leeming  <leeming@lyx.org>
4086
4087         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4088         static member functions LyX::ref() and LyX::cref.
4089         (lastfiles): new accessor functions for the new lastfiles_ member var.
4090         (addLyXView, views_): add a new LyXView to the list of views_.
4091         (updateInset): loop over all LyXViews to call their own updateInset
4092         member function, returning a pointer to the Buffer owning the inset.
4093
4094         * BufferView_pimpl.C (loadLyXFile):
4095         * MenuBackend.C (expandLastfiles):
4096         * bufferlist.C (MenuWrite, QuitLyX):
4097         lastfiles is no longer a global variable.
4098         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4099
4100         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4101         static function. Access through LyX::cref().emergencyCleanup().
4102
4103 2003-10-14  André Pönitz  <poenitz@gmx.net>
4104
4105         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4106
4107         * undo.[Ch]: restoring part of 'undo in insets'
4108
4109         * Makefile.am:
4110         * undo_funcs.[Ch]: merge with undo.[Ch]
4111
4112         * tabular.C: small cleansing stuff
4113
4114 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4115
4116         * paragraph_funcs.C (readParToken): report unknown insets as error
4117         boxes. Use the outer paragraph as location (also for unknown
4118         tokens).
4119
4120         * factory.C (readInset): do not abort on reading an unknown inset.
4121         Eat it and return 0.
4122
4123 2003-10-13  Angus Leeming  <leeming@lyx.org>
4124
4125         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4126
4127         * lyxrc.C: displayTranslator is now a function,
4128         declared in GraphicsTypes.h.
4129
4130 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4131
4132         * format.C: new placeholder $$a to pass the socket address.
4133
4134         * bufferlist.[Ch]: new function getBufferFromTmp.
4135
4136         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4137           files in the temporary dir.
4138
4139 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4140
4141         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4142
4143         * Makefile.am: add lyxsocket.[Ch].
4144
4145         * lyx_main.C (error_handler): handle SIGPIPE.
4146
4147 2003-10-13  André Pönitz  <poenitz@gmx.net>
4148
4149         * BufferView_pimpl.C:
4150         * lyxtext.h:
4151         * text.C:
4152         * text2.C:
4153         * text3.C:
4154         * undo_funcs.[Ch]: use paroffset_type instead of
4155           ParagraphList::iterators to prevent multiple conversion
4156           (and get a more robust interface)
4157
4158 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4159
4160         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4161         * lyxtext.h: ditto
4162         * text3.C (dispatch): ditto
4163
4164 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4165
4166         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4167         move the onlyfile, use onlyfile instead of foundfile in a couple
4168         of places.
4169
4170         * DepTable.C (update): flush the error stream a bit more
4171
4172 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4173
4174         * lyxserver.C (callback): adjust
4175
4176         * lyxfunc.C (getStatus): add a missing brace in commented code
4177         (ensureBufferClean): reindent
4178         (dispatch): delete version taking a string
4179
4180 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4181
4182         * LaTeX.C (deplog): move found file handlig from here...
4183         (handleFoundFile): .. to new function here.
4184         (deplog): make sure to discover several files mentioned on the
4185         same log line.
4186
4187 2003-10-10  André Pönitz  <poenitz@gmx.net>
4188
4189         * lyxfunc.C:
4190         * lyxtext.h:
4191         * tabular.C:
4192         * text.C:
4193         * text2.C:
4194         * text3.C: fix some of the tabular crashes
4195
4196 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4197
4198         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4199
4200         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4201
4202 2003-10-09  André Pönitz  <poenitz@gmx.net>
4203
4204         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4205
4206         * BufferView.C:
4207         * BufferView_pimpl.C:
4208         * bufferview_funcs.C:
4209         * lyx_cb.C:
4210         * lyxcursor.C:
4211         * lyxfind.C:
4212         * lyxfunc.C:
4213         * lyxtext.h:
4214         * text.C:
4215         * text2.C:
4216         * text3.C:
4217         * text_funcs.[Ch]:
4218         * textcursor.[Ch]:
4219         * undo_funcs.C: adjust
4220
4221 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4222
4223         * text2.C (incrementItemDepth): new function, use a backtracking
4224         algorithm to discover the correct item depth.
4225         (resetEnumCounterIfNeeded): new function, use a backtracking
4226         algorithm to discover if counter reset is needed.
4227         (setCounter): use them. Simplify a bit. Add different labels for
4228         different item depths for itemize.
4229
4230         * paragraph.C (Paragraph): remove initialization of enumdepth
4231         (operator=): ditto
4232
4233         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4234         enumerate and itemize. Change the type of itemdepth to signed char.
4235
4236 2003-10-08  André Pönitz  <poenitz@gmx.net>
4237
4238         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4239           thing assignable.
4240         * text.C:
4241         * text2.C: adjust
4242
4243         * tabular.[Ch]: fix crash after 'row-insert'
4244
4245 2003-10-08  Angus Leeming  <leeming@lyx.org>
4246
4247         Fix doxygen warnings.
4248
4249         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4250         Remove CutAndPaste:: prefix from header file declaration.
4251
4252         * LColor.h (fill): remove LColor:: prefix from declaration.
4253
4254         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4255         use lyx::depth_type rather than Paragraph::depth_type so that
4256         header file and .C file match.
4257
4258         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4259
4260         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4261         * aspell.C: \file aspell_local.C -> \file aspell.C
4262         * gettext.C: \file gettext.C -> \file src/gettext.C
4263         * gettext.h: \file gettext.h -> \file src/gettext.h
4264         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4265         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4266         * text.C: \file text.C -> \file src/text.C
4267
4268         * toc.C: move comment so that doxygen is not confused.
4269
4270 2003-10-07  Angus Leeming  <leeming@lyx.org>
4271
4272         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4273
4274 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4275
4276         * aspell.C:
4277         * aspell_local.h: add forgotten std::string's.
4278
4279 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4280
4281         * LaTeXFeatures.C:
4282         * LyXAction.C:
4283         * factory.C:
4284         * lfuns.h:
4285         * lyxfunc.C:
4286         * text3.C: The Box patch. Fancybox support, minipage, parbox
4287
4288 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4289
4290         * CutAndPaste.h:
4291         * DepTable.h:
4292         * FloatList.h:
4293         * LaTeXFeatures.h:
4294         * ParagraphParameters.h:
4295         * TextCache.h:
4296         * Thesaurus.h:
4297         * bufferlist.h:
4298         * exporter.h:
4299         * importer.h:
4300         * lastfiles.h:
4301         * lyxfind.h:
4302         * lyxfont.h:
4303         * lyxlex.h:
4304         * lyxtextclasslist.h:
4305         * messages.h:
4306         * paragraph.h:
4307         * paragraph_pimpl.C:
4308         * textcursor.h: add <string> and other small fixes to make Lars'
4309         std::string patch compile with STLport.
4310
4311 2003-10-06  Angus Leeming  <leeming@lyx.org>
4312
4313         * LColor.h: Add missing #include <string>.
4314
4315 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4316
4317         * All most all file in all subdirs: Make <string> be the prefered
4318         way of getting to std::string, add using declarations.
4319
4320 2003-10-06  André Pönitz  <poenitz@gmx.net>
4321
4322         * metricsinfo.C: initialize LyXFont before changing attribute.
4323         (fixes the 'math in \emph is upright' bug)
4324
4325 2003-10-06  André Pönitz  <poenitz@gmx.net>
4326
4327         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4328
4329 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4330
4331         * graph.C:
4332         * paragraph_pimpl.C: Small fixes to build using STLport
4333
4334 2003-10-02  André Pönitz  <poenitz@gmx.net>
4335
4336         * lyxfunc.C:
4337         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4338
4339 2003-10-01  André Pönitz  <poenitz@gmx.net>
4340
4341         * factory.C: assert early
4342
4343 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4344
4345         * lyx_main.C: remove the global debug object
4346
4347         * debug.h: adjust for new debugstream
4348
4349         * debug.C: adjust for new debugstream and keep the global debug
4350         object here.
4351
4352 2003-09-22  Angus Leeming  <leeming@lyx.org>
4353
4354         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4355         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4356         an incomplete class LyXFont.
4357
4358 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4359
4360         * factory.C: bug fix in branches
4361
4362 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4363
4364         * lyxfunc.C (processKeySym): adjust
4365         (dispatch): adjust
4366         (dispatch): change arg name from ev to func, adjust
4367         (sendDispatchMessage): ditto
4368
4369         * lyx_main.C (defaultKeyBindings): adjust keybindings
4370         (deadKeyBindings): ditto
4371
4372         * kbsequence.C (addkey): return a FuncRequest
4373
4374         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4375
4376         * kbmap.C (bind): take a FuncRequest as arg, adjust
4377         (read): adjust
4378         (lookup): adjust
4379         (defkey): change to take a FuncRequest as arg, adjust
4380         (findbinding): take a FuncRequest as arg, adjust.
4381
4382         * funcrequest.h (operator=): added
4383
4384         * funcrequest.C (FuncRequest): default kb_action changed from
4385         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4386
4387         * buffer.C (dispatch): simplify
4388         (dispatch): adjust to take a FuncRequest as arg, adjust
4389
4390         * boost.C (assertion_failed): change assertion message slightly
4391
4392         * ToolbarBackend.C (read): simplify
4393
4394         * MenuBackend.C (binding): adjust call to findbinding, add a
4395         message if no binding is found.
4396         (read): simplify
4397         (expandToc): correct by adding a empty FuncRequest
4398
4399         * LyXAction.C: include <boost/assert.hpp>
4400         (isPseudoAction): delete function
4401         (LookupFunc): change name to...
4402         (lookupFunc): this. change return type to FuncRequest.
4403         (getActionName): take kb_action as arg, simplify
4404         (funcHasFlag): add an assert, simplify.
4405
4406 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4407
4408         * toc.C (action): return a FuncRequest, simplify
4409
4410         * lyxfunc.C (processKeySym): adjust
4411         (getStatus): delete version that takes an int.
4412         (getStatus): adjust
4413         (dispatch): delete version that takes action as int
4414         (dispatch): adjust
4415         (sendDispatchMessage): simplify and adjust
4416
4417         * funcrequest.C (getArg): take unsigned int as arg
4418
4419         * ToolbarBackend.C (read): adjust
4420         (add): delete version that takes func as a string.
4421         (getIton): take a FuncRequest as arg
4422
4423         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4424         action.
4425
4426         * MenuBackend.C (MenuItem): add a new construct that only takes a
4427         Kind, simplify the constructor use for submenus.
4428         (add): adjust
4429         (expandLastfiles): adjust
4430         (expandDocuments): adjust
4431         (expandFormats): adjust
4432         (expandFloatListInsert): adjust
4433         (expandFloatInsert): adjust
4434         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4435
4436         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4437         Remove class variables lyx_pseudo_map and lyx_arg_map
4438
4439         * LyXAction.C (searchActionArg): delete function
4440         (getPseudoAction): delete function
4441         (retrieveActionArg): delete function
4442         (LookupFunc): make it return kb_action, simplify.
4443         (getActionName): simplify
4444
4445         * factory.C (createInset): fix new bug
4446
4447 2003-09-19  Angus Leeming  <leeming@lyx.org>
4448
4449         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4450         masterFilename_ parameter in the include inset.
4451
4452         * factory.C (createInset): changes due to the changes to InsetInclude.
4453
4454 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4455
4456         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4457
4458 2003-09-18  Angus Leeming  <leeming@lyx.org>
4459
4460         * buffer.C:
4461         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4462         Inset::fillWithBibKeys.
4463         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4464
4465 2003-09-18  Angus Leeming  <leeming@lyx.org>
4466
4467         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4468         variables.
4469         (ctor): pass and store a 'Buffer const &'
4470         (buffer): new member function.
4471
4472         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4473         '*this' to the LaTeXFeatures ctor.
4474
4475 2003-09-18  Angus Leeming  <leeming@lyx.org>
4476
4477         * LColor.h:
4478         * lyxfont.C:
4479         * lyxfont.h:
4480         * lyxtext.h:
4481         * text.C: rename EnumLColor as LColor_color.
4482
4483 2003-09-18  Angus Leeming  <leeming@lyx.org>
4484
4485         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4486         remove #include "insets/insetbase.h" from cursor.h.
4487
4488 2003-09-18  Angus Leeming  <leeming@lyx.org>
4489
4490         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4491         InsetOld_code to remove #include "inset.h".
4492
4493         * iterators.C: add #include "insets/inset.h"
4494
4495 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4496
4497         * BufferView.C: remove more locking stuff that apparently doesn't
4498         do anything sensible.
4499
4500 2003-09-16  André Pönitz  <poenitz@gmx.net>
4501
4502         * paragraph.[Ch]:
4503         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4504           performance boost.
4505
4506 2003-09-16  Angus Leeming  <leeming@lyx.org>
4507
4508         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4509
4510         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4511         arg/return type.
4512
4513         * paragraph.h: remove #include "lyxfont.h". Forward declare
4514         LyXFont_size.
4515
4516 2003-09-16  Angus Leeming  <leeming@lyx.org>
4517
4518         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4519         of support/textutils.h.
4520         (isWord): move the contents of support/textutils.h's IsWordChar here.
4521
4522         * buffer.C:
4523         * lyxfind.C:
4524         * rowpainter.C:
4525         * text.C:
4526         * text2.C: add #include "paragraph.h".
4527
4528         * rowpainter.C:
4529         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4530
4531 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4532
4533         * main.C:
4534         * lyx_main.C:
4535         * lyx_cb.C:
4536         * buffer.C:
4537         * LaTeX.C: use namespace alias for lyx::support::os
4538
4539 2003-09-16  Angus Leeming  <leeming@lyx.org>
4540
4541         * bufferparams.C:
4542         * bufferview_funcs.C:
4543         * factory.C:
4544         * lyxfunc.C:
4545         * paragraph_pimpl.C:
4546         * rowpainter.C:
4547         * text.C: add #include "LColor.h".
4548
4549 2003-09-16  Angus Leeming  <leeming@lyx.org>
4550
4551         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4552         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4553         return LyXFont &.
4554         Store the FontBits::color variable as an int rather than as an
4555         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4556         file.
4557
4558         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4559         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4560         string calls together.
4561
4562         * lyxrc.C: add #include "LColor.h".
4563
4564 2003-09-15  Angus Leeming  <leeming@lyx.org>
4565
4566         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4567         a cow_ptr.
4568
4569 2003-09-15  Angus Leeming  <leeming@lyx.org>
4570
4571         * LColor.h: add an EnumLColor wrapper for LColor::color.
4572
4573         * lyxfont.[Ch] (color, setColor, realColor):
4574         * lyxtext.h, text.C (backgroundColor):
4575         pass EnumLColor args to/from the functions, rather than LColor::color
4576         ones.
4577
4578         * lyxfont.h:
4579         * lyxtext.h: forward declare EnumLColor.
4580
4581         * lyx_main.C: add #include "LColor.h".
4582
4583 2003-09-15  Angus Leeming  <leeming@lyx.org>
4584
4585         * .cvsignore: add lyx-gtk.
4586
4587 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4588
4589         * Chktex.C
4590         * LaTeX.C
4591         * LaTeXFeatures.C
4592         * ParagraphParameters.C
4593         * Spacing.C
4594         * buffer.C
4595         * bufferparams.C
4596         * bufferview_funcs.C
4597         * chset.C
4598         * counters.C
4599         * funcrequest.C
4600         * lyxfont.C
4601         * lyxgluelength.C
4602         * lyxlength.C
4603         * paragraph.C
4604         * paragraph_funcs.C
4605         * text3.C
4606         * vc-backend.C: remove usage of STRCONV
4607
4608 2003-09-15  Angus Leeming  <leeming@lyx.org>
4609
4610         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4611         explicitly define the color passed to the painter.
4612
4613 2003-09-15  Angus Leeming  <leeming@lyx.org>
4614
4615         * bufferparams.C (BufferParams): reorder member initializers to avoid
4616         compiler warning.
4617
4618 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4619
4620         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4621         * text.C (updateRowPositions): remove an unusual nop
4622
4623 2003-09-12  André Pönitz  <poenitz@gmx.net>
4624
4625         * BufferView_pimpl.C:
4626         * Bullet.C:
4627         * layout.h:
4628         * lyxfunc.C:
4629         * lyxlayout.[Ch]:
4630         * lyxtextclass.C:
4631         * rowpainter.C:
4632         * text.C:
4633         * text2.C:
4634         * Counters.[Ch]: finish the 'automatic counters' job
4635
4636 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4637
4638         * aspell.C: include <boost/assert.cpp> (compile fix)
4639
4640 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4641
4642         * boost.C (assertion_failed): use lyx::support::abort instead of
4643         assert.
4644
4645 2003-09-10  Angus Leeming  <leeming@lyx.org>
4646
4647         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4648         with their _fwd progeny.
4649
4650 2003-09-09  Angus Leeming  <leeming@lyx.org>
4651
4652         134 files throughtout the source tree: replace 'using namespace abc;'
4653         directives with the appropriate 'using abc::xyz;' declarations.
4654
4655 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4656
4657         * boost.C (emergencyCleanup): moved here from LAssert.c
4658         (assertion_failed): new function, called by BOOST_ASSERT
4659
4660         * several files: change Assert to BOOST_ASSERT
4661
4662 2003-09-09  Angus Leeming  <leeming@lyx.org>
4663
4664         * buffer.[Ch]: Add an Impl class and move Buffer's member
4665         variables into it. As a result move several header files out of
4666         buffer.h.
4667
4668         Add header files to lots of .C files all over the tree as a result.
4669
4670 2003-09-09  Angus Leeming  <leeming@lyx.org>
4671
4672         * buffer.[Ch]: make Buffer's member variables private. Add
4673         accessor functions.
4674
4675         Lots of changes all over the tree as a result.
4676
4677 2003-09-08  Angus Leeming  <leeming@lyx.org>
4678
4679         * graph.C: #include <config.h>.
4680
4681 2003-09-08  Angus Leeming  <leeming@lyx.org>
4682
4683         * BranchList.C:
4684         * BufferView.C:
4685         * BufferView_pimpl.C:
4686         * CutAndPaste.C:
4687         * DepTable.C:
4688         * LaTeX.C:
4689         * LaTeXFeatures.C:
4690         * LyXAction.C:
4691         * MenuBackend.C:
4692         * TextCache.C:
4693         * aspell.C:
4694         * buffer.C:
4695         * bufferlist.C:
4696         * changes.C:
4697         * chset.C:
4698         * converter.C:
4699         * counters.C:
4700         * debug.C:
4701         * graph.C:
4702         * ispell.C:
4703         * lyx_cb.C:
4704         * lyxfind.C:
4705         * lyxfunc.C:
4706         * lyxlex_pimpl.C:
4707         * lyxrc.C:
4708         * lyxrow.C:
4709         * paragraph.C:
4710         * rowpainter.C:
4711         * texrow.C:
4712         * text.C:
4713         * text2.C:
4714         * toc.C: remove redundant using directives.
4715
4716 2003-09-07  Angus Leeming  <leeming@lyx.org>
4717
4718         * LaTeXFeatures.h: remove #include "support/types.h".
4719         * ToolbarBackend.h: remove #include <algorithm>.
4720         * changes.h: remove #include <ctime>.
4721         * debug.h: remove #include <iosfwd>.
4722         * graph.h: remove #include "support/std_string.h".
4723         * lyx_main.h: remove #include <csignal>.
4724         * lyxlex_pimpl.h: remove #include <fstream>.
4725         * sgml.h: remove #include <algorithm>, <utility>.
4726         * toc.h: remove #include "support/std_ostream.h".
4727         Add #include <iosfwd>.
4728
4729 2003-09-07  Angus Leeming  <leeming@lyx.org>
4730
4731         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4732
4733         * converter.h: forward declare LatexRunParams.
4734         * encoding.h: remove #include "lyxrc.h".
4735         * lyxtext.h: remove #include "LColor.h".
4736         * lyxtextclass.h: remove #include "support/types.h".
4737         * trans.h: remove #include "tex-accent.h".
4738         * trans_mgr.h: remove #include "tex-accent.h".
4739         * insets/inset.h: remove #include "support/types.h", <vector>.
4740         * insets/insetcollapsable.h: remove #include "LColor.h".
4741         * insets/insetinclude.h: remove #include "dimension.h".
4742         * insets/insetlatexaccent.h: remove #include "dimension.h".
4743         * insets/insetoptarg.h:: remove #include "insettext.h".
4744         * insets/insettext.h: remove #include "dimension.h",
4745         <boost/shared_ptr.hpp>
4746
4747         * insets/renderers.h: add #include "dimension.h".
4748         * insets/updatableinset.h: add #include "support/types.h".
4749
4750         * many .C files: Associated changes.
4751
4752 2003-09-06  Angus Leeming  <leeming@lyx.org>
4753
4754         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4755         one, inside testInvariant.
4756
4757         * PrinterParams.C: new file.
4758         * PrinterParams.[Ch]: move the function bodies out of line.
4759
4760 2003-09-06  Angus Leeming  <leeming@lyx.org>
4761
4762         * ParagraphParameters.h: forward declare ParameterStruct rather than
4763         including its header file.
4764         (depth): moved out-of-line.
4765
4766 2003-09-06  Angus Leeming  <leeming@lyx.org>
4767
4768         * BufferView_pimpl.h:
4769         * kbmap.h:
4770         * kbsequence.h:
4771         * lyxfunc.h: forward declare LyXKeySym rather than
4772         #include "frontends/LyXKeySym.h".
4773
4774         * BufferView_pimpl.C:
4775         * kbmap.C:
4776         * kbsequence.C:
4777         * lyxfunc.C: associated changes.
4778
4779 2003-09-06  Angus Leeming  <leeming@lyx.org>
4780
4781         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4782         As a result, can remove the #include "insets/inset.h" from BufferView.h
4783
4784 2003-09-06  Angus Leeming  <leeming@lyx.org>
4785
4786         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4787         As a result, can remove the #include "insets/inset.h" from BufferView.h
4788
4789 2003-09-06  Angus Leeming  <leeming@lyx.org>
4790
4791         * buffer_funcs.C:
4792         * buffer.h:
4793         * bufferlist.C:
4794         * BufferView.C:
4795         * bufferview_funcs.C:
4796         * BufferView_pimpl.C:
4797         * CutAndPaste.C:
4798         * lyx_cb.C:
4799         * lyxfunc.C:
4800         * paragraph.h:
4801         * ParagraphParameters.C:
4802         * tabular.C:
4803         * text3.C:
4804         * toc.C:
4805         * undo_funcs.C:
4806         * frontends/controllers/ControlDocument.C:
4807         * insets/insetcaption.C: rearrange the #includes into some sort of
4808         coherent order.
4809
4810         * buffer.h: remove #includes ErrorList.h, undo.h
4811
4812 2003-09-06  Angus Leeming  <leeming@lyx.org>
4813
4814         * support/types.h: add a 'depth_type' typedef, used to store the
4815         nesting depth of a paragraph.
4816
4817         * paragraph.h:
4818         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4819         defining explicitly.
4820
4821         * buffer.h:
4822         * paragraph_funcs.h:
4823         * ParagraphParameters.h:
4824         * sgml.h: use lyx::depth_type rather than Paragraph or
4825         ParameterStruct's depth_type.
4826
4827         * buffer.h
4828         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4829
4830         * BufferView.C:
4831         * BufferView_pimpl.C:
4832         * CutAndPaste.C:
4833         * ParagraphParameters.C:
4834         * buffer_funcs.C:
4835         * bufferlist.C:
4836         * bufferview_funcs.C:
4837         * lyx_cb.C:
4838         * lyxfunc.C:
4839         * tabular.C:
4840         * text3.C:
4841         * toc.C:
4842         * undo_funcs.C:
4843         * frontends/LyXView.C:
4844         * frontends/controllers/ControlDocument.C:
4845         * frontends/controllers/ControlErrorList.C:
4846         * insets/insetbibitem.C:
4847         * insets/insetbranch.C:
4848         * insets/insetcaption.C:
4849         * insets/insetcollapsable.C:
4850         * insets/insetenv.C:
4851         * insets/insetert.C:
4852         * insets/insetfloat.C:
4853         * insets/insetfoot.C:
4854         * insets/insetfootlike.C:
4855         * insets/insetnewline.C:
4856         * insets/insetquotes.C:
4857         * insets/insettabular.C:
4858         * insets/insettext.C:
4859         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4860
4861         * frontends/controllers/ControlChanges.C: #include "changes.h".
4862
4863 2003-09-06  Angus Leeming  <leeming@lyx.org>
4864
4865         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4866         than #including paragraph.h.
4867
4868         * ParagraphList.h:
4869         * RowList.h: deleted. Superfluous.
4870
4871         * CutAndPaste.h:
4872         * iterators.h:
4873         * lyxcursor.h:
4874         * lyxtext.h:
4875         * text_funcs.h:
4876         * undo.h:
4877         * undo_funcs.h:
4878         * insets/inset.h:
4879         * insets/insettext.h: use ParagraphList_fwd.h rather than
4880         ParagraphList.h.
4881
4882         * paragraph.h: don't forward declare ParagraphList.
4883
4884         * buffer.h:
4885         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4886         rather than ParagraphList.h. paragraph.h is still needed for the
4887         Paragraph::depth_type parameters.
4888
4889         * textcursor.h: enable it to compile stand-alone in light of the
4890         above changes.
4891
4892         * bufferview_funcs.C:
4893         * iterators.C:
4894         * lyxfunc.C:
4895         * lyxrow_funcs.C:
4896         * paragraph.C:
4897         * rowpainter.C:
4898         * text.C:
4899         * text2.C:
4900         * text3.C:
4901         * text_funcs.C:
4902         * textcursor.C:
4903         * undo.C:
4904         * frontends/controllers/ControlParagraph.C:
4905         * frontends/controllers/ControlTabular.C:
4906         * insets/insetmarginal.C:
4907         * insets/insetminipage.C:
4908         * insets/insetnote.C:
4909         * insets/insetoptarg.C: add header files needed to compile again.
4910
4911 2003-09-06  Angus Leeming  <leeming@lyx.org>
4912
4913         * RowList_fwd.h: new file, forward-declaring Row rather than
4914         #including lyxrow.h.
4915
4916         * lyxrow_funcs.h:
4917         * lyxtext.h:
4918         * paragraph.h:
4919         * insets/insettext.h: use it instead of RowList.h
4920
4921         * bufferview_funcs.C:
4922         * lyxfunc.C:
4923         * lyxrow_funcs.C:
4924         * paragraph.C:
4925         * rowpainter.C:
4926         * text.C:
4927         * text2.C:
4928         * text3.C: #include "RowList.h".
4929
4930 2003-09-05  Angus Leeming  <leeming@lyx.org>
4931
4932         * factory.C (createInset):
4933         * vspace.C (c-tor): replace sscanf call with an istringstream.
4934         * ispell.C: re-add missing HP/UX headers.
4935         * lyxserver.C: re-add missing  os2 headers.
4936
4937 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4938
4939         * BranchList.C:
4940         * graph.C:
4941         * ispell.C:
4942         * lastfiles.C:
4943         * lyx_cb.C:
4944         * lyxserver.C:
4945         * texrow.C:
4946         * text3.C: re-add missing system headers, needed for 2.95.2.
4947
4948 2003-09-05  Angus Leeming  <leeming@lyx.org>
4949
4950         Changes most place everywhere due to the removal of using directives
4951         from support/std_sstream.h.
4952
4953 2003-09-05  Angus Leeming  <leeming@lyx.org>
4954
4955         Replace LString.h with support/std_string.h,
4956         Lsstream.h with support/std_sstream.h,
4957         support/LIstream.h with support/std_istream.h,
4958         support/LOstream.h with support/std_ostream.h.
4959
4960         Changes resulting throughout the tree.
4961
4962 2003-09-05  Angus Leeming  <leeming@lyx.org>
4963
4964         * sgml.h: ensure that the header file can be compiled stand-alone.
4965         * *.C: strip out redundant #includes. (320 in total.)
4966
4967 2003-09-04  Angus Leeming  <leeming@lyx.org>
4968
4969         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4970         here (from getPackages).
4971
4972         * debug.[Ch]: add a new EXTERNAL tag.
4973
4974 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4975
4976         * text2.C (cursorEnd): simplify
4977         (setCursor): adjust
4978         (getColumnNearX): adjust
4979
4980         * text.C (computeBidiTables): adjust
4981         (fill): adjust
4982
4983         * rowpainter.C (paintChars): adjust
4984         (paintSelection): adjust
4985         (paintChangeBar): adjust
4986         (paintText): adjust
4987
4988         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4989         lastPos instead.
4990         (numberOfSeparators): adjust
4991
4992 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4993
4994         * LyXAction.C:
4995         * box.[Ch]:
4996         * lfuns.h:
4997         * lyxfunc.C:
4998         * text3.C: Restricts the mouse click functionality
4999         of insets like bibtex, include, toc and floatlist to the visible
5000         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5001         up the dialogs. Cursor has to be in front of the inset (i.e.
5002         start of row) for this to function.
5003
5004 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5005
5006         * bufferview_funcs.C (currentState): output row information
5007
5008 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5009
5010         * bufferview_funcs.C (currentState): output paragraph position
5011
5012 2003-09-04  Angus Leeming  <leeming@lyx.org>
5013
5014         * FloatList.h: move out #include "Floating.h".
5015         * LaTeX.h: move out #include "DepTable.h".
5016         * LyXAction.h: move out #include "funcrequest.h".
5017         * buffer.h: move out #include "author.h", "iterators.h".
5018         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5019         * lyx_main.h: move out #include "errorlist.h".
5020         * lyxfunc.h: move out #include "FuncStatus.h".
5021         * lyxtext: move out #include "lyxcursor.h".
5022         * paragraph_pimpl.h: move out #include "counters.h".
5023
5024 2003-09-03  Angus Leeming  <leeming@lyx.org>
5025
5026         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5027         preamble_snippets list, enabling us to add snippets to the preamble
5028         only if the snippet was not there already.
5029
5030 2003-09-04  Angus Leeming  <leeming@lyx.org>
5031
5032         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5033
5034 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5035
5036         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5037         update
5038
5039 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5040
5041         * BranchList.C: point fix, earlier forgotten
5042
5043 2003-09-02  Angus Leeming  <leeming@lyx.org>
5044
5045         * box.C (contains): renamed from 'contained' after a fantastic
5046         amount of hot air.
5047
5048 2003-09-02  John Levon  <levon@movementarian.org>
5049
5050         * BufferView.C:
5051         * lyxcursor.h:
5052         * lyxcursor.C:
5053         * lyxfunc.C:
5054         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5055
5056 2003-09-02  John Levon  <levon@movementarian.org>
5057
5058         * text2.C: simplification of cursorEnd(), including partial
5059         fix for bug 1376
5060
5061 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5062
5063         * buffer.C (readFile): add a space
5064
5065 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5066
5067         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5068
5069 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5070
5071         * buffer.C (readFile): new function, take a filename and a
5072         ParagraphList::iterator
5073         (readFile): adjust
5074         (readFile): adjust, make it private. don't use setStream, make
5075         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5076         always contain the filename.
5077
5078         * BufferView.C (insertLyXFile): simplify and make it work for
5079         gzipped files.
5080
5081 2003-08-30  John Levon  <levon@movementarian.org>
5082
5083         * Makefile.am: fix dist (from Kayvan)
5084
5085 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5086
5087         * most files: change to use const Buffer refs
5088
5089 2003-08-27  André Pönitz  <poenitz@gmx.net>
5090
5091         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5092         on top of ownerPar().
5093
5094 2003-08-27  John Levon  <levon@movementarian.org>
5095
5096         * funcrequest.C: properly initialise POD members
5097
5098 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5099
5100         * lyxtext.h (top_y): move top_y from here
5101         * text.C:
5102         * text2.C:
5103         * text3.C:
5104         * BufferView.[Ch]:
5105         * BufferView_pimpl.[Ch]: to here
5106         * frontends/screen.C:
5107         * insets/insettabular.C:
5108         * insets/insettext.C: adjust
5109         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5110
5111 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5112
5113         * BufferView.[Ch]:
5114         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5115
5116 2003-08-26  André Pönitz  <poenitz@gmx.net>
5117
5118         * paragraph_func.[Ch] (outerPar): new function
5119
5120         * paragraph.C:
5121         * paragraph_funcs.C:
5122         * paragraph_funcs.h:
5123         * paragraph_pimpl.C:
5124         * text2.C: remove Inset::par_owner
5125
5126 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5127
5128         * lyxrow_funcs.C:
5129         * lyxtext.h:
5130         * text.C:
5131         * text2.C: eliminates the needFullRow/display() stuff
5132         altogether, putting the logic in metrics/draw in the insets.
5133
5134 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5135
5136         * text2.C (redoParagraphInternal, redoParagraphs):
5137         * text.C (redoParagraph): add a call to updateRowPositions at the
5138         end of each 'metrics-like' call. Remove all others.
5139         (getRow): remove the 'y-computing' version.
5140         (getRowNearY): do not compute nor return the real y. Solve the
5141         'y < 0' problem and simplify.
5142
5143 2003-08-22  Angus Leeming  <leeming@lyx.org>
5144
5145         * *.[Ch]: clean-up of licence and author blurbs.
5146         Also move config.h out of a few .h files and into a few .C files.
5147
5148 2003-08-22  André Pönitz  <poenitz@gmx.net>
5149
5150         * lyxrow.[Ch]: add x_ and *fill_ members
5151
5152         * lyxtext.h:
5153         * text.C:
5154         * rowpainter.C:
5155         * text2.C: adjust/remove prepareToPrint() calls
5156
5157 2003-08-22  André Pönitz  <poenitz@gmx.net>
5158
5159         * lyxrow.[Ch]: add  end_ member
5160
5161         * lyxrow_funcs.C: use LyXRow::end_
5162
5163         * lyxtext.h (singleWidth): add LyXFont parameter
5164
5165         * rowpainter.C:
5166         * text2.C: adjust LyXText::singleWidth() calls
5167
5168         * text.C (redoParagraph): simplify row breaking logic
5169
5170
5171 2003-08-19  André Pönitz  <poenitz@gmx.net>
5172
5173         * funcrequest.C: initialize button_ member
5174
5175         * text3.C:
5176         * rowpainter.[Ch]: interface consolidation
5177
5178 2003-08-18  André Pönitz  <poenitz@gmx.net>
5179
5180         * BufferView.C:
5181         * BufferView_pimpl.C:
5182         * lyxfind.C:
5183         * paragraph_funcs.C:
5184         * rowpainter.C:
5185         * text3.C: remove LyXScreen::draw() and fitCursor calls
5186
5187         * BranchList.h: remove spurious semicolons
5188
5189         * MenuBackend.C: fix branchlist related crash
5190
5191 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5192
5193         * BranchList.[Ch]:
5194         * InsetList.[Ch]:
5195         * LColor.[Ch]:
5196         * LyXAction.C:
5197         * Makefile.am:
5198         * MenuBackend.[Ch]:
5199         * bufferparams.[Ch]:
5200         * factory.C:
5201         * lfuns.h:
5202         * lyxfunc.C:
5203         * text3.C: implements the 'branch inset'
5204         idea. This allows the output of various versions of a document
5205         from a single source version, selectively outputing or suppressing
5206         output of parts of the text.
5207         This implementation contains a 'branch list editor' in a separate
5208         tab of the document settings dialog. Branches are user definable
5209         and have a "display colour" to distinguish them on-screen.
5210
5211         ColorHandler was somewhat cleaned up.
5212         (1) make possible a dynamically growing LColor list by allowing
5213         the graphic context cache to grow along (vector);
5214         (2) eliminate an IMHO unnecessary step in colour allocation.
5215
5216 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5217
5218         * BufferView_pimpl.C: compile fix
5219
5220 2003-08-15  André Pönitz  <poenitz@gmx.net>
5221
5222         * rowpainter.C: remove extra metrics calls
5223
5224         * lyxtext.h: merge the two constructors into a single one,
5225           pass reference to owner's par list
5226
5227         * BufferView_pimpl.C:
5228         * text.C:
5229         * text2.C: adjust
5230
5231 2003-08-15  André Pönitz  <poenitz@gmx.net>
5232
5233         * lyxrow_funcs.[Ch]:
5234         * lyxtext.h:
5235         * paragraph.h:
5236         * paragraph_funcs.C:
5237         * rowpainter.C:
5238         * text.C:
5239         * text2.C:
5240         * text3.C:
5241         * text_funcs.C: split LyXText::rowlist_ into individual
5242         Paragraph::rows_ chunks
5243
5244         * BufferView.[Ch]:
5245         * BufferView_pimpl.[Ch]:
5246         * lyxfind.C:
5247         * lyxtext.h:
5248         * text3.C: remove toggleSelection()
5249
5250 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5251
5252         * bufferlist.C: beautify two alerts (shorter text of buttons)
5253         * buffer.C: Remove redundant ' ' from message
5254         * tabular.h:
5255         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5256         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5257         rename VALIGN_CENTER to VALIGN_MIDDLE
5258
5259 2003-08-11  André Pönitz  <poenitz@gmx.net>
5260
5261         * lyxtext.h (getPar):
5262         * text.C: new function
5263
5264 2003-08-11  André Pönitz  <poenitz@gmx.net>
5265
5266         * Makefile.am:
5267         * tracer.[Ch]: remove unneeded files
5268
5269         * InsetList.[Ch]: remove resizeInsetsLyXText()
5270
5271         * lyxtext.h:
5272         * text.C:
5273         * text2.C:
5274         * text3.C: merge insertParagraphs() and appendParagraph()
5275         remove breakAgain(), update()
5276
5277         * BufferView_pimpl.[Ch]:
5278         * bufferview_funcs.[Ch]:
5279         * lyxfunc.C:
5280         * paragraph.[Ch]:
5281         * rowpainter.C:
5282         * tabular.C: adjust after text & InsetList changes.
5283
5284 2003-08-08  André Pönitz  <poenitz@gmx.net>
5285
5286         * text.C (insertChar, backspace): replace rowlist fiddling
5287         with rebreak of full par
5288
5289         * lyxtext.h:
5290         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5291         checkParagraph, updateInset): removed
5292
5293 2003-08-07  André Pönitz  <poenitz@gmx.net>
5294
5295         * paragraph.C:
5296         * text3.C: merge some LFUN handlers, remove dead code
5297
5298 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5299
5300         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5301
5302 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5303
5304         * text2.C (DEPM): fix part of bug 1255 and 1256
5305
5306 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5307
5308         * BufferView_pimpl.C (workAreaDispatch): change to use
5309         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5310         that are no mouse related.
5311
5312 2003-08-05  André Pönitz  <poenitz@gmx.net>
5313
5314         * BufferView.[Ch]:
5315         * BufferView_pimpl.[Ch]:
5316         * bufferview_funcs.C:
5317         * text2.C:
5318         * text3.C: rip out "deep update"
5319
5320         * textcursor.[Ch] (last_sel_cursor): remove unused member
5321
5322 2003-08-04  André Pönitz  <poenitz@gmx.net>
5323
5324         * BufferView.[Ch]:
5325         * BufferView_pimpl.[Ch]:
5326         * ParagraphParameters.C:
5327         * bufferview_funcs.C:
5328         * lyx_cb.C:
5329         * lyxfind.C:
5330         * lyxfunc.C:
5331         * text.C:
5332         * text2.C:
5333         * text3.C: replace "complicated" BufferView::update(...) calls with
5334         simpler ones.
5335
5336         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5337
5338 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5339
5340         * Makefile.am (lyx_SOURCES): add paper.h
5341
5342 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5343
5344         * Makefile.am: move things around so that both lyx-qt and
5345         lyx-xforms can be built (according to --with-frontend). Then lyx
5346         is a symbolic link to lyx-[firstfrontend]
5347
5348 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5349
5350         * Always use std::endl with lyxerr
5351
5352 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5353
5354         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5355
5356 2003-08-01  André Pönitz  <poenitz@gmx.net>
5357
5358         * BufferView.[Ch]:
5359         * BufferView_pimpl.[Ch]:
5360         * lyxfunc.C:
5361         * text3.C: merge BufferView::repaint() and BufferView::update()
5362
5363 2003-08-01  José Matos  <jamatos@lyx.org>
5364
5365         * buffer.[Ch]: file_format is no longer a buffer data element.
5366
5367 2003-08-01  André Pönitz  <poenitz@gmx.net>
5368
5369         * BufferView.C:
5370         * lyxtext.h:
5371         * text.C:
5372         * text2.C: make redoParagraph more independent of current cursor
5373
5374         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5375         * text.C:
5376         * text2.C: remove unneeded members
5377
5378 2003-07-30  André Pönitz  <poenitz@gmx.net>
5379
5380         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5381
5382         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5383           create a single function...
5384
5385         * paragraph_funcs.C (moveItem): ... here.
5386
5387         * text.C:
5388           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5389
5390 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5391
5392         * LColor.[Ch]: Add comment and greyedout logical colors.
5393
5394 2003-07-30  André Pönitz  <poenitz@gmx.net>
5395
5396         * tabular.C: don't use Assert too heavily. This crashes where it
5397           shouldn't
5398
5399 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5400
5401         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5402         is disabled (bug 1232)
5403
5404 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5405
5406         * factory.C: limited 'arg' scope
5407
5408 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5409
5410         * factory.C: fixed Note submenu issues
5411
5412 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5413
5414         * factory.C: submenu for Note/Comment/Greyedout
5415
5416 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5417
5418         * lyx_main.C (LyX):
5419         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5420
5421 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5422
5423         * LaTeXFeatures.C:
5424         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5425         greyedout. Patch provided by Jürgen Spitzmüller.
5426
5427 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5428
5429         * kbmap.C (read): fix error message when reading bind files
5430
5431 2003-07-29  Angus Leeming  <leeming@lyx.org>
5432
5433         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5434         certainly does not do what it purports to do. I am doing it, and
5435         us, a favour by killing it.
5436
5437 2003-07-28  José Matos  <jamatos@lyx.org>
5438
5439         * buffer.C (readBody, do_writeFile):
5440         * paragraph.C(readParagraph): \end_document replaces \the_end.
5441
5442 2003-07-29  André Pönitz  <poenitz@gmx.net>
5443
5444         * BufferView.[Ch]:
5445         * BufferView_pimpl.[Ch]:
5446         * lyxfunc.C:
5447         * text2.C:
5448         * text3.C:
5449         * textcursor.[Ch]: remove toggleToggle & Co
5450
5451 2003-07-28  José Matos  <jamatos@fep.up.pt>
5452
5453         * buffer.C (readParagraph):
5454         * params_func (readParToken, readParagraph):
5455         * paragraph.C (write): \layout -> \begin_layout.
5456
5457 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5458
5459         * lyxlex_pimpl.C (setFile): clean up slightly.
5460
5461         * bufferparams.h: add compressed var
5462
5463         * buffer_funcs.C (readFile): adjust for LyXLex change
5464         (newFile): ditto + simplify
5465
5466         * buffer.C (writeFile): handle writing of compressed files
5467
5468         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5469         Check if the file is compressed and set a bufferparm if so.
5470
5471         * Makefile.am (lyx_LDADD): remove explicit -lz
5472
5473 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5474
5475         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5476         makeDocBookFile): put the real LyX version in the first line of
5477         the file
5478
5479         * version.h:
5480         * version.C.in: remove lyx_docversion
5481
5482         * tabular.C (write_attribute): add a template-based version to
5483         write enums properly
5484
5485 2003-07-28  André Pönitz  <poenitz@gmx.net>
5486
5487         * lyxtext.h:
5488         * text.C:
5489         * text2.C:
5490         * text3.C: use doubles again for x-coordinates. They are needed.
5491
5492 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5493
5494         * messages.C (getLocaleDir): use lyx_localedir()
5495
5496         * lyxlex_pimpl.C (setFile): compress stuff
5497
5498         * buffer.C (writeFile): add some compression stuff
5499         (do_writeFile): new func, dont call expliti close... will this
5500         breake anything?
5501
5502         * Makefile.am (lyx_LDADD): add -lz
5503
5504 2003-07-28  José Matos  <jamatos@fep.up.pt>
5505
5506         * buffer.C: increment file format.
5507         * paragraph_funcs (readParagraph, readParToken):
5508         * paragraph.C (readParagraph): add \end_layout.
5509
5510 2003-07-27  Angus Leeming  <leeming@lyx.org>
5511
5512         * Makefile.am: remove special casing for configure-time setting of
5513         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5514
5515         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5516         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5517
5518 2003-07-26  André Pönitz  <poenitz@gmx.net>
5519
5520         * paragraph_func.[Ch]:
5521         * paragraph.C (realizeFont): inline it whereever it is used
5522
5523         * rowpainter.C:
5524         * text.C:
5525         * text2.C:
5526         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5527
5528
5529 2003-07-26  André Pönitz  <poenitz@gmx.net>
5530
5531         *       lyxtext.h:
5532         * text.C:
5533         * text2.C: get rid of LyXText::need_break_row
5534
5535 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5536
5537         * toc.[Ch]: put namespace toc inside namespace lyx
5538
5539         * MenuBackend.C (expandToc2): adjust for lyx::toc
5540         (expandToc): ditto
5541
5542         * lyxfunc.C (dispatch): adjust for lyx::find
5543
5544         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5545         lyx::find instead. Reorganize a bit.
5546         (LyXReplace): rename to replace
5547         (LyXFind): rename to find
5548
5549         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5550         (dispatch): ditto
5551
5552 2003-07-26  André Pönitz  <poenitz@gmx.net>
5553
5554         * text.C (setHeightOfRow): restrict scope of temporary variable
5555
5556         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5557           code (never has been used?)
5558
5559 2003-07-27  Asger Alstrup  <alstrup@local>
5560
5561         * text.C (fill): Optimise algorithm to exploit that we can reuse
5562         the LyXFont for many characters.
5563         (setHeightOfRow): Same thing.
5564         (rowBreakPoint): Same thing.
5565
5566 2003-07-26  Asger Alstrup  <alstrup@local>
5567
5568         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5569
5570         * text.C (singleWidth): Spurious font copying in hot-spot
5571         singleWidth avoided. Reorder tests for arabic for efficiency.
5572
5573         * text.C (fill): handle empty paragraphs better.
5574
5575 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5576
5577         * ispell.C:
5578         * encoding.h: add includes
5579
5580         * lyxrc.C: remove reading of bind files
5581
5582         * lyx_main.C (init): setup bindings and menus only if we have a
5583         gui.
5584
5585         * kbmap.C (read): new method. Do the actual reading of bind
5586         files.
5587
5588         * converter.C (dvipdfm_options):
5589         * bufferparams.C:
5590         * lyxrc.C (read):
5591         (output): adapt PAPER_* enums.
5592
5593         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5594
5595         * bufferparams.h: remove paper-related enums from there
5596
5597         * paper.h: New file. A trivial header file to hold paper-related
5598         enums. It should later expand to contain many paper-related
5599         horrors access.
5600
5601         * lyxrc.C: declare extern displayTranslator
5602
5603 2003-07-27  José Matos  <jamatos@fep.up.pt>
5604
5605         * tabular.[Ch] (linuxdoc): add support for tables and figures
5606         (linuxdoc).
5607
5608 2003-07-27  José Matos  <jamatos@fep.up.pt>
5609
5610         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5611         consistency in both functions.
5612         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5613
5614 2003-07-26  Asger Alstrup  <alstrup@local>
5615
5616         * rowpainter.C (paintRows): Change algorithm to work directly on
5617         the insets rather than asking every character in the document
5618         whether its an inset.
5619
5620 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5621
5622         * buffer.C (openFileWrite): factorize some code
5623
5624 2003-07-26  Angus Leeming  <leeming@lyx.org>
5625
5626         * lyx_cb.C:
5627         * lyx_main.[Ch]: replace occurances of system_tempdir with
5628         os::getTmpDir().
5629
5630 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5631
5632         * rename Inset to InsetOld
5633
5634 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5635
5636         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5637         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5638         which I think is a bit clearer. EDIT is gone, since it was
5639         premature optimisation, and broken for mathed anyway.
5640         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5641         with cursor positioning in insets as well (math insets still do not
5642         work, but that's a different story anyway.) It mysteriously
5643         crashes sometimes with undo in the first paragraph, but I'm fairly
5644         confident that this is a compiler bug.
5645
5646 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5647
5648         * paragraph.C (Paragraph): adjust for new clone return type
5649         (operator==): ditto
5650         (copyIntoMinibuffer): ditto
5651
5652 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5653
5654         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5655         by not having a special case, and always doing a full rebreak of
5656         the document after undo.
5657
5658 2003-07-23  Angus Leeming  <leeming@lyx.org>
5659
5660         * factory.C (createInset): InsetExternal::setParams now takes a
5661         Buffer const * arg.
5662
5663 2003-07-23  Angus Leeming  <leeming@lyx.org>
5664
5665         * factory.C (createInset): changed interface to the external and
5666         graphics mailers' string2params functions.
5667
5668 2003-07-23  Angus Leeming  <leeming@lyx.org>
5669
5670         * factory.C (createInset): pass a
5671         Buffer const * parameter to InsetExternalMailer's string2params.
5672
5673 2003-07-22  John Levon  <levon@movementarian.org>
5674
5675         * Thesaurus.h: include the right aiksaurus header
5676
5677 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5678
5679         * MenuBackend.C (expand): check menu shortcuts unconditionally
5680
5681 2003-07-21  Angus Leeming  <leeming@lyx.org>
5682
5683         * factory.C (createInset): pass a
5684         buffer_path parameter to InsetGraphicsMailer's string2params.
5685
5686 2003-07-21  Angus Leeming  <leeming@lyx.org>
5687
5688         * BufferView_pimpl.C (buffer):
5689         * buffer.C (d-tor):
5690         * lyx_main.C (LyX):
5691         * lyxfunc.C (dispatch):
5692         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5693         rather than the grfx shortcut.
5694
5695 2003-07-21  André Pönitz  <poenitz@gmx.net>
5696
5697         * rowpainter.C: remove unused variables
5698
5699         * tabular_funcs.C:
5700         * tabular_funcs.h: move to tabular.C
5701         * Makefile.am: adjust
5702
5703         * tabular.[Ch]: basic optical cleaning
5704
5705         * author.h: pass references, not values
5706
5707 2003-07-18  André Pönitz  <poenitz@gmx.net>
5708
5709         * lyxtext.h:
5710         * metricsinfo.C:
5711         * metricsinfo.h:
5712         * rowpainter.C:
5713         * text.C:
5714         * text2.C:
5715         * text3.C: two-phase drawing for InsetText and InsetTabular
5716         some float -> int changes.
5717
5718 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5719
5720         * lyx_main.C: fix the fix
5721
5722 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5723
5724         * lyx_main.C: fix a crash in batch mode if no files specified
5725         * converter.C: ws
5726
5727 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5728
5729         * format.[Ch] (papersize): moved to BufferParams
5730         * converter.[Ch] (dvips_options): moved to BufferParams
5731         (dvipdfm_options): moved to anon namespace
5732         * bufferparams.[Ch]: added above functions.
5733
5734 2003-07-17  André Pönitz  <poenitz@gmx.net>
5735
5736         * lyxtext.h:
5737         * rowpainter.C:
5738         * text2.C: don't call inset->update() anymore
5739
5740         * metricsinfo.[Ch]: add convenience constructor
5741
5742 2003-07-16  André Pönitz  <poenitz@gmx.net>
5743
5744         * lyxcursor.[Ch]:
5745         * lyxfunc.[Ch]:
5746         * text.C:
5747         * text2.C: replace the LyXCursor::irow_ member with
5748          on-demand computation of the value
5749
5750 2003-07-16  John Levon  <levon@movementarian.org>
5751
5752         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5753
5754 2003-07-15  André Pönitz  <poenitz@gmx.net>
5755
5756         * text.C:
5757         * text2.C: remove no more needed refresh_row
5758
5759 2003-07-15  André Pönitz  <poenitz@gmx.net>
5760
5761         * lyxtext.h:
5762         * rowpainter.C:
5763         * text2.C:
5764         * text3.C: refresh_status tristate -> need_update bool
5765
5766 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5767
5768         * lyxtext.h (init): remove reinit argument (act as if always true)
5769         * text2.C: adjust to that
5770
5771 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5772
5773         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5774         * text3.C: use it to delete selections in some cases
5775         (bugs 441, 673, 702, 954).
5776
5777 2003-07-14  André Pönitz  <poenitz@gmx.net>
5778
5779         * rowpainter.[Ch]: reduce interface
5780
5781 2003-07-14  André Pönitz  <poenitz@gmx.net>
5782
5783         * BufferView_pimpl.C:
5784         * text2.C: adjust after removing unused BufferView * argument
5785
5786 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5787
5788         * text2.C (init): fix a crash fired on resize
5789
5790 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5791
5792         * buffer.[Ch]: added new closing signal
5793         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5794         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5795         BufferView::Pimpl via the closing the signal
5796
5797 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5798
5799         * buffer.[Ch]: take out all bv-related from buffer
5800         * BufferView.C:
5801         * BufferView_pimpl.[Ch]: connect to new signals
5802         * CutAndPaste.C: removed useless asserts
5803         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5804         * lyxvc.[Ch]:
5805         * vc-backend.[Ch]:
5806         * lyxfunc.C: moved view-related funciontality from vc here
5807         * paragraph.C: removed outdated comments
5808         * text.C: ws
5809
5810 2003-07-10  André Pönitz  <poenitz@gmx.net>
5811
5812         * BufferView_pimpl.C:
5813         * tabular.h:
5814         * tabular_funcs.C:
5815         * text.C:
5816         * text2.C: remove InsetText::InnerCache, clean up consequences
5817
5818 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5819
5820         * ispell.C: fix two typos in error messages
5821
5822 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5823
5824         * Extend Note inset to other forms of annotation like Comment
5825         and Greyedout. Right button click gives dialog.
5826
5827         Files modified or added (+):
5828
5829         * insetnote.[Ch]
5830         * FormNote.[Ch]      +
5831         * ControlNote.[Ch]   +
5832         * form_note.fd       +
5833         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5834         frontends/controllers
5835         * xforms/Dialogs.C
5836         * factory.C
5837
5838 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5839
5840         * aspell.C: add missing namespace lyx::support
5841
5842 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5843
5844         * BufferView.[Ch] (newFile): Add
5845         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5846         * LaTeX.[Ch] (message): added this signal and use it
5847         * buffer.[Ch] (busy, message): added these signals and use them
5848         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5849         * converter.C:
5850         * exporter.C:
5851         * format.C:
5852         * importer.C: use buffer signals instead of direct bv calling
5853         * lyx_cb.[Ch] (ShowMessage): removed
5854         * lyx_main.C:
5855         * lyxfunc.C:
5856         * paragraph_funcs.C:
5857         * text2.C: use buffer signals
5858
5859 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5860
5861         * introduce namespace lyx::graphics
5862
5863 2003-07-02  André Pönitz  <poenitz@gmx.net>
5864
5865         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5866
5867 2003-07-01  André Pönitz  <poenitz@gmx.net>
5868
5869         * text.C:
5870         * text2.C:
5871         * text3.C:
5872         * text_funcs.[Ch]:
5873         * textcursor.h:
5874         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5875           text*.C to text_func.C
5876
5877 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5878
5879         * introduce namespace lyx::support
5880
5881 2003-06-30  André Pönitz  <poenitz@gmx.net>
5882
5883         * Chktex.C:
5884         * funcrequest.C:
5885         * lyxtext.h:
5886         * text.C: re-enable --with-included-string
5887
5888 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5889
5890         * textcursor.C: add <config.h>
5891
5892         * text.C (getWord): remove const from word_location arg
5893
5894         * lyxvc.C (getLogFile): fix const type order
5895
5896         * lyxtext.h: remove const from word_location arg, add arg name
5897
5898         * lyxlayout.h: currect type on labeltype.
5899
5900         * importer.C: correct \file
5901
5902         * converter.C (intToFormat): use std:: on ret val, ws changes
5903
5904         * bufferlist.h: correct \file
5905
5906         * buffer.C (makeLinuxDocFile): fix const type order
5907         (makeDocBookFile): ditto
5908         (fillWithBibKeys): use std:: on stdlib args.
5909
5910         * CutAndPaste.C: fix authors.
5911         (availableSelections): use std:: on return vector
5912
5913 2003-06-27  André Pönitz  <poenitz@gmx.net>
5914
5915         * BufferView_pimpl.C:
5916         * bufferview_funcs.C:
5917         * lyxcursor.C:
5918         * lyxcursor.h:
5919         * lyxfunc.C:
5920         * lyxtext.h:
5921         * rowpainter.C:
5922         * text.C:
5923         * text2.C:
5924         * text3.C: remove LyXCursor::row_ member
5925
5926         * lyxtext.h:
5927         * text.C: rename fullRebreak() to partialRebreak() and implement
5928           a fullRebreak() that really bereks fully
5929
5930         * textcursor.h: new struct for cursor-related data
5931
5932 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5933
5934         * lyx_main.C (LyX): get full path of document loaded on the
5935         command line
5936
5937 2003-06-26  André Pönitz  <poenitz@gmx.net>
5938
5939         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5940           remove unused/broken operator>,<,>=.
5941
5942         *       text.C: remove only use of broken operator<= in an Assert().
5943
5944 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5945
5946         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5947         moved errorlist_.clear to showErrorList
5948
5949 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5950
5951         * converter.C (scanLog, runLaTeX):
5952         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5953         move the bv->showErrorList call to the callers
5954         * lyxfunc.C: i.e. here...
5955         * text2.C: and here
5956         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5957         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5958         namespace, the second to...
5959         * buffer_funcs (BufferFormat, parseErrors): added
5960         * errorlist.C (ErrorList(TeXErrors const &)): removed
5961
5962 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5963
5964         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5965
5966 2003-06-24  "Garst R. Reese" <reese@isn.net>
5967
5968         * debug.C: fix typo
5969
5970 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5971
5972         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5973
5974         * version.C.in: change docversion to 1.4
5975
5976 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5977
5978         * buffer.C: fix a bug just introduced
5979
5980 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5981
5982         * buffer.[Ch]: added the parseError signal and use it, removed
5983         sgmlError
5984         * BufferView.[Ch] (addError): moved to ...
5985         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5986         to the Buffer::parseError signal to catch (guess what) parse errors
5987         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5988
5989 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5990
5991         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5992         ability to create a buffer and to return an existing one from
5993         the list. Moved these functions to...
5994         * buffer_funcs.[Ch]: added
5995         * BufferView.[Ch] (loadLyXFile): added
5996         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5997         job removed from bufferlist::loadLyXFile.
5998         * buffer.C (setReadOnly): make it work without view
5999         (i.e added an if (users))
6000
6001 2003-06-19  Angus Leeming  <leeming@lyx.org>
6002
6003         * lfuns.h:
6004         * LyXAction.C (init):
6005         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6006         with LFUN_DIALOG_SHOW <name> <data>.
6007
6008 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6009
6010         * CutAndPaste.C (availableSelections): small compilation fix for
6011         ancient (gcc 2.9x) compilers
6012
6013 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6014
6015         * text3.C (cursorNext): add tmp var
6016
6017         * text2.C (updateCounters): for function calling out of for clause
6018         (replaceSelectionWithString): ditto
6019         (insertStringAsParagraphs): ditto
6020         (getColumnNearX): add tmp var
6021         (setCursorFromCoordinates): add tmp var
6022         (cursorDownParagraph): add tmp var
6023         (deleteEmptyParagraphMechanism): add tmp var
6024
6025         * text.C (insertChar): add tmp var
6026
6027         * rowpainter.C (paintDepthBar): add tmp var
6028
6029         * CutAndPaste.C (availableSelections): potentially check all
6030         paragraphs in a cut to fill the shown strings.
6031
6032 2003-06-18  André Pönitz  <poenitz@gmx.net>
6033
6034         * kbmap.[Ch]: use vector<> instead of list<>
6035
6036 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6037
6038         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6039         pasteSelection with index
6040
6041         * text2.C (pasteSelection): modify, call pasteSelection with index
6042
6043         * paragraph.C (asString): reimplement version with no interval to
6044         call the one with interval.
6045
6046         * lyxtext.h: add index arg to pasteSelection
6047
6048         * MenuBackend.C (MenuItem): handle PasteRecent
6049         (Menu::read::Menutags): add md_pasterecent
6050         (read): handle it
6051         (expandPasteRecent): new function
6052         (expand): use it
6053
6054         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6055
6056         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6057         the limited stack
6058         (availableSelections): new function
6059
6060 2003-06-17  Angus Leeming  <leeming@lyx.org>
6061
6062         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6063
6064 2003-06-17  Angus Leeming  <leeming@lyx.org>
6065
6066         * lfuns.h:
6067         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6068
6069         * lyxfunc.C (dispatch): invoke it.
6070
6071 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6072
6073         * iterators.C (operator++, ParPosition): reintroduce some
6074         const_cast for the benefit of older compilers.
6075
6076 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6077
6078         * text3.C (dispatch): do not modify clipboard when doing
6079         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6080         LFUN_DELETE_SKIP on a selection selection
6081
6082 2003-06-16  André Pönitz  <poenitz@gmx.net>
6083
6084         * BufferView.C:
6085         * buffer.C:
6086         * buffer.h:
6087         * paragraph.C:
6088         * tabular.[Ch]: IU of clone() and getLabelList();
6089
6090 2003-06-13  André Pönitz  <poenitz@gmx.net>
6091
6092         * tabular.h: compactification
6093
6094 2003-06-12  André Pönitz  <poenitz@gmx.net>
6095
6096         * tabular.C:
6097         * tabular.h:
6098         * tabular_funcs.h: some renaming plus whitespace
6099
6100 2003-06-12  André Pönitz  <poenitz@gmx.net>
6101
6102         * BufferView.C:
6103         * BufferView_pimpl.C:
6104         * CutAndPaste.C:
6105         * buffer.C:
6106         * iterators.[Ch]:
6107         * lyxfunc.C:
6108         * text.C:
6109         * toc.C: Return a Paragraph & for ParIterator::operator*()
6110
6111 2003-06-11  John Levon  <levon@movementarian.org>
6112
6113         * lyx_main.C:
6114         * ToolbarBackend.h:
6115         * ToolbarBackend.C: add "Toolbars" section and
6116         put the flags there
6117
6118 2003-06-10  Angus Leeming  <leeming@lyx.org>
6119
6120         * lfuns.h:
6121         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6122
6123         * lyxfunc.C (dispatch): invoke it.
6124
6125 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6126
6127         * main.C: protect <ios> with HAVE_IOS
6128         (main): protect sync_with_stdio with HAVE_IOS
6129
6130 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6131
6132         * text2.C (cutSelection): adjust
6133         (pasteSelection): adjust
6134
6135         * messages.C: handle get of empty string
6136
6137         * main.C (main): use sync_with_stdio(false)
6138
6139         * lyxfunc.C (dispatch): adjust
6140
6141         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6142         (WriteAs): remove unneeded BufferView arg.
6143
6144         * bufferparams.h: use correct types on papersize, papersize2 and
6145         paperpackage.
6146
6147         * bufferparams.C (readToken): adjust for type
6148         (writeLaTeX): add missing cases to switch.
6149
6150         * bufferlist.C (quitWriteBuffer): adjust
6151         (close): adjust
6152
6153         * buffer.C (asciiParagraph): remove some commented code.
6154
6155         * CutAndPaste.C: remove current_view extern variable.
6156         (cutSelection): add BufferParams arg.
6157         (eraseSelection): add BufferParams arg.
6158         (pasteSelection): add Buffer const & arg
6159
6160 2003-06-07  John Levon  <levon@movementarian.org>
6161
6162         * buffer.C:
6163         * paragraph_funcs.C:
6164         * paragraph_pimpl.C:
6165         * text.C:
6166         * text2.C:
6167         * paragraph.h:
6168         * paragraph.C: allow InsetERT to freely space lines,
6169         and some consolidation of code
6170
6171 2003-06-06  José Matos  <jamatos@fep.up.pt>
6172
6173         * buffer.C (makeDocBookFile): fix bug #821
6174
6175 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6176
6177         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6178
6179 2003-06-04  Angus Leeming  <leeming@lyx.org>
6180
6181         * buffer.C: bump format to 224.
6182
6183 2003-06-05  André Pönitz  <poenitz@gmx.net>
6184
6185         * text2.C (redoParagraphs): remove two const_cast<>
6186
6187 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6188
6189         * ParagraphList.h: remove last remnants of NO_STD_LIST
6190
6191 2003-06-03  Angus Leeming  <leeming@lyx.org>
6192
6193         * factory.C (createInset): small change to the way InsetExternal's params
6194         are set.
6195
6196 2003-06-04  André Pönitz  <poenitz@gmx.net>
6197
6198         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6199
6200         * paragraph_pimpl.h:
6201         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6202
6203         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6204
6205         * undo_funcs.C: make some simple cases of undo work again
6206
6207 2003-06-03  John Levon  <levon@movementarian.org>
6208
6209         * ispell.C: HPUX doesn't have sys/select.h
6210         (from Albert Chin)
6211
6212 2003-06-03  John Levon  <levon@movementarian.org>
6213
6214         * CutAndPaste.C: update tabular and include inset
6215         buffer references
6216
6217         * buffer.h:
6218         * paragraph.h:
6219         * paragraph.C: remove owningBuffer(), don't pass Buffer
6220         to clone()
6221
6222         * factory.C: insetGraphicsParams changed
6223
6224 2003-06-02  John Levon  <levon@movementarian.org>
6225
6226         * LyXAction.C:
6227         * factory.C:
6228         * lfuns.h:
6229         * lyxfunc.C:
6230         * text3.C: remove insetparent
6231
6232 2003-06-02  John Levon  <levon@movementarian.org>
6233
6234         * buffer.h:
6235         * buffer.C: fix inset_iterator.end(), move out of line
6236         (bug 1149)
6237
6238 2003-06-01  John Levon  <levon@movementarian.org>
6239
6240         * text3.C: use a proper cut/paste when doing inset
6241         insert (from Jürgen Spitzmüller)
6242
6243 2003-06-01  John Levon  <levon@movementarian.org>
6244
6245         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6246
6247 2003-05-30  André Pönitz  <poenitz@gmx.net>
6248
6249         * rowpainter.C: unify second drawing phase
6250
6251 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6252
6253         * trans_mgr.C: remove one case of current_view
6254
6255         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6256
6257         * paragraph_funcs.h: remove paragraph.h include
6258
6259         * paragraph.h: delete NO_STD_LIST stuff
6260
6261         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6262
6263         * buffer.h: remove paragraph.h include
6264
6265         * ParagraphList.C: delete file
6266
6267         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6268
6269         * toc.C (getTocList): adjust
6270
6271         * paragraph_pimpl.C (validate): adjust
6272
6273         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6274
6275         * paragraph.C (Paragraph): adjust
6276         (getPositionOfInset): use const_iterator, adjust
6277         (bibitem): use const_iterator, adjust
6278         (setInsetOwner): adjust
6279
6280         * iterators.C (operator++): adjust
6281
6282         * InsetList.[Ch]: Replace selfmade iterator with standard
6283         vector::iterator also introduce const_iterator. Remove getPos,
6284         getInset and setInset from InsetTable. Adjust accordingly.
6285
6286         * BufferView.C (lockInset): adjust
6287         (ChangeInsets): adjust
6288
6289         * tabular.[Ch]: delete commented same_id functions
6290
6291 2003-05-28  John Levon  <levon@movementarian.org>
6292
6293         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6294
6295 2003-05-28  André Pönitz  <poenitz@gmx.net>
6296
6297         * metricsinfo.[Ch]: remove 'fullredraw' member
6298
6299 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6300
6301         * lyxtextclass.C (operator): remove caching.
6302
6303 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6304
6305         * text3.C: adjust
6306
6307         * text2.C (cursorBottom): adjust
6308         (setCounter): use ParagraphList::find, adjust
6309
6310         * text.C (workWidth): use ParagraphList::find, adjust
6311
6312         * lyxcursor.C (LyXCursor): adjust
6313
6314         * buffer.C (inset_iterator): adjust
6315
6316         * ParagraphList.h: make iterator(value_type) private, make
6317         ParagraphList a friend of iterator.
6318
6319         * ParagraphList.C (find): new function
6320
6321         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6322
6323 2003-05-27  André Pönitz  <poenitz@gmx.net>
6324
6325         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6326
6327 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6328
6329         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6330
6331 2003-05-26  John Levon  <levon@movementarian.org>
6332
6333         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6334
6335 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6336
6337         * remove same_id from function signatures, adjust.
6338
6339 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6340
6341         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6342
6343         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6344
6345         * paragraph.C (Paragraph): get rid of same_ids parameter
6346
6347         * ParagraphList.C (insert): adjust
6348         (push_back): adjust
6349
6350 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6351
6352         * paragraph_funcs.C (breakParagraph): adjust
6353         (breakParagraphConservative): adjust
6354
6355         * buffer.C (readParagraph): adjust
6356
6357         * ParagraphList.C (insert): take a reference instead of a pointer
6358         (insert): adjust
6359
6360         * paragraph.[Ch] (id): new function
6361
6362         * bufferlist.C (newFile): adjust
6363
6364         * ParagraphList.C (ParagraphList): adjust
6365         (assign): adjust
6366         (push_back): take a reference instead of a pointer.
6367
6368         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6369
6370         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6371         instead.
6372
6373         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6374         set else use old code.
6375
6376         * ParagraphList.C: remove all NO_NEXT code and only compile this
6377         code of NO_STD_LIST is set.
6378
6379 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6380
6381         * BufferView_pimpl.C:
6382         * TextCache.C:
6383         * TextCache.h:
6384         * bufferlist.C:
6385         * errorlist.h:
6386         * format.C:
6387         * format.h:
6388         * graph.C:
6389         * lyxfunc.C:
6390         * lyxrc.C:
6391         * graphics/GraphicsConverter.C:
6392         * graphics/PreviewLoader.C: header adjustment
6393
6394 2003-05-23  Angus Leeming  <leeming@lyx.org>
6395
6396         * LaTeXFeatures.[Ch] (useBabel): new method.
6397         * bufferparams.C (writeLaTeX): use it.
6398
6399 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6400
6401         * ParagraphList.h (set): remove unused function.
6402
6403 2003-05-23  André Pönitz  <poenitz@gmx.net>
6404
6405         * BufferView.C:
6406         * BufferView_pimpl.C:
6407         * buffer.C:
6408         * buffer.h:
6409         * lyxfunc.C:
6410         * undo_funcs.C: setUndo reworked
6411
6412         * iterators.[Ch]: add access to topmost ParagraphList
6413
6414         * lyxtext.[Ch] (workWidth): add a const
6415
6416 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6417
6418         * texrow.[Ch] (increasePos): remove function
6419         * exporter.C (export): removed unused var and outdated comment
6420
6421 2003-05-23  Angus Leeming  <leeming@lyx.org>
6422
6423         * latexrunparams.h: rename fragile as moving_arg.
6424         * paragraph.C (simpleTeXOnePar): ditto.
6425         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6426
6427 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6428
6429         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6430         (createUndo): ditto
6431         (textUndoOrRedo): comment out a currently unused var.
6432
6433         * paragraph.h (NO_NEXT): enable NO_NEXT
6434
6435         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6436
6437         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6438
6439         * exporter.C (Export): adjust for removeAutoInsets removal.
6440
6441         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6442
6443         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6444
6445         * BufferView.[Ch] (removeAutoInsets): delete function
6446
6447 2003-05-22  Angus Leeming  <leeming@lyx.org>
6448
6449         * latexrunparams.h: add a free_spacing variable.
6450
6451         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6452         to pass moving_arg, as the data is stored in runparams.fragile.
6453
6454         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6455         to Inset::latexOptional or to simpleTeXOnePar.
6456
6457         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6458         free_spacing arg to Inset::latexOptional.
6459
6460         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6461         free_spacing arg.
6462
6463 2003-05-22  Angus Leeming  <leeming@lyx.org>
6464
6465         * latexrunparams.h: add fragile and use_babel variables.
6466
6467         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6468         * buffer.C (makeLaTeXFile): store this returned value in
6469         runparams.use_babel, thus passing it to the inset::latex methods.
6470
6471         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6472         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6473
6474         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6475         longer has a fragile arg, as it is stored in runparams.fragile.
6476
6477         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6478         moving_arg parameter as the data is stored in runparams.fragile.
6479
6480         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6481         a fragile parameter as the data is stored in runparams.fragile.
6482
6483 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6484
6485         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6486
6487 2003-05-22  Angus Leeming  <leeming@lyx.org>
6488
6489         * latexrunparams.h: add a 'bool nice' which defaults to false.
6490
6491         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6492         now encapsulated within runparams.
6493
6494         * bufferlist.C (updateIncludedTeXfiles):
6495         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6496
6497 2003-05-22  Angus Leeming  <leeming@lyx.org>
6498
6499         * latexrunparams.h: new file containing struct LatexRunParams.
6500         * Makefile.am: add new file.
6501
6502         * LaTeX.[Ch] (c-tor, run):
6503         * buffer.[Ch] (makeLaTeXFile):
6504         * bufferlist.[Ch] (updateIncludedTeXfiles):
6505         * converter.C (convert, scanLog):
6506         * converter.[Ch] (runLaTeX):
6507         * exporter.C (Export):
6508         * paragraph.[Ch] (simpleTeXOnePar):
6509         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6510         * paragraph_funcs.[Ch] (latexParagraphs):
6511         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6512         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6513         pass around a LatexRunParams parameter.
6514
6515 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6516
6517         * paragraph.[Ch]: remove unused constructor
6518
6519         * ParagraphList.C (erase): new function, taking two iterators
6520
6521 2003-05-22  André Pönitz  <poenitz@gmx.net>
6522
6523         * undo_funcs.C: remove duplicated code
6524
6525         * iterator.[Ch]: operator=
6526
6527 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6528
6529         * tabular.C (SetMultiColumn): ws changes
6530
6531         * rowpainter.C (paintFirst): get rid of a ->previous
6532
6533         * lyx_cb.C (getPossibleLabel): parlist simplification
6534
6535         * BufferView.C (ChangeInsets): simplify slightly.
6536
6537 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6538
6539         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6540         * lfuns.h: new LFUN_SPACE
6541         * lyxfunc.C: protected space has a new lfun
6542         * paragraph_funcs.C: read new space insets
6543         * text3.C:
6544         * factory.C: handle new space insets
6545
6546 2003-05-22  André Pönitz  <poenitz@gmx.net>
6547
6548         * BufferView.C:
6549         * BufferView_pimpl.C:
6550         * buffer.[Ch]:
6551         * lyxfunc.C:
6552         * undo_funcs.C: return a ParIterator from getParFromID.
6553
6554         * iterators.[Ch]: add two const's
6555
6556 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6557
6558         * toc.C (getTocList): adjust
6559
6560         * iterators.[Ch]: rework for parlist
6561
6562         * buffer.C (par_iterator_begin): adjust
6563         (par_iterator_end): adjust
6564
6565         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6566
6567         * BufferView.C (removeAutoInsets): adjust
6568         (ChangeInsets): adjust
6569
6570 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6571
6572         * text.C (top_y): fix bug 1110
6573
6574 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6575
6576         * errorlist.[Ch]: added
6577         * buffer.C:
6578         * BufferView.[Ch]:
6579         * BufferView_pimpl.C:
6580         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6581         instead
6582
6583 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6584
6585         * Makefile.am: ensure that lyx is relinked upon changes to the
6586         various "convenience" libs.
6587
6588 2003-05-20  Angus Leeming  <leeming@lyx.org>
6589
6590         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6591         files are compiled in alphabetical order again.
6592
6593         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6594
6595 2003-05-19  Angus Leeming  <leeming@lyx.org>
6596
6597         * gettext.[Ch]: remove "char const * _(char const *)".
6598
6599 2003-05-19  André Pönitz  <poenitz@gmx.net>
6600
6601         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6602
6603         * Makefile.am:
6604         * BufferView.C:
6605         * DepTable.h:
6606         * LaTeXFeatures.C:
6607         * buffer.C:
6608         * lyxfont.C:
6609         * lyxlex.h:
6610         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6611
6612 2003-05-19  André Pönitz  <poenitz@gmx.net>
6613
6614         * buffer.C:
6615         * lyxlayout.[Ch]:
6616         * lyxtextclass.[Ch]:
6617         * paragraph.C:
6618         * paragraph_funcs.[Ch]:
6619         * text2.C:
6620         * text3.C: more insetenv work
6621
6622 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6623
6624         * ParagraphParameters.C (params2string): small bug fixed
6625
6626 2003-05-16  André Pönitz  <poenitz@gmx.net>
6627
6628         * debug.C:
6629         * bufferview_funcs.C: patch from Kornel Benko to prevent
6630           crash when _(...) is called twice in a statement
6631
6632 2003-05-16  André Pönitz  <poenitz@gmx.net>
6633
6634         * BufferView.C:
6635         * lyxfunc.C:
6636         * text.C:
6637         * text2.C:
6638         * text3.C:
6639         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6640
6641 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6642
6643         * lyx_main.C (init): remove spurious static_cast
6644
6645 2003-05-14  André Pönitz  <poenitz@gmx.net>
6646
6647         * BufferView.C: fix format string
6648
6649 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6650
6651         * BufferView.[Ch] (insertErrors): removed
6652         * BufferView.[Ch] (showErrorList): added
6653         * buffer.C (runChkTeX):
6654         * converter.C (scanLog): call showErrorList instead of inserterrors
6655
6656 2003-05-13  André Pönitz  <poenitz@gmx.net>
6657
6658         * BufferView_pimpl.C:
6659         * buffer.C:
6660         * bufferview_func.C:
6661         * MenuBackend.C:
6662         * lyxfunc.C:
6663         * lyxrc.C:
6664         * tex-accent.C:
6665         * text3.C:
6666         * toc.C:
6667         * tabular_funcs.h: tostr() from its own header
6668
6669         * ParagraphParameters.C:
6670         * ToolbarBackend.C:
6671         * bufferparams.C:
6672         * format.C:
6673         * lyxlex_pimpl.C:
6674         * text3.C: STRCONV()
6675
6676 2003-05-12  André Pönitz  <poenitz@gmx.net>
6677
6678         * BufferView.C:
6679         * BufferView_pimpl.C:
6680         * CutAndPaste.C:
6681         * LaTeX.C:
6682         * LaTeXFeatures.C:
6683         * ParagraphParameters.C:
6684         * buffer.C:
6685         * bufferlist.C:
6686         * bufferparams.C:
6687         * bufferview_funcs.C:
6688         * converter.C:
6689         * counters.C:
6690         * debug.C:
6691         * exporter.C:
6692         * format.C:
6693         * importer.C:
6694         * lyx_cb.C:
6695         * lyx_main.C:
6696         * lyxfont.C:
6697         * lyxfunc.C:
6698         * lyxvc.C:
6699         * paragraph.C:
6700         * paragraph_funcs.C:
6701         * tabular.C:
6702         * tabular_funcs.C:
6703         * text2.C:
6704         * text3.C:  boost::format -> bformat  all over the place
6705
6706
6707 2003-05-09  André Pönitz  <poenitz@gmx.net>
6708
6709         * LColor.[Ch]: Pimpl the #include <map> away
6710
6711 2003-05-09  John Levon  <levon@movementarian.org>
6712
6713         * bufferlist.C: never remove emergency saves
6714
6715 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6716
6717         * Makefile.am: better lib building
6718
6719 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6720
6721         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6722         instead.
6723         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6724         (simpleTeXSpecialChars): adjust
6725         (simpleTeXSpecialChars): adjust
6726         * paragraph.C (simpleTeXOnePar): adjust
6727         * buffer.C (makeLaTeXFile): adjust
6728
6729         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6730
6731         * text2.C (changeDepth): parlist cleanup
6732         (getColumnNearX): ditto
6733
6734         * rowpainter.C (getLabelFont): parlist cleanup
6735
6736         * bufferlist.C (newFile): parlist cleanup
6737
6738         * CutAndPaste.C (eraseSelection): parlist cleanup
6739
6740         * BufferView_pimpl.C (trackChanges): parlist cleanup
6741         (dispatch): ditto
6742
6743         * BufferView.C (lockInset): parlist cleanup.
6744         (ChangeInsets): ditto
6745
6746 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6747
6748         * CutAndPaste.h: Update file header.
6749
6750         * CutAndPaste.C: Update file header.
6751         Store the parts cut out of the Document in a limited_stack.
6752         (copySelection): adjust
6753         (pasteSelection): new function, takes the index in the limited stack.
6754         (nrOfParagraphs): adjust
6755         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6756         simplify error inset insertion.
6757         (checkPastePossible): adjust
6758
6759 2003-05-06  John Levon  <levon@movementarian.org>
6760
6761         * text2.C: don't cast wrap inset to float
6762
6763 2003-05-05  André Pönitz  <poenitz@gmx.net>
6764
6765         * iterator.C:
6766         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6767
6768         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6769           few naked Paragraph *.
6770
6771 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6772
6773         * bufferparams.C: Output warning if a document with missing
6774         TeX document class is loaded
6775         * exporter.C: Disable TeX exports if the document class is missing
6776         * lyxtextclass.C:
6777         * lyxtextclass.h:
6778         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6779         isTeXClassAvailable()
6780
6781 2003-05-03  John Levon  <levon@movementarian.org>
6782
6783         * BufferView.h:
6784         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6785         explicit cursor show/hide
6786
6787         * BufferView_pimpl.h:
6788         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6789         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6790
6791         * lyxfunc.C: hide cursor before dispatching.
6792
6793         * lyx_cb.C:
6794         * lyxfind.C:
6795         * text.C:
6796         * text3.C: remove explicit cursor hides
6797
6798 2003-05-02  André Pönitz  <poenitz@gmx.net>
6799
6800         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6801
6802         * undo_funcs.C:
6803         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6804           linked lists
6805
6806         * text2.C: tiny whitespace
6807
6808 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6809
6810         * undo_funcs.C: almost only ws changes.
6811
6812         * ParagraphList.C (splice): just return if pl is empty.
6813
6814 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6815
6816         * ParagraphList.C (splice): new function.
6817
6818         * CutAndPaste.C (pasteSelection): use it
6819
6820 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6821
6822         * CutAndPaste.C (pasteSelection): remove the last next and
6823         previous from this file.
6824
6825 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6826
6827         * CutAndPaste.C (pasteSelection): more clean up, user proper
6828         ParagraphList functions for pasteing.
6829
6830         * ParagraphList.C (insert): new function, three arg insert
6831
6832 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6833
6834         * ParagraphList.C (insert): new function, three arg insert
6835
6836         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6837         not on paragraphs.
6838
6839 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6840
6841         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6842
6843 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6846
6847 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6848
6849         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6850         (copySelection): clean up a bit.
6851         (pasteSelection): use make_pair
6852
6853         * ParagraphList.C (ParagraphList): implement copy constructor
6854         (operator=): implement, base on copy constructor.
6855         (assign): new func
6856
6857         * paragraph.C (erase): return a bool
6858
6859         * paragraph_pimpl.C (erasePos): remove function, move contents...
6860         (erase): ... here. Return a bool.
6861         (erase): call erase instead of erasePos.
6862
6863 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6864
6865         * ParagraphList.h: define PitPosPair
6866         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6867         ParagraphList, fix a bug on pasting multiple pars
6868         * text2.C: change interface to C&P
6869
6870 2003-04-30  André Pönitz  <poenitz@gmx.net>
6871
6872         * undo_func.C: revert part of yesterday's patch 2
6873
6874 2003-04-30  John Levon  <levon@movementarian.org>
6875
6876         * LColor.C: s/tabular/table/
6877
6878 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6879
6880         * text3.C (dispatch): do not convert iterator -> pointer
6881         * undo_funcs.C (setCursorParUndo): ditto
6882         * text_funcs.C (transposeChars): ditto
6883
6884         * text2.C (setLayout): ws changes only
6885
6886         * text.C (breakParagraph): do not convert iterator -> pointer
6887         (insertChar): ditto
6888         (acceptChange): ditto
6889         (rejectChange): ditto
6890         (changeCase): ditto
6891         (Delete): ditto
6892         (backspace): ditto
6893
6894         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6895         pointer
6896
6897 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6898
6899         * text3.C (gotoInset): YABG (yet another bad getChar)
6900
6901 2003-04-29  André Pönitz  <poenitz@gmx.net>
6902
6903         * paragraph.h: make operator= private unimplemented as long as
6904           it is unusable
6905
6906         * ParagraphList.C: whitespace
6907
6908         * paragraph.[Ch]:
6909         * paragraph_pimpl.[Ch]:
6910         * paragraph_funcs.C:
6911         * CutAndPaste.C:
6912         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6913
6914         * text2.C:
6915           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6916
6917 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6918
6919         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6920         * paragraph.[Ch] (erase):
6921         * paragraph_pimpl.[Ch] (erase): change return type and value
6922         * text2.C (cutSelection): some rework
6923
6924 2003-04-28  John Levon  <levon@movementarian.org>
6925
6926         * bufferlist.C: changes for unsaved changes dialog
6927
6928 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6929
6930         * bufferlist.C (newFile): set language (messages_) for new
6931         documents also.
6932
6933         * buffer.C (readFile): ws changes only.
6934
6935 2003-04-28  André Pönitz  <poenitz@gmx.net>
6936
6937         * undo_funcs.C:
6938         * lyxfunc.C:
6939         * buffer.[Ch]:
6940         * BufferView_pimpl.C:
6941         * BufferView.C: getParFromID related ParagraphList::iterator changes
6942
6943 2003-04-28  André Pönitz  <poenitz@gmx.net>
6944
6945         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6946           Changes
6947
6948 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6949
6950         * messages.C: remove one more localedir class variable.
6951
6952 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6953
6954         * messages.C (getLocaleDir): singleton generation function
6955         (Pimpl): use it.
6956         (Messages): add a default constructor.
6957
6958         * main.C (main): do not setup localedir here, do not call
6959         gettext_init.
6960
6961         * gettext.C (_): use it.
6962         (gettext_init): delete funciton
6963
6964 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6965
6966         * gettext.C (getLyXMessages): new singleton generating function.
6967
6968         * buffer.C (updateDocLang): adjust
6969
6970         * Makefile.am (messages.o): add target
6971         (main.o): remove target
6972
6973 2003-04-27  John Levon  <levon@movementarian.org>
6974
6975         * bufferlist.C:
6976         * lyx_cb.C:
6977         * lyxfunc.C:
6978         * lyxvc.C: specify cancel button in Alert::prompt
6979
6980 2003-04-26  John Levon  <levon@movementarian.org>
6981
6982         * text3.C:
6983         * lyxfunc.C:
6984         * lfuns.h:
6985         * LyXAction.C: add LFUN_INSET_SETTINGS
6986
6987         * lyxfunc.C: don't enable tabular-feature when there's
6988         just any locking inset
6989
6990 2003-04-26  John Levon  <levon@movementarian.org>
6991
6992         * bufferlist.C: re-add Cancel to buffer close question
6993
6994         * lyxfunc.C: fix import UI a bit
6995
6996 2003-04-25  John Levon  <levon@movementarian.org>
6997
6998         * gettext.C: remove the broken asserts for now
6999
7000 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7001
7002         * messages.C: make case where setlocale cannot comply work better.
7003
7004         * buffer.C (updateDocLang): new function
7005         (changeLanguage): use it
7006         (readFile): use it
7007
7008         * text2.C (setCounter): use B_ a bit.
7009
7010         * lyxlayout.C (Read): be sure to trim the label strings.
7011
7012         * messages.C (Messages): fix typo in comment
7013
7014         * buffer.C (readFile): set message_ after file is loaded.
7015         (makeDocBookFile): remove double return
7016         (changeLanguage): reset message_ upon language change.
7017         (B_): new func, use this to get translated buffer strings.
7018
7019         * main.C: add myself and Jean Marc as authors.
7020
7021 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7022
7023         * messages.[hC]: pimplify Messages, and three different pimpls to be
7024         used in different circumstances.
7025
7026         * gettext.[Ch]: change for use with new message code.
7027
7028 2003-04-24 André Pönitz <poenitz@gmx.net>
7029
7030         * factory.C: support for eqref
7031
7032 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7033
7034         * messages.[Ch]: add missing char
7035
7036         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7037
7038         * messages.[Ch]: New files
7039
7040 2003-04-18  John Levon  <levon@movementarian.org>
7041
7042         * BufferView.h:
7043         * BufferView.C:
7044         * BufferView_pimpl.C:
7045         * lfuns.h:
7046         * LyXAction.C:
7047         * lyxtext.h:
7048         * text2.C: remove layout-copy/paste (bug 778)
7049
7050 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7051
7052         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7053
7054 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7055
7056         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7057         if they succeed. Act accordingly.
7058
7059 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7060
7061         * text2.C (setCharFont): adjust
7062         (setCounter): adjust
7063         (insertStringAsLines): adjust
7064
7065         * text.C (leftMargin): adjust
7066         (setHeightOfRow): adjust
7067
7068         * rowpainter.C (paintFirst): adjust
7069         (paintLast): adjust
7070
7071         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7072         (outerHook): ditto
7073         (isFirstInSequence): ditto
7074         (getEndLabel): ditto
7075         (outerFont): adjust
7076
7077         * paragraph.C (getParLanguage): comment out some hard stuff.
7078
7079         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7080         (sgmlError): ditto
7081         (simpleDocBookOnePar): ditto
7082         (makeDocBookFile): use ParagraphList::iterator
7083
7084         * CutAndPaste.C (pasteSelection): adjust
7085
7086 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7087
7088         * text2.C (getFont): adjust
7089         (getLayoutFont): adjust
7090         (getLabelFont): adjust
7091
7092         * paragraph_funcs.C (TeXOnePar): adjust
7093
7094         * buffer.C (simpleLinuxDocOnePar): adjust
7095         (simpleDocBookOnePar): adjust
7096
7097         * CutAndPaste.C (pasteSelection): adjust
7098
7099         * BufferView.C (getEncoding): adjust
7100
7101         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7102
7103 2003-04-16  John Levon  <levon@movementarian.org>
7104
7105         * lyxfind.C: use parlist stuff for search/changes
7106
7107 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7108
7109         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7110
7111         * text2.C (deleteEmptyParagraphMechanism): adjust
7112
7113         * text2.[Ch] (ownerParagraph): delete func (both of them
7114
7115 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7116
7117         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7118
7119 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7120
7121         * ParagraphList.C: prepare for NO_NEXT
7122
7123 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7124
7125         * text2.C (getFont): adjust
7126         (getLayoutFont): adjust
7127         (getLabelFont): adjust
7128
7129         * paragraph.C (getFont): adjust
7130         (getLabelFont): adjust
7131         (getLayoutFont): adjust
7132
7133         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7134
7135 2003-04-15  John Levon  <levon@movementarian.org>
7136
7137         From Angus Leeming
7138
7139         * lyx_main.C: handle Include in .ui files
7140
7141 2003-04-15  John Levon  <levon@movementarian.org>
7142
7143         * MenuBackend.C: make the doc files length shorter
7144
7145         * ToolbarBackend.h:
7146         * ToolbarBackend.C: handle toolbar placement flags,
7147         Minibuffer
7148
7149 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7150
7151         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7152         adjust
7153
7154         * paragraph_funcs.C (TeXOnePar): adjust
7155
7156         * paragraph.C (getLabelFont): add outerfont arg, adjust
7157         (getLayoutFont): ditto
7158         (simpleTeXOnePar): adjust
7159
7160         * paragraph_pimpl.C (realizeFont): delete func
7161
7162 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7163
7164         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7165         row argument, constify cur argument.
7166
7167 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7168
7169         * text2.C (getFont): adjust
7170         (getLayoutFont): adjust
7171         (getLabelFont): adjust
7172
7173         * paragraph_funcs.C (TeXOnePar): adjust
7174         (outerFont): new func...
7175         (realizeFont): ...moved out from here, changed this to facilitate
7176         transition
7177
7178         * paragraph.C (getFont): take outerfont as arg, adjust
7179         (simpleTeXOnePar): add outerfont arg, adjust
7180
7181         * buffer.C (simpleLinuxDocOnePar): adjust
7182         (simpleDocBookOnePar): adjust
7183
7184         * CutAndPaste.C (pasteSelection): adjust
7185
7186         * BufferView.C (getEncoding): adjust
7187
7188 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7189
7190         * text2.C (setCharFont): adjust
7191         (setCounter): adjust
7192
7193         * text.C (leftMargin): adjust
7194         (setHeightOfRow): adjust
7195
7196         * rowpainter.C (paintFirst): adjust
7197         (paintLast): adjust
7198
7199         * paragraph_pimpl.C (realizeFont): adjust
7200
7201         * paragraph.C (isFirstInSequence): move from here...
7202         * paragraph_funcs.C (isFirstInSequence): ...to here
7203
7204         * paragraph.C (outerHook): move from here...
7205         * paragraph_funcs.C (outerHook): ...to here
7206
7207         * paragraph.C (depthHook): move from here...
7208         * paragraph_funcs.C (depthHook): ...to here
7209
7210         * paragraph.C (getEndLabel): move from here...
7211         * paragraph_funcs.C (getEndLabel): ...to here
7212
7213         * text2.C (realizeFont): move from here...
7214         * paragraph_funcs.C (realizeFont): ...to here
7215
7216 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7217
7218         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7219
7220 2003-04-14  Angus Leeming  <leeming@lyx.org>
7221
7222         * LColor.[Ch]: scrap LColor mathcursor.
7223
7224 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7225
7226         * lyxlex.[Ch] (text): delete function
7227         * trans.C (Load): adjust
7228         * paragraph_funcs.C (readParToken): adjust
7229
7230 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7231
7232         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7233         vector<char> instead of a char[].
7234
7235         * lyxlex_pimpl.C (getString): adjust
7236         (next): adjust
7237         (lex): use getString
7238         (eatLine): adjust
7239         (nextToken): adjust
7240
7241         * lyxlex.C (text): use pimpl_->getString()
7242         (getBool): ditto
7243         (findToken): ditto
7244
7245 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7246
7247         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7248         (makeFontEntriesLayoutSpecific): temp var for par.size()
7249         (setLayout): temp var for ownerParagraphs().end()
7250         (fullRebreak): temp var for rows().end()
7251         (selectionAsString): temp var for boost::next(startpit), realize
7252         that the while really is a regular for loop.
7253         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7254         setCursor in one place.
7255         (setParagraph): temp vr for ownerParagraphs().end()
7256         (updateCounters): make the while loop a for loop
7257         (cutSelection): temp var for ownerParagraphs().end()
7258         (updateInset): make the do {} while() a regular for loop
7259         (getCursorX): use temp vars
7260         (setCurrentFont): use temp vars
7261         (getColumnNearX): use temp vars
7262
7263 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7264
7265         * text.C (transformChar): use temp var for getChar
7266         (computeBidiTables): use temp var for row->par()
7267         (fill): move temp vars for row->par() and pit->layout() earlier in
7268         the function.
7269         (labelFill): use temp var for row->par()
7270         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7271         asc and desc, realize that pit never changes and that firstpit is
7272         just a duplicate and not needed. Exchange rit->par() with pit in a
7273         lot of places.
7274         (breakAgain): use a temp var for boost::next(rit)
7275         (breakAgainOneRow): ditto
7276         (breakParagraph): use a temp var for rows().begin()
7277         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7278         (cursorRightOneWord): use temp var for cursor.par() and
7279         cursor.pos(), remove usage of tmpcursor.
7280         (cursorLeftOneWord): use temp var for cursor.par() and
7281         cursor.pos() only set cur at end of function.
7282
7283 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7284
7285         * text.C, text2.C: exchange all usage of Paragraph::next with
7286         boost::next(ParagraphList::iterator)
7287
7288         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7289
7290         * text2.C (cursorTop): simplify implementation
7291         (cursorBottom): ditto
7292         (setParagraph): use ParagraphList::iterator
7293         (setCurrentFont): adjust
7294         (getColumnNearX): adjust
7295         (cursorRight): adjust
7296         (cursorLeft): remove usage of Paragraph::previous
7297         (cursorUpParagraph): ditto
7298         (deleteEmptyParagraphMechanism): slight cleanup
7299
7300         * text.C (isBoundary): take a Paragraph const & instead of a
7301         pointer as arg.
7302         (addressBreakPoint): ditto
7303         (leftMargin): remove usage of Paragraph::previous.
7304         (setHeightOfRow): ditto
7305         (cursorLeftOneWord): ditto
7306         (selectNextWordToSpellcheck): ditto
7307         (Delete): ditto
7308         (backspace): ditto
7309         (breakParagraph): remove one usage of Paragraph::next
7310         (redoParagraph): ditto
7311         (acceptChange): ditto
7312         (insertChar): adjust
7313         (rowBreakPoint): adjust
7314
7315         * bufferview_funcs.C (toggleAndShow): adjust
7316
7317 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7318
7319         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7320         methods to access it.
7321         * lyxtext.h:
7322         * text.C: Added updateRowPositions to compute all row positions.
7323         Make top_y and getRowNearY() to use the cached y position
7324
7325 2003-04-11  John Levon  <levon@movementarian.org>
7326
7327         * text.C (rowBreakPoint): reintroduce the labelEnd
7328         checks, code copied from the row fill stuff. Deep voodoo.
7329
7330         * text.C (fill): add a comment and debugging for the
7331         next poor soul.
7332
7333 2003-04-11  John Levon  <levon@movementarian.org>
7334
7335         * text.C: make sure fullrow insets get wrapped to the next line,
7336         even when they're in a manual label
7337
7338 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7339
7340         * text2.C (insertParagraph): make it take ParagraphList::iterator
7341         as arg.
7342         (setLayout): make it return ParagraphList::iterator
7343         (redoParagraphs): ditto
7344         (setCounter): ditto
7345         (checkParagraph): ditto
7346
7347         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7348
7349         * text2.C: adjust several funcs.
7350         (realizeFont): take a ParagraphList::iterator as arg.
7351         (getLayoutFont): ditto
7352         (getLabelFont): ditto
7353         (setCharFont): ditto
7354
7355         * text.C: adjust several funcs.
7356
7357 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7358
7359         * text.C (selectNextWordToSpellcheck): don't accidentally
7360         skip insets
7361
7362 2003-04-10  John Levon  <levon@movementarian.org>
7363
7364         * ToolbarBackend.C (getIcon): special handling for
7365         LFUN_MATH_DELIM
7366
7367 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7368
7369         * text2.C (cursorRight): a getChar assert fixed
7370
7371 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7372
7373         * text2.C (getFont): change to take a ParagraphList::iterator
7374         instead of Paragraph*
7375         Adjust several functions.
7376
7377         * text.C (transformChar): change to take a ParagraphList::iterator
7378         instead of Paragraph*
7379         (singleWidth): ditto
7380         Adjust several functions.
7381
7382         * rowpainter.C: adjust several functions
7383         * rowpainter.h:store a ParagraphList::iterator and not a
7384         Paragraph&.
7385
7386
7387 2003-04-09  John Levon  <levon@movementarian.org>
7388
7389         * lyxfunc.C:
7390         * lfuns.h:
7391         * LyXAction.h:
7392         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7393         and the "help" bits as well
7394
7395 2003-04-09  John Levon  <levon@movementarian.org>
7396
7397         * ToolbarBackend.h:
7398         * ToolbarBackend.C: allow multiple toolbars
7399
7400 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7401
7402         * undo_funcs.C (setCursorParUndo): adjust
7403
7404         * text_funcs.C (transposeChars): adjust
7405
7406         * text3.C (gotoNextInset): adjust
7407         (dispatch): adjust
7408
7409         * text2.C (setLayout): adjust
7410         (changeDepth): adjust
7411         (setFont): adjust
7412         (redoParagraphs): adjust
7413         (selectionAsString): adjust
7414         (setParagraph): adjust
7415         (insertInset): adjust
7416         (cutSelection): adjust
7417         (copySelection): adjust
7418         (pasteSelection): adjust
7419         (insertStringAsLines): adjust
7420         (updateInset): adjust
7421         (setCursor): change to take a ParagraphList::iterator parameter
7422         (setCursorIntern): change to take a ParagraphList::iterator parameter
7423         (setCurrentFont): adjust
7424         (cursorLeft): adjust
7425         (cursorRight): adjust
7426         (deleteEmptyParagraphMechanism): adjust
7427
7428         * text.C (breakParagraph): adjust
7429         (insertChar): adjust
7430         (acceptChange): adjust
7431         (rejectChange): adjust
7432         (selectNextWordToSpellcheck): adjust
7433         (changeCase): adjust
7434         (Delete): adjust
7435         (backspace): adjust
7436
7437         * lyxfind.C (SearchForward): adjust
7438         (SearchBackward): adjust
7439         (nextChange): adjust
7440
7441         * lyxcursor.C (par): adjust
7442
7443         * lyxcursor.h: store a ParagraphList::iterator instead of a
7444         Paragraph*
7445
7446         * lyx_cb.C (getPossibleLabel): adjust
7447
7448         * bufferview_funcs.C (toggleAndShow): adjust
7449
7450         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7451         (dispatch): adjust
7452
7453         * BufferView.C (removeAutoInsets): adjust
7454         (lockedInsetStoreUndo): adjust
7455
7456 2003-04-09  John Levon  <levon@movementarian.org>
7457
7458         * ToolbarBackend.C: try icon without argument
7459         if with argument fails
7460
7461 2003-04-08  John Levon  <levon@movementarian.org>
7462
7463         * ToolbarBackend.h:
7464         * ToolbarBackend.C: add getIcon(), handle tooltip,
7465         and change from "Icon" to "Item".
7466
7467 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7468
7469         * BufferView.C (lockInset): another bad getchar crunched
7470
7471 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7472
7473         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7474         again)
7475
7476 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7477
7478         * lyxfind.C (searchForward, searchBackwards): bug 782
7479
7480 2003-04-07  John Levon  <levon@movementarian.org>
7481
7482         * paragraph.C: remove dead comment
7483
7484         * text.C: remove troublesome depth-fiddling code
7485         in leftMargin() and rightMargin() (bug 1017)
7486
7487         * text.C: fix breaking of rows in nested lists
7488         (bug 1004)
7489
7490         * text2.C (updateCounters): fix up depth values
7491         (bug 1013)
7492
7493 2003-04-07  John Levon  <levon@movementarian.org>
7494
7495         * BufferView_pimpl.C: clear message when doc finishes resizing,
7496         and after a mouse event
7497
7498         * lyxfunc.C: clear message after exiting inset
7499
7500 2003-04-07  John Levon  <levon@movementarian.org>
7501
7502         * bufferview_funcs.C: show math status not outside
7503         status in the statusbar
7504
7505 2003-04-07  John Levon  <levon@movementarian.org>
7506
7507         * lyxfunc.C: note status changed after a depth change
7508
7509 2003-04-04  Angus Leeming  <leeming@lyx.org>
7510
7511         * LaTeX.h: move AuxInfo operator==, != out of line.
7512         Remove LaTeX virtual destructor; nothing derives from it.
7513         Move operator()() out of public area and rename it startscript().
7514         Change protected for private.
7515
7516 2003-04-04  Angus Leeming  <leeming@lyx.org>
7517
7518         * lyxfunc.C:
7519         * text2.C: remove unneeded #includes.
7520
7521 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7522
7523         * text2.C (dEPM): fix the heigth of the next row
7524
7525 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7526
7527         * text.C: squashed an invalid getChar requester + some ws changes
7528
7529 2003-04-03  John Levon  <levon@movementarian.org>
7530
7531         * bufferview_funcs.h:
7532         * bufferview_funcs.C:
7533         * lyxfunc.C:
7534         * lyxtext.h:
7535         * text2.C: make getStatus work for the env depth lfuns
7536
7537 2003-04-03  John Levon  <levon@movementarian.org>
7538
7539         * bufferview_funcs.h:
7540         * bufferview_funcs.C:
7541         * lyxfunc.C:
7542         * lyxtext.h:
7543         * text2.C: parlistize decDepth(), by merging it with incDepth()
7544
7545 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7546
7547         * lyxrow.h: store a ParagraphList::iterator instead of a
7548         Paragraph* and adjust other class functions to suit.
7549
7550         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7551         above.
7552
7553 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7554
7555         * text2.C (setCursor): do not anchor to cursor row for the time being
7556
7557 2003-04-02  John Levon  <levon@movementarian.org>
7558
7559         * LyXAction.C:
7560         * lfuns.h:
7561         * lyx_main.C:
7562         * lyxtext.h:
7563         * text.C:
7564         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7565
7566 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7567
7568         * paragraph.h: make ParagraphList and ParagraphList::iterator
7569         friends of Paragraph.
7570
7571         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7572
7573         * ParagraphList.C: Use the private next_ and previous_ from
7574         Paragraph.
7575
7576 2003-04-01  John Levon  <levon@movementarian.org>
7577
7578         * ToolbarBackend.h:
7579         * ToolbarBackend.C:
7580         * Makefile.am: rename, remove defaults gunk
7581
7582         * MenuBackend.h:
7583         * MenuBackend.C: remove defaults gunk
7584
7585         * Languages.h:
7586         * Languages.C: remove defaults gunk
7587
7588         * lyx_main.h:
7589         * lyx_main.C: error out if files couldn't be found.
7590
7591 2003-04-02  John Levon  <levon@movementarian.org>
7592
7593         * text2.C: make incDepth() use parlist
7594
7595 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7596
7597         * undo_funcs.C (firstUndoParagraph): adjust
7598
7599         * text3.C (gotoInset): adjust
7600         (dispatch): adjust, and rewrite loop.
7601
7602         * text2.C (init): adjust, and rewrite loop.
7603         (redoParagraphs): adjust
7604         (updateInset): adjust, and rewrite loop.
7605         (deleteEmptyParagraphMechanism): adjust
7606
7607         * tabular.C (LyXTabular): adjust
7608         (SetMultiColumn): adjust
7609         (TeXRow): adjust
7610
7611         * lyxtext.[Ch] (ownerParagraph): delete function
7612         (ownerParagraphs): new function returns a ParagraphList.
7613
7614         * BufferView.C (removeAutoInsets): adjust
7615         (insertErrors): adjust
7616         (setCursorFromRow): adjust
7617
7618 2003-04-01  Angus Leeming  <leeming@lyx.org>
7619
7620         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7621         in the frontends.
7622
7623 2003-04-02  John Levon  <levon@movementarian.org>
7624
7625         * lyxtext.h:
7626         * text.C:
7627         * Makefile.am:
7628         * text_funcs.h:
7629         * text_funcs.C: make transposeChars a free function
7630
7631         * lyxrow_funcs.C: remove wrong comment
7632
7633 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7634
7635         * lyxtext.h: adjust
7636         * rowpainter.C: adjust
7637         * text.C: adjust
7638         * text2.C: adjust
7639         * text3.C: adjust
7640
7641         * lyxrow_funcs. [Ch]: new files
7642
7643         * lyxrow.[Ch]: remove next and previous pointers
7644         (next,previous): remove accessor functions
7645         (isParEnd): move to lyxrow_funcs
7646         (lastPos): move to lyxrow_funcs
7647         (nextRowIsAllInset): move to lyxrow_funcs
7648         (lastPrintablePos): move to lyxrow_funcs
7649         (numberOfSeparators): move to lyxrow_funcs
7650         (numberOfHfills): move to lyxrow_funcs
7651         (numberOfLabelHfills): move to lyxrow_funcs
7652         (hfillExpansion): move to lyxrow_funcs
7653
7654         * lyxfunc.C: adjust
7655
7656         * bufferview_funcs.C (toggleAndShow): adjust
7657
7658         * RowList.h: Remove class RowList from file leave just a
7659         std::list<Row>.
7660
7661         * RowList.C: delete file
7662
7663         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7664         and lyxrow_funcs.h
7665
7666 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7667
7668         * text3.C (cursorPrevious): adjust
7669         (cursorNext): adjust
7670         (dispatch): adjust
7671
7672         * text2.C (redoHeightOfParagraph): adjust
7673         (redoDrawingOfParagraph): adjust
7674         (setCursor): adjust
7675
7676         * text.C (breakParagraph): adjust
7677         (insertChar): adjust
7678         (backspace): adjust
7679
7680         * rowpainter.C (RowPainter): adjust
7681         (leftMargin): simplify and adjust
7682         (most rowpainter functions): adjust.
7683
7684         * rowpainter.h: store the row as RowList::iterator not as Row*
7685
7686         * lyxcursor.C (row): taka RowList::iterator as arg
7687         (irow): ditto
7688
7689         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7690         of Row*.
7691
7692 2003-04-01  Angus Leeming  <leeming@lyx.org>
7693
7694         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7695         stuff like bool Bool.
7696
7697 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7698
7699         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7700         rewrite a loop
7701
7702 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7703
7704         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7705         RowList::iterator.
7706
7707         * lyxtext.h (rows): drop one version and leve a const variant that
7708         returns a RowList::iterator.
7709
7710 2003-03-31  Angus Leeming  <leeming@lyx.org>
7711
7712         * text.C (fill): ensure that the signature is the same as that in the
7713         header file.
7714
7715 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7716
7717         * text2.C (redoParagraphs): adjust
7718         (updateCounters): adjust
7719         (checkParagraph): adjust
7720         (getColumnNearX): adjust and reformat a bit.
7721
7722         * text.C (top_y): adjust
7723         (workWidth): adjust
7724         (leftMargin): adjust
7725         (prepareToPrint): adjust
7726         (getRow): adjust
7727         (getRowNearY): adjust
7728
7729         * lyxtext.h: make rowlist_ mutable.
7730
7731         * RowList.h: add const_iterator
7732         * RowList.C: adjust for RowList::const_iterator.
7733
7734         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7735         adjust.
7736
7737 2003-03-31  John Levon  <levon@movementarian.org>
7738
7739         * lyxrc.h:
7740         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7741
7742         * lyx_main.C: set default fonts from using lyx_gui funcs
7743
7744         * exporter.C: pdf_mode moved from lyxrc
7745
7746         * lyx_cb.C:
7747         * lyxfunc.C: changes from above
7748
7749 2003-03-31  John Levon  <levon@movementarian.org>
7750
7751         * lyx_main.C: fix to the last fix
7752
7753 2003-03-31  John Levon  <levon@movementarian.org>
7754
7755         * bufferlist.C: "Load original" -> "Load Original"
7756
7757         * converter.C:
7758         * exporter.C:
7759         * importer.C:
7760         * lyx_main.C:
7761         * format.C: more Alert cleanups
7762
7763 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7764
7765         * text2.C (removeParagraph): make it take a RowList::iterator as
7766         arg, adjust.
7767         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7768         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7769
7770         * text.C (anchor_row): make it take a RowList::iterator as arg,
7771         adjust.
7772         (computeBidiTables): make it take a const reference to Row instead
7773         of Row pointer, adjust.
7774         (leftMargin): make it take a RowList::iterator as arg, adjust.
7775         (rowBreakPoint): adjust
7776         (breakAgainOneRow): make it take a RowList::iterator as arg,
7777         adjust.
7778         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7779
7780         * bufferview_funcs.C (toggleAndShow): adjust
7781
7782 2003-03-30  John Levon  <levon@movementarian.org>
7783
7784         * Makefile.am:
7785         * BoostFormat.h:
7786         * boost-inst.C: moved to support
7787
7788         * several files: changes as a result
7789
7790 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7791
7792         * text2.C (LyXText): adjust.
7793         (init): adjust
7794         (removeRow): make it take a RowList::iterator as arg, adjust.
7795         (fullRebreak): adjust
7796         (deleteEmptyParagraphMechanism): adjust
7797         (clearPaint): adjust
7798         (postPaint): adjust
7799
7800         * text.C (top_y): adjust
7801         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7802         (breakAgain): make it take a RowList::iterator as arg, adjust.
7803         (breakParagraph): adjust
7804         (insertChar): adjust
7805         (backspace): adjust
7806
7807         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7808         need_break_row, and refresh_row.
7809
7810         * text3.C (dispatch): adjust
7811
7812         * text2.C (checkParagraph): adjust
7813         (setCursor): adjust
7814         (setCursorFromCoordinates): adjust
7815
7816         * text.C (top_y): adjust
7817         (workWidth): adjust
7818         (getRow): make it return a RowList::iterator, adjust
7819         (getRowNearY): make it return a RowList::iterator, adjust
7820
7821         * text2.C (init): adjust
7822         (insertRow): remove function
7823         (insertParagraph): adjust
7824         (redoParagraphs): adjust
7825         (fullRebreak): adjust
7826         (updateCounters): adjust
7827
7828         * text.C (top_y): rewrite to use RowList iterators.
7829         (top_y): adjust
7830         (setHeightOfRow): rewrite to sue RowList iterators.
7831         (appendParagraph): adjust
7832         (breakAgain): adjust
7833         (breakAgainOneRow): adjust
7834         (breakParagraph): adjust
7835         (getRow): adjust
7836         (getRowNearY): adjust, and remove commented code.
7837
7838         * lyxtext.h (firstRow): delete function
7839         (lastRow): delete function
7840         (rows): new function (const and non-const versions.)
7841         (insertRow): delete function
7842
7843         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7844
7845 2003-03-29  John Levon  <levon@movementarian.org>
7846
7847         * BufferView_pimpl.C: always update scrollbar top
7848         because pasting text when we're anchored could mean we
7849         miss an update altogether
7850
7851 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7852
7853         * text2.C (init): use rowlist_.end() and not 0.
7854         (insertRow): change to take a RowList::iterator as arg, adjust
7855         for this.
7856         (insertParagraph): change to take a RowList::iterator as arg,
7857         adjust for this.
7858         (redoParagraphs): remove some debug msgs.
7859
7860         * text.C (appendParagraph): change to take a RowList::iterator
7861         arg, adjust for this.
7862         (breakAgain): add an assert
7863         (breakAgainOneRow): ditto
7864
7865 2003-03-29  John Levon  <levon@movementarian.org>
7866
7867         * text2.C: do not clear selection after inc/decDepth
7868         (bug 550)
7869
7870 2003-03-29  John Levon  <levon@movementarian.org>
7871
7872         * BufferView.C:
7873         * buffer.C: fix broken strerrors according to Lars
7874
7875 2003-03-29  John Levon  <levon@movementarian.org>
7876
7877         * converters.C: more Alert cleanups
7878
7879 2003-03-29  John Levon  <levon@movementarian.org>
7880
7881         * bufferview_funcs.C: remove pointless Alert
7882
7883         * buffer.C: fix confusing error message when
7884         a template is chmoded 000
7885
7886 2003-03-29  John Levon  <levon@movementarian.org>
7887
7888         * BufferView.C:
7889         * BufferView.h:
7890         * BufferView_pimpl.C: Alert fixes
7891
7892         * Makefile.am:
7893         * tabular.C:
7894         * tabular-old.C: remove unused table compat reading
7895
7896 2003-03-29  John Levon  <levon@movementarian.org>
7897
7898         * BufferView.C:
7899         * buffer.C:
7900         * lyx_cb.h:
7901         * lyx_cb.C: more Alert cleanups
7902
7903         * lyxfunc.C: don't allow chktex if not latex document
7904
7905 2003-03-29  John Levon  <levon@movementarian.org>
7906
7907         * lyx_cb.C:
7908         * BufferView.C:
7909         * buffer.C: warnings pushed down from support/,
7910         kill err_alert
7911
7912 2003-03-29  John Levon  <levon@movementarian.org>
7913
7914         * lyxfunc.C: safety check for C-r (revert)
7915
7916 2003-03-29  John Levon  <levon@movementarian.org>
7917
7918         * bufferlist.h:
7919         * bufferlist.C: several UI fixes using Alert::prompt.
7920         Fix the pointless looping quit code. Fix stupid revert
7921         behaviour (bug 938)
7922
7923         * lyxvc.h:
7924         * lyxvc.C:
7925         * lyx_cb.C: use Alert::prompt
7926
7927         * lyx_main.C: remove a silly question
7928
7929         * lyxfunc.C: remove a couple of silly questions,
7930         use Alert::prompt
7931
7932 2003-03-28  John Levon  <levon@movementarian.org>
7933
7934         * text2.C: fix bug 974 (End on empty par)
7935
7936 2003-03-28  John Levon  <levon@movementarian.org>
7937
7938         * BufferView_pimpl.C:
7939         * LyXAction.C:
7940         * lfuns.h: remove do-nothing math greek lfuns
7941
7942 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7943
7944         * lyxgluelength.h (isValidGlueLength): add default arg on
7945         parameter 2. Remove default arg from friend in class.
7946
7947         * lyxlength.h (isValidLength): add default arg on parameter 2.
7948         Remove default arg from friend in class.
7949
7950         * text2.C (LyXText): adjust, initialize refresh_row.
7951         (init): adjust
7952         (removeRow): adjust
7953         (insertRow): adjust
7954         (insertParagraph): adjst
7955         (redoParagraphs): adjust
7956         (fullRebreak): adjust
7957         (updateCounters): adjust
7958         (deleteEmptyParagraphMechanism): first attempt at fixing a
7959         crashing bug.
7960
7961         * text.C (top_y): adjust
7962         (setHeightOfRow): adjust
7963         (getRow): adjust
7964         (getRowNearY): adjust
7965
7966         * lyxtext.h: include RowList.h
7967         (~LyXText): not needed anymore, deleted.
7968         (firstRow): modify for RowList
7969         (lastRow): new function
7970         Delete firstrow and lastrow class variables, add a Rowlist
7971         rowlist_ class variable.
7972
7973         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7974         paragraph is empty.
7975
7976         * RowList.C (insert): fix case where it == begin().
7977
7978 2003-03-26  Angus Leeming  <leeming@lyx.org>
7979
7980         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7981         the thesaurus dialog.
7982
7983 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7984
7985         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7986
7987         * RowList.[Ch]: new files
7988
7989         * ParagraphList.C (erase): handle the case where it == begin
7990         correctly.
7991
7992 2003-03-25  John Levon  <levon@movementarian.org>
7993
7994         * Makefile.am:
7995         * aspell_local.h:
7996         * aspell.C: add new aspell support
7997
7998         * lyxrc.h:
7999         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8000         have it accessible.
8001
8002 2003-03-25  Angus Leeming  <leeming@lyx.org>
8003
8004         * lfuns.h:
8005         * LyXAction.C (init): new LFUN_INSET_INSERT.
8006
8007         * BufferView_pimpl.C (dispatch): split out part of the
8008         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8009
8010         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8011         LFUN_INSET_APPLY.
8012
8013 2003-03-25  Angus Leeming  <leeming@lyx.org>
8014
8015         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8016
8017 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8018
8019         * text2.C:
8020         * text3.C: remove useless row->height(0)
8021
8022 2003-03-25  John Levon  <levon@movementarian.org>
8023
8024         * lyxtext.h:
8025         * text2.C:
8026         * text3.C: rename the refreshing stuff to better names
8027
8028 2003-03-24  John Levon  <levon@movementarian.org>
8029
8030         * BufferView_pimpl.h:
8031         * BufferView_pimpl.C: update layout choice on a mouse
8032         press/release
8033
8034 2003-03-23  John Levon  <levon@movementarian.org>
8035
8036         * Makefile.am: fix commandtags.h reference
8037
8038 2003-03-22  John Levon  <levon@movementarian.org>
8039
8040         * BufferView_pimpl.C:
8041         * lyxtext.h:
8042         * rowpainter.C:
8043         * rowpainter.h:
8044         * text.C:
8045         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8046
8047 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8048
8049         * lyxtext.h:
8050         * text.C: take the rtl methods out of line
8051
8052 2003-03-21 André Pönitz <poenitz@gmx.net>
8053
8054         * metricsinfo.[Ch]: new files containing structures to be passed around
8055         during the two-phase-drawing...
8056
8057 2003-03-21 André Pönitz <poenitz@gmx.net>
8058
8059         * lyxtextclass.C: read 'environment' tag.
8060
8061 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8062
8063         * text2.C (removeRow): fix bug 964
8064
8065 2003-03-20  John Levon  <levon@movementarian.org>
8066
8067         * rowpainter.C:
8068         * text.C:
8069         * text2.C: paint cleanups. Inset::update() dropped font
8070         parameter
8071
8072 2003-03-19  John Levon  <levon@movementarian.org>
8073
8074         * lyxfunc.C: only fitcursor/markDirty if available()
8075
8076 2003-03-19  John Levon  <levon@movementarian.org>
8077
8078         * commandtags.h: rename to ...
8079
8080         * lfuns.h: ... this, and renumber / cleanup
8081
8082 2003-03-19  John Levon  <levon@movementarian.org>
8083
8084         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8085         fit the cursor after an lfun
8086
8087         * BufferView.h:
8088         * BufferView.C:
8089         * BufferView_pimpl.h:
8090         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8091
8092         * LyXAction.C: layout-character should have ReadOnly
8093
8094         * ParagraphParameters.C:
8095         * buffer.C:
8096         * bufferview_funcs.C:
8097         * lyx_cb.C:
8098         * lyxfind.C:
8099         * lyxtext.h:
8100         * text.C:
8101         * text2.C:
8102         * text3.C:
8103         * undo_funcs.C: changes from above
8104
8105 2003-03-18  John Levon  <levon@movementarian.org>
8106
8107         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8108         remove it from update()
8109
8110         * lyxfunc.C: update layout choice after an lfun
8111
8112         * text3.C: remove extra updateLayoutChoice()s
8113
8114 2003-03-18  John Levon  <levon@movementarian.org>
8115
8116         * text.C: top_y change means full repaint, fix
8117         a drawing bug with cursor movement
8118
8119 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8120
8121         * lyxtext.h:
8122         * text.C:
8123         * text2.C: anchor row on setCursor
8124
8125 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8126
8127         * lyxtext.h: remove almost all mutable keywords
8128         * text.C:
8129         * text2.C:
8130         * text3.C: remove const keywords accordingly
8131
8132 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8133
8134         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8135         anon namespace
8136         (TeXEnvironment): ditto
8137         (TeXOnePar): ditto
8138
8139 2003-03-17  John Levon  <levon@movementarian.org>
8140
8141         * text.C (rowBreakPoint): remove attempt to fix displayed
8142         math insets inside a manual label
8143
8144 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8145
8146         * lyxtext.h: remove BufferView* as first arg from almost all class
8147         functions.
8148         * other files: adjust.
8149
8150 2003-03-17  John Levon  <levon@movementarian.org>
8151
8152         * lyxtext.h:
8153         * undo_funcs.C:
8154         * text2.C: more paint cleanups
8155
8156         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8157
8158         * rowpainter.h:
8159         * rowpainter.C: remove "smart" background painting code
8160
8161 2003-03-16  John Levon  <levon@movementarian.org>
8162
8163         * lyxtext.h:
8164         * text.C:
8165         * text2.C:
8166         * text3.C: add helper functions for setting refresh_row/y
8167
8168 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8169
8170         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8171         newline inset which *can* get inserted in the pass_thru layouts.
8172         This is primarily for literate documents.
8173
8174 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8175
8176         * buffer.C: increment LYX_FORMAT to 223
8177
8178 2003-03-14 André Pönitz <poenitz@gmx.net>
8179
8180         * textclass.h: prepare for environment handling, ws changes
8181         * lyxlayout.C: read latexheader and latexfooter tags
8182
8183 2003-03-14  John Levon  <levon@movementarian.org>
8184
8185         * text2.C: rewrite ::status() a bit
8186
8187 2003-03-13  John Levon  <levon@movementarian.org>
8188
8189         * lyxtext.h: add some docs
8190
8191 2003-03-13  John Levon  <levon@movementarian.org>
8192
8193         * lyxtext.h:
8194         * text.C:
8195         * text2.C:
8196         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8197
8198 2003-03-13  John Levon  <levon@movementarian.org>
8199
8200         * text3.C: fix appendix redrawing
8201
8202 2003-03-13  John Levon  <levon@movementarian.org>
8203
8204         * text.C (setHeightOfRow):
8205         * rowpainter.h:
8206         * rowpainter.C: make appendix mark have the text
8207           "Appendix" so the user knows what it is
8208
8209         * LColor.h:
8210         * LColor.C: s/appendixline/appendix/ from above
8211
8212 2003-03-13  John Levon  <levon@movementarian.org>
8213
8214         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8215
8216         * text.C: fix a getChar(pos) bug properly
8217
8218 2003-03-13  Angus Leeming  <leeming@lyx.org>
8219
8220         * commandtags.h:
8221         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8222         Probably only temporary. Let's see how things pan out.
8223
8224         * BufferView.C (unlockInset):
8225         * BufferView_pimpl.C (fitCursor):
8226         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8227
8228         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8229         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8230
8231         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8232         new functions that convert ParagraphParameters to and from a string.
8233
8234         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8235         BufferView::Pimpl's dispatch.
8236         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8237
8238 2003-03-13 André Pönitz <poenitz@gmx.net>
8239
8240         * lyxfunc.C:
8241         * text3.C:
8242         * factory.C: make it aware of InsetEnv
8243
8244 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * text2.C (setCursor): never ask for one past last
8247         (setCursor): add some debugging messages.
8248
8249         * text.C (singleWidth): never ask for one past last
8250         (singleWidth): ditto
8251         (leftMargin): ditto
8252         (rightMargin): ditto
8253         (rowBreakPoint): ditto
8254         (setHeightOfRow): ditto
8255         (prepareToPrint): ditto
8256
8257         * rowpainter.C (paintBackground): never ask for one past last
8258         (paintText): never ask for one past last
8259
8260         * paragraph_pimpl.C (getChar): make the assert stricter, never
8261         allow the one past last pos to be taken
8262
8263         * paragraph.C (getChar): ws changes only
8264
8265         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8266         (numberOfSeparators): ditto
8267         (numberOfHfills): ditto
8268
8269 2003-03-12  John Levon  <levon@movementarian.org>
8270
8271         * author.h:
8272         * author.C:
8273         * bufferparams.h:
8274         * bufferparams.C:
8275         * paragraph_funcs.C: fix per-buffer authorlists
8276
8277 2003-03-12  John Levon  <levon@movementarian.org>
8278
8279         * text.C: fix newline in right address
8280
8281 2003-03-12  Angus Leeming  <leeming@lyx.org>
8282
8283         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8284         duplicate those in LyXFunc::dispatch.
8285
8286         * commandtags.h:
8287         * LyXAction.C:
8288         * ToolbarDefaults.C:
8289         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8290         Add LFUN_FONTFREE_UPDATE.
8291
8292         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8293         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8294
8295         * bufferview_func.[Ch]: several new functions to facilliate
8296         transfer of data to and from the character dialog.
8297
8298 2003-03-12  John Levon  <levon@movementarian.org>
8299
8300         * buffer.C:
8301         * paragraph.h:
8302         * paragraph.C:
8303         * paragraph_funcs.C:
8304         * paragraph_pimpl.C:
8305         * sgml.C:
8306         * tabular.C:
8307         * text.C:
8308         * text3.C: remove META_NEWLINE in favour of an inset
8309
8310         * rowpainter.h:
8311         * rowpainter.C: remove paintNewline (done by inset)
8312
8313 2003-03-12  John Levon  <levon@movementarian.org>
8314
8315         * paragraph_pimpl.C: complain about bad getChar()s
8316         for a while at least
8317
8318 2003-03-12  John Levon  <levon@movementarian.org>
8319
8320         * buffer.h:
8321         * buffer.C: move paragraph read into a separate function,
8322         a little renaming to reflect that.
8323
8324         * bufferparams.h:
8325         * bufferparams.C: remove the author_ids map, not necessary now
8326
8327         * factory.h:
8328         * factory.C: moved Buffer::readInset to here
8329
8330         * paragraph_funcs.h:
8331         * paragraph_funcs.C: readParagraph free function moved from
8332         buffer.C
8333
8334         * tabular.C: name change
8335
8336 2003-03-12  John Levon  <levon@movementarian.org>
8337
8338         * buffer.C:
8339         * ParagraphParameters.C: move par params input to
8340         a read() method
8341
8342         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8343         behave like a normal read from the stream wrt reading
8344         a line vs. a \\token
8345
8346 2003-03-12  John Levon  <levon@movementarian.org>
8347
8348         * paragraph.C:
8349         * ParagraphParameters.h:
8350         * ParagraphParameters.C: move output code to a
8351         ::write() method
8352
8353 2003-03-12  John Levon  <levon@movementarian.org>
8354
8355         * BufferView.C (insertLyXFile):
8356         * buffer.h:
8357         * buffer.C:
8358         * tabular.C: use a parlist iterator for creating the
8359           document.
8360
8361 2003-03-12  John Levon  <levon@movementarian.org>
8362
8363         * buffer.C: make current_change static local not
8364           static file-scope
8365
8366 2003-03-12  John Levon  <levon@movementarian.org>
8367
8368         * buffer.C: fix insertStringAsLines for change tracking
8369
8370 2003-03-12  John Levon  <levon@movementarian.org>
8371
8372         * BufferView.C:
8373         * tabular.C:
8374         * buffer.h:
8375         * buffer.C:
8376         * bufferparams.h:
8377         * bufferparams.C: move author list into params. Rename some
8378           functions. Move the header reading into a separate token
8379           loop. Move the header token reading into BufferParams.
8380
8381 2003-03-12  John Levon  <levon@movementarian.org>
8382
8383         * changes.C: put debug inside lyxerr.debugging() checks
8384
8385 2003-03-11 André Pönitz <poenitz@gmx.net>
8386
8387         * factory.C: make it aware of InsetHFill
8388
8389 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8390
8391         * buffer.C (latexParagraphs): move function from here...
8392         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8393         args.
8394
8395 2003-03-10  Angus Leeming  <leeming@lyx.org>
8396
8397         * LyXAction.C (init): fix bug in poplating array with multiple entries
8398         with the same LFUN (spotted by JMarc).
8399
8400 2003-03-10  John Levon  <levon@movementarian.org>
8401
8402         * text.C:
8403         * text2.C: move getColumnNearX() near its
8404         only call site
8405
8406 2003-03-10  John Levon  <levon@movementarian.org>
8407
8408         * text.C: fix break before a minipage
8409
8410 2003-03-10  John Levon  <levon@movementarian.org>
8411
8412         * text.C: fix the last commit
8413
8414 2003-03-09  John Levon  <levon@movementarian.org>
8415
8416         * lyxtext.h:
8417         * text.C:
8418         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8419         bug 365 (don't break before insets unless needed). Don't
8420         return a value > last under any circumstances.
8421
8422 2003-03-09  Angus Leeming  <leeming@lyx.org>
8423
8424         * BufferView_pimpl.C (trackChanges, dispatch): call
8425         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8426
8427 2003-03-09  Angus Leeming  <leeming@lyx.org>
8428
8429         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8430         than Dialogs::showAboutlyx().
8431
8432 2003-03-09  Angus Leeming  <leeming@lyx.org>
8433
8434         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8435         than Dialogs::showTabularCreate().
8436
8437 2003-03-09  John Levon  <levon@movementarian.org>
8438
8439         * lyxtext.h:
8440         * text.C:
8441         * text2.C: 3rd arg to nextBreakPoint was always the same.
8442           Use references.
8443
8444 2003-03-08  John Levon  <levon@movementarian.org>
8445
8446         * lyxrow.C:
8447         * paragraph.C:
8448         * paragraph.h:
8449         * rowpainter.C:
8450         * text.C:
8451         * text2.C: Remove the "main" bit from the "main body"
8452           notion.
8453
8454 2003-03-08  John Levon  <levon@movementarian.org>
8455
8456         * text.C (leftMargin): The left margin of an empty
8457         manual label paragraph should not include the label width
8458         string length.
8459
8460         * text.C (prepareToPrint): don't attempt to measure hfills
8461         for empty manual label paragraphs - the answer should be 0
8462
8463 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8464
8465         * CutAndPaste.C: remove commented code and reindent.
8466
8467 2003-03-08  John Levon  <levon@movementarian.org>
8468
8469         * lyxfunc.h:
8470         * lyxfunc.C: move reloadBuffer()
8471
8472         * BufferView.h:
8473         * BufferView.C: to here
8474
8475         * lyxvc.C: add comment
8476
8477         * vc-backend.h:
8478         * vc-backend.C: call bv->reload() to avoid
8479           getStatus() check on MENURELOAD
8480
8481 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8482
8483         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8484         to an old format .dep file.
8485
8486 2003-03-07  Angus Leeming  <leeming@lyx.org>
8487
8488         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8489         when the LFUN_MOUSE_RELEASE should have been handled by
8490         inset->localDispatch.
8491
8492 2003-03-07  Angus Leeming  <leeming@lyx.org>
8493
8494         * BufferView_pimpl.C (dispatch):
8495         * LyXAction.C (init):
8496         * ToolbarDefaults.C (init):
8497         * commandtags.h:
8498         * lyxfunc.C (getStatus):
8499         remove LFUN_INSET_GRAPHICS.
8500
8501         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8502
8503 2003-03-07  Angus Leeming  <leeming@lyx.org>
8504
8505         * commandtags.h:
8506         * LyXAction.C (init):
8507         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8508
8509         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8510
8511         * commandtags.h:
8512         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8513
8514         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8515         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8516
8517 2003-03-07  Angus Leeming  <leeming@lyx.org>
8518
8519         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8520         remove "ert".
8521
8522 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8523
8524         * ParagraphList.C (front): new function
8525         (back): implement
8526
8527 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8528
8529         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8530         and top_row_offset_. removed var first_y.
8531         * text.C (top_y):
8532         * text2.C (LyXText, removeRow):
8533         * text3.C:
8534         * BufferView_pimpl.C:
8535         use these methods instead of using first_y
8536
8537 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8538
8539         * text2.C (pasteSelection): adjust for checkPastePossible
8540
8541         * CutAndPaste.C: remove Paragraph * buf and replace with
8542         ParagraphList paragraphs.
8543         (DeleteBuffer): delete
8544         (cutSelection): change the tc type to textclass_type
8545         (copySelection): change the tc type to textclass_type
8546         (copySelection): adjust for ParagraphList
8547         (pasteSelection): change the tc type to textclass_type
8548         (pasteSelection): adjust for Paragraphlist
8549         (nrOfParagraphs): simplify for ParagraphList
8550         (checkPastePossible): simplify for ParagraphList
8551         (checkPastePossible): remove unused arg
8552
8553         * ParagraphList.C (insert): handle the case where there are no
8554         paragraphs yet.
8555
8556         * CutAndPaste.h: make CutAndPaste a namespace.
8557
8558         * text3.C (dispatch): adjust
8559
8560         * text.C (breakParagraph): add a ParagraphList as arg
8561
8562         * paragraph_funcs.C (breakParagraph): change to take a
8563         BufferParams and a ParagraphList as args.
8564         (breakParagraphConservative): ditto
8565         (mergeParagraph): ditto
8566         (TeXDeeper): add a ParagraphList arg
8567         (TeXEnvironment): ditto
8568         (TeXOnePar): ditto
8569
8570         * buffer.C (readLyXformat2): adjust
8571         (insertStringAsLines): adjust
8572         (latexParagraphs): adjust
8573
8574         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8575         (cutSelection): adjust
8576         (pasteSelection): adjust
8577
8578         * BufferView_pimpl.C (insertInset): adjust
8579
8580 2003-03-05  Angus Leeming  <leeming@lyx.org>
8581
8582         * commandtags.h:
8583         * LyXAction.C (init):
8584         * BufferView_pimpl.C (dispatch):
8585         * lyxfunc.C (getStatus):
8586         remove LFUN_CHILD_INSERT.
8587
8588         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8589
8590 2003-03-05  Angus Leeming  <leeming@lyx.org>
8591
8592         * commandtags.h:
8593         * LyXAction.C (init):
8594         * src/factory.C (createInset):
8595         * lyxfunc.C (getStatus):
8596         * text3.C (dispatch):
8597         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8598
8599         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8600
8601 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8602
8603         * ParagraphList.C (insert): handle insert right before end()
8604         (erase): fix cases where it can be first or last paragraph.
8605
8606 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8607
8608         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8609         Paragraph::next and Paragraph::previous
8610         (TeXOnePar): ditto
8611
8612         * text.C (breakParagraph): adjust
8613
8614         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8615         BufferParams& as arg.
8616         (breakParagraph): use ParagraphList::insert
8617         (breakParagraphConservative): take a Buffer* instead of a
8618         BufferParams& as arg.
8619         (breakParagraphConservative): use ParagraphList::insert.
8620
8621         * buffer.C (insertStringAsLines): un-const it
8622         (insertStringAsLines): adjust
8623
8624         * ParagraphList.C (insert): new function
8625
8626         * CutAndPaste.C (pasteSelection): adjust
8627
8628         * text.C (backspace): adjust
8629
8630         * tabular.C (SetMultiColumn): adjust
8631
8632         * CutAndPaste.C (cutSelection): adjust
8633         (pasteSelection): adjust
8634
8635         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8636         Buffer const * as arg
8637
8638         * ParagraphList.C (erase): new function
8639         * paragraph_funcs.C (mergeParagraph): use it
8640         (mergeParagraph): make it take a Buffer* instead of a
8641         BufferParams* as arg
8642
8643         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8644         as arg
8645         (breakParagraphConservative): ditto
8646
8647         * paragraph.h: remove the breakParagraph friend
8648
8649         * paragraph.C (eraseIntern): new function
8650         (setChange): new function
8651
8652         * paragraph_funcs.C (mergeParagraph): make it take a
8653         ParagraphList::iterator instead of a Paragraph *, adjust
8654         accordingly.
8655
8656         * paragraph.h: move an #endif so that the change tracking stuff
8657         also works in the NO_NEXT case.
8658
8659 2003-03-04  Angus Leeming  <leeming@lyx.org>
8660
8661         * commandtags.h:
8662         * LyXAction.C: new LFUN_INSET_MODIFY.
8663
8664         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8665         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8666
8667 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8668
8669         * several files: ws changes only
8670
8671         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8672         (TeXEnvironment): ditto
8673         (TeXDeeper): ditto
8674
8675         * buffer.C (makeLaTeXFile): adjust
8676         (latexParagraphs): make it take ParagraphList::iterator as args
8677
8678 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8679
8680         * buffer.C (latexParagraphs): adjust
8681
8682         * paragraph.C (TeXOnePar): move function...
8683         (optArgInset): move function...
8684         (TeXEnvironment): move function...
8685         * paragraph_pimpl.C (TeXDeeper): move function...
8686         * paragraph_funcs.C: ...here
8687
8688         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8689
8690 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8691
8692         * buffer.C (readInset): remove compability code for old Figure and
8693         InsetInfo insets
8694
8695 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8696
8697         * buffer.C: ws changes
8698         (readInset):
8699
8700         * BufferView_pimpl.C: ditto
8701         * author.C: ditto
8702         * buffer.h: ditto
8703         * bufferlist.h: ditto
8704         * changes.h: ditto
8705         * lyxfunc.C: ditto
8706
8707 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8708
8709         * converter.[Ch]: split into itself +
8710         * graph.[Ch]
8711         * format.[Ch]
8712         * Makefile.am: += graph.[Ch] + format.[Ch]
8713         * MenuBackend.C
8714         * buffer.C
8715         * exporter.C
8716         * importer.C
8717         * lyx_main.C
8718         * lyxfunc.C
8719         * lyxrc.C: added #include "format.h"
8720
8721 2003-02-27  Angus Leeming  <leeming@lyx.org>
8722
8723         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8724           a label.
8725
8726         * factory.C (createInset): add "label" to the factory.
8727
8728         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8729           string and do no more.
8730
8731 2003-02-27  Angus Leeming  <leeming@lyx.org>
8732
8733         * commandtags.h:
8734         * LyXAction.C (init):
8735         * factory.C (createInset):
8736         * BufferView_pimpl.C (dispatch):
8737           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8738
8739         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8740
8741         * lyxfunc.C (dispatch):
8742         * text3.C (dispatch): pass name to params2string.
8743
8744 2003-02-26  Angus Leeming  <leeming@lyx.org>
8745
8746         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8747           blocks together.
8748           Rearrange the ~includes. Strip out the unnecessary ones.
8749
8750         * factory.C (createInset): reformat.
8751           create new insets for the various LFUN_XYZ_APPLY lfuns.
8752
8753 2003-02-26  John Levon  <levon@movementarian.org>
8754
8755         * lyxrow.h:
8756         * lyxrow.C: add isParStart,isParEnd helpers
8757
8758         * paragraph.h: make isInserted/DeletedText take refs
8759
8760         * paragraph_funcs.h:
8761         * paragraph_funcs.C: remove #if 0'd code
8762
8763         * lyxtext.h:
8764         * text3.C:
8765         * text2.C:
8766         * text.C: use lyxrow helpers above.
8767           Move draw and paint routines to RowPainter.
8768           Make several methods use refs not pointers.
8769           Make backgroundColor() const.
8770           Add markChangeInDraw(), isInInset().
8771           Merge changeRegionCase into changeCase.
8772           Make workWidth() shouldn't-happen code into an Assert.
8773
8774         * rowpainter.h:
8775         * rowpainter.C: new class for painting a row.
8776
8777         * vspace.h:
8778         * vspace.C: make inPixels take a ref
8779
8780 2003-02-26  Angus Leeming  <leeming@lyx.org>
8781
8782         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8783         LFUN_REF_APPLY.
8784
8785 2003-02-25  John Levon  <levon@movementarian.org>
8786
8787         * ispell.C: give the forked command a more accurate name
8788
8789 2003-02-22  John Levon  <levon@movementarian.org>
8790
8791         * toc.h:
8792         * toc.C: make TocItem store an id not a Paragraph *
8793           (bug #913)
8794
8795 2003-02-21  Angus Leeming  <leeming@lyx.org>
8796
8797         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8798           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8799           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8800           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8801           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8802           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8803
8804         * BufferView_pimpl.C (dispatch):
8805         * LyXAction.C (init):
8806         * factory.C (createInset):
8807         * lyxfunc.C (getStatus, dispatch):
8808         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8809
8810 2003-02-21  Angus Leeming  <leeming@lyx.org>
8811
8812         * BufferView_pimpl.C (MenuInsertLyXFile):
8813         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8814         * lyxfunc.C (menuNew, open, doImport):
8815           no longer pass a LyXView & to fileDlg.
8816
8817 2003-02-21  Angus Leeming  <leeming@lyx.org>
8818
8819         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8820         * LyXAction.C: change, BIBKEY to BIBITEM.
8821         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8822         Change InsetBibKey to InsetBibitem.
8823         Change BIBKEY_CODE to BIBITEM_CODE.
8824         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8825         * factory.C: replace insetbib.h with insetbibitem.h.
8826         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8827         * paragraph.C: replace insetbib.h with insetbibitem.h.
8828         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8829         Change bibkey() to bibitem().
8830         * text.C: remove insetbib.h.
8831         * text2.C: replace insetbib.h with insetbibitem.h.
8832         change bibkey() to bibitem().
8833         * text3.C: remove insetbib.h.
8834         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8835
8836 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8837
8838         * lyxrc.C (output): enclose user email in quotes (in case there are
8839         several words)
8840
8841 2003-02-18  John Levon  <levon@movementarian.org>
8842
8843         * buffer.h: add std::
8844
8845 2003-02-17  John Levon  <levon@movementarian.org>
8846
8847         * SpellBase.h:
8848         * ispell.h:
8849         * ispell.C:
8850         * pspell.h:
8851         * pspell.C: reworking. Especially in ispell, a large
8852           number of clean ups and bug fixes.
8853
8854         * lyxfunc.C: fix revert to behave sensibly
8855
8856 2003-02-17 André Pönitz <poenitz@gmx.net>
8857
8858         * LyXAction.C:
8859         * commandtags.h: new LFUN_INSERT_BIBKEY
8860
8861         * layout.h:
8862         * lyxlayout.C:
8863         * buffer.C:
8864         * factory.C:
8865         * text.C:
8866         * text2.C:
8867         * text3.C:
8868         * paragraph.[Ch]:
8869         * paragraph_func.C: remove special bibkey handling
8870
8871 2003-02-17  John Levon  <levon@movementarian.org>
8872
8873         * text.C (Delete): fix case where delete at the end of
8874           the very first paragraph would not merge the pars
8875
8876 2003-02-17  John Levon  <levon@movementarian.org>
8877
8878         * lyxrow.C: fix lastPrintablePos()
8879
8880 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8881
8882         * bufferparams.C (writeLaTeX): add a std:here
8883
8884         * buffer.C: and remove a using directive there
8885
8886 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8887
8888         * buffer.C (makeLaTeXFile): move the code that generates the
8889           preamble...
8890
8891         * bufferparams.C (writeLaTeX): ... in this new method
8892
8893         * LaTeXFeatures.C (getEncodingSet): make const
8894           (getLanguages): make const
8895
8896         * MenuBackend.C (binding): returns the binding associated to this
8897           action
8898           (add): sets the status of each item by calling getStatus. Adds
8899           some intelligence.
8900           (read): add support for OptSubMenu
8901           (expand): remove extra separator at the end of expanded menu
8902
8903 2003-02-15  John Levon  <levon@movementarian.org>
8904
8905         * BufferView.C:
8906         * BufferView_pimpl.C:
8907         * bufferlist.h:
8908         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8909           inset code that had no actual effect. Remove unneeded status
8910           code.
8911
8912 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8913
8914         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8915           in preamble
8916
8917 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8918
8919         * text.C (drawLengthMarker): also draw an arrow marker for
8920           symbolic lengths (medskip...)
8921
8922 2003-02-14  John Levon  <levon@movementarian.org>
8923
8924         * tabular.h:
8925         * tabular.C: better method names
8926
8927 2003-02-14  John Levon  <levon@movementarian.org>
8928
8929         * BufferView_pimpl.C:
8930         * bufferlist.C:
8931         * buffer.C:
8932         * converter.C:
8933         * lyx_cb.C:
8934         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8935           it's a more accurate name. Remove some pointless uses.
8936
8937 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8938
8939         * text2.C (LyXText): change order of initilizers to shut off
8940           warnings
8941
8942 2003-02-14  John Levon  <levon@movementarian.org>
8943
8944         * buffer.C: use ParIterator for getParFromID()
8945
8946         * paragraph.h:
8947         * paragraph.C:
8948         * paragraph_pimpl.h:
8949         * paragraph_pimpl.C: remove unused getParFromID()
8950
8951 2003-02-14  John Levon  <levon@movementarian.org>
8952
8953         * buffer.C: remove some very old #if 0'd parse code
8954
8955 2003-02-13  John Levon  <levon@movementarian.org>
8956
8957         * text.h:
8958         * text.C:
8959         * text2.C: move hfillExpansion(), numberOfSeparators(),
8960           rowLast(), rowLastPrintable(), numberofHfills(),
8961           numberOfLabelHfills() ...
8962
8963         * lyxrow.h:
8964         * lyxrow.C: ... to member functions here.
8965
8966         * paragraph.h:
8967         * paragraph.C:
8968         * lyxtext.h:
8969         * text.C: remove LyXText::beginningOfMainBody(), and call
8970           p->beginningOfMainBody() directly. Move the check for
8971           LABEL_MANUAL into the latter.
8972
8973         * text.h:
8974         * text.C:
8975         * text2.C:
8976         * vspace.C:
8977         * BufferView.h:
8978         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8979
8980         * text.h:
8981         * text.C:
8982         * text2.C:
8983         * text3.C:
8984         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8985           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8986
8987 2003-02-13  John Levon  <levon@movementarian.org>
8988
8989         * CutAndPaste.C: remove debug
8990
8991 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8992
8993         * paragraph.C (asString): remove two unused variables
8994
8995         * lyxtextclass.C (readTitleType):
8996           (Read):
8997           (LyXTextClass): handle new members titletype_ and titlename_
8998
8999         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9000
9001 2003-02-09  John Levon  <levon@movementarian.org>
9002
9003         * buffer.h:
9004         * buffer.C: replace hand-coded list with a map for the dep clean
9005
9006 2003-02-08  John Levon  <levon@movementarian.org>
9007
9008         * LaTeX.C: consolidate code into showRunMessage() helper
9009
9010 2003-02-08  John Levon  <levon@movementarian.org>
9011
9012         * lyxfind.C:
9013         * lyxtext.h:
9014         * text2.C:
9015         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9016           and pass the size in explicitly
9017
9018         * BufferView_pimpl.h:
9019         * BufferView_pimpl.C:
9020         * BufferView.h:
9021         * BufferView.C: add getCurrentChange()
9022
9023         * BufferView_pimpl.h:
9024         * BufferView_pimpl.C: handle change lfuns
9025
9026         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9027           for changes. Mark pasted paragraphs as new.
9028
9029         * support/lyxtime.h:
9030         * support/lyxtime.C:
9031         * DepTable.C: abstract time_t as lyx::time_type
9032
9033         * LColor.h:
9034         * LColor.C: add colours for new text, deleted text, changebars
9035
9036         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9037           package use "usenames" option.
9038
9039         * commandtags.h:
9040         * lyxfunc.C:
9041         * LyXAction.C: add change lfuns
9042
9043         * Makefile.am:
9044         * author.h:
9045         * author.C: author handling
9046
9047         * buffer.h:
9048         * buffer.C: add a per-buffer author list, with first entry as
9049           current author. Handle new .lyx tokens for change tracking. Output
9050           author list to .lyx file. Output dvipost stuff to .tex preamble.
9051           Bump lyx format to 222.
9052
9053         * bufferlist.h:
9054         * bufferlist.C: add setCurrentAuthor() to reset current author details
9055           in all buffers.
9056
9057         * bufferparams.h:
9058         * bufferparams.C: add param for tracking
9059
9060         * bufferview_funcs.C: output change info in minibuffer
9061
9062         * Makefile.am:
9063         * changes.h:
9064         * changes.C: add change-tracking structure
9065
9066         * debug.h:
9067         * debug.C: add CHANGES debug flag
9068
9069         * lyxfind.h:
9070         * lyxfind.C: add code for finding the next change piece
9071
9072         * lyxrc.h:
9073         * lyxrc.C: add user_name and user_email
9074
9075         * lyxrow.h:
9076         * lyxrow.C: add a metric for the top of the text line
9077
9078         * lyxtext.h:
9079         * text.C: implement accept/rejectChange()
9080
9081         * lyxtext.h:
9082         * text.C: paint changebars. Paint new/deleted text in the chosen
9083         colours. Strike through deleted text.
9084
9085         * paragraph.h:
9086         * paragraph.C:
9087         * paragraph_pimpl.h:
9088         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9089           in the current change to the insert functions. Rework erase to
9090           mark text as deleted, adding an eraseIntern() and a range-based
9091           erase(). Implement per-paragraph change lookup and
9092           accept/reject.
9093
9094         * paragraph_funcs.C: Fixup paste for change tracking.
9095
9096         * tabular.C: mark added row/columns as new.
9097
9098         * text.C: fix rowLast() to never return -1. Don't allow
9099           spellchecking of deleted text. Track transpose changes. Don't
9100           allow paragraph break or merge where appropriate.
9101
9102         * text2.C: leave cursor at end of selection after a cut.
9103
9104 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9105
9106         * text.C (getLengthMarkerHeight):
9107         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9108         visible on screen too.
9109
9110 2003-02-07  John Levon  <levon@movementarian.org>
9111
9112         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9113
9114 2003-02-05  Angus Leeming  <leeming@lyx.org>
9115
9116         * lyxserver.C (read_ready): revert my patch of 11 September last year
9117         as it sends PC cpu through the roof. Presumably this means that
9118         the lyxserver will no longer run on an Alpha...
9119
9120 2003-01-30  Angus Leeming  <leeming@lyx.org>
9121
9122         * factory.C (createInset): create an InsetCommandParam of type "index"
9123         and use it to 'do the right thing'.
9124
9125         * text2.C (getStringToIndex): ensure that cursor position is always
9126         reset to the reset_cursor position.
9127
9128 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9129
9130         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9131         disabled.
9132
9133 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9134
9135         * bufferview.C:
9136         * lyxcb.C:
9137         * lyxfunc.C: Output messages with identical spelling, punctuation,
9138         and spaces
9139
9140 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9141
9142         * MenuBackend.C (expandFormats): List only viewable export formats
9143         in "View" menu
9144
9145         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9146         message
9147
9148         * lyxfunc.C (getStatus): Make sure that formats other than
9149         "fax" can also be disabled
9150
9151 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9152
9153         * text3.C (dispatch): put the lfuns that insert insets in 3
9154         groups, and call doInsertInset with appropriate arguments.
9155         (doInsertInset): new function, that creates an inset and inserts
9156         it according to some boolean parameters.
9157
9158 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9159
9160         * buffer.C (readFile): remember to pass on 'par' when calling
9161         readFile recursively.
9162
9163 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9164
9165         * MenuBackend.C (expandFormats): add "..." to import formats.
9166
9167 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9168
9169         * paragraph.C (asString): Remove XForms RTL hacks.
9170
9171 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9172         * buffer.C: fix typo
9173
9174 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9175
9176         * Makefile.am (LIBS): delete var
9177         (lyx_LDADD): add @LIBS@ here instead.
9178
9179 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9180
9181         * Clarify the meaning of "wheel mouse jump"
9182
9183 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9184
9185         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9186         tabular in a float
9187
9188 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9189
9190         * importer.C (Loaders): do not preallocate 3 elements in the
9191         vector, since one ends up with 6 elements otherwise
9192
9193 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9194
9195         * DepTable.C (write): write the file name as last element of the
9196         .dep file (because it may contain spaces)
9197         (read): read info in the right order
9198
9199 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9200
9201         * paragraph_pimpl.C (simpleTeXBlanks):
9202         (simpleTeXSpecialChars):
9203         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9204
9205         * tabular.C (latex): add some missing case statements. Reindent.
9206
9207         * MenuBackend.C (expandToc): remove unused variable.
9208
9209 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9210
9211         * LColor.C:
9212         * LaTeX.C:
9213         * LyXAction.C:
9214         * MenuBackend.C:
9215         * buffer.C:
9216         * exporter.C:
9217         * lyxfunc.C:
9218         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9219         and the like.
9220
9221 2003-01-05  John Levon  <levon@movementarian.org>
9222
9223         * BufferView.h:
9224         * BufferView.C: add getEncoding()
9225
9226         * kbsequence.h:
9227         * kbsequence.C: do not store last keypress
9228
9229         * lyxfunc.h:
9230         * lyxfunc.C: store last keypress here instead. Pass encoding
9231           to getISOEncoded()
9232
9233 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9234
9235         * lyx_main.C (init): remove annoying error message when following
9236         symbolic links (bug #780)
9237
9238 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9239
9240         * text.C (insertChar):
9241         * lyxrc.C (getDescription): remove extra spaces
9242
9243 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9244
9245         * lyxrc.C (getDescription): remove extra spaces
9246
9247 2002-12-20  John Levon  <levon@movementarian.org>
9248
9249         * text3.C: hack fix for page up/down across tall rows
9250
9251 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9252
9253         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9254         not been invoked
9255
9256 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9257
9258         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9259         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9260         thesaurus is not compiled in
9261
9262 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9263
9264         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9265
9266 2002-12-16  Angus Leeming  <leeming@lyx.org>
9267
9268         * lyxrc.[Ch]:
9269         * lyx_main.C (init): remove override_x_deadkeys stuff.
9270
9271 2002-12-12  John Levon  <levon@movementarian.org>
9272
9273         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9274           insert. Only remove shift modifier under strict
9275           circumstances.
9276
9277 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9278
9279         * MenuBackend.C (expandToc): fix crash.
9280
9281 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9282
9283         * MenuBackend.C (expandToc): gettext on float names.
9284
9285 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9286
9287         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9288         implement bool empty() [bug 490]
9289
9290 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9291
9292         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9293
9294 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9295
9296         * several files: ws changes
9297
9298 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9299
9300         * text2.C (setCounter): clean up a bit, use boost.format.
9301         (updateCounters): initialize par upon declaration.
9302
9303         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9304         if the layout exists. We do not just store the layout any more.
9305         (SwitchLayoutsBetweenClasses): use boost.format
9306
9307 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9308
9309         * converter.C (convert): if from and to files are the same, use a
9310         temporary files as intermediary
9311
9312 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9313
9314         * commandtags.h:
9315         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9316
9317 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9318
9319         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9320
9321 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9322
9323         * tabular.C (asciiPrintCell): use string(size, char) instead of
9324         explicit loop.
9325
9326         * sgml.C (openTag): fix order of arguments to string constructor
9327         (closeTag): ditto
9328
9329         * lyxfunc.C (dispatch): use boost.format
9330
9331         * lots of files: change "c" -> 'c'
9332
9333 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9334
9335         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9336
9337 2002-11-25  Angus Leeming  <leeming@lyx.org>
9338
9339         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9340
9341         * lyx_main.C (init): compile fix.
9342
9343 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9344
9345         * lyx_cb.C (start): boost.formatify
9346         do not include <iostream>
9347
9348         * lengthcommon.C: ws only
9349
9350         * boost-inst.C,BoostFormat.h: add more explict instantations
9351
9352 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9353
9354         * lots of files: handle USE_BOOST_FORMAT
9355
9356 2002-11-21  John Levon  <levon@movementarian.org>
9357
9358         * pspell.C: fix compile
9359
9360 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9361
9362         * lyxfunc.C (dispatch): use boost::format
9363         (open): ditto
9364         (doImport): ditto
9365
9366         * lyxfont.C (stateText): use boost::format
9367
9368         * lyx_main.C (LyX): use boost::format
9369         (init): ditto
9370         (queryUserLyXDir): ditto
9371         (readRcFile): ditto
9372         (parse_dbg): ditto
9373         (typedef boost::function): use the recommened syntax.
9374
9375         * importer.C (Import): use boost::format
9376
9377         * debug.C (showLevel): use boost::format
9378
9379         * converter.C (view): use boost::format
9380         (convert): ditto
9381         (move): ditto
9382         (scanLog): ditto
9383
9384         * bufferview_funcs.C (currentState): use boost::format
9385
9386         * bufferlist.C (emergencyWrite): use boost::format
9387
9388         * buffer.C (readLyXformat2): use boost::format
9389         (parseSingleLyXformat2Token): ditto
9390
9391         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9392
9393         * LaTeX.C (run): use boost::format
9394
9395         * Chktex.C (scanLogFile): use boost::format
9396
9397         * BufferView_pimpl.C (savePosition): use boost::format
9398         (restorePosition): ditto
9399         (MenuInsertLyXFile): ditto
9400
9401         * BoostFormat.h: help file for explicit instation.
9402
9403 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9404
9405         * tabular.C (latex): Support for block alignment in fixed width
9406         columns.
9407
9408 2002-11-17  John Levon  <levon@movementarian.org>
9409
9410         * BufferView_pimpl.C:
9411         * lyx_cb.C:
9412         * lyxfunc.C: split filedialog into open/save
9413
9414 2002-11-08  Juergen Vigna  <jug@sad.it>
9415
9416         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9417         by my last patch (hopefully).
9418
9419 2002-11-08  John Levon  <levon@movementarian.org>
9420
9421         * iterators.h:
9422         * iterators.C:
9423         * buffer.h:
9424         * buffer.C:
9425         * paragraph.h:
9426         * paragraph.C:
9427         * toc.h:
9428         * toc.C: ParConstIterator, and use it (from Lars)
9429
9430 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9431
9432         * lyxtextclass.[Ch]: revise and add doxygen comments
9433
9434 2002-11-07  John Levon  <levon@movementarian.org>
9435
9436         * text.C: fix progress value for spellchecker
9437
9438         * toc.C: fix navigate menu for insetwrap inside minipage
9439
9440         * paragraph_funcs.C: added FIXME for suspect code
9441
9442 2002-11-07  John Levon  <levon@movementarian.org>
9443
9444         * BufferView_pimpl.C: fix redrawing of insets
9445           on buffer switch
9446
9447 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9448
9449         * text2.C (updateCounters): fix bug 668
9450
9451 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9452
9453         * text3.C (dispatch): Do not make the buffer dirty when moving the
9454         cursor.
9455
9456 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9457
9458         * vc-backend.C: STRCONV
9459         (scanMaster): ditto
9460
9461         * text2.C (setCounter): STRCONV
9462
9463         * paragraph.C (asString): STRCONV
9464
9465         * lyxlength.C (asString): STRCONV
9466         (asLatexString): ditto
9467
9468         * lyxgluelength.C (asString): STRCONV
9469         (asLatexString): ditto
9470
9471         * lyxfunc.C (dispatch): STRCONV
9472         (open): ditto
9473
9474         * lyxfont.C (stateText): STRCONV
9475
9476         * importer.C (Import): STRCONV
9477
9478         * counters.C (labelItem): STRCONV
9479         (numberLabel): ditto
9480         (numberLabel): remove unused ostringstream o
9481
9482         * chset.C: STRCONV
9483         (loadFile): ditto
9484
9485         * bufferview_funcs.C (currentState): STRCONV
9486
9487         * buffer.C (readFile): STRCONV
9488         (asciiParagraph): ditto
9489         (makeLaTeXFile): ditto
9490
9491         * Spacing.C (writeEnvirBegin): STRCONV
9492
9493         * LaTeXFeatures.C (getLanguages): STRCONV
9494         (getPackages): ditto
9495         (getMacros): ditto
9496         (getBabelOptions): ditto
9497         (getTClassPreamble): ditto
9498         (getLyXSGMLEntities): ditto
9499         (getIncludedFiles): ditto
9500
9501         * LaTeX.C: STRCONV
9502         (run): ditto
9503         (scanAuxFile): ditto
9504         (deplog): ditto
9505
9506         * LString.h: add the STRCONV macros
9507
9508         * BufferView_pimpl.C (savePosition): STRCONV
9509         (restorePosition): ditto
9510         (MenuInsertLyXFile): ditto
9511
9512         * vc-backend.C (scanMaster): change from submatch[...] to
9513         submatch.str(...)
9514
9515         * funcrequest.C: include config.h
9516
9517         * factory.C: include config.h
9518
9519         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9520
9521         * box.C: include config.h
9522
9523         * LaTeX.C (scanAuxFile): change from submatch[...] to
9524         submatch.str(...)
9525         (deplog): ditto
9526
9527 2002-10-25  Angus Leeming  <leeming@lyx.org>
9528
9529         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9530
9531         * ispell.[Ch] (setError): new method.
9532         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9533         Use setError() insetead of goto END.
9534
9535         * lyx_cb.C (AutoSave): move out child process into new class
9536         AutoSaveBuffer.
9537
9538 2002-10-30  John Levon  <levon@movementarian.org>
9539
9540         * text3.C: make start appendix undoable
9541
9542 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9543
9544         * lyxlength.C (inPixels): Fix returned value.
9545
9546         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9547         environment.
9548
9549 2002-10-24  Angus Leeming  <leeming@lyx.org>
9550
9551         * lyxgluelength.h: no need to forward declare BufferParams
9552         or BufferView, so don't.
9553
9554 2002-10-21  John Levon  <levon@movementarian.org>
9555
9556         * BufferView.C: menuUndo ->undo, redo
9557
9558         * BufferView.h: document, remove dead, make some methods private
9559
9560         * paragraph_funcs.h:
9561         * paragraph_funcs.C:
9562         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9563
9564         * buffer.h:
9565         * buffer.C:
9566         * sgml.h:
9567         * sgml.C: move sgml open/close tag into sgml.C
9568
9569         * bufferview_funcs.h: unused prototype
9570
9571         * lyxfunc.h:
9572         * lyxfunc.C: remove unused
9573
9574         * lyxtext.h:
9575         * text.C: remove unused
9576
9577 2002-10-21  John Levon  <levon@movementarian.org>
9578
9579         * BufferView.h:
9580         * BufferView.C:
9581         * BufferView_pimpl.h:
9582         * BufferView_pimpl.C: fix mouse wheel handling based on
9583           patch from Darren Freeman
9584
9585 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9586
9587         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9588
9589 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9590
9591         * lyxlength.C (inPixels): Fix hanfling of negative length.
9592         Fix LyXLength::MU case.
9593
9594 2002-10-16  John Levon  <levon@movementarian.org>
9595
9596         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9597
9598 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9599
9600         * converter.C (view): add support for $$i (file name) and $$p
9601         (file path) for the viewer command. If $$i is not specified, then
9602         it is appended to the command (for compatibility with old syntax)
9603
9604 2002-10-14  Juergen Vigna  <jug@sad.it>
9605
9606         * undo_funcs.C (textHandleUndo): alter the order in which the
9607         new undopar is added to the LyXText, as we have to set first
9608         the right prev/next and then add it as otherwise the rebuild of
9609         LyXText is not correct. Also reset the cursor to the right paragraph,
9610         with this IMO we could remove the hack in "redoParagraphs()".
9611
9612 2002-10-09  Angus Leeming  <leeming@lyx.org>
9613
9614         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9615         to turn off an optimisation if a new inset is to be inserted.
9616
9617 2002-10-11 André Pönitz <poenitz@gmx.net>
9618
9619         * lyxtext.h: make some functions public to allow access
9620         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9621
9622 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9623
9624         * text3.C (dispatch): when changing layout, avoid an infinite loop
9625         [bug #652]
9626
9627 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9628
9629         * lyxrc.C (read): treat a viewer or converter command of "none" as
9630         if it were empty.
9631
9632         * MenuBackend.C (expandFormats): for an update, also allow the
9633         formats that are not viewable
9634
9635         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9636         script if it is newer than the lyxrc.defaults in user directory
9637
9638 2002-10-07 André Pönitz <poenitz@gmx.net>
9639
9640         * text.C: Vitaly Lipatov's small i18n fix
9641
9642 2002-09-25  Angus Leeming  <leeming@lyx.org>
9643
9644         * ispell.h: doxygen fix.
9645
9646 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9647
9648         * buffer.h (readFile): Add a new argument to the method, to allow
9649         reading of old-format templates.
9650
9651 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9652
9653         * toc.C (getTocList): Get TOC from InsetWrap.
9654
9655 2002-09-16  John Levon  <levon@movementarian.org>
9656
9657         * lyxfunc.C: check tabular for cut/copy too
9658
9659 2002-09-12  John Levon  <levon@movementarian.org>
9660
9661         * LyXAction.C: tidy
9662
9663         * factory.h:
9664         * factory.C: add header
9665
9666         * paragraph_funcs.h:
9667         * paragraph_funcs.C: cleanup
9668
9669 2002-09-11  John Levon  <levon@movementarian.org>
9670
9671         * PrinterParams.h: odd/even default to true
9672
9673 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9674
9675         * PrinterParams.h: update printer parameters for new xforms dialog
9676
9677 2002-09-11  Angus Leeming  <leeming@lyx.org>
9678
9679         * lyxserver.C (read_ready): re-write to make it more transparent
9680         and to make it work in coherent fashion under Tru64 Unix.
9681
9682 2002-09-11  André Pönitz <poenitz@gmx.net>
9683
9684         * commandtags.h:
9685         * LyXAction.C:
9686         * text3.C: implement LFUN_WORDSEL
9687
9688 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9689
9690         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9691         make floatlist_ a boost::shared_ptr<FloatList>
9692
9693         * lyxtextclass.C: include FloatList.h
9694         (LyXTextClass): initialize floatlist_
9695         (TextClassTags): add TC_NOFLOAT
9696         (Read): match "nofloat" to TC_NOFLOAT and use it.
9697         (readFloat): modify call to floatlist_
9698         (floats): ditto
9699         (floats): ditto
9700
9701         * FloatList.[Ch] (FloatList): remove commented out float
9702         initialization.
9703         (erase): new function
9704
9705 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9706
9707         * MenuBackend.C (expandToc): fix crash when there is no document
9708         open
9709
9710 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9711
9712         * many files: Add insetwrap.
9713
9714 2002-09-09  John Levon  <levon@movementarian.org>
9715
9716         * text2.C: remove confusing and awkward depth wraparound
9717
9718 2002-09-09  John Levon  <levon@movementarian.org>
9719
9720         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9721
9722         * buffer.h:
9723         * buffer.C: remove getIncludeonlyList()
9724
9725         * paragraph.C:
9726         * lyxfunc.C: remove headers
9727
9728 2002-09-09  Juergen Vigna  <jug@sad.it>
9729
9730         * text.C (getColumnNearX): fix form Michael this is most
9731         probably a cut&paste bug.
9732
9733 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9734
9735         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9736
9737         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9738         references, ws changes.
9739
9740         * text2.C (init): update counters after init
9741         (insertParagraph): no need to set counter on idividual paragraphs.
9742         (setCounter): access the counters object in the textclass object
9743         on in the buffer object.
9744         (updateCounters): ditto
9745
9746         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9747         shared_ptr<Counters> to avoid loading counters.h in all
9748         compilation units.
9749         (LyXTextClass): initialize ctrs_
9750         (TextClassTags): add TC_COUNTER, and ...
9751         (Read): use it here.
9752         (CounterTags): new tags
9753         (readCounter): new function
9754         (counters): new funtion
9755         (defaultLayoutName): return a const reference
9756
9757         * counters.C (Counters): remove contructor
9758         (newCounter): remove a couple of unneeded statements.
9759         (newCounter): simplify a bit.
9760         (numberLabel): some small formatting changes.
9761
9762         * buffer.[Ch]: remove all traces of counters, move the Counters
9763         object to the LyXTextClass.
9764
9765 2002-09-06  Alain Castera  <castera@in2p3.fr>
9766
9767         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9768         package to set the horizontal alignment on fixed width columns.
9769
9770         * lyx_sty.C:
9771         * lyx_sty.h: added tabularnewline macro def.
9772
9773         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9774
9775 2002-09-06  John Levon  <levon@movementarian.org>
9776
9777         * LyXAction.C: tooltips for sub/superscript
9778
9779         * MenuBackend.C: a bit more verbose
9780
9781         * lyxfunc.C: tiny clean
9782
9783         * undo_funcs.C: document undo_frozen
9784
9785 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9786
9787         * counters.C (Counters): add missing algorithm counter.
9788
9789         * text2.C (setCounter): lookup the counter with layouts latexname
9790         instead of by section number.
9791         (setCounter): use a hackish way to lookup the correct enum
9792         counter.
9793         a float name->type change
9794         reset enum couners with counter name directly instead of depth value.
9795
9796         * counters.C (Counters): remove the push_backs, change to use the
9797         float type not the float name.
9798         (labelItem): remove unused string, float name->type change
9799
9800         * counters.h: don't include vector, loose the enums and sects vectors
9801
9802 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9803
9804         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9805         (Read): add float->TC_FLOAT to textclassTags
9806         (Read): and handle it in the switch
9807         (readFloat): new function
9808
9809         * FloatList.C (FloatList): comment out the hardcoded float
9810         definitions.
9811
9812         * lyxlayout.h: ws change.
9813
9814 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9815
9816         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9817
9818 2002-09-03  Angus Leeming  <leeming@lyx.org>
9819
9820         * BufferView_pimpl.h: qualified name is not allowed in member
9821         declaration: WorkArea & Pimpl::workarea() const;
9822
9823         * factory.C: added using std::endl directive.
9824
9825         * text3.C: added using std::find and std::vector directives.
9826
9827 2002-08-29  André Pönitz <poenitz@gmx.net>
9828
9829         * lyxtext.h:
9830         * text2.C: remove unused member number_of_rows
9831
9832         * Makefile.am:
9833         * BufferView2.C: remove file, move contents to...
9834         * BufferView.C: ... here
9835
9836         * BufferView_pimpl.C:
9837         * factory.C: move more inset creation to factory
9838
9839         * vspace.C: avoid direct usage of LyXText, ws changes
9840
9841         * BufferView.[Ch]:
9842                 don't provide direct access to WorkArea, use two simple
9843                 acessors haveSelction() and workHeight() instead
9844
9845
9846 2002-08-29  John Levon  <levon@movementarian.org>
9847
9848         * BufferView_pimpl.C (dispatch): do not continue when
9849           no buffer
9850
9851 2002-08-28  André Pönitz <poenitz@gmx.net>
9852
9853         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9854
9855         * BufferView.h:
9856         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9857
9858 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9859
9860         * buffer.C: increment LYX_FORMAT to 221
9861
9862         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9863         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9864
9865         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9866
9867         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9868
9869 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9870
9871         * factory.C (createInset): use LyXTextClass::floats
9872
9873         * MenuBackend.C (expandFloatListInsert):
9874         (expandFloatInsert):
9875         (expandToc):
9876
9877         * text2.C (setCounter):
9878
9879         * LaTeXFeatures.C (useFloat):
9880         (getFloatDefinitions):
9881
9882         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9883
9884         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9885         floatlist_, with accessor floats().
9886
9887         * FloatList.h: remove global FloatList
9888
9889 2002-08-26  André Pönitz <poenitz@gmx.net>
9890
9891         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9892
9893         * BufferView.h:
9894         * BufferView2.C:
9895         * BufferView_pimpl.C:
9896         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9897
9898 2002-08-25  John Levon  <levon@movementarian.org>
9899
9900         * LyXAction.C: fix margin note description
9901
9902 2002-08-24  John Levon  <levon@movementarian.org>
9903
9904         * buffer.C:
9905         * bufferlist.C:
9906         * bufferview_funcs.C:
9907         * lyxfont.C:
9908         * undo_funcs.C: cleanups
9909
9910         * lyxfunc.C: disable CUT/COPY when no selection
9911
9912 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9913
9914         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9915         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9916
9917         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9918         Add backward compatibility to "mono", "gray" and "no".
9919
9920 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9921
9922         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9923         (and file_format >= 200).
9924
9925 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9926
9927         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9928
9929 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9930
9931         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9932
9933 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9934
9935         * BufferView_pimpl.C:
9936         * LyXAction.C:
9937         * buffer.C:
9938         * commandtags.h:
9939         * lyxfunc.C:
9940         * paragraph.[Ch]:
9941         * text2.C:
9942         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9943         inset and code to make it  work with the paragraph code. The inset
9944         can be anywhere in the paragraph, but will only do the expected
9945         thing in LaTeX if the layout file contains the parameter line
9946                         OptionalArgs    1
9947         (or more generally, a nonzero value) for that layout.
9948
9949 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9950
9951         * paragraph.h: remove the declaration of undefined counters class
9952         function.
9953
9954 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9955
9956         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9957         Dr. Richard Hawkins.
9958
9959 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9960
9961         * paragraph_funcs.h: remove some unneeded includes
9962
9963         * text.C (backspace): pasteParagraph now in global scipe
9964
9965         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9966         (pasteSelection): ditto
9967
9968         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9969         * paragraph_funcs.C (pasteParagraph): ... here
9970
9971 2002-08-20  André Pönitz <poenitz@gmx.net>
9972
9973         * commandtags.h: new LFUNs for swapping/copying table row/colums
9974
9975         * LyXAction.C:
9976         * lyxfunc.C: support for new lfuns
9977
9978 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9979
9980         * tabular.C:
9981         * buffer.[Ch]: remove NO_COMPABILITY stuff
9982
9983 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9984
9985         * boost.C (throw_exception): new file, with helper function for
9986         boost compiled without exceptions.
9987
9988         * paragraph.h:
9989         * lyxlength.C:
9990         * buffer.C:
9991         * ParameterStruct.h:
9992         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9993
9994         * bufferlist.C (emergencyWriteAll): use boost bind
9995
9996         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9997
9998         * text.C: include paragraph_funcs.h
9999         (breakParagraph): breakParagraph is now in global scope
10000
10001         * paragraph_funcs.[Ch]: new files
10002
10003         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10004         global scope
10005
10006         * buffer.C: include paragraph_funcs.h
10007         (insertStringAsLines): breakParagraph is now in global scope
10008
10009         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10010         paragraph_funcs.C
10011
10012         * CutAndPaste.C: include paragraph_funcs.h
10013         (cutSelection): breakParagraphConservative is now in global scope
10014         (pasteSelection): ditto
10015
10016         * buffer.h: declare oprator== and operator!= for
10017         Buffer::inset_iterator
10018
10019         * bufferlist.C (emergencyWrite): don't use fmt(...)
10020
10021         * text3.C: add using std::endl
10022
10023         * BufferView.C (moveCursorUpdate): remove default arg
10024
10025 2002-08-20  André Pönitz <poenitz@gmx.net>
10026
10027         * buffer.[Ch]: move inline functions to .C
10028
10029         * BufferView2.C:
10030         * BufferView_pimpl.C:
10031         * text.C:
10032         * buffer.[Ch]: use improved inset_iterator
10033
10034         * buffer.C:
10035         * paragraph.[Ch]: write one paragraph at a time
10036
10037 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10038
10039         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10040         style if style is not specified.
10041
10042 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10043
10044         * text2.C (setCounter): when searching for right label for a
10045         caption, make sure to recurse to parent insets (so that a caption
10046         in a minipage in a figure float works) (bug #568)
10047
10048 2002-08-20  André Pönitz <poenitz@gmx.net>
10049
10050         * text3.C: new file for LyXText::dispatch() and helpers
10051
10052         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10053
10054         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10055
10056 2002-08-19  André Pönitz <poenitz@gmx.net>
10057
10058         * lyxtext.h:
10059         * text.C: new LyXText::dispatch()
10060
10061         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10062
10063 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10064
10065         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10066
10067         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10068         Hebrew text.
10069
10070 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10071
10072         * Makefile.am: use $(variables) instead of @substitutions@
10073
10074 2002-08-15  André Pönitz <poenitz@gmx.net>
10075
10076         * lyxfunc.C:
10077         * BufferView_pimpl.C: streamlining mathed <-> outer world
10078         interaction
10079
10080         * commandtags.h:
10081         * LyXAction.C: remove unused LFUN_MATH
10082
10083 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10084
10085         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10086
10087 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10088
10089         * paragraph.C (Paragraph): reformat a bit
10090         (cutIntoMinibuffer): use builtin InsetList function instad of
10091         doing it manually.
10092         (getInset): ditto
10093
10094         * buffer.C: include boost/bind.hpp, add using std::for_each
10095         (writeFileAscii): use ParagraphList iterators
10096         (validate): use for_each for validate traversal of paragraphs
10097         (getBibkeyList): use ParagraphList iterators
10098         (resizeInsets): use for_each to resizeInsetsLyXText for all
10099         paragraphs.
10100         (getParFromID): use ParagraphList iterators
10101
10102         * BufferView2.C (lockInset): use paragraph list and iterators
10103
10104 2002-08-14  John Levon  <levon@movementarian.org>
10105
10106         * lyxserver.C: remove spurious xforms include
10107
10108 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10109
10110         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10111
10112 2002-08-13  André Pönitz <poenitz@gmx.net>
10113
10114         * LyXAction.[Ch]:
10115         * lyxfunc.C: further cleaning
10116
10117 2002-08-13  André Pönitz <poenitz@gmx.net>
10118
10119         * funcrequest.h: new constructor
10120
10121         * funcrequest.C: move stuff here from .h
10122
10123         * Makefile.am:
10124         * BufferView_pimpl.C:
10125         * LyXAction.C:
10126         * toc.C:
10127         * lyxfunc.C: subsequent changes
10128
10129         * lyxfunc.h: new view() member function
10130
10131         * lyxfunc.C: subsequent changes
10132
10133 2002-08-13  Angus Leeming  <leeming@lyx.org>
10134
10135         * BufferView2.C:
10136         * BufferView_pimpl.C:
10137         * buffer.C:
10138         * converter.C:
10139         * importer.C:
10140         * lyxfunc.C:
10141         * lyxvc.C:
10142         * toc.C:
10143         * vc-backend.C:
10144         changes due to the changed LyXView interface that now returns references
10145         to member variables not pointers.
10146
10147 2002-08-13  Angus Leeming  <leeming@lyx.org>
10148
10149         * WordLangTuple (word, lang_code): return references to strings,
10150         not strings.
10151
10152         * BufferView.h:
10153         * SpellBase.h:
10154         * lyxtext.h: forward-declare WordLangTuple.
10155
10156         * BufferView2.C:
10157         * ispell.C:
10158         * pspell.C:
10159         * text.C: #include "WordLangTuple.h".
10160
10161         * lyxtext.h:
10162         * text.C: (selectNextWordToSpellcheck): constify return type.
10163
10164 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10165
10166         * buffer.C:
10167         * buffer.h:
10168         * lyxtext.h:
10169         * paragraph.C:
10170         * paragraph_pimpl.h:
10171         * text.C:
10172         * text2.C:
10173         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10174         suggested by Angus.
10175         Made updateCounter always count from start of buffer, and removed
10176         second argument (par).
10177         Reverted floats number display to '#'. Perhaps I'll try again when the
10178         code base is sanitized a bit.
10179
10180 2002-08-12  Angus Leeming  <leeming@lyx.org>
10181
10182         * buffer.[Ch] (getLabelList): constify.
10183
10184 2002-08-07  André Pönitz <poenitz@gmx.net>
10185
10186         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10187
10188         * funcrequest.h: extension to keep mouse (x,y) position
10189
10190 2002-08-12  Juergen Vigna  <jug@sad.it>
10191
10192         * BufferView2.C (insertErrors): forbid undo when inserting error
10193         insets.
10194
10195         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10196
10197 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10198
10199         * ParagraphList.[Ch]: new files
10200
10201         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10202
10203         * BufferView2.C (lockInset): ParagraphList changes
10204         * toc.C: ditto
10205         * text2.C: ditto
10206         * bufferlist.C: ditto
10207         * buffer.h: ditto
10208         * buffer.C: ditto
10209
10210 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10211
10212         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10213         unused class variable counter_,
10214
10215         * paragraph.[Ch] (getFirstCounter): delete unused function
10216
10217         * counters.C: include LAssert.h
10218         (reset): add a new function with no arg, change other version to
10219         not have def. arg and to not allow empty arg.
10220
10221         * text2.C (setCounter): remove empty arg from call to Counters::reset
10222
10223 2002-08-11  John Levon  <levon@movementarian.org>
10224
10225         * Makefile.am: add WordLangTuple.h
10226
10227 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10228
10229         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10230         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10231
10232         * insets/insettext.C: InsetList changes
10233
10234         * graphics/GraphicsSupport.C (operator()): InsetList changes
10235
10236         * toc.C (getTocList): InsetList changes
10237
10238         * paragraph_pimpl.[Ch]: InsetList changes
10239
10240         * paragraph.[Ch]: InsetList changes
10241
10242         * buffer.C (inset_iterator): InsetList changes
10243         (setParagraph): ditto
10244         * buffer.h (inset_iterator): ditto
10245         * iterators.C (operator++): ditto
10246         * iterators.h: ditto
10247
10248         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10249
10250         * InsetList.[Ch]: new files, most InsetList handling moved out of
10251         paragraph.C.
10252
10253         * BufferView2.C (removeAutoInsets): InsetList changes
10254         (lockInset): ditto
10255         (ChangeInsets): ditto
10256
10257 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10258
10259         * paragraph_pimpl.h (empty): new function
10260
10261         * paragraph.[Ch] (empty): new function
10262
10263         * other files: use the new Paragraph::empty function
10264
10265 2002-08-09  John Levon  <levon@movementarian.org>
10266
10267         * lyxtext.h: remove unused refresh_height
10268
10269 2002-08-09  John Levon  <levon@movementarian.org>
10270
10271         * Makefile.am:
10272         * sgml.h:
10273         * sgml.C:
10274         * buffer.C:
10275         * paragraph.h:
10276         * paragraph.C: move sgml char escaping out of paragraph
10277
10278         * paragraph.h:
10279         * paragraph.C: remove id setter
10280
10281         * buffer.C:
10282         * paragraph.C:
10283         * paragraph_pimpl.C: remove dead tex_code_break_column
10284
10285         * bufferview_funcs.C: small cleanup
10286
10287         * lyxfunc.C: remove dead proto
10288
10289         * lyxtext.h: make some stuff private. Remove some dead stuff.
10290
10291         * lyxgluelength.C: make as[LyX]String() readable
10292
10293 2002-08-08  John Levon  <levon@movementarian.org>
10294
10295         * LyXAction.h:
10296         * LyXAction.C:
10297         * MenuBackend.C:
10298         * ToolbarDefaults.C:
10299         * lyxfunc.C:
10300         * lyxrc.C:
10301         * toc.C: lyxaction cleanup
10302
10303 2002-08-08  John Levon  <levon@movementarian.org>
10304
10305         * BufferView2.C: small cleanup
10306
10307         * lyxfind.h:
10308         * lyxfind.C: move unnecessary header into the .C
10309
10310 2002-08-08  John Levon  <levon@movementarian.org>
10311
10312         * funcrequest.h: just tedious nonsense
10313
10314         * lyx_main.h:
10315         * lyx_main.C: cleanups
10316
10317         * buffer.C:
10318         * vspace.C: remove dead header lyx_main.h
10319
10320 2002-08-07  Angus Leeming  <leeming@lyx.org>
10321
10322         * Paragraph.[Ch]:
10323         * paragraph_pimpl.h:
10324         Forward declare class Counters in paragraph.h by moving the ctrs member
10325         variable into Paragraph::Pimpl.
10326         (counters): new method, returning a reference to pimpl_->ctrs.
10327
10328         * text2.C: ensuing changes.
10329
10330 2002-08-07  John Levon  <levon@movementarian.org>
10331
10332         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10333
10334         * BufferView_pimpl.C: announce X selection on double/triple
10335           click
10336
10337         * lyx_main.C: use correct bool in batch dispatch
10338
10339         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10340
10341 2002-08-07  André Pönitz <poenitz@gmx.net>
10342
10343         * funcrequest.h: new class to wrap a kb_action and its argument
10344
10345         * BufferView.[Ch]:
10346         * BufferView_pimpl[Ch]:
10347         * LaTeX.C:
10348         * LyXAction.[Ch]:
10349         * lyxfunc.[Ch]:
10350         * lyxrc.C: subsequent changes
10351
10352
10353 2002-08-07  John Levon  <levon@movementarian.org>
10354
10355         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10356           document options change.
10357
10358 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10359
10360         * counters.[Ch]
10361         * text2.C
10362         * paragraph.[Ch]
10363         * makefile.am: move counters functionality over from
10364         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10365
10366 2002-08-06  John Levon  <levon@movementarian.org>
10367
10368         * WordLangTuple.h: new file for word + language code tuple
10369
10370         * SpellBase.h:
10371         * pspell.h:
10372         * pspell.C:
10373         * ispell.h:
10374         * ispell.C:
10375         * lyxtext.h:
10376         * text.C:
10377         * text2.C:
10378         * BufferView.h:
10379         * BufferView2.C: use WordLangTuple
10380
10381         * layout.h:
10382         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10383
10384 2002-08-06  John Levon  <levon@movementarian.org>
10385
10386         * lyx_main.C: fix cmdline batch handling
10387
10388 2002-08-06  André Pönitz <poenitz@gmx.net>
10389
10390         * lyxrc.C: set default for show_banner to true
10391
10392 2002-08-06  John Levon  <levon@movementarian.org>
10393
10394         * pspell.C: fix a crash, and allow new aspell to work
10395
10396 2002-08-06  John Levon  <levon@movementarian.org>
10397
10398         * lyxfunc.C:
10399         * kbmap.C: small cleanup
10400
10401         * vspace.h:
10402         * vspace.C: add const
10403
10404 2002-08-05  John Levon  <levon@movementarian.org>
10405
10406         * LyXAction.C: back to tabular-insert
10407
10408 2002-08-04  John Levon  <levon@movementarian.org>
10409
10410         * BufferView.h:
10411         * BufferView.C: cosmetic change
10412
10413         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10414
10415         * bufferlist.C:
10416         * buffer.h:
10417         * buffer.C:
10418         * lyxcb.h:
10419         * lyxcb.C:
10420         * lyxserver.C:
10421         * lyxvc.C:
10422         * vc-backend.C:
10423         * BufferView2.C: purge all "Lyx" not "LyX" strings
10424
10425         * lyxcursor.h:
10426         * lyxcursor.C: attempt to add some documentation
10427
10428         * lyxfunc.C:
10429         * commandtags.h:
10430         * LyXAction.C:
10431         * ToolbarDefaults.C:
10432         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10433           merge with LFUN_TABULAR_INSERT
10434
10435         * Makefile.am:
10436         * SpellBase.h:
10437         * ispell.h:
10438         * ispell.C:
10439         * pspell.h:
10440         * pspell.C: split up i/pspell implementations into separate
10441           files, many cleanups
10442
10443         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10444
10445         * text2.C: some cleanup
10446
10447         * lyxfunc.C: don't check for isp_command == "none" any more, it
10448           didn't make any sense
10449
10450 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10451
10452         * counters.[Ch]
10453         * text2.C
10454         * paragraph.[Ch]
10455         * makefile.am: move counters functionality over
10456         from text2.C/paragraph.[Ch] to counters.[Ch], and
10457         make proper C++.
10458 2002-08-02  John Levon  <levon@movementarian.org>
10459
10460         * buffer.C: s/lyxconvert/lyx2lyx/
10461
10462 2002-08-02  Angus Leeming  <leeming@lyx.org>
10463
10464         * lyxlex.C: revert John's change as it breaks reading of the user
10465         preamble.
10466
10467 2002-08-02  Angus Leeming  <leeming@lyx.org>
10468
10469         * importer.C (Import):
10470         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10471         changes due to LyXView::view() now returning a boost::shared_ptr.
10472
10473 2002-08-02  John Levon  <levon@movementarian.org>
10474
10475         * lyxlex.C: small cleanup
10476
10477 2002-08-02  John Levon  <levon@movementarian.org>
10478
10479         * text2.C (status): small cleanup, no logic change
10480
10481 2002-08-01  John Levon  <levon@movementarian.org>
10482
10483         * buffer.h:
10484         * buffer.C (writeFile): don't output alerts, caller
10485           handles this
10486
10487         * bufferlist.C:
10488         * lyx_cb.C: from above
10489
10490         * lyxfunc.C: allow to open non-existent files
10491
10492 2002-07-31  John Levon  <levon@movementarian.org>
10493
10494         * lyxserver.C: don't let incidental errors get
10495           in the way (errno)
10496
10497 2002-07-30  John Levon  <levon@movementarian.org>
10498
10499         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10500
10501 2002-07-30  John Levon  <levon@movementarian.org>
10502
10503         * lyxserver.h:
10504         * lyxserver.C: remove I/O callback too
10505
10506 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10507
10508         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10509         log.
10510
10511 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10512
10513         * many files: strip,frontStrip -> trim,ltrim,rtrim
10514
10515 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10516
10517         * PrinterParams.h: remove extern containsOnly, and include
10518         support/lstrings.h instead.
10519
10520         * LaTeX.C (scanAuxFile): modify because of strip changes
10521         (deplog): ditto
10522         * buffer.C (makeLaTeXFile): ditto
10523         * bufferparams.C (writeFile): ditt
10524         * lyxfont.C (stateText): ditto
10525         * lyxserver.C (read_ready): ditto
10526         * vc-backend.C (scanMaster): ditto
10527
10528         * BufferView_pimpl.h: ws changes
10529
10530         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10531
10532 2002-07-26  André Pönitz <poenitz@gmx.net>
10533
10534         * kb_sequence.C: remove unnedred usings
10535
10536 2002-07-26  Juergen Vigna  <jug@sad.it>
10537
10538         * lyxfind.C (LyXReplace): we have to check better if the returned
10539         text is not of theLockingInset()->getLockingInset().
10540
10541 2002-07-25  Juergen Vigna  <jug@sad.it>
10542
10543         * lyxfind.C (LyXReplace): don't replace if we don't get the
10544         right LyXText.
10545
10546         * undo_funcs.C (createUndo): remove debugging code.
10547
10548 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10549
10550         * buffer.C (parseSingleLyXformat2Token): Use default placement
10551         when reading old floats.
10552
10553         * FloatList.C (FloatList): Change the default placement of figure
10554         and tables to "tbp".
10555
10556 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10557
10558         * MenuBackend.C: using std::max
10559
10560 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10561
10562         * MenuBackend.C (expandToc):
10563         (expandToc2): code moved from xforms menu frontend. It is now
10564         generic and TOCs are transparent to menu frontends.
10565
10566 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10567
10568         * toc.C (getTocList): protect against buf=0
10569
10570         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10571         Menu as first parameter. Now, this calls itself recursively to
10572         expand a whole tree (this will be useful for TOC handling)
10573         (expandFloatInsert): remove 'wide' version of floats
10574
10575         * MenuBackend.h (submenuname): returns the name of the submenu.
10576         (submenu): returns the submenu itself, provided it has been
10577         created by MenuBackend::expand
10578
10579 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10580
10581         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10582         insets which have noFontChange == true. (bug #172)
10583
10584 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10585
10586         * BufferView_pimpl.C: add connection objects and use them...
10587         (Pimpl): here.
10588
10589 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10590
10591         * MenuBackend.C (expandLastfiles):
10592         (expandDocuments):
10593         (expandFormats):
10594         (expandFloatListInsert):
10595         (expandFloatInsert):
10596         (expand): split expand in parts
10597
10598 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10599
10600         * lyx_gui.C: use lyx_gui::exit()
10601
10602 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10603
10604         * LyXAction.C: show the failing pseudo action
10605
10606 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10607
10608         * buffer.C (readFile): Run the lyxconvert script in order to read
10609         old files.
10610
10611 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10612
10613         * LyXAction.C:
10614         * commandtags.h:
10615         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10616
10617 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * LyXAction.C:
10620         * commandtags.h:
10621         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10622
10623 2002-07-22  Herbert Voss  <voss@lyx.org>
10624
10625         * lengthcommon.C:
10626         * lyxlength.[Ch]: add support for the vertical lengths
10627
10628 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10629
10630         * toc.[Ch]: std:: fixes
10631
10632 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10633
10634         * lyxrc.C: do not include lyx_main.h
10635
10636         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10637         for layouts
10638
10639         * lyxrc.C:
10640         * encoding.C:
10641         * bufferlist.C:
10642         * BufferView2.C: include "lyxlex.h"
10643
10644         * tabular.h:
10645         * bufferparams.h: do not #include "lyxlex.h"
10646
10647         * lyxtextclasslist.C (Add): remove method
10648         (classlist): renamed to classlist_
10649
10650         * paragraph_pimpl.C:
10651         * paragraph.C:
10652         * text2.C:
10653         * CutAndPaste.C:
10654         * bufferview_funcs.C:
10655         * bufferlist.C:
10656         * text.C:
10657         * LaTeXFeatures.C:
10658         * buffer.C:
10659         * toc.C (getTocList): use BufferParams::getLyXTextClass
10660
10661         * toc.C (getTocList): use InsetFloat::addToToc
10662
10663         * toc.[Ch]: new files, containing helper functions to handle table
10664         of contents
10665
10666         * lyxfunc.C (dispatch): no need to remove spaces around command
10667         given as a string
10668         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10669         first command of the sequence; it is not very clever, but I do not
10670         have a better idea, actually
10671
10672         * LyXAction.C (LookupFunc): make sure to remove space at the
10673         beginning and end of the command
10674
10675 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10676
10677         * MenuBackend.C (getMenubar): new method: return the menubar of
10678         this menu set
10679         (read): treat differently reading of menu and menubar (in
10680         particular, the menubar has no name now)
10681         (Menu::menubar): remove
10682
10683         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10684         saving is finished
10685
10686 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10687
10688         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10689         a bibitem inset in a RTL paragraph.
10690
10691 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10692
10693         * paragraph_pimpl.C: constify
10694
10695         * BufferView_pimpl.C:
10696         * LaTeX.C:
10697         * lyxfunc.C: fix dispatch in a nicer way
10698
10699 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10700
10701         * lyxfunc.C (dispatch):
10702         * BufferView_pimpl.C:
10703         * BufferView_pimpl.h:
10704         * BufferView.C:
10705         * BufferView.h: rename Dispatch() to dispatch()
10706
10707         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10708
10709         * lyxlayout.C (Read): honor DependsOn tag
10710
10711         * lyxlayout.[Ch] (depends_on): new method
10712
10713         * version.C.in: update lyx_docversion
10714
10715         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10716
10717         * paragraph.C (validate): remove from here...
10718         * paragraph_pimpl.C (validate): ... and move here
10719         (isTextAt): make it const
10720
10721         * buffer.C (getLists): ws cleanup
10722
10723 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10724
10725         * language.C (read): Use iso8859-1 encoding in latex_lang
10726         (this prevents LyX from crashing when using iso10646-1 encoding).
10727
10728 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10729
10730         * text2.C (toggleInset): if cursor is inside an inset, close the
10731         inset and leave cursor _after_ it
10732
10733 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10734
10735         * lyxfunc.C: move minibuffer completion handling out of here
10736
10737 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10738
10739         * BufferView_pimpl.C:
10740         * LaTeX.C: fix dispatch calls
10741
10742 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10743
10744         * text.C (drawChars): Fix Arabic text rendering.
10745
10746 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10747
10748         * LyXAction.C:
10749         * commandtags.h:
10750         * lyxfunc.C: remove message-push/pop
10751
10752         * lyxserver.C:
10753         * lyxfunc.h:
10754         * lyxfunc.C: rationalise some code by removing verboseDispatch
10755           in favour of a bool argument to dispatch()
10756
10757 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10758
10759         * lyx_main.C (init): make sure to read symlinks as absolute paths
10760
10761 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10762
10763         * lyxfunc.h:
10764         * lyxfunc.C: no need for commandshortcut to be a member
10765
10766 2002-07-15  André Pönitz <poenitz@gmx.net>
10767
10768         * converter.C: add support for $$s (scripts from lib/scripts dir)
10769         * lyx_main.C: white space
10770
10771 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10772
10773         * bufferlist.C:
10774         * lyxrc.h:
10775         * lyxrc.C: remove second exit confirmation
10776
10777 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10778
10779         * BufferView.h:
10780         * BufferView.C:
10781         * BufferView2.C:
10782         * BufferView_pimpl.h:
10783         * BufferView_pimpl.C:
10784         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10785
10786 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10787
10788         * MenuBackend.C (expand): add numeric shortcuts to document menu
10789
10790         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10791
10792 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10793
10794         * lyxfont.C (setLyXFamily):
10795         (setLyXSeries):
10796         (setLyXShape):
10797         (setLyXSize):
10798         (setLyXMisc):
10799         (lyxRead):
10800         * debug.C (value):
10801         * buffer.C (asciiParagraph): use ascii_lowercase
10802
10803 2002-07-15  Mike Fabian  <mfabian@suse.de>
10804
10805         * lyxlex_pimpl.C (search_kw):
10806         * lyxlex.C (getLongString):
10807         * converter.h (operator<):
10808         * converter.C (operator<):
10809         * buffer.C (parseSingleLyXformat2Token):
10810         (asciiParagraph):
10811         * ToolbarDefaults.C (read):
10812         * MenuBackend.C (checkShortcuts):
10813         (read):
10814         * LColor.C (getFromGUIName):
10815         (getFromLyXName): use the compare_ascii_no_case instead of
10816         compare_no_case, because in turkish, 'i' is not the lowercase
10817         version of 'I', and thus turkish locale breaks parsing of tags.
10818
10819 2002-07-16  Angus Leeming  <leeming@lyx.org>
10820
10821         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10822         now takes a Buffer const & argument.
10823
10824 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10825
10826         * BufferView.C (resize): check there's a buffer to resize
10827
10828 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10829
10830         * lyxfunc.C: remove dead code
10831
10832         * lyxserver.h:
10833         * lyxserver.C: use lyx_guii::set_read_callback
10834
10835 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10836
10837         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10838         an inset in a RTL paragraph.
10839
10840 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10841
10842         * lyxfunc.C: repaint after a font size update
10843
10844 2002-07-15  André Pönitz <poenitz@gmx.net>
10845
10846         * lyxlength.C: inBP should be able to return negative values
10847
10848 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10849
10850         * lyxfunc.C: use lyx_gui::update_fonts()
10851
10852 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10853
10854         * lyxfunc.C: use lyx_gui::update_color()
10855
10856 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10857
10858         * bufferlist.C:
10859         * lyxfunc.h:
10860         * lyxfunc.C:
10861         * lyxrc.h:
10862         * lyxrc.C: remove file->new asks for name option, and let
10863           buffer-new take an argument
10864
10865 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10866
10867         * BufferView_pimpl.C: remove unneeded extra repaint()
10868
10869 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10870
10871         * LyXAction.C: allow command-sequence with NoBuffer
10872
10873         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10874
10875 2002-07-10  Angus Leeming  <leeming@lyx.org>
10876
10877         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10878
10879 2002-07-09  Angus Leeming  <leeming@lyx.org>
10880
10881         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10882
10883 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10884
10885         * lengthcommon.h: whitespace
10886
10887         * lyxfunc.C: update scrollbar after goto paragraph
10888
10889         * lyxtext.h: factor out page break drawing, and fix it so
10890           page break/added space paints as selected nicely
10891
10892 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10893
10894         * BufferView_pimpl.C: add FIXMEs, clean up a little
10895
10896 2002-07-09  André Pönitz <poenitz@gmx.net>
10897
10898         * lyxfont.[Ch]: support for wasy symbols
10899
10900 2002-07-08  André Pönitz <poenitz@gmx.net>
10901
10902         * BufferView_pimpl.C: apply John's patch for #93.
10903
10904 2002-07-05  Angus Leeming  <leeming@lyx.org>
10905
10906         * BufferView_pimpl.C (buffer): generate previews if desired.
10907
10908         * LColor.h: add "preview" to the color enum.
10909
10910         * LColor.C (LColor): add a corresponding entry to the items array.
10911
10912         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10913         with this buffer.
10914
10915 2002-07-05  Angus Leeming  <leeming@lyx.org>
10916
10917         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10918         The body of the code is now in the method that is passed an ostream &
10919         rather than a file name.
10920         Pass an additional only_preamble parameter, useful for the forthcoming
10921         preview stuff.
10922
10923 2002-07-03  André Pönitz <poenitz@gmx.net>
10924
10925         * lyxfunc.C: simplify getStatus() a bit for math stuff
10926
10927 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10928
10929         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10930
10931 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10932
10933         * text.C (changeRegionCase): do not change case of all the
10934         document when region ends at paragraph end (bug #461)
10935
10936 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10937
10938         * paragraph.C (startTeXParParams):
10939         (endTeXParParams): add \protect when necessary
10940
10941 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10942
10943         * BufferView_pimpl.C (workAreaExpose): remove warning
10944
10945 2002-06-27  Angus Leeming  <leeming@lyx.org>
10946
10947         * Makefile.am: add lyxlayout_ptr_fwd.h.
10948
10949 2002-06-26  André Pönitz <poenitz@gmx.net>
10950
10951         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10952
10953 2002-06-25  Angus Leeming  <leeming@lyx.org>
10954
10955         * lyxfunc.C (dispatch): Comment out the call to
10956         grfx::GCache::changeDisplay. The method no longer exists now that the
10957         pixmap generation part of the graphics loader has been moved into
10958         InsetGraphics.
10959
10960 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10961
10962         * text2.C: layout as layout
10963
10964         * text.C: layout as layout
10965
10966         * tabular.C (OldFormatRead): layout as layout
10967
10968         * paragraph_pimpl.C (TeXDeeper): layout as layout
10969         (realizeFont): layout as layout
10970
10971         * paragraph.C (writeFile): layout as layout
10972         (validate): layout as layout
10973         (getFont): layout as layout
10974         (getLabelFont): layout as layout
10975         (getLayoutFont): layout as layout
10976         (breakParagraph): layout as layout
10977         (stripLeadingSpaces): layout as layout
10978         (getEndLabel): layout as layout
10979         (getMaxDepthAfter): layout as layout
10980         (applyLayout): layout as layout
10981         (TeXOnePar): layout as layout
10982         (simpleTeXOnePar): layout as layout
10983         (TeXEnvironment): layout as layout
10984         (layout): layout as layout
10985         (layout): layout as layout
10986
10987         * lyxtextclass.C (compare_name): new functor to work with
10988         shared_ptr, layout as layout
10989         (Read): layout as layout
10990         (hasLayout): layout as layout
10991         (operator): layout as layout
10992         (delete_layout): layout as layout
10993         (defaultLayout): layout as layout
10994
10995         * lyxlayout_ptr_fwd.h: new file
10996
10997         * lyxlayout.C (Read): layout as layout
10998
10999         * lyx_cb.C (MenuInsertLabel): layout as layout
11000
11001         * bufferlist.C (newFile): layout as layout
11002
11003         * buffer.C (readLyXformat2): layout as layout
11004         (parseSingleLyXformat2Token): layout as layout
11005         (insertStringAsLines): layout as layout
11006         (asciiParagraph): layout as layout
11007         (latexParagraphs): layout as layout
11008         (makeLinuxDocFile): layout as layout
11009         (simpleLinuxDocOnePar): layout as layout
11010         (makeDocBookFile): layout as layout
11011         (simpleDocBookOnePar): layout as layout
11012         (getLists): layout as layout
11013
11014         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11015
11016         * CutAndPaste.C (cutSelection): layout as layout
11017         (pasteSelection): layout as layout
11018         (SwitchLayoutsBetweenClasses): layout as layout
11019
11020         * BufferView_pimpl.C (Dispatch): layout as layout
11021         (smartQuote): layout as layout
11022
11023         * BufferView2.C (unlockInset): layout as layout
11024
11025 2002-06-24  André Pönitz <poenitz@gmx.net>
11026
11027         * lyxfunc.C: fix #487
11028
11029 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11030
11031         * lyxrc.h:
11032         * lyxrc.C:
11033         * lyxfunc.C: remove display_shortcuts, show_banner
11034
11035 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11036
11037         * Buffer_pimpl.C: oops, update on resize
11038
11039 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11040
11041         * buffer.C:
11042         * converter.C:
11043         * exporter.C:
11044         * lyxfunc.C:
11045         * BufferView.h:
11046         * BufferView.C: use repaint()
11047
11048         * BufferView_pimpl.h:
11049         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11050           as it's a clearer description. Remove superfluous
11051           redraws.
11052
11053 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11054
11055         * text.C: fix bug 488. Not ideal, but getting
11056           getWord() to work properly for the insets that
11057           matter is more difficult ...
11058
11059 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11060
11061         * BufferView_pimpl.C:
11062         * LyXAction.C:
11063         * commandtags.h:
11064         * lyxfunc.C: remove the six million index lyxfuncs to just
11065           one, and DTRT (bug 458)
11066
11067 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11068
11069         * BufferView.h:
11070         * BufferView.C:
11071         * BufferView_pimpl.h:
11072         * BufferView_pimpl.C: clean up resize() stuff,
11073           and unnecessary updateScreen()s
11074
11075 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11076
11077         * BufferView.h:
11078         * BufferView.C:
11079         * BufferView_pimpl.h:
11080         * BufferView_pimpl.C:
11081         * lyxfind.h:
11082         * lyxfind.C:
11083         * minibuffer.C: remove focus management of workarea,
11084           not needed. Use screen's greyOut()
11085
11086 2002-06-17  Herbert Voss  <voss@lyx.org>
11087
11088         * converter.C: (convert) do not post a message, when converting
11089         fails, let the calling function decide what to do in this case
11090
11091 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11092
11093         * lyxfunc.C: tidy up a little
11094
11095 2002-06-16    <alstrup@diku.dk>
11096
11097         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11098         Got rid of FORMS_H_LOCATION include. Now we are
11099         GUII.
11100
11101 2002-06-15  LyX Development team  <lyx@rilke>
11102
11103         * buffer.[Ch] (sgmlOpenTag):
11104         (sgmlCloseTag): Added support for avoiding pernicious mixed
11105         content. Return number of lines written.
11106
11107         (makeLinuxDocFile):
11108         (makeDocBookFile): Fixed calls to sgml*Tag.
11109         Simple white space clean.
11110
11111         (simpleDocBookOnePar): Simple white space clean.
11112
11113         * tabular.[Ch] (docBook): Renamed to docbook and got another
11114         argument to related with the pernicious mixed content.
11115
11116         (docbookRow): Fixed calls for docbook inset method.
11117
11118 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11119
11120         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11121         so it's X11 independent.
11122
11123         * kb*.[Ch]: ditto.
11124
11125         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11126
11127 2002-06-15  Lyx Development team  <lyx@electronia>
11128
11129         * intl.h: Renamed getTrans to getTransManager.
11130
11131 2002-06-14  Angus Leeming  <leeming@lyx.org>
11132
11133         * Makefile.am: nuke forgotten stl_string_fwd.h.
11134
11135 2002-06-12  Angus Leeming  <leeming@lyx.org>
11136
11137         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11138
11139 2002-06-13  Angus Leeming  <leeming@lyx.org>
11140
11141         * LaTeX.C:
11142         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11143
11144 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11145
11146         * kbmap.C (getiso): add support for cyrillic and greek
11147
11148 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11149
11150         * BufferView.h:
11151         * BufferView.C:
11152         * BufferView_pimpl.h:
11153         * BufferView_pimpl.C: move bogus scrolling logic
11154           to xforms
11155
11156 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * lyxfunc.C:
11159         * BufferView_pimpl.C: view->resize() change
11160
11161 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11162
11163         * BufferView_pimpl.C: topCursorVisible
11164           prototype change
11165
11166 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11167
11168         * Makefile.am:
11169         * lyx_gui.h:
11170         * lyx_gui.C: move to frontends/
11171
11172         * main.C:
11173         * lyx_main.h:
11174         * lyx_main.C: changes from above
11175
11176 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11177
11178         * intl.C:
11179         * intl.h:
11180         * kbmap.C:
11181         * kbsequence.C:
11182         * lyx_cb.C:
11183         * lyx_main.C: minor tidy
11184
11185 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11186
11187         * BufferView_pimpl.h:
11188         * BufferView_pimpl.C:
11189         * BufferView.h:
11190         * BufferView.C: make painter() const,
11191           remove dead code
11192
11193         * BufferView2.C: use screen() accessor
11194
11195         * lyx_main.h:
11196         * lyx_main.C: some minor cleanup
11197
11198 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11199
11200         * BufferView_pimpl.h:
11201         * BufferView_pimpl.C: remove enter/leaveView,
11202           use workHeight()
11203
11204 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11205
11206         * BufferView.h:
11207         * BufferView.C:
11208         * BufferView2.C:
11209         * BufferView_pimpl.h:
11210         * BufferView_pimpl.C: only construct screen once,
11211           rename
11212
11213         * lyxrc.C: remove pointless comment
11214
11215 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11216
11217         * BufferView.h:
11218         * BufferView.C: remove active() and belowMouse()
11219
11220         * BufferView_pimpl.h:
11221         * BufferView_pimpl.C: use workarea() not workarea_,
11222           and make it use a scoped_ptr instead
11223
11224 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11225
11226         * lyx_gui.C: add debug message on BadWindow
11227
11228 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11229
11230         * sp_spell.C: fdopen is not part of the C++ standard.
11231
11232         * paragraph.C (InsetIterator): use >= instead of ==
11233
11234 2002-06-07  Angus Leeming  <leeming@lyx.org>
11235
11236         Fixes needed to compile with Compaq cxx 6.5.
11237         * BufferView_pimpl.C:
11238         * DepTable.C:
11239         * buffer.C:
11240         * converter.C:
11241         * encoding.C:
11242         * lyx_gui.C:
11243         * lyx_main.C:
11244         * lyxtextclasslist.C:
11245         * minibuffer.C:
11246         * sp_spell.C:
11247         * tabular_funcs.C:
11248         * vc-backend.C:
11249         all c-library variables have been moved into namespace std. Wrap
11250         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11251
11252         * lyxlength.C:
11253         * tabular-old.C:
11254         * tabular.C:
11255         Add a using std::abs declaration.
11256
11257         * kbmap.h (modifier_pair):
11258         * paragraph.h (InsetTable, InsetList):
11259         * lyxfont.h (FontBits):
11260         type definition made public.
11261
11262         * bufferlist.C (emergencyWriteAll): the compiler complains that
11263         there is more than one possible lyx::class_fun template to choose from.
11264         I re-named the void specialisation as lyx::void_class_fun.
11265
11266         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11267
11268         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11269         the compiler is is unable to find tostr in write_attribute.
11270
11271 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11272
11273         * buffer.C (sgmlError): hide #warning
11274
11275 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11276
11277         * xtl/*: get rid of xtl, which is not in use anyway
11278
11279         * LyXAction.C (init):
11280         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11281         were unimplemented xtl experimentation
11282
11283 2002-06-04  André Pönitz <poenitz@gmx.net>
11284
11285         * lyxfunc.C: disable array operation on simple formulae
11286
11287 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11288
11289         * converter.C: constify a bit
11290
11291 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11292
11293         * lyx_gui.C: check xforms version correctly
11294
11295 2002-04-30  Herbert Voss  <voss@lyx.org>
11296
11297         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11298         "keep" option
11299
11300 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11301
11302         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11303           attempt to register it with a VCS)
11304
11305 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11306
11307         * lyx_main.C (init): honor variables LYX_DIR_13x and
11308         LYX_USERDIR_13x
11309
11310 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11311
11312         * buffer.h:
11313         * buffer.C:
11314         * lyx_main.C: fix a crash on bad command line,
11315           and give a useful exit status on error
11316
11317         * lyxfunc.C (doImport): allow -i lyx to work
11318
11319 2002-03-30  André Pönitz <poenitz@gmx.net>
11320
11321         * lyxfunc.C: mathed font changes
11322
11323 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11324
11325         * LaTeX.C:
11326         * importer.h:
11327         * importer.C:
11328         * lyx_sty.h:
11329         * lyx_sty.C:
11330         * lyxlex.C:
11331         * lyxrow.h:
11332         * lyxtext.h:
11333         * paragraph.h:
11334         * paragraph.C:
11335         * texrow.h:
11336         * texrow.C:
11337         * text.C:
11338         * trans_mgr.h: srcdocs, and some minor cleanups
11339
11340 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11341
11342         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11343         call getFont all the time)
11344
11345 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11346
11347         * switch from SigC signals to boost::signals
11348
11349 2002-05-29  André Pönitz <poenitz@gmx.net>
11350
11351         * paragraph_pimpl.C (getChar): don't call size() too often...
11352
11353 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11354
11355         * paragraph_pimpl.C (insertChar): do not try to update tables when
11356         appending (pos == size())
11357
11358         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11359         in order to reduce drastically the number of comparisons needed to
11360         parse a large document
11361
11362 2002-05-29  André Pönitz <poenitz@gmx.net>
11363
11364         * text.C:
11365         * text2.C:
11366         * lyxtextclass.C:
11367         * sp_pspell.h:
11368         * textclasslist.[Ch]:
11369         * sp_ispell.h: whitespace change
11370
11371 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11372
11373         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11374         lyxaction directly now.
11375
11376 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * trans.C:
11379         * lyxfont.C:
11380         * lyxvc.C: remove unused headers
11381
11382 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11383
11384         * Makefile.am:
11385         * buffer.h:
11386         * undostack.h:
11387         * undostack.C:
11388         * undo_funcs.h:
11389         * undo_funcs.C: some cleanups. Use shared_ptr
11390           and a template for the undo stacks.
11391
11392 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11393
11394         * BufferView_pimpl.h:
11395         * BufferView_pimpl.C:
11396         * kbmap.h:
11397         * kbmap.C:
11398         * kbsequence.h:
11399         * kbsequence.C:
11400         * lyxfunc.h:
11401         * lyxfunc.C:
11402         * text2.C: use key_state/mouse_state
11403
11404 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11405
11406         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11407         and LSubstring
11408
11409         * chset.C: change include order
11410         (loadFile): use boost regex and get rid of LRegex and LSubstring
11411
11412         * Makefile.am (BOOST_LIBS): new variable
11413         (lyx_LDADD): use it
11414
11415         * LaTeX.C: change include order.
11416         (scanAuxFile): use boost regex and get rid of LRegex and
11417         LSubstring
11418         (deplog): ditto
11419
11420 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11421
11422         * ColorHandler.h:
11423         * ColorHandler.C:
11424         * FontInfo.h:
11425         * FontInfo.C: moved to frontends/xforms/
11426
11427         * FontLoader.h:
11428         * FontLoader.C: moved into frontends for GUIIzation
11429
11430         * Makefile.am:
11431         * lyx_gui.C:
11432         * lyxfont.C:
11433         * lyxfunc.C: changes from above
11434
11435 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11436
11437         * LColor.C: remove spurious X include
11438
11439         * BufferView_pimpl.C:
11440         * Makefile.am:
11441         * font.h:
11442         * font.C:
11443         * text.C:
11444         * text2.C: move font metrics to frontends/
11445
11446 2002-05-24  Juergen Vigna  <jug@sad.it>
11447
11448         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11449         setting the undo_cursor.
11450
11451         * ParagraphParameters.h: include local includes first.
11452
11453 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11454
11455         * BufferView_pimpl.C:
11456         * BufferView_pimpl.h:
11457         * Makefile.am:
11458         * WorkArea.h:
11459         * WorkArea.C:
11460         * screen.C: move WorkArea into frontends/
11461
11462         * lyxscreen.h:
11463         * screen.C:
11464         * text.C:
11465         * BufferView.C:
11466         * BufferView2.C: move LyXScreen into frontends/
11467
11468         * lyxlookup.h:
11469         * lyxlookup.C:
11470         * lyx_gui.C: move lyxlookup into frontends/xforms/
11471
11472 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11473
11474         * BufferView2.C:
11475         * BufferView_pimpl.C:
11476         * FontLoader.C:
11477         * LyXView.h:
11478         * LyXView.C:
11479         * Makefile.am:
11480         * WorkArea.C:
11481         * XFormsView.h:
11482         * XFormsView.C:
11483         * buffer.C:
11484         * bufferlist.C:
11485         * bufferview_funcs.C:
11486         * converter.C:
11487         * importer.C:
11488         * lyx_cb.C:
11489         * lyx_gui.C:
11490         * lyx_main.C:
11491         * lyx_find.C:
11492         * lyxfunc.C:
11493         * lyxvc.C:
11494         * minibuffer.C:
11495         * text.C:
11496         * text2.C:
11497         * trans.C:
11498         * vc-backend.C: move LyX/XFormsView into frontends/
11499
11500 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11501
11502         * Makefile.am:
11503         * PainterBase.C:
11504         * PainterBase.h:
11505         * Painter.C:
11506         * Painter.h:
11507         * WorkArea.C:
11508         * WorkArea.h:
11509         * screen.C:
11510         * tabular.C:
11511         * text.C:
11512         * text2.C: move Painter to frontends/
11513
11514 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11515
11516         * buffer.C: comment out some some code that depend upon lyx_format
11517         < 220
11518
11519         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11520         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11521
11522         * buffer.h (NO_COMPABILITY): turn off compability
11523
11524         * ColorHandler.C: include scoped_array.hpp
11525
11526         * font.C: Use more specific smart_ptr header.
11527         * Painter.C: ditto
11528         * gettext.C: ditto
11529         * ShareContainer.h: ditto
11530         * lyx_main.h: ditto
11531         * kbmap.h: ditto
11532         * FontInfo.h: ditto
11533         * BufferView_pimpl.h: ditto
11534         * ColorHandler.h: ditto
11535
11536         * kbmap.C (defkey): change call to shared_ptr::reset
11537
11538 2002-05-21  Juergen Vigna  <jug@sad.it>
11539
11540         * buffer.C (insertErtContents): fix to insert ert asis if it is
11541         non empty. Skip it completely if it contains only whitespaces.
11542
11543 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11544
11545         * BufferView_pimpl.C:
11546         * BufferView2.C: clear selection on paste (bug 393)
11547
11548 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11549
11550         * DepTable.C: include ctime
11551
11552 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11553
11554         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11555
11556 2002-05-14  Juergen Vigna  <jug@sad.it>
11557
11558         * text.C (breakParagraph): fixed function to honor the keepempty
11559         layout in the right maner and also to permit the right breaking
11560         algorithm on empty or non empyt keepempty paragraphs.
11561
11562         * paragraph.C (breakParagraph): we have to check also if the par
11563         is really empty (!size()) for isempty otherwise we do the wrong
11564         paragraph break.
11565
11566 2002-05-10  Juergen Vigna  <jug@sad.it>
11567
11568         * buffer.[Ch] : The following are only changes to the ert
11569         compatibility read reading old LaTeX layout and font stuff and
11570         convert it to ERTInsets.
11571
11572         * buffer.h: added isErtInset().
11573
11574         * buffer.C (struct ErtComp): add a fromlayout bool to check
11575         if we're inside a LaTeX layout.
11576         (isErtInset): new helper function.
11577         (insertErtContents): look for other ert insets before this one
11578         and insert the contents there, so that we don't have subsequent
11579         ERT insets with nothing between them. This way we create only one
11580         inset with multiple paragraphs. Also check if we don't insert only
11581         spaces ' ' as they are ignored anyway afterwards in the .tex file
11582         so if we have only spaces we will ignore this latex part in the
11583         new file.
11584         (parseSingleLyXformat2Token \\layout): better compatibility when
11585         reading layout-latex stuff.
11586         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11587         language tag.
11588         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11589         stuff after reading the inset only get the information back from
11590         the stack.
11591
11592 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11593
11594         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11595
11596         * LaTeXFeatures.C (getBabelOptions): New method.
11597
11598 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11599
11600         * BufferView_pimpl.C (Dispatch): work around missing argument for
11601         'layout'
11602
11603 2002-05-08  Juergen Vigna  <jug@sad.it>
11604
11605         * text.C (leftMargin): handle paragraph leftindent.
11606
11607         * paragraph.C (writeFile): write the new \\leftindent tag.
11608         (validate): handle leftindent code.
11609         (TeXEnvironment): handle paragraphleftindent code again.
11610
11611         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11612
11613         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11614         for paragrap_extra indent code and new token \\leftindent.
11615         (latexParagraphs): handle the leftindent as environment.
11616
11617         * ParameterStruct.h: added leftindent support.
11618
11619         * ParagraphParameters.C (leftIndent): added support functions for
11620         the paragraph left indent.
11621
11622         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11623         more appropriate.
11624
11625 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11626
11627         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11628         inside insetERT.
11629
11630         * text.C (computeBidiTables): No bidi in insetERT.
11631
11632         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11633         in RTL documents.
11634
11635 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11636
11637         * version.C.in: pre 5
11638
11639 2002-05-02  José Matos  <jamatos@fep.up.pt>
11640         * buffer.C (makeDocBookFile): white space changes, add newline to
11641         command styles.
11642         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11643
11644         * tabular.C (docBook): fix typo.
11645
11646 2002-05-03  Juergen Vigna  <jug@sad.it>
11647
11648         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11649         change in LyXText as we can not be sure it was not freed.
11650         (drawOneRow): remove unused code.
11651
11652         * text.C (drawInset): redo the calculation of the need_break_row as
11653         it could have a row which was already freed.
11654         (draw): look at the return value of drawInset and return false if
11655         it also returned false.
11656         (paintRowText): look at the return value of draw and return false if
11657         it also returned false.
11658
11659         * lyxtext.h: added bool return type to drawInset() and draw() so that
11660         if we have a change in the row so that the rowbreak has to be redone
11661         we abort drawing as it will be called again.
11662
11663 2002-05-02  Juergen Vigna  <jug@sad.it>
11664
11665         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11666         a change in the maintext also if we're inside an inset.
11667         (Dispatch): set the cursor again after a break line and after the
11668         screen has been updated as it could be we're in a different row.
11669
11670         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11671         to set the cursor behind the pargraph with > size().
11672         (setCursor): check also for the same paragraph when checking where
11673         to put the cursor if we have a NFR inset.
11674
11675         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11676         parts of layout read further up as it still was in the wrong
11677         position.
11678
11679 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11680
11681         * screen.C (drawFromTo): change sine fullRebreak always return
11682         true.
11683
11684         * buffer.C (parseSingleLyXformat2Token): reindent some
11685
11686         * BufferView_pimpl.C (update): change since fullRebreak always
11687         return true.
11688         (Dispatch): git rid of the last hardcoded "Standard"s.
11689
11690 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11691
11692         * text2.[Ch] (fullRebreak): make it return void now that we always
11693         returned true.
11694
11695 2002-04-30  Juergen Vigna  <jug@sad.it>
11696
11697         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11698         ert compatibility check for "latex" layout.
11699
11700 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11701
11702         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11703         minipages: use col% instead of p%, and also use the current font.
11704         (makeLaTeXFile): Fix use babel condition.
11705         (parseSingleLyXformat2Token): Correct font when reading old floats.
11706
11707 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11708
11709         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11710         inserting list of floats.
11711
11712 2002-04-25  Herbert Voss  <voss@lyx.org>
11713
11714         * MenuBackend.C (expand): don't add the graphics extensions to the
11715         export menu
11716
11717 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11718
11719         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11720         non-existing layout, do not complain if it was the default layout
11721         of the original class (bug #342)
11722
11723 2002-04-24  Juergen Vigna  <jug@sad.it>
11724
11725         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11726         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11727
11728 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11729
11730         * buffer.C (getBibkeyList): If using \bibliography, return the
11731         option field with the reference itself. Enables us to provide natbib
11732         support when using \bibliography.
11733
11734 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11735
11736         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11737
11738         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11739         natbib is provided by the LaTeX class.
11740
11741 2002-04-23  Juergen Vigna  <jug@sad.it>
11742
11743         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11744         Wakeup functions.
11745
11746         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11747
11748 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11749
11750         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11751
11752         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11753         ensuremath around textordmasculine, textordfeminine and
11754         textdegree.
11755
11756 2002-04-19  Juergen Vigna  <jug@sad.it>
11757
11758         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11759         reinitializing the buffer otherwise row-dimensions may be wrong.
11760         (update): reset also the selection cursors if they do exits otherwise
11761         their x/y positions may be wrong.
11762
11763         * text2.C (cursorDown): don't enter the inset if we came from a row
11764         above and are one row over the inset.
11765
11766         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11767         really leaving an inset.
11768
11769 2002-04-18  Juergen Vigna  <jug@sad.it>
11770
11771         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11772         of the selected paragraph does not have the selected layout also if
11773         the last one had!
11774
11775         * text2.C (setLayout): fixed bug which did not change last selected
11776         paragraph.
11777
11778         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11779         changed the read and substituted \\end_float with \\end_inset!
11780
11781         * BufferView_pimpl.C (cursorPrevious):
11782         (cursorNext): fixed to make it work with rows heigher than the work
11783         area without moving the cursor only the draw of the row.
11784         (workAreaMotionNotify): fix jumping over high rows.
11785
11786 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11787
11788         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11789         Ressler.
11790
11791 2002-04-16  Juergen Vigna  <jug@sad.it>
11792
11793         * text2.C (setCursor): set also the irow().
11794         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11795         (cursorUp):
11796         (cursorDown): support for locking an inset if the x_fix value goes
11797         inside it. That way I can transverse insets too with cursor up/down.
11798
11799         * lyxrow.h: added irow helper function same as other (i) functions.
11800
11801         * BufferView_pimpl.C (cursorPrevious):
11802         (cursorNext): fixed for insets!
11803
11804 2002-04-15  Juergen Vigna  <jug@sad.it>
11805
11806         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11807         position otherwise it is wrong in some cases.
11808
11809         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11810         inside the inset before the call.
11811
11812 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11813
11814         * buffer.[Ch] (getBibkeyList): make it const.
11815
11816 2002-04-12  Juergen Vigna  <jug@sad.it>
11817
11818         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11819
11820         * text2.C (getCursorX): new helper function
11821         (setCursor): compute also ix_
11822         (setCursorFromCoordinates): set also ix.
11823
11824         * lyxcursor.h: added ix_ and helper functions.
11825
11826         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11827
11828         * buffer.C (insertStringAsLines): dont break paragraph if the this
11829         paragraph is inside an inset which does not permit it!
11830
11831         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11832         also with no chars on this paragraph.
11833         (paintRowText): only paint stuff if it's inside the workarea!
11834
11835         * paragraph.C (breakParagraph): honor keepempty flag and break the
11836         paragraph always below not above.
11837
11838         * BufferView2.C (unlockInset): update the paragraph layout on inset
11839         unlock as we changed paragraph in such a case.
11840
11841         * lyxfind.C (LyXFind): clear the former selection if not found!
11842
11843         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11844         again called in insertChar().
11845
11846         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11847         an inset which uses the whole row!
11848         (rightMargin): ditto.
11849         (insertChar): force a rebreak if we inserted an inset!
11850
11851 2002-03-28  Herbert Voss  <voss@lyx.org>
11852
11853         * lyxlength.[Ch]: add inBP() to get the right PS-point
11854         units (BigPoint). With inPixels we have rounding errors
11855
11856 2002-04-11  Juergen Vigna  <jug@sad.it>
11857
11858         * text2.C (setCursorFromCoordinates): set iy to the right value.
11859         (setCursor): add check if row->previous exists!
11860
11861         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11862         an old float_type as this was the case in the old code!
11863
11864         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11865
11866         * BufferView2.C (showLockedInsetCursor): use iy
11867         (fitLockedInsetCursor): ditto
11868
11869         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11870         locked insets as there we have the right value now.
11871
11872         * lyxcursor.C: added iy_ variable and iy functions to set to the
11873         baseline of cursor-y of the locked inset.
11874
11875         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11876         (setCursor): fixed for insets which need a full row.
11877
11878         * text.C (rowLastPrintable): don't ignore the last space when before
11879         an inset which needs a full row.
11880         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11881         as last character of a row when before a inset which needs a full row.
11882
11883 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11884
11885         * version.C.in: update date
11886
11887         * text2.C (fullRebreak): try to always return true and see what
11888         happens...
11889
11890 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11891
11892         * MenuBackend.C (expand): use Floating::listName
11893
11894         * FloatList.C (FloatList): add listName argument to the built-in
11895         floats
11896
11897         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11898         text associated with the float.
11899
11900 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11901
11902         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11903
11904 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11905
11906         * ShareContainer.h: add a couple of missing typenames.
11907
11908 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11909
11910         * lyxrc.C (getDescription): use _() correctly rather than N_().
11911
11912 2002-03-28  Herbert Voss  <voss@lyx.org>
11913
11914         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11915         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11916
11917 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11918
11919         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11920         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11921
11922 2002-03-29  Juergen Vigna  <jug@sad.it>
11923
11924         * lyxfunc.C (dispatch): add a missing fitCursor call.
11925
11926         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11927         it was scrolled by a cursor move, so return the bool status.
11928
11929         * BufferView.C (fitCursor): return the bool flag also to the outside
11930         world as this is needed.
11931
11932         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11933
11934         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11935         call the edit() as it is not needed (and wrong) IMO.
11936         (workAreaButtonPress): set the screen_first variable before evt.
11937         unlock the inset as this may change screen_first and then we have
11938         a wrong y position for the click!
11939
11940 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11941
11942         * MenuBackend.C (expand): another translation that I missed
11943
11944 2002-03-28  Juergen Vigna  <jug@sad.it>
11945
11946         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11947
11948         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11949
11950 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11951
11952         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11953
11954         * MenuBackend.C (expand): fix export/view/update when there is no
11955         document open.
11956
11957 2002-03-27  Herbert Voss  <voss@lyx.org>
11958
11959         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11960         and text%
11961
11962 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11963
11964         * bufferview_funcs.C (currentState): only show paragraph number
11965         for is DEVEL_VERSION is set.
11966
11967         * lyxfunc.C (dispatch): put warning in INFO channel
11968
11969         * MenuBackend.C (expand): translate the name of floats
11970
11971         * FloatList.C (FloatList): mark the float names for translation
11972
11973         * converter.C (convert): use LibScriptSearch
11974
11975 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11976
11977         * MenuBackend.C (defaults): fix default menu (we might as well get
11978         rid of it...)
11979
11980 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11981
11982         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11983         directory.
11984
11985 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11986
11987         * lyxvc.C: reorder includes.
11988
11989 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11990
11991         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11992           properly
11993
11994 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11995
11996         * CutAndPaste.C: change layouts earlier on paste
11997           to avoid crashing when calling getFont()
11998
11999 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12000
12001         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12002         irritating #error.
12003
12004 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12005
12006         * WorkArea.C: remove 'Pending' debug message.
12007
12008         * most files: ws cleanup
12009
12010         * buffer.[Ch]: ws changes
12011
12012         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12013
12014 2002-03-21  Juergen Vigna  <jug@sad.it>
12015
12016         * tabular.C (SetMultiColumn): collapse also the contents of the
12017         cells and set the last border right. Added a Buffer const * param.
12018
12019 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12020
12021         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12022         linking or not.
12023
12024 2002-03-19  Juergen Vigna  <jug@sad.it>
12025
12026         * text2.C (clearSelection): reset also xsel_cache.
12027
12028         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12029         where it needs to be called (John tells us to do so too :)
12030         (selectionLost): reset sel_cache.
12031
12032         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12033
12034 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12035
12036         * text2.C (setCursorIntern): put debuging code in INSETS channel
12037
12038 2002-03-19  André Pönitz <poenitz@gmx.net>
12039
12040         * lyxfunc.C: tiny whitespace change
12041
12042 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12043
12044         * ToolbarDefaults.C (init):
12045         * LyXAction.C (init):
12046         * commandtags.h:
12047         * BufferView_pimpl.C (Dispatch):
12048         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12049
12050 2002-03-19  Allan Rae  <rae@lyx.org>
12051
12052         * exporter.C (Export): removeAutoInsets before doing anything else.
12053         While I've just introduced a dependency on BufferView this really is
12054         the best place to clean the buffer otherwise you need to cleanup in
12055         a dozen places before calling export or cleanup in a dozen functions
12056         that export calls.
12057
12058         * converter.C (runLaTeX):
12059         (scanLog): Better handling of removeAutoInsets and screen updates.
12060
12061         * lyxfunc.C (dispatch): small whitespace changes
12062
12063 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12064
12065         * WorkArea.C (C_WorkAreaEvent): return a value.
12066         (event_cb): return 1 if we handled the event, 0 otherwise.
12067
12068         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12069
12070 2002-03-18  Juergen Vigna  <jug@sad.it>
12071
12072         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12073         (GetAdditionalWidth): ditto.
12074         (RightLine): ditto.
12075         (LeftLine): ditto.
12076
12077         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12078         inset if we're there actually (probably not used right now but this
12079         is the direction to go for unifying code).
12080         (paste): disable code to clear the selection.
12081
12082         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12083         inside an InsetText and move the check further up as it is in the
12084         wrong place.
12085
12086         * text2.C (pasteSelection): set a selection over the pasted text.
12087
12088 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12089
12090         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12091         and libgraphics to build on Cygwin.
12092
12093 2002-03-15  Juergen Vigna  <jug@sad.it>
12094
12095         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12096         inserting an Inset into the paragraph. I know this is not the best
12097         fix but we already use current_view in CutAndPaste so we will remove
12098         all of it's using at the same time.
12099
12100         * buffer.C (sgmlError): deactivated function till it is rewritten in
12101         the right mode, now it can create problems.
12102
12103         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12104         before accessing it.
12105
12106 2002-03-14  Juergen Vigna  <jug@sad.it>
12107
12108         * undo_funcs.C (textHandleUndo): do the right thing when updating
12109         the inset after the undo/redo.
12110
12111         * text2.C (setCursor): just some testcode for #44 not ready yet.
12112
12113         * undo_funcs.C (textHandleUndo): set the next() and previous()
12114         pointers of the paragraph to 0 before deleting otherwise we have
12115         problems with the Paragraph::[destructor].
12116
12117         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12118         on a paragraph insertion.
12119
12120 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12121
12122         * buffer.C (asciiParagraph): use += operator for char append to
12123         string.
12124
12125         * paragraph.C (getFontSettings): compare >= not just >
12126         (highestFontInRange): ditto
12127         (setFont): ditto
12128
12129 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12130
12131         * paragraph.C: change several algorithm to be more appripriate for
12132         the problem domain. This is lookip in FontList and in the InsetList.
12133
12134 2002-03-13  André Pönitz <poenitz@gmx.net>
12135
12136         * commandtags.h:
12137         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12138
12139 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12140
12141         * commandtags.h:
12142         * LyXAction.C:
12143         * lyxfunc.C:
12144         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12145
12146 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12147
12148         * Painter.C (display): anon helper function, adjust code for this
12149         change.
12150         (pixmap): remove function.
12151
12152         * Painter.h: remove private display variable.
12153
12154         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12155
12156 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12157
12158         * WorkArea.[Ch]: remove figinset_canvas cruft.
12159
12160 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12161
12162         * lyxtextclass.C (operator): add one item cache optimization.
12163
12164         * bufferlist.h: doxy changes
12165
12166         * bufferlist.C: ws changes
12167
12168         * DepTable.[Ch] (ext_exist): place const in the right spot.
12169
12170         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12171         call resizeInsets.
12172         (workAreaExpose): call resizeInsets when the with BufferView changes.
12173         (Dispatch): adjust for protectedBlank removal
12174         (specialChar): call updateInset if the insert went ok.
12175
12176         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12177         specialChar instead.
12178
12179         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12180
12181         * BufferView.h: doxy change
12182
12183         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12184
12185         * lyxtextclass.C (operator[]): remove non-const version
12186         (defaultLayout): remove non-const version
12187
12188 2002-03-12  Juergen Vigna  <jug@sad.it>
12189
12190         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12191         did resize the LyXText too.
12192
12193         * buffer.C (readLyXformat2): set layout information on newly allocated
12194         paragraphs.
12195
12196         * tabular.C (OldFormatRead): set layout information on the paragraph.
12197
12198 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12199
12200         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12201
12202 2002-03-11  Juergen Vigna  <jug@sad.it>
12203
12204         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12205         plainly wrong.
12206         (resizeCurrentBuffer): force also the insets to resize themselfes.
12207         (moveCursorUpdate): fixed up for InsetText.
12208
12209 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12210
12211         * commandtags.h:
12212         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12213         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12214         value of Dialogs::tooltipsEnabled().
12215         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12216
12217 2002-03-08  Juergen Vigna  <jug@sad.it>
12218
12219         * BufferView_pimpl.C (updateInset): update inset inside inset also
12220         if it isn't inside theLockingInset().
12221
12222 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12223
12224         * buffer.C (asciiParagraph): redo some of the word and line length
12225         handling.
12226         (getLists): look for Caption instead of caption.
12227
12228 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12229
12230         * buffer.C (Buffer): initialize niceFile to true
12231         (makeLaTeXFile):
12232         (makeLinuxDocFile):
12233         (makeDocBookFile): make sure niceFile is true on exit
12234
12235 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12236
12237         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12238
12239 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12240
12241         * LyXSendto.C: remove.
12242         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12243         * lyx_gui.C: remove now-redundant comment.
12244         * ColorHandler.h: remove forward declaration of class WorkArea.
12245         * lyxfunc.C: remove #include "WorkArea.h".
12246
12247 2002-03-07  Juergen Vigna  <jug@sad.it>
12248
12249         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12250         got moved away with the DEPM and also set the inset_owner always
12251         right which before could have been omitted.
12252
12253 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12254
12255         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12256         wanted layout is not found.
12257
12258 2002-03-07  Juergen Vigna  <jug@sad.it>
12259
12260         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12261
12262 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12263
12264         * paragraph.C (breakParagraph): use default layout not layout of
12265         prev paragraph.
12266         (Paragraph): clear ParagraphParameters.
12267
12268 2002-03-06  Juergen Vigna  <jug@sad.it>
12269
12270         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12271         otherwise it would not be a valid lenght. Fixed a special case in
12272         the minipage compatibility read where we end the document with a
12273         minipage.
12274
12275         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12276         was set as it could be 0 for InsetTexts first entry.
12277
12278 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12279
12280         * paragraph.C (writeFile): if layout is empty write out
12281         defaultLayoutName().
12282
12283         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12284         file without named layout we set layout to defaultLayoutName().
12285
12286 2002-03-06  Juergen Vigna  <jug@sad.it>
12287
12288         * CutAndPaste.C (copySelection): set layout for new paragraph.
12289
12290         * text.C (prepareToPrint): leave ERT inset left aligned
12291         (leftMargin): don't indent paragraphs inside ERT insets
12292
12293 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12294
12295         * paragraph.C (breakParagraph): dont call clear do the work manually
12296
12297         * paragraph.[Ch] (clear): remove function
12298
12299 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12300
12301         * paragraph.C (Paragraph): dont call clear, the work has already
12302         been done.
12303
12304         * lyxtextclass.C (operator): assert if n is empty
12305
12306         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12307         work manually instead.
12308
12309 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12310
12311         * BufferView_pimpl.C: protect selectionLost against text == 0
12312
12313 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12314
12315         * text.C (breakParagraph): fix a setting layout to '0' problem.
12316
12317 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12318
12319         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12320         final location of file, for the included files, and graphics.
12321
12322 2002-03-05  Juergen Vigna  <jug@sad.it>
12323
12324         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12325
12326 2002-03-04  Juergen Vigna  <jug@sad.it>
12327
12328         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12329
12330         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12331         last column of multicolumn cells.
12332         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12333
12334 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12335
12336         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12337         file if it doesn't go to a temporary file.
12338
12339         * buffer.C (sgmlOpenTag):
12340         (sgmlCloseTag):  remove extra newline insertion.
12341
12342 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12343
12344         * text.C (getRowNearY): comment out debug msg
12345
12346 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12347
12348         * text2.C: first -> first_y
12349
12350         * text.C (getRowNearY): add some attemts at a possible
12351         optimization, not working.
12352
12353         * tabular.[Ch]: add BufferParams to several function so that newly
12354         created paragraph can be initialized to he default layotu for the
12355         buffers textclass.
12356
12357         * tabular-old.C (ReadOld): add buf->params to call of Init
12358
12359         * screen.C: rename text->first to text->first_y
12360
12361         * paragraph.C (breakParagraph): always set layout in the broken
12362         paragraph
12363
12364         * lyxtextclass.C (Read): remove lowercase
12365         (hasLayout): ditto
12366         (operator): ditto
12367         (delete_layout): ditto
12368
12369         * lyxtext.h: rename first -> first_y
12370
12371         * lyxlayout.C (Read): remove lowercase
12372         (name): ditto
12373         (setName): ditto
12374         (obsoleted_by): ditto
12375
12376         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12377
12378         * buffer.C (insertErtContents): add params are to InsetERT
12379         (parseSingleLyXformat2Token): add code to check if a paragraphs
12380         layout really exist.
12381         (parseSingleLyXformat2Token): add params to several inset
12382         constructors
12383         (asciiParagraph): remove lowercase, do the layout comparisons with
12384         no_case
12385
12386         * BufferView_pimpl.C (cursorNext): first -> first_y
12387         (resizeCurrentBuffer): first -> first_y
12388         (updateScrollbar): first -> first_y
12389         (scrollCB): first -> first_y
12390         (workAreaMotionNotify): first -> first_y
12391         (workAreaButtonPress): first -> first_y
12392         (checkInsetHit): first -> first_y
12393         (cursorPrevious): first -> first_y
12394         (cursorNext): first -> first_y
12395         (Dispatch): add buffer_->params to severl inset contructors
12396
12397 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12398
12399         * lyxlayout.C (Read): remove some debug info that I forgot.
12400
12401         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12402         clean up the code slightly.
12403         (makeLinuxDocFile): ditto
12404         (makeDocBookFile): ditto
12405
12406         * text2.C: layout as string
12407
12408         * text.C: layout as string
12409
12410         * paragraph_pimpl.C: layout as string
12411
12412         * paragraph.[Ch]: layout as string
12413
12414         * lyxtextclasslist.[Ch]: layout as string
12415
12416         * lyxtextclass.[Ch]: layout as string
12417
12418         * lyxtext.h: layout as string
12419
12420         * lyxlayout.[Ch]: layout as string
12421
12422         * lyx_cb.C: layout as string
12423
12424         * bufferview_funcs.C: layout as string
12425
12426         * bufferparams.C: layout as string
12427
12428         * buffer.C: layout as string
12429
12430         * LyXView.[Ch]: layout as string
12431
12432         * LaTeXFeatures.[Ch]: layout as string
12433
12434         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12435
12436         * BufferView_pimpl.C: change current_layout to string, remove
12437         lyx::layout_type.
12438         (Dispatch):
12439         (smartQuote):
12440         (insertInset):
12441         (workAreaButtonRelease): layout as string
12442
12443         * BufferView2.C (unlockInset): adjust
12444
12445         * vspace.C (asLatexCommand): use an explict temp variable.
12446
12447 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * Makefile.am: use FRONTEND_*
12450
12451 2002-03-01  Juergen Vigna  <jug@sad.it>
12452
12453         * tabular.C (SetWidthOfMulticolCell): changed to something better
12454         I hope but still work in progress.
12455         (recalculateMulticolumnsOfColumn): renamed function from
12456         recalculateMulticolCells as it is more appropriate now.
12457         (SetWidthOfCell): calculate multicols better.
12458
12459 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12460
12461         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12462
12463         * lyxfunc.C (processKeySym): print sequence also if it is
12464         `deleted' (complete)
12465
12466         * kbsequence.C (print): print sequence even if it is deleted
12467         (complete would be a better word, actually).
12468
12469         * lyxfunc.C (dispatch): print complete options after a prefix key
12470
12471         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12472
12473 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12474
12475         * text2.C (setCharFont): eliminate setCharFont code duplication.
12476
12477 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12478
12479         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12480         LFUN_TABULAR_FEATURE (bug #177)
12481
12482 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12483
12484         * Makefile.am: remove figure.h
12485
12486 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12487
12488         * Bufferview_pimpl.C:
12489         * CutAndPasteC:
12490         * LaTeX.C:
12491         * LyXSendto.C:
12492         * buffer.C:
12493         * bufferlist.C:
12494         * converter.C:
12495         * language.C:
12496         * lyxfunc.C:
12497         * lyxvc.C:
12498         * paragraph.C:
12499         * text.C:
12500         * text2.C: remove #include "lyx_gui_misc.h".
12501
12502         * LaTeX.C: added #include <cstdio>
12503
12504 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12505
12506         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12507         that the paragraph following this one can have.
12508
12509         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12510
12511         * vspace.C (asLatexCommand): fix bogus gcc warning
12512
12513         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12514
12515 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12516
12517         * text2.C (setLayout): get rid of redundant code
12518
12519 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12520
12521         * text2.C (incDepth): make sure depth cannot be increased beyond
12522         reasonable values.
12523
12524 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12525
12526         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12527         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12528
12529         * PainterBase.h (image):
12530         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12531         a LyXImage const *.
12532
12533 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12534
12535         * BufferView.C:
12536         * BufferView.h:
12537         * BufferView_pimpl.C:
12538         * BufferView_pimpl.h:
12539         * LaTeXFeatures.C:
12540         * LyXAction.C:
12541         * LyXView.C:
12542         * Makefile.am:
12543         * UpdateList.h:
12544         * UpdateList.C:
12545         * buffer.C:
12546         * figure.h:
12547         * figureForm.C:
12548         * figureForm.h:
12549         * figure_form.C:
12550         * figure_form.h:
12551         * lyx_cb.C:
12552         * lyx_gui.C:
12553         * lyx_gui_misc.C:
12554         * lyxfunc.C:
12555         * sp_base.h:
12556         * sp_ispell.h:
12557         * sp_pspell.h:
12558         * sp_spell.C: remove fig inset, and the crap house of
12559           cards that follows it
12560
12561 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12562
12563         * Makefile.am:
12564         * lyxserver.C:
12565         * os2_defines.h:
12566         * os2_errortable.h:
12567         * nt_defines.h: move .h into support/
12568
12569         * vms_defines.h: remove
12570
12571         * WorkArea.C: add space in debug output
12572
12573         * text2.C:
12574         * paragraph.C:
12575         * buffer.C: add WITH_WARNINGS
12576
12577         * vc-backend.h:
12578         * vc-backend.C:
12579         * bufferlist.C: s/retrive/retrieve/, add docs
12580
12581         * vspace.h:
12582         * vspace.C:
12583         * kbmap.h:
12584         * lyxlength.h:
12585         * lyxgluelength.h:
12586         * length_common.h:
12587         * chset.h:
12588         * chset.C: add docs
12589
12590         * lyxgui.C: add ID to X error handler
12591
12592         * lyxtestclass.c: fix typo
12593
12594 2002-02-26  Juergen Vigna  <jug@sad.it>
12595
12596         * tabular_funcs.C (write_attribute): changed so that some default
12597         attributes are not written at all.
12598         (getTokenValue): set default values before trying to read the
12599         value so we have the return value always set as default if we don't
12600         find the token we search for.
12601
12602         * tabular.C (Write): write bools as bools not as strings!
12603
12604 2002-02-22  Juergen Vigna  <jug@sad.it>
12605
12606         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12607         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12608
12609         * text.C (leftMargin): don't add an indent for paragraphs inside
12610         tabular cells (fix #208).
12611
12612 2002-02-21  José Matos  <jamatos@fep.up.pt>
12613
12614         * tabular.C (docBook): fixed support for long tables.
12615
12616 2002-02-20  Juergen Vigna  <jug@sad.it>
12617
12618         * text2.C (getFont): get the drawing font of the Inset if this
12619         paragraph is inside an inset (only important for InsetERT for now).
12620
12621         * buffer.C (insertErtContents): use new lanugage params in ERT
12622         constructor.
12623
12624         * CutAndPaste.C: commenting out seemingly uneeded code.
12625
12626 2002-02-19  Allan Rae  <rae@lyx.org>
12627
12628         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12629         Iterators might be simple to use but they also get invalidated.
12630         (removeAutoInsets): renamed saved cursor tracking variables and added
12631         some comments to clarify what everything does.
12632
12633 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12634
12635         * Chktex.C:
12636         * LaTeX.C:
12637         * LyXSendto.C:
12638         * converter.C:
12639         * lyx_cb.C:
12640         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12641         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12642
12643         * lyxfunc.C:
12644         * vc-backend.h: remove #include "support/syscall.h"
12645
12646         * LaTeX.C:
12647         * LyXSendto.C:
12648         * converter.C: rearrange #includes in Lars' approved fashion.
12649
12650         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12651         forward declare class Timeout in the header file.
12652
12653         * XFormsView.C: changes due to the above.
12654
12655         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12656         similar to LyXView.
12657
12658         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12659         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12660
12661 2002-02-18  José Matos  <jamatos@fep.up.pt>
12662
12663         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12664         insets contents.
12665
12666 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12667
12668         * a lot of small ws changes
12669         * add a lot of using std::XXX
12670         * use std construcs some places where approp.
12671         * use some exisint stuff from lyxfunctional where approp.
12672         * Make file changes to use partial linking (lets test this now...)
12673
12674 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12675
12676         * Chktex.C:
12677         * buffer.C:
12678         remove #include "support/syscontr.h" as it's redundant. Always has been.
12679
12680         * Chktex.C:
12681         * LaTeX.C:
12682         * LyXSendto.C:
12683         * converter.C:
12684         * lyx_cb.C:
12685         * vc-backend.C:
12686         change Systemcalls::System to Systemcalls::Wait and
12687         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12688         No change of functionality, just reflects the stripped down Systemcalls
12689         class.
12690
12691 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12692
12693         * debug.[Ch]: add a GRAPHICS type to the enum.
12694
12695 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12696
12697         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12698
12699         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12700         there is an inset.
12701
12702 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12703
12704         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12705         match the changes below.
12706
12707         * text2.C (toggleInset): if there is not editable inset at cursor
12708         position, try to see if cursor is _inside_ a collapsable inset
12709         and close it.
12710
12711 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12712
12713         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12714         document menu has a nice checkbox
12715
12716 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12717
12718         * lyxlength.C (asLatexString): change PW to output as percent of
12719         \textwidth.
12720
12721         * lengthcommon.C: change '%' to 't%'
12722
12723         * lyxfunc.C (dispatch): a few comments from Martin
12724
12725 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12726
12727         * WorkArea.h:
12728         * WorkArea.C:
12729         * BufferView_pimpl.h:
12730         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12731           the X selection.
12732
12733 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12734
12735         * vspace.C (inPixels): fix compiler warning
12736
12737 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12738
12739         * lyxfunc.C (getStatus): fix status message for disabled commands.
12740
12741 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12742
12743         * BufferView_pimpl.C: fix crash on close buffer
12744         during selection (#227)
12745
12746 2002-01-27  Herbert Voss  <voss@lyx.org>
12747
12748         * buffer.C: link old Figure to new graphic inset
12749
12750 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12751
12752         * FontLoader.C (getFontinfo): Change the latex font names in order
12753         to match the names of type1inst.
12754
12755 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12756
12757         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12758
12759         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12760         (extchanged): ditto
12761         (ext_exist): ditto
12762         (remove_files_with_extension): ditto
12763         (remove_file): ditto
12764         (write): ditto
12765
12766         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12767         document is smaller than the work area height. Do not initialize
12768         static variables to 0.
12769
12770 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12771
12772         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12773
12774         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12775         LFUN_LAYOUT_PARAGRAPHS.
12776
12777         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12778         tabular. It is possible to provide a possible cell, which will
12779         typically be the actcell from the corresponding insettabular
12780
12781         * lyxfunc.C (getStatus): small cleanup; disable
12782         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12783         true
12784
12785 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12786
12787         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12788
12789         * paragraph.C (startTeXParParams):
12790         (endTeXParParams): new methods. The LaTeX code to
12791         start/end paragraph formatting
12792         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12793         empty (fixes bug #200)
12794
12795         * vspace.C (inPixels): adapt to the change below
12796         (inPixels): [later] more cleanups (remove unused variables)
12797
12798         * lyxlength.C (inPixels): change to use a width and a height as
12799         parameter.
12800
12801 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12802
12803         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12804         Replaced with \paperwidth
12805
12806         * DepTable.C (insert): add std:: qualifier
12807
12808 2002-01-18  Allan Rae  <rae@lyx.org>
12809
12810         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12811         updated also?
12812
12813         * text.C (drawInset): Turned out I didn't know enough about how
12814         rebreaking worked.  This fixes most of the redraw problems.  I see
12815         an occasional cursor trail when a line is broken now and the cursor
12816         placement can seem out by a few pixels also after a rebreak.
12817
12818 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12819
12820         * buffer.C (parseSingleLyXformat2Token): update because minipage
12821         width is now a LyXLength
12822
12823         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12824
12825         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12826         math insets
12827
12828 2002-01-17  Juergen Vigna  <jug@sad.it>
12829
12830         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12831
12832         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12833         is set correctly and the inset is updated correctly.
12834
12835 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12836
12837         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12838         the beginning of the loop.
12839
12840 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12841
12842         * lyxrc.C: improve help for use_scalable_fonts
12843
12844 2002-01-17  Allan Rae  <rae@lyx.org>
12845
12846         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12847
12848 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12849
12850         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12851         make sure to set their inset_owner to the right value (bug #171)
12852
12853 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12854
12855         * DepTable.h
12856         * DepTable.C: Implement mtime checking to reduce time spent doing
12857         CRCs.
12858
12859 2002-01-16  Juergen Vigna  <jug@sad.it>
12860
12861         * tabular.C (GetAdditionalHeight): one of error fixed.
12862
12863         * lyxrc.C (output): small fix in writing use_pspell.
12864
12865 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12866
12867         * sp_base.h: #include LString.h
12868
12869 2002-01-16  Allan Rae  <rae@lyx.org>
12870
12871         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12872         Can someone check this please?
12873
12874         * text.C (drawInset): It was possible that p.row would be removed by
12875         breakAgainOneRow upsetting a few other settings.  There may be another
12876         small tweak possible by setting need_break_row = 0 when p.row has been
12877         removed but I don't know enough about the logic here.
12878
12879 2002-01-15  Allan Rae  <rae@lyx.org>
12880
12881         * text.C (insertChar): removed conditional truism.
12882
12883         * BufferView2.C (removeAutoInsets): More tweaks.
12884         cur_par_prev could be a stray pointer.  Check for trailing empty line
12885         in case last line was cur_par and only had an error inset on it.
12886
12887 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12888
12889         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12890         absolute
12891
12892         * vc-backend.C (most methods):
12893         * exporter.C (Export):
12894         * converter.C (convert):
12895         (runLaTeX):
12896         * LyXSendto.C (SendtoApplyCB):
12897         * lyxfunc.C (dispatch):
12898         (menuNew):
12899         (open):
12900         (doImport):
12901         * lyx_cb.C (AutoSave):
12902         (InsertAsciiFile):
12903         * BufferView_pimpl.C (MenuInsertLyXFile):
12904         * buffer.C (runChktex): use Buffer::filePath().
12905
12906         * buffer.h: rename filename to filename_; rename filepath to
12907         filepath_ and make it private
12908         (filePath): new method
12909
12910         * buffer.C (writeFile): use fileName()
12911         (getLatexName):
12912
12913         * lyx_main.C (init): fix starting  of LyX when the binary is a
12914         link from so,ewhere else.
12915
12916         * minibuffer.C: include <cctype> for isprint
12917
12918 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12919
12920         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12921         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12922         name clash with InsetCollapsable's width function.
12923
12924 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12925
12926         * lastfiles.C: include <iterator>
12927
12928 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12929
12930         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12931         std::count.
12932
12933         * buffer.C (makeLaTeXFile): ditto.
12934         Also make loop operation more transparent.
12935
12936 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12937
12938         * ToolbarDefaults.C: remove trailing comma closing namespace.
12939
12940         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12941
12942         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12943         as in WorkArea.
12944
12945         * trans.C (Load): comment out unused variable, allowed.
12946
12947 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12948
12949         * minibuffer.[Ch] (append_char): new method to recieve input from the
12950         drop-down completion browser. If a key was pressed, then recieve this
12951         char and append it to the existing string.
12952         (peek_event): modify the positioning data passed to the completion
12953         browser so that it can be placed above the minibuffer rather than below.
12954 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12955
12956         * LyXAction.C (init): alloe error-next for readonly documents.
12957
12958         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12959         count.
12960
12961 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12962
12963         * bufferlist.C (readFile): create the buffer _after_ checking that
12964         the file exists.
12965
12966         * lyxfunc.C (verboseDispatch): fix handling of arguments
12967
12968         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12969
12970         * lyxrc.C: use string::erase() instead of initializing to "".
12971
12972
12973 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12974
12975         * BufferView_pimpl.h:
12976         * BufferView_pimpl.C:
12977         * WorkArea.h:
12978         * WorkArea.C:
12979         * text2.C: tell X when we have made a selection for copying
12980
12981 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12982
12983         * BufferView_pimpl.C (MenuInsertLyXFile):
12984         * lyxfunc.C (menuNew):
12985         (open):
12986         (doImport): add shortcuts to directory buttons
12987
12988         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12989         open a float)
12990
12991         * lyxfunc.C (setStatusMessage):
12992         (getStatusMessage): new methods
12993         (getStatus):use setStatusMessage instead of setErrorMessage
12994         (dispatch): when function is disabled, set error message here
12995         [instead of in getStatus previously]
12996
12997         * BufferView_pimpl.C (workAreaButtonRelease): update
12998         toolbar/menubar here too.
12999
13000 2002-01-13  Allan Rae  <rae@lyx.org>
13001
13002         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13003         Now seems indestructible.  Remaining task is to audit all other
13004         code affected by deleteEmptyParagraphMechanism.  One small quirk
13005         left is that an empty document with an error in the preamble can
13006         be made to report an error but no error box appears.  I don't know
13007         where it goes.
13008         (removeAutoInsets): Improved comments.
13009
13010 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13011
13012         * Thesaurus.h:
13013         * Thesaurus.C: update for Aiksaurus 0.14
13014
13015 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13016
13017         * text2.C (firstParagraph): removed member function, all uses
13018         replaces with ownerParagraph
13019         (redoParagraphs): here
13020         (updateInset): here
13021         (toggleAppendix): here
13022         * BufferView2.C (insertErrors): here
13023         (setCursorFromRow): here
13024
13025 2002-01-13  Allan Rae  <rae@lyx.org>
13026
13027         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13028         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13029         There is still a way to segfault this although you may have to do this
13030         multiple times: Have an InsetERT with an unknown command in it.
13031         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13032         <down-arrow>, <Enter> again, View->DVI, BANG!
13033
13034         * text2.C (setCursor):
13035         (deleteEmptyParagraphMechanism):
13036         * lyxtext.h (setCursor):
13037         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13038         Making use of the return value may help fix other bugs.
13039
13040 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13041
13042         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13043
13044         * LyXView.C (updateMenubar): call MenuBar::update here
13045         (updateToolbar): but not here
13046         (showState): do not update toolbar/menubar
13047
13048         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13049         should need to care about that.
13050
13051         * lyxfunc.C (verboseDispatch): simplify a bit
13052         (getStatus): have a version which takes a pseudoaction, and
13053         another which requires a (kb_action,string).
13054
13055         * LyXAction.C (retrieveActionArg): make it work also when action
13056         is not a pseudo-action.
13057         (getActionName): simplify a bit
13058         (helpText):
13059
13060 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13061
13062         * lyxfunc.C (verboseDispatch): new families of methods with
13063         several ways to specify a command and a bool to indicate whether
13064         the command name and shortcut should be displayed in minibuffer
13065         (eventually, we could extend that to a finer bitmask like
13066         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13067         (dispatch): the pristine dispatch command which just, well,
13068         dispatchs! Note it still sets its result to minibuffer; I'm not
13069         sure we want that.
13070
13071         * lyxfunc.h: remove setHintMessage
13072
13073         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13074
13075 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13076
13077         * BufferView_pimpl.C (specialChar): delete new inset if we have
13078         not been able to insert it.
13079
13080         * kbmap.C: revert to using int instead of kb_action, since all we
13081         are dealing with is pseudo-actions.
13082
13083         * LyXAction.C (searchActionArg): change to return int instead of
13084         kb_action, since the result is a pseudoaction.
13085
13086 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13087
13088         * buffer.C (insertErtContents): Fix (partially) the font bug.
13089
13090 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13091
13092         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13093         as the other one is broken on my machine!
13094
13095 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13096
13097         * commandtags.h:
13098         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13099
13100 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13101
13102         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13103         reflect their actual use. Provide compatibility code for older lyxrc
13104         files.
13105
13106         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13107         FL_NORMAL_STYLE.
13108         change names of popup font variables in line with the changes to lyxrc.C
13109
13110 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13111
13112         * buffer.C (asciiParagraph): avoid outputing a word twice after
13113         an inset.
13114
13115         * lyxrc.C (getDescription): document that document_path and
13116         template_path can be empty.
13117
13118 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13119
13120         * LaTeXFeatures.C (getMacros):
13121         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13122
13123         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13124
13125         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13126         getPackages.
13127         (getPackages): rename feature "floats" to "float". Use an array to
13128         iterate over 'simple' features (i.e. just a \usepackage). Add
13129         handling of "amsmath" (renamed from "amsstyle").
13130
13131 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13132
13133         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13134         features list.
13135
13136 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13137
13138         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13139         FuncStaus::FuncStatus & FuncStaus::some_method().
13140
13141 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13142
13143         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13144         of the func_satus stuff. Edited and massaged in various ways by
13145         JMarc.
13146
13147         * lyxfunc.C (getStatus): use FuncStatus
13148
13149 2002-01-08  Juergen Vigna  <jug@sad.it>
13150
13151         * text.C (nextBreakPoint): use function Inset::isChar().
13152
13153         * paragraph.C (TeXOnePar): use function
13154         Inset::forceDefaultParagraphs.
13155
13156         * buffer.C (latexParagraphs): use function
13157         Inset::forceDefaultParagraphs.
13158
13159 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13160
13161         * lyx_gui.C (init): set the style of the menu popups to
13162         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13163
13164 2002-01-07  Juergen Vigna  <jug@sad.it>
13165
13166         * text.C (setHeightOfRow): small fix
13167         (prepareToPrint): don't look at alignment if we don't have the place
13168         for doing it.
13169
13170 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13171
13172         * box.C: New file. Move the Box methods and functions out of box.h,
13173         following Lars' suggestion.
13174
13175 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13176
13177         * box.h: #include "support/LOstream.h", needed for inlined function.
13178
13179         * lyxtextclass.C:
13180         * lyxtextclasslist.C: added some using std declarations.
13181
13182 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13183
13184         * box.h: make signed dimensions to allow insets wider than
13185           the screen (bug #162)
13186
13187         * BufferView_pimpl.C: add some insetHit debug
13188
13189 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13190
13191         * vc-backend.C: add FIXME
13192
13193 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13194
13195         * lyxfunc.C (getStatus): enable code for showing math font status
13196         in toolbar/menu.
13197
13198 2002-01-07  Juergen Vigna  <jug@sad.it>
13199
13200         * text.C (nextBreakPoint): removed debug output not needed anymore.
13201
13202 2002-01-06  Juergen Vigna  <jug@sad.it>
13203
13204         * text.C (nextBreakPoint): fixed up this function we had this bug
13205         since ever but now hopefully we break row better.
13206         (insertChar): we have to check if an inset is the next char as it
13207         could now happen that a large inset is causing a break.
13208
13209 2002-01-05  Juergen Vigna  <jug@sad.it>
13210
13211         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13212         if it doesn't like to be drawed.
13213
13214 2002-01-04  Juergen Vigna  <jug@sad.it>
13215
13216         * BufferView2.C (lockInset): forgot to set a cursor.
13217
13218         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13219
13220 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13221
13222         * FormMathsPanel.C:
13223         * FormMathsPanel.h
13224         * MathsSymbols.C:
13225         * form_maths_panel.C:
13226         * form_maths_panel.h:
13227         * form_maths_panel.fd: implemented sub- and super- buttons in math
13228         panel.
13229
13230         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13231         (or ^ space) to be used as in TeX (req'd by André).
13232
13233         * lyxfunc.C: Allow ^ and _ again to be used both as
13234         super/subscript (mathed) and as themselves (in text).
13235
13236 2002-01-03  Allan Rae  <rae@lyx.org>
13237
13238         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13239         "LyX" or the filename of the current buffer if it has one.  This is a
13240         modified form of John Levon's patch.
13241
13242         * XFormsView.C (setWindowTitle): also set icon title.
13243
13244         * LyXView.h (setWindowTitle): signature changed.
13245         * XFormsView.h (setWindowTitle): ditto.
13246
13247 2002-01-02  Juergen Vigna  <jug@sad.it>
13248
13249         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13250
13251 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13252
13253         * screen.C (topCursorVisible): introduce a temp var for
13254         text->cursor.row(), handle the case where this row is null. (kindo
13255         hachish)
13256
13257         * text2.C (setCursor): add a couple of asserts.
13258
13259         * paragraph.h (inset_iterator): add -> operator
13260
13261         * paragraph.[Ch] (autoDeleteInsets): remove member function
13262
13263         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13264         cursor pos correctly and handle inset deletion by itself.
13265         (insertErrors): move iterator declaration out of for expression
13266
13267         * lyxtextclass.C: add <algorithm>
13268
13269         * Makefile.am: added the new files to sources, removed layout.C
13270
13271         * layout.C: removed file
13272
13273         * layout.h: remove LYX_DUMMY_LAYOUT
13274
13275         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13276         layout.
13277
13278         * lyxlayout.[Ch]:
13279         * lyxtextclass.[Ch]:
13280         * lyxtextclasslist.[Ch]: new files
13281
13282         * include order changes to a lot of files, also changes because of
13283         the six new files.
13284
13285 2001-12-27  Juergen Vigna  <jug@sad.it>
13286
13287         * buffer.C (asciiParagraph): more fixes.
13288
13289         * tabular.C (ascii): make ascii export support export of only the
13290         data separated by a column-delimiter.
13291         (ascii): better support for ascii export.
13292
13293         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13294
13295 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13296
13297         * tabular_funcs.C: use a "using std::getline" instead of the
13298         previous fix from Angus (necessary for cxx + lyxstring)
13299
13300 2001-12-24  Juergen Vigna  <jug@sad.it>
13301
13302         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13303
13304         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13305         problems. First check a minipage also if we have some ert-contents
13306         (not only on par->size(), second set the right depth of the paragraph
13307         on the relink to the root-paragraph-list!
13308
13309         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13310         which then did not anymore update the main paragraphs on undo/redo!
13311
13312 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13313
13314         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13315         code. Support all font-changing funcs (even those which are not in
13316         menu currently). Support for reporting font settings in
13317         mathed (disabled until Andre provides a function on mathed's side).
13318
13319         * func_status.h (toggle): small helper function to set toggle
13320         state on a flag.
13321
13322 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13323
13324         * tabular_funcs.C: getline -> std::getline
13325
13326 2001-12-21  Juergen Vigna  <jug@sad.it>
13327
13328         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13329         accessed and could be 0 (I couldn't generate this but it seems
13330         Michael could!).
13331
13332 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13333
13334         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13335         * tabular_funcs.h: here and include iosfwd
13336
13337 2001-12-20  Juergen Vigna  <jug@sad.it>
13338
13339         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13340         inside inset but undo_par was.
13341
13342 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13343
13344         * Thesaurus.C: always include <config.h> in sources.
13345
13346         * Painter.h:
13347         * lyxlookup.h:
13348         * box.h: do not include <config.h> in header files
13349
13350         * text.C (paintLastRow): remove unused variable
13351
13352         * text.C (transformChar):
13353         (insertChar):
13354         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13355
13356         * Painter.C (text):
13357         * font.C (width): rewrite to use uppercase() instead of
13358         islower/toupper.
13359
13360         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13361
13362 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13363
13364         * lyxfind.C: clean up of find failure position change
13365
13366 2001-12-20  Juergen Vigna  <jug@sad.it>
13367
13368         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13369
13370         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13371         (TeXRow): added to LaTeX a single tabular row.
13372         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13373         (Latex): simplified and finally good LT-h/f support.
13374         (various_functions): just small adaptions for LT-h/f support.
13375
13376         * tabular_funcs.[hC]: added and moved here all not classfunctions
13377         of LyXTabular.
13378
13379 2001-12-19  Juergen Vigna  <jug@sad.it>
13380
13381         * tabular.[Ch]: better support for longtabular options (not finished
13382         yet!)
13383
13384 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13385
13386         * text.C (paintLastRow): use the label font instead of the font of
13387         the last character to compute the size of *_BOX. This makes more
13388         sense and avoids a crash with empty paragraphs.
13389         Use Painter::rectangle to draw EMPTY_BOX.
13390
13391 2001-12-19  Juergen Vigna  <jug@sad.it>
13392
13393         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13394         the paragraphs if the replaced paragraph is not the first one!
13395         Tried to delete not used paragraphs but does not work yet so for
13396         now it's inside #ifdef's and by default off!
13397
13398 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13399
13400         * MenuBackend.C: include "lyx_main.h" instead of declaring
13401         lastfiles (actually was declared as LastFiles* instead of a
13402         scoped_ptr).
13403
13404 2001-12-17  Juergen Vigna  <jug@sad.it>
13405
13406         * tabular.C (AppendColumn): applied John's fix
13407
13408 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13409
13410         * BufferView.h:
13411         * BufferView.C:
13412         * BufferView_pimpl.h:
13413         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13414
13415         * Makefile.am:
13416         * box.h: new start of class for above
13417
13418         * lyxfunc.C: ignore space-only minibuffer dispatches.
13419           Show the command name when it doesn't exist
13420
13421         * minibuffer.C: don't add empty lines to the history
13422
13423         * minibuffer.C: add a space on dropdown completion
13424
13425 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13426
13427         * text.C: fix line above/below drawing in insets
13428
13429 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13430
13431         * lyxlength.C (LyXLength): Initialize private variables.
13432
13433 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13434
13435         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13436         when inserting error insets.
13437
13438 2001-12-13  Juergen Vigna  <jug@sad.it>
13439
13440         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13441         actually sometimes the before-paragraph.
13442         (setUndo): don't clear the redostack if we're not actually undoing!
13443
13444 2001-12-06  Juergen Vigna  <jug@sad.it>
13445
13446         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13447         and fixed redoing of main paragraph, so we can use it now ;)
13448
13449         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13450
13451 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13452
13453         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13454         Juergen's request
13455
13456 2001-12-13  André Pönitz <poenitz@gmx.net>
13457
13458         * undostack.[Ch]:
13459         * undo_func.C: minor cleanup
13460
13461 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13462
13463         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13464         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13465         font in urw-fonts package which is marked as -urw-fontspecific and
13466         does not work (incidentally, changing the encoding in the
13467         fonts.dir of this package to -adobe-fontspecific fixes the
13468         problem).
13469
13470         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13471         is a crash when undoing first paragraph (Juergen, please take a
13472         look). THis does not mean the undo fix is wrong, just that it
13473         uncovers problems.
13474
13475         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13476         the (Paragraph*) version when needed instead of duplicating the
13477         code.
13478
13479         * text.C (workWidth): use Inset::parOwner to find out where the
13480         inset has been inserted. This is a huge performance gain for large
13481         documents with lots of insets. If Inset::parOwner is not set, fall
13482         back on the brute force method
13483
13484         * paragraph_pimpl.C (insertInset):
13485         * paragraph.C (Paragraph):
13486         (cutIntoMinibuffer): set parOwner of insets when
13487         inserting/removing them
13488
13489         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13490
13491 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13492
13493         * commandtags.h:
13494         * LyXAction.C:
13495         * lyx_main.C:
13496         * lyxfunc.C:
13497         * mathed/formulabase.C:
13498         * mathed/math_cursor.[Ch]:
13499         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13500
13501
13502 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13503
13504         * lyxlength.[Ch] (operator!=): new function
13505
13506 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13507
13508         * text.C (workWidth): use Inset::parOwner to find out where the
13509         inset has been inserted. This is a huge performance gain for large
13510         documents with lots of insets. If Inset::parOwner is not set, fall
13511         back on the brute force method
13512
13513         * paragraph_pimpl.C (insertInset):
13514         * paragraph.C (Paragraph):
13515         (cutIntoMinibuffer): set parOwner of insets when
13516         inserting/removing them
13517
13518         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13519
13520 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13521
13522         * tabular-old.C (getTokenValue):
13523         * tabular.C (getTokenValue):
13524         (write_attribute): new versions for LyXLength
13525         (everywhere): adjust the use of widths
13526
13527         * tabular.h: change the type of widths from string to LyXLength
13528
13529 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13530
13531         * paragraph.C: fixed missing line number count when exporting
13532         Environments to LaTeX file
13533
13534         * buffer.C: added informational message for checking line numbers.
13535
13536 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13537
13538         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13539         paragraph, do the 'double space' part, but not the 'empty
13540         paragraph' one.
13541
13542         * text.C (workWidth): small optimization
13543         (getLengthMarkerHeight): use minimal size for negative lengths.
13544
13545 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13546
13547         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13548
13549         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13550
13551 2001-12-11  André Pönitz <poenitz@gmx.net>
13552
13553         * FontLoader.C:
13554         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13555
13556 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13557
13558         * text2.C: keep selection on a setFont()
13559
13560 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13561
13562         * lyx_cb.C: another bv->text misuse, from insert label
13563
13564 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13565
13566         * kbsequence.h:
13567         * kbsequence.C: re-instate nmodifier mask
13568
13569 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13570
13571         * lyx_main.h: make lyxGUI private.
13572
13573 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13574
13575         * lyxfind.C: place the cursor correctly on failed search
13576
13577 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13578
13579         * text.C (getLengthMarkerHeight): for small heights, the arrows
13580         are not always on top/bottom of the text
13581         (drawLengthMarker): smaller arrows; take the left margin in
13582         account; draw also vfills.
13583         (paintFirstRow):
13584         (paintLastRow): remove special code for vfill and standard spaces,
13585         since everything is handled in drawLengthMarker now.
13586
13587 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13588
13589         * buffer.C (insertErtContents): try to handle font and language
13590         interaction a bit better.g
13591
13592         * ColorHandler.C (updateColor): change the hash to cover the whole
13593         LColor enum, ws cleanup
13594         (getGCLinepars): ditto
13595         (getGCLinepars): only lookup in the linecache once.
13596
13597 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13598
13599         * iterators.C (operator++): Make the iterator more robust
13600
13601         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13602         (John's patch)
13603         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13604
13605 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13606
13607         * lyxtext.h:
13608         * text.C: better added space drawing
13609
13610 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13611
13612         * LyXView.C:
13613         * BufferView2.C: fix layout combo update on inset unlock
13614
13615 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13616
13617         * Makefile.am: don't compile unused files
13618
13619 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13620
13621         * lyxfunc.C:
13622         * commandtags.h:
13623         * LyXAction.C: remove old LFUN_LAYOUTNO
13624
13625 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13626
13627         * paragraph_pimpl.h:
13628         * paragraph_pimpl.C: isTextAt() doesn't need font param
13629
13630 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13631
13632         * lyxlex.h:
13633         * lyxlex.C: little cleanup
13634
13635 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13636
13637         * BufferView_pimpl.C: fix insertAscii for insets
13638
13639 2001-12-05  Juergen Vigna  <jug@sad.it>
13640
13641         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13642         set the right font on the "multi" paragraph paste!
13643
13644 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13645
13646         * trans_decl.h:
13647         * trans_mgr.[Ch]:
13648         * trans.[Ch]:
13649         * lyxgluelength.C:
13650         * lyxlength.C: remove out-commented code.
13651
13652         * BufferView_pimpl:
13653         * CutAndPaste.C:
13654         * DepTable.C:
13655         * buffer.C:
13656         * chset.C:
13657         * lastfiles.C:
13658         * lyxlex.C:
13659         * lyxlex_pimpl.C:
13660         * lyxserver.C:
13661         * screen.C:
13662         * tabular-old.C:
13663         * tabular.C:
13664         * text.C:
13665         * trans_mgr.C:
13666         * vc-backend.C: change "while(" to "while ("
13667
13668         * lyxlength.[Ch]: add zero function to check if length is zero or
13669         not
13670         * lyxgluelength.C: use it
13671
13672 2001-12-05  Allan Rae  <rae@lyx.org>
13673
13674         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13675         Works for 2.95.3, from what I understand of Garst's reports this should
13676         work for other g++ versions.  We're screwed if the abs(int) definition
13677         changed between bugfix releases of gcc.
13678
13679 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13680
13681         * text.C: fix chapter label offset !
13682
13683 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13684
13685         * lyxtext.h:
13686         * text.C: fix hfill at end of line, clean up
13687
13688 2001-12-04  Juergen Vigna  <jug@sad.it>
13689
13690         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13691         that we force an update of the inset and it's owners if neccessary.
13692
13693 2001-12-03  Juergen Vigna  <jug@sad.it>
13694
13695         * text.C (rowLast): simplified code
13696
13697 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13698
13699         * lyxfunc.C: fix show options on timeout
13700
13701 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13702
13703         * screen.C (topCursorVisible): scroll half a page when the cursor
13704         reached top of bottom of screen
13705
13706 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13707
13708         * minibuffer.C: deactivate on loss of focus
13709
13710 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13711
13712         * vspace.[Ch] (operator!=): add operator.
13713
13714 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13715
13716         * BufferView_pimpl.C: refuse to open an inset when
13717         there's a selection.
13718
13719 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13720
13721         * BufferView_pimpl.C: allow to click on RHS of full row insets
13722
13723 2001-11-30  Juergen Vigna  <jug@sad.it>
13724
13725         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13726         insets for undo reasons.
13727
13728 2001-11-28  André Pönitz <poenitz@gmx.net>
13729
13730         * vspace.[Ch]: cosmetical changes
13731
13732 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13733
13734         * LyXAction.h:
13735         * LyXAction.C:
13736         * lyxfunc.h:
13737         * lyxfunc.C:
13738         * kbmap.h:
13739         * kbmap.C:
13740         * lyxrc.C:
13741         * kbsequence.h:
13742         * kbsequence.C: part re-write of old kb code
13743
13744         * Painter.C:
13745         * WorkArea.C: remove Lgb_bug_find_hack
13746
13747 2001-11-30  José Matos <jamatos@fep.up.pt>
13748
13749         * buffer.C (makeDocBookFile): add a comment to point a hack.
13750         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13751         Fixed a double write of labels.
13752
13753 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13754
13755         * LaTeX.C:
13756         * LaTeX.h Fixed bug in LaTeX class where it would not
13757         re-run latex if no depfiles were changed, but the .dvi was removed.
13758
13759 2001-11-28  André Pönitz <poenitz@gmx.net>
13760
13761         * all the files from the change on 2001/11/26:
13762         use lyx::layout_type instead of LyXTextClass::size_type
13763         use lyx::textclass_type instead of LyXTextClassList::size_type
13764
13765 2001-11-29  Juergen Vigna  <jug@sad.it>
13766
13767         * text.C: added support for paragraph::isFreeSpacing()
13768
13769         * buffer.C: same as above
13770
13771         * paragraph.h: inserted isFreeSpacing() function to enable
13772         FreeSpacing inside InsetERT.
13773
13774         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13775         of the paragraph's in the cut/copy buffer to 0!
13776
13777         * text2.C (removeRow): remove the assert as it can!
13778
13779         * lyxtext.h: added helper function firstRow returning firstrow and
13780         made firstrow private again.
13781
13782         * BufferView2.C (lockInset): don't relock if we're already locked!
13783
13784         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13785         the only paragraph.
13786         (removeRow): added Assert::(firstrow)
13787
13788         * debug.C: forgot to add INSETTEXT here.
13789
13790 2001-11-28  Juergen Vigna  <jug@sad.it>
13791
13792         * sp_spell.C (initialize): changed error text to more general
13793         spellchecker command use (not only ispell!)
13794
13795         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13796
13797         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13798
13799 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13800
13801         * vspace.C: initialise lyxgluelength on failure
13802
13803 2001-11-28  Allan Rae  <rae@lyx.org>
13804
13805         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13806         declaration & definition that looks like a function declaration.
13807
13808 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13809
13810         * BufferView2.C (copy):
13811         (copyEnvironment): do not clear the selection when doing a copy.
13812
13813         * text.C (paintFirstRow): compilation fix
13814
13815 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13816
13817         * tabular.C (Latex): correct line count when writing latex.
13818
13819 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13820
13821         * paragraph_pimpl.h:
13822         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13823           bug a bit
13824
13825 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13826
13827         * text.C:
13828         * LColor.h:
13829         * LColor.C: change vfillline->added_space
13830
13831         * text.C: add markers and text for added space
13832
13833         * vspace.C: fix comment
13834
13835 2001-11-28  André Pönitz <poenitz@gmx.net>
13836
13837         * paragraph.C: whitespace changes
13838         * all the other files from the change on 2001/11/26:
13839         change *::pos_type into lyx::pos_type
13840
13841 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13842
13843         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13844         language of the document when inserting error insets.
13845
13846 2001-11-26  André Pönitz <poenitz@gmx.net>
13847
13848         * BufferView_pimpl.[Ch]:
13849         *       CutAndPaste.C:
13850         * buffer.[Ch]:
13851         * lyxcursor.[Ch]:
13852         * lyxfind.C:
13853         * lyxfunc.C:
13854         * lyxrow.[Ch]:
13855         * paragraph.[Ch]:
13856         * paragraph_pimpl.[Ch]:
13857         * sp_spell.C:
13858         * text.C:
13859         * text2.C: reduce header dependencies, introduce type for positions
13860
13861 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13862
13863         * <various>: change to use Alert.h
13864
13865 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13866
13867         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13868         when encountering an unknown token.
13869         (readLyXformat2): Show an error message if there were unknown tokens.
13870
13871 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13872
13873         * BufferView2.C:
13874         * BufferView_pimpl.C:
13875         * buffer.C:
13876         * paragraph.h:
13877         * text.C:
13878         * text2.C: use par->isInset()
13879
13880 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13881
13882         * paragraph_pimpl.h:
13883         * paragraph_pimpl.C: cleanup
13884
13885 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13886
13887         * text2.C (removeRow):
13888         * text.C (setHeightOfRow): remove useless (and costly) call to
13889         getRow.
13890
13891 2001-11-20  Allan Rae  <rae@lyx.org>
13892
13893         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13894         Now need Inset*::checkInsertChar() to return true for appropriate
13895         cases so that the characters in the minibuffer will actually be
13896         inserted.
13897
13898 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13899
13900         * text.C: change the order of the includes.
13901         (workWidth): initialize it at once.
13902         (workWidth): make maxw unsigned
13903         (setHeightOfRow): remove unused variable (inset)
13904         (selectSelectedWord): remove unused variable (inset)
13905         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13906
13907 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13908
13909         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13910         server is not running.
13911         (openConnection):
13912         (closeConnection): add debug info when server is disabled.
13913
13914         * ColorHandler.C (getGCForeground): send debug message to GUI
13915         channel.
13916
13917         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13918
13919         * kbmap.C (bind): modify because return conventions of
13920         kb_sequence::parse have changed.
13921
13922         * kbsequence.C (parse): only ignore spaces and not any stupid
13923         control character. This avoids tests like s[i] <= ' ', which are
13924         guaranteed to fail with 8bit characters and signed chars.
13925         Change return code to string::npos when there have been no error
13926         (0 was a bad idea when error is at first character)
13927
13928 2001-11-14  José Matos  <jamatos@fep.up.pt>
13929
13930         * buffer.h:
13931         * buffer.C (simpleDocBookOnePar): removed unused argument.
13932
13933 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13934
13935         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13936         insets which are part of a word. Paragraph::isLetter takes care of
13937         that now. Use Paragraph::isInset to identify insets.
13938         (selectSelectedWord): do not test for hyphenation break.
13939
13940         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13941         that protected spaces are considered as spaces.
13942
13943         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13944         Inset::isLetter.
13945
13946 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13947
13948         * lyxserver.h:
13949         * lyxserver.C: fix it. and small cleanup.
13950
13951 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13952
13953         * BufferView_pimpl.C: use inline helpers
13954
13955         * LaTeXFeatures.h:
13956         * LaTeXFeatures.C: fix typos
13957
13958         * Spacing.h:
13959         * Spacing.C: move spacing_string into class
13960
13961         * ToolbarDefaults.C: move stuff into namespace anon
13962
13963         * layout.h: update enum
13964
13965         * lyxfunc.C: use better debug
13966
13967         * minibuffer.h: fix typo
13968
13969         * debug.h:
13970         * debug.C:
13971         * WorkArea.C: add and use Debug::WORKAREA
13972
13973         * lyxtext.h:
13974         * text.C:
13975         * text2.C: code re-organisation, inline helpers
13976
13977 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13978
13979         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13980         std::vector.empty().
13981
13982 2001-11-09  Allan Rae  <rae@lyx.org>
13983
13984         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13985         '\n's after tables.  Tabular and ERT inset work now makes this no
13986         longer necessary.
13987
13988 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13989
13990         * minibuffer.h:
13991         * minibuffer.C: fix crash, improve drop-down completion
13992
13993 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13994
13995         * lyxserver.h:
13996         * lyxserver.C: invalidate fd's when doing endPipe()
13997
13998 2001-11-08  José Matos  <jamatos@fep.up.pt>
13999
14000         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14001         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14002
14003         * paragraph.h:
14004         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14005
14006 2001-11-07  José Matos  <jamatos@fep.up.pt>
14007
14008         * buffer.h:
14009         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14010         const qualifier.
14011
14012         * buffer.C (sgmlOpenTag):
14013         * buffer.C (sgmlCloseTag): removed debug info.
14014
14015         * buffer.h (sgmlOpenTag):
14016         * buffer.h (sgmlCloseTag): made public.
14017
14018 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14019
14020         * buffer.C (saveParamsAsDefaults):
14021         * lyx_cb.C (MenuLayoutSave): remove
14022
14023         * LyXAction.C (init):
14024         * commandtags.h:
14025         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14026
14027 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14028
14029         * buffer.C (setPaperStuff): removed from here...
14030
14031         * bufferparams.C (setPaperStuff): ... and moved there.
14032
14033 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14034
14035         * minibuffer.h:
14036         * minibuffer.C:
14037         * XFormsView.C: add support for drop-down completion
14038
14039 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14040
14041         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14042         commands.
14043
14044 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14045
14046         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14047         disabled.
14048
14049 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14050
14051         * lyx_main.C: change ref to known bugs
14052
14053 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14054
14055         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14056         to work around older babel problems.
14057
14058 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14059
14060         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14061
14062 2001-10-24  Juergen Vigna  <jug@sad.it>
14063
14064         * tabular-old.C (ReadOld): below variable changes reflected.
14065
14066         * tabular.[Ch]: added ltType struct for longtable header/footer
14067         defines and changed all instances where they are used. Added
14068         future support for double top/bottom rows.
14069
14070 2001-10-24  José Matos  <jamatos@fep.up.pt>
14071
14072         * buffer.h (docbookHandleCaption):
14073         * buffer.C (docbookHandleCaption): removed unused function.
14074         (makeDocBookFile): moved docbook supported version to v4.1.
14075
14076 2001-10-24  José Matos  <jamatos@fep.up.pt>
14077
14078         * tabular.h:
14079         * tabular.C (docbookRow): new function to export docbook code of a row.
14080         (DocBook): now honors the longtable flags.
14081
14082 2001-10-23  José Matos  <jamatos@fep.up.pt>
14083
14084         * LaTeXFeatures.h:
14085         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14086         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14087
14088         * buffer.C (makeLinuxDocFile):
14089         (makeDocBookFile): reworked the preamble, more clean, and with
14090         support for lyx defined entities. Changed the document declaration
14091         to be more XML friendly.
14092
14093         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14094         if we need to output XML that should be done with a filter.
14095
14096 2001-10-22  Juergen Vigna  <jug@sad.it>
14097
14098         * sp_pspell.h (class PSpell): add alive function needed in the
14099         controller to see if the spellchecker could be started.
14100
14101 2001-10-22  Juergen Vigna  <jug@sad.it>
14102
14103         * buffer.C (insertStringAsLines): modify the font for inserting
14104         chars in certain conditions by calling checkInsertChar(font).
14105
14106 2001-10-19  Juergen Vigna  <jug@sad.it>
14107
14108         * text.C (workWidth): use getRow instead of wrong algorithm.
14109         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14110
14111 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14112
14113         * lyxserver.h:
14114         * lyxserver.C:
14115         * lyx_main.h:
14116         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14117
14118 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14119
14120         * text.C (workWidth): do not search for the exact row when
14121         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14122         optimization for big documents.
14123
14124 2001-10-18  Juergen Vigna  <jug@sad.it>
14125
14126         * text.C (workWidth): new function with added Inset * parameter.
14127
14128 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14129
14130         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14131
14132         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14133         change return type of getColumnNearX.
14134
14135
14136         * text.C (changeRegionCase): use uppercase/lowercase instead of
14137         toupper/tolower.
14138         (leftMargin):
14139         (rightMargin): simplify code by factoring out the uses of
14140         textclasslist.
14141         (labelFill):
14142         (numberOfHfills):
14143         (setHeightOfRow):
14144         (appendParagraph): use Paragraph::size_type
14145
14146 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14147
14148         * vspace.C (asLatexString): add a missing break
14149
14150 2001-10-15  Herbert Voss  <voss@perce.de>
14151
14152         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14153
14154 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14155
14156         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14157         is not available.
14158
14159 2001-10-10  André Pönitz <poenitz@gmx.net>
14160
14161         * lyxfunc.C: removed greek_kb_flag.
14162
14163 2001-10-10  Herbert Voss  <voss@perce.de>
14164
14165         * lyx_main.C: delete global string help_lyxdir.
14166
14167 2001-10-09  Herbert Voss  <voss@perce.de>
14168
14169         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14170
14171         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14172
14173         * lyx_main.C: added global string help_lyxdir.
14174
14175         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14176
14177 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14178
14179         * lyxrc.C (set_font_norm_type): support iso8859-4
14180
14181 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14182
14183         * LaTeX.C (deplog): add another regex for MikTeX
14184
14185 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14186
14187         * lyxrc.C (set_font_norm_type): support iso8859-3
14188
14189 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14190
14191         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14192
14193         * LaTeXFeatures.C: remove special case of french and index
14194
14195         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14196         before \begin{document}). This solves several incompatibilities.
14197
14198 2001-10-03  Garst Reese  <reese@isn.net>
14199
14200         * lyx_cb.C: change CheckTex error msg.
14201
14202 2001-10-03  José Matos  <jamatos@fep.up.pt>
14203
14204         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14205
14206 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14207
14208         * .cvsignore: update
14209
14210         * lyx_main.C (commandLineVersionInfo): use new style version info.
14211
14212         * buffer.C (writeFile):
14213         (makeLaTeXFile):
14214         (makeLinuxDocFile):
14215         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14216
14217         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14218
14219         * version.h: update to use stuff in version.C
14220
14221         * version.C.in: new file. Contains version information determined
14222         at compile time. This is a merging of version.h and
14223         version_info.h.in.
14224
14225 2001-10-03  Juergen Vigna  <jug@sad.it>
14226
14227         * BufferView_pimpl.C (update): don't change "dirty" status in
14228         updateInset call.
14229
14230 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14231
14232         * WorkArea.C (c-tor): re-position version string slightly.
14233
14234 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14235
14236         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14237         revert to previous code.
14238
14239         WorkArea.[Ch]: (show, destroySplash): methods removed.
14240
14241         WorkArea.C: rework code so that it's an amalgam of the codes before and
14242         after the splash screen was moved to WorkArea.
14243
14244 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14245
14246         * lyxrc.C (read):
14247         * vspace.C (inPixels):
14248         (lyx_advance):
14249         * kbmap.C (bind):
14250         * buffer.C (insertStringAsLines):
14251         (asciiParagraph): fix types to be large enough
14252
14253         * lyxlex_pimpl.h: change member status from short to int
14254
14255         * layout.h: fix type of endlabeltype
14256
14257         * kbmap.C (bind):
14258         * kbsequence.C (parse): change return type to string::size_type
14259
14260         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14261         variable
14262
14263         * Bullet.C (bulletSize):
14264         (bulletEntry): do not use short ints as parameters
14265
14266         * BufferView2.C (insertLyXFile): change a char to an int.
14267
14268         * WorkArea.C (WorkArea): remove unneeded floats in computation
14269
14270 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14271
14272         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14273
14274         * paragraph.C (asString): Do not ignore newline/hfill chars when
14275         copying to the clipboard.
14276
14277 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14278
14279         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14280         after a multi-line inset.
14281
14282 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14283
14284         * paragraph.C (validate): Set NeedLyXFootnoteCode
14285
14286 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14287
14288         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14289         and decrease-error to decrease.
14290
14291 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14292
14293         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14294         it more readable (should be equivalent)
14295
14296 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14297
14298         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14299
14300 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14301
14302         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14303         of a cursor (row, etc.) after a character has been deleted
14304         (deleteEmptyParagraphMechanism): call the method above on _all_
14305         cursors held by the LyXText when a double space has been
14306         detected/deleted.
14307
14308 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14309
14310         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14311         pixmap.
14312         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14313
14314         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14315         background. Use greyOut() and the new show() methods to toggle between
14316         the foreground and background. Add code to remove the splash after
14317         its initial showing.
14318
14319         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14320         (create_forms): no longer call Dialogs::showSplash.
14321
14322 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14323
14324         * .cvsignore: add version_info.h
14325
14326 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14327
14328         * version_info.h.in: new file
14329
14330         * Makefile.am: add version_info.h.in
14331
14332         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14333         version_info.h instead of VERSION_INFO
14334
14335 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14336
14337         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14338         The ERT inset now returns string().
14339
14340 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14341
14342         * lyxtext.h, text.C (selectNextWord): renamed as
14343         selectNextWordToSpellcheck.
14344
14345         * text.C (selectNextWordToSpellcheck): Modified to not select
14346         words inside an ERT inset.
14347
14348 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14349
14350         * lyx_cb.C (MenuLayoutSave): change a bit the question
14351
14352         * sp_base.h: include <sys/types.h>
14353
14354 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14355
14356         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14357
14358 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14359
14360         * several files: fix typos in user-visible strings
14361
14362 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14363
14364         * text2.C (pasteSelection): do not set the selection, since it
14365         will be cleared later. Actually, the intent was to fix the way the
14366         selection was set, but I figured rmoving the code was just as good.
14367
14368 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14369
14370         * FontLoader.C (available): Check if font is available without
14371         loading the font.
14372
14373 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14374
14375         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14376
14377 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14378
14379         * lyxrc.[Ch]: added display_graphics variable and associated code.
14380
14381 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14382
14383         * bufferparams.C (hasClassDefaults): new method. Returns true if
14384         the buffer parameters correspond to known class defaults
14385
14386 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14387
14388         * XFormsView.C (show): set minimum size to the main window.
14389
14390 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14391
14392         * text2.C (copySelection):
14393         (cutSelection):
14394         * lyxfind.C (LyXReplace):
14395         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14396         LyXText::selectionAsString.
14397
14398         * paragraph.C (asString): add "label" argument to the second form
14399
14400         * text2.C (selectionAsString): add "label" argument and pass it to
14401         Paragraph::asString.
14402
14403 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14404
14405         * lyx_main.C (commandLineHelp): remove version information
14406
14407 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14408
14409         * lyx_main.C: add -version commandline option
14410
14411 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14412
14413         * paragraph.h: make the optional constructor arg required instead.
14414         some modifications to other files because of this.
14415
14416         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14417
14418         * lyxserver.C (C_LyXComm_callback): make it static
14419
14420         * lyx_main.C (error_handler): make it static
14421
14422         * lyx_gui.C (LyX_XErrHandler): make it static
14423
14424         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14425
14426         * WorkArea.C: make the extern "C" methods static.
14427
14428         * Makefile.am (lyx_LDADD): simplify
14429
14430 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14431
14432         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14433         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14434
14435         * LyXAction.C (init):
14436         * lyxfunc.C (dispatch): associated code removal.
14437
14438 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14439
14440         * lyxfont.h (isSymbolFont): shut off warning
14441
14442         * text.C (setHeightOfRow):
14443         (getVisibleRow): fix crash with empty paragraphs which have a
14444         bottom line
14445
14446 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14447
14448         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14449         code.
14450
14451 2001-09-04  José Matos  <jamatos@fep.up.pt>
14452         * buffer.C
14453         * buffer.h
14454         * tabular.C (docbook): rename docBook method to docbook.
14455
14456 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14457
14458         * Makefile.am: add dependencies to main.o.
14459
14460 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14461
14462         * FontLoader.C (available): Return false if !lyxrc.use_gui
14463
14464 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14465
14466         * FontInfo.C (query):
14467         * converter.C (view):
14468         * importer.C (Import):
14469         * exporter.C (Export): Can not -> cannot.
14470
14471 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14472
14473         * BufferView_pimpl.C: allow to create index inset even if
14474           string is empty
14475
14476 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14477
14478         * buffer.C (getLists): replace boost::tie code with an explicit pair
14479         as boost::tie can break some compilers.
14480
14481         * iterators.h: Added a std:: declaration to the return type of
14482         ParIterator::size.
14483
14484 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14485
14486         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14487           case.
14488
14489 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14490
14491         * iterators.[Ch]: New files. Provide paragraph iterators.
14492
14493         * buffer.C (changeLanguage): Use paragraph iterators.
14494         (isMultiLingual): ditto
14495
14496         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14497
14498 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14499
14500         * FontLoader.C: Support for cmr font.
14501
14502 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14503
14504         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14505         (available): New method.
14506
14507         * FontInfo.C (getFontname): Use scalable fonts even when
14508         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14509         found.
14510
14511 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14512
14513         * converter.C (Formats::view): reverted! Incorrect fix.
14514
14515 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14516
14517         * converter.C (Formats::view): only output the -paper option
14518         if the dvi viewer is xdvi, thereby fixing bug #233429.
14519
14520 2001-08-23  Herbert Voss  <voss@perce>
14521
14522         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14523
14524 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14525
14526         * Spacing.h (Spacing): Set space to Default on in the default
14527         constructor.
14528
14529 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14530
14531         * vc-backend.h (RCS::versionString): add RCS to version
14532         (CVS::versionString): add CVS to version
14533
14534         * vc-backend.C (scanMaster): do not add CVS to version.
14535         (scanMaster): do not add RCS to version
14536
14537         * lyxvc.C (versionString): new method
14538
14539         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14540
14541 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14542
14543         * Spacing.C (set): initialize fval
14544
14545 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14546
14547         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14548         " or \.
14549
14550 2001-08-16  Juergen Vigna  <jug@sad.it>
14551
14552         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14553
14554 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14555
14556         * BufferView_pimpl.C:
14557         * figureForm.C:
14558         * lyxtext.h:
14559         * text2.C: setParagraph takes linespacing now
14560
14561 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14562
14563         * LyxAction.C: add internal LFUN_CITATION_INSERT
14564
14565         * LyXView.C: actually apply fix
14566
14567         * bufferlist.C: fix open non-existent file
14568
14569         * lyxfind.C: fix indentation
14570
14571         * lyxfunc.C: remove unneeded assert, fix typo
14572
14573 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14574
14575         * MenuBackend.C: use "Floatname List"
14576
14577 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14578
14579         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14580         when converting LaTeX layout to insetERT.
14581         Generate a non-collapsed float when reading old float
14582
14583 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14584
14585         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14586         ERT insets.
14587
14588 2001-08-13  Juergen Vigna  <jug@sad.it>
14589
14590         * text.C (fill): return 0 instead of 20 as this seems to be the more
14591         correct value.
14592
14593 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14594
14595         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14596         lyxrc.font_norm.
14597
14598 2001-08-13  Juergen Vigna  <jug@sad.it>
14599
14600         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14601         casesensitive off.
14602         (SearchBackward): comment out the unlocking of the inset_owner this
14603         should not be needed!
14604
14605 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14606
14607         * Many files: Remove inherit_language, and add latex_language
14608
14609         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14610         collapsible insets.
14611
14612 2001-08-10  Juergen Vigna  <jug@sad.it>
14613
14614         * text.C (prepareToPrint): fixed hfill-width in draw!
14615
14616         * BufferView2.C (selectLastWord): save the selection cursor as this
14617         now is cleared in the function LyXText::clearSelection!
14618
14619 2001-08-08  Juergen Vigna  <jug@sad.it>
14620
14621         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14622         BACKSPACE type functions.
14623
14624         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14625         is only cutted from the document but not put in the cut-buffer, where
14626         still the old stuff should be.
14627
14628         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14629
14630         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14631
14632         * tabular.C (SetWidthOfCell): fixed special case where the width
14633         was not updated!
14634         (LeftLine): handle '|' in align_special.
14635         (RightLine): ditto
14636         (LeftAlreadyDrawed): ditto
14637         (SetWidthOfCell): ditto
14638
14639 2001-08-07  Juergen Vigna  <jug@sad.it>
14640
14641         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14642
14643 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14644
14645         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14646         * lyxlex.[hC]: ditto
14647
14648 2001-08-06  Juergen Vigna  <jug@sad.it>
14649
14650         * text.C (getVisibleRow): fix up row clearing a bit.
14651
14652 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14653
14654         * minibuffer.C: make sure the X server sees the changes in the input.
14655
14656 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14657
14658         * paragraph.C (getFont): split into...
14659         (getLabelFont): this
14660         (getLayoutFont): and this
14661         * paragraph_pimpl.C (realizeFont): calling this
14662
14663         * text2.C (getFont): split into...
14664         (getLayoutFont): this
14665         (getLabelFont): and this
14666         (realizeFont): all three calling this
14667
14668         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14669         files where used.
14670
14671 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14672
14673         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14674
14675 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14676
14677         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14678         layouts from the Quote inset insertion.
14679
14680 2001-08-03  Juergen Vigna  <jug@sad.it>
14681
14682         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14683
14684         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14685         only if status not is already CHANGED_IN_DRAW (second level).
14686
14687         * text.C (draw): don't set the need_break_row when inside an
14688         InsetText LyXText.
14689
14690 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14691
14692         * buffer.C (parseSingleLyXformat2Token): handle more latex
14693         conversion cases.
14694
14695         * bufferview_funcs.[hC]: change function names to
14696         begin with small char, adjust other files.
14697
14698 2001-08-02  André Pönitz <poenitz@gmx.net>
14699
14700         * lyxfunc.C:
14701         BufferView_pimpl.C: remove broken special code for math-greek
14702
14703 2001-08-02  Juergen Vigna  <jug@sad.it>
14704
14705         * BufferView_pimpl.C (update): redone this function so that we
14706         update the text again if there was a CHANGE_IN_DRAW.
14707
14708         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14709         (drawFromTo): added a new internal bool which is used by draw() and
14710         redraw() function.
14711         (general): some cursor drawing problems fixed.
14712
14713 2001-08-01  Juergen Vigna  <jug@sad.it>
14714
14715         * lyxfind.C (LyXFind): fixed
14716         (SearchForward): ditto
14717         (SearchBackward): ditto
14718
14719         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14720         spurius drawing of the cursor in the main area.
14721
14722         * text2.C (status): small fix which could lead to a segfault!
14723         (clearSelection): remove unneeded BufferView param.
14724
14725 2001-08-01  André Pönitz <poenitz@gmx.net>
14726
14727         * lyxfunc.C: small change due to changed mathed interface
14728
14729 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14730
14731         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14732
14733 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14734
14735         * lyxfunc.c: fail gracefully if file doesn't exist
14736
14737         * LyXSendto.C:
14738         * buffer.C:
14739         * lyxfunc.C:
14740         * BufferView_pimpl.C: IsDirWriteable() proto changed
14741
14742         * LyXView.C: fix updateWindowTitle() to store the last title
14743
14744 2001-07-31  Juergen Vigna  <jug@sad.it>
14745
14746         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14747         the font (wrong since using of Paragraph::highestFontInRange).
14748
14749         * paragraph.C (highestFontInRange): added a default_size parameter.
14750
14751         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14752         (setHeightOfRow): reformat
14753
14754 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14755
14756         * converter.[hC] + affected files: move to (inital-char)lowercase
14757         function names.
14758
14759         * ParagraphParameters.C (ParagraphParameters): remove commented code
14760
14761         * PainterBase.[Ch]: remove commented code
14762
14763         * LaTeXFeatures.h: add "bool floats" for float.sty
14764
14765         * LaTeXFeatures.C (LaTeXFeatures): init floats
14766         (require): handle float
14767         (getPackages): do it with floats
14768
14769 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14770
14771         * BufferView_pimpl.C (Dispatch): improve handling of
14772         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14773
14774         * commandtags.h: #include lyxfont.h here temporarily to avoid
14775         keybinding bug.
14776
14777         * bufferlist.h: include LString.h here.
14778
14779 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14780
14781         * text2.C (getStringToIndex): new method.
14782
14783 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14784
14785         * *: Reduced header file dependencies all over.
14786
14787 2001-07-30  Baruch Even  <baruch@lyx.org>
14788
14789         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14790
14791 2001-07-29  Baruch Even  <baruch@lyx.org>
14792
14793         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14794
14795 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14796
14797         * ParameterStruct.h (endif): add a default constructor to make
14798         sure that all variables is initialized.
14799
14800         * ParagraphParameters.C (ParagraphParameters): adjust
14801
14802 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14803
14804         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14805         index; also, check that there is something to index, and that it
14806         does not span over several paragraphs.
14807         (doubleClick): use WHOLE_WORD_STRICT for double click.
14808
14809         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14810
14811         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14812         scheme.
14813
14814 2001-07-26  Baruch Even  <baruch@lyx.org>
14815
14816         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14817         an InsetFig figure, backwards compatible reading of old figure code.
14818
14819 2001-07-27  Juergen Vigna  <jug@sad.it>
14820
14821         * text2.C: font.realize function adaption.
14822
14823         * text.C (draw): add a warnings lyxerr text if needed.
14824
14825         * layout.C: font.realize function adaption.
14826
14827         * language.C: add inherit_language and implement it's handlings
14828
14829         * bufferview_funcs.C (StyleReset): remove language parameter from
14830         font creation (should be language_inherit now).
14831
14832         * bufferparams.C (writeFile): handle ignore_language.
14833
14834         * paragraph.C (getFontSettings): the language has to be resolved
14835         otherwise we have problems in LyXFont!
14836
14837         * lyxfont.C (lyxWriteChanges): added document_language parameter
14838         (update): removed unneeded language parameter
14839
14840         * paragraph.C (validate): fixed wrong output of color-package when
14841         using interface colors for certain fonts in certain environments,
14842         which should not seen as that on the final output.
14843
14844 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14845
14846         * BufferView_pimpl.C:
14847         * Thesaurus.h:
14848         * Thesaurus.C:
14849         * Makefile.am:
14850         * commandtags.h:
14851         * LyXAction.C: add thesaurus support
14852
14853         * lyxfind.h:
14854         * lyxfind.C: add "once" parameter, for thesaurus, to not
14855           move to the next match
14856
14857 2001-07-26  Juergen Vigna  <jug@sad.it>
14858
14859         * lyxfont.C (realize): honor ignore_language too!
14860         (resolved): ditto.
14861
14862         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14863
14864         * text.C (draw): one place more for ignore_language to not draw
14865         itself!
14866
14867 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14868
14869         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14870
14871 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14872
14873         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14874         the minipage conversion problem.
14875
14876 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14877
14878         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14879         insert an inset.
14880
14881 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14882
14883         * BufferView.h: don't forward declare WorkArea
14884
14885         * BufferView.C: don't include WorkArea.h
14886
14887 2001-07-25  André Pönitz <poenitz@gmx.net>
14888
14889         * commandtags.h:
14890         * LyXAction.C:
14891         * lyxfunc.C:  new LFUN 'math-space'
14892
14893         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14894
14895 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14896
14897         * text2.C (toggleInset): call open/close
14898
14899 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14900
14901         * lyxfunc.C (dispatch): add debug for the disabled case
14902
14903         * font.C (buttonText): make similar to rectText
14904
14905         * buffer.C (readInset): comment out parsing of insetlist and
14906         insttheorem
14907
14908         * PainterBase.C (rectText): small correction
14909
14910         * BufferView_pimpl.C: comment out insettheorem and insetlist
14911         * LyXAction.C: ditto
14912         * commandtags.h: ditto
14913
14914 2001-07-24  Juergen Vigna  <jug@sad.it>
14915
14916         * text.C (draw): honor the ignore_language.
14917
14918         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14919
14920 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14921
14922         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14923         char inset.
14924
14925 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14926
14927         * lyxtext.h: remove unused (and unimplemented) methods
14928
14929 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14930
14931         * text.C (getVisibleRow): honor background color
14932
14933         * PainterBase.h:
14934         * Painter.h: remove default color argument for fillRectangle
14935
14936         * text.C (backgroundColor): new method
14937
14938 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14939
14940         * text.C (getVisibleRow): adjust
14941
14942         * font.[Ch] (rectText): new method, metrics
14943         (buttonText): new method, metrics
14944
14945         * PainterBase.[hC]: make rectText and buttonText always draw and take
14946         fewer paramteres.
14947
14948 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14949
14950         * ToolbarDefaults.C (read):
14951         * MenuBackend.C (read): allow escaping in all strings
14952
14953         * BufferView_pimpl.C (insertAndEditInset): new method.
14954         (Dispatch): use insertAndEditInset whenever appropriate.
14955
14956         * BufferView_pimpl.C (insertNote): removed
14957
14958         * BufferView_pimpl.C (smartQuote): new method, moved from
14959         BufferView; if an insetquote cannot be inserted, insert a '"'
14960         character instead.
14961
14962         * BufferView2.C: remove insertCorrectQuote();
14963
14964         * lyxfunc.C (getStatus): Add support for all remaingin
14965         inset-insert lfuns.
14966
14967         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14968
14969         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14970         command (necessary to pass " as parameter of self-insert.
14971
14972         * text.C (selectWordWhenUnderCursor):
14973         (selectWord): add word_location parameter
14974         (selectWordWhenUnderCursor): same + remove special code for word
14975         boundary.
14976         (selectNextWord): use kind() to guess type of insetspecialchar,
14977         not latex().
14978
14979         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14980         (insertErtContents): create ert insets as collapsed.
14981         (readInset): better compatibility code for Info inset.
14982
14983 2001-07-20  Juergen Vigna  <jug@sad.it>
14984
14985         * lyxfunc.C (dispatch): use always LyXFind now!
14986
14987         * text2.C (init): add a reinit flag so that the LyXText can be
14988         reinited instead of deleted and reallocated (used in InsetText).
14989
14990         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14991
14992         * text.C: ditto
14993
14994         * text2.C: ditto
14995
14996 2001-07-18  Juergen Vigna  <jug@sad.it>
14997
14998         * text.C (selectNextWord): handle insets inside inset by calling
14999         always the bv->text functions so that we can go up the_locking_inset!
15000
15001         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15002         in strange locations when inside an inset!
15003
15004         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15005         handling to include insets.
15006
15007         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15008
15009 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15010
15011         * LyXAction.C (init):
15012         * commandtags.h:
15013         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15014         LIGATURE_BREAK, since the name is so stupid.
15015
15016 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15017
15018         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15019         InsetInfos.
15020
15021         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15022
15023         * sp_form.[Ch]: remove.
15024
15025         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15026
15027         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15028         InsetInfo.
15029
15030         * src/buffer.C (readInset): ditto.
15031
15032 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15033
15034         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15035         menuSeparator(), endOfSentenceDot(), ldots() and
15036         hyphenationPoint(), which are therefore removed.
15037         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15038
15039         * LyXAction.C (init):
15040         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15041
15042         * paragraph.C (getWord): removed.
15043
15044         * BufferView_pimpl.C (Dispatch): use last word or selection for
15045         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15046
15047         * lyx_main.C (queryUserLyXDir): do not ask before creating
15048         user_dir, except if it has been named explicitely.
15049
15050 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15051
15052         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15053         a document of zero size.
15054
15055 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15056
15057         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15058         approriately in the c-tor and in require().
15059         (getPackages): output the appropriate LaTeX for natbib support.
15060
15061         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15062         variables "use_natbib" and "use_numerical_citations" when reading the
15063         LyX file.
15064         (readInset): read the various natbib cite commands.
15065         (validate): white-space change.
15066
15067         * bufferparams.[Ch]: new variables "bool use_natbib" and
15068         "bool use_numerical_citations".
15069         (writeFile): output them in the LyX file.
15070
15071 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15072
15073         * lyxfunc.C (getStatus): add support for all the inset insertion
15074         commands.
15075
15076         * text2.C (insertInset):
15077         * paragraph.C (insetAllowed):
15078         * BufferView_pimpl.C (insertInset): update to take in account the
15079         renaming of insertInsetAllowed
15080
15081         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15082
15083         * text2.C (getInset): new method. returns inset at cursor position.
15084
15085         * BufferView_pimpl.C (Dispatch): changes because of this.
15086
15087         * LyXAction.C (init): rename open-stuff to inset-toggle.
15088
15089         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15090
15091         * text2.C (toggleInset): renamed from openStuff; use
15092         Inset::open().
15093
15094 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15095
15096         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15097
15098         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15099
15100 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15101
15102         * buffer.C (readLyXformat2): Add filename to the error dialog
15103
15104 2001-07-18  Juergen Vigna  <jug@sad.it>
15105
15106         * tabular.C (GetCellNumber): put an assert here instead of the check!
15107
15108 2001-07-17  Juergen Vigna  <jug@sad.it>
15109
15110         * BufferView_pimpl.C (toggleSelection): adapted too.
15111
15112         * text.C (selectNextWord): adapted for use with insets.
15113         (selectSelectedWord): ditto
15114
15115 2001-07-17  Juergen Vigna  <jug@sad.it>
15116
15117         * sp_spell.C (PSpell): fix initialitation order.
15118
15119 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15120
15121         * paragraph.C: spacing
15122
15123 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15124
15125         * sp_spell.C: repair language selection for pspell
15126
15127 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15128
15129         * lyxfunc.h: change more methods to begin with lower char.
15130
15131 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15132
15133         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15134         for unknown layouts.
15135
15136 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15137
15138         * buffer.C (readLyXformat2): Generate an error dialog if there are
15139         unknown layouts.
15140
15141 2001-07-16  Juergen Vigna  <jug@sad.it>
15142
15143         * sp_spell.C: always compile ISpell part.
15144
15145         * lyxrc.C: added use_pspell entry and it's handling.
15146
15147 2001-07-13  Juergen Vigna  <jug@sad.it>
15148
15149         * sp_spell.C: removed double includes.
15150
15151 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15152
15153         Consistent use of Lsstream.h:
15154         * Lsstream.h: added using std::stringstream for consistencies sake.
15155
15156         * buffer.C: removed using std::stringstream
15157
15158         * lyxfont.C (stateText):
15159         * paragraph.C (asString):
15160         * text.C (selectNextWord, selectSelectedWord):
15161         * text2.C (setCounter):
15162         * vspace.C (asString, asLatexString):
15163         std::ostringstream -> ostringstream.
15164
15165 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15166
15167         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15168         * commandtags.h: add LFUN_HELP_ABOUTLYX
15169         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15170
15171 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15172
15173         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15174         cursorToggle()
15175         * lyx_gui_misc.C: remove spellchecker
15176         * lyxfunc.C: showSpellchecker
15177         * sp_base.h: added
15178         * sp_ispell.h: added
15179         * sp_pspell.h: added
15180         * sp_spell.C: added
15181         * sp_form.[Ch]: removed
15182         * spellchecker.[Ch]: removed
15183
15184 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15185
15186         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15187         is set.
15188         (simpleTeXSpecialChars): Simply print the input character without
15189         any special translation if pass_thru is set.
15190
15191         * layout.h: Added bool pass_thru to layout class for being able to
15192         implement pass through of a paragraph for Literate Programming.
15193
15194         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15195         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15196         * layout.C (Read): add "passthru" to list of layout tags and add
15197         code to set the pass_thru boolean when it is read.
15198
15199 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15200
15201         * trans_decl.h: remove allowed from KmodInfo
15202
15203         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15204         remove allowed code
15205         (Load): adjust
15206
15207         * paragraph_pimpl.C (erase): use boost::prior
15208
15209         * Painter.C (text): use data() instead of c_str() when length is
15210         also provided.
15211         * WorkArea.C (putClipboard): ditto
15212         * font.h (width): ditto
15213
15214         * BufferView2.C: use it-> instead of (*it). for iterators
15215         * texrow.C: ditto
15216         * paragraph_pimpl.C: ditto
15217         * paragraph.C: ditto
15218         * minibuffer.C: ditto
15219         * language.C: ditto
15220         * kbmap.C: ditto
15221         * encoding.C: ditto
15222         * counters.C: ditto
15223         * converter.C: ditto
15224         * chset.C: ditto
15225         * Variables.C: ditto
15226         * TextCache.C: ditto
15227         * MenuBackend.C: ditto
15228         * LyXAction.C: ditto
15229         * LColor.C: ditto
15230         * FloatList.C: ditto
15231         * DepTable.C: ditto
15232         * ColorHandler.C (LyXColorHandler): ditto
15233
15234 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15235
15236         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15237
15238         * text2.C (openStuff): reintroduce this method (which had been
15239         nuked in NEW_INSETS frenzy).
15240
15241         * lyxfunc.C (Dispatch): when an action has not been handled, use
15242         its name in the error message, not its number.
15243
15244         * paragraph.C (inInset): change method name to begin with lowercase.
15245
15246         * undo_funcs.C:
15247         * text2.C: updates because of this.
15248
15249 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15250
15251         * ToolbarDefaults.C (add): add spaces in error message
15252
15253 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15254
15255         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15256         (readLyXformat2): rename return_par to first_par, use lyxlex's
15257         pushToken and remove the manual push handling.
15258         (parseSingleLyXformat2Token): add another ert comp. variable:
15259         in_tabular, rename return_par to first_par. handle newlines better
15260
15261 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15262
15263         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15264
15265 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15266
15267         * text2.C (getParFromID): removed
15268
15269         * buffer.C (getParFromID): new method moved form lyxtext.
15270         * BufferView2.C (insertErrors): adjust
15271         (setCursorFromRow): adjust
15272         * BufferView_pimpl.C (restorePosition): adjust
15273         * lyxfunc.C (Dispatch): adjust
15274         * undo_funcs.C (textUndo): adjust
15275         (textRedo): adjust
15276         (textHandleUndo): adjust
15277         (textHandleUndo): adjust
15278
15279 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15280
15281         * buffer.C: up' the LYX_FORMAT
15282
15283         * lyxfont.h: turn NO_LATEX on as default
15284
15285         * buffer.C (insertErtContents): new methods of tex style compability.
15286         (parseSingleLyXformat2Token): use it several places.
15287         * tabular.C (OldFormatRead): and here
15288
15289 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15290
15291         * text2.C: remove some commented code.
15292         reindent file.
15293
15294         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15295         * trans.C: changes because of the above.
15296
15297 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15298
15299         * text2.C (setCounter): Fix counters bug with bibliography layout.
15300
15301 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15302
15303         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15304         own member functions
15305         (simpleTeXSpecialChars): ditto
15306
15307 2001-07-06  Juergen Vigna  <jug@sad.it>
15308
15309         * a lot of files: changed the access to LyXText::status and the
15310         call of undo-functions.
15311
15312         * undo.[Ch]: added a inset_id to the undo informations.
15313
15314         * undo_funcs.[Ch]: added and moved here all undo functions.
15315
15316         * lyxtext.h: give the status enum a weight, made status_ a private
15317         variable and made accessor functions for it, removed the whole bunch
15318         of undo-functions as they are now in their own file, make some
15319         functions publically available. Added function ownerParagraph with
15320         int parameter.
15321
15322         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15323         made InInset() a const function, added getParFromID() function.
15324
15325         * buffer.[Ch]: added const version for inset_iterator functions,
15326         added getInsetFromID() function.
15327
15328         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15329         changed undo functions for new version.
15330
15331 2001-07-05  Juergen Vigna  <jug@sad.it>
15332
15333         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15334         unknow mechanism does not call the proper constructor but only this
15335         one also if I request the other!?
15336
15337 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15338
15339         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15340
15341         * text2.C (LyXText): use initialization lists.
15342
15343         * lyxtext.h (Selection): initialize set_ and mark_
15344         (init): remove method
15345
15346 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15347
15348         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15349
15350 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15351
15352         * screen.[Ch]: change method names to begin with lowercase
15353
15354         * BufferView_pimpl.C (updateScrollbar): simplify further and
15355         hopefully make it a bit faster.
15356
15357 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15358
15359         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15360         calling directly xforms functions.
15361
15362         * Painter.C (Painter):
15363         * lyx_cb.C (MenuWrite):
15364         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15365         fl_display.
15366
15367         * lyx_gui.C: remove bogus guiruntime extern declaration.
15368
15369 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15370
15371         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15372         in NEW_INSETS
15373         (redoDrawingOfParagraph): ditto
15374         (redoParagraphs): ditto
15375         (cutSelection): don't create a object for CutAndPaste use the
15376         static method directly
15377         (pasteSelection): ditto
15378
15379         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15380         LyXview (+ rename)
15381
15382 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15383
15384         * modifications to some other files because of this.
15385
15386         * Makefile.am (lyx_SOURCES): add XFormsView
15387
15388         * XFormsView.[Ch]: new files
15389
15390         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15391         the main window. Move the gui dependent stuff to XFormsView
15392
15393 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15394
15395         * tabular.C (GetCellInset): update cur_cell also in the row/col
15396         version of this function.
15397
15398         * lyxfunc.C: no need to include figure_form.h here.
15399
15400         * FontLoader.h:
15401         * lyxfunc.h:
15402         * lyxscreen.h:
15403         * text2.C:
15404         * lyxvc.C: no need to include forms.h here.
15405
15406 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15407
15408         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15409
15410         * lyxfunc.C (Dispatch):
15411         * Spacing.C (set):
15412         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15413         constructor argument.
15414
15415 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15416
15417         * paragraph.C (Paragraph): dont't clear, and just set layout.
15418         (makeSameLayout): use params's copy contructor.
15419
15420         * ParagraphParameters.[Ch] (makeSame): delete method
15421
15422 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15423
15424         * Variables.[Ch]: fix indentation, rename set to isSet
15425
15426 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15427
15428         * lyxfunc.C (Dispatch): fix typo
15429
15430 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15431
15432         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15433         upper_bound.
15434
15435         * bufferlist.C: include assert.h for emergencyWrite().
15436
15437 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15438
15439         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15440           give up at last (bug #425202) !
15441
15442 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15443
15444         * lyx_gui_misc.C:
15445         * sp_form.h:
15446         * sp_form.C:
15447         * spellchecker.h:
15448         * spellchecker.C: strip spellchecker options and bring up
15449           preferences tab instead
15450
15451 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15452
15453         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15454         the istringstream constructor
15455
15456 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15457
15458         * paragraph.C (getLayout): fix return value
15459
15460         * paragraph.h: do not declare getLayout as inline.
15461
15462         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15463
15464 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15465
15466         * lyxcursor.h (operator<): new func
15467         (operator>): new func
15468         (operator>=): new func
15469         (operator<=): new func
15470
15471         * text.C (changeCase): use selection.start and selection.end
15472         (changeRegionCase): require from to be <= to. Require par to be a
15473         valid paragraph.
15474
15475         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15476
15477 2001-06-27  Juergen Vigna  <jug@sad.it>
15478
15479         * text.C (cursorLeftOneWord): changed to return the cursor and added
15480         overlay with BufferView * parameter which calls this one.
15481         (getWord): added
15482         (selectWord): use new getWord function.
15483         (changeCase): renamed from changeWordCase as and extended to work
15484         also on selections.
15485
15486         * lyxtext.h: added enum word_location
15487
15488         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15489         changeCase as this operates now also on selections.
15490
15491 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15492
15493         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15494
15495         * many files: send debug output to Debug::INFO instead of
15496         Debug::ANY.
15497
15498         * converter.C (View):
15499         (Convert):
15500         (Move): send debug output to Debug::FILES instead of console.
15501
15502 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15503
15504         * lyxfunc.C (getStatus): use func_status
15505
15506         * func_status.h: new header, describing the results of
15507         LyXFunc::getStatus;
15508
15509         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15510         LFUN_MATH_HALIGN.
15511
15512 2001-06-25  The LyX Project  <jug@sad.it>
15513
15514         * buffer.C (sgmlOpenTag):
15515         (sgmlCloseTag):
15516         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15517
15518 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15519
15520         * text2.C: remove some dead code
15521
15522         * tabular.C (GetCellInset): store the last cell checked (gotten)
15523
15524         * tabular.h: add the helper for the speedup
15525
15526         * lyxtext.h: remove some dead code
15527
15528 2001-06-26  The LyX Project  <Asger>
15529
15530         * paragraph.C: Change export to LaTeX of alignment to
15531         \begin{center} and family for better roundtrip work with reLyX.
15532
15533         * Tune the math drawing a bit.
15534
15535 2001-06-25  The LyX Project  <Asger>
15536
15537         * LColor.C (LColor): New color for math background. New color
15538         for buttons.
15539
15540 2001-06-25  The LyX Project  <jug@sad.it>
15541
15542         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15543
15544         * lyxfunc.C (Open):
15545         * bufferlist.C (newFile): do not restrict to files ending with
15546         .lyx
15547
15548         * BufferView_pimpl.C (MenuInsertLyXFile):
15549
15550 2001-06-24  The LyX Project  <jug@sad.it>
15551
15552         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15553         of compare_no_case
15554
15555 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15556
15557         * lyxtext.h: rename most methods to begin with a small char.
15558         Lots of changes because of this.
15559
15560         * paragraph.C (Paragraph): do not call fitToSize
15561         (erase): call Pimpl::erase
15562         (insertChar): call Pimpl::insertChar
15563         (insertInset): call Pipl::insertInset
15564         (breakParagraph): do not call fitToSize
15565         (breakParagraphConservative): do not call fitToSize
15566         (fitToSize): remove method
15567
15568         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15569
15570 2001-06-24  The LyX Project  <Asger>
15571
15572         * Fix Qt compilation^2
15573
15574 2001-06-24  The LyX Project  <jug@sad.it>
15575
15576         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15577         depthHook(getDepth()-1).
15578
15579         * paragraph.h:
15580         * ParagraphParameters.h:
15581         * ParameterStruct.h: change type of depth to unsigned int ==
15582         depth_type. Many adaptations to other files before of that.
15583
15584 2001-06-24  The LyX Project  <Asger>
15585
15586         * Fix Qt compilation.
15587
15588 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15589
15590         * paragraph.h: renamed several methods to begin with small letter.
15591         several changes to many parts of the code because of this.
15592
15593 2001-06-23  The LyX Project  <jug@sad.it>
15594
15595         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15596         rewritten to discard all double spaces when KeepEmpty is off
15597         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15598         to only handle newlines but not fiddle with spaces and friends.
15599
15600         * lyxfunc.C (MenuNew): when doing 'new from template', use
15601         template_path as default directory
15602
15603 2001-06-23  The LyX Project  <Asger>
15604
15605         * Clean-up of header file includes all over
15606         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15607
15608 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15609
15610         * paragraph.h: renamed from lyxparagraph.h
15611
15612 2001-06-23  Asger  <lyx@violet.home.sad.it>
15613
15614         * Buffer.h: Removed Buffer::resize
15615         * BufferList.h: Removed BufferList::resize
15616         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15617         the document lazily when we change the width, or the font settings.
15618
15619 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15620
15621         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15622
15623 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15624
15625         * buffer.h: remove out of date comment
15626
15627 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15628
15629         * lyxscreen.h:
15630         * screen.C: fix "theoretical" GC leak
15631
15632 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15633
15634         * LaTeX.C (scanAuxFile):
15635         (deplog): remove trailing \r when reading stream (useful under
15636         win32)
15637
15638 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15639
15640         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15641         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15642         and BufferView::theLockingInset(Inset*), so should use them and not
15643         access bv_->text->the_locking_inset directly.
15644
15645         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15646
15647 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15648
15649         * Makefile.am:
15650         * tex-defs.h: remove old unused file
15651
15652 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15653
15654         * BufferView_pimpl.C: fix typo, remove minibuffer message
15655           when buffer has loaded
15656
15657 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15658
15659         * lyxfunc.C (Dispatch): use stringstream
15660         (MenuNew): use stringstream
15661         (Open): use stringstream
15662
15663         * importer.C (Import): use stringstream
15664
15665         * bufferview_funcs.C (CurrentState): use stringstream
15666
15667         * LaTeX.C (run): use stringstream
15668
15669         * BufferView_pimpl.C (savePosition): use stringstream
15670         (restorePosition): use stringstream
15671         (MenuInsertLyXFile): use stringstream
15672
15673 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15674
15675         * BufferView.C:
15676         * Bullet.C:
15677         * ColorHandler.C:
15678         * FontInfo.C:
15679         * FontLoader.C:
15680         * LColor.C:
15681         * LaTeXFeatures.C:
15682         * Painter.C:
15683         * gettext.C:
15684         * lyx_gui_misc.C:
15685         * lyxserver.C:
15686         * vspace.C: removed // -*- C++ -*- as first line.
15687
15688         * lyxfind.h:
15689         * version.h: added // -*- C++ -*- as first line.
15690
15691 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15692
15693         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15694
15695         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15696         of string
15697
15698 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15699
15700         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15701         of floats.
15702
15703 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15704
15705         * gettext.C: include LString.h even when --disable-nls is on.
15706
15707 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15708
15709         * converter.h (Get): changed argument type from int to
15710         FormatList::size_type to avoid unnecessary conversion.
15711
15712         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15713         before using it.
15714
15715 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15716
15717         * gettext.h: include LString.h even when --disable-nls is on.
15718
15719 2001-06-07  Juergen Vigna  <jug@sad.it>
15720
15721         * text.C (BreakAgain): subst spaces with tabs.
15722
15723         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15724         (resizeInsetsLyXText): set force on resizeLyXText.
15725
15726 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15727
15728         * gettext.h (gettext_init):
15729         (locale_init): use a real definition instead of a macro
15730
15731 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15732
15733         * Bufferview_pimpl.C:
15734         * LColor.h:
15735         * LColor.C: further lcolor tidies
15736
15737 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15738
15739         * BufferView_pimpl.C (updateScrollbar): simplify.
15740
15741         * BufferView2.C: don't include insets/insetinfo.h, change
15742         prototype for insertInset and call the Pimpl version. let
15743         updateInset call Pimpl version.
15744
15745         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15746         gotoInset to BufferView::Pimpl
15747
15748 2001-06-01  Juergen Vigna  <jug@sad.it>
15749
15750         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15751         inside a LockingInset (is the update needed at all?).
15752
15753 2001-05-31  Juergen Vigna  <jug@sad.it>
15754
15755         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15756         here not the old one otherwise how should we compare it afterwards
15757         if it's the same!
15758
15759 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15760
15761         * lyxfont.C:
15762         * tabular.C:
15763         * tabular-old.C:
15764         * FontInfo.C: bring C functions into global namespace when
15765         necessary
15766
15767 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15768
15769         * LString.h: make sure config.h has been loaded before LString.h.
15770
15771         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15772         (one for each char read by EatLine!).
15773
15774         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15775         variables.
15776
15777 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15778
15779         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15780         to the same as the par we break from
15781
15782 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15783
15784         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15785
15786         * MenuBackend.C (expand): also create menu entries for wide
15787         versions of the floats.
15788
15789         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15790
15791         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15792
15793         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15794         frontends/Makefile.am
15795
15796         * text2.C: adjust
15797         * text.C: adjust
15798
15799
15800         * tabular.C (getTokenValue): add std::
15801
15802         * tabular-old.C (getTokenValue): add std::
15803         (getTokenValue): ditto
15804         (getTokenValue): ditto
15805
15806         * screen.C (ToggleSelection): adjust
15807
15808         * lyxtext.h: put selection cursors inside a Selection struct.
15809
15810         * lyxfunc.C (moveCursorUpdate): adjust
15811
15812         * lyxfont.C (latexWriteStartChanges): add std::
15813
15814         * lyxfind.C: adjust
15815
15816         * font.h: delete with(char const *, LyXFont const &)
15817
15818         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15819
15820         * FontInfo.C (getFontname): add std::
15821
15822         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15823         (workAreaButtonPress): adjust
15824         (tripleClick): adjust
15825         (update): adjust
15826         (moveCursorUpdate): adjust
15827         (Dispatch): adjust
15828
15829         * BufferView2.C (gotoInset): adjust
15830
15831 2001-05-30  Juergen Vigna  <jug@sad.it>
15832
15833         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15834         to check pspell I add this as default as I now have new pspell
15835         libraries and they seem to use this.
15836
15837 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15838
15839         * text2.C (CutSelection): make the cursor valid before the call to
15840         ClearSelection.
15841
15842 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15843
15844         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15845         relied on 0 terminated strings and other horrors. Bug found due to
15846         the new assert in lyxstring!
15847
15848         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15849         KP_ keys.
15850
15851 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15852
15853         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15854         to latinkeys.bind.
15855
15856         * lyxfunc.C (processKeySym): change method of getting to the
15857         self-insert char.
15858
15859         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15860         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15861         * BufferView_pimpl.[Ch]: here as private methods.
15862
15863 2001-05-28  Juergen Vigna  <jug@sad.it>
15864
15865         * text.C (SetHeightOfRow): added the update() call again as it is
15866         needed to initialize inset dimensions!
15867
15868 2001-05-16  Juergen Vigna  <jug@sad.it>
15869
15870         * text2.C (SetCharFont): Add new function with BufferView * and
15871         bool toggleall parameters for setting insets internal fonts.
15872         (SetFont): Freeze the undo as we may change fonts in Insets and
15873         all this change should be inside only one Undo!
15874
15875         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15876         setting font's in insets as for them we have the SetFont function!
15877
15878 2001-05-15  Juergen Vigna  <jug@sad.it>
15879
15880         * text2.C (ClearSelection): to be sure we REALLY don't have any
15881         selection anymore!
15882
15883         * tabular.C (TeXCellPreamble): fixed the left border problem for
15884         multicolumn cells.
15885
15886 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15887
15888         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15889         dependancy file
15890
15891 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15892
15893         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15894         LFUN_BREAKPARAGRAPH.
15895
15896         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15897         help test to "internal only", similar for LFUN_INSERT_URL
15898
15899         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15900         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15901         auto_region_delete and deadkeys.
15902
15903 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15904
15905         * LColor.h:
15906         * LColor.C: remove some dead entries, tidy a little
15907
15908 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15909
15910         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15911         commented code.
15912         (Dispatch): implement LFUN_ESCAPE
15913
15914         * commandtags.h: add LFUN_ESCAPE
15915
15916         * LyXAction.C (init): add entry for LFUN_ESCAPE
15917
15918         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15919         Remove commented code.
15920         (insertNote): moved here
15921         (open_new_inset): moved here
15922
15923         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15924         BufferView_pimpl
15925
15926 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15927
15928         * kbmap.C (findbinding): clean it up and make it work correctly.
15929
15930         * lyx_main.C (init): do not pass argc and argv as parameters
15931
15932 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15933
15934         * buffer.C: fix path for OS/2 & Win32
15935
15936         * lyx_gui.C:
15937         * lyx_main:
15938         * lyx_main.C: Added os:: class.
15939
15940         * os2_defines.h: update
15941
15942 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15943
15944         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15945         better by trying again with reduced state.
15946
15947 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15948
15949         * lyxrc.C (read): print error about invalid key sequence only when
15950         debugging (because not all latinX keysyms are known to some X
15951         servers)
15952
15953         * kbsequence.C (getiso): add a few std:: qualifiers
15954         (getiso): comment out extra return statement.
15955
15956 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15957
15958         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15959         handling.
15960         (Dispatch): enhance the accent inset a bit. (not perfect)
15961
15962 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15963
15964         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15965
15966 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15967
15968         * bufferlist.C (emergencyWrite): fix assert() call
15969
15970 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15971
15972         * text.C (InsertChar): Added trivial patch to only send the "you
15973         can not do multiple spaces this way" message once during a
15974         session.
15975
15976 2001-05-08  Baruch Even  <baruch@lyx.org>
15977
15978         * Makefile.am: Changed order of libraries to get LyX to link properly
15979         with the gnome frontend.
15980
15981 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15982
15983         * LaTeXFeatures.h: add a std:: qualifier
15984
15985 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15986
15987         * paragraph.C (String): use stringstream
15988
15989 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15990
15991         * paragraph.C (writeFile): remove footflag arg
15992
15993         * buffer.C (makeLaTeXFile): use stringstream
15994         (latexParagraphs): remove footnot gurba
15995
15996         * LaTeXFeatures.C (getPackages): use stringstream
15997         (getMacros): likewise
15998         (getTClassPreamble): likewise
15999         (getFloatDefinitions): new method
16000
16001         * paragraph.C (writeFile): reindent
16002         (Erase): reindent
16003
16004         * WorkArea.h: revert the xpos + etc changes.
16005
16006         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16007
16008         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16009
16010         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16011         (pasteSelection): likewise
16012         * text2.C (CreateUndo): likewise
16013
16014 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16015
16016         * minibuffer.C (peek_event): temporarily reduce the functionality
16017         of the minibuffer (to allow args on lfuns)
16018
16019         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16020         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16021
16022         * buffer.C (readInset): add compability reading of old float
16023         lists, add reading of new style float list.
16024         (readInset): avoid reevaluation of inscmd.getCmdName()
16025         (getLists): reindent
16026
16027         * MenuBackend.C (MenuItem): implement parsing of
16028         md_floatlistinsert and md_floatinsert.
16029         (expand::LastFiles): move initalizaton of iterators out of loop,
16030         avoid reevaluation.
16031         (expand::Documents): introduce typdedef vector<string> Strings,
16032         and use it.
16033         (expand::ExportFormats): introduce typedef vector<Format const *>
16034         Formats, and use it.
16035         (expand): implement FloatListInsert and FloatInsert.
16036
16037         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16038         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16039         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16040
16041         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16042         handling.
16043         (Dispatch::LFUN_FLOAT_LIST): implement
16044
16045 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16046
16047         * LaTeX.C (run): Fix problem with --export code.
16048
16049 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16050
16051         * BufferView.[Ch] (workarea): removed.
16052         (getClipboard) new method; wrapper for workarea()->getClipboard()
16053
16054         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16055         bug.
16056
16057         * WorkArea.h (width, height, xpos, ypos): These methods all
16058         returned the dimensions of the work_area sub-area of WorkArea,
16059         resulting in a position error if the WorkArea were resized. Now
16060         return the dimensions of the entire WorkArea.
16061
16062         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16063
16064 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16065
16066         * LaTeX.C (deplog): correct the syntax of regex reg1
16067
16068 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16069
16070         * undo.C: remove !NEW_INSETS cruft
16071
16072 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16073
16074         * text2.C: remove !NEW_INSETS cruft
16075
16076         * text.C: remove !NEW_INSETS cruft
16077
16078         * tabular.C: remove !NEW_INSETS cruft
16079
16080         * spellchecker.C: remove !NEW_INSETS cruft
16081
16082         * lyxtext.h: remove !NEW_INSETS cruft
16083
16084         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16085
16086         * lyxfunc.C: remove !NEW_INSETS cruft
16087
16088         * lyxfind.C: remove !NEW_INSETS cruft
16089
16090         * lyx_cb.C: remove !NEW_INSETS cruft
16091
16092         * figureForm.C: remove  !NEW_INSETS cruft
16093
16094         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16095
16096         * buffer.[Ch]: remove !NEW_INSETS cruft
16097
16098         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16099
16100         * CutAndPaste.C: remove !NEW_INSETS cruft
16101
16102         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16103
16104         * BufferView2.C: remove !NEW_INSETS cruft
16105
16106         * BufferView.h: remove !NEW_INSETS cruft
16107
16108 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16109
16110         * Lsstream.h: include LString.h before the sstream headers to
16111         fix problem with gcc 2.95.3 and lyxstring
16112
16113 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16114
16115         * lyx_main.C: add using directives when needed for C functions
16116         declared in std:: namespace.
16117
16118 2001-04-27  Juergen Vigna  <jug@sad.it>
16119
16120         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16121         (SetHeightOfRow): comment out the update call should not be needed!
16122
16123 2001-04-13  Juergen Vigna  <jug@sad.it>
16124
16125         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16126         (LyXTabular): tried to minimize operator= operations (and realized
16127         hopfully Lars wish).
16128
16129 2001-04-27  Juergen Vigna  <jug@sad.it>
16130
16131         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16132
16133 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16134
16135         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16136
16137         * buffer.C (readInset): hack to make listof algorithm work
16138
16139         * BufferView_pimpl.C: hack to make listof algorithm work
16140
16141 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16142
16143         * LyXAction.C: removed all !NEW_INSETS cruft
16144         (init): moved lfun_item in method
16145
16146         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16147
16148 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16149
16150         * BufferView2.C (theLockingInset): white space.
16151
16152 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16153
16154         * minibuffer.C: include <iostream>
16155
16156         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16157
16158         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16159
16160         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16161
16162         * text.[Ch] (TransposeChars): new method
16163
16164 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16165
16166         * call message directly through LyXView instead of through LyXFunc
16167         * BufferView2.C: adjust
16168         * BufferView_pimpl.C: adjust
16169         * FontLoader.C: adjust
16170         * buffer.C: adjust
16171         * bufferview_funcs.C: adjust
16172         * converter.C: adjust
16173         * figureForm.C: adjust
16174         * importer.C: adjust
16175         * lyx_cb.C: adjust
16176         * lyx_gui_misc.C: adjust
16177         * lyxfunc.C: adjust
16178         * lyxvc.C: adjust
16179         * text2.C: adjust
16180         + more files in subdirs
16181
16182         * lyxparagraph.h (size): move up int file
16183         (GetLayout): ditto
16184
16185         * adjust all uses of Assert to lyx::Assert.
16186
16187         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16188         lyxfunctional in namespace lyx
16189         * layout.C (hasLayout): ditto
16190         (GetLayout): ditto
16191         (GetLayout): ditto
16192         (delete_layout): ditto
16193         (NumberOfClass): ditto
16194         * converter.C (GetFormat): ditto
16195         (GetNumber): ditto
16196         (Add): ditto
16197         (Delete): ditto
16198         (SetViewer): ditto
16199         * bufferlist.C (getFileNames): ditto
16200         (emergencyWriteAll): ditto
16201         (exists): ditto
16202         (getBuffer): ditto
16203         * MenuBackend.C (hasSubmenu): ditto
16204         (hasMenu): ditto
16205         (getMenu): ditto
16206         * BufferView_pimpl.C (getInsetByCode): ditto
16207
16208 2001-04-18  Juergen Vigna  <jug@sad.it>
16209
16210         * vspace.C (asLatexString): fixed the 100% problem.
16211
16212 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16213
16214         * lyxfunc.C (Dispatch):
16215         * minibuffer.C:
16216         * minibuffer.h: add a few std:: qualifiers
16217
16218 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16219
16220         * minibuffer.[Ch]: reimplement so that commands is initiated and
16221         run from lyxfunc, simplified som handling, and made the completion
16222         and history code for complete. wip.
16223
16224         * lyxfunc.C (processKeySym): call message
16225         (miniDispatch): new temporary method
16226         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16227         (LFUN_MESSAGE): implement
16228         (LFUN_MESSAGE_PUSH): implement
16229         (LFUN_MESSAGE_POP): implement
16230         (initMiniBuffer): the initial/defualt minibuffer message.
16231
16232         * lyxfont.[Ch]: inline some more getters
16233
16234         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16235
16236         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16237
16238         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16239         (AutoSave): use LFUN_MESSAGE
16240         (Reconfigure): ditto
16241
16242         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16243
16244         * figureForm.C: use LFUN_MESSAGE
16245
16246         * converter.C (runLaTeX): use LFUN_MESSAGE
16247
16248         * bufferview_funcs.C: use LFUN_MESSAGE
16249         (Melt): ditto
16250         (changeDepth): ditto
16251
16252         * bufferparams.h: use boost::
16253
16254         * bufferlist.h: inherit privately from noncopyable
16255
16256         * bufferlist.C (loadLyXFile): remove some commented code.
16257
16258         * buffer.C (runChktex): use LFUN_MESSAGE
16259
16260         * ShareContainer.h: inherit privately from noncopyable
16261
16262         * ParagraphParameters.[hC] (depth): inline it.
16263
16264         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16265         methods.
16266         (message): new method
16267         (messagePush): ditto
16268         (messagePop): ditto
16269         (show): init minibuffer
16270         (showState): direct call
16271
16272         * LaTeX.[Ch]: inherit privately from noncopyable
16273         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16274         instead of WriteStatus.
16275
16276         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16277
16278         * BufferView_pimpl.C (buffer): don't init minibuffer
16279         (workAreaButtonPress): use LFUN_MESSAGE
16280         (workAreaButtonRelease): ditto
16281         (savePosition): ditto
16282         (restorePosition): ditto
16283         (MenuInsertLyXFile): ditto
16284         (workAreaExpose): don't init minibuffer
16285         (update): remove commented code, simplify
16286
16287         * BufferView2.C (openStuff): use LFUN_MESSAGE
16288         (toggleFloat): ditto
16289         (menuUndo): ditto
16290         (menuRedo): ditto
16291         (copyEnvironment): ditto
16292         (pasteEnvironment): ditto
16293         (copy): ditto
16294         (cut): ditto
16295         (paste): ditto
16296         (gotoInset): ditto
16297         (updateInset): remove some commented code
16298
16299         * lastfiles.h: inherit privately from noncopyable
16300         * layout.h: ditto
16301         * lyx_gui.h: ditto
16302         * lyx_main.h: ditto
16303         * lyxlex.h: ditto
16304         * lyxlex_pimpl.h: ditto
16305
16306         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16307         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16308         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16309
16310         * LyXAction.h: inherit privately from noncopyable, add methods
16311         func_begin, func_end, returning iterators to the func map.
16312
16313         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16314         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16315         (func_begin): new method
16316         (func_end): new method
16317
16318         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16319         and not)
16320         (copySelection): ditto
16321         (pasteSelection): ditto
16322
16323         * BufferView.C: whitespace change
16324         * BufferView.h: inherit privately from noncopyable
16325
16326 2001-04-16  Allan Rae  <rae@lyx.org>
16327
16328         * tabular-old.C (l_getline):
16329         * spellchecker.C (sc_check_word):
16330         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16331         an unrecognised preprocessor directive.  So ensure they're wrapped.
16332
16333 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16334
16335         * src/exporter.C (Export): Give an error message when path to file
16336         contains spaces.
16337
16338 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16339
16340         * LaTeX.C (deplog): Always check that foundfile exists.
16341
16342 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16343
16344         * lyx_main.h:
16345         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16346
16347 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16348
16349         * tabular.[Ch] (getLabelList): implement new method
16350
16351         * minibuffer.h: comment ouf setTiimer
16352
16353         * minibuffer.C (ExecutingCB): constify res
16354         (peek_event): constify s
16355         (Set): constify ntext
16356         (Init): constify nicename
16357
16358         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16359
16360         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16361         (savePosition): use two params to Minibuffer::Set
16362         (restorePosition): ditto
16363
16364 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16365
16366         * lyx_main.C: include language.h
16367
16368         * Makefile.am (lyx_main.o): add language.h
16369
16370 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16371
16372         * exporter.C:
16373         * paragraph.C:
16374         * screen.C:
16375         * tabular.C:
16376         * CutAndPaste.C: include gettext.h
16377
16378         * lyxfont.h: remove old hack with ON and OFF.
16379
16380         * lyxparagraph.h:
16381         * lyxfont.h: do not include language.h...
16382
16383         * BufferView2.C:
16384         * LaTeXFeatures.C:
16385         * Painter.C:
16386         * bufferview_funcs.C:
16387         * font.C:
16388         * lyxfont.C:
16389         * text.C:
16390         * text2.C:
16391         * trans_mgr.C:
16392         * paragraph.C: ... but do it here instead
16393
16394 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16395
16396         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16397
16398         * tabular.C: small reformat
16399
16400         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16401         NEW_INSETS version
16402         (GetChar): ditto
16403         (BreakParagraph): ditto
16404         (SetOnlyLayout): ditto
16405         (SetLayout): ditto
16406
16407         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16408         with one arg less.
16409
16410         * lastfiles.C: removed most using decl, add std:: where needed
16411
16412         * buffer.C: ws changes
16413
16414         * MenuBackend.C (class compare_format): put into anon namespace
16415         (expand): constify label, names, action, action2
16416         (expand):
16417
16418         * text.C (SingleWidth): constify font
16419         (IsBoundary): constify rtl2
16420         (GetVisibleRow): constify ww
16421
16422         * LaTeX.C (deplog): constify logfile
16423
16424         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16425         start_x, end_x
16426         (workAreaExpose): constify widthChange, heightChange
16427
16428         * lyxrow.C (par): moved
16429         (height): moved
16430         (next): moved
16431         * lyxrow.h: as inlines here
16432
16433         * lyxfont.h (shape): moved from lyxfont.C
16434         (emph): moved from lyxfont.C
16435
16436         * lyxfont.C (LyXFont): use initialization list for all
16437         constructors
16438         (shape): move to lyxfont.h as inline
16439         (emph): move to lyxfont.h as inline
16440
16441
16442 2001-04-04  Juergen Vigna  <jug@sad.it>
16443
16444         * vspace.C: had to include stdio.h for use of sscanf
16445
16446 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16447
16448         * BufferView.h:
16449         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16450         independent of xforms.
16451
16452 2001-04-02  Juergen Vigna  <jug@sad.it>
16453
16454         * spellchecker.C: fixed namespace placing!
16455
16456 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16457
16458         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16459         the LyXParagraph * is 0.
16460
16461 2001-03-29  Juergen Vigna  <jug@sad.it>
16462
16463         * vspace.C: added support for %, c%, p%, l%.
16464         (stringFromUnit): added helper function.
16465         (asLatexString): changed to give right results for the %-values.
16466
16467         * buffer.C: convert the widthp in a width%.
16468
16469 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16470
16471         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16472         figureForm.[Ch].
16473
16474         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16475         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16476
16477         * lyx_cb.[Ch]: see above.
16478
16479         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16480         form1.[Ch].
16481
16482         * form1.[Ch]:
16483         * lyx.[Ch]: replaced by figure_form.[Ch].
16484
16485         * lyx_gui.C:
16486         * lyx_gui_misc.C:
16487         * lyxfunc.C: changed headers associated with above changes.
16488
16489 2001-03-27  Juergen Vigna  <jug@sad.it>
16490
16491         * BufferView_pimpl.C: set the temporary cursor right!
16492
16493 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16494
16495         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16496
16497 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16498
16499         * LString.h: removed "using std::getline"!
16500
16501         * BufferView_pimpl.C (Dispatch): changes due to changes in
16502         InsetInclude::Params.
16503
16504         * buffer.C (tag_name): removed redundant break statements as they were
16505         producing lots of warnings with my compiler.
16506
16507 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16508
16509         * LString.h: add "using std::getline" when using the real <string>.
16510
16511 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16512
16513         * buffer.C: removed bitset usage.
16514         PAR_TAG moved to an anonymous name space.
16515         (tag_name): new funtion, also in the anonymous namespace.
16516         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16517         (makeDocBookFile): clean code. Completed transition from string arrays
16518         to string vectors.
16519         (SimpleDocBookOnePar): code clean.
16520
16521 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16522
16523         * tabular.C: add some comments.
16524
16525 2001-03-22  Juergen Vigna  <jug@sad.it>
16526
16527         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16528         compatibility read a bit and fixed bug with minipage in different
16529         depth.
16530
16531 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16532
16533         * buffer.C (pop_tag): removed.
16534         (push_tag): removed.
16535         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16536         array replaced with vector. Added support for CDATA sections.
16537         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16538         at any nest level.
16539         (makeDocBookFile): XML conformant declaration of CDATA section,
16540         fixed bug related to <emphasis> in the first paragraph char.
16541         (sgmlOpenTag): exclude empty tags.
16542         (sgmlCloseTag): ditto.
16543
16544         * buffer.h (pop_tag): removed.
16545         (push_tag): removed.
16546
16547 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16548
16549         * language.h (Languages): added size_type and size().
16550
16551 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16552
16553         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16554         response on compability reading of minipages. One probliem is that
16555         the old usage of minipages was «flertydig»
16556
16557         * several files here and in subdirs: don't use static at file
16558         scope use anon namespaces instead.
16559
16560 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16561
16562         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16563         LaTeX output. This is necessary for Literate document
16564         processing.
16565
16566 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16567
16568         * buffer.C: insert hfill when needed.
16569
16570         * tabular.C (l_getline): use string::erase, small whitespace change.
16571
16572         * BufferView_pimpl.C: try the anon namespace.
16573         * WorkArea.C: ditto
16574
16575 2001-03-16  Juergen Vigna  <jug@sad.it>
16576
16577         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16578         otherwise it won't open options-dialogs.
16579
16580         * buffer.C: honor pextraWidth(p) on converting minipages.
16581
16582         * tabular.C (l_getline): changed the functions to strip trailing \r.
16583
16584 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16585
16586         * BufferView_pimpl.C:
16587         * minibuffer..C: added "using SigC::slot" declaration.
16588
16589 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16590
16591         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16592
16593         * text2.C: ditto
16594
16595         * text.C: ditto
16596
16597         * paragraph.C: ditto
16598
16599         * lyxtext.h: NO_PEXTRA
16600
16601         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16602
16603         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16604         * ParameterStruct.h: ditto
16605         * ParagraphParameters.h: ditto
16606         * lyxparagraph.h: ditto
16607
16608 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16609
16610         * buffer.C: add compability for minipage alignment.
16611         (latexParagraphs): remove unwanted pextra check.
16612
16613         * several files: remove CXX_WORKING_NAMESPACES
16614
16615         * buffer.C (pop_tag): tie is in namespace boost
16616
16617         * BufferView.h: noncopyable is in namespace boost
16618         * lyxlex.h: ditto
16619         * lyx_main.h: ditto
16620         * lyx_gui.h: ditto
16621         * layout.h: ditto
16622         * lastfiles.h: ditto
16623         * bufferlist.h: ditto
16624         * ShareContainer.h: ditto
16625         * LyXView.h: ditto
16626         * LyXAction.h: ditto
16627         * LaTeX.h: ditto
16628
16629 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16630
16631         * Merging changes from BRANCH_MVC back into HEAD.
16632
16633         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16634
16635 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16636
16637         * BufferView_pimpl.C: change from intl.C
16638
16639         * combox.h:
16640         * combox.C:
16641         * Makefile.am: move combox.*
16642
16643         * form1.h:
16644         * form1.C:
16645         * lyx_gui.C:
16646         * intl.h:
16647         * intl.C: remove dialog (covered by prefs)
16648
16649 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16650
16651         * lyxfunc.C (Dispatch): removed redundant break statement.
16652
16653 2001-03-14  Juergen Vigna  <jug@sad.it>
16654
16655         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16656
16657 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16658
16659         * buffer.C: add hack to fix compability reading of minipages.
16660
16661 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16662
16663         * buffer.C (getLists): Cleanup.
16664
16665 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16666
16667         * lyxfont.C (update): don't honor toggleall on font size.
16668
16669 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16670
16671         * bmtable.c:
16672         * bmtable.h:
16673         * Makefile.am: moved to frontends/xforms/
16674
16675         * lyx_gui_misc.C:
16676         * lyxfunc.C:
16677         * BufferView_pimpl.C: changes for moved mathpanel
16678
16679 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16680
16681         * gettext.h: fix gettext_init() in --disable-nls
16682
16683 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16684
16685         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16686
16687 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16688
16689         * lyx.C:
16690         * lyx.h: strip external form
16691
16692 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16693
16694         * BufferView_pimpl.C: add comment, destroySplash()
16695
16696 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16697
16698         * BufferView_pimpl.C:
16699         * LyXAction.C:
16700         * buffer.C:
16701         * commandtags.h:
16702         * lyxfunc.C: use re-worked insetinclude
16703
16704 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16705
16706         * buffer.C: add using std::stringstream.
16707
16708         * lyx_cb.C: readd using std::ios.
16709
16710         * buffer.C: add using std::map.
16711
16712         * BufferView_pimpl.C: add using std::vector.
16713
16714         * ShareContainer.h: add std:: to swap.
16715
16716         * buffer.h: add some typedefs
16717         * buffer.C (getLists): use them
16718         (getLists): renamed from getTocList.
16719         add a counter for the different float types and use it in the
16720         generated string.
16721         (getLists): use the same counter for the NEW_INSETS and the "non"
16722         NEW_INSETS
16723
16724         * lyx_cb.h: remove unused items, includes, using etc.
16725
16726         * ShareContainer.h: remove some commented code, add more comments
16727         and "documentation".
16728
16729 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16730
16731         * buffer.C (getTocList): make the list also when NEW_INSETS is
16732         defined.
16733
16734         * buffer.h: remove TocType
16735
16736         * buffer.C (getTocList): change to return a map<string,
16737         vector<TocItem> >, implement for dynamic number of list.
16738
16739         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16740         * text2.C (PasteSelection): adjust
16741         * CutAndPaste.C (pasteSelection): adjust
16742
16743         * FloatList.C (FloatList): update from the new_insets branch.
16744         * Floating.[Ch]: ditto
16745         * LaTeXFeatures.C: ditto
16746         * buffer.C: ditto
16747         * lyxlex_pimpl.C: ditto
16748
16749         * paragraph.C (Last): remove when NEW_INSETS is defined.
16750
16751         * other file: changes because of the above.
16752
16753 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16754
16755         * lyxparagraph.h: rename next to next_, previous to previous_,
16756         make them private for NEW_INSETS. Rename Next() to next(),
16757         Previous() to previous().
16758
16759         * other files: changes because of the above.
16760
16761 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16762
16763         * BufferView.h:
16764         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16765         problem.
16766
16767 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16768
16769         * main.C (main): pass lyx_localedir to gettext_init().
16770
16771         * gettext.h: remove locale_init and gettext_init macros
16772
16773         * gettext.C (locale_init): new function
16774         (gettext_init): new function
16775
16776         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16777         setlocale().
16778
16779 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16780
16781         * Moved credits to frontends:
16782         * credits.[Ch]: removed
16783         * credits_form.[Ch]: removed
16784         * lyx_gui_misc.C: remove credits stuff
16785         * Makefile.am:
16786
16787 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16788
16789         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16790
16791         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16792         unneeded destructor.
16793
16794         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16795         a standalone pointer again.
16796
16797         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16798
16799 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16800
16801         * Makefile.am:
16802         * filedlg.h:
16803         * filedlg.C:
16804         * LyXAction.C:
16805         * ToolbarDefaults.C:
16806         * bufferlist.C:
16807         * commandtags.h:
16808         * form1.C:
16809         * form1.h:
16810         * lyx_cb.C:
16811         * lyx_cb.h:
16812         * lyxfunc.h:
16813         * lyxfunc.C:
16814         * BufferView_pimpl.C: use new file dialog in GUII
16815
16816         * lyx_cb.h:
16817         * lyx_cb.C: remove LayoutsCB to Toolbar
16818
16819 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16820
16821         * ShareContainer.h (get): add std:: qualifier
16822
16823 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16824
16825         * ShareContainer.h: define a proper ShareContainer::value_type
16826         type (and use typename to please compaq cxx)
16827
16828 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16829
16830         * lyxparagraph.h: move serveral local vars to
16831         ParameterStruct/ParagraphParameters., use ShareContainer in
16832         FontTable., make vars in FontTable private and add getter and
16833         setter.
16834
16835         * paragraph.C: changes because of the above.
16836
16837         * lyxfont.h: remove copy constructor and copy assignment. (the
16838         default ones is ok), move number inside FontBits. move inlines to
16839         lyxfont.C
16840
16841         * lyxfont.C: add number to initializaton of statics, move several
16842         inlines here. constify several local vars. some whitespace
16843         cleanup. Dont hide outerscope variables.
16844
16845         * Spacing.h: add two new constructors to match the set methods.
16846
16847         * ShareContainer.h: new file, will perhaps be moved to support
16848
16849         * ParameterStruct.h: new file
16850
16851         * ParagraphParameters.h: new file
16852
16853         * ParagraphParameters.C: new file
16854
16855         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16856         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16857
16858         * BufferView_pimpl.C: ParagraphParameter changes.
16859         * buffer.C: Likewise.
16860         * bufferview_funcs.C: Likewise.
16861         * text.C: Likewise.
16862         * text2.C: Likewise.
16863
16864 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16865
16866         * lyxfind.C (LyXReplace): do not redefine default argument in
16867         implementation.
16868         (IsStringInText): ditto
16869         (SearchForward): ditto
16870         (SearchBackward): ditto
16871
16872 2001-03-06  Juergen Vigna  <jug@sad.it>
16873
16874         * lyxfind.C (IsStringInText): put parentes around expressions.
16875
16876 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16877
16878         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16879
16880 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16881
16882         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16883
16884         * stl_string_fwd.h: add comment
16885
16886         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16887
16888         * tabular.h:
16889         * tabular.C: remove unused DocBook methods
16890
16891         * intl.C:
16892         * language.C:
16893         * paragraph.C:
16894         * buffer.C:
16895         killed DO_USE_DEFAULT_LANGUAGE
16896
16897 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16898
16899         * lyx_gui.C: do not include language.h.
16900
16901         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16902         arguments in function implementation.
16903
16904 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16905
16906         * BufferView_pimpl.C: add <ctime>
16907
16908 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16909
16910         * BufferView_pimpl.C: add using std::find_if
16911
16912 2001-02-27  José Matos  <jamatos@fep.up.pt>
16913
16914         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16915         by OnlyPath.
16916
16917 2001-02-11  José Matos  <jamatos@fep.up.pt>
16918
16919         * buffer.C (makeDocBookFile): command styles now have a parameter as
16920         "title" by default.
16921
16922 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16923
16924         * layout_forms.[Ch]: removed
16925         * lyx_cb.[Ch]: out character
16926         * lyx_gui.C: out character
16927         * lyx_gui_misc.C: out character
16928         * bufferview_funcs.C: : out character,
16929         added toggleall as parameter in ToggleAndShow
16930
16931 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16932
16933         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16934
16935         * text2.C (SetCurrentFont): Disable number property at boundary.
16936
16937 2001-02-26  Juergen Vigna  <jug@sad.it>
16938
16939         * lyxfunc.C (getStatus): added a string argument override function so
16940         that this is correctly called from LyXFunc::Dispatch if it contains a
16941         do_not_use_argument which is used!
16942         (Dispatch): added check for "custom" export and call appropriate func.
16943
16944 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16945
16946         * lyxrc.C: Add language_command_local, language_use_babel and
16947         language_global_options.
16948
16949         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16950
16951         * buffer.C (makeLaTeXFile): Use language_use_babel and
16952         language_global_options.
16953
16954 2001-02-23  Juergen Vigna  <jug@sad.it>
16955
16956         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16957         which works with LyXText and putted it inside BufferView. Here now we
16958         only call for that part the BufferView::Dispatch() function.
16959
16960         * BufferView.C (Dispatch): added.
16961
16962         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16963         functions which needs to use a LyXText over from LyXFunc.
16964         (MenuInsertLyXFile): added
16965         (getInsetByCode): added
16966         (moveCursorUpdate): added
16967         (static TEXT): added
16968
16969 2001-02-22  Juergen Vigna  <jug@sad.it>
16970
16971         * BufferView_pimpl.C (update): call a status update to see if LyXText
16972         needs it.
16973
16974 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16975
16976         * vc-backend.C (revert): implement for CVS
16977         (getLog): implement for CVS
16978
16979 2001-02-20  Juergen Vigna  <jug@sad.it>
16980
16981         * text2.C (ClearSelection): added BufferView param for inset_owner call
16982
16983         * lyxfunc.C (TEXT): added this function and use it instead of
16984         directly owner->view()-text of getLyXText().
16985
16986 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16987
16988         * src/layout_forms.C: out preamble
16989         * src/layout_forms.h: out preamble
16990         * src/lyx_cb.C: out preamble
16991         * src/lyx_cb.h: out preamble
16992         * src/lyx_gui.C: out preamble
16993         * src/lyx_gui_misc.C: out preamble
16994         * src/lyxfunc.C: connect with guii preamble
16995
16996 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16997
16998         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16999
17000 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17001
17002         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17003         whether to run bibtex.
17004
17005 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17006
17007         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17008
17009 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17010
17011         * Makefile.am (lyx_SOURCES): removed bibforms.h
17012
17013         * vspace.h: doxygen
17014
17015         * text.C (GetVisibleRow): make several local vars const
17016
17017         * tabular.C: small cleanup.
17018
17019         * lyxserver.C (callback): use compare instead of strncmp
17020
17021         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17022         inlines to after class or to paragraph.C
17023
17024         * lyxfont.h: remove friend operator!=
17025
17026         * converter.h: move friend bool operator< to non friend and after
17027         class def.
17028
17029         * combox.h: small cleanup
17030
17031         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17032         to inlines after class def.
17033
17034         * buffer.C (pop_tag): use string operations instead of strcmp
17035
17036         * bmtable.c: doxygen, small cleanup
17037
17038         * LaTeX.h: remove friend operator==
17039
17040 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17041
17042         * screen.C:
17043         * lyxrc.[Ch]:
17044         * lyxfunc.C:
17045         * lyxfont.[Ch]:
17046         * lyx_cb.C:
17047         * intl.[Ch]:
17048         * commandtags.h:
17049         * buffer.C:
17050         * WorkArea.[Ch]:
17051         * LyXAction.C:
17052         * BufferView_pimpl.C:
17053         * BufferView.[Ch]: remove cruft
17054
17055 2001-02-14  Juergen Vigna  <jug@sad.it>
17056
17057         * lyxfunc.C: removed #if 0 unused code
17058
17059         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17060
17061         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17062
17063         * text2.C (SetSelection): added a BufferView * parameter
17064
17065 2001-02-13  Juergen Vigna  <jug@sad.it>
17066
17067         * lyxfunc.C (Dispatch): fixed protected blank problem.
17068         * BufferView2.C (protectedBlank): added LyxText * parameter.
17069
17070         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17071         (AppendColumn): same as above for column_info.
17072
17073         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17074         (moveCursorUpdate): use a LyXText param for support of InsetText.
17075
17076         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17077         (tripleClick): ditto
17078
17079         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17080
17081         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17082
17083         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17084
17085         * text2.C (SetSelection): set correct update status if inset_owner
17086         (ToggleFree): ditto
17087
17088 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17089
17090         * tabular.C: remove some commented code.
17091
17092 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17093
17094         * BufferView_pimpl.C: call hideSplash()
17095
17096         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17097
17098         * include_form.h:
17099         * bibforms.h: remove
17100
17101         * lyxfunc.C:
17102         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17103           add LFUN_CHILD_CREATE
17104
17105         * counters.h: fix tiny typo
17106
17107         * lyx_cb.C:
17108         * lyx.h:
17109         * lyx_gui.C:
17110         * lyx.C: move splash to frontends/xforms/
17111
17112         * lyx_gui_misc.C: move Include and Bibform to frontends
17113
17114         * lyxvc.h: clarify comment
17115
17116         * vspace.C: tiny housekeeping
17117
17118 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17119
17120         * text.C (PrepareToPrint): RTL Fix.
17121
17122         * paragraph.C (GetUChar): New method.
17123         (String):  Use GetUChar.
17124
17125         * buffer.C (asciiParagraph): Use GetUChar.
17126
17127 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17128
17129         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17130
17131 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17132
17133         * buffer.h:
17134         * buffer.C: rename to getLogName(), handle
17135           build log / latex log nicely
17136
17137 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17138
17139         * MenuBackend.C:
17140         * MenuBackend.h: remove support for reference menuitem type.
17141
17142 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17143
17144         * BufferView_pimpl.C: housekeeping
17145         * BufferView_pimpl.h:
17146         * LyXView.h:
17147         * Makefile.am:
17148         * Timeout.C:
17149         * Timeout.h:
17150         * minibuffer.h: move Timeout GUI-I
17151
17152 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17153
17154         * lyxrc.C (read): Update converters data-structures.
17155
17156 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17157
17158         * LaTeX.h (operator!=): add operator != for Aux_Info
17159
17160 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17161
17162         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17163
17164         * LaTeXLog.C: deleted, useful code moved to Buffer
17165
17166         * buffer.h:
17167         * buffer.C: new function getLatexLogName()
17168
17169         * lyx_gui_misc.C:
17170         * lyx_gui.C:
17171         * lyxvc.C:
17172         * lyxvc.h:
17173         * lyxfunc.C: use frontends for LaTeX and VC logs
17174
17175 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17176
17177         * LaTeX.h: yet another std:: that Allan forgot.
17178
17179         * Variables.C (set): renamed from isset(), because this clashes
17180         with some HP-UX macros (grr).
17181
17182 2001-02-06  Allan Rae  <rae@lyx.org>
17183
17184         * LaTeX.h: Another bug fix.  Missing std:: this time.
17185
17186 2001-02-04  Allan Rae  <rae@lyx.org>
17187
17188         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17189         floats problem. I've left it commented out because it's not quite
17190         correct.  It should also test that the current object is a table or
17191         figure inset.  But I haven't gotten around to figuring out how to do
17192         that.  I *think* it'll be something like: "table" == inset.type()
17193
17194         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17195         bool.
17196
17197 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17198
17199         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17200         all the citation/databases/styles in the auxilary file.
17201         (run): Rerun latex if there was a babel language error.
17202
17203 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17204
17205         * text.C (Backspace): Preserve the font when changing newline char
17206         with a space.
17207         (BreakParagraph): If the cursor is before a space, delete the space.
17208
17209         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17210
17211 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17212
17213         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17214         new argument (code).
17215         (ChangeCitationsIfUnique): New method.
17216
17217         * paragraph.C (GetPositionOfInset): Handle bibkey.
17218
17219 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17220
17221         * BufferView_pimpl.h: change type of Position::par_pos to
17222         LyXParagraph::size_type.
17223
17224 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17225
17226         * BufferView_pimpl.C (savePosition, restorePosition): Write
17227         messages to minibuffer.
17228
17229 2001-01-28  José Matos  <jamatos@fep.up.pt>
17230
17231         * buffer.C (makeDocBookFile): adds support for document language.
17232         A silly restriction on the name of LatexCommand types where removed.
17233         Added support for CDATA sections, allows to chars unescaped, used
17234         among others in code, to avoid escape < and >.
17235
17236 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17237
17238         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17239         saved positions instrad of a stack. Furthermore, a position is
17240         stored using paragraph id/paragraph position.
17241
17242         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17243         Remove LFUN_REF_BACK.
17244
17245 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17246
17247         * converter.C (dvipdfm_options): New method.
17248
17249 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17250
17251         * vspace.C (isValidLength): Fix for empty input string.
17252
17253 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17254
17255         * LyXAction.C (init): change description of LFUN_FIGURE to
17256         "Insert Graphics"
17257
17258 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17259
17260         * LaTeX.C: add using directive
17261
17262 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17263
17264         * MenuBackend.C (expand): Fix the sorting of the formats.
17265
17266 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17267
17268         * lyx_main.C: tiny error message fix
17269
17270 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17271
17272         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17273         calling fl_initialize(). This fixes the problem with ',' as
17274         decimal separator in text files.
17275
17276 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17277
17278         * trans.C (process): Fix the keymap bug.
17279
17280 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17281
17282         * LaTeX.C (scanAuxFiles): New method. Provides support for
17283         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17284         (scanLogFile) Scan for "run BibTeX" messages.
17285
17286         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17287         OT1 font encoding. Also, load the aecompl package if the ae
17288         package is loaded.
17289
17290         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17291
17292 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17293
17294         * texrow.C (increasePos): turn two error messages into debug
17295         messages.
17296
17297 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17298
17299         * LaTeX.C (scanAux): Handle the \@input macro.
17300         (runBibTeX): Use scanAux().
17301
17302         * language.C (latex_options_): New field.
17303
17304         * LaTeXFeatures.C (getMacros): Add language macros.
17305
17306         * buffer.C (makeLaTeXFile): Small fix.
17307
17308 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17309
17310         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17311
17312         * text2.C: add a using directive.
17313
17314 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17315
17316         * BufferView2.C:
17317         * lyx_gui_misc.h:
17318         * lyxfr1.C:
17319         * lyxfunc.C: kill LyXBell.
17320
17321 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17322
17323         * text.C (IsBoundary): Remove the error message
17324
17325         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17326
17327         * lyxrc.C (setDefaults): Correct initialization value for
17328         font_norm_type.
17329
17330 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17331
17332         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17333         gotoError().
17334
17335         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17336         and GotoNextNote().
17337
17338         * src/LyXAction.C: Added reference-next.
17339
17340         * text.C (InsertChar): Use contains instead of strchr.
17341
17342         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17343
17344 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17345
17346         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17347         alignment commands (when needed).
17348
17349         * text.C (InsertChar): Add ':' to number separator chars.